Add dbg count support for ccp
[official-gcc.git] / libgfortran / configure
blobcaa7e59fd9c40e90fb28ee868e96001bf98b6f82
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='GNU Fortran Runtime Library'
418 PACKAGE_TARNAME='libgfortran'
419 PACKAGE_VERSION='0.3'
420 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
421 PACKAGE_BUGREPORT=''
423 # Factoring default headers for most tests.
424 ac_includes_default="\
425 #include <stdio.h>
426 #if HAVE_SYS_TYPES_H
427 # include <sys/types.h>
428 #endif
429 #if HAVE_SYS_STAT_H
430 # include <sys/stat.h>
431 #endif
432 #if STDC_HEADERS
433 # include <stdlib.h>
434 # include <stddef.h>
435 #else
436 # if HAVE_STDLIB_H
437 # include <stdlib.h>
438 # endif
439 #endif
440 #if HAVE_STRING_H
441 # if !STDC_HEADERS && HAVE_MEMORY_H
442 # include <memory.h>
443 # endif
444 # include <string.h>
445 #endif
446 #if HAVE_STRINGS_H
447 # include <strings.h>
448 #endif
449 #if HAVE_INTTYPES_H
450 # include <inttypes.h>
451 #else
452 # if HAVE_STDINT_H
453 # include <stdint.h>
454 # endif
455 #endif
456 #if HAVE_UNISTD_H
457 # include <unistd.h>
458 #endif"
460 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
462 ac_pwd=`pwd`
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 # Find other programs we need.
3504 if test -n "$ac_tool_prefix"; then
3505 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}as; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_AS+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else
3512 if test -n "$AS"; then
3513 ac_cv_prog_AS="$AS" # Let the user override the test.
3514 else
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in $PATH
3518 IFS=$as_save_IFS
3519 test -z "$as_dir" && as_dir=.
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_AS="${ac_tool_prefix}as"
3523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3524 break 2
3526 done
3527 done
3531 AS=$ac_cv_prog_AS
3532 if test -n "$AS"; then
3533 echo "$as_me:$LINENO: result: $AS" >&5
3534 echo "${ECHO_T}$AS" >&6
3535 else
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3541 if test -z "$ac_cv_prog_AS"; then
3542 ac_ct_AS=$AS
3543 # Extract the first word of "as", so it can be a program name with args.
3544 set dummy as; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 else
3550 if test -n "$ac_ct_AS"; then
3551 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_ac_ct_AS="as"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 break 2
3564 done
3565 done
3569 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3570 if test -n "$ac_ct_AS"; then
3571 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3572 echo "${ECHO_T}$ac_ct_AS" >&6
3573 else
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3578 AS=$ac_ct_AS
3579 else
3580 AS="$ac_cv_prog_AS"
3583 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}ar; ac_word=$2
3586 echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3588 if test "${ac_cv_prog_AR+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591 if test -n "$AR"; then
3592 ac_cv_prog_AR="$AR" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3597 IFS=$as_save_IFS
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3601 ac_cv_prog_AR="${ac_tool_prefix}ar"
3602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 break 2
3605 done
3606 done
3610 AR=$ac_cv_prog_AR
3611 if test -n "$AR"; then
3612 echo "$as_me:$LINENO: result: $AR" >&5
3613 echo "${ECHO_T}$AR" >&6
3614 else
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3620 if test -z "$ac_cv_prog_AR"; then
3621 ac_ct_AR=$AR
3622 # Extract the first word of "ar", so it can be a program name with args.
3623 set dummy ar; ac_word=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 else
3629 if test -n "$ac_ct_AR"; then
3630 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_AR="ar"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2
3643 done
3644 done
3648 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3649 if test -n "$ac_ct_AR"; then
3650 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3651 echo "${ECHO_T}$ac_ct_AR" >&6
3652 else
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3657 AR=$ac_ct_AR
3658 else
3659 AR="$ac_cv_prog_AR"
3662 if test -n "$ac_tool_prefix"; then
3663 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3664 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3665 echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3667 if test "${ac_cv_prog_RANLIB+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670 if test -n "$RANLIB"; then
3671 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3672 else
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3676 IFS=$as_save_IFS
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 break 2
3684 done
3685 done
3689 RANLIB=$ac_cv_prog_RANLIB
3690 if test -n "$RANLIB"; then
3691 echo "$as_me:$LINENO: result: $RANLIB" >&5
3692 echo "${ECHO_T}$RANLIB" >&6
3693 else
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700 ac_ct_RANLIB=$RANLIB
3701 # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib; ac_word=$2
3703 echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 else
3708 if test -n "$ac_ct_RANLIB"; then
3709 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3714 IFS=$as_save_IFS
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_ac_ct_RANLIB="ranlib"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 break 2
3722 done
3723 done
3725 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3732 else
3733 echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3737 RANLIB=$ac_ct_RANLIB
3738 else
3739 RANLIB="$ac_cv_prog_RANLIB"
3742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3744 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 else
3748 cat >conftest.make <<\_ACEOF
3749 all:
3750 @echo 'ac_maketemp="$(MAKE)"'
3751 _ACEOF
3752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3754 if test -n "$ac_maketemp"; then
3755 eval ac_cv_prog_make_${ac_make}_set=yes
3756 else
3757 eval ac_cv_prog_make_${ac_make}_set=no
3759 rm -f conftest.make
3761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3762 echo "$as_me:$LINENO: result: yes" >&5
3763 echo "${ECHO_T}yes" >&6
3764 SET_MAKE=
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 SET_MAKE="MAKE=${MAKE-make}"
3771 # Find a good install program. We prefer a C program (faster),
3772 # so one script is as good as another. But avoid the broken or
3773 # incompatible versions:
3774 # SysV /etc/install, /usr/sbin/install
3775 # SunOS /usr/etc/install
3776 # IRIX /sbin/install
3777 # AIX /bin/install
3778 # AmigaOS /C/install, which installs bootblocks on floppy discs
3779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3782 # OS/2's system install, which has a completely different semantic
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 # Reject install programs that cannot install multiple files.
3785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3787 if test -z "$INSTALL"; then
3788 if test "${ac_cv_path_install+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 else
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 for as_dir in $PATH
3794 IFS=$as_save_IFS
3795 test -z "$as_dir" && as_dir=.
3796 # Account for people who put trailing slashes in PATH elements.
3797 case $as_dir/ in
3798 ./ | .// | /cC/* | \
3799 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3800 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3801 /usr/ucb/* ) ;;
3803 # OSF1 and SCO ODT 3.0 have their own names for install.
3804 # Don't use installbsd from OSF since it installs stuff as root
3805 # by default.
3806 for ac_prog in ginstall scoinst install; do
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3809 if test $ac_prog = install &&
3810 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3811 # AIX install. It has an incompatible calling convention.
3813 elif test $ac_prog = install &&
3814 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3815 # program-specific install script used by HP pwplus--don't use.
3817 else
3818 rm -rf conftest.one conftest.two conftest.dir
3819 echo one > conftest.one
3820 echo two > conftest.two
3821 mkdir conftest.dir
3822 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3823 test -s conftest.one && test -s conftest.two &&
3824 test -s conftest.dir/conftest.one &&
3825 test -s conftest.dir/conftest.two
3826 then
3827 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3828 break 3
3832 done
3833 done
3835 esac
3836 done
3838 rm -rf conftest.one conftest.two conftest.dir
3841 if test "${ac_cv_path_install+set}" = set; then
3842 INSTALL=$ac_cv_path_install
3843 else
3844 # As a last resort, use the slow shell script. Don't cache a
3845 # value for INSTALL within a source directory, because that will
3846 # break other packages using the cache if that directory is
3847 # removed, or if the value is a relative name.
3848 INSTALL=$ac_install_sh
3851 echo "$as_me:$LINENO: result: $INSTALL" >&5
3852 echo "${ECHO_T}$INSTALL" >&6
3854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3855 # It thinks the first close brace ends the variable substitution.
3856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3863 # Configure libtool
3864 #AC_MSG_NOTICE([====== Starting libtool configuration])
3865 enable_dlopen=yes
3869 case `pwd` in
3870 *\ * | *\ *)
3871 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3872 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3873 esac
3877 macro_version='2.2.6'
3878 macro_revision='1.3012'
3892 ltmain="$ac_aux_dir/ltmain.sh"
3894 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3895 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3896 if test "${lt_cv_path_SED+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else
3899 # Loop through the user's path and test for sed and gsed.
3900 # Then use that list of sed's as ones to test for truncation.
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 for as_dir in $PATH
3904 IFS=$as_save_IFS
3905 test -z "$as_dir" && as_dir=.
3906 for lt_ac_prog in sed gsed; do
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3909 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3911 done
3912 done
3913 done
3914 IFS=$as_save_IFS
3915 lt_ac_max=0
3916 lt_ac_count=0
3917 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3918 # along with /bin/sed that truncates output.
3919 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3920 test ! -f $lt_ac_sed && continue
3921 cat /dev/null > conftest.in
3922 lt_ac_count=0
3923 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3924 # Check for GNU sed and select it if it is found.
3925 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3926 lt_cv_path_SED=$lt_ac_sed
3927 break
3929 while true; do
3930 cat conftest.in conftest.in >conftest.tmp
3931 mv conftest.tmp conftest.in
3932 cp conftest.in conftest.nl
3933 echo >>conftest.nl
3934 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3935 cmp -s conftest.out conftest.nl || break
3936 # 10000 chars as input seems more than enough
3937 test $lt_ac_count -gt 10 && break
3938 lt_ac_count=`expr $lt_ac_count + 1`
3939 if test $lt_ac_count -gt $lt_ac_max; then
3940 lt_ac_max=$lt_ac_count
3941 lt_cv_path_SED=$lt_ac_sed
3943 done
3944 done
3948 SED=$lt_cv_path_SED
3950 echo "$as_me:$LINENO: result: $SED" >&5
3951 echo "${ECHO_T}$SED" >&6
3953 test -z "$SED" && SED=sed
3954 Xsed="$SED -e 1s/^X//"
3966 echo "$as_me:$LINENO: checking for egrep" >&5
3967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3968 if test "${ac_cv_prog_egrep+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 else
3971 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3972 then ac_cv_prog_egrep='grep -E'
3973 else ac_cv_prog_egrep='egrep'
3976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3978 EGREP=$ac_cv_prog_egrep
3981 echo "$as_me:$LINENO: checking for fgrep" >&5
3982 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3983 if test "${ac_cv_prog_fgrep+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3985 else
3986 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3987 then ac_cv_prog_fgrep='grep -F'
3988 else ac_cv_prog_fgrep='fgrep'
3991 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3992 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3993 FGREP=$ac_cv_prog_fgrep
3996 test -z "$GREP" && GREP=grep
4016 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4017 if test "${with_gnu_ld+set}" = set; then
4018 withval="$with_gnu_ld"
4019 test "$withval" = no || with_gnu_ld=yes
4020 else
4021 with_gnu_ld=no
4023 ac_prog=ld
4024 if test "$GCC" = yes; then
4025 # Check if gcc -print-prog-name=ld gives a path.
4026 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4027 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4028 case $host in
4029 *-*-mingw*)
4030 # gcc leaves a trailing carriage return which upsets mingw
4031 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4033 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4034 esac
4035 case $ac_prog in
4036 # Accept absolute paths.
4037 [\\/]* | ?:[\\/]*)
4038 re_direlt='/[^/][^/]*/\.\./'
4039 # Canonicalize the pathname of ld
4040 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4041 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4042 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4043 done
4044 test -z "$LD" && LD="$ac_prog"
4047 # If it fails, then pretend we aren't using GCC.
4048 ac_prog=ld
4051 # If it is relative, then search for the first ld in PATH.
4052 with_gnu_ld=unknown
4054 esac
4055 elif test "$with_gnu_ld" = yes; then
4056 echo "$as_me:$LINENO: checking for GNU ld" >&5
4057 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4058 else
4059 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4060 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4062 if test "${lt_cv_path_LD+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 else
4065 if test -z "$LD"; then
4066 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4067 for ac_dir in $PATH; do
4068 IFS="$lt_save_ifs"
4069 test -z "$ac_dir" && ac_dir=.
4070 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4071 lt_cv_path_LD="$ac_dir/$ac_prog"
4072 # Check to see if the program is GNU ld. I'd rather use --version,
4073 # but apparently some variants of GNU ld only accept -v.
4074 # Break only if it was the GNU/non-GNU ld that we prefer.
4075 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4076 *GNU* | *'with BFD'*)
4077 test "$with_gnu_ld" != no && break
4080 test "$with_gnu_ld" != yes && break
4082 esac
4084 done
4085 IFS="$lt_save_ifs"
4086 else
4087 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4091 LD="$lt_cv_path_LD"
4092 if test -n "$LD"; then
4093 echo "$as_me:$LINENO: result: $LD" >&5
4094 echo "${ECHO_T}$LD" >&6
4095 else
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4099 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4100 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4101 { (exit 1); exit 1; }; }
4102 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4103 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4104 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 else
4107 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4108 case `$LD -v 2>&1 </dev/null` in
4109 *GNU* | *'with BFD'*)
4110 lt_cv_prog_gnu_ld=yes
4113 lt_cv_prog_gnu_ld=no
4115 esac
4117 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4118 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4119 with_gnu_ld=$lt_cv_prog_gnu_ld
4129 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4130 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 else
4134 if test -n "$NM"; then
4135 # Let the user override the test.
4136 lt_cv_path_NM="$NM"
4137 else
4138 lt_nm_to_check="${ac_tool_prefix}nm"
4139 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4140 lt_nm_to_check="$lt_nm_to_check nm"
4142 for lt_tmp_nm in $lt_nm_to_check; do
4143 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4144 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4145 IFS="$lt_save_ifs"
4146 test -z "$ac_dir" && ac_dir=.
4147 tmp_nm="$ac_dir/$lt_tmp_nm"
4148 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4149 # Check to see if the nm accepts a BSD-compat flag.
4150 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4151 # nm: unknown option "B" ignored
4152 # Tru64's nm complains that /dev/null is an invalid object file
4153 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4154 */dev/null* | *'Invalid file or object type'*)
4155 lt_cv_path_NM="$tmp_nm -B"
4156 break
4159 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4160 */dev/null*)
4161 lt_cv_path_NM="$tmp_nm -p"
4162 break
4165 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4166 continue # so that we can try to find one that supports BSD flags
4168 esac
4170 esac
4172 done
4173 IFS="$lt_save_ifs"
4174 done
4175 : ${lt_cv_path_NM=no}
4178 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4179 echo "${ECHO_T}$lt_cv_path_NM" >&6
4180 if test "$lt_cv_path_NM" != "no"; then
4181 NM="$lt_cv_path_NM"
4182 else
4183 # Didn't find any BSD compatible name lister, look for dumpbin.
4184 if test -n "$ac_tool_prefix"; then
4185 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4189 echo "$as_me:$LINENO: checking for $ac_word" >&5
4190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4191 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 else
4194 if test -n "$DUMPBIN"; then
4195 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4196 else
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH
4200 IFS=$as_save_IFS
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 break 2
4208 done
4209 done
4213 DUMPBIN=$ac_cv_prog_DUMPBIN
4214 if test -n "$DUMPBIN"; then
4215 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4216 echo "${ECHO_T}$DUMPBIN" >&6
4217 else
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4222 test -n "$DUMPBIN" && break
4223 done
4225 if test -z "$DUMPBIN"; then
4226 ac_ct_DUMPBIN=$DUMPBIN
4227 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4229 # Extract the first word of "$ac_prog", so it can be a program name with args.
4230 set dummy $ac_prog; ac_word=$2
4231 echo "$as_me:$LINENO: checking for $ac_word" >&5
4232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4233 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4235 else
4236 if test -n "$ac_ct_DUMPBIN"; then
4237 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4238 else
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 for as_dir in $PATH
4242 IFS=$as_save_IFS
4243 test -z "$as_dir" && as_dir=.
4244 for ac_exec_ext in '' $ac_executable_extensions; do
4245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4246 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 break 2
4250 done
4251 done
4255 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4256 if test -n "$ac_ct_DUMPBIN"; then
4257 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4258 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4259 else
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4264 test -n "$ac_ct_DUMPBIN" && break
4265 done
4266 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4268 DUMPBIN=$ac_ct_DUMPBIN
4272 if test "$DUMPBIN" != ":"; then
4273 NM="$DUMPBIN"
4276 test -z "$NM" && NM=nm
4283 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4284 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4285 if test "${lt_cv_nm_interface+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 else
4288 lt_cv_nm_interface="BSD nm"
4289 echo "int some_variable = 0;" > conftest.$ac_ext
4290 (eval echo "\"\$as_me:4290: $ac_compile\"" >&5)
4291 (eval "$ac_compile" 2>conftest.err)
4292 cat conftest.err >&5
4293 (eval echo "\"\$as_me:4293: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4294 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4295 cat conftest.err >&5
4296 (eval echo "\"\$as_me:4296: output\"" >&5)
4297 cat conftest.out >&5
4298 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4299 lt_cv_nm_interface="MS dumpbin"
4301 rm -f conftest*
4303 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4304 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4306 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4307 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4308 LN_S=$as_ln_s
4309 if test "$LN_S" = "ln -s"; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4312 else
4313 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4314 echo "${ECHO_T}no, using $LN_S" >&6
4317 # find the maximum length of command line arguments
4318 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4319 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4320 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 else
4324 teststring="ABCD"
4326 case $build_os in
4327 msdosdjgpp*)
4328 # On DJGPP, this test can blow up pretty badly due to problems in libc
4329 # (any single argument exceeding 2000 bytes causes a buffer overrun
4330 # during glob expansion). Even if it were fixed, the result of this
4331 # check would be larger than it should be.
4332 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4335 gnu*)
4336 # Under GNU Hurd, this test is not required because there is
4337 # no limit to the length of command line arguments.
4338 # Libtool will interpret -1 as no limit whatsoever
4339 lt_cv_sys_max_cmd_len=-1;
4342 cygwin* | mingw* | cegcc*)
4343 # On Win9x/ME, this test blows up -- it succeeds, but takes
4344 # about 5 minutes as the teststring grows exponentially.
4345 # Worse, since 9x/ME are not pre-emptively multitasking,
4346 # you end up with a "frozen" computer, even though with patience
4347 # the test eventually succeeds (with a max line length of 256k).
4348 # Instead, let's just punt: use the minimum linelength reported by
4349 # all of the supported platforms: 8192 (on NT/2K/XP).
4350 lt_cv_sys_max_cmd_len=8192;
4353 amigaos*)
4354 # On AmigaOS with pdksh, this test takes hours, literally.
4355 # So we just punt and use a minimum line length of 8192.
4356 lt_cv_sys_max_cmd_len=8192;
4359 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4360 # This has been around since 386BSD, at least. Likely further.
4361 if test -x /sbin/sysctl; then
4362 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4363 elif test -x /usr/sbin/sysctl; then
4364 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4365 else
4366 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4368 # And add a safety zone
4369 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4370 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4373 interix*)
4374 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4375 lt_cv_sys_max_cmd_len=196608
4378 osf*)
4379 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4380 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4381 # nice to cause kernel panics so lets avoid the loop below.
4382 # First set a reasonable default.
4383 lt_cv_sys_max_cmd_len=16384
4385 if test -x /sbin/sysconfig; then
4386 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4387 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4388 esac
4391 sco3.2v5*)
4392 lt_cv_sys_max_cmd_len=102400
4394 sysv5* | sco5v6* | sysv4.2uw2*)
4395 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4396 if test -n "$kargmax"; then
4397 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4398 else
4399 lt_cv_sys_max_cmd_len=32768
4403 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4404 if test -n "$lt_cv_sys_max_cmd_len"; then
4405 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4406 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4407 else
4408 # Make teststring a little bigger before we do anything with it.
4409 # a 1K string should be a reasonable start.
4410 for i in 1 2 3 4 5 6 7 8 ; do
4411 teststring=$teststring$teststring
4412 done
4413 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4414 # If test is not a shell built-in, we'll probably end up computing a
4415 # maximum length that is only half of the actual maximum length, but
4416 # we can't tell.
4417 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4418 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4419 test $i != 17 # 1/2 MB should be enough
4421 i=`expr $i + 1`
4422 teststring=$teststring$teststring
4423 done
4424 # Only check the string length outside the loop.
4425 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4426 teststring=
4427 # Add a significant safety factor because C++ compilers can tack on
4428 # massive amounts of additional arguments before passing them to the
4429 # linker. It appears as though 1/2 is a usable value.
4430 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4433 esac
4437 if test -n $lt_cv_sys_max_cmd_len ; then
4438 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4439 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4440 else
4441 echo "$as_me:$LINENO: result: none" >&5
4442 echo "${ECHO_T}none" >&6
4444 max_cmd_len=$lt_cv_sys_max_cmd_len
4451 : ${CP="cp -f"}
4452 : ${MV="mv -f"}
4453 : ${RM="rm -f"}
4455 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4456 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4457 # Try some XSI features
4458 xsi_shell=no
4459 ( _lt_dummy="a/b/c"
4460 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4461 = c,a/b,, \
4462 && eval 'test $(( 1 + 1 )) -eq 2 \
4463 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4464 && xsi_shell=yes
4465 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4466 echo "${ECHO_T}$xsi_shell" >&6
4469 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4470 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4471 lt_shell_append=no
4472 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4473 >/dev/null 2>&1 \
4474 && lt_shell_append=yes
4475 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4476 echo "${ECHO_T}$lt_shell_append" >&6
4479 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4480 lt_unset=unset
4481 else
4482 lt_unset=false
4489 # test EBCDIC or ASCII
4490 case `echo X|tr X '\101'` in
4491 A) # ASCII based system
4492 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4493 lt_SP2NL='tr \040 \012'
4494 lt_NL2SP='tr \015\012 \040\040'
4496 *) # EBCDIC based system
4497 lt_SP2NL='tr \100 \n'
4498 lt_NL2SP='tr \r\n \100\100'
4500 esac
4510 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4511 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4512 if test "${lt_cv_ld_reload_flag+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 else
4515 lt_cv_ld_reload_flag='-r'
4517 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4518 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4519 reload_flag=$lt_cv_ld_reload_flag
4520 case $reload_flag in
4521 "" | " "*) ;;
4522 *) reload_flag=" $reload_flag" ;;
4523 esac
4524 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4525 case $host_os in
4526 darwin*)
4527 if test "$GCC" = yes; then
4528 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4529 else
4530 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4533 esac
4543 if test -n "$ac_tool_prefix"; then
4544 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4545 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4546 echo "$as_me:$LINENO: checking for $ac_word" >&5
4547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4548 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 if test -n "$OBJDUMP"; then
4552 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 break 2
4565 done
4566 done
4570 OBJDUMP=$ac_cv_prog_OBJDUMP
4571 if test -n "$OBJDUMP"; then
4572 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4573 echo "${ECHO_T}$OBJDUMP" >&6
4574 else
4575 echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4580 if test -z "$ac_cv_prog_OBJDUMP"; then
4581 ac_ct_OBJDUMP=$OBJDUMP
4582 # Extract the first word of "objdump", so it can be a program name with args.
4583 set dummy objdump; ac_word=$2
4584 echo "$as_me:$LINENO: checking for $ac_word" >&5
4585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4586 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 else
4589 if test -n "$ac_ct_OBJDUMP"; then
4590 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 break 2
4603 done
4604 done
4606 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4609 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4610 if test -n "$ac_ct_OBJDUMP"; then
4611 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4612 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4613 else
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4618 OBJDUMP=$ac_ct_OBJDUMP
4619 else
4620 OBJDUMP="$ac_cv_prog_OBJDUMP"
4623 test -z "$OBJDUMP" && OBJDUMP=objdump
4633 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4634 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4635 if test "${lt_cv_deplibs_check_method+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 else
4638 lt_cv_file_magic_cmd='$MAGIC_CMD'
4639 lt_cv_file_magic_test_file=
4640 lt_cv_deplibs_check_method='unknown'
4641 # Need to set the preceding variable on all platforms that support
4642 # interlibrary dependencies.
4643 # 'none' -- dependencies not supported.
4644 # `unknown' -- same as none, but documents that we really don't know.
4645 # 'pass_all' -- all dependencies passed with no checks.
4646 # 'test_compile' -- check by making test program.
4647 # 'file_magic [[regex]]' -- check by looking for files in library path
4648 # which responds to the $file_magic_cmd with a given extended regex.
4649 # If you have `file' or equivalent on your system and you're not sure
4650 # whether `pass_all' will *always* work, you probably want this one.
4652 case $host_os in
4653 aix[4-9]*)
4654 lt_cv_deplibs_check_method=pass_all
4657 beos*)
4658 lt_cv_deplibs_check_method=pass_all
4661 bsdi[45]*)
4662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4663 lt_cv_file_magic_cmd='/usr/bin/file -L'
4664 lt_cv_file_magic_test_file=/shlib/libc.so
4667 cygwin*)
4668 # func_win32_libid is a shell function defined in ltmain.sh
4669 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4670 lt_cv_file_magic_cmd='func_win32_libid'
4673 mingw* | pw32*)
4674 # Base MSYS/MinGW do not provide the 'file' command needed by
4675 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4676 # unless we find 'file', for example because we are cross-compiling.
4677 if ( file / ) >/dev/null 2>&1; then
4678 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4679 lt_cv_file_magic_cmd='func_win32_libid'
4680 else
4681 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4682 lt_cv_file_magic_cmd='$OBJDUMP -f'
4686 cegcc)
4687 # use the weaker test based on 'objdump'. See mingw*.
4688 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4689 lt_cv_file_magic_cmd='$OBJDUMP -f'
4692 darwin* | rhapsody*)
4693 lt_cv_deplibs_check_method=pass_all
4696 freebsd* | dragonfly*)
4697 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4698 case $host_cpu in
4699 i*86 )
4700 # Not sure whether the presence of OpenBSD here was a mistake.
4701 # Let's accept both of them until this is cleared up.
4702 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4703 lt_cv_file_magic_cmd=/usr/bin/file
4704 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4706 esac
4707 else
4708 lt_cv_deplibs_check_method=pass_all
4712 gnu*)
4713 lt_cv_deplibs_check_method=pass_all
4716 hpux10.20* | hpux11*)
4717 lt_cv_file_magic_cmd=/usr/bin/file
4718 case $host_cpu in
4719 ia64*)
4720 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4721 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4723 hppa*64*)
4724 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4725 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4728 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4729 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4731 esac
4734 interix[3-9]*)
4735 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4739 irix5* | irix6* | nonstopux*)
4740 case $LD in
4741 *-32|*"-32 ") libmagic=32-bit;;
4742 *-n32|*"-n32 ") libmagic=N32;;
4743 *-64|*"-64 ") libmagic=64-bit;;
4744 *) libmagic=never-match;;
4745 esac
4746 lt_cv_deplibs_check_method=pass_all
4749 # This must be Linux ELF.
4750 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4751 lt_cv_deplibs_check_method=pass_all
4754 netbsd*)
4755 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4756 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4757 else
4758 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4762 newos6*)
4763 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4764 lt_cv_file_magic_cmd=/usr/bin/file
4765 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4768 *nto* | *qnx*)
4769 lt_cv_deplibs_check_method=pass_all
4772 openbsd*)
4773 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4775 else
4776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4780 osf3* | osf4* | osf5*)
4781 lt_cv_deplibs_check_method=pass_all
4784 rdos*)
4785 lt_cv_deplibs_check_method=pass_all
4788 solaris*)
4789 lt_cv_deplibs_check_method=pass_all
4792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4793 lt_cv_deplibs_check_method=pass_all
4796 sysv4 | sysv4.3*)
4797 case $host_vendor in
4798 motorola)
4799 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4800 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4802 ncr)
4803 lt_cv_deplibs_check_method=pass_all
4805 sequent)
4806 lt_cv_file_magic_cmd='/bin/file'
4807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4809 sni)
4810 lt_cv_file_magic_cmd='/bin/file'
4811 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4812 lt_cv_file_magic_test_file=/lib/libc.so
4814 siemens)
4815 lt_cv_deplibs_check_method=pass_all
4818 lt_cv_deplibs_check_method=pass_all
4820 esac
4823 tpf*)
4824 lt_cv_deplibs_check_method=pass_all
4826 esac
4829 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4830 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4831 file_magic_cmd=$lt_cv_file_magic_cmd
4832 deplibs_check_method=$lt_cv_deplibs_check_method
4833 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4846 if test -n "$ac_tool_prefix"; then
4847 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4848 set dummy ${ac_tool_prefix}ar; ac_word=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_AR+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 else
4854 if test -n "$AR"; then
4855 ac_cv_prog_AR="$AR" # Let the user override the test.
4856 else
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 for as_dir in $PATH
4860 IFS=$as_save_IFS
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_AR="${ac_tool_prefix}ar"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 break 2
4868 done
4869 done
4873 AR=$ac_cv_prog_AR
4874 if test -n "$AR"; then
4875 echo "$as_me:$LINENO: result: $AR" >&5
4876 echo "${ECHO_T}$AR" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4883 if test -z "$ac_cv_prog_AR"; then
4884 ac_ct_AR=$AR
4885 # Extract the first word of "ar", so it can be a program name with args.
4886 set dummy ar; ac_word=$2
4887 echo "$as_me:$LINENO: checking for $ac_word" >&5
4888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4889 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 else
4892 if test -n "$ac_ct_AR"; then
4893 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898 IFS=$as_save_IFS
4899 test -z "$as_dir" && as_dir=.
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_ac_ct_AR="ar"
4903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 break 2
4906 done
4907 done
4909 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4912 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4913 if test -n "$ac_ct_AR"; then
4914 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4915 echo "${ECHO_T}$ac_ct_AR" >&6
4916 else
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4921 AR=$ac_ct_AR
4922 else
4923 AR="$ac_cv_prog_AR"
4926 test -z "$AR" && AR=ar
4927 test -z "$AR_FLAGS" && AR_FLAGS=cru
4939 if test -n "$ac_tool_prefix"; then
4940 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4941 set dummy ${ac_tool_prefix}strip; ac_word=$2
4942 echo "$as_me:$LINENO: checking for $ac_word" >&5
4943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4944 if test "${ac_cv_prog_STRIP+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 else
4947 if test -n "$STRIP"; then
4948 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4953 IFS=$as_save_IFS
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 break 2
4961 done
4962 done
4966 STRIP=$ac_cv_prog_STRIP
4967 if test -n "$STRIP"; then
4968 echo "$as_me:$LINENO: result: $STRIP" >&5
4969 echo "${ECHO_T}$STRIP" >&6
4970 else
4971 echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4976 if test -z "$ac_cv_prog_STRIP"; then
4977 ac_ct_STRIP=$STRIP
4978 # Extract the first word of "strip", so it can be a program name with args.
4979 set dummy strip; ac_word=$2
4980 echo "$as_me:$LINENO: checking for $ac_word" >&5
4981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 else
4985 if test -n "$ac_ct_STRIP"; then
4986 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_STRIP="strip"
4996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5002 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5006 if test -n "$ac_ct_STRIP"; then
5007 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5008 echo "${ECHO_T}$ac_ct_STRIP" >&6
5009 else
5010 echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5014 STRIP=$ac_ct_STRIP
5015 else
5016 STRIP="$ac_cv_prog_STRIP"
5019 test -z "$STRIP" && STRIP=:
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5029 echo "$as_me:$LINENO: checking for $ac_word" >&5
5030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5031 if test "${ac_cv_prog_RANLIB+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 else
5034 if test -n "$RANLIB"; then
5035 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5053 RANLIB=$ac_cv_prog_RANLIB
5054 if test -n "$RANLIB"; then
5055 echo "$as_me:$LINENO: result: $RANLIB" >&5
5056 echo "${ECHO_T}$RANLIB" >&6
5057 else
5058 echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5063 if test -z "$ac_cv_prog_RANLIB"; then
5064 ac_ct_RANLIB=$RANLIB
5065 # Extract the first word of "ranlib", so it can be a program name with args.
5066 set dummy ranlib; ac_word=$2
5067 echo "$as_me:$LINENO: checking for $ac_word" >&5
5068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5069 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 else
5072 if test -n "$ac_ct_RANLIB"; then
5073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ac_ct_RANLIB="ranlib"
5083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5089 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5093 if test -n "$ac_ct_RANLIB"; then
5094 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5095 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5096 else
5097 echo "$as_me:$LINENO: result: no" >&5
5098 echo "${ECHO_T}no" >&6
5101 RANLIB=$ac_ct_RANLIB
5102 else
5103 RANLIB="$ac_cv_prog_RANLIB"
5106 test -z "$RANLIB" && RANLIB=:
5113 # Determine commands to create old-style static archives.
5114 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5115 old_postinstall_cmds='chmod 644 $oldlib'
5116 old_postuninstall_cmds=
5118 if test -n "$RANLIB"; then
5119 case $host_os in
5120 openbsd*)
5121 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5124 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5126 esac
5127 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5163 # If no C compiler was specified, use CC.
5164 LTCC=${LTCC-"$CC"}
5166 # If no C compiler flags were specified, use CFLAGS.
5167 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5169 # Allow CC to be a program name with arguments.
5170 compiler=$CC
5173 # Check for command to grab the raw symbol name followed by C symbol from nm.
5174 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5175 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5176 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 else
5180 # These are sane defaults that work on at least a few old systems.
5181 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5183 # Character class describing NM global symbol codes.
5184 symcode='[BCDEGRST]'
5186 # Regexp to match symbols that can be accessed directly from C.
5187 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5189 # Define system-specific variables.
5190 case $host_os in
5191 aix*)
5192 symcode='[BCDT]'
5194 cygwin* | mingw* | pw32* | cegcc*)
5195 symcode='[ABCDGISTW]'
5197 hpux*)
5198 if test "$host_cpu" = ia64; then
5199 symcode='[ABCDEGRST]'
5202 irix* | nonstopux*)
5203 symcode='[BCDEGRST]'
5205 osf*)
5206 symcode='[BCDEGQRST]'
5208 solaris*)
5209 symcode='[BDRT]'
5211 sco3.2v5*)
5212 symcode='[DT]'
5214 sysv4.2uw2*)
5215 symcode='[DT]'
5217 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5218 symcode='[ABDT]'
5220 sysv4)
5221 symcode='[DFNSTU]'
5223 esac
5225 # If we're using GNU nm, then use its standard symbol codes.
5226 case `$NM -V 2>&1` in
5227 *GNU* | *'with BFD'*)
5228 symcode='[ABCDGIRSTW]' ;;
5229 esac
5231 # Transform an extracted symbol line into a proper C declaration.
5232 # Some systems (esp. on ia64) link data and code symbols differently,
5233 # so use this general approach.
5234 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5236 # Transform an extracted symbol line into symbol name and symbol address
5237 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5240 # Handle CRLF in mingw tool chain
5241 opt_cr=
5242 case $build_os in
5243 mingw*)
5244 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5246 esac
5248 # Try without a prefix underscore, then with it.
5249 for ac_symprfx in "" "_"; do
5251 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5252 symxfrm="\\1 $ac_symprfx\\2 \\2"
5254 # Write the raw and C identifiers.
5255 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5256 # Fake it for dumpbin and say T for any non-static function
5257 # and D for any global variable.
5258 # Also find C++ and __fastcall symbols from MSVC++,
5259 # which start with @ or ?.
5260 lt_cv_sys_global_symbol_pipe="$AWK '"\
5261 " {last_section=section; section=\$ 3};"\
5262 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5263 " \$ 0!~/External *\|/{next};"\
5264 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5265 " {if(hide[section]) next};"\
5266 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5267 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5268 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5269 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5270 " ' prfx=^$ac_symprfx"
5271 else
5272 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5275 # Check to see that the pipe works correctly.
5276 pipe_works=no
5278 rm -f conftest*
5279 cat > conftest.$ac_ext <<_LT_EOF
5280 #ifdef __cplusplus
5281 extern "C" {
5282 #endif
5283 char nm_test_var;
5284 void nm_test_func(void);
5285 void nm_test_func(void){}
5286 #ifdef __cplusplus
5288 #endif
5289 int main(){nm_test_var='a';nm_test_func();return(0);}
5290 _LT_EOF
5292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293 (eval $ac_compile) 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; then
5297 # Now try to grab the symbols.
5298 nlist=conftest.nm
5299 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5300 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5301 ac_status=$?
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } && test -s "$nlist"; then
5304 # Try sorting and uniquifying the output.
5305 if sort "$nlist" | uniq > "$nlist"T; then
5306 mv -f "$nlist"T "$nlist"
5307 else
5308 rm -f "$nlist"T
5311 # Make sure that we snagged all the symbols we need.
5312 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5313 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5314 cat <<_LT_EOF > conftest.$ac_ext
5315 #ifdef __cplusplus
5316 extern "C" {
5317 #endif
5319 _LT_EOF
5320 # Now generate the symbol file.
5321 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5323 cat <<_LT_EOF >> conftest.$ac_ext
5325 /* The mapping between symbol names and symbols. */
5326 const struct {
5327 const char *name;
5328 void *address;
5330 lt__PROGRAM__LTX_preloaded_symbols[] =
5332 { "@PROGRAM@", (void *) 0 },
5333 _LT_EOF
5334 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5335 cat <<\_LT_EOF >> conftest.$ac_ext
5336 {0, (void *) 0}
5339 /* This works around a problem in FreeBSD linker */
5340 #ifdef FREEBSD_WORKAROUND
5341 static const void *lt_preloaded_setup() {
5342 return lt__PROGRAM__LTX_preloaded_symbols;
5344 #endif
5346 #ifdef __cplusplus
5348 #endif
5349 _LT_EOF
5350 # Now try linking the two files.
5351 mv conftest.$ac_objext conftstm.$ac_objext
5352 lt_save_LIBS="$LIBS"
5353 lt_save_CFLAGS="$CFLAGS"
5354 LIBS="conftstm.$ac_objext"
5355 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5357 (eval $ac_link) 2>&5
5358 ac_status=$?
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5361 pipe_works=yes
5363 LIBS="$lt_save_LIBS"
5364 CFLAGS="$lt_save_CFLAGS"
5365 else
5366 echo "cannot find nm_test_func in $nlist" >&5
5368 else
5369 echo "cannot find nm_test_var in $nlist" >&5
5371 else
5372 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5374 else
5375 echo "$progname: failed program was:" >&5
5376 cat conftest.$ac_ext >&5
5378 rm -rf conftest* conftst*
5380 # Do not use the global_symbol_pipe unless it works.
5381 if test "$pipe_works" = yes; then
5382 break
5383 else
5384 lt_cv_sys_global_symbol_pipe=
5386 done
5390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5391 lt_cv_sys_global_symbol_to_cdecl=
5393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5394 echo "$as_me:$LINENO: result: failed" >&5
5395 echo "${ECHO_T}failed" >&6
5396 else
5397 echo "$as_me:$LINENO: result: ok" >&5
5398 echo "${ECHO_T}ok" >&6
5422 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5423 if test "${enable_libtool_lock+set}" = set; then
5424 enableval="$enable_libtool_lock"
5427 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5429 # Some flags need to be propagated to the compiler or linker for good
5430 # libtool support.
5431 case $host in
5432 ia64-*-hpux*)
5433 # Find out which ABI we are using.
5434 echo 'int i;' > conftest.$ac_ext
5435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5436 (eval $ac_compile) 2>&5
5437 ac_status=$?
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; then
5440 case `/usr/bin/file conftest.$ac_objext` in
5441 *ELF-32*)
5442 HPUX_IA64_MODE="32"
5444 *ELF-64*)
5445 HPUX_IA64_MODE="64"
5447 esac
5449 rm -rf conftest*
5451 *-*-irix6*)
5452 # Find out which ABI we are using.
5453 echo '#line 5453 "configure"' > conftest.$ac_ext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455 (eval $ac_compile) 2>&5
5456 ac_status=$?
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); }; then
5459 if test "$lt_cv_prog_gnu_ld" = yes; then
5460 case `/usr/bin/file conftest.$ac_objext` in
5461 *32-bit*)
5462 LD="${LD-ld} -melf32bsmip"
5464 *N32*)
5465 LD="${LD-ld} -melf32bmipn32"
5467 *64-bit*)
5468 LD="${LD-ld} -melf64bmip"
5470 esac
5471 else
5472 case `/usr/bin/file conftest.$ac_objext` in
5473 *32-bit*)
5474 LD="${LD-ld} -32"
5476 *N32*)
5477 LD="${LD-ld} -n32"
5479 *64-bit*)
5480 LD="${LD-ld} -64"
5482 esac
5485 rm -rf conftest*
5488 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5489 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5490 # Find out which ABI we are using.
5491 echo 'int i;' > conftest.$ac_ext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493 (eval $ac_compile) 2>&5
5494 ac_status=$?
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; then
5497 case `/usr/bin/file conftest.o` in
5498 *32-bit*)
5499 case $host in
5500 x86_64-*kfreebsd*-gnu)
5501 LD="${LD-ld} -m elf_i386_fbsd"
5503 x86_64-*linux*)
5504 LD="${LD-ld} -m elf_i386"
5506 ppc64-*linux*|powerpc64-*linux*)
5507 LD="${LD-ld} -m elf32ppclinux"
5509 s390x-*linux*)
5510 LD="${LD-ld} -m elf_s390"
5512 sparc64-*linux*)
5513 LD="${LD-ld} -m elf32_sparc"
5515 esac
5517 *64-bit*)
5518 case $host in
5519 x86_64-*kfreebsd*-gnu)
5520 LD="${LD-ld} -m elf_x86_64_fbsd"
5522 x86_64-*linux*)
5523 LD="${LD-ld} -m elf_x86_64"
5525 ppc*-*linux*|powerpc*-*linux*)
5526 LD="${LD-ld} -m elf64ppc"
5528 s390*-*linux*|s390*-*tpf*)
5529 LD="${LD-ld} -m elf64_s390"
5531 sparc*-*linux*)
5532 LD="${LD-ld} -m elf64_sparc"
5534 esac
5536 esac
5538 rm -rf conftest*
5541 *-*-sco3.2v5*)
5542 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5543 SAVE_CFLAGS="$CFLAGS"
5544 CFLAGS="$CFLAGS -belf"
5545 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5546 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5547 if test "${lt_cv_cc_needs_belf+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 else
5550 ac_ext=c
5551 ac_cpp='$CPP $CPPFLAGS'
5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5556 if test x$gcc_no_link = xyes; then
5557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5559 { (exit 1); exit 1; }; }
5561 cat >conftest.$ac_ext <<_ACEOF
5562 /* confdefs.h. */
5563 _ACEOF
5564 cat confdefs.h >>conftest.$ac_ext
5565 cat >>conftest.$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5569 main ()
5573 return 0;
5575 _ACEOF
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5578 (eval $ac_link) 2>conftest.er1
5579 ac_status=$?
5580 grep -v '^ *+' conftest.er1 >conftest.err
5581 rm -f conftest.er1
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag"
5586 || test ! -s conftest.err'
5587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588 (eval $ac_try) 2>&5
5589 ac_status=$?
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); }; } &&
5592 { ac_try='test -s conftest$ac_exeext'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594 (eval $ac_try) 2>&5
5595 ac_status=$?
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; }; then
5598 lt_cv_cc_needs_belf=yes
5599 else
5600 echo "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.$ac_ext >&5
5603 lt_cv_cc_needs_belf=no
5605 rm -f conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5607 ac_ext=c
5608 ac_cpp='$CPP $CPPFLAGS'
5609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5614 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5615 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5616 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5617 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5618 CFLAGS="$SAVE_CFLAGS"
5621 sparc*-*solaris*)
5622 # Find out which ABI we are using.
5623 echo 'int i;' > conftest.$ac_ext
5624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625 (eval $ac_compile) 2>&5
5626 ac_status=$?
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; then
5629 case `/usr/bin/file conftest.o` in
5630 *64-bit*)
5631 case $lt_cv_prog_gnu_ld in
5632 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5634 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5635 LD="${LD-ld} -64"
5638 esac
5640 esac
5642 rm -rf conftest*
5644 esac
5646 need_locks="$enable_libtool_lock"
5649 case $host_os in
5650 rhapsody* | darwin*)
5651 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5654 echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5656 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 else
5659 if test -n "$DSYMUTIL"; then
5660 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 break 2
5673 done
5674 done
5678 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5679 if test -n "$DSYMUTIL"; then
5680 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5681 echo "${ECHO_T}$DSYMUTIL" >&6
5682 else
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5688 if test -z "$ac_cv_prog_DSYMUTIL"; then
5689 ac_ct_DSYMUTIL=$DSYMUTIL
5690 # Extract the first word of "dsymutil", so it can be a program name with args.
5691 set dummy dsymutil; ac_word=$2
5692 echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5694 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 else
5697 if test -n "$ac_ct_DSYMUTIL"; then
5698 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5699 else
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5703 IFS=$as_save_IFS
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 break 2
5711 done
5712 done
5714 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5717 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5718 if test -n "$ac_ct_DSYMUTIL"; then
5719 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5720 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5721 else
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5726 DSYMUTIL=$ac_ct_DSYMUTIL
5727 else
5728 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5731 if test -n "$ac_tool_prefix"; then
5732 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5733 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5734 echo "$as_me:$LINENO: checking for $ac_word" >&5
5735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5736 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 else
5739 if test -n "$NMEDIT"; then
5740 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5758 NMEDIT=$ac_cv_prog_NMEDIT
5759 if test -n "$NMEDIT"; then
5760 echo "$as_me:$LINENO: result: $NMEDIT" >&5
5761 echo "${ECHO_T}$NMEDIT" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5768 if test -z "$ac_cv_prog_NMEDIT"; then
5769 ac_ct_NMEDIT=$NMEDIT
5770 # Extract the first word of "nmedit", so it can be a program name with args.
5771 set dummy nmedit; ac_word=$2
5772 echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5774 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 else
5777 if test -n "$ac_ct_NMEDIT"; then
5778 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5783 IFS=$as_save_IFS
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 break 2
5791 done
5792 done
5794 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5797 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5798 if test -n "$ac_ct_NMEDIT"; then
5799 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5800 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5801 else
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5806 NMEDIT=$ac_ct_NMEDIT
5807 else
5808 NMEDIT="$ac_cv_prog_NMEDIT"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5814 echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5816 if test "${ac_cv_prog_LIPO+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819 if test -n "$LIPO"; then
5820 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5838 LIPO=$ac_cv_prog_LIPO
5839 if test -n "$LIPO"; then
5840 echo "$as_me:$LINENO: result: $LIPO" >&5
5841 echo "${ECHO_T}$LIPO" >&6
5842 else
5843 echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5848 if test -z "$ac_cv_prog_LIPO"; then
5849 ac_ct_LIPO=$LIPO
5850 # Extract the first word of "lipo", so it can be a program name with args.
5851 set dummy lipo; ac_word=$2
5852 echo "$as_me:$LINENO: checking for $ac_word" >&5
5853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5854 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 else
5857 if test -n "$ac_ct_LIPO"; then
5858 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_ac_ct_LIPO="lipo"
5868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5874 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5877 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5878 if test -n "$ac_ct_LIPO"; then
5879 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5880 echo "${ECHO_T}$ac_ct_LIPO" >&6
5881 else
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5886 LIPO=$ac_ct_LIPO
5887 else
5888 LIPO="$ac_cv_prog_LIPO"
5891 if test -n "$ac_tool_prefix"; then
5892 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}otool; ac_word=$2
5894 echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5896 if test "${ac_cv_prog_OTOOL+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 else
5899 if test -n "$OTOOL"; then
5900 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5918 OTOOL=$ac_cv_prog_OTOOL
5919 if test -n "$OTOOL"; then
5920 echo "$as_me:$LINENO: result: $OTOOL" >&5
5921 echo "${ECHO_T}$OTOOL" >&6
5922 else
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5928 if test -z "$ac_cv_prog_OTOOL"; then
5929 ac_ct_OTOOL=$OTOOL
5930 # Extract the first word of "otool", so it can be a program name with args.
5931 set dummy otool; ac_word=$2
5932 echo "$as_me:$LINENO: checking for $ac_word" >&5
5933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5934 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 else
5937 if test -n "$ac_ct_OTOOL"; then
5938 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_ac_ct_OTOOL="otool"
5948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5954 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5957 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5958 if test -n "$ac_ct_OTOOL"; then
5959 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
5960 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5961 else
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5966 OTOOL=$ac_ct_OTOOL
5967 else
5968 OTOOL="$ac_cv_prog_OTOOL"
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5974 echo "$as_me:$LINENO: checking for $ac_word" >&5
5975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5976 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 else
5979 if test -n "$OTOOL64"; then
5980 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 break 2
5993 done
5994 done
5998 OTOOL64=$ac_cv_prog_OTOOL64
5999 if test -n "$OTOOL64"; then
6000 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6001 echo "${ECHO_T}$OTOOL64" >&6
6002 else
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6008 if test -z "$ac_cv_prog_OTOOL64"; then
6009 ac_ct_OTOOL64=$OTOOL64
6010 # Extract the first word of "otool64", so it can be a program name with args.
6011 set dummy otool64; ac_word=$2
6012 echo "$as_me:$LINENO: checking for $ac_word" >&5
6013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6014 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 else
6017 if test -n "$ac_ct_OTOOL64"; then
6018 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_OTOOL64="otool64"
6028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6034 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6037 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6038 if test -n "$ac_ct_OTOOL64"; then
6039 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6040 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6046 OTOOL64=$ac_ct_OTOOL64
6047 else
6048 OTOOL64="$ac_cv_prog_OTOOL64"
6077 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6078 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6079 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 else
6082 lt_cv_apple_cc_single_mod=no
6083 if test -z "${LT_MULTI_MODULE}"; then
6084 # By default we will add the -single_module flag. You can override
6085 # by either setting the environment variable LT_MULTI_MODULE
6086 # non-empty at configure time, or by adding -multi_module to the
6087 # link flags.
6088 rm -rf libconftest.dylib*
6089 echo "int foo(void){return 1;}" > conftest.c
6090 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6091 -dynamiclib -Wl,-single_module conftest.c" >&5
6092 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6093 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6094 _lt_result=$?
6095 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6096 lt_cv_apple_cc_single_mod=yes
6097 else
6098 cat conftest.err >&5
6100 rm -rf libconftest.dylib*
6101 rm -f conftest.*
6104 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6105 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6106 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6107 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6108 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 else
6111 lt_cv_ld_exported_symbols_list=no
6112 save_LDFLAGS=$LDFLAGS
6113 echo "_main" > conftest.sym
6114 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6115 if test x$gcc_no_link = xyes; then
6116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6118 { (exit 1); exit 1; }; }
6120 cat >conftest.$ac_ext <<_ACEOF
6121 /* confdefs.h. */
6122 _ACEOF
6123 cat confdefs.h >>conftest.$ac_ext
6124 cat >>conftest.$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6128 main ()
6132 return 0;
6134 _ACEOF
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137 (eval $ac_link) 2>conftest.er1
6138 ac_status=$?
6139 grep -v '^ *+' conftest.er1 >conftest.err
6140 rm -f conftest.er1
6141 cat conftest.err >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } &&
6144 { ac_try='test -z "$ac_c_werror_flag"
6145 || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 (eval $ac_try) 2>&5
6148 ac_status=$?
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153 (eval $ac_try) 2>&5
6154 ac_status=$?
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 lt_cv_ld_exported_symbols_list=yes
6158 else
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.$ac_ext >&5
6162 lt_cv_ld_exported_symbols_list=no
6164 rm -f conftest.err conftest.$ac_objext \
6165 conftest$ac_exeext conftest.$ac_ext
6166 LDFLAGS="$save_LDFLAGS"
6169 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6170 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6171 case $host_os in
6172 rhapsody* | darwin1.[012])
6173 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6174 darwin1.*)
6175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6176 darwin*) # darwin 5.x on
6177 # if running on 10.5 or later, the deployment target defaults
6178 # to the OS version, if on x86, and 10.4, the deployment
6179 # target defaults to 10.4. Don't you love it?
6180 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6181 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6183 10.[012]*)
6184 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6185 10.*)
6186 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6187 esac
6189 esac
6190 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6191 _lt_dar_single_mod='$single_module'
6193 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6194 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6195 else
6196 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6198 if test "$DSYMUTIL" != ":"; then
6199 _lt_dsymutil='~$DSYMUTIL $lib || :'
6200 else
6201 _lt_dsymutil=
6204 esac
6206 ac_ext=c
6207 ac_cpp='$CPP $CPPFLAGS'
6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6211 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6212 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6213 # On Suns, sometimes $CPP names a directory.
6214 if test -n "$CPP" && test -d "$CPP"; then
6215 CPP=
6217 if test -z "$CPP"; then
6218 if test "${ac_cv_prog_CPP+set}" = set; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 else
6221 # Double quotes because CPP needs to be expanded
6222 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6224 ac_preproc_ok=false
6225 for ac_c_preproc_warn_flag in '' yes
6227 # Use a header file that comes with gcc, so configuring glibc
6228 # with a fresh cross-compiler works.
6229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6230 # <limits.h> exists even on freestanding compilers.
6231 # On the NeXT, cc -E runs the code through the compiler's parser,
6232 # not just through cpp. "Syntax error" is here to catch this case.
6233 cat >conftest.$ac_ext <<_ACEOF
6234 /* confdefs.h. */
6235 _ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 #ifdef __STDC__
6240 # include <limits.h>
6241 #else
6242 # include <assert.h>
6243 #endif
6244 Syntax error
6245 _ACEOF
6246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6248 ac_status=$?
6249 grep -v '^ *+' conftest.er1 >conftest.err
6250 rm -f conftest.er1
6251 cat conftest.err >&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } >/dev/null; then
6254 if test -s conftest.err; then
6255 ac_cpp_err=$ac_c_preproc_warn_flag
6256 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6257 else
6258 ac_cpp_err=
6260 else
6261 ac_cpp_err=yes
6263 if test -z "$ac_cpp_err"; then
6265 else
6266 echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.$ac_ext >&5
6269 # Broken: fails on valid input.
6270 continue
6272 rm -f conftest.err conftest.$ac_ext
6274 # OK, works on sane cases. Now check whether non-existent headers
6275 # can be detected and how.
6276 cat >conftest.$ac_ext <<_ACEOF
6277 /* confdefs.h. */
6278 _ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6282 #include <ac_nonexistent.h>
6283 _ACEOF
6284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } >/dev/null; then
6292 if test -s conftest.err; then
6293 ac_cpp_err=$ac_c_preproc_warn_flag
6294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6295 else
6296 ac_cpp_err=
6298 else
6299 ac_cpp_err=yes
6301 if test -z "$ac_cpp_err"; then
6302 # Broken: success on invalid input.
6303 continue
6304 else
6305 echo "$as_me: failed program was:" >&5
6306 sed 's/^/| /' conftest.$ac_ext >&5
6308 # Passes both tests.
6309 ac_preproc_ok=:
6310 break
6312 rm -f conftest.err conftest.$ac_ext
6314 done
6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6316 rm -f conftest.err conftest.$ac_ext
6317 if $ac_preproc_ok; then
6318 break
6321 done
6322 ac_cv_prog_CPP=$CPP
6325 CPP=$ac_cv_prog_CPP
6326 else
6327 ac_cv_prog_CPP=$CPP
6329 echo "$as_me:$LINENO: result: $CPP" >&5
6330 echo "${ECHO_T}$CPP" >&6
6331 ac_preproc_ok=false
6332 for ac_c_preproc_warn_flag in '' yes
6334 # Use a header file that comes with gcc, so configuring glibc
6335 # with a fresh cross-compiler works.
6336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6337 # <limits.h> exists even on freestanding compilers.
6338 # On the NeXT, cc -E runs the code through the compiler's parser,
6339 # not just through cpp. "Syntax error" is here to catch this case.
6340 cat >conftest.$ac_ext <<_ACEOF
6341 /* confdefs.h. */
6342 _ACEOF
6343 cat confdefs.h >>conftest.$ac_ext
6344 cat >>conftest.$ac_ext <<_ACEOF
6345 /* end confdefs.h. */
6346 #ifdef __STDC__
6347 # include <limits.h>
6348 #else
6349 # include <assert.h>
6350 #endif
6351 Syntax error
6352 _ACEOF
6353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6355 ac_status=$?
6356 grep -v '^ *+' conftest.er1 >conftest.err
6357 rm -f conftest.er1
6358 cat conftest.err >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); } >/dev/null; then
6361 if test -s conftest.err; then
6362 ac_cpp_err=$ac_c_preproc_warn_flag
6363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6364 else
6365 ac_cpp_err=
6367 else
6368 ac_cpp_err=yes
6370 if test -z "$ac_cpp_err"; then
6372 else
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 # Broken: fails on valid input.
6377 continue
6379 rm -f conftest.err conftest.$ac_ext
6381 # OK, works on sane cases. Now check whether non-existent headers
6382 # can be detected and how.
6383 cat >conftest.$ac_ext <<_ACEOF
6384 /* confdefs.h. */
6385 _ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6389 #include <ac_nonexistent.h>
6390 _ACEOF
6391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6393 ac_status=$?
6394 grep -v '^ *+' conftest.er1 >conftest.err
6395 rm -f conftest.er1
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } >/dev/null; then
6399 if test -s conftest.err; then
6400 ac_cpp_err=$ac_c_preproc_warn_flag
6401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6402 else
6403 ac_cpp_err=
6405 else
6406 ac_cpp_err=yes
6408 if test -z "$ac_cpp_err"; then
6409 # Broken: success on invalid input.
6410 continue
6411 else
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 # Passes both tests.
6416 ac_preproc_ok=:
6417 break
6419 rm -f conftest.err conftest.$ac_ext
6421 done
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.err conftest.$ac_ext
6424 if $ac_preproc_ok; then
6426 else
6427 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6428 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6429 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6430 See \`config.log' for more details." >&5
6431 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6432 See \`config.log' for more details." >&2;}
6433 { (exit 1); exit 1; }; }; }
6436 ac_ext=c
6437 ac_cpp='$CPP $CPPFLAGS'
6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6445 if test "${ac_cv_header_stdc+set}" = set; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6447 else
6448 cat >conftest.$ac_ext <<_ACEOF
6449 /* confdefs.h. */
6450 _ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6454 #include <stdlib.h>
6455 #include <stdarg.h>
6456 #include <string.h>
6457 #include <float.h>
6460 main ()
6464 return 0;
6466 _ACEOF
6467 rm -f conftest.$ac_objext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6469 (eval $ac_compile) 2>conftest.er1
6470 ac_status=$?
6471 grep -v '^ *+' conftest.er1 >conftest.err
6472 rm -f conftest.er1
6473 cat conftest.err >&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } &&
6476 { ac_try='test -z "$ac_c_werror_flag"
6477 || test ! -s conftest.err'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 (eval $ac_try) 2>&5
6480 ac_status=$?
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; } &&
6483 { ac_try='test -s conftest.$ac_objext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 (eval $ac_try) 2>&5
6486 ac_status=$?
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 ac_cv_header_stdc=yes
6490 else
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6494 ac_cv_header_stdc=no
6496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6498 if test $ac_cv_header_stdc = yes; then
6499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6500 cat >conftest.$ac_ext <<_ACEOF
6501 /* confdefs.h. */
6502 _ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6506 #include <string.h>
6508 _ACEOF
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "memchr" >/dev/null 2>&1; then
6512 else
6513 ac_cv_header_stdc=no
6515 rm -f conftest*
6519 if test $ac_cv_header_stdc = yes; then
6520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6521 cat >conftest.$ac_ext <<_ACEOF
6522 /* confdefs.h. */
6523 _ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6527 #include <stdlib.h>
6529 _ACEOF
6530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6531 $EGREP "free" >/dev/null 2>&1; then
6533 else
6534 ac_cv_header_stdc=no
6536 rm -f conftest*
6540 if test $ac_cv_header_stdc = yes; then
6541 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6542 if test "$cross_compiling" = yes; then
6544 else
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <ctype.h>
6552 #if ((' ' & 0x0FF) == 0x020)
6553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6555 #else
6556 # define ISLOWER(c) \
6557 (('a' <= (c) && (c) <= 'i') \
6558 || ('j' <= (c) && (c) <= 'r') \
6559 || ('s' <= (c) && (c) <= 'z'))
6560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6561 #endif
6563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6565 main ()
6567 int i;
6568 for (i = 0; i < 256; i++)
6569 if (XOR (islower (i), ISLOWER (i))
6570 || toupper (i) != TOUPPER (i))
6571 exit(2);
6572 exit (0);
6574 _ACEOF
6575 rm -f conftest$ac_exeext
6576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6577 (eval $ac_link) 2>&5
6578 ac_status=$?
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 (eval $ac_try) 2>&5
6583 ac_status=$?
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6587 else
6588 echo "$as_me: program exited with status $ac_status" >&5
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5
6592 ( exit $ac_status )
6593 ac_cv_header_stdc=no
6595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6599 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6600 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6601 if test $ac_cv_header_stdc = yes; then
6603 cat >>confdefs.h <<\_ACEOF
6604 #define STDC_HEADERS 1
6605 _ACEOF
6609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6620 inttypes.h stdint.h unistd.h
6622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 echo "$as_me:$LINENO: checking for $ac_header" >&5
6624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 else
6628 cat >conftest.$ac_ext <<_ACEOF
6629 /* confdefs.h. */
6630 _ACEOF
6631 cat confdefs.h >>conftest.$ac_ext
6632 cat >>conftest.$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6634 $ac_includes_default
6636 #include <$ac_header>
6637 _ACEOF
6638 rm -f conftest.$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640 (eval $ac_compile) 2>conftest.er1
6641 ac_status=$?
6642 grep -v '^ *+' conftest.er1 >conftest.err
6643 rm -f conftest.er1
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 (eval $ac_try) 2>&5
6651 ac_status=$?
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 (eval $ac_try) 2>&5
6657 ac_status=$?
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 eval "$as_ac_Header=yes"
6661 else
6662 echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.$ac_ext >&5
6665 eval "$as_ac_Header=no"
6667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6672 cat >>confdefs.h <<_ACEOF
6673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6674 _ACEOF
6678 done
6682 for ac_header in dlfcn.h
6684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 echo "$as_me:$LINENO: checking for $ac_header" >&5
6686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6689 else
6690 cat >conftest.$ac_ext <<_ACEOF
6691 /* confdefs.h. */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 $ac_includes_default
6698 #include <$ac_header>
6699 _ACEOF
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702 (eval $ac_compile) 2>conftest.er1
6703 ac_status=$?
6704 grep -v '^ *+' conftest.er1 >conftest.err
6705 rm -f conftest.er1
6706 cat conftest.err >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } &&
6709 { ac_try='test -z "$ac_c_werror_flag"
6710 || test ! -s conftest.err'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 (eval $ac_try) 2>&5
6713 ac_status=$?
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; } &&
6716 { ac_try='test -s conftest.$ac_objext'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6718 (eval $ac_try) 2>&5
6719 ac_status=$?
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; }; then
6722 eval "$as_ac_Header=yes"
6723 else
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 eval "$as_ac_Header=no"
6729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6734 cat >>confdefs.h <<_ACEOF
6735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6736 _ACEOF
6740 done
6744 # Set options
6749 enable_win32_dll=no
6752 # Check whether --enable-shared or --disable-shared was given.
6753 if test "${enable_shared+set}" = set; then
6754 enableval="$enable_shared"
6755 p=${PACKAGE-default}
6756 case $enableval in
6757 yes) enable_shared=yes ;;
6758 no) enable_shared=no ;;
6760 enable_shared=no
6761 # Look at the argument we got. We use all the common list separators.
6762 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6763 for pkg in $enableval; do
6764 IFS="$lt_save_ifs"
6765 if test "X$pkg" = "X$p"; then
6766 enable_shared=yes
6768 done
6769 IFS="$lt_save_ifs"
6771 esac
6772 else
6773 enable_shared=yes
6783 # Check whether --enable-static or --disable-static was given.
6784 if test "${enable_static+set}" = set; then
6785 enableval="$enable_static"
6786 p=${PACKAGE-default}
6787 case $enableval in
6788 yes) enable_static=yes ;;
6789 no) enable_static=no ;;
6791 enable_static=no
6792 # Look at the argument we got. We use all the common list separators.
6793 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6794 for pkg in $enableval; do
6795 IFS="$lt_save_ifs"
6796 if test "X$pkg" = "X$p"; then
6797 enable_static=yes
6799 done
6800 IFS="$lt_save_ifs"
6802 esac
6803 else
6804 enable_static=yes
6815 # Check whether --with-pic or --without-pic was given.
6816 if test "${with_pic+set}" = set; then
6817 withval="$with_pic"
6818 pic_mode="$withval"
6819 else
6820 pic_mode=default
6823 test -z "$pic_mode" && pic_mode=default
6831 # Check whether --enable-fast-install or --disable-fast-install was given.
6832 if test "${enable_fast_install+set}" = set; then
6833 enableval="$enable_fast_install"
6834 p=${PACKAGE-default}
6835 case $enableval in
6836 yes) enable_fast_install=yes ;;
6837 no) enable_fast_install=no ;;
6839 enable_fast_install=no
6840 # Look at the argument we got. We use all the common list separators.
6841 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6842 for pkg in $enableval; do
6843 IFS="$lt_save_ifs"
6844 if test "X$pkg" = "X$p"; then
6845 enable_fast_install=yes
6847 done
6848 IFS="$lt_save_ifs"
6850 esac
6851 else
6852 enable_fast_install=yes
6864 # This can be used to rebuild libtool when needed
6865 LIBTOOL_DEPS="$ltmain"
6867 # Always use our own libtool.
6868 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6894 test -z "$LN_S" && LN_S="ln -s"
6909 if test -n "${ZSH_VERSION+set}" ; then
6910 setopt NO_GLOB_SUBST
6913 echo "$as_me:$LINENO: checking for objdir" >&5
6914 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6915 if test "${lt_cv_objdir+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 else
6918 rm -f .libs 2>/dev/null
6919 mkdir .libs 2>/dev/null
6920 if test -d .libs; then
6921 lt_cv_objdir=.libs
6922 else
6923 # MS-DOS does not allow filenames that begin with a dot.
6924 lt_cv_objdir=_libs
6926 rmdir .libs 2>/dev/null
6928 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6929 echo "${ECHO_T}$lt_cv_objdir" >&6
6930 objdir=$lt_cv_objdir
6936 cat >>confdefs.h <<_ACEOF
6937 #define LT_OBJDIR "$lt_cv_objdir/"
6938 _ACEOF
6956 case $host_os in
6957 aix3*)
6958 # AIX sometimes has problems with the GCC collect2 program. For some
6959 # reason, if we set the COLLECT_NAMES environment variable, the problems
6960 # vanish in a puff of smoke.
6961 if test "X${COLLECT_NAMES+set}" != Xset; then
6962 COLLECT_NAMES=
6963 export COLLECT_NAMES
6966 esac
6968 # Sed substitution that helps us do robust quoting. It backslashifies
6969 # metacharacters that are still active within double-quoted strings.
6970 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6972 # Same as above, but do not quote variable references.
6973 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6975 # Sed substitution to delay expansion of an escaped shell variable in a
6976 # double_quote_subst'ed string.
6977 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6979 # Sed substitution to delay expansion of an escaped single quote.
6980 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6982 # Sed substitution to avoid accidental globbing in evaled expressions
6983 no_glob_subst='s/\*/\\\*/g'
6985 # Global variables:
6986 ofile=libtool
6987 can_build_shared=yes
6989 # All known linkers require a `.a' archive for static linking (except MSVC,
6990 # which needs '.lib').
6991 libext=a
6993 with_gnu_ld="$lt_cv_prog_gnu_ld"
6995 old_CC="$CC"
6996 old_CFLAGS="$CFLAGS"
6998 # Set sane defaults for various variables
6999 test -z "$CC" && CC=cc
7000 test -z "$LTCC" && LTCC=$CC
7001 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7002 test -z "$LD" && LD=ld
7003 test -z "$ac_objext" && ac_objext=o
7005 for cc_temp in $compiler""; do
7006 case $cc_temp in
7007 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7008 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7009 \-*) ;;
7010 *) break;;
7011 esac
7012 done
7013 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7016 # Only perform the check for file, if the check method requires it
7017 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7018 case $deplibs_check_method in
7019 file_magic*)
7020 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7021 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7022 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7023 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 else
7026 case $MAGIC_CMD in
7027 [\\/*] | ?:[\\/]*)
7028 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7031 lt_save_MAGIC_CMD="$MAGIC_CMD"
7032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7033 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7034 for ac_dir in $ac_dummy; do
7035 IFS="$lt_save_ifs"
7036 test -z "$ac_dir" && ac_dir=.
7037 if test -f $ac_dir/${ac_tool_prefix}file; then
7038 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7039 if test -n "$file_magic_test_file"; then
7040 case $deplibs_check_method in
7041 "file_magic "*)
7042 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7044 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7045 $EGREP "$file_magic_regex" > /dev/null; then
7047 else
7048 cat <<_LT_EOF 1>&2
7050 *** Warning: the command libtool uses to detect shared libraries,
7051 *** $file_magic_cmd, produces output that libtool cannot recognize.
7052 *** The result is that libtool may fail to recognize shared libraries
7053 *** as such. This will affect the creation of libtool libraries that
7054 *** depend on shared libraries, but programs linked with such libtool
7055 *** libraries will work regardless of this problem. Nevertheless, you
7056 *** may want to report the problem to your system manager and/or to
7057 *** bug-libtool@gnu.org
7059 _LT_EOF
7060 fi ;;
7061 esac
7063 break
7065 done
7066 IFS="$lt_save_ifs"
7067 MAGIC_CMD="$lt_save_MAGIC_CMD"
7069 esac
7072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7073 if test -n "$MAGIC_CMD"; then
7074 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7075 echo "${ECHO_T}$MAGIC_CMD" >&6
7076 else
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7085 if test -z "$lt_cv_path_MAGIC_CMD"; then
7086 if test -n "$ac_tool_prefix"; then
7087 echo "$as_me:$LINENO: checking for file" >&5
7088 echo $ECHO_N "checking for file... $ECHO_C" >&6
7089 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7091 else
7092 case $MAGIC_CMD in
7093 [\\/*] | ?:[\\/]*)
7094 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7097 lt_save_MAGIC_CMD="$MAGIC_CMD"
7098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7099 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7100 for ac_dir in $ac_dummy; do
7101 IFS="$lt_save_ifs"
7102 test -z "$ac_dir" && ac_dir=.
7103 if test -f $ac_dir/file; then
7104 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7105 if test -n "$file_magic_test_file"; then
7106 case $deplibs_check_method in
7107 "file_magic "*)
7108 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7110 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7111 $EGREP "$file_magic_regex" > /dev/null; then
7113 else
7114 cat <<_LT_EOF 1>&2
7116 *** Warning: the command libtool uses to detect shared libraries,
7117 *** $file_magic_cmd, produces output that libtool cannot recognize.
7118 *** The result is that libtool may fail to recognize shared libraries
7119 *** as such. This will affect the creation of libtool libraries that
7120 *** depend on shared libraries, but programs linked with such libtool
7121 *** libraries will work regardless of this problem. Nevertheless, you
7122 *** may want to report the problem to your system manager and/or to
7123 *** bug-libtool@gnu.org
7125 _LT_EOF
7126 fi ;;
7127 esac
7129 break
7131 done
7132 IFS="$lt_save_ifs"
7133 MAGIC_CMD="$lt_save_MAGIC_CMD"
7135 esac
7138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7139 if test -n "$MAGIC_CMD"; then
7140 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7141 echo "${ECHO_T}$MAGIC_CMD" >&6
7142 else
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7148 else
7149 MAGIC_CMD=:
7155 esac
7157 # Use C for the default configuration in the libtool script
7159 lt_save_CC="$CC"
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7167 # Source file extension for C test sources.
7168 ac_ext=c
7170 # Object file extension for compiled C test sources.
7171 objext=o
7172 objext=$objext
7174 # Code to be used in simple compile tests
7175 lt_simple_compile_test_code="int some_variable = 0;"
7177 # Code to be used in simple link tests
7178 lt_simple_link_test_code='int main(){return(0);}'
7186 # If no C compiler was specified, use CC.
7187 LTCC=${LTCC-"$CC"}
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7192 # Allow CC to be a program name with arguments.
7193 compiler=$CC
7195 # Save the default compiler, since it gets overwritten when the other
7196 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7197 compiler_DEFAULT=$CC
7199 # save warnings/boilerplate of simple test code
7200 ac_outfile=conftest.$ac_objext
7201 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7202 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7203 _lt_compiler_boilerplate=`cat conftest.err`
7204 $RM conftest*
7206 ac_outfile=conftest.$ac_objext
7207 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7208 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7209 _lt_linker_boilerplate=`cat conftest.err`
7210 $RM -r conftest*
7213 ## CAVEAT EMPTOR:
7214 ## There is no encapsulation within the following macros, do not change
7215 ## the running order or otherwise move them around unless you know exactly
7216 ## what you are doing...
7217 if test -n "$compiler"; then
7219 lt_prog_compiler_no_builtin_flag=
7221 if test "$GCC" = yes; then
7222 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7224 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7225 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7226 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 else
7229 lt_cv_prog_compiler_rtti_exceptions=no
7230 ac_outfile=conftest.$ac_objext
7231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7232 lt_compiler_flag="-fno-rtti -fno-exceptions"
7233 # Insert the option either (1) after the last *FLAGS variable, or
7234 # (2) before a word containing "conftest.", or (3) at the end.
7235 # Note that $ac_compile itself does not contain backslashes and begins
7236 # with a dollar sign (not a hyphen), so the echo should work correctly.
7237 # The option is referenced via a variable to avoid confusing sed.
7238 lt_compile=`echo "$ac_compile" | $SED \
7239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7241 -e 's:$: $lt_compiler_flag:'`
7242 (eval echo "\"\$as_me:7242: $lt_compile\"" >&5)
7243 (eval "$lt_compile" 2>conftest.err)
7244 ac_status=$?
7245 cat conftest.err >&5
7246 echo "$as_me:7246: \$? = $ac_status" >&5
7247 if (exit $ac_status) && test -s "$ac_outfile"; then
7248 # The compiler can only warn and ignore the option if not recognized
7249 # So say no if there are warnings other than the usual output.
7250 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7252 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7253 lt_cv_prog_compiler_rtti_exceptions=yes
7256 $RM conftest*
7259 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7260 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7262 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7263 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7264 else
7275 lt_prog_compiler_wl=
7276 lt_prog_compiler_pic=
7277 lt_prog_compiler_static=
7279 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7280 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7282 if test "$GCC" = yes; then
7283 lt_prog_compiler_wl='-Wl,'
7284 lt_prog_compiler_static='-static'
7286 case $host_os in
7287 aix*)
7288 # All AIX code is PIC.
7289 if test "$host_cpu" = ia64; then
7290 # AIX 5 now supports IA64 processor
7291 lt_prog_compiler_static='-Bstatic'
7295 amigaos*)
7296 case $host_cpu in
7297 powerpc)
7298 # see comment about AmigaOS4 .so support
7299 lt_prog_compiler_pic='-fPIC'
7301 m68k)
7302 # FIXME: we need at least 68020 code to build shared libraries, but
7303 # adding the `-m68020' flag to GCC prevents building anything better,
7304 # like `-m68040'.
7305 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7307 esac
7310 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7311 # PIC is the default for these OSes.
7314 mingw* | cygwin* | pw32* | os2* | cegcc*)
7315 # This hack is so that the source file can tell whether it is being
7316 # built for inclusion in a dll (and should export symbols for example).
7317 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7318 # (--disable-auto-import) libraries
7319 lt_prog_compiler_pic='-DDLL_EXPORT'
7322 darwin* | rhapsody*)
7323 # PIC is the default on this platform
7324 # Common symbols not allowed in MH_DYLIB files
7325 lt_prog_compiler_pic='-fno-common'
7328 hpux*)
7329 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7330 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7331 # sets the default TLS model and affects inlining.
7332 case $host_cpu in
7333 hppa*64*)
7334 # +Z the default
7337 lt_prog_compiler_pic='-fPIC'
7339 esac
7342 interix[3-9]*)
7343 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7344 # Instead, we relocate shared libraries at runtime.
7347 msdosdjgpp*)
7348 # Just because we use GCC doesn't mean we suddenly get shared libraries
7349 # on systems that don't support them.
7350 lt_prog_compiler_can_build_shared=no
7351 enable_shared=no
7354 *nto* | *qnx*)
7355 # QNX uses GNU C++, but need to define -shared option too, otherwise
7356 # it will coredump.
7357 lt_prog_compiler_pic='-fPIC -shared'
7360 sysv4*MP*)
7361 if test -d /usr/nec; then
7362 lt_prog_compiler_pic=-Kconform_pic
7367 lt_prog_compiler_pic='-fPIC'
7369 esac
7370 else
7371 # PORTME Check for flag to pass linker flags through the system compiler.
7372 case $host_os in
7373 aix*)
7374 lt_prog_compiler_wl='-Wl,'
7375 if test "$host_cpu" = ia64; then
7376 # AIX 5 now supports IA64 processor
7377 lt_prog_compiler_static='-Bstatic'
7378 else
7379 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7383 mingw* | cygwin* | pw32* | os2* | cegcc*)
7384 # This hack is so that the source file can tell whether it is being
7385 # built for inclusion in a dll (and should export symbols for example).
7386 lt_prog_compiler_pic='-DDLL_EXPORT'
7389 hpux9* | hpux10* | hpux11*)
7390 lt_prog_compiler_wl='-Wl,'
7391 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7392 # not for PA HP-UX.
7393 case $host_cpu in
7394 hppa*64*|ia64*)
7395 # +Z the default
7398 lt_prog_compiler_pic='+Z'
7400 esac
7401 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7402 lt_prog_compiler_static='${wl}-a ${wl}archive'
7405 irix5* | irix6* | nonstopux*)
7406 lt_prog_compiler_wl='-Wl,'
7407 # PIC (with -KPIC) is the default.
7408 lt_prog_compiler_static='-non_shared'
7411 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7412 case $cc_basename in
7413 # old Intel for x86_64 which still supported -KPIC.
7414 ecc*)
7415 lt_prog_compiler_wl='-Wl,'
7416 lt_prog_compiler_pic='-KPIC'
7417 lt_prog_compiler_static='-static'
7419 # icc used to be incompatible with GCC.
7420 # ICC 10 doesn't accept -KPIC any more.
7421 icc* | ifort*)
7422 lt_prog_compiler_wl='-Wl,'
7423 lt_prog_compiler_pic='-fPIC'
7424 lt_prog_compiler_static='-static'
7426 # Lahey Fortran 8.1.
7427 lf95*)
7428 lt_prog_compiler_wl='-Wl,'
7429 lt_prog_compiler_pic='--shared'
7430 lt_prog_compiler_static='--static'
7432 pgcc* | pgf77* | pgf90* | pgf95*)
7433 # Portland Group compilers (*not* the Pentium gcc compiler,
7434 # which looks to be a dead project)
7435 lt_prog_compiler_wl='-Wl,'
7436 lt_prog_compiler_pic='-fpic'
7437 lt_prog_compiler_static='-Bstatic'
7439 ccc*)
7440 lt_prog_compiler_wl='-Wl,'
7441 # All Alpha code is PIC.
7442 lt_prog_compiler_static='-non_shared'
7444 xl*)
7445 # IBM XL C 8.0/Fortran 10.1 on PPC
7446 lt_prog_compiler_wl='-Wl,'
7447 lt_prog_compiler_pic='-qpic'
7448 lt_prog_compiler_static='-qstaticlink'
7451 case `$CC -V 2>&1 | sed 5q` in
7452 *Sun\ C*)
7453 # Sun C 5.9
7454 lt_prog_compiler_pic='-KPIC'
7455 lt_prog_compiler_static='-Bstatic'
7456 lt_prog_compiler_wl='-Wl,'
7458 *Sun\ F*)
7459 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7460 lt_prog_compiler_pic='-KPIC'
7461 lt_prog_compiler_static='-Bstatic'
7462 lt_prog_compiler_wl=''
7464 esac
7466 esac
7469 newsos6)
7470 lt_prog_compiler_pic='-KPIC'
7471 lt_prog_compiler_static='-Bstatic'
7474 *nto* | *qnx*)
7475 # QNX uses GNU C++, but need to define -shared option too, otherwise
7476 # it will coredump.
7477 lt_prog_compiler_pic='-fPIC -shared'
7480 osf3* | osf4* | osf5*)
7481 lt_prog_compiler_wl='-Wl,'
7482 # All OSF/1 code is PIC.
7483 lt_prog_compiler_static='-non_shared'
7486 rdos*)
7487 lt_prog_compiler_static='-non_shared'
7490 solaris*)
7491 lt_prog_compiler_pic='-KPIC'
7492 lt_prog_compiler_static='-Bstatic'
7493 case $cc_basename in
7494 f77* | f90* | f95*)
7495 lt_prog_compiler_wl='-Qoption ld ';;
7497 lt_prog_compiler_wl='-Wl,';;
7498 esac
7501 sunos4*)
7502 lt_prog_compiler_wl='-Qoption ld '
7503 lt_prog_compiler_pic='-PIC'
7504 lt_prog_compiler_static='-Bstatic'
7507 sysv4 | sysv4.2uw2* | sysv4.3*)
7508 lt_prog_compiler_wl='-Wl,'
7509 lt_prog_compiler_pic='-KPIC'
7510 lt_prog_compiler_static='-Bstatic'
7513 sysv4*MP*)
7514 if test -d /usr/nec ;then
7515 lt_prog_compiler_pic='-Kconform_pic'
7516 lt_prog_compiler_static='-Bstatic'
7520 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7521 lt_prog_compiler_wl='-Wl,'
7522 lt_prog_compiler_pic='-KPIC'
7523 lt_prog_compiler_static='-Bstatic'
7526 unicos*)
7527 lt_prog_compiler_wl='-Wl,'
7528 lt_prog_compiler_can_build_shared=no
7531 uts4*)
7532 lt_prog_compiler_pic='-pic'
7533 lt_prog_compiler_static='-Bstatic'
7537 lt_prog_compiler_can_build_shared=no
7539 esac
7542 case $host_os in
7543 # For platforms which do not support PIC, -DPIC is meaningless:
7544 *djgpp*)
7545 lt_prog_compiler_pic=
7548 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7550 esac
7551 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7552 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7560 # Check to make sure the PIC flag actually works.
7562 if test -n "$lt_prog_compiler_pic"; then
7563 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7564 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7565 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 else
7568 lt_cv_prog_compiler_pic_works=no
7569 ac_outfile=conftest.$ac_objext
7570 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7571 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7572 # Insert the option either (1) after the last *FLAGS variable, or
7573 # (2) before a word containing "conftest.", or (3) at the end.
7574 # Note that $ac_compile itself does not contain backslashes and begins
7575 # with a dollar sign (not a hyphen), so the echo should work correctly.
7576 # The option is referenced via a variable to avoid confusing sed.
7577 lt_compile=`echo "$ac_compile" | $SED \
7578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580 -e 's:$: $lt_compiler_flag:'`
7581 (eval echo "\"\$as_me:7581: $lt_compile\"" >&5)
7582 (eval "$lt_compile" 2>conftest.err)
7583 ac_status=$?
7584 cat conftest.err >&5
7585 echo "$as_me:7585: \$? = $ac_status" >&5
7586 if (exit $ac_status) && test -s "$ac_outfile"; then
7587 # The compiler can only warn and ignore the option if not recognized
7588 # So say no if there are warnings other than the usual output.
7589 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7591 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7592 lt_cv_prog_compiler_pic_works=yes
7595 $RM conftest*
7598 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7599 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7601 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7602 case $lt_prog_compiler_pic in
7603 "" | " "*) ;;
7604 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7605 esac
7606 else
7607 lt_prog_compiler_pic=
7608 lt_prog_compiler_can_build_shared=no
7619 # Check to make sure the static flag actually works.
7621 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7622 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7623 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7624 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 else
7627 lt_cv_prog_compiler_static_works=no
7628 save_LDFLAGS="$LDFLAGS"
7629 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7630 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7631 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7632 # The linker can only warn and ignore the option if not recognized
7633 # So say no if there are warnings
7634 if test -s conftest.err; then
7635 # Append any errors to the config.log.
7636 cat conftest.err 1>&5
7637 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7639 if diff conftest.exp conftest.er2 >/dev/null; then
7640 lt_cv_prog_compiler_static_works=yes
7642 else
7643 lt_cv_prog_compiler_static_works=yes
7646 $RM -r conftest*
7647 LDFLAGS="$save_LDFLAGS"
7650 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7651 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7653 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7655 else
7656 lt_prog_compiler_static=
7665 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7666 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7667 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7669 else
7670 lt_cv_prog_compiler_c_o=no
7671 $RM -r conftest 2>/dev/null
7672 mkdir conftest
7673 cd conftest
7674 mkdir out
7675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7677 lt_compiler_flag="-o out/conftest2.$ac_objext"
7678 # Insert the option either (1) after the last *FLAGS variable, or
7679 # (2) before a word containing "conftest.", or (3) at the end.
7680 # Note that $ac_compile itself does not contain backslashes and begins
7681 # with a dollar sign (not a hyphen), so the echo should work correctly.
7682 lt_compile=`echo "$ac_compile" | $SED \
7683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7685 -e 's:$: $lt_compiler_flag:'`
7686 (eval echo "\"\$as_me:7686: $lt_compile\"" >&5)
7687 (eval "$lt_compile" 2>out/conftest.err)
7688 ac_status=$?
7689 cat out/conftest.err >&5
7690 echo "$as_me:7690: \$? = $ac_status" >&5
7691 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7692 then
7693 # The compiler can only warn and ignore the option if not recognized
7694 # So say no if there are warnings
7695 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7696 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7697 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7698 lt_cv_prog_compiler_c_o=yes
7701 chmod u+w . 2>&5
7702 $RM conftest*
7703 # SGI C++ compiler will create directory out/ii_files/ for
7704 # template instantiation
7705 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7706 $RM out/* && rmdir out
7707 cd ..
7708 $RM -r conftest
7709 $RM conftest*
7712 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7713 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7720 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7721 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7722 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7724 else
7725 lt_cv_prog_compiler_c_o=no
7726 $RM -r conftest 2>/dev/null
7727 mkdir conftest
7728 cd conftest
7729 mkdir out
7730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7732 lt_compiler_flag="-o out/conftest2.$ac_objext"
7733 # Insert the option either (1) after the last *FLAGS variable, or
7734 # (2) before a word containing "conftest.", or (3) at the end.
7735 # Note that $ac_compile itself does not contain backslashes and begins
7736 # with a dollar sign (not a hyphen), so the echo should work correctly.
7737 lt_compile=`echo "$ac_compile" | $SED \
7738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7740 -e 's:$: $lt_compiler_flag:'`
7741 (eval echo "\"\$as_me:7741: $lt_compile\"" >&5)
7742 (eval "$lt_compile" 2>out/conftest.err)
7743 ac_status=$?
7744 cat out/conftest.err >&5
7745 echo "$as_me:7745: \$? = $ac_status" >&5
7746 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7747 then
7748 # The compiler can only warn and ignore the option if not recognized
7749 # So say no if there are warnings
7750 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7753 lt_cv_prog_compiler_c_o=yes
7756 chmod u+w . 2>&5
7757 $RM conftest*
7758 # SGI C++ compiler will create directory out/ii_files/ for
7759 # template instantiation
7760 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7761 $RM out/* && rmdir out
7762 cd ..
7763 $RM -r conftest
7764 $RM conftest*
7767 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7768 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7773 hard_links="nottested"
7774 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7775 # do not overwrite the value of need_locks provided by the user
7776 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7777 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7778 hard_links=yes
7779 $RM conftest*
7780 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7781 touch conftest.a
7782 ln conftest.a conftest.b 2>&5 || hard_links=no
7783 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7784 echo "$as_me:$LINENO: result: $hard_links" >&5
7785 echo "${ECHO_T}$hard_links" >&6
7786 if test "$hard_links" = no; then
7787 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7788 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7789 need_locks=warn
7791 else
7792 need_locks=no
7800 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7801 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7803 runpath_var=
7804 allow_undefined_flag=
7805 always_export_symbols=no
7806 archive_cmds=
7807 archive_expsym_cmds=
7808 compiler_needs_object=no
7809 enable_shared_with_static_runtimes=no
7810 export_dynamic_flag_spec=
7811 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7812 hardcode_automatic=no
7813 hardcode_direct=no
7814 hardcode_direct_absolute=no
7815 hardcode_libdir_flag_spec=
7816 hardcode_libdir_flag_spec_ld=
7817 hardcode_libdir_separator=
7818 hardcode_minus_L=no
7819 hardcode_shlibpath_var=unsupported
7820 inherit_rpath=no
7821 link_all_deplibs=unknown
7822 module_cmds=
7823 module_expsym_cmds=
7824 old_archive_from_new_cmds=
7825 old_archive_from_expsyms_cmds=
7826 thread_safe_flag_spec=
7827 whole_archive_flag_spec=
7828 # include_expsyms should be a list of space-separated symbols to be *always*
7829 # included in the symbol list
7830 include_expsyms=
7831 # exclude_expsyms can be an extended regexp of symbols to exclude
7832 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7833 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7834 # as well as any symbol that contains `d'.
7835 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7836 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7837 # platforms (ab)use it in PIC code, but their linkers get confused if
7838 # the symbol is explicitly referenced. Since portable code cannot
7839 # rely on this symbol name, it's probably fine to never include it in
7840 # preloaded symbol tables.
7841 # Exclude shared library initialization/finalization symbols.
7842 extract_expsyms_cmds=
7844 case $host_os in
7845 cygwin* | mingw* | pw32* | cegcc*)
7846 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7847 # When not using gcc, we currently assume that we are using
7848 # Microsoft Visual C++.
7849 if test "$GCC" != yes; then
7850 with_gnu_ld=no
7853 interix*)
7854 # we just hope/assume this is gcc and not c89 (= MSVC++)
7855 with_gnu_ld=yes
7857 openbsd*)
7858 with_gnu_ld=no
7860 esac
7862 ld_shlibs=yes
7863 if test "$with_gnu_ld" = yes; then
7864 # If archive_cmds runs LD, not CC, wlarc should be empty
7865 wlarc='${wl}'
7867 # Set some defaults for GNU ld with shared library support. These
7868 # are reset later if shared libraries are not supported. Putting them
7869 # here allows them to be overridden if necessary.
7870 runpath_var=LD_RUN_PATH
7871 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7872 export_dynamic_flag_spec='${wl}--export-dynamic'
7873 # ancient GNU ld didn't support --whole-archive et. al.
7874 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7875 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7876 else
7877 whole_archive_flag_spec=
7879 supports_anon_versioning=no
7880 case `$LD -v 2>&1` in
7881 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7882 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7883 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7884 *\ 2.11.*) ;; # other 2.11 versions
7885 *) supports_anon_versioning=yes ;;
7886 esac
7888 # See if GNU ld supports shared libraries.
7889 case $host_os in
7890 aix[3-9]*)
7891 # On AIX/PPC, the GNU linker is very broken
7892 if test "$host_cpu" != ia64; then
7893 ld_shlibs=no
7894 cat <<_LT_EOF 1>&2
7896 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7897 *** to be unable to reliably create shared libraries on AIX.
7898 *** Therefore, libtool is disabling shared libraries support. If you
7899 *** really care for shared libraries, you may want to modify your PATH
7900 *** so that a non-GNU linker is found, and then restart.
7902 _LT_EOF
7906 amigaos*)
7907 case $host_cpu in
7908 powerpc)
7909 # see comment about AmigaOS4 .so support
7910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911 archive_expsym_cmds=''
7913 m68k)
7914 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7915 hardcode_libdir_flag_spec='-L$libdir'
7916 hardcode_minus_L=yes
7918 esac
7921 beos*)
7922 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7923 allow_undefined_flag=unsupported
7924 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7925 # support --undefined. This deserves some investigation. FIXME
7926 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7927 else
7928 ld_shlibs=no
7932 cygwin* | mingw* | pw32* | cegcc*)
7933 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7934 # as there is no search path for DLLs.
7935 hardcode_libdir_flag_spec='-L$libdir'
7936 allow_undefined_flag=unsupported
7937 always_export_symbols=no
7938 enable_shared_with_static_runtimes=yes
7939 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7941 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7942 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7943 # If the export-symbols file already is a .def file (1st line
7944 # is EXPORTS), use it as is; otherwise, prepend...
7945 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7946 cp $export_symbols $output_objdir/$soname.def;
7947 else
7948 echo EXPORTS > $output_objdir/$soname.def;
7949 cat $export_symbols >> $output_objdir/$soname.def;
7951 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7952 else
7953 ld_shlibs=no
7957 interix[3-9]*)
7958 hardcode_direct=no
7959 hardcode_shlibpath_var=no
7960 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7961 export_dynamic_flag_spec='${wl}-E'
7962 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7963 # Instead, shared libraries are loaded at an image base (0x10000000 by
7964 # default) and relocated if they conflict, which is a slow very memory
7965 # consuming and fragmenting process. To avoid this, we pick a random,
7966 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7967 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7968 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7969 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7972 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7973 tmp_diet=no
7974 if test "$host_os" = linux-dietlibc; then
7975 case $cc_basename in
7976 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7977 esac
7979 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7980 && test "$tmp_diet" = no
7981 then
7982 tmp_addflag=
7983 tmp_sharedflag='-shared'
7984 case $cc_basename,$host_cpu in
7985 pgcc*) # Portland Group C compiler
7986 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7987 tmp_addflag=' $pic_flag'
7989 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7990 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7991 tmp_addflag=' $pic_flag -Mnomain' ;;
7992 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7993 tmp_addflag=' -i_dynamic' ;;
7994 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7995 tmp_addflag=' -i_dynamic -nofor_main' ;;
7996 ifc* | ifort*) # Intel Fortran compiler
7997 tmp_addflag=' -nofor_main' ;;
7998 lf95*) # Lahey Fortran 8.1
7999 whole_archive_flag_spec=
8000 tmp_sharedflag='--shared' ;;
8001 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8002 tmp_sharedflag='-qmkshrobj'
8003 tmp_addflag= ;;
8004 esac
8005 case `$CC -V 2>&1 | sed 5q` in
8006 *Sun\ C*) # Sun C 5.9
8007 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8008 compiler_needs_object=yes
8009 tmp_sharedflag='-G' ;;
8010 *Sun\ F*) # Sun Fortran 8.3
8011 tmp_sharedflag='-G' ;;
8012 esac
8013 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8015 if test "x$supports_anon_versioning" = xyes; then
8016 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8018 echo "local: *; };" >> $output_objdir/$libname.ver~
8019 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8022 case $cc_basename in
8023 xlf*)
8024 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8025 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8026 hardcode_libdir_flag_spec=
8027 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8028 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8029 if test "x$supports_anon_versioning" = xyes; then
8030 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8032 echo "local: *; };" >> $output_objdir/$libname.ver~
8033 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8036 esac
8037 else
8038 ld_shlibs=no
8042 netbsd*)
8043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8044 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8045 wlarc=
8046 else
8047 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8048 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8052 solaris*)
8053 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8054 ld_shlibs=no
8055 cat <<_LT_EOF 1>&2
8057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8058 *** create shared libraries on Solaris systems. Therefore, libtool
8059 *** is disabling shared libraries support. We urge you to upgrade GNU
8060 *** binutils to release 2.9.1 or newer. Another option is to modify
8061 *** your PATH or compiler configuration so that the native linker is
8062 *** used, and then restart.
8064 _LT_EOF
8065 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8068 else
8069 ld_shlibs=no
8073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8074 case `$LD -v 2>&1` in
8075 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8076 ld_shlibs=no
8077 cat <<_LT_EOF 1>&2
8079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8080 *** reliably create shared libraries on SCO systems. Therefore, libtool
8081 *** is disabling shared libraries support. We urge you to upgrade GNU
8082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8083 *** your PATH or compiler configuration so that the native linker is
8084 *** used, and then restart.
8086 _LT_EOF
8089 # For security reasons, it is highly recommended that you always
8090 # use absolute paths for naming shared libraries, and exclude the
8091 # DT_RUNPATH tag from executables and libraries. But doing so
8092 # requires that you compile everything twice, which is a pain.
8093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8097 else
8098 ld_shlibs=no
8101 esac
8104 sunos4*)
8105 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8106 wlarc=
8107 hardcode_direct=yes
8108 hardcode_shlibpath_var=no
8112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8114 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8115 else
8116 ld_shlibs=no
8119 esac
8121 if test "$ld_shlibs" = no; then
8122 runpath_var=
8123 hardcode_libdir_flag_spec=
8124 export_dynamic_flag_spec=
8125 whole_archive_flag_spec=
8127 else
8128 # PORTME fill in a description of your system's linker (not GNU ld)
8129 case $host_os in
8130 aix3*)
8131 allow_undefined_flag=unsupported
8132 always_export_symbols=yes
8133 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8134 # Note: this linker hardcodes the directories in LIBPATH if there
8135 # are no directories specified by -L.
8136 hardcode_minus_L=yes
8137 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8138 # Neither direct hardcoding nor static linking is supported with a
8139 # broken collect2.
8140 hardcode_direct=unsupported
8144 aix[4-9]*)
8145 if test "$host_cpu" = ia64; then
8146 # On IA64, the linker does run time linking by default, so we don't
8147 # have to do anything special.
8148 aix_use_runtimelinking=no
8149 exp_sym_flag='-Bexport'
8150 no_entry_flag=""
8151 else
8152 # If we're using GNU nm, then we don't want the "-C" option.
8153 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8154 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8155 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8156 else
8157 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8159 aix_use_runtimelinking=no
8161 # Test if we are trying to use run time linking or normal
8162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8163 # need to do runtime linking.
8164 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8165 for ld_flag in $LDFLAGS; do
8166 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8167 aix_use_runtimelinking=yes
8168 break
8170 done
8172 esac
8174 exp_sym_flag='-bexport'
8175 no_entry_flag='-bnoentry'
8178 # When large executables or shared objects are built, AIX ld can
8179 # have problems creating the table of contents. If linking a library
8180 # or program results in "error TOC overflow" add -mminimal-toc to
8181 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8182 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8184 archive_cmds=''
8185 hardcode_direct=yes
8186 hardcode_direct_absolute=yes
8187 hardcode_libdir_separator=':'
8188 link_all_deplibs=yes
8189 file_list_spec='${wl}-f,'
8191 if test "$GCC" = yes; then
8192 case $host_os in aix4.[012]|aix4.[012].*)
8193 # We only want to do this on AIX 4.2 and lower, the check
8194 # below for broken collect2 doesn't work under 4.3+
8195 collect2name=`${CC} -print-prog-name=collect2`
8196 if test -f "$collect2name" &&
8197 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8198 then
8199 # We have reworked collect2
8201 else
8202 # We have old collect2
8203 hardcode_direct=unsupported
8204 # It fails to find uninstalled libraries when the uninstalled
8205 # path is not listed in the libpath. Setting hardcode_minus_L
8206 # to unsupported forces relinking
8207 hardcode_minus_L=yes
8208 hardcode_libdir_flag_spec='-L$libdir'
8209 hardcode_libdir_separator=
8212 esac
8213 shared_flag='-shared'
8214 if test "$aix_use_runtimelinking" = yes; then
8215 shared_flag="$shared_flag "'${wl}-G'
8217 else
8218 # not using gcc
8219 if test "$host_cpu" = ia64; then
8220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8221 # chokes on -Wl,-G. The following line is correct:
8222 shared_flag='-G'
8223 else
8224 if test "$aix_use_runtimelinking" = yes; then
8225 shared_flag='${wl}-G'
8226 else
8227 shared_flag='${wl}-bM:SRE'
8232 export_dynamic_flag_spec='${wl}-bexpall'
8233 # It seems that -bexpall does not export symbols beginning with
8234 # underscore (_), so it is better to generate a list of symbols to export.
8235 always_export_symbols=yes
8236 if test "$aix_use_runtimelinking" = yes; then
8237 # Warning - without using the other runtime loading flags (-brtl),
8238 # -berok will link without error, but may produce a broken library.
8239 allow_undefined_flag='-berok'
8240 # Determine the default libpath from the value encoded in an
8241 # empty executable.
8242 if test x$gcc_no_link = xyes; then
8243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8245 { (exit 1); exit 1; }; }
8247 cat >conftest.$ac_ext <<_ACEOF
8248 /* confdefs.h. */
8249 _ACEOF
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8255 main ()
8259 return 0;
8261 _ACEOF
8262 rm -f conftest.$ac_objext conftest$ac_exeext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>conftest.er1
8265 ac_status=$?
8266 grep -v '^ *+' conftest.er1 >conftest.err
8267 rm -f conftest.er1
8268 cat conftest.err >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try='test -z "$ac_c_werror_flag"
8272 || test ! -s conftest.err'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 (eval $ac_try) 2>&5
8275 ac_status=$?
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; } &&
8278 { ac_try='test -s conftest$ac_exeext'
8279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280 (eval $ac_try) 2>&5
8281 ac_status=$?
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); }; }; then
8285 lt_aix_libpath_sed='
8286 /Import File Strings/,/^$/ {
8287 /^0/ {
8288 s/^0 *\(.*\)$/\1/
8292 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8293 # Check for a 64-bit object if we didn't find anything.
8294 if test -z "$aix_libpath"; then
8295 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8297 else
8298 echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8302 rm -f conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8306 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8307 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8308 else
8309 if test "$host_cpu" = ia64; then
8310 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8311 allow_undefined_flag="-z nodefs"
8312 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8313 else
8314 # Determine the default libpath from the value encoded in an
8315 # empty executable.
8316 if test x$gcc_no_link = xyes; then
8317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8319 { (exit 1); exit 1; }; }
8321 cat >conftest.$ac_ext <<_ACEOF
8322 /* confdefs.h. */
8323 _ACEOF
8324 cat confdefs.h >>conftest.$ac_ext
8325 cat >>conftest.$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8329 main ()
8333 return 0;
8335 _ACEOF
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8338 (eval $ac_link) 2>conftest.er1
8339 ac_status=$?
8340 grep -v '^ *+' conftest.er1 >conftest.err
8341 rm -f conftest.er1
8342 cat conftest.err >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } &&
8345 { ac_try='test -z "$ac_c_werror_flag"
8346 || test ! -s conftest.err'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 (eval $ac_try) 2>&5
8349 ac_status=$?
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; } &&
8352 { ac_try='test -s conftest$ac_exeext'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 (eval $ac_try) 2>&5
8355 ac_status=$?
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; }; then
8359 lt_aix_libpath_sed='
8360 /Import File Strings/,/^$/ {
8361 /^0/ {
8362 s/^0 *\(.*\)$/\1/
8366 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8367 # Check for a 64-bit object if we didn't find anything.
8368 if test -z "$aix_libpath"; then
8369 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8371 else
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.$ac_ext >&5
8376 rm -f conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8380 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8381 # Warning - without using the other run time loading flags,
8382 # -berok will link without error, but may produce a broken library.
8383 no_undefined_flag=' ${wl}-bernotok'
8384 allow_undefined_flag=' ${wl}-berok'
8385 # Exported symbols can be pulled into shared objects from archives
8386 whole_archive_flag_spec='$convenience'
8387 archive_cmds_need_lc=yes
8388 # This is similar to how AIX traditionally builds its shared libraries.
8389 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8394 amigaos*)
8395 case $host_cpu in
8396 powerpc)
8397 # see comment about AmigaOS4 .so support
8398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8399 archive_expsym_cmds=''
8401 m68k)
8402 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8403 hardcode_libdir_flag_spec='-L$libdir'
8404 hardcode_minus_L=yes
8406 esac
8409 bsdi[45]*)
8410 export_dynamic_flag_spec=-rdynamic
8413 cygwin* | mingw* | pw32* | cegcc*)
8414 # When not using gcc, we currently assume that we are using
8415 # Microsoft Visual C++.
8416 # hardcode_libdir_flag_spec is actually meaningless, as there is
8417 # no search path for DLLs.
8418 hardcode_libdir_flag_spec=' '
8419 allow_undefined_flag=unsupported
8420 # Tell ltmain to make .lib files, not .a files.
8421 libext=lib
8422 # Tell ltmain to make .dll files, not .so files.
8423 shrext_cmds=".dll"
8424 # FIXME: Setting linknames here is a bad hack.
8425 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8426 # The linker will automatically build a .lib file if we build a DLL.
8427 old_archive_from_new_cmds='true'
8428 # FIXME: Should let the user specify the lib program.
8429 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8430 fix_srcfile_path='`cygpath -w "$srcfile"`'
8431 enable_shared_with_static_runtimes=yes
8434 darwin* | rhapsody*)
8437 archive_cmds_need_lc=no
8438 hardcode_direct=no
8439 hardcode_automatic=yes
8440 hardcode_shlibpath_var=unsupported
8441 whole_archive_flag_spec=''
8442 link_all_deplibs=yes
8443 allow_undefined_flag="$_lt_dar_allow_undefined"
8444 case $cc_basename in
8445 ifort*) _lt_dar_can_shared=yes ;;
8446 *) _lt_dar_can_shared=$GCC ;;
8447 esac
8448 if test "$_lt_dar_can_shared" = "yes"; then
8449 output_verbose_link_cmd=echo
8450 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8451 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8452 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8453 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8455 else
8456 ld_shlibs=no
8461 dgux*)
8462 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8463 hardcode_libdir_flag_spec='-L$libdir'
8464 hardcode_shlibpath_var=no
8467 freebsd1*)
8468 ld_shlibs=no
8471 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8472 # support. Future versions do this automatically, but an explicit c++rt0.o
8473 # does not break anything, and helps significantly (at the cost of a little
8474 # extra space).
8475 freebsd2.2*)
8476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8477 hardcode_libdir_flag_spec='-R$libdir'
8478 hardcode_direct=yes
8479 hardcode_shlibpath_var=no
8482 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8483 freebsd2*)
8484 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8485 hardcode_direct=yes
8486 hardcode_minus_L=yes
8487 hardcode_shlibpath_var=no
8490 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8491 freebsd* | dragonfly*)
8492 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8493 hardcode_libdir_flag_spec='-R$libdir'
8494 hardcode_direct=yes
8495 hardcode_shlibpath_var=no
8498 hpux9*)
8499 if test "$GCC" = yes; then
8500 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8501 else
8502 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8504 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8505 hardcode_libdir_separator=:
8506 hardcode_direct=yes
8508 # hardcode_minus_L: Not really in the search PATH,
8509 # but as the default location of the library.
8510 hardcode_minus_L=yes
8511 export_dynamic_flag_spec='${wl}-E'
8514 hpux10*)
8515 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8516 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8517 else
8518 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8520 if test "$with_gnu_ld" = no; then
8521 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8522 hardcode_libdir_flag_spec_ld='+b $libdir'
8523 hardcode_libdir_separator=:
8524 hardcode_direct=yes
8525 hardcode_direct_absolute=yes
8526 export_dynamic_flag_spec='${wl}-E'
8527 # hardcode_minus_L: Not really in the search PATH,
8528 # but as the default location of the library.
8529 hardcode_minus_L=yes
8533 hpux11*)
8534 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8535 case $host_cpu in
8536 hppa*64*)
8537 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8539 ia64*)
8540 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8543 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8545 esac
8546 else
8547 case $host_cpu in
8548 hppa*64*)
8549 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8551 ia64*)
8552 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8555 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8557 esac
8559 if test "$with_gnu_ld" = no; then
8560 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8561 hardcode_libdir_separator=:
8563 case $host_cpu in
8564 hppa*64*|ia64*)
8565 hardcode_direct=no
8566 hardcode_shlibpath_var=no
8569 hardcode_direct=yes
8570 hardcode_direct_absolute=yes
8571 export_dynamic_flag_spec='${wl}-E'
8573 # hardcode_minus_L: Not really in the search PATH,
8574 # but as the default location of the library.
8575 hardcode_minus_L=yes
8577 esac
8581 irix5* | irix6* | nonstopux*)
8582 if test "$GCC" = yes; then
8583 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8584 # Try to use the -exported_symbol ld option, if it does not
8585 # work, assume that -exports_file does not work either and
8586 # implicitly export all symbols.
8587 save_LDFLAGS="$LDFLAGS"
8588 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8589 if test x$gcc_no_link = xyes; then
8590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8592 { (exit 1); exit 1; }; }
8594 cat >conftest.$ac_ext <<_ACEOF
8595 int foo(void) {}
8596 _ACEOF
8597 rm -f conftest.$ac_objext conftest$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8600 ac_status=$?
8601 grep -v '^ *+' conftest.er1 >conftest.err
8602 rm -f conftest.er1
8603 cat conftest.err >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try='test -z "$ac_c_werror_flag"
8607 || test ! -s conftest.err'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 (eval $ac_try) 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try='test -s conftest$ac_exeext'
8614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 (eval $ac_try) 2>&5
8616 ac_status=$?
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; }; then
8619 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8621 else
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8626 rm -f conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 LDFLAGS="$save_LDFLAGS"
8629 else
8630 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8631 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8633 archive_cmds_need_lc='no'
8634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8635 hardcode_libdir_separator=:
8636 inherit_rpath=yes
8637 link_all_deplibs=yes
8640 netbsd*)
8641 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8642 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8643 else
8644 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8646 hardcode_libdir_flag_spec='-R$libdir'
8647 hardcode_direct=yes
8648 hardcode_shlibpath_var=no
8651 newsos6)
8652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8653 hardcode_direct=yes
8654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8655 hardcode_libdir_separator=:
8656 hardcode_shlibpath_var=no
8659 *nto* | *qnx*)
8662 openbsd*)
8663 if test -f /usr/libexec/ld.so; then
8664 hardcode_direct=yes
8665 hardcode_shlibpath_var=no
8666 hardcode_direct_absolute=yes
8667 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8668 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8670 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8671 export_dynamic_flag_spec='${wl}-E'
8672 else
8673 case $host_os in
8674 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8676 hardcode_libdir_flag_spec='-R$libdir'
8679 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8680 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8682 esac
8684 else
8685 ld_shlibs=no
8689 os2*)
8690 hardcode_libdir_flag_spec='-L$libdir'
8691 hardcode_minus_L=yes
8692 allow_undefined_flag=unsupported
8693 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8694 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8697 osf3*)
8698 if test "$GCC" = yes; then
8699 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8700 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8701 else
8702 allow_undefined_flag=' -expect_unresolved \*'
8703 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8705 archive_cmds_need_lc='no'
8706 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8707 hardcode_libdir_separator=:
8710 osf4* | osf5*) # as osf3* with the addition of -msym flag
8711 if test "$GCC" = yes; then
8712 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8713 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8714 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8715 else
8716 allow_undefined_flag=' -expect_unresolved \*'
8717 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8718 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8719 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8721 # Both c and cxx compiler support -rpath directly
8722 hardcode_libdir_flag_spec='-rpath $libdir'
8724 archive_cmds_need_lc='no'
8725 hardcode_libdir_separator=:
8728 solaris*)
8729 no_undefined_flag=' -z defs'
8730 if test "$GCC" = yes; then
8731 wlarc='${wl}'
8732 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8733 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8734 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8735 else
8736 case `$CC -V 2>&1` in
8737 *"Compilers 5.0"*)
8738 wlarc=''
8739 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8741 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8744 wlarc='${wl}'
8745 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8747 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8749 esac
8751 hardcode_libdir_flag_spec='-R$libdir'
8752 hardcode_shlibpath_var=no
8753 case $host_os in
8754 solaris2.[0-5] | solaris2.[0-5].*) ;;
8756 # The compiler driver will combine and reorder linker options,
8757 # but understands `-z linker_flag'. GCC discards it without `$wl',
8758 # but is careful enough not to reorder.
8759 # Supported since Solaris 2.6 (maybe 2.5.1?)
8760 if test "$GCC" = yes; then
8761 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8762 else
8763 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8766 esac
8767 link_all_deplibs=yes
8770 sunos4*)
8771 if test "x$host_vendor" = xsequent; then
8772 # Use $CC to link under sequent, because it throws in some extra .o
8773 # files that make .init and .fini sections work.
8774 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8775 else
8776 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8778 hardcode_libdir_flag_spec='-L$libdir'
8779 hardcode_direct=yes
8780 hardcode_minus_L=yes
8781 hardcode_shlibpath_var=no
8784 sysv4)
8785 case $host_vendor in
8786 sni)
8787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_direct=yes # is this really true???
8790 siemens)
8791 ## LD is ld it makes a PLAMLIB
8792 ## CC just makes a GrossModule.
8793 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8794 reload_cmds='$CC -r -o $output$reload_objs'
8795 hardcode_direct=no
8797 motorola)
8798 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8799 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8801 esac
8802 runpath_var='LD_RUN_PATH'
8803 hardcode_shlibpath_var=no
8806 sysv4.3*)
8807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808 hardcode_shlibpath_var=no
8809 export_dynamic_flag_spec='-Bexport'
8812 sysv4*MP*)
8813 if test -d /usr/nec; then
8814 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8815 hardcode_shlibpath_var=no
8816 runpath_var=LD_RUN_PATH
8817 hardcode_runpath_var=yes
8818 ld_shlibs=yes
8822 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8823 no_undefined_flag='${wl}-z,text'
8824 archive_cmds_need_lc=no
8825 hardcode_shlibpath_var=no
8826 runpath_var='LD_RUN_PATH'
8828 if test "$GCC" = yes; then
8829 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8830 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8831 else
8832 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8833 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 sysv5* | sco3.2v5* | sco5v6*)
8838 # Note: We can NOT use -z defs as we might desire, because we do not
8839 # link with -lc, and that would cause any symbols used from libc to
8840 # always be unresolved, which means just about no library would
8841 # ever link correctly. If we're not using GNU ld we use -z text
8842 # though, which does catch some bad symbols but isn't as heavy-handed
8843 # as -z defs.
8844 no_undefined_flag='${wl}-z,text'
8845 allow_undefined_flag='${wl}-z,nodefs'
8846 archive_cmds_need_lc=no
8847 hardcode_shlibpath_var=no
8848 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8849 hardcode_libdir_separator=':'
8850 link_all_deplibs=yes
8851 export_dynamic_flag_spec='${wl}-Bexport'
8852 runpath_var='LD_RUN_PATH'
8854 if test "$GCC" = yes; then
8855 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8856 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8857 else
8858 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8859 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8863 uts4*)
8864 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_libdir_flag_spec='-L$libdir'
8866 hardcode_shlibpath_var=no
8870 ld_shlibs=no
8872 esac
8874 if test x$host_vendor = xsni; then
8875 case $host in
8876 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8877 export_dynamic_flag_spec='${wl}-Blargedynsym'
8879 esac
8883 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8884 echo "${ECHO_T}$ld_shlibs" >&6
8885 test "$ld_shlibs" = no && can_build_shared=no
8887 with_gnu_ld=$with_gnu_ld
8904 # Do we need to explicitly link libc?
8906 case "x$archive_cmds_need_lc" in
8907 x|xyes)
8908 # Assume -lc should be added
8909 archive_cmds_need_lc=yes
8911 if test "$enable_shared" = yes && test "$GCC" = yes; then
8912 case $archive_cmds in
8913 *'~'*)
8914 # FIXME: we may have to deal with multi-command sequences.
8916 '$CC '*)
8917 # Test whether the compiler implicitly links with -lc since on some
8918 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8919 # to ld, don't add -lc before -lgcc.
8920 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8921 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8922 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8925 $RM conftest*
8926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8929 (eval $ac_compile) 2>&5
8930 ac_status=$?
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } 2>conftest.err; then
8933 soname=conftest
8934 lib=conftest
8935 libobjs=conftest.$ac_objext
8936 deplibs=
8937 wl=$lt_prog_compiler_wl
8938 pic_flag=$lt_prog_compiler_pic
8939 compiler_flags=-v
8940 linker_flags=-v
8941 verstring=
8942 output_objdir=.
8943 libname=conftest
8944 lt_save_allow_undefined_flag=$allow_undefined_flag
8945 allow_undefined_flag=
8946 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8947 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8948 ac_status=$?
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }
8951 then
8952 lt_cv_archive_cmds_need_lc=no
8953 else
8954 lt_cv_archive_cmds_need_lc=yes
8956 allow_undefined_flag=$lt_save_allow_undefined_flag
8957 else
8958 cat conftest.err 1>&5
8960 $RM conftest*
8963 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8964 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8965 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8967 esac
8970 esac
9128 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9129 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9131 if test "$GCC" = yes; then
9132 case $host_os in
9133 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9134 *) lt_awk_arg="/^libraries:/" ;;
9135 esac
9136 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9137 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9138 # if the path contains ";" then we assume it to be the separator
9139 # otherwise default to the standard path separator (i.e. ":") - it is
9140 # assumed that no part of a normal pathname contains ";" but that should
9141 # okay in the real world where ";" in dirpaths is itself problematic.
9142 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9143 else
9144 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9146 # Ok, now we have the path, separated by spaces, we can step through it
9147 # and add multilib dir if necessary.
9148 lt_tmp_lt_search_path_spec=
9149 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9150 for lt_sys_path in $lt_search_path_spec; do
9151 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9152 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9153 else
9154 test -d "$lt_sys_path" && \
9155 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9157 done
9158 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9159 BEGIN {RS=" "; FS="/|\n";} {
9160 lt_foo="";
9161 lt_count=0;
9162 for (lt_i = NF; lt_i > 0; lt_i--) {
9163 if ($lt_i != "" && $lt_i != ".") {
9164 if ($lt_i == "..") {
9165 lt_count++;
9166 } else {
9167 if (lt_count == 0) {
9168 lt_foo="/" $lt_i lt_foo;
9169 } else {
9170 lt_count--;
9175 if (lt_foo != "") { lt_freq[lt_foo]++; }
9176 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9178 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9179 else
9180 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9182 library_names_spec=
9183 libname_spec='lib$name'
9184 soname_spec=
9185 shrext_cmds=".so"
9186 postinstall_cmds=
9187 postuninstall_cmds=
9188 finish_cmds=
9189 finish_eval=
9190 shlibpath_var=
9191 shlibpath_overrides_runpath=unknown
9192 version_type=none
9193 dynamic_linker="$host_os ld.so"
9194 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9195 need_lib_prefix=unknown
9196 hardcode_into_libs=no
9198 # when you set need_version to no, make sure it does not cause -set_version
9199 # flags to be left without arguments
9200 need_version=unknown
9202 case $host_os in
9203 aix3*)
9204 version_type=linux
9205 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9206 shlibpath_var=LIBPATH
9208 # AIX 3 has no versioning support, so we append a major version to the name.
9209 soname_spec='${libname}${release}${shared_ext}$major'
9212 aix[4-9]*)
9213 version_type=linux
9214 need_lib_prefix=no
9215 need_version=no
9216 hardcode_into_libs=yes
9217 if test "$host_cpu" = ia64; then
9218 # AIX 5 supports IA64
9219 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9220 shlibpath_var=LD_LIBRARY_PATH
9221 else
9222 # With GCC up to 2.95.x, collect2 would create an import file
9223 # for dependence libraries. The import file would start with
9224 # the line `#! .'. This would cause the generated library to
9225 # depend on `.', always an invalid library. This was fixed in
9226 # development snapshots of GCC prior to 3.0.
9227 case $host_os in
9228 aix4 | aix4.[01] | aix4.[01].*)
9229 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9230 echo ' yes '
9231 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9233 else
9234 can_build_shared=no
9237 esac
9238 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9239 # soname into executable. Probably we can add versioning support to
9240 # collect2, so additional links can be useful in future.
9241 if test "$aix_use_runtimelinking" = yes; then
9242 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9243 # instead of lib<name>.a to let people know that these are not
9244 # typical AIX shared libraries.
9245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9246 else
9247 # We preserve .a as extension for shared libraries through AIX4.2
9248 # and later when we are not doing run time linking.
9249 library_names_spec='${libname}${release}.a $libname.a'
9250 soname_spec='${libname}${release}${shared_ext}$major'
9252 shlibpath_var=LIBPATH
9256 amigaos*)
9257 case $host_cpu in
9258 powerpc)
9259 # Since July 2007 AmigaOS4 officially supports .so libraries.
9260 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9263 m68k)
9264 library_names_spec='$libname.ixlibrary $libname.a'
9265 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9266 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9268 esac
9271 beos*)
9272 library_names_spec='${libname}${shared_ext}'
9273 dynamic_linker="$host_os ld.so"
9274 shlibpath_var=LIBRARY_PATH
9277 bsdi[45]*)
9278 version_type=linux
9279 need_version=no
9280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 soname_spec='${libname}${release}${shared_ext}$major'
9282 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9283 shlibpath_var=LD_LIBRARY_PATH
9284 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9285 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9286 # the default ld.so.conf also contains /usr/contrib/lib and
9287 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9288 # libtool to hard-code these into programs
9291 cygwin* | mingw* | pw32* | cegcc*)
9292 version_type=windows
9293 shrext_cmds=".dll"
9294 need_version=no
9295 need_lib_prefix=no
9297 case $GCC,$host_os in
9298 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9299 library_names_spec='$libname.dll.a'
9300 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9301 postinstall_cmds='base_file=`basename \${file}`~
9302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9303 dldir=$destdir/`dirname \$dlpath`~
9304 test -d \$dldir || mkdir -p \$dldir~
9305 $install_prog $dir/$dlname \$dldir/$dlname~
9306 chmod a+x \$dldir/$dlname~
9307 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9308 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9310 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9311 dlpath=$dir/\$dldll~
9312 $RM \$dlpath'
9313 shlibpath_overrides_runpath=yes
9315 case $host_os in
9316 cygwin*)
9317 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9318 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9319 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9321 mingw* | cegcc*)
9322 # MinGW DLLs use traditional 'lib' prefix
9323 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9324 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9325 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9326 # It is most probably a Windows format PATH printed by
9327 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9328 # path with ; separators, and with drive letters. We can handle the
9329 # drive letters (cygwin fileutils understands them), so leave them,
9330 # especially as we might pass files found there to a mingw objdump,
9331 # which wouldn't understand a cygwinified path. Ahh.
9332 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9333 else
9334 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9337 pw32*)
9338 # pw32 DLLs use 'pw' prefix rather than 'lib'
9339 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9341 esac
9345 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9347 esac
9348 dynamic_linker='Win32 ld.exe'
9349 # FIXME: first we should search . and the directory the executable is in
9350 shlibpath_var=PATH
9353 darwin* | rhapsody*)
9354 dynamic_linker="$host_os dyld"
9355 version_type=darwin
9356 need_lib_prefix=no
9357 need_version=no
9358 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9359 soname_spec='${libname}${release}${major}$shared_ext'
9360 shlibpath_overrides_runpath=yes
9361 shlibpath_var=DYLD_LIBRARY_PATH
9362 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9364 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9365 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9368 dgux*)
9369 version_type=linux
9370 need_lib_prefix=no
9371 need_version=no
9372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9373 soname_spec='${libname}${release}${shared_ext}$major'
9374 shlibpath_var=LD_LIBRARY_PATH
9377 freebsd1*)
9378 dynamic_linker=no
9381 freebsd* | dragonfly*)
9382 # DragonFly does not have aout. When/if they implement a new
9383 # versioning mechanism, adjust this.
9384 if test -x /usr/bin/objformat; then
9385 objformat=`/usr/bin/objformat`
9386 else
9387 case $host_os in
9388 freebsd[123]*) objformat=aout ;;
9389 *) objformat=elf ;;
9390 esac
9392 version_type=freebsd-$objformat
9393 case $version_type in
9394 freebsd-elf*)
9395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9396 need_version=no
9397 need_lib_prefix=no
9399 freebsd-*)
9400 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9401 need_version=yes
9403 esac
9404 shlibpath_var=LD_LIBRARY_PATH
9405 case $host_os in
9406 freebsd2*)
9407 shlibpath_overrides_runpath=yes
9409 freebsd3.[01]* | freebsdelf3.[01]*)
9410 shlibpath_overrides_runpath=yes
9411 hardcode_into_libs=yes
9413 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9414 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9415 shlibpath_overrides_runpath=no
9416 hardcode_into_libs=yes
9418 *) # from 4.6 on, and DragonFly
9419 shlibpath_overrides_runpath=yes
9420 hardcode_into_libs=yes
9422 esac
9425 gnu*)
9426 version_type=linux
9427 need_lib_prefix=no
9428 need_version=no
9429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9430 soname_spec='${libname}${release}${shared_ext}$major'
9431 shlibpath_var=LD_LIBRARY_PATH
9432 hardcode_into_libs=yes
9435 hpux9* | hpux10* | hpux11*)
9436 # Give a soname corresponding to the major version so that dld.sl refuses to
9437 # link against other versions.
9438 version_type=sunos
9439 need_lib_prefix=no
9440 need_version=no
9441 case $host_cpu in
9442 ia64*)
9443 shrext_cmds='.so'
9444 hardcode_into_libs=yes
9445 dynamic_linker="$host_os dld.so"
9446 shlibpath_var=LD_LIBRARY_PATH
9447 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9449 soname_spec='${libname}${release}${shared_ext}$major'
9450 if test "X$HPUX_IA64_MODE" = X32; then
9451 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9452 else
9453 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9455 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9457 hppa*64*)
9458 shrext_cmds='.sl'
9459 hardcode_into_libs=yes
9460 dynamic_linker="$host_os dld.sl"
9461 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9462 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 soname_spec='${libname}${release}${shared_ext}$major'
9465 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9466 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9469 shrext_cmds='.sl'
9470 dynamic_linker="$host_os dld.sl"
9471 shlibpath_var=SHLIB_PATH
9472 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9474 soname_spec='${libname}${release}${shared_ext}$major'
9476 esac
9477 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9478 postinstall_cmds='chmod 555 $lib'
9481 interix[3-9]*)
9482 version_type=linux
9483 need_lib_prefix=no
9484 need_version=no
9485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9486 soname_spec='${libname}${release}${shared_ext}$major'
9487 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9488 shlibpath_var=LD_LIBRARY_PATH
9489 shlibpath_overrides_runpath=no
9490 hardcode_into_libs=yes
9493 irix5* | irix6* | nonstopux*)
9494 case $host_os in
9495 nonstopux*) version_type=nonstopux ;;
9497 if test "$lt_cv_prog_gnu_ld" = yes; then
9498 version_type=linux
9499 else
9500 version_type=irix
9501 fi ;;
9502 esac
9503 need_lib_prefix=no
9504 need_version=no
9505 soname_spec='${libname}${release}${shared_ext}$major'
9506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9507 case $host_os in
9508 irix5* | nonstopux*)
9509 libsuff= shlibsuff=
9512 case $LD in # libtool.m4 will add one of these switches to LD
9513 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9514 libsuff= shlibsuff= libmagic=32-bit;;
9515 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9516 libsuff=32 shlibsuff=N32 libmagic=N32;;
9517 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9518 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9519 *) libsuff= shlibsuff= libmagic=never-match;;
9520 esac
9522 esac
9523 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9524 shlibpath_overrides_runpath=no
9525 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9526 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9527 hardcode_into_libs=yes
9530 # No shared lib support for Linux oldld, aout, or coff.
9531 linux*oldld* | linux*aout* | linux*coff*)
9532 dynamic_linker=no
9535 # This must be Linux ELF.
9536 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9537 version_type=linux
9538 need_lib_prefix=no
9539 need_version=no
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 soname_spec='${libname}${release}${shared_ext}$major'
9542 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9543 shlibpath_var=LD_LIBRARY_PATH
9544 shlibpath_overrides_runpath=no
9546 # Some binutils ld are patched to set DT_RUNPATH
9547 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9549 else
9550 lt_cv_shlibpath_overrides_runpath=no
9551 save_LDFLAGS=$LDFLAGS
9552 save_libdir=$libdir
9553 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9554 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9555 if test x$gcc_no_link = xyes; then
9556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9558 { (exit 1); exit 1; }; }
9560 cat >conftest.$ac_ext <<_ACEOF
9561 /* confdefs.h. */
9562 _ACEOF
9563 cat confdefs.h >>conftest.$ac_ext
9564 cat >>conftest.$ac_ext <<_ACEOF
9565 /* end confdefs.h. */
9568 main ()
9572 return 0;
9574 _ACEOF
9575 rm -f conftest.$ac_objext conftest$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577 (eval $ac_link) 2>conftest.er1
9578 ac_status=$?
9579 grep -v '^ *+' conftest.er1 >conftest.err
9580 rm -f conftest.er1
9581 cat conftest.err >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try='test -z "$ac_c_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 (eval $ac_try) 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 (eval $ac_try) 2>&5
9594 ac_status=$?
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9598 lt_cv_shlibpath_overrides_runpath=yes
9601 else
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9606 rm -f conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LDFLAGS=$save_LDFLAGS
9609 libdir=$save_libdir
9613 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9615 # This implies no fast_install, which is unacceptable.
9616 # Some rework will be needed to allow for fast_install
9617 # before this can be enabled.
9618 hardcode_into_libs=yes
9620 # Append ld.so.conf contents to the search path
9621 if test -f /etc/ld.so.conf; then
9622 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9623 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9626 # We used to test for /lib/ld.so.1 and disable shared libraries on
9627 # powerpc, because MkLinux only supported shared libraries with the
9628 # GNU dynamic linker. Since this was broken with cross compilers,
9629 # most powerpc-linux boxes support dynamic linking these days and
9630 # people can always --disable-shared, the test was removed, and we
9631 # assume the GNU/Linux dynamic linker is in use.
9632 dynamic_linker='GNU/Linux ld.so'
9635 netbsd*)
9636 version_type=sunos
9637 need_lib_prefix=no
9638 need_version=no
9639 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9642 dynamic_linker='NetBSD (a.out) ld.so'
9643 else
9644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9645 soname_spec='${libname}${release}${shared_ext}$major'
9646 dynamic_linker='NetBSD ld.elf_so'
9648 shlibpath_var=LD_LIBRARY_PATH
9649 shlibpath_overrides_runpath=yes
9650 hardcode_into_libs=yes
9653 newsos6)
9654 version_type=linux
9655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9656 shlibpath_var=LD_LIBRARY_PATH
9657 shlibpath_overrides_runpath=yes
9660 *nto* | *qnx*)
9661 version_type=qnx
9662 need_lib_prefix=no
9663 need_version=no
9664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9665 soname_spec='${libname}${release}${shared_ext}$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9667 shlibpath_overrides_runpath=no
9668 hardcode_into_libs=yes
9669 dynamic_linker='ldqnx.so'
9672 openbsd*)
9673 version_type=sunos
9674 sys_lib_dlsearch_path_spec="/usr/lib"
9675 need_lib_prefix=no
9676 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9677 case $host_os in
9678 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9679 *) need_version=no ;;
9680 esac
9681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9682 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9683 shlibpath_var=LD_LIBRARY_PATH
9684 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9685 case $host_os in
9686 openbsd2.[89] | openbsd2.[89].*)
9687 shlibpath_overrides_runpath=no
9690 shlibpath_overrides_runpath=yes
9692 esac
9693 else
9694 shlibpath_overrides_runpath=yes
9698 os2*)
9699 libname_spec='$name'
9700 shrext_cmds=".dll"
9701 need_lib_prefix=no
9702 library_names_spec='$libname${shared_ext} $libname.a'
9703 dynamic_linker='OS/2 ld.exe'
9704 shlibpath_var=LIBPATH
9707 osf3* | osf4* | osf5*)
9708 version_type=osf
9709 need_lib_prefix=no
9710 need_version=no
9711 soname_spec='${libname}${release}${shared_ext}$major'
9712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9713 shlibpath_var=LD_LIBRARY_PATH
9714 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9715 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9718 rdos*)
9719 dynamic_linker=no
9722 solaris*)
9723 version_type=linux
9724 need_lib_prefix=no
9725 need_version=no
9726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727 soname_spec='${libname}${release}${shared_ext}$major'
9728 shlibpath_var=LD_LIBRARY_PATH
9729 shlibpath_overrides_runpath=yes
9730 hardcode_into_libs=yes
9731 # ldd complains unless libraries are executable
9732 postinstall_cmds='chmod +x $lib'
9735 sunos4*)
9736 version_type=sunos
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9738 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9739 shlibpath_var=LD_LIBRARY_PATH
9740 shlibpath_overrides_runpath=yes
9741 if test "$with_gnu_ld" = yes; then
9742 need_lib_prefix=no
9744 need_version=yes
9747 sysv4 | sysv4.3*)
9748 version_type=linux
9749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9750 soname_spec='${libname}${release}${shared_ext}$major'
9751 shlibpath_var=LD_LIBRARY_PATH
9752 case $host_vendor in
9753 sni)
9754 shlibpath_overrides_runpath=no
9755 need_lib_prefix=no
9756 runpath_var=LD_RUN_PATH
9758 siemens)
9759 need_lib_prefix=no
9761 motorola)
9762 need_lib_prefix=no
9763 need_version=no
9764 shlibpath_overrides_runpath=no
9765 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9767 esac
9770 sysv4*MP*)
9771 if test -d /usr/nec ;then
9772 version_type=linux
9773 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9774 soname_spec='$libname${shared_ext}.$major'
9775 shlibpath_var=LD_LIBRARY_PATH
9779 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9780 version_type=freebsd-elf
9781 need_lib_prefix=no
9782 need_version=no
9783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9784 soname_spec='${libname}${release}${shared_ext}$major'
9785 shlibpath_var=LD_LIBRARY_PATH
9786 shlibpath_overrides_runpath=yes
9787 hardcode_into_libs=yes
9788 if test "$with_gnu_ld" = yes; then
9789 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9790 else
9791 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9792 case $host_os in
9793 sco3.2v5*)
9794 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9796 esac
9798 sys_lib_dlsearch_path_spec='/usr/lib'
9801 tpf*)
9802 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9803 version_type=linux
9804 need_lib_prefix=no
9805 need_version=no
9806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807 shlibpath_var=LD_LIBRARY_PATH
9808 shlibpath_overrides_runpath=no
9809 hardcode_into_libs=yes
9812 uts4*)
9813 version_type=linux
9814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815 soname_spec='${libname}${release}${shared_ext}$major'
9816 shlibpath_var=LD_LIBRARY_PATH
9820 dynamic_linker=no
9822 esac
9823 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9824 echo "${ECHO_T}$dynamic_linker" >&6
9825 test "$dynamic_linker" = no && can_build_shared=no
9827 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9828 if test "$GCC" = yes; then
9829 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9832 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9833 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9835 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9836 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9925 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9926 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9927 hardcode_action=
9928 if test -n "$hardcode_libdir_flag_spec" ||
9929 test -n "$runpath_var" ||
9930 test "X$hardcode_automatic" = "Xyes" ; then
9932 # We can hardcode non-existent directories.
9933 if test "$hardcode_direct" != no &&
9934 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9935 # have to relink, otherwise we might link with an installed library
9936 # when we should be linking with a yet-to-be-installed one
9937 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9938 test "$hardcode_minus_L" != no; then
9939 # Linking always hardcodes the temporary library directory.
9940 hardcode_action=relink
9941 else
9942 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9943 hardcode_action=immediate
9945 else
9946 # We cannot hardcode anything, or else we can only hardcode existing
9947 # directories.
9948 hardcode_action=unsupported
9950 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9951 echo "${ECHO_T}$hardcode_action" >&6
9953 if test "$hardcode_action" = relink ||
9954 test "$inherit_rpath" = yes; then
9955 # Fast installation is not supported
9956 enable_fast_install=no
9957 elif test "$shlibpath_overrides_runpath" = yes ||
9958 test "$enable_shared" = no; then
9959 # Fast installation is not necessary
9960 enable_fast_install=needless
9968 if test "x$enable_dlopen" != xyes; then
9969 enable_dlopen=unknown
9970 enable_dlopen_self=unknown
9971 enable_dlopen_self_static=unknown
9972 else
9973 lt_cv_dlopen=no
9974 lt_cv_dlopen_libs=
9976 case $host_os in
9977 beos*)
9978 lt_cv_dlopen="load_add_on"
9979 lt_cv_dlopen_libs=
9980 lt_cv_dlopen_self=yes
9983 mingw* | pw32* | cegcc*)
9984 lt_cv_dlopen="LoadLibrary"
9985 lt_cv_dlopen_libs=
9988 cygwin*)
9989 lt_cv_dlopen="dlopen"
9990 lt_cv_dlopen_libs=
9993 darwin*)
9994 # if libdl is installed we need to link against it
9995 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9996 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9997 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 else
10000 ac_check_lib_save_LIBS=$LIBS
10001 LIBS="-ldl $LIBS"
10002 if test x$gcc_no_link = xyes; then
10003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10005 { (exit 1); exit 1; }; }
10007 cat >conftest.$ac_ext <<_ACEOF
10008 /* confdefs.h. */
10009 _ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any gcc2 internal prototype to avoid an error. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10020 char dlopen ();
10022 main ()
10024 dlopen ();
10026 return 0;
10028 _ACEOF
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>conftest.er1
10032 ac_status=$?
10033 grep -v '^ *+' conftest.er1 >conftest.err
10034 rm -f conftest.er1
10035 cat conftest.err >&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try='test -z "$ac_c_werror_flag"
10039 || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10042 ac_status=$?
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try='test -s conftest$ac_exeext'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10051 ac_cv_lib_dl_dlopen=yes
10052 else
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10056 ac_cv_lib_dl_dlopen=no
10058 rm -f conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10063 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10064 if test $ac_cv_lib_dl_dlopen = yes; then
10065 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10066 else
10068 lt_cv_dlopen="dyld"
10069 lt_cv_dlopen_libs=
10070 lt_cv_dlopen_self=yes
10077 echo "$as_me:$LINENO: checking for shl_load" >&5
10078 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10079 if test "${ac_cv_func_shl_load+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 else
10082 if test x$gcc_no_link = xyes; then
10083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10085 { (exit 1); exit 1; }; }
10087 cat >conftest.$ac_ext <<_ACEOF
10088 /* confdefs.h. */
10089 _ACEOF
10090 cat confdefs.h >>conftest.$ac_ext
10091 cat >>conftest.$ac_ext <<_ACEOF
10092 /* end confdefs.h. */
10093 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10095 #define shl_load innocuous_shl_load
10097 /* System header to define __stub macros and hopefully few prototypes,
10098 which can conflict with char shl_load (); below.
10099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10100 <limits.h> exists even on freestanding compilers. */
10102 #ifdef __STDC__
10103 # include <limits.h>
10104 #else
10105 # include <assert.h>
10106 #endif
10108 #undef shl_load
10110 /* Override any gcc2 internal prototype to avoid an error. */
10111 #ifdef __cplusplus
10112 extern "C"
10114 #endif
10115 /* We use char because int might match the return type of a gcc2
10116 builtin and then its argument prototype would still apply. */
10117 char shl_load ();
10118 /* The GNU C library defines this for functions which it implements
10119 to always fail with ENOSYS. Some functions are actually named
10120 something starting with __ and the normal name is an alias. */
10121 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10122 choke me
10123 #else
10124 char (*f) () = shl_load;
10125 #endif
10126 #ifdef __cplusplus
10128 #endif
10131 main ()
10133 return f != shl_load;
10135 return 0;
10137 _ACEOF
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140 (eval $ac_link) 2>conftest.er1
10141 ac_status=$?
10142 grep -v '^ *+' conftest.er1 >conftest.err
10143 rm -f conftest.er1
10144 cat conftest.err >&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } &&
10147 { ac_try='test -z "$ac_c_werror_flag"
10148 || test ! -s conftest.err'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10151 ac_status=$?
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; } &&
10154 { ac_try='test -s conftest$ac_exeext'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10157 ac_status=$?
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; }; then
10160 ac_cv_func_shl_load=yes
10161 else
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10165 ac_cv_func_shl_load=no
10167 rm -f conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10170 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10171 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10172 if test $ac_cv_func_shl_load = yes; then
10173 lt_cv_dlopen="shl_load"
10174 else
10175 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10176 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10177 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-ldld $LIBS"
10182 if test x$gcc_no_link = xyes; then
10183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185 { (exit 1); exit 1; }; }
10187 cat >conftest.$ac_ext <<_ACEOF
10188 /* confdefs.h. */
10189 _ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10194 /* Override any gcc2 internal prototype to avoid an error. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 /* We use char because int might match the return type of a gcc2
10199 builtin and then its argument prototype would still apply. */
10200 char shl_load ();
10202 main ()
10204 shl_load ();
10206 return 0;
10208 _ACEOF
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10211 (eval $ac_link) 2>conftest.er1
10212 ac_status=$?
10213 grep -v '^ *+' conftest.er1 >conftest.err
10214 rm -f conftest.er1
10215 cat conftest.err >&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } &&
10218 { ac_try='test -z "$ac_c_werror_flag"
10219 || test ! -s conftest.err'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10222 ac_status=$?
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; } &&
10225 { ac_try='test -s conftest$ac_exeext'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10228 ac_status=$?
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; }; then
10231 ac_cv_lib_dld_shl_load=yes
10232 else
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.$ac_ext >&5
10236 ac_cv_lib_dld_shl_load=no
10238 rm -f conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10242 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10243 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10244 if test $ac_cv_lib_dld_shl_load = yes; then
10245 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10246 else
10247 echo "$as_me:$LINENO: checking for dlopen" >&5
10248 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10249 if test "${ac_cv_func_dlopen+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10251 else
10252 if test x$gcc_no_link = xyes; then
10253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10255 { (exit 1); exit 1; }; }
10257 cat >conftest.$ac_ext <<_ACEOF
10258 /* confdefs.h. */
10259 _ACEOF
10260 cat confdefs.h >>conftest.$ac_ext
10261 cat >>conftest.$ac_ext <<_ACEOF
10262 /* end confdefs.h. */
10263 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10265 #define dlopen innocuous_dlopen
10267 /* System header to define __stub macros and hopefully few prototypes,
10268 which can conflict with char dlopen (); below.
10269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10270 <limits.h> exists even on freestanding compilers. */
10272 #ifdef __STDC__
10273 # include <limits.h>
10274 #else
10275 # include <assert.h>
10276 #endif
10278 #undef dlopen
10280 /* Override any gcc2 internal prototype to avoid an error. */
10281 #ifdef __cplusplus
10282 extern "C"
10284 #endif
10285 /* We use char because int might match the return type of a gcc2
10286 builtin and then its argument prototype would still apply. */
10287 char dlopen ();
10288 /* The GNU C library defines this for functions which it implements
10289 to always fail with ENOSYS. Some functions are actually named
10290 something starting with __ and the normal name is an alias. */
10291 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10292 choke me
10293 #else
10294 char (*f) () = dlopen;
10295 #endif
10296 #ifdef __cplusplus
10298 #endif
10301 main ()
10303 return f != dlopen;
10305 return 0;
10307 _ACEOF
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310 (eval $ac_link) 2>conftest.er1
10311 ac_status=$?
10312 grep -v '^ *+' conftest.er1 >conftest.err
10313 rm -f conftest.er1
10314 cat conftest.err >&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -z "$ac_c_werror_flag"
10318 || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 ac_cv_func_dlopen=yes
10331 else
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_func_dlopen=no
10337 rm -f conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10340 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10341 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10342 if test $ac_cv_func_dlopen = yes; then
10343 lt_cv_dlopen="dlopen"
10344 else
10345 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10346 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10347 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10349 else
10350 ac_check_lib_save_LIBS=$LIBS
10351 LIBS="-ldl $LIBS"
10352 if test x$gcc_no_link = xyes; then
10353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10355 { (exit 1); exit 1; }; }
10357 cat >conftest.$ac_ext <<_ACEOF
10358 /* confdefs.h. */
10359 _ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10364 /* Override any gcc2 internal prototype to avoid an error. */
10365 #ifdef __cplusplus
10366 extern "C"
10367 #endif
10368 /* We use char because int might match the return type of a gcc2
10369 builtin and then its argument prototype would still apply. */
10370 char dlopen ();
10372 main ()
10374 dlopen ();
10376 return 0;
10378 _ACEOF
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10381 (eval $ac_link) 2>conftest.er1
10382 ac_status=$?
10383 grep -v '^ *+' conftest.er1 >conftest.err
10384 rm -f conftest.er1
10385 cat conftest.err >&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } &&
10388 { ac_try='test -z "$ac_c_werror_flag"
10389 || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10398 ac_status=$?
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 ac_cv_lib_dl_dlopen=yes
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 ac_cv_lib_dl_dlopen=no
10408 rm -f conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_lib_save_LIBS
10412 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10413 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10414 if test $ac_cv_lib_dl_dlopen = yes; then
10415 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10416 else
10417 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10418 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10419 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 else
10422 ac_check_lib_save_LIBS=$LIBS
10423 LIBS="-lsvld $LIBS"
10424 if test x$gcc_no_link = xyes; then
10425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10427 { (exit 1); exit 1; }; }
10429 cat >conftest.$ac_ext <<_ACEOF
10430 /* confdefs.h. */
10431 _ACEOF
10432 cat confdefs.h >>conftest.$ac_ext
10433 cat >>conftest.$ac_ext <<_ACEOF
10434 /* end confdefs.h. */
10436 /* Override any gcc2 internal prototype to avoid an error. */
10437 #ifdef __cplusplus
10438 extern "C"
10439 #endif
10440 /* We use char because int might match the return type of a gcc2
10441 builtin and then its argument prototype would still apply. */
10442 char dlopen ();
10444 main ()
10446 dlopen ();
10448 return 0;
10450 _ACEOF
10451 rm -f conftest.$ac_objext conftest$ac_exeext
10452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10453 (eval $ac_link) 2>conftest.er1
10454 ac_status=$?
10455 grep -v '^ *+' conftest.er1 >conftest.err
10456 rm -f conftest.er1
10457 cat conftest.err >&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } &&
10460 { ac_try='test -z "$ac_c_werror_flag"
10461 || test ! -s conftest.err'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10464 ac_status=$?
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; } &&
10467 { ac_try='test -s conftest$ac_exeext'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10470 ac_status=$?
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 ac_cv_lib_svld_dlopen=yes
10474 else
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.$ac_ext >&5
10478 ac_cv_lib_svld_dlopen=no
10480 rm -f conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_lib_save_LIBS
10484 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10485 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10486 if test $ac_cv_lib_svld_dlopen = yes; then
10487 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10488 else
10489 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10490 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10491 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10493 else
10494 ac_check_lib_save_LIBS=$LIBS
10495 LIBS="-ldld $LIBS"
10496 if test x$gcc_no_link = xyes; then
10497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10499 { (exit 1); exit 1; }; }
10501 cat >conftest.$ac_ext <<_ACEOF
10502 /* confdefs.h. */
10503 _ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10508 /* Override any gcc2 internal prototype to avoid an error. */
10509 #ifdef __cplusplus
10510 extern "C"
10511 #endif
10512 /* We use char because int might match the return type of a gcc2
10513 builtin and then its argument prototype would still apply. */
10514 char dld_link ();
10516 main ()
10518 dld_link ();
10520 return 0;
10522 _ACEOF
10523 rm -f conftest.$ac_objext conftest$ac_exeext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10525 (eval $ac_link) 2>conftest.er1
10526 ac_status=$?
10527 grep -v '^ *+' conftest.er1 >conftest.err
10528 rm -f conftest.er1
10529 cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } &&
10532 { ac_try='test -z "$ac_c_werror_flag"
10533 || test ! -s conftest.err'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10536 ac_status=$?
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; } &&
10539 { ac_try='test -s conftest$ac_exeext'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10542 ac_status=$?
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; }; then
10545 ac_cv_lib_dld_dld_link=yes
10546 else
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10550 ac_cv_lib_dld_dld_link=no
10552 rm -f conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10557 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10558 if test $ac_cv_lib_dld_dld_link = yes; then
10559 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10578 esac
10580 if test "x$lt_cv_dlopen" != xno; then
10581 enable_dlopen=yes
10582 else
10583 enable_dlopen=no
10586 case $lt_cv_dlopen in
10587 dlopen)
10588 save_CPPFLAGS="$CPPFLAGS"
10589 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10591 save_LDFLAGS="$LDFLAGS"
10592 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10594 save_LIBS="$LIBS"
10595 LIBS="$lt_cv_dlopen_libs $LIBS"
10597 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10598 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10599 if test "${lt_cv_dlopen_self+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 else
10602 if test "$cross_compiling" = yes; then :
10603 lt_cv_dlopen_self=cross
10604 else
10605 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10606 lt_status=$lt_dlunknown
10607 cat > conftest.$ac_ext <<_LT_EOF
10608 #line 10608 "configure"
10609 #include "confdefs.h"
10611 #if HAVE_DLFCN_H
10612 #include <dlfcn.h>
10613 #endif
10615 #include <stdio.h>
10617 #ifdef RTLD_GLOBAL
10618 # define LT_DLGLOBAL RTLD_GLOBAL
10619 #else
10620 # ifdef DL_GLOBAL
10621 # define LT_DLGLOBAL DL_GLOBAL
10622 # else
10623 # define LT_DLGLOBAL 0
10624 # endif
10625 #endif
10627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10628 find out it does not work in some platform. */
10629 #ifndef LT_DLLAZY_OR_NOW
10630 # ifdef RTLD_LAZY
10631 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10632 # else
10633 # ifdef DL_LAZY
10634 # define LT_DLLAZY_OR_NOW DL_LAZY
10635 # else
10636 # ifdef RTLD_NOW
10637 # define LT_DLLAZY_OR_NOW RTLD_NOW
10638 # else
10639 # ifdef DL_NOW
10640 # define LT_DLLAZY_OR_NOW DL_NOW
10641 # else
10642 # define LT_DLLAZY_OR_NOW 0
10643 # endif
10644 # endif
10645 # endif
10646 # endif
10647 #endif
10649 void fnord() { int i=42;}
10650 int main ()
10652 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10653 int status = $lt_dlunknown;
10655 if (self)
10657 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10658 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10659 /* dlclose (self); */
10661 else
10662 puts (dlerror ());
10664 return status;
10666 _LT_EOF
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>&5
10669 ac_status=$?
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10672 (./conftest; exit; ) >&5 2>/dev/null
10673 lt_status=$?
10674 case x$lt_status in
10675 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10676 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10677 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10678 esac
10679 else :
10680 # compilation failed
10681 lt_cv_dlopen_self=no
10684 rm -fr conftest*
10688 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10689 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10691 if test "x$lt_cv_dlopen_self" = xyes; then
10692 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10693 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10694 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10695 if test "${lt_cv_dlopen_self_static+set}" = set; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 else
10698 if test "$cross_compiling" = yes; then :
10699 lt_cv_dlopen_self_static=cross
10700 else
10701 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10702 lt_status=$lt_dlunknown
10703 cat > conftest.$ac_ext <<_LT_EOF
10704 #line 10704 "configure"
10705 #include "confdefs.h"
10707 #if HAVE_DLFCN_H
10708 #include <dlfcn.h>
10709 #endif
10711 #include <stdio.h>
10713 #ifdef RTLD_GLOBAL
10714 # define LT_DLGLOBAL RTLD_GLOBAL
10715 #else
10716 # ifdef DL_GLOBAL
10717 # define LT_DLGLOBAL DL_GLOBAL
10718 # else
10719 # define LT_DLGLOBAL 0
10720 # endif
10721 #endif
10723 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10724 find out it does not work in some platform. */
10725 #ifndef LT_DLLAZY_OR_NOW
10726 # ifdef RTLD_LAZY
10727 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10728 # else
10729 # ifdef DL_LAZY
10730 # define LT_DLLAZY_OR_NOW DL_LAZY
10731 # else
10732 # ifdef RTLD_NOW
10733 # define LT_DLLAZY_OR_NOW RTLD_NOW
10734 # else
10735 # ifdef DL_NOW
10736 # define LT_DLLAZY_OR_NOW DL_NOW
10737 # else
10738 # define LT_DLLAZY_OR_NOW 0
10739 # endif
10740 # endif
10741 # endif
10742 # endif
10743 #endif
10745 void fnord() { int i=42;}
10746 int main ()
10748 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10749 int status = $lt_dlunknown;
10751 if (self)
10753 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10754 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10755 /* dlclose (self); */
10757 else
10758 puts (dlerror ());
10760 return status;
10762 _LT_EOF
10763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10764 (eval $ac_link) 2>&5
10765 ac_status=$?
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10768 (./conftest; exit; ) >&5 2>/dev/null
10769 lt_status=$?
10770 case x$lt_status in
10771 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10772 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10773 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10774 esac
10775 else :
10776 # compilation failed
10777 lt_cv_dlopen_self_static=no
10780 rm -fr conftest*
10784 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10785 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10788 CPPFLAGS="$save_CPPFLAGS"
10789 LDFLAGS="$save_LDFLAGS"
10790 LIBS="$save_LIBS"
10792 esac
10794 case $lt_cv_dlopen_self in
10795 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10796 *) enable_dlopen_self=unknown ;;
10797 esac
10799 case $lt_cv_dlopen_self_static in
10800 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10801 *) enable_dlopen_self_static=unknown ;;
10802 esac
10821 striplib=
10822 old_striplib=
10823 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10824 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10825 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10826 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10827 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10828 echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6
10830 else
10831 # FIXME - insert some real tests, host_os isn't really good enough
10832 case $host_os in
10833 darwin*)
10834 if test -n "$STRIP" ; then
10835 striplib="$STRIP -x"
10836 old_striplib="$STRIP -S"
10837 echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10839 else
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10845 echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6
10848 esac
10862 # Report which library types will actually be built
10863 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10864 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10865 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10866 echo "${ECHO_T}$can_build_shared" >&6
10868 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10869 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10870 test "$can_build_shared" = "no" && enable_shared=no
10872 # On AIX, shared libraries and static libraries use the same namespace, and
10873 # are all built from PIC.
10874 case $host_os in
10875 aix3*)
10876 test "$enable_shared" = yes && enable_static=no
10877 if test -n "$RANLIB"; then
10878 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10879 postinstall_cmds='$RANLIB $lib'
10883 aix[4-9]*)
10884 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10885 test "$enable_shared" = yes && enable_static=no
10888 esac
10889 echo "$as_me:$LINENO: result: $enable_shared" >&5
10890 echo "${ECHO_T}$enable_shared" >&6
10892 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10893 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10894 # Make sure either enable_shared or enable_static is yes.
10895 test "$enable_shared" = yes || enable_static=yes
10896 echo "$as_me:$LINENO: result: $enable_static" >&5
10897 echo "${ECHO_T}$enable_static" >&6
10903 ac_ext=c
10904 ac_cpp='$CPP $CPPFLAGS'
10905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10909 CC="$lt_save_CC"
10923 ac_config_commands="$ac_config_commands libtool"
10928 # Only expand once:
10933 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10935 # We need gfortran to compile parts of the library
10936 #AC_PROG_FC(gfortran)
10937 FC="$GFORTRAN"
10938 ac_ext=${FC_SRCEXT-f}
10939 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10940 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10941 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10942 if test -n "$ac_tool_prefix"; then
10943 for ac_prog in gfortran
10945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10946 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10947 echo "$as_me:$LINENO: checking for $ac_word" >&5
10948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10949 if test "${ac_cv_prog_FC+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 else
10952 if test -n "$FC"; then
10953 ac_cv_prog_FC="$FC" # Let the user override the test.
10954 else
10955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10958 IFS=$as_save_IFS
10959 test -z "$as_dir" && as_dir=.
10960 for ac_exec_ext in '' $ac_executable_extensions; do
10961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10962 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10964 break 2
10966 done
10967 done
10971 FC=$ac_cv_prog_FC
10972 if test -n "$FC"; then
10973 echo "$as_me:$LINENO: result: $FC" >&5
10974 echo "${ECHO_T}$FC" >&6
10975 else
10976 echo "$as_me:$LINENO: result: no" >&5
10977 echo "${ECHO_T}no" >&6
10980 test -n "$FC" && break
10981 done
10983 if test -z "$FC"; then
10984 ac_ct_FC=$FC
10985 for ac_prog in gfortran
10987 # Extract the first word of "$ac_prog", so it can be a program name with args.
10988 set dummy $ac_prog; ac_word=$2
10989 echo "$as_me:$LINENO: checking for $ac_word" >&5
10990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10991 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 else
10994 if test -n "$ac_ct_FC"; then
10995 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10996 else
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
11000 IFS=$as_save_IFS
11001 test -z "$as_dir" && as_dir=.
11002 for ac_exec_ext in '' $ac_executable_extensions; do
11003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11004 ac_cv_prog_ac_ct_FC="$ac_prog"
11005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11006 break 2
11008 done
11009 done
11013 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11014 if test -n "$ac_ct_FC"; then
11015 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11016 echo "${ECHO_T}$ac_ct_FC" >&6
11017 else
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11022 test -n "$ac_ct_FC" && break
11023 done
11025 FC=$ac_ct_FC
11029 # Provide some information about the compiler.
11030 echo "$as_me:11030:" \
11031 "checking for Fortran compiler version" >&5
11032 ac_compiler=`set X $ac_compile; echo $2`
11033 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11034 (eval $ac_compiler --version </dev/null >&5) 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }
11038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11039 (eval $ac_compiler -v </dev/null >&5) 2>&5
11040 ac_status=$?
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }
11043 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11044 (eval $ac_compiler -V </dev/null >&5) 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }
11048 rm -f a.out
11050 # If we don't use `.F' as extension, the preprocessor is not run on the
11051 # input file. (Note that this only needs to work for GNU compilers.)
11052 ac_save_ext=$ac_ext
11053 ac_ext=F
11054 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11055 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11056 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 else
11059 cat >conftest.$ac_ext <<_ACEOF
11060 program main
11061 #ifndef __GNUC__
11062 choke me
11063 #endif
11066 _ACEOF
11067 rm -f conftest.$ac_objext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11069 (eval $ac_compile) 2>conftest.er1
11070 ac_status=$?
11071 grep -v '^ *+' conftest.er1 >conftest.err
11072 rm -f conftest.er1
11073 cat conftest.err >&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } &&
11076 { ac_try='test -z "$ac_fc_werror_flag"
11077 || test ! -s conftest.err'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11080 ac_status=$?
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; } &&
11083 { ac_try='test -s conftest.$ac_objext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11086 ac_status=$?
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 ac_compiler_gnu=yes
11090 else
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11094 ac_compiler_gnu=no
11096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11097 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11100 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11101 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11102 ac_ext=$ac_save_ext
11103 ac_test_FFLAGS=${FCFLAGS+set}
11104 ac_save_FFLAGS=$FCFLAGS
11105 FCFLAGS=
11106 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11107 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11108 if test "${ac_cv_prog_fc_g+set}" = set; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11110 else
11111 FCFLAGS=-g
11112 cat >conftest.$ac_ext <<_ACEOF
11113 program main
11116 _ACEOF
11117 rm -f conftest.$ac_objext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>conftest.er1
11120 ac_status=$?
11121 grep -v '^ *+' conftest.er1 >conftest.err
11122 rm -f conftest.er1
11123 cat conftest.err >&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } &&
11126 { ac_try='test -z "$ac_fc_werror_flag"
11127 || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11130 ac_status=$?
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try='test -s conftest.$ac_objext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11136 ac_status=$?
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_prog_fc_g=yes
11140 else
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11144 ac_cv_prog_fc_g=no
11146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11149 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11150 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11151 if test "$ac_test_FFLAGS" = set; then
11152 FCFLAGS=$ac_save_FFLAGS
11153 elif test $ac_cv_prog_fc_g = yes; then
11154 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11155 FCFLAGS="-g -O2"
11156 else
11157 FCFLAGS="-g"
11159 else
11160 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11161 FCFLAGS="-O2"
11162 else
11163 FCFLAGS=
11167 ac_ext=c
11168 ac_cpp='$CPP $CPPFLAGS'
11169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11174 ac_ext=${FC_SRCEXT-f}
11175 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11176 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11177 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11178 if test -n "$ac_tool_prefix"; then
11179 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11183 echo "$as_me:$LINENO: checking for $ac_word" >&5
11184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11185 if test "${ac_cv_prog_FC+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 else
11188 if test -n "$FC"; then
11189 ac_cv_prog_FC="$FC" # Let the user override the test.
11190 else
11191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11192 for as_dir in $PATH
11194 IFS=$as_save_IFS
11195 test -z "$as_dir" && as_dir=.
11196 for ac_exec_ext in '' $ac_executable_extensions; do
11197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11198 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11200 break 2
11202 done
11203 done
11207 FC=$ac_cv_prog_FC
11208 if test -n "$FC"; then
11209 echo "$as_me:$LINENO: result: $FC" >&5
11210 echo "${ECHO_T}$FC" >&6
11211 else
11212 echo "$as_me:$LINENO: result: no" >&5
11213 echo "${ECHO_T}no" >&6
11216 test -n "$FC" && break
11217 done
11219 if test -z "$FC"; then
11220 ac_ct_FC=$FC
11221 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11223 # Extract the first word of "$ac_prog", so it can be a program name with args.
11224 set dummy $ac_prog; ac_word=$2
11225 echo "$as_me:$LINENO: checking for $ac_word" >&5
11226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11227 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 else
11230 if test -n "$ac_ct_FC"; then
11231 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11232 else
11233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11234 for as_dir in $PATH
11236 IFS=$as_save_IFS
11237 test -z "$as_dir" && as_dir=.
11238 for ac_exec_ext in '' $ac_executable_extensions; do
11239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11240 ac_cv_prog_ac_ct_FC="$ac_prog"
11241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11242 break 2
11244 done
11245 done
11249 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11250 if test -n "$ac_ct_FC"; then
11251 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11252 echo "${ECHO_T}$ac_ct_FC" >&6
11253 else
11254 echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6
11258 test -n "$ac_ct_FC" && break
11259 done
11261 FC=$ac_ct_FC
11265 # Provide some information about the compiler.
11266 echo "$as_me:11266:" \
11267 "checking for Fortran compiler version" >&5
11268 ac_compiler=`set X $ac_compile; echo $2`
11269 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11270 (eval $ac_compiler --version </dev/null >&5) 2>&5
11271 ac_status=$?
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }
11274 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11275 (eval $ac_compiler -v </dev/null >&5) 2>&5
11276 ac_status=$?
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }
11279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11280 (eval $ac_compiler -V </dev/null >&5) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }
11284 rm -f a.out
11286 # If we don't use `.F' as extension, the preprocessor is not run on the
11287 # input file. (Note that this only needs to work for GNU compilers.)
11288 ac_save_ext=$ac_ext
11289 ac_ext=F
11290 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11291 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11292 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 else
11295 cat >conftest.$ac_ext <<_ACEOF
11296 program main
11297 #ifndef __GNUC__
11298 choke me
11299 #endif
11302 _ACEOF
11303 rm -f conftest.$ac_objext
11304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11305 (eval $ac_compile) 2>conftest.er1
11306 ac_status=$?
11307 grep -v '^ *+' conftest.er1 >conftest.err
11308 rm -f conftest.er1
11309 cat conftest.err >&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try='test -z "$ac_fc_werror_flag"
11313 || test ! -s conftest.err'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11316 ac_status=$?
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; } &&
11319 { ac_try='test -s conftest.$ac_objext'
11320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321 (eval $ac_try) 2>&5
11322 ac_status=$?
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; }; then
11325 ac_compiler_gnu=yes
11326 else
11327 echo "$as_me: failed program was:" >&5
11328 sed 's/^/| /' conftest.$ac_ext >&5
11330 ac_compiler_gnu=no
11332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11333 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11336 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11337 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11338 ac_ext=$ac_save_ext
11339 ac_test_FFLAGS=${FCFLAGS+set}
11340 ac_save_FFLAGS=$FCFLAGS
11341 FCFLAGS=
11342 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11343 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11344 if test "${ac_cv_prog_fc_g+set}" = set; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 else
11347 FCFLAGS=-g
11348 cat >conftest.$ac_ext <<_ACEOF
11349 program main
11352 _ACEOF
11353 rm -f conftest.$ac_objext
11354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11355 (eval $ac_compile) 2>conftest.er1
11356 ac_status=$?
11357 grep -v '^ *+' conftest.er1 >conftest.err
11358 rm -f conftest.er1
11359 cat conftest.err >&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); } &&
11362 { ac_try='test -z "$ac_fc_werror_flag"
11363 || test ! -s conftest.err'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11366 ac_status=$?
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; } &&
11369 { ac_try='test -s conftest.$ac_objext'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11372 ac_status=$?
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; }; then
11375 ac_cv_prog_fc_g=yes
11376 else
11377 echo "$as_me: failed program was:" >&5
11378 sed 's/^/| /' conftest.$ac_ext >&5
11380 ac_cv_prog_fc_g=no
11382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11385 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11386 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11387 if test "$ac_test_FFLAGS" = set; then
11388 FCFLAGS=$ac_save_FFLAGS
11389 elif test $ac_cv_prog_fc_g = yes; then
11390 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11391 FCFLAGS="-g -O2"
11392 else
11393 FCFLAGS="-g"
11395 else
11396 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11397 FCFLAGS="-O2"
11398 else
11399 FCFLAGS=
11403 ac_ext=c
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11409 if test -z "$FC" || test "X$FC" = "Xno"; then
11410 _lt_disable_FC=yes
11415 ac_ext=${FC_SRCEXT-f}
11416 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11417 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11421 archive_cmds_need_lc_FC=no
11422 allow_undefined_flag_FC=
11423 always_export_symbols_FC=no
11424 archive_expsym_cmds_FC=
11425 export_dynamic_flag_spec_FC=
11426 hardcode_direct_FC=no
11427 hardcode_direct_absolute_FC=no
11428 hardcode_libdir_flag_spec_FC=
11429 hardcode_libdir_flag_spec_ld_FC=
11430 hardcode_libdir_separator_FC=
11431 hardcode_minus_L_FC=no
11432 hardcode_automatic_FC=no
11433 inherit_rpath_FC=no
11434 module_cmds_FC=
11435 module_expsym_cmds_FC=
11436 link_all_deplibs_FC=unknown
11437 old_archive_cmds_FC=$old_archive_cmds
11438 no_undefined_flag_FC=
11439 whole_archive_flag_spec_FC=
11440 enable_shared_with_static_runtimes_FC=no
11442 # Source file extension for fc test sources.
11443 ac_ext=${ac_fc_srcext-f}
11445 # Object file extension for compiled fc test sources.
11446 objext=o
11447 objext_FC=$objext
11449 # No sense in running all these tests if we already determined that
11450 # the FC compiler isn't working. Some variables (like enable_shared)
11451 # are currently assumed to apply to all compilers on this platform,
11452 # and will be corrupted by setting them based on a non-working compiler.
11453 if test "$_lt_disable_FC" != yes; then
11454 # Code to be used in simple compile tests
11455 lt_simple_compile_test_code="\
11456 subroutine t
11457 return
11461 # Code to be used in simple link tests
11462 lt_simple_link_test_code="\
11463 program t
11467 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11474 # If no C compiler was specified, use CC.
11475 LTCC=${LTCC-"$CC"}
11477 # If no C compiler flags were specified, use CFLAGS.
11478 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11480 # Allow CC to be a program name with arguments.
11481 compiler=$CC
11484 # save warnings/boilerplate of simple test code
11485 ac_outfile=conftest.$ac_objext
11486 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11487 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11488 _lt_compiler_boilerplate=`cat conftest.err`
11489 $RM conftest*
11491 ac_outfile=conftest.$ac_objext
11492 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11493 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11494 _lt_linker_boilerplate=`cat conftest.err`
11495 $RM -r conftest*
11498 # Allow CC to be a program name with arguments.
11499 lt_save_CC="$CC"
11500 lt_save_GCC=$GCC
11501 CC=${FC-"f95"}
11502 compiler=$CC
11503 GCC=$ac_cv_fc_compiler_gnu
11505 compiler_FC=$CC
11506 for cc_temp in $compiler""; do
11507 case $cc_temp in
11508 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11509 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11510 \-*) ;;
11511 *) break;;
11512 esac
11513 done
11514 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11517 if test -n "$compiler"; then
11518 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11519 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11520 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11521 echo "${ECHO_T}$can_build_shared" >&6
11523 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11524 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11525 test "$can_build_shared" = "no" && enable_shared=no
11527 # On AIX, shared libraries and static libraries use the same namespace, and
11528 # are all built from PIC.
11529 case $host_os in
11530 aix3*)
11531 test "$enable_shared" = yes && enable_static=no
11532 if test -n "$RANLIB"; then
11533 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11534 postinstall_cmds='$RANLIB $lib'
11537 aix[4-9]*)
11538 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11539 test "$enable_shared" = yes && enable_static=no
11542 esac
11543 echo "$as_me:$LINENO: result: $enable_shared" >&5
11544 echo "${ECHO_T}$enable_shared" >&6
11546 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11547 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11548 # Make sure either enable_shared or enable_static is yes.
11549 test "$enable_shared" = yes || enable_static=yes
11550 echo "$as_me:$LINENO: result: $enable_static" >&5
11551 echo "${ECHO_T}$enable_static" >&6
11553 GCC_FC="$ac_cv_fc_compiler_gnu"
11554 LD_FC="$LD"
11556 ## CAVEAT EMPTOR:
11557 ## There is no encapsulation within the following macros, do not change
11558 ## the running order or otherwise move them around unless you know exactly
11559 ## what you are doing...
11560 # Dependencies to place before and after the object being linked:
11561 predep_objects_FC=
11562 postdep_objects_FC=
11563 predeps_FC=
11564 postdeps_FC=
11565 compiler_lib_search_path_FC=
11567 cat > conftest.$ac_ext <<_LT_EOF
11568 subroutine foo
11569 implicit none
11570 integer a
11572 return
11574 _LT_EOF
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>&5
11578 ac_status=$?
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; then
11581 # Parse the compiler output and extract the necessary
11582 # objects, libraries and library flags.
11584 # Sentinel used to keep track of whether or not we are before
11585 # the conftest object file.
11586 pre_test_object_deps_done=no
11588 for p in `eval "$output_verbose_link_cmd"`; do
11589 case $p in
11591 -L* | -R* | -l*)
11592 # Some compilers place space between "-{L,R}" and the path.
11593 # Remove the space.
11594 if test $p = "-L" ||
11595 test $p = "-R"; then
11596 prev=$p
11597 continue
11598 else
11599 prev=
11602 if test "$pre_test_object_deps_done" = no; then
11603 case $p in
11604 -L* | -R*)
11605 # Internal compiler library paths should come after those
11606 # provided the user. The postdeps already come after the
11607 # user supplied libs so there is no need to process them.
11608 if test -z "$compiler_lib_search_path_FC"; then
11609 compiler_lib_search_path_FC="${prev}${p}"
11610 else
11611 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11614 # The "-l" case would never come before the object being
11615 # linked, so don't bother handling this case.
11616 esac
11617 else
11618 if test -z "$postdeps_FC"; then
11619 postdeps_FC="${prev}${p}"
11620 else
11621 postdeps_FC="${postdeps_FC} ${prev}${p}"
11626 *.$objext)
11627 # This assumes that the test object file only shows up
11628 # once in the compiler output.
11629 if test "$p" = "conftest.$objext"; then
11630 pre_test_object_deps_done=yes
11631 continue
11634 if test "$pre_test_object_deps_done" = no; then
11635 if test -z "$predep_objects_FC"; then
11636 predep_objects_FC="$p"
11637 else
11638 predep_objects_FC="$predep_objects_FC $p"
11640 else
11641 if test -z "$postdep_objects_FC"; then
11642 postdep_objects_FC="$p"
11643 else
11644 postdep_objects_FC="$postdep_objects_FC $p"
11649 *) ;; # Ignore the rest.
11651 esac
11652 done
11654 # Clean up.
11655 rm -f a.out a.exe
11656 else
11657 echo "libtool.m4: error: problem compiling FC test program"
11660 $RM -f confest.$objext
11662 # PORTME: override above test on systems where it is broken
11665 case " $postdeps_FC " in
11666 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11667 esac
11668 compiler_lib_search_dirs_FC=
11669 if test -n "${compiler_lib_search_path_FC}"; then
11670 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11703 lt_prog_compiler_wl_FC=
11704 lt_prog_compiler_pic_FC=
11705 lt_prog_compiler_static_FC=
11707 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11708 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11710 if test "$GCC" = yes; then
11711 lt_prog_compiler_wl_FC='-Wl,'
11712 lt_prog_compiler_static_FC='-static'
11714 case $host_os in
11715 aix*)
11716 # All AIX code is PIC.
11717 if test "$host_cpu" = ia64; then
11718 # AIX 5 now supports IA64 processor
11719 lt_prog_compiler_static_FC='-Bstatic'
11723 amigaos*)
11724 case $host_cpu in
11725 powerpc)
11726 # see comment about AmigaOS4 .so support
11727 lt_prog_compiler_pic_FC='-fPIC'
11729 m68k)
11730 # FIXME: we need at least 68020 code to build shared libraries, but
11731 # adding the `-m68020' flag to GCC prevents building anything better,
11732 # like `-m68040'.
11733 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11735 esac
11738 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11739 # PIC is the default for these OSes.
11742 mingw* | cygwin* | pw32* | os2* | cegcc*)
11743 # This hack is so that the source file can tell whether it is being
11744 # built for inclusion in a dll (and should export symbols for example).
11745 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11746 # (--disable-auto-import) libraries
11747 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11750 darwin* | rhapsody*)
11751 # PIC is the default on this platform
11752 # Common symbols not allowed in MH_DYLIB files
11753 lt_prog_compiler_pic_FC='-fno-common'
11756 hpux*)
11757 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11758 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11759 # sets the default TLS model and affects inlining.
11760 case $host_cpu in
11761 hppa*64*)
11762 # +Z the default
11765 lt_prog_compiler_pic_FC='-fPIC'
11767 esac
11770 interix[3-9]*)
11771 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11772 # Instead, we relocate shared libraries at runtime.
11775 msdosdjgpp*)
11776 # Just because we use GCC doesn't mean we suddenly get shared libraries
11777 # on systems that don't support them.
11778 lt_prog_compiler_can_build_shared_FC=no
11779 enable_shared=no
11782 *nto* | *qnx*)
11783 # QNX uses GNU C++, but need to define -shared option too, otherwise
11784 # it will coredump.
11785 lt_prog_compiler_pic_FC='-fPIC -shared'
11788 sysv4*MP*)
11789 if test -d /usr/nec; then
11790 lt_prog_compiler_pic_FC=-Kconform_pic
11795 lt_prog_compiler_pic_FC='-fPIC'
11797 esac
11798 else
11799 # PORTME Check for flag to pass linker flags through the system compiler.
11800 case $host_os in
11801 aix*)
11802 lt_prog_compiler_wl_FC='-Wl,'
11803 if test "$host_cpu" = ia64; then
11804 # AIX 5 now supports IA64 processor
11805 lt_prog_compiler_static_FC='-Bstatic'
11806 else
11807 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11811 mingw* | cygwin* | pw32* | os2* | cegcc*)
11812 # This hack is so that the source file can tell whether it is being
11813 # built for inclusion in a dll (and should export symbols for example).
11814 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11817 hpux9* | hpux10* | hpux11*)
11818 lt_prog_compiler_wl_FC='-Wl,'
11819 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11820 # not for PA HP-UX.
11821 case $host_cpu in
11822 hppa*64*|ia64*)
11823 # +Z the default
11826 lt_prog_compiler_pic_FC='+Z'
11828 esac
11829 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11830 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11833 irix5* | irix6* | nonstopux*)
11834 lt_prog_compiler_wl_FC='-Wl,'
11835 # PIC (with -KPIC) is the default.
11836 lt_prog_compiler_static_FC='-non_shared'
11839 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11840 case $cc_basename in
11841 # old Intel for x86_64 which still supported -KPIC.
11842 ecc*)
11843 lt_prog_compiler_wl_FC='-Wl,'
11844 lt_prog_compiler_pic_FC='-KPIC'
11845 lt_prog_compiler_static_FC='-static'
11847 # icc used to be incompatible with GCC.
11848 # ICC 10 doesn't accept -KPIC any more.
11849 icc* | ifort*)
11850 lt_prog_compiler_wl_FC='-Wl,'
11851 lt_prog_compiler_pic_FC='-fPIC'
11852 lt_prog_compiler_static_FC='-static'
11854 # Lahey Fortran 8.1.
11855 lf95*)
11856 lt_prog_compiler_wl_FC='-Wl,'
11857 lt_prog_compiler_pic_FC='--shared'
11858 lt_prog_compiler_static_FC='--static'
11860 pgcc* | pgf77* | pgf90* | pgf95*)
11861 # Portland Group compilers (*not* the Pentium gcc compiler,
11862 # which looks to be a dead project)
11863 lt_prog_compiler_wl_FC='-Wl,'
11864 lt_prog_compiler_pic_FC='-fpic'
11865 lt_prog_compiler_static_FC='-Bstatic'
11867 ccc*)
11868 lt_prog_compiler_wl_FC='-Wl,'
11869 # All Alpha code is PIC.
11870 lt_prog_compiler_static_FC='-non_shared'
11872 xl*)
11873 # IBM XL C 8.0/Fortran 10.1 on PPC
11874 lt_prog_compiler_wl_FC='-Wl,'
11875 lt_prog_compiler_pic_FC='-qpic'
11876 lt_prog_compiler_static_FC='-qstaticlink'
11879 case `$CC -V 2>&1 | sed 5q` in
11880 *Sun\ C*)
11881 # Sun C 5.9
11882 lt_prog_compiler_pic_FC='-KPIC'
11883 lt_prog_compiler_static_FC='-Bstatic'
11884 lt_prog_compiler_wl_FC='-Wl,'
11886 *Sun\ F*)
11887 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11888 lt_prog_compiler_pic_FC='-KPIC'
11889 lt_prog_compiler_static_FC='-Bstatic'
11890 lt_prog_compiler_wl_FC=''
11892 esac
11894 esac
11897 newsos6)
11898 lt_prog_compiler_pic_FC='-KPIC'
11899 lt_prog_compiler_static_FC='-Bstatic'
11902 *nto* | *qnx*)
11903 # QNX uses GNU C++, but need to define -shared option too, otherwise
11904 # it will coredump.
11905 lt_prog_compiler_pic_FC='-fPIC -shared'
11908 osf3* | osf4* | osf5*)
11909 lt_prog_compiler_wl_FC='-Wl,'
11910 # All OSF/1 code is PIC.
11911 lt_prog_compiler_static_FC='-non_shared'
11914 rdos*)
11915 lt_prog_compiler_static_FC='-non_shared'
11918 solaris*)
11919 lt_prog_compiler_pic_FC='-KPIC'
11920 lt_prog_compiler_static_FC='-Bstatic'
11921 case $cc_basename in
11922 f77* | f90* | f95*)
11923 lt_prog_compiler_wl_FC='-Qoption ld ';;
11925 lt_prog_compiler_wl_FC='-Wl,';;
11926 esac
11929 sunos4*)
11930 lt_prog_compiler_wl_FC='-Qoption ld '
11931 lt_prog_compiler_pic_FC='-PIC'
11932 lt_prog_compiler_static_FC='-Bstatic'
11935 sysv4 | sysv4.2uw2* | sysv4.3*)
11936 lt_prog_compiler_wl_FC='-Wl,'
11937 lt_prog_compiler_pic_FC='-KPIC'
11938 lt_prog_compiler_static_FC='-Bstatic'
11941 sysv4*MP*)
11942 if test -d /usr/nec ;then
11943 lt_prog_compiler_pic_FC='-Kconform_pic'
11944 lt_prog_compiler_static_FC='-Bstatic'
11948 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11949 lt_prog_compiler_wl_FC='-Wl,'
11950 lt_prog_compiler_pic_FC='-KPIC'
11951 lt_prog_compiler_static_FC='-Bstatic'
11954 unicos*)
11955 lt_prog_compiler_wl_FC='-Wl,'
11956 lt_prog_compiler_can_build_shared_FC=no
11959 uts4*)
11960 lt_prog_compiler_pic_FC='-pic'
11961 lt_prog_compiler_static_FC='-Bstatic'
11965 lt_prog_compiler_can_build_shared_FC=no
11967 esac
11970 case $host_os in
11971 # For platforms which do not support PIC, -DPIC is meaningless:
11972 *djgpp*)
11973 lt_prog_compiler_pic_FC=
11976 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11978 esac
11979 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11980 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11985 # Check to make sure the PIC flag actually works.
11987 if test -n "$lt_prog_compiler_pic_FC"; then
11988 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11989 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11990 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 else
11993 lt_cv_prog_compiler_pic_works_FC=no
11994 ac_outfile=conftest.$ac_objext
11995 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11996 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11997 # Insert the option either (1) after the last *FLAGS variable, or
11998 # (2) before a word containing "conftest.", or (3) at the end.
11999 # Note that $ac_compile itself does not contain backslashes and begins
12000 # with a dollar sign (not a hyphen), so the echo should work correctly.
12001 # The option is referenced via a variable to avoid confusing sed.
12002 lt_compile=`echo "$ac_compile" | $SED \
12003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12005 -e 's:$: $lt_compiler_flag:'`
12006 (eval echo "\"\$as_me:12006: $lt_compile\"" >&5)
12007 (eval "$lt_compile" 2>conftest.err)
12008 ac_status=$?
12009 cat conftest.err >&5
12010 echo "$as_me:12010: \$? = $ac_status" >&5
12011 if (exit $ac_status) && test -s "$ac_outfile"; then
12012 # The compiler can only warn and ignore the option if not recognized
12013 # So say no if there are warnings other than the usual output.
12014 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12015 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12016 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12017 lt_cv_prog_compiler_pic_works_FC=yes
12020 $RM conftest*
12023 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12024 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12026 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12027 case $lt_prog_compiler_pic_FC in
12028 "" | " "*) ;;
12029 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12030 esac
12031 else
12032 lt_prog_compiler_pic_FC=
12033 lt_prog_compiler_can_build_shared_FC=no
12041 # Check to make sure the static flag actually works.
12043 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12044 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12045 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12046 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 else
12049 lt_cv_prog_compiler_static_works_FC=no
12050 save_LDFLAGS="$LDFLAGS"
12051 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12052 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12053 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12054 # The linker can only warn and ignore the option if not recognized
12055 # So say no if there are warnings
12056 if test -s conftest.err; then
12057 # Append any errors to the config.log.
12058 cat conftest.err 1>&5
12059 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12060 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12061 if diff conftest.exp conftest.er2 >/dev/null; then
12062 lt_cv_prog_compiler_static_works_FC=yes
12064 else
12065 lt_cv_prog_compiler_static_works_FC=yes
12068 $RM -r conftest*
12069 LDFLAGS="$save_LDFLAGS"
12072 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12073 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12075 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12077 else
12078 lt_prog_compiler_static_FC=
12084 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12085 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12086 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6
12088 else
12089 lt_cv_prog_compiler_c_o_FC=no
12090 $RM -r conftest 2>/dev/null
12091 mkdir conftest
12092 cd conftest
12093 mkdir out
12094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12096 lt_compiler_flag="-o out/conftest2.$ac_objext"
12097 # Insert the option either (1) after the last *FLAGS variable, or
12098 # (2) before a word containing "conftest.", or (3) at the end.
12099 # Note that $ac_compile itself does not contain backslashes and begins
12100 # with a dollar sign (not a hyphen), so the echo should work correctly.
12101 lt_compile=`echo "$ac_compile" | $SED \
12102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12104 -e 's:$: $lt_compiler_flag:'`
12105 (eval echo "\"\$as_me:12105: $lt_compile\"" >&5)
12106 (eval "$lt_compile" 2>out/conftest.err)
12107 ac_status=$?
12108 cat out/conftest.err >&5
12109 echo "$as_me:12109: \$? = $ac_status" >&5
12110 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12111 then
12112 # The compiler can only warn and ignore the option if not recognized
12113 # So say no if there are warnings
12114 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12115 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12116 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12117 lt_cv_prog_compiler_c_o_FC=yes
12120 chmod u+w . 2>&5
12121 $RM conftest*
12122 # SGI C++ compiler will create directory out/ii_files/ for
12123 # template instantiation
12124 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12125 $RM out/* && rmdir out
12126 cd ..
12127 $RM -r conftest
12128 $RM conftest*
12131 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12132 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12136 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12137 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12138 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 else
12141 lt_cv_prog_compiler_c_o_FC=no
12142 $RM -r conftest 2>/dev/null
12143 mkdir conftest
12144 cd conftest
12145 mkdir out
12146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12148 lt_compiler_flag="-o out/conftest2.$ac_objext"
12149 # Insert the option either (1) after the last *FLAGS variable, or
12150 # (2) before a word containing "conftest.", or (3) at the end.
12151 # Note that $ac_compile itself does not contain backslashes and begins
12152 # with a dollar sign (not a hyphen), so the echo should work correctly.
12153 lt_compile=`echo "$ac_compile" | $SED \
12154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12156 -e 's:$: $lt_compiler_flag:'`
12157 (eval echo "\"\$as_me:12157: $lt_compile\"" >&5)
12158 (eval "$lt_compile" 2>out/conftest.err)
12159 ac_status=$?
12160 cat out/conftest.err >&5
12161 echo "$as_me:12161: \$? = $ac_status" >&5
12162 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12163 then
12164 # The compiler can only warn and ignore the option if not recognized
12165 # So say no if there are warnings
12166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12167 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12168 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12169 lt_cv_prog_compiler_c_o_FC=yes
12172 chmod u+w . 2>&5
12173 $RM conftest*
12174 # SGI C++ compiler will create directory out/ii_files/ for
12175 # template instantiation
12176 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12177 $RM out/* && rmdir out
12178 cd ..
12179 $RM -r conftest
12180 $RM conftest*
12183 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12184 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12189 hard_links="nottested"
12190 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12191 # do not overwrite the value of need_locks provided by the user
12192 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12193 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12194 hard_links=yes
12195 $RM conftest*
12196 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12197 touch conftest.a
12198 ln conftest.a conftest.b 2>&5 || hard_links=no
12199 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12200 echo "$as_me:$LINENO: result: $hard_links" >&5
12201 echo "${ECHO_T}$hard_links" >&6
12202 if test "$hard_links" = no; then
12203 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12204 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12205 need_locks=warn
12207 else
12208 need_locks=no
12213 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12214 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12216 runpath_var=
12217 allow_undefined_flag_FC=
12218 always_export_symbols_FC=no
12219 archive_cmds_FC=
12220 archive_expsym_cmds_FC=
12221 compiler_needs_object_FC=no
12222 enable_shared_with_static_runtimes_FC=no
12223 export_dynamic_flag_spec_FC=
12224 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12225 hardcode_automatic_FC=no
12226 hardcode_direct_FC=no
12227 hardcode_direct_absolute_FC=no
12228 hardcode_libdir_flag_spec_FC=
12229 hardcode_libdir_flag_spec_ld_FC=
12230 hardcode_libdir_separator_FC=
12231 hardcode_minus_L_FC=no
12232 hardcode_shlibpath_var_FC=unsupported
12233 inherit_rpath_FC=no
12234 link_all_deplibs_FC=unknown
12235 module_cmds_FC=
12236 module_expsym_cmds_FC=
12237 old_archive_from_new_cmds_FC=
12238 old_archive_from_expsyms_cmds_FC=
12239 thread_safe_flag_spec_FC=
12240 whole_archive_flag_spec_FC=
12241 # include_expsyms should be a list of space-separated symbols to be *always*
12242 # included in the symbol list
12243 include_expsyms_FC=
12244 # exclude_expsyms can be an extended regexp of symbols to exclude
12245 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12246 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12247 # as well as any symbol that contains `d'.
12248 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12249 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12250 # platforms (ab)use it in PIC code, but their linkers get confused if
12251 # the symbol is explicitly referenced. Since portable code cannot
12252 # rely on this symbol name, it's probably fine to never include it in
12253 # preloaded symbol tables.
12254 # Exclude shared library initialization/finalization symbols.
12255 extract_expsyms_cmds=
12257 case $host_os in
12258 cygwin* | mingw* | pw32* | cegcc*)
12259 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12260 # When not using gcc, we currently assume that we are using
12261 # Microsoft Visual C++.
12262 if test "$GCC" != yes; then
12263 with_gnu_ld=no
12266 interix*)
12267 # we just hope/assume this is gcc and not c89 (= MSVC++)
12268 with_gnu_ld=yes
12270 openbsd*)
12271 with_gnu_ld=no
12273 esac
12275 ld_shlibs_FC=yes
12276 if test "$with_gnu_ld" = yes; then
12277 # If archive_cmds runs LD, not CC, wlarc should be empty
12278 wlarc='${wl}'
12280 # Set some defaults for GNU ld with shared library support. These
12281 # are reset later if shared libraries are not supported. Putting them
12282 # here allows them to be overridden if necessary.
12283 runpath_var=LD_RUN_PATH
12284 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12285 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12286 # ancient GNU ld didn't support --whole-archive et. al.
12287 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12288 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12289 else
12290 whole_archive_flag_spec_FC=
12292 supports_anon_versioning=no
12293 case `$LD -v 2>&1` in
12294 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12295 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12296 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12297 *\ 2.11.*) ;; # other 2.11 versions
12298 *) supports_anon_versioning=yes ;;
12299 esac
12301 # See if GNU ld supports shared libraries.
12302 case $host_os in
12303 aix[3-9]*)
12304 # On AIX/PPC, the GNU linker is very broken
12305 if test "$host_cpu" != ia64; then
12306 ld_shlibs_FC=no
12307 cat <<_LT_EOF 1>&2
12309 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12310 *** to be unable to reliably create shared libraries on AIX.
12311 *** Therefore, libtool is disabling shared libraries support. If you
12312 *** really care for shared libraries, you may want to modify your PATH
12313 *** so that a non-GNU linker is found, and then restart.
12315 _LT_EOF
12319 amigaos*)
12320 case $host_cpu in
12321 powerpc)
12322 # see comment about AmigaOS4 .so support
12323 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324 archive_expsym_cmds_FC=''
12326 m68k)
12327 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12328 hardcode_libdir_flag_spec_FC='-L$libdir'
12329 hardcode_minus_L_FC=yes
12331 esac
12334 beos*)
12335 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12336 allow_undefined_flag_FC=unsupported
12337 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12338 # support --undefined. This deserves some investigation. FIXME
12339 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12340 else
12341 ld_shlibs_FC=no
12345 cygwin* | mingw* | pw32* | cegcc*)
12346 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12347 # as there is no search path for DLLs.
12348 hardcode_libdir_flag_spec_FC='-L$libdir'
12349 allow_undefined_flag_FC=unsupported
12350 always_export_symbols_FC=no
12351 enable_shared_with_static_runtimes_FC=yes
12352 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12354 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12355 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12356 # If the export-symbols file already is a .def file (1st line
12357 # is EXPORTS), use it as is; otherwise, prepend...
12358 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12359 cp $export_symbols $output_objdir/$soname.def;
12360 else
12361 echo EXPORTS > $output_objdir/$soname.def;
12362 cat $export_symbols >> $output_objdir/$soname.def;
12364 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12365 else
12366 ld_shlibs_FC=no
12370 interix[3-9]*)
12371 hardcode_direct_FC=no
12372 hardcode_shlibpath_var_FC=no
12373 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12374 export_dynamic_flag_spec_FC='${wl}-E'
12375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12376 # Instead, shared libraries are loaded at an image base (0x10000000 by
12377 # default) and relocated if they conflict, which is a slow very memory
12378 # consuming and fragmenting process. To avoid this, we pick a random,
12379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12381 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12382 archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12385 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12386 tmp_diet=no
12387 if test "$host_os" = linux-dietlibc; then
12388 case $cc_basename in
12389 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12390 esac
12392 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12393 && test "$tmp_diet" = no
12394 then
12395 tmp_addflag=
12396 tmp_sharedflag='-shared'
12397 case $cc_basename,$host_cpu in
12398 pgcc*) # Portland Group C compiler
12399 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12400 tmp_addflag=' $pic_flag'
12402 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12403 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12404 tmp_addflag=' $pic_flag -Mnomain' ;;
12405 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12406 tmp_addflag=' -i_dynamic' ;;
12407 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12408 tmp_addflag=' -i_dynamic -nofor_main' ;;
12409 ifc* | ifort*) # Intel Fortran compiler
12410 tmp_addflag=' -nofor_main' ;;
12411 lf95*) # Lahey Fortran 8.1
12412 whole_archive_flag_spec_FC=
12413 tmp_sharedflag='--shared' ;;
12414 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12415 tmp_sharedflag='-qmkshrobj'
12416 tmp_addflag= ;;
12417 esac
12418 case `$CC -V 2>&1 | sed 5q` in
12419 *Sun\ C*) # Sun C 5.9
12420 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12421 compiler_needs_object_FC=yes
12422 tmp_sharedflag='-G' ;;
12423 *Sun\ F*) # Sun Fortran 8.3
12424 tmp_sharedflag='-G' ;;
12425 esac
12426 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12428 if test "x$supports_anon_versioning" = xyes; then
12429 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12430 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12431 echo "local: *; };" >> $output_objdir/$libname.ver~
12432 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12435 case $cc_basename in
12436 xlf*)
12437 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12438 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12439 hardcode_libdir_flag_spec_FC=
12440 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12441 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12442 if test "x$supports_anon_versioning" = xyes; then
12443 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12444 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12445 echo "local: *; };" >> $output_objdir/$libname.ver~
12446 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12449 esac
12450 else
12451 ld_shlibs_FC=no
12455 netbsd*)
12456 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12457 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12458 wlarc=
12459 else
12460 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12461 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12465 solaris*)
12466 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12467 ld_shlibs_FC=no
12468 cat <<_LT_EOF 1>&2
12470 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12471 *** create shared libraries on Solaris systems. Therefore, libtool
12472 *** is disabling shared libraries support. We urge you to upgrade GNU
12473 *** binutils to release 2.9.1 or newer. Another option is to modify
12474 *** your PATH or compiler configuration so that the native linker is
12475 *** used, and then restart.
12477 _LT_EOF
12478 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12479 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12480 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12481 else
12482 ld_shlibs_FC=no
12486 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12487 case `$LD -v 2>&1` in
12488 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12489 ld_shlibs_FC=no
12490 cat <<_LT_EOF 1>&2
12492 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12493 *** reliably create shared libraries on SCO systems. Therefore, libtool
12494 *** is disabling shared libraries support. We urge you to upgrade GNU
12495 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12496 *** your PATH or compiler configuration so that the native linker is
12497 *** used, and then restart.
12499 _LT_EOF
12502 # For security reasons, it is highly recommended that you always
12503 # use absolute paths for naming shared libraries, and exclude the
12504 # DT_RUNPATH tag from executables and libraries. But doing so
12505 # requires that you compile everything twice, which is a pain.
12506 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12507 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12508 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12509 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12510 else
12511 ld_shlibs_FC=no
12514 esac
12517 sunos4*)
12518 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12519 wlarc=
12520 hardcode_direct_FC=yes
12521 hardcode_shlibpath_var_FC=no
12525 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12526 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12527 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12528 else
12529 ld_shlibs_FC=no
12532 esac
12534 if test "$ld_shlibs_FC" = no; then
12535 runpath_var=
12536 hardcode_libdir_flag_spec_FC=
12537 export_dynamic_flag_spec_FC=
12538 whole_archive_flag_spec_FC=
12540 else
12541 # PORTME fill in a description of your system's linker (not GNU ld)
12542 case $host_os in
12543 aix3*)
12544 allow_undefined_flag_FC=unsupported
12545 always_export_symbols_FC=yes
12546 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12547 # Note: this linker hardcodes the directories in LIBPATH if there
12548 # are no directories specified by -L.
12549 hardcode_minus_L_FC=yes
12550 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12551 # Neither direct hardcoding nor static linking is supported with a
12552 # broken collect2.
12553 hardcode_direct_FC=unsupported
12557 aix[4-9]*)
12558 if test "$host_cpu" = ia64; then
12559 # On IA64, the linker does run time linking by default, so we don't
12560 # have to do anything special.
12561 aix_use_runtimelinking=no
12562 exp_sym_flag='-Bexport'
12563 no_entry_flag=""
12564 else
12565 # If we're using GNU nm, then we don't want the "-C" option.
12566 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12567 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12568 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12569 else
12570 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12572 aix_use_runtimelinking=no
12574 # Test if we are trying to use run time linking or normal
12575 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12576 # need to do runtime linking.
12577 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12578 for ld_flag in $LDFLAGS; do
12579 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12580 aix_use_runtimelinking=yes
12581 break
12583 done
12585 esac
12587 exp_sym_flag='-bexport'
12588 no_entry_flag='-bnoentry'
12591 # When large executables or shared objects are built, AIX ld can
12592 # have problems creating the table of contents. If linking a library
12593 # or program results in "error TOC overflow" add -mminimal-toc to
12594 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12595 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12597 archive_cmds_FC=''
12598 hardcode_direct_FC=yes
12599 hardcode_direct_absolute_FC=yes
12600 hardcode_libdir_separator_FC=':'
12601 link_all_deplibs_FC=yes
12602 file_list_spec_FC='${wl}-f,'
12604 if test "$GCC" = yes; then
12605 case $host_os in aix4.[012]|aix4.[012].*)
12606 # We only want to do this on AIX 4.2 and lower, the check
12607 # below for broken collect2 doesn't work under 4.3+
12608 collect2name=`${CC} -print-prog-name=collect2`
12609 if test -f "$collect2name" &&
12610 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12611 then
12612 # We have reworked collect2
12614 else
12615 # We have old collect2
12616 hardcode_direct_FC=unsupported
12617 # It fails to find uninstalled libraries when the uninstalled
12618 # path is not listed in the libpath. Setting hardcode_minus_L
12619 # to unsupported forces relinking
12620 hardcode_minus_L_FC=yes
12621 hardcode_libdir_flag_spec_FC='-L$libdir'
12622 hardcode_libdir_separator_FC=
12625 esac
12626 shared_flag='-shared'
12627 if test "$aix_use_runtimelinking" = yes; then
12628 shared_flag="$shared_flag "'${wl}-G'
12630 else
12631 # not using gcc
12632 if test "$host_cpu" = ia64; then
12633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12634 # chokes on -Wl,-G. The following line is correct:
12635 shared_flag='-G'
12636 else
12637 if test "$aix_use_runtimelinking" = yes; then
12638 shared_flag='${wl}-G'
12639 else
12640 shared_flag='${wl}-bM:SRE'
12645 export_dynamic_flag_spec_FC='${wl}-bexpall'
12646 # It seems that -bexpall does not export symbols beginning with
12647 # underscore (_), so it is better to generate a list of symbols to export.
12648 always_export_symbols_FC=yes
12649 if test "$aix_use_runtimelinking" = yes; then
12650 # Warning - without using the other runtime loading flags (-brtl),
12651 # -berok will link without error, but may produce a broken library.
12652 allow_undefined_flag_FC='-berok'
12653 # Determine the default libpath from the value encoded in an
12654 # empty executable.
12655 if test x$gcc_no_link = xyes; then
12656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12658 { (exit 1); exit 1; }; }
12660 cat >conftest.$ac_ext <<_ACEOF
12661 program main
12664 _ACEOF
12665 rm -f conftest.$ac_objext conftest$ac_exeext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12667 (eval $ac_link) 2>conftest.er1
12668 ac_status=$?
12669 grep -v '^ *+' conftest.er1 >conftest.err
12670 rm -f conftest.er1
12671 cat conftest.err >&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try='test -z "$ac_fc_werror_flag"
12675 || test ! -s conftest.err'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12678 ac_status=$?
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12684 ac_status=$?
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12688 lt_aix_libpath_sed='
12689 /Import File Strings/,/^$/ {
12690 /^0/ {
12691 s/^0 *\(.*\)$/\1/
12695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12696 # Check for a 64-bit object if we didn't find anything.
12697 if test -z "$aix_libpath"; then
12698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12700 else
12701 echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.$ac_ext >&5
12705 rm -f conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12707 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12709 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12710 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12711 else
12712 if test "$host_cpu" = ia64; then
12713 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12714 allow_undefined_flag_FC="-z nodefs"
12715 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12716 else
12717 # Determine the default libpath from the value encoded in an
12718 # empty executable.
12719 if test x$gcc_no_link = xyes; then
12720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12722 { (exit 1); exit 1; }; }
12724 cat >conftest.$ac_ext <<_ACEOF
12725 program main
12728 _ACEOF
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731 (eval $ac_link) 2>conftest.er1
12732 ac_status=$?
12733 grep -v '^ *+' conftest.er1 >conftest.err
12734 rm -f conftest.er1
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } &&
12738 { ac_try='test -z "$ac_fc_werror_flag"
12739 || test ! -s conftest.err'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12742 ac_status=$?
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; } &&
12745 { ac_try='test -s conftest$ac_exeext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12748 ac_status=$?
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12752 lt_aix_libpath_sed='
12753 /Import File Strings/,/^$/ {
12754 /^0/ {
12755 s/^0 *\(.*\)$/\1/
12759 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 # Check for a 64-bit object if we didn't find anything.
12761 if test -z "$aix_libpath"; then
12762 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12764 else
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12769 rm -f conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12773 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12774 # Warning - without using the other run time loading flags,
12775 # -berok will link without error, but may produce a broken library.
12776 no_undefined_flag_FC=' ${wl}-bernotok'
12777 allow_undefined_flag_FC=' ${wl}-berok'
12778 # Exported symbols can be pulled into shared objects from archives
12779 whole_archive_flag_spec_FC='$convenience'
12780 archive_cmds_need_lc_FC=yes
12781 # This is similar to how AIX traditionally builds its shared libraries.
12782 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12787 amigaos*)
12788 case $host_cpu in
12789 powerpc)
12790 # see comment about AmigaOS4 .so support
12791 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12792 archive_expsym_cmds_FC=''
12794 m68k)
12795 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12796 hardcode_libdir_flag_spec_FC='-L$libdir'
12797 hardcode_minus_L_FC=yes
12799 esac
12802 bsdi[45]*)
12803 export_dynamic_flag_spec_FC=-rdynamic
12806 cygwin* | mingw* | pw32* | cegcc*)
12807 # When not using gcc, we currently assume that we are using
12808 # Microsoft Visual C++.
12809 # hardcode_libdir_flag_spec is actually meaningless, as there is
12810 # no search path for DLLs.
12811 hardcode_libdir_flag_spec_FC=' '
12812 allow_undefined_flag_FC=unsupported
12813 # Tell ltmain to make .lib files, not .a files.
12814 libext=lib
12815 # Tell ltmain to make .dll files, not .so files.
12816 shrext_cmds=".dll"
12817 # FIXME: Setting linknames here is a bad hack.
12818 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12819 # The linker will automatically build a .lib file if we build a DLL.
12820 old_archive_from_new_cmds_FC='true'
12821 # FIXME: Should let the user specify the lib program.
12822 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12823 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12824 enable_shared_with_static_runtimes_FC=yes
12827 darwin* | rhapsody*)
12830 archive_cmds_need_lc_FC=no
12831 hardcode_direct_FC=no
12832 hardcode_automatic_FC=yes
12833 hardcode_shlibpath_var_FC=unsupported
12834 whole_archive_flag_spec_FC=''
12835 link_all_deplibs_FC=yes
12836 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
12837 case $cc_basename in
12838 ifort*) _lt_dar_can_shared=yes ;;
12839 *) _lt_dar_can_shared=$GCC ;;
12840 esac
12841 if test "$_lt_dar_can_shared" = "yes"; then
12842 output_verbose_link_cmd=echo
12843 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12844 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12845 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12846 module_expsym_cmds_FC="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12848 else
12849 ld_shlibs_FC=no
12854 dgux*)
12855 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12856 hardcode_libdir_flag_spec_FC='-L$libdir'
12857 hardcode_shlibpath_var_FC=no
12860 freebsd1*)
12861 ld_shlibs_FC=no
12864 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12865 # support. Future versions do this automatically, but an explicit c++rt0.o
12866 # does not break anything, and helps significantly (at the cost of a little
12867 # extra space).
12868 freebsd2.2*)
12869 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12870 hardcode_libdir_flag_spec_FC='-R$libdir'
12871 hardcode_direct_FC=yes
12872 hardcode_shlibpath_var_FC=no
12875 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12876 freebsd2*)
12877 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12878 hardcode_direct_FC=yes
12879 hardcode_minus_L_FC=yes
12880 hardcode_shlibpath_var_FC=no
12883 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12884 freebsd* | dragonfly*)
12885 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12886 hardcode_libdir_flag_spec_FC='-R$libdir'
12887 hardcode_direct_FC=yes
12888 hardcode_shlibpath_var_FC=no
12891 hpux9*)
12892 if test "$GCC" = yes; then
12893 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12894 else
12895 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12897 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12898 hardcode_libdir_separator_FC=:
12899 hardcode_direct_FC=yes
12901 # hardcode_minus_L: Not really in the search PATH,
12902 # but as the default location of the library.
12903 hardcode_minus_L_FC=yes
12904 export_dynamic_flag_spec_FC='${wl}-E'
12907 hpux10*)
12908 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12909 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12910 else
12911 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12913 if test "$with_gnu_ld" = no; then
12914 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12915 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12916 hardcode_libdir_separator_FC=:
12917 hardcode_direct_FC=yes
12918 hardcode_direct_absolute_FC=yes
12919 export_dynamic_flag_spec_FC='${wl}-E'
12920 # hardcode_minus_L: Not really in the search PATH,
12921 # but as the default location of the library.
12922 hardcode_minus_L_FC=yes
12926 hpux11*)
12927 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12928 case $host_cpu in
12929 hppa*64*)
12930 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12932 ia64*)
12933 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12936 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12938 esac
12939 else
12940 case $host_cpu in
12941 hppa*64*)
12942 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12944 ia64*)
12945 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12948 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12950 esac
12952 if test "$with_gnu_ld" = no; then
12953 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12954 hardcode_libdir_separator_FC=:
12956 case $host_cpu in
12957 hppa*64*|ia64*)
12958 hardcode_direct_FC=no
12959 hardcode_shlibpath_var_FC=no
12962 hardcode_direct_FC=yes
12963 hardcode_direct_absolute_FC=yes
12964 export_dynamic_flag_spec_FC='${wl}-E'
12966 # hardcode_minus_L: Not really in the search PATH,
12967 # but as the default location of the library.
12968 hardcode_minus_L_FC=yes
12970 esac
12974 irix5* | irix6* | nonstopux*)
12975 if test "$GCC" = yes; then
12976 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12977 # Try to use the -exported_symbol ld option, if it does not
12978 # work, assume that -exports_file does not work either and
12979 # implicitly export all symbols.
12980 save_LDFLAGS="$LDFLAGS"
12981 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12982 if test x$gcc_no_link = xyes; then
12983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12985 { (exit 1); exit 1; }; }
12987 cat >conftest.$ac_ext <<_ACEOF
12988 int foo(void) {}
12989 _ACEOF
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12992 (eval $ac_link) 2>conftest.er1
12993 ac_status=$?
12994 grep -v '^ *+' conftest.er1 >conftest.err
12995 rm -f conftest.er1
12996 cat conftest.err >&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } &&
12999 { ac_try='test -z "$ac_fc_werror_flag"
13000 || test ! -s conftest.err'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13003 ac_status=$?
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; } &&
13006 { ac_try='test -s conftest$ac_exeext'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13009 ac_status=$?
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; }; then
13012 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13014 else
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13019 rm -f conftest.err conftest.$ac_objext \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LDFLAGS="$save_LDFLAGS"
13022 else
13023 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13024 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13026 archive_cmds_need_lc_FC='no'
13027 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13028 hardcode_libdir_separator_FC=:
13029 inherit_rpath_FC=yes
13030 link_all_deplibs_FC=yes
13033 netbsd*)
13034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13035 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13036 else
13037 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13039 hardcode_libdir_flag_spec_FC='-R$libdir'
13040 hardcode_direct_FC=yes
13041 hardcode_shlibpath_var_FC=no
13044 newsos6)
13045 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046 hardcode_direct_FC=yes
13047 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13048 hardcode_libdir_separator_FC=:
13049 hardcode_shlibpath_var_FC=no
13052 *nto* | *qnx*)
13055 openbsd*)
13056 if test -f /usr/libexec/ld.so; then
13057 hardcode_direct_FC=yes
13058 hardcode_shlibpath_var_FC=no
13059 hardcode_direct_absolute_FC=yes
13060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13061 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13062 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13063 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13064 export_dynamic_flag_spec_FC='${wl}-E'
13065 else
13066 case $host_os in
13067 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13068 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13069 hardcode_libdir_flag_spec_FC='-R$libdir'
13072 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13073 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13075 esac
13077 else
13078 ld_shlibs_FC=no
13082 os2*)
13083 hardcode_libdir_flag_spec_FC='-L$libdir'
13084 hardcode_minus_L_FC=yes
13085 allow_undefined_flag_FC=unsupported
13086 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13087 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13090 osf3*)
13091 if test "$GCC" = yes; then
13092 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13093 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13094 else
13095 allow_undefined_flag_FC=' -expect_unresolved \*'
13096 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13098 archive_cmds_need_lc_FC='no'
13099 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_FC=:
13103 osf4* | osf5*) # as osf3* with the addition of -msym flag
13104 if test "$GCC" = yes; then
13105 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13106 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13107 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13108 else
13109 allow_undefined_flag_FC=' -expect_unresolved \*'
13110 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13111 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13112 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13114 # Both c and cxx compiler support -rpath directly
13115 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13117 archive_cmds_need_lc_FC='no'
13118 hardcode_libdir_separator_FC=:
13121 solaris*)
13122 no_undefined_flag_FC=' -z defs'
13123 if test "$GCC" = yes; then
13124 wlarc='${wl}'
13125 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13128 else
13129 case `$CC -V 2>&1` in
13130 *"Compilers 5.0"*)
13131 wlarc=''
13132 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13133 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13137 wlarc='${wl}'
13138 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13139 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13140 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13142 esac
13144 hardcode_libdir_flag_spec_FC='-R$libdir'
13145 hardcode_shlibpath_var_FC=no
13146 case $host_os in
13147 solaris2.[0-5] | solaris2.[0-5].*) ;;
13149 # The compiler driver will combine and reorder linker options,
13150 # but understands `-z linker_flag'. GCC discards it without `$wl',
13151 # but is careful enough not to reorder.
13152 # Supported since Solaris 2.6 (maybe 2.5.1?)
13153 if test "$GCC" = yes; then
13154 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13155 else
13156 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13159 esac
13160 link_all_deplibs_FC=yes
13163 sunos4*)
13164 if test "x$host_vendor" = xsequent; then
13165 # Use $CC to link under sequent, because it throws in some extra .o
13166 # files that make .init and .fini sections work.
13167 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13168 else
13169 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13171 hardcode_libdir_flag_spec_FC='-L$libdir'
13172 hardcode_direct_FC=yes
13173 hardcode_minus_L_FC=yes
13174 hardcode_shlibpath_var_FC=no
13177 sysv4)
13178 case $host_vendor in
13179 sni)
13180 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13181 hardcode_direct_FC=yes # is this really true???
13183 siemens)
13184 ## LD is ld it makes a PLAMLIB
13185 ## CC just makes a GrossModule.
13186 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13187 reload_cmds_FC='$CC -r -o $output$reload_objs'
13188 hardcode_direct_FC=no
13190 motorola)
13191 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13192 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13194 esac
13195 runpath_var='LD_RUN_PATH'
13196 hardcode_shlibpath_var_FC=no
13199 sysv4.3*)
13200 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13201 hardcode_shlibpath_var_FC=no
13202 export_dynamic_flag_spec_FC='-Bexport'
13205 sysv4*MP*)
13206 if test -d /usr/nec; then
13207 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13208 hardcode_shlibpath_var_FC=no
13209 runpath_var=LD_RUN_PATH
13210 hardcode_runpath_var=yes
13211 ld_shlibs_FC=yes
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_FC='${wl}-z,text'
13217 archive_cmds_need_lc_FC=no
13218 hardcode_shlibpath_var_FC=no
13219 runpath_var='LD_RUN_PATH'
13221 if test "$GCC" = yes; then
13222 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13223 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 else
13225 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 sysv5* | sco3.2v5* | sco5v6*)
13231 # Note: We can NOT use -z defs as we might desire, because we do not
13232 # link with -lc, and that would cause any symbols used from libc to
13233 # always be unresolved, which means just about no library would
13234 # ever link correctly. If we're not using GNU ld we use -z text
13235 # though, which does catch some bad symbols but isn't as heavy-handed
13236 # as -z defs.
13237 no_undefined_flag_FC='${wl}-z,text'
13238 allow_undefined_flag_FC='${wl}-z,nodefs'
13239 archive_cmds_need_lc_FC=no
13240 hardcode_shlibpath_var_FC=no
13241 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13242 hardcode_libdir_separator_FC=':'
13243 link_all_deplibs_FC=yes
13244 export_dynamic_flag_spec_FC='${wl}-Bexport'
13245 runpath_var='LD_RUN_PATH'
13247 if test "$GCC" = yes; then
13248 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 else
13251 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13256 uts4*)
13257 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13258 hardcode_libdir_flag_spec_FC='-L$libdir'
13259 hardcode_shlibpath_var_FC=no
13263 ld_shlibs_FC=no
13265 esac
13267 if test x$host_vendor = xsni; then
13268 case $host in
13269 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13270 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13272 esac
13276 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13277 echo "${ECHO_T}$ld_shlibs_FC" >&6
13278 test "$ld_shlibs_FC" = no && can_build_shared=no
13280 with_gnu_ld_FC=$with_gnu_ld
13288 # Do we need to explicitly link libc?
13290 case "x$archive_cmds_need_lc_FC" in
13291 x|xyes)
13292 # Assume -lc should be added
13293 archive_cmds_need_lc_FC=yes
13295 if test "$enable_shared" = yes && test "$GCC" = yes; then
13296 case $archive_cmds_FC in
13297 *'~'*)
13298 # FIXME: we may have to deal with multi-command sequences.
13300 '$CC '*)
13301 # Test whether the compiler implicitly links with -lc since on some
13302 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13303 # to ld, don't add -lc before -lgcc.
13304 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13305 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13306 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13308 else
13309 $RM conftest*
13310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>&5
13314 ac_status=$?
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } 2>conftest.err; then
13317 soname=conftest
13318 lib=conftest
13319 libobjs=conftest.$ac_objext
13320 deplibs=
13321 wl=$lt_prog_compiler_wl_FC
13322 pic_flag=$lt_prog_compiler_pic_FC
13323 compiler_flags=-v
13324 linker_flags=-v
13325 verstring=
13326 output_objdir=.
13327 libname=conftest
13328 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13329 allow_undefined_flag_FC=
13330 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13331 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }
13335 then
13336 lt_cv_archive_cmds_need_lc_FC=no
13337 else
13338 lt_cv_archive_cmds_need_lc_FC=yes
13340 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13341 else
13342 cat conftest.err 1>&5
13344 $RM conftest*
13347 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13348 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_FC" >&6
13349 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13351 esac
13354 esac
13419 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13420 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13422 library_names_spec=
13423 libname_spec='lib$name'
13424 soname_spec=
13425 shrext_cmds=".so"
13426 postinstall_cmds=
13427 postuninstall_cmds=
13428 finish_cmds=
13429 finish_eval=
13430 shlibpath_var=
13431 shlibpath_overrides_runpath=unknown
13432 version_type=none
13433 dynamic_linker="$host_os ld.so"
13434 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13435 need_lib_prefix=unknown
13436 hardcode_into_libs=no
13438 # when you set need_version to no, make sure it does not cause -set_version
13439 # flags to be left without arguments
13440 need_version=unknown
13442 case $host_os in
13443 aix3*)
13444 version_type=linux
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13446 shlibpath_var=LIBPATH
13448 # AIX 3 has no versioning support, so we append a major version to the name.
13449 soname_spec='${libname}${release}${shared_ext}$major'
13452 aix[4-9]*)
13453 version_type=linux
13454 need_lib_prefix=no
13455 need_version=no
13456 hardcode_into_libs=yes
13457 if test "$host_cpu" = ia64; then
13458 # AIX 5 supports IA64
13459 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13460 shlibpath_var=LD_LIBRARY_PATH
13461 else
13462 # With GCC up to 2.95.x, collect2 would create an import file
13463 # for dependence libraries. The import file would start with
13464 # the line `#! .'. This would cause the generated library to
13465 # depend on `.', always an invalid library. This was fixed in
13466 # development snapshots of GCC prior to 3.0.
13467 case $host_os in
13468 aix4 | aix4.[01] | aix4.[01].*)
13469 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13470 echo ' yes '
13471 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13473 else
13474 can_build_shared=no
13477 esac
13478 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13479 # soname into executable. Probably we can add versioning support to
13480 # collect2, so additional links can be useful in future.
13481 if test "$aix_use_runtimelinking" = yes; then
13482 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13483 # instead of lib<name>.a to let people know that these are not
13484 # typical AIX shared libraries.
13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486 else
13487 # We preserve .a as extension for shared libraries through AIX4.2
13488 # and later when we are not doing run time linking.
13489 library_names_spec='${libname}${release}.a $libname.a'
13490 soname_spec='${libname}${release}${shared_ext}$major'
13492 shlibpath_var=LIBPATH
13496 amigaos*)
13497 case $host_cpu in
13498 powerpc)
13499 # Since July 2007 AmigaOS4 officially supports .so libraries.
13500 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503 m68k)
13504 library_names_spec='$libname.ixlibrary $libname.a'
13505 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13506 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13508 esac
13511 beos*)
13512 library_names_spec='${libname}${shared_ext}'
13513 dynamic_linker="$host_os ld.so"
13514 shlibpath_var=LIBRARY_PATH
13517 bsdi[45]*)
13518 version_type=linux
13519 need_version=no
13520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13521 soname_spec='${libname}${release}${shared_ext}$major'
13522 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13523 shlibpath_var=LD_LIBRARY_PATH
13524 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13525 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13526 # the default ld.so.conf also contains /usr/contrib/lib and
13527 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13528 # libtool to hard-code these into programs
13531 cygwin* | mingw* | pw32* | cegcc*)
13532 version_type=windows
13533 shrext_cmds=".dll"
13534 need_version=no
13535 need_lib_prefix=no
13537 case $GCC,$host_os in
13538 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13539 library_names_spec='$libname.dll.a'
13540 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13541 postinstall_cmds='base_file=`basename \${file}`~
13542 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13543 dldir=$destdir/`dirname \$dlpath`~
13544 test -d \$dldir || mkdir -p \$dldir~
13545 $install_prog $dir/$dlname \$dldir/$dlname~
13546 chmod a+x \$dldir/$dlname~
13547 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13548 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13550 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13551 dlpath=$dir/\$dldll~
13552 $RM \$dlpath'
13553 shlibpath_overrides_runpath=yes
13555 case $host_os in
13556 cygwin*)
13557 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13558 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13559 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13561 mingw* | cegcc*)
13562 # MinGW DLLs use traditional 'lib' prefix
13563 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13564 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13565 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13566 # It is most probably a Windows format PATH printed by
13567 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13568 # path with ; separators, and with drive letters. We can handle the
13569 # drive letters (cygwin fileutils understands them), so leave them,
13570 # especially as we might pass files found there to a mingw objdump,
13571 # which wouldn't understand a cygwinified path. Ahh.
13572 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13573 else
13574 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13577 pw32*)
13578 # pw32 DLLs use 'pw' prefix rather than 'lib'
13579 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13581 esac
13585 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13587 esac
13588 dynamic_linker='Win32 ld.exe'
13589 # FIXME: first we should search . and the directory the executable is in
13590 shlibpath_var=PATH
13593 darwin* | rhapsody*)
13594 dynamic_linker="$host_os dyld"
13595 version_type=darwin
13596 need_lib_prefix=no
13597 need_version=no
13598 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13599 soname_spec='${libname}${release}${major}$shared_ext'
13600 shlibpath_overrides_runpath=yes
13601 shlibpath_var=DYLD_LIBRARY_PATH
13602 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13604 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13607 dgux*)
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13612 soname_spec='${libname}${release}${shared_ext}$major'
13613 shlibpath_var=LD_LIBRARY_PATH
13616 freebsd1*)
13617 dynamic_linker=no
13620 freebsd* | dragonfly*)
13621 # DragonFly does not have aout. When/if they implement a new
13622 # versioning mechanism, adjust this.
13623 if test -x /usr/bin/objformat; then
13624 objformat=`/usr/bin/objformat`
13625 else
13626 case $host_os in
13627 freebsd[123]*) objformat=aout ;;
13628 *) objformat=elf ;;
13629 esac
13631 version_type=freebsd-$objformat
13632 case $version_type in
13633 freebsd-elf*)
13634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13635 need_version=no
13636 need_lib_prefix=no
13638 freebsd-*)
13639 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13640 need_version=yes
13642 esac
13643 shlibpath_var=LD_LIBRARY_PATH
13644 case $host_os in
13645 freebsd2*)
13646 shlibpath_overrides_runpath=yes
13648 freebsd3.[01]* | freebsdelf3.[01]*)
13649 shlibpath_overrides_runpath=yes
13650 hardcode_into_libs=yes
13652 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13653 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13654 shlibpath_overrides_runpath=no
13655 hardcode_into_libs=yes
13657 *) # from 4.6 on, and DragonFly
13658 shlibpath_overrides_runpath=yes
13659 hardcode_into_libs=yes
13661 esac
13664 gnu*)
13665 version_type=linux
13666 need_lib_prefix=no
13667 need_version=no
13668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13669 soname_spec='${libname}${release}${shared_ext}$major'
13670 shlibpath_var=LD_LIBRARY_PATH
13671 hardcode_into_libs=yes
13674 hpux9* | hpux10* | hpux11*)
13675 # Give a soname corresponding to the major version so that dld.sl refuses to
13676 # link against other versions.
13677 version_type=sunos
13678 need_lib_prefix=no
13679 need_version=no
13680 case $host_cpu in
13681 ia64*)
13682 shrext_cmds='.so'
13683 hardcode_into_libs=yes
13684 dynamic_linker="$host_os dld.so"
13685 shlibpath_var=LD_LIBRARY_PATH
13686 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13688 soname_spec='${libname}${release}${shared_ext}$major'
13689 if test "X$HPUX_IA64_MODE" = X32; then
13690 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13691 else
13692 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13694 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13696 hppa*64*)
13697 shrext_cmds='.sl'
13698 hardcode_into_libs=yes
13699 dynamic_linker="$host_os dld.sl"
13700 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13701 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13703 soname_spec='${libname}${release}${shared_ext}$major'
13704 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13705 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13708 shrext_cmds='.sl'
13709 dynamic_linker="$host_os dld.sl"
13710 shlibpath_var=SHLIB_PATH
13711 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13713 soname_spec='${libname}${release}${shared_ext}$major'
13715 esac
13716 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13717 postinstall_cmds='chmod 555 $lib'
13720 interix[3-9]*)
13721 version_type=linux
13722 need_lib_prefix=no
13723 need_version=no
13724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13725 soname_spec='${libname}${release}${shared_ext}$major'
13726 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13727 shlibpath_var=LD_LIBRARY_PATH
13728 shlibpath_overrides_runpath=no
13729 hardcode_into_libs=yes
13732 irix5* | irix6* | nonstopux*)
13733 case $host_os in
13734 nonstopux*) version_type=nonstopux ;;
13736 if test "$lt_cv_prog_gnu_ld" = yes; then
13737 version_type=linux
13738 else
13739 version_type=irix
13740 fi ;;
13741 esac
13742 need_lib_prefix=no
13743 need_version=no
13744 soname_spec='${libname}${release}${shared_ext}$major'
13745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13746 case $host_os in
13747 irix5* | nonstopux*)
13748 libsuff= shlibsuff=
13751 case $LD in # libtool.m4 will add one of these switches to LD
13752 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13753 libsuff= shlibsuff= libmagic=32-bit;;
13754 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13755 libsuff=32 shlibsuff=N32 libmagic=N32;;
13756 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13757 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13758 *) libsuff= shlibsuff= libmagic=never-match;;
13759 esac
13761 esac
13762 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13763 shlibpath_overrides_runpath=no
13764 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13765 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13766 hardcode_into_libs=yes
13769 # No shared lib support for Linux oldld, aout, or coff.
13770 linux*oldld* | linux*aout* | linux*coff*)
13771 dynamic_linker=no
13774 # This must be Linux ELF.
13775 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13776 version_type=linux
13777 need_lib_prefix=no
13778 need_version=no
13779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13780 soname_spec='${libname}${release}${shared_ext}$major'
13781 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13782 shlibpath_var=LD_LIBRARY_PATH
13783 shlibpath_overrides_runpath=no
13785 # Some binutils ld are patched to set DT_RUNPATH
13786 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 else
13789 lt_cv_shlibpath_overrides_runpath=no
13790 save_LDFLAGS=$LDFLAGS
13791 save_libdir=$libdir
13792 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13793 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13794 if test x$gcc_no_link = xyes; then
13795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13797 { (exit 1); exit 1; }; }
13799 cat >conftest.$ac_ext <<_ACEOF
13800 program main
13803 _ACEOF
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13806 (eval $ac_link) 2>conftest.er1
13807 ac_status=$?
13808 grep -v '^ *+' conftest.er1 >conftest.err
13809 rm -f conftest.er1
13810 cat conftest.err >&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } &&
13813 { ac_try='test -z "$ac_fc_werror_flag"
13814 || test ! -s conftest.err'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; } &&
13820 { ac_try='test -s conftest$ac_exeext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13823 ac_status=$?
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13827 lt_cv_shlibpath_overrides_runpath=yes
13830 else
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.$ac_ext >&5
13835 rm -f conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LDFLAGS=$save_LDFLAGS
13838 libdir=$save_libdir
13842 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13844 # This implies no fast_install, which is unacceptable.
13845 # Some rework will be needed to allow for fast_install
13846 # before this can be enabled.
13847 hardcode_into_libs=yes
13849 # Append ld.so.conf contents to the search path
13850 if test -f /etc/ld.so.conf; then
13851 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13852 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13855 # We used to test for /lib/ld.so.1 and disable shared libraries on
13856 # powerpc, because MkLinux only supported shared libraries with the
13857 # GNU dynamic linker. Since this was broken with cross compilers,
13858 # most powerpc-linux boxes support dynamic linking these days and
13859 # people can always --disable-shared, the test was removed, and we
13860 # assume the GNU/Linux dynamic linker is in use.
13861 dynamic_linker='GNU/Linux ld.so'
13864 netbsd*)
13865 version_type=sunos
13866 need_lib_prefix=no
13867 need_version=no
13868 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13871 dynamic_linker='NetBSD (a.out) ld.so'
13872 else
13873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13874 soname_spec='${libname}${release}${shared_ext}$major'
13875 dynamic_linker='NetBSD ld.elf_so'
13877 shlibpath_var=LD_LIBRARY_PATH
13878 shlibpath_overrides_runpath=yes
13879 hardcode_into_libs=yes
13882 newsos6)
13883 version_type=linux
13884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13885 shlibpath_var=LD_LIBRARY_PATH
13886 shlibpath_overrides_runpath=yes
13889 *nto* | *qnx*)
13890 version_type=qnx
13891 need_lib_prefix=no
13892 need_version=no
13893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13894 soname_spec='${libname}${release}${shared_ext}$major'
13895 shlibpath_var=LD_LIBRARY_PATH
13896 shlibpath_overrides_runpath=no
13897 hardcode_into_libs=yes
13898 dynamic_linker='ldqnx.so'
13901 openbsd*)
13902 version_type=sunos
13903 sys_lib_dlsearch_path_spec="/usr/lib"
13904 need_lib_prefix=no
13905 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13906 case $host_os in
13907 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13908 *) need_version=no ;;
13909 esac
13910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13912 shlibpath_var=LD_LIBRARY_PATH
13913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13914 case $host_os in
13915 openbsd2.[89] | openbsd2.[89].*)
13916 shlibpath_overrides_runpath=no
13919 shlibpath_overrides_runpath=yes
13921 esac
13922 else
13923 shlibpath_overrides_runpath=yes
13927 os2*)
13928 libname_spec='$name'
13929 shrext_cmds=".dll"
13930 need_lib_prefix=no
13931 library_names_spec='$libname${shared_ext} $libname.a'
13932 dynamic_linker='OS/2 ld.exe'
13933 shlibpath_var=LIBPATH
13936 osf3* | osf4* | osf5*)
13937 version_type=osf
13938 need_lib_prefix=no
13939 need_version=no
13940 soname_spec='${libname}${release}${shared_ext}$major'
13941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13942 shlibpath_var=LD_LIBRARY_PATH
13943 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13944 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13947 rdos*)
13948 dynamic_linker=no
13951 solaris*)
13952 version_type=linux
13953 need_lib_prefix=no
13954 need_version=no
13955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13956 soname_spec='${libname}${release}${shared_ext}$major'
13957 shlibpath_var=LD_LIBRARY_PATH
13958 shlibpath_overrides_runpath=yes
13959 hardcode_into_libs=yes
13960 # ldd complains unless libraries are executable
13961 postinstall_cmds='chmod +x $lib'
13964 sunos4*)
13965 version_type=sunos
13966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13967 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13968 shlibpath_var=LD_LIBRARY_PATH
13969 shlibpath_overrides_runpath=yes
13970 if test "$with_gnu_ld" = yes; then
13971 need_lib_prefix=no
13973 need_version=yes
13976 sysv4 | sysv4.3*)
13977 version_type=linux
13978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979 soname_spec='${libname}${release}${shared_ext}$major'
13980 shlibpath_var=LD_LIBRARY_PATH
13981 case $host_vendor in
13982 sni)
13983 shlibpath_overrides_runpath=no
13984 need_lib_prefix=no
13985 runpath_var=LD_RUN_PATH
13987 siemens)
13988 need_lib_prefix=no
13990 motorola)
13991 need_lib_prefix=no
13992 need_version=no
13993 shlibpath_overrides_runpath=no
13994 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13996 esac
13999 sysv4*MP*)
14000 if test -d /usr/nec ;then
14001 version_type=linux
14002 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14003 soname_spec='$libname${shared_ext}.$major'
14004 shlibpath_var=LD_LIBRARY_PATH
14008 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14009 version_type=freebsd-elf
14010 need_lib_prefix=no
14011 need_version=no
14012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14013 soname_spec='${libname}${release}${shared_ext}$major'
14014 shlibpath_var=LD_LIBRARY_PATH
14015 shlibpath_overrides_runpath=yes
14016 hardcode_into_libs=yes
14017 if test "$with_gnu_ld" = yes; then
14018 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14019 else
14020 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14021 case $host_os in
14022 sco3.2v5*)
14023 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14025 esac
14027 sys_lib_dlsearch_path_spec='/usr/lib'
14030 tpf*)
14031 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14032 version_type=linux
14033 need_lib_prefix=no
14034 need_version=no
14035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14036 shlibpath_var=LD_LIBRARY_PATH
14037 shlibpath_overrides_runpath=no
14038 hardcode_into_libs=yes
14041 uts4*)
14042 version_type=linux
14043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14044 soname_spec='${libname}${release}${shared_ext}$major'
14045 shlibpath_var=LD_LIBRARY_PATH
14049 dynamic_linker=no
14051 esac
14052 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14053 echo "${ECHO_T}$dynamic_linker" >&6
14054 test "$dynamic_linker" = no && can_build_shared=no
14056 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14057 if test "$GCC" = yes; then
14058 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14061 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14062 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14064 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14065 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14103 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14104 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14105 hardcode_action_FC=
14106 if test -n "$hardcode_libdir_flag_spec_FC" ||
14107 test -n "$runpath_var_FC" ||
14108 test "X$hardcode_automatic_FC" = "Xyes" ; then
14110 # We can hardcode non-existent directories.
14111 if test "$hardcode_direct_FC" != no &&
14112 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14113 # have to relink, otherwise we might link with an installed library
14114 # when we should be linking with a yet-to-be-installed one
14115 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14116 test "$hardcode_minus_L_FC" != no; then
14117 # Linking always hardcodes the temporary library directory.
14118 hardcode_action_FC=relink
14119 else
14120 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14121 hardcode_action_FC=immediate
14123 else
14124 # We cannot hardcode anything, or else we can only hardcode existing
14125 # directories.
14126 hardcode_action_FC=unsupported
14128 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14129 echo "${ECHO_T}$hardcode_action_FC" >&6
14131 if test "$hardcode_action_FC" = relink ||
14132 test "$inherit_rpath_FC" = yes; then
14133 # Fast installation is not supported
14134 enable_fast_install=no
14135 elif test "$shlibpath_overrides_runpath" = yes ||
14136 test "$enable_shared" = no; then
14137 # Fast installation is not necessary
14138 enable_fast_install=needless
14147 fi # test -n "$compiler"
14149 GCC=$lt_save_GCC
14150 CC="$lt_save_CC"
14151 fi # test "$_lt_disable_FC" != yes
14153 ac_ext=c
14154 ac_cpp='$CPP $CPPFLAGS'
14155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14161 # extra LD Flags which are required for targets
14162 case "${host}" in
14163 *-darwin*)
14164 # Darwin needs -single_module when linking libgfortran
14165 extra_ldflags_libgfortran=-Wl,-single_module
14167 esac
14170 # We need a working compiler at that point, otherwise give a clear
14171 # error message and bail out.
14173 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14174 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14175 ac_ext=${FC_SRCEXT-f}
14176 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14177 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14178 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14180 cat >conftest.$ac_ext <<_ACEOF
14182 program foo
14183 real, parameter :: bar = sin (12.34 / 2.5)
14184 end program foo
14185 _ACEOF
14186 rm -f conftest.$ac_objext
14187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14188 (eval $ac_compile) 2>conftest.er1
14189 ac_status=$?
14190 grep -v '^ *+' conftest.er1 >conftest.err
14191 rm -f conftest.er1
14192 cat conftest.err >&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); } &&
14195 { ac_try='test -z "$ac_fc_werror_flag"
14196 || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 echo "$as_me:$LINENO: result: yes" >&5
14209 echo "${ECHO_T}yes" >&6
14210 else
14211 echo "$as_me: failed program was:" >&5
14212 sed 's/^/| /' conftest.$ac_ext >&5
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14216 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
14217 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14218 { (exit 1); exit 1; }; }
14221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14222 ac_ext=c
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14230 # Check whether --enable-largefile or --disable-largefile was given.
14231 if test "${enable_largefile+set}" = set; then
14232 enableval="$enable_largefile"
14235 if test "$enable_largefile" != no; then
14237 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14238 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14239 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 else
14242 ac_cv_sys_largefile_CC=no
14243 if test "$GCC" != yes; then
14244 ac_save_CC=$CC
14245 while :; do
14246 # IRIX 6.2 and later do not support large files by default,
14247 # so use the C compiler's -n32 option if that helps.
14248 cat >conftest.$ac_ext <<_ACEOF
14249 /* confdefs.h. */
14250 _ACEOF
14251 cat confdefs.h >>conftest.$ac_ext
14252 cat >>conftest.$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 #include <sys/types.h>
14255 /* Check that off_t can represent 2**63 - 1 correctly.
14256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14257 since some C++ compilers masquerading as C compilers
14258 incorrectly reject 9223372036854775807. */
14259 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14261 && LARGE_OFF_T % 2147483647 == 1)
14262 ? 1 : -1];
14264 main ()
14268 return 0;
14270 _ACEOF
14271 rm -f conftest.$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14274 ac_status=$?
14275 grep -v '^ *+' conftest.er1 >conftest.err
14276 rm -f conftest.er1
14277 cat conftest.err >&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 break
14294 else
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14299 rm -f conftest.err conftest.$ac_objext
14300 CC="$CC -n32"
14301 rm -f conftest.$ac_objext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303 (eval $ac_compile) 2>conftest.er1
14304 ac_status=$?
14305 grep -v '^ *+' conftest.er1 >conftest.err
14306 rm -f conftest.er1
14307 cat conftest.err >&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try='test -z "$ac_c_werror_flag"
14311 || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 ac_cv_sys_largefile_CC=' -n32'; break
14324 else
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14329 rm -f conftest.err conftest.$ac_objext
14330 break
14331 done
14332 CC=$ac_save_CC
14333 rm -f conftest.$ac_ext
14336 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14337 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14338 if test "$ac_cv_sys_largefile_CC" != no; then
14339 CC=$CC$ac_cv_sys_largefile_CC
14342 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14343 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14344 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 else
14347 while :; do
14348 ac_cv_sys_file_offset_bits=no
14349 cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h. */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 #include <sys/types.h>
14356 /* Check that off_t can represent 2**63 - 1 correctly.
14357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14358 since some C++ compilers masquerading as C compilers
14359 incorrectly reject 9223372036854775807. */
14360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14362 && LARGE_OFF_T % 2147483647 == 1)
14363 ? 1 : -1];
14365 main ()
14369 return 0;
14371 _ACEOF
14372 rm -f conftest.$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>conftest.er1
14375 ac_status=$?
14376 grep -v '^ *+' conftest.er1 >conftest.err
14377 rm -f conftest.er1
14378 cat conftest.err >&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try='test -z "$ac_c_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try='test -s conftest.$ac_objext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14394 break
14395 else
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14401 cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h. */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 #define _FILE_OFFSET_BITS 64
14408 #include <sys/types.h>
14409 /* Check that off_t can represent 2**63 - 1 correctly.
14410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14411 since some C++ compilers masquerading as C compilers
14412 incorrectly reject 9223372036854775807. */
14413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14415 && LARGE_OFF_T % 2147483647 == 1)
14416 ? 1 : -1];
14418 main ()
14422 return 0;
14424 _ACEOF
14425 rm -f conftest.$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14428 ac_status=$?
14429 grep -v '^ *+' conftest.er1 >conftest.err
14430 rm -f conftest.er1
14431 cat conftest.err >&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14444 ac_status=$?
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_cv_sys_file_offset_bits=64; break
14448 else
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14454 break
14455 done
14457 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14458 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14459 if test "$ac_cv_sys_file_offset_bits" != no; then
14461 cat >>confdefs.h <<_ACEOF
14462 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14463 _ACEOF
14466 rm -f conftest*
14467 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14468 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14469 if test "${ac_cv_sys_large_files+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 else
14472 while :; do
14473 ac_cv_sys_large_files=no
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 #include <sys/types.h>
14481 /* Check that off_t can represent 2**63 - 1 correctly.
14482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14483 since some C++ compilers masquerading as C compilers
14484 incorrectly reject 9223372036854775807. */
14485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14487 && LARGE_OFF_T % 2147483647 == 1)
14488 ? 1 : -1];
14490 main ()
14494 return 0;
14496 _ACEOF
14497 rm -f conftest.$ac_objext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499 (eval $ac_compile) 2>conftest.er1
14500 ac_status=$?
14501 grep -v '^ *+' conftest.er1 >conftest.err
14502 rm -f conftest.er1
14503 cat conftest.err >&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try='test -z "$ac_c_werror_flag"
14507 || test ! -s conftest.err'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14510 ac_status=$?
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; } &&
14513 { ac_try='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 break
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 #define _LARGE_FILES 1
14533 #include <sys/types.h>
14534 /* Check that off_t can represent 2**63 - 1 correctly.
14535 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14536 since some C++ compilers masquerading as C compilers
14537 incorrectly reject 9223372036854775807. */
14538 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14539 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14540 && LARGE_OFF_T % 2147483647 == 1)
14541 ? 1 : -1];
14543 main ()
14547 return 0;
14549 _ACEOF
14550 rm -f conftest.$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14553 ac_status=$?
14554 grep -v '^ *+' conftest.er1 >conftest.err
14555 rm -f conftest.er1
14556 cat conftest.err >&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try='test -z "$ac_c_werror_flag"
14560 || test ! -s conftest.err'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_cv_sys_large_files=1; break
14573 else
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14579 break
14580 done
14582 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14583 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14584 if test "$ac_cv_sys_large_files" != no; then
14586 cat >>confdefs.h <<_ACEOF
14587 #define _LARGE_FILES $ac_cv_sys_large_files
14588 _ACEOF
14591 rm -f conftest*
14594 echo "$as_me:$LINENO: checking for off_t" >&5
14595 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14596 if test "${ac_cv_type_off_t+set}" = set; then
14597 echo $ECHO_N "(cached) $ECHO_C" >&6
14598 else
14599 cat >conftest.$ac_ext <<_ACEOF
14600 /* confdefs.h. */
14601 _ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 $ac_includes_default
14607 main ()
14609 if ((off_t *) 0)
14610 return 0;
14611 if (sizeof (off_t))
14612 return 0;
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_type_off_t=yes
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14644 ac_cv_type_off_t=no
14646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14648 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14649 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14650 if test $ac_cv_type_off_t = yes; then
14652 else
14654 cat >>confdefs.h <<_ACEOF
14655 #define off_t long
14656 _ACEOF
14661 # check header files
14662 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14663 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14664 if test "${ac_cv_header_stdc+set}" = set; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 else
14667 cat >conftest.$ac_ext <<_ACEOF
14668 /* confdefs.h. */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673 #include <stdlib.h>
14674 #include <stdarg.h>
14675 #include <string.h>
14676 #include <float.h>
14679 main ()
14683 return 0;
14685 _ACEOF
14686 rm -f conftest.$ac_objext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14688 (eval $ac_compile) 2>conftest.er1
14689 ac_status=$?
14690 grep -v '^ *+' conftest.er1 >conftest.err
14691 rm -f conftest.er1
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -z "$ac_c_werror_flag"
14696 || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try='test -s conftest.$ac_objext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 ac_cv_header_stdc=yes
14709 else
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14713 ac_cv_header_stdc=no
14715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14717 if test $ac_cv_header_stdc = yes; then
14718 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14719 cat >conftest.$ac_ext <<_ACEOF
14720 /* confdefs.h. */
14721 _ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725 #include <string.h>
14727 _ACEOF
14728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14729 $EGREP "memchr" >/dev/null 2>&1; then
14731 else
14732 ac_cv_header_stdc=no
14734 rm -f conftest*
14738 if test $ac_cv_header_stdc = yes; then
14739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14740 cat >conftest.$ac_ext <<_ACEOF
14741 /* confdefs.h. */
14742 _ACEOF
14743 cat confdefs.h >>conftest.$ac_ext
14744 cat >>conftest.$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14746 #include <stdlib.h>
14748 _ACEOF
14749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14750 $EGREP "free" >/dev/null 2>&1; then
14752 else
14753 ac_cv_header_stdc=no
14755 rm -f conftest*
14759 if test $ac_cv_header_stdc = yes; then
14760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14761 if test "$cross_compiling" = yes; then
14763 else
14764 cat >conftest.$ac_ext <<_ACEOF
14765 /* confdefs.h. */
14766 _ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770 #include <ctype.h>
14771 #if ((' ' & 0x0FF) == 0x020)
14772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14774 #else
14775 # define ISLOWER(c) \
14776 (('a' <= (c) && (c) <= 'i') \
14777 || ('j' <= (c) && (c) <= 'r') \
14778 || ('s' <= (c) && (c) <= 'z'))
14779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14780 #endif
14782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14784 main ()
14786 int i;
14787 for (i = 0; i < 256; i++)
14788 if (XOR (islower (i), ISLOWER (i))
14789 || toupper (i) != TOUPPER (i))
14790 exit(2);
14791 exit (0);
14793 _ACEOF
14794 rm -f conftest$ac_exeext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14796 (eval $ac_link) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; }; then
14806 else
14807 echo "$as_me: program exited with status $ac_status" >&5
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14811 ( exit $ac_status )
14812 ac_cv_header_stdc=no
14814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14818 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14819 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14820 if test $ac_cv_header_stdc = yes; then
14822 cat >>confdefs.h <<\_ACEOF
14823 #define STDC_HEADERS 1
14824 _ACEOF
14828 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14829 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14830 if test "${ac_cv_header_time+set}" = set; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 else
14833 cat >conftest.$ac_ext <<_ACEOF
14834 /* confdefs.h. */
14835 _ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h. */
14839 #include <sys/types.h>
14840 #include <sys/time.h>
14841 #include <time.h>
14844 main ()
14846 if ((struct tm *) 0)
14847 return 0;
14849 return 0;
14851 _ACEOF
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>conftest.er1
14855 ac_status=$?
14856 grep -v '^ *+' conftest.er1 >conftest.err
14857 rm -f conftest.er1
14858 cat conftest.err >&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } &&
14861 { ac_try='test -z "$ac_c_werror_flag"
14862 || test ! -s conftest.err'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14865 ac_status=$?
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; } &&
14868 { ac_try='test -s conftest.$ac_objext'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14874 ac_cv_header_time=yes
14875 else
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14879 ac_cv_header_time=no
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14883 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14884 echo "${ECHO_T}$ac_cv_header_time" >&6
14885 if test $ac_cv_header_time = yes; then
14887 cat >>confdefs.h <<\_ACEOF
14888 #define TIME_WITH_SYS_TIME 1
14889 _ACEOF
14899 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14903 echo "$as_me:$LINENO: checking for $ac_header" >&5
14904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14910 else
14911 # Is the header compilable?
14912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h. */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 $ac_includes_default
14921 #include <$ac_header>
14922 _ACEOF
14923 rm -f conftest.$ac_objext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14925 (eval $ac_compile) 2>conftest.er1
14926 ac_status=$?
14927 grep -v '^ *+' conftest.er1 >conftest.err
14928 rm -f conftest.er1
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } &&
14932 { ac_try='test -z "$ac_c_werror_flag"
14933 || test ! -s conftest.err'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; } &&
14939 { ac_try='test -s conftest.$ac_objext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_header_compiler=yes
14946 else
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 ac_header_compiler=no
14952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14954 echo "${ECHO_T}$ac_header_compiler" >&6
14956 # Is the header present?
14957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14959 cat >conftest.$ac_ext <<_ACEOF
14960 /* confdefs.h. */
14961 _ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14965 #include <$ac_header>
14966 _ACEOF
14967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14969 ac_status=$?
14970 grep -v '^ *+' conftest.er1 >conftest.err
14971 rm -f conftest.er1
14972 cat conftest.err >&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } >/dev/null; then
14975 if test -s conftest.err; then
14976 ac_cpp_err=$ac_c_preproc_warn_flag
14977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14978 else
14979 ac_cpp_err=
14981 else
14982 ac_cpp_err=yes
14984 if test -z "$ac_cpp_err"; then
14985 ac_header_preproc=yes
14986 else
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_header_preproc=no
14992 rm -f conftest.err conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14994 echo "${ECHO_T}$ac_header_preproc" >&6
14996 # So? What about this header?
14997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14998 yes:no: )
14999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15003 ac_header_preproc=yes
15005 no:yes:* )
15006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15019 cat <<\_ASBOX
15020 ## ------------------------------------------------------ ##
15021 ## Report this to the GNU Fortran Runtime Library lists. ##
15022 ## ------------------------------------------------------ ##
15023 _ASBOX
15025 sed "s/^/$as_me: WARNING: /" >&2
15027 esac
15028 echo "$as_me:$LINENO: checking for $ac_header" >&5
15029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 else
15033 eval "$as_ac_Header=\$ac_header_preproc"
15035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15040 cat >>confdefs.h <<_ACEOF
15041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15042 _ACEOF
15046 done
15052 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15054 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15056 echo "$as_me:$LINENO: checking for $ac_header" >&5
15057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15063 else
15064 # Is the header compilable?
15065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15067 cat >conftest.$ac_ext <<_ACEOF
15068 /* confdefs.h. */
15069 _ACEOF
15070 cat confdefs.h >>conftest.$ac_ext
15071 cat >>conftest.$ac_ext <<_ACEOF
15072 /* end confdefs.h. */
15073 $ac_includes_default
15074 #include <$ac_header>
15075 _ACEOF
15076 rm -f conftest.$ac_objext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15078 (eval $ac_compile) 2>conftest.er1
15079 ac_status=$?
15080 grep -v '^ *+' conftest.er1 >conftest.err
15081 rm -f conftest.er1
15082 cat conftest.err >&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try='test -z "$ac_c_werror_flag"
15086 || test ! -s conftest.err'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15089 ac_status=$?
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; } &&
15092 { ac_try='test -s conftest.$ac_objext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 ac_header_compiler=yes
15099 else
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15103 ac_header_compiler=no
15105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15107 echo "${ECHO_T}$ac_header_compiler" >&6
15109 # Is the header present?
15110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15112 cat >conftest.$ac_ext <<_ACEOF
15113 /* confdefs.h. */
15114 _ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15118 #include <$ac_header>
15119 _ACEOF
15120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15122 ac_status=$?
15123 grep -v '^ *+' conftest.er1 >conftest.err
15124 rm -f conftest.er1
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } >/dev/null; then
15128 if test -s conftest.err; then
15129 ac_cpp_err=$ac_c_preproc_warn_flag
15130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15131 else
15132 ac_cpp_err=
15134 else
15135 ac_cpp_err=yes
15137 if test -z "$ac_cpp_err"; then
15138 ac_header_preproc=yes
15139 else
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15143 ac_header_preproc=no
15145 rm -f conftest.err conftest.$ac_ext
15146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15147 echo "${ECHO_T}$ac_header_preproc" >&6
15149 # So? What about this header?
15150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15151 yes:no: )
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15156 ac_header_preproc=yes
15158 no:yes:* )
15159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15172 cat <<\_ASBOX
15173 ## ------------------------------------------------------ ##
15174 ## Report this to the GNU Fortran Runtime Library lists. ##
15175 ## ------------------------------------------------------ ##
15176 _ASBOX
15178 sed "s/^/$as_me: WARNING: /" >&2
15180 esac
15181 echo "$as_me:$LINENO: checking for $ac_header" >&5
15182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 eval "$as_ac_Header=\$ac_header_preproc"
15188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15193 cat >>confdefs.h <<_ACEOF
15194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15195 _ACEOF
15199 done
15206 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15210 echo "$as_me:$LINENO: checking for $ac_header" >&5
15211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15217 else
15218 # Is the header compilable?
15219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15221 cat >conftest.$ac_ext <<_ACEOF
15222 /* confdefs.h. */
15223 _ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227 $ac_includes_default
15228 #include <$ac_header>
15229 _ACEOF
15230 rm -f conftest.$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232 (eval $ac_compile) 2>conftest.er1
15233 ac_status=$?
15234 grep -v '^ *+' conftest.er1 >conftest.err
15235 rm -f conftest.er1
15236 cat conftest.err >&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try='test -z "$ac_c_werror_flag"
15240 || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_header_compiler=yes
15253 else
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 ac_header_compiler=no
15259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15261 echo "${ECHO_T}$ac_header_compiler" >&6
15263 # Is the header present?
15264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 #include <$ac_header>
15273 _ACEOF
15274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15276 ac_status=$?
15277 grep -v '^ *+' conftest.er1 >conftest.err
15278 rm -f conftest.er1
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } >/dev/null; then
15282 if test -s conftest.err; then
15283 ac_cpp_err=$ac_c_preproc_warn_flag
15284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15285 else
15286 ac_cpp_err=
15288 else
15289 ac_cpp_err=yes
15291 if test -z "$ac_cpp_err"; then
15292 ac_header_preproc=yes
15293 else
15294 echo "$as_me: failed program was:" >&5
15295 sed 's/^/| /' conftest.$ac_ext >&5
15297 ac_header_preproc=no
15299 rm -f conftest.err conftest.$ac_ext
15300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15301 echo "${ECHO_T}$ac_header_preproc" >&6
15303 # So? What about this header?
15304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15305 yes:no: )
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15310 ac_header_preproc=yes
15312 no:yes:* )
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15326 cat <<\_ASBOX
15327 ## ------------------------------------------------------ ##
15328 ## Report this to the GNU Fortran Runtime Library lists. ##
15329 ## ------------------------------------------------------ ##
15330 _ASBOX
15332 sed "s/^/$as_me: WARNING: /" >&2
15334 esac
15335 echo "$as_me:$LINENO: checking for $ac_header" >&5
15336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340 eval "$as_ac_Header=\$ac_header_preproc"
15342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15347 cat >>confdefs.h <<_ACEOF
15348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15349 _ACEOF
15353 done
15360 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15364 echo "$as_me:$LINENO: checking for $ac_header" >&5
15365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15371 else
15372 # Is the header compilable?
15373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h. */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381 $ac_includes_default
15382 #include <$ac_header>
15383 _ACEOF
15384 rm -f conftest.$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15387 ac_status=$?
15388 grep -v '^ *+' conftest.er1 >conftest.err
15389 rm -f conftest.er1
15390 cat conftest.err >&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -z "$ac_c_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15397 ac_status=$?
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 ac_header_compiler=yes
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15411 ac_header_compiler=no
15413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15415 echo "${ECHO_T}$ac_header_compiler" >&6
15417 # Is the header present?
15418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 #include <$ac_header>
15427 _ACEOF
15428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15430 ac_status=$?
15431 grep -v '^ *+' conftest.er1 >conftest.err
15432 rm -f conftest.er1
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } >/dev/null; then
15436 if test -s conftest.err; then
15437 ac_cpp_err=$ac_c_preproc_warn_flag
15438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15439 else
15440 ac_cpp_err=
15442 else
15443 ac_cpp_err=yes
15445 if test -z "$ac_cpp_err"; then
15446 ac_header_preproc=yes
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15451 ac_header_preproc=no
15453 rm -f conftest.err conftest.$ac_ext
15454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15455 echo "${ECHO_T}$ac_header_preproc" >&6
15457 # So? What about this header?
15458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15459 yes:no: )
15460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15464 ac_header_preproc=yes
15466 no:yes:* )
15467 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15469 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15470 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15471 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15473 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15474 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15477 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15480 cat <<\_ASBOX
15481 ## ------------------------------------------------------ ##
15482 ## Report this to the GNU Fortran Runtime Library lists. ##
15483 ## ------------------------------------------------------ ##
15484 _ASBOX
15486 sed "s/^/$as_me: WARNING: /" >&2
15488 esac
15489 echo "$as_me:$LINENO: checking for $ac_header" >&5
15490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 else
15494 eval "$as_ac_Header=\$ac_header_preproc"
15496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15501 cat >>confdefs.h <<_ACEOF
15502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15503 _ACEOF
15507 done
15509 if test "${ac_cv_header_complex_h+set}" = set; then
15510 echo "$as_me:$LINENO: checking for complex.h" >&5
15511 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15512 if test "${ac_cv_header_complex_h+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15516 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15517 else
15518 # Is the header compilable?
15519 echo "$as_me:$LINENO: checking complex.h usability" >&5
15520 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15521 cat >conftest.$ac_ext <<_ACEOF
15522 /* confdefs.h. */
15523 _ACEOF
15524 cat confdefs.h >>conftest.$ac_ext
15525 cat >>conftest.$ac_ext <<_ACEOF
15526 /* end confdefs.h. */
15527 $ac_includes_default
15528 #include <complex.h>
15529 _ACEOF
15530 rm -f conftest.$ac_objext
15531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15532 (eval $ac_compile) 2>conftest.er1
15533 ac_status=$?
15534 grep -v '^ *+' conftest.er1 >conftest.err
15535 rm -f conftest.er1
15536 cat conftest.err >&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try='test -z "$ac_c_werror_flag"
15540 || test ! -s conftest.err'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; } &&
15546 { ac_try='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15549 ac_status=$?
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15552 ac_header_compiler=yes
15553 else
15554 echo "$as_me: failed program was:" >&5
15555 sed 's/^/| /' conftest.$ac_ext >&5
15557 ac_header_compiler=no
15559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15561 echo "${ECHO_T}$ac_header_compiler" >&6
15563 # Is the header present?
15564 echo "$as_me:$LINENO: checking complex.h presence" >&5
15565 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h. */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 #include <complex.h>
15573 _ACEOF
15574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } >/dev/null; then
15582 if test -s conftest.err; then
15583 ac_cpp_err=$ac_c_preproc_warn_flag
15584 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15585 else
15586 ac_cpp_err=
15588 else
15589 ac_cpp_err=yes
15591 if test -z "$ac_cpp_err"; then
15592 ac_header_preproc=yes
15593 else
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15597 ac_header_preproc=no
15599 rm -f conftest.err conftest.$ac_ext
15600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15601 echo "${ECHO_T}$ac_header_preproc" >&6
15603 # So? What about this header?
15604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15605 yes:no: )
15606 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15607 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15608 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15609 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15610 ac_header_preproc=yes
15612 no:yes:* )
15613 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15614 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15615 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15616 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15618 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15620 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15622 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15624 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15626 cat <<\_ASBOX
15627 ## ------------------------------------------------------ ##
15628 ## Report this to the GNU Fortran Runtime Library lists. ##
15629 ## ------------------------------------------------------ ##
15630 _ASBOX
15632 sed "s/^/$as_me: WARNING: /" >&2
15634 esac
15635 echo "$as_me:$LINENO: checking for complex.h" >&5
15636 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15637 if test "${ac_cv_header_complex_h+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 else
15640 ac_cv_header_complex_h=$ac_header_preproc
15642 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15643 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15646 if test $ac_cv_header_complex_h = yes; then
15648 cat >>confdefs.h <<\_ACEOF
15649 #define HAVE_COMPLEX_H 1
15650 _ACEOF
15657 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15659 acx_cv_header_stdint=stddef.h
15660 acx_cv_header_stdint_kind="(already complete)"
15661 for i in stdint.h $inttype_headers; do
15662 unset ac_cv_type_uintptr_t
15663 unset ac_cv_type_uintmax_t
15664 unset ac_cv_type_int_least32_t
15665 unset ac_cv_type_int_fast32_t
15666 unset ac_cv_type_uint64_t
15667 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15668 echo "$as_me:$LINENO: checking for uintmax_t" >&5
15669 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15670 if test "${ac_cv_type_uintmax_t+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 else
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 #include <sys/types.h>
15680 #include <$i>
15683 main ()
15685 if ((uintmax_t *) 0)
15686 return 0;
15687 if (sizeof (uintmax_t))
15688 return 0;
15690 return 0;
15692 _ACEOF
15693 rm -f conftest.$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -z "$ac_c_werror_flag"
15703 || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15712 ac_status=$?
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_cv_type_uintmax_t=yes
15716 else
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_type_uintmax_t=no
15722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15724 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15725 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15726 if test $ac_cv_type_uintmax_t = yes; then
15727 acx_cv_header_stdint=$i
15728 else
15729 continue
15732 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15733 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15734 if test "${ac_cv_type_uintptr_t+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 else
15737 cat >conftest.$ac_ext <<_ACEOF
15738 /* confdefs.h. */
15739 _ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15743 #include <sys/types.h>
15744 #include <$i>
15747 main ()
15749 if ((uintptr_t *) 0)
15750 return 0;
15751 if (sizeof (uintptr_t))
15752 return 0;
15754 return 0;
15756 _ACEOF
15757 rm -f conftest.$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>conftest.er1
15760 ac_status=$?
15761 grep -v '^ *+' conftest.er1 >conftest.err
15762 rm -f conftest.er1
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try='test -z "$ac_c_werror_flag"
15767 || test ! -s conftest.err'
15768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769 (eval $ac_try) 2>&5
15770 ac_status=$?
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; } &&
15773 { ac_try='test -s conftest.$ac_objext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15776 ac_status=$?
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 ac_cv_type_uintptr_t=yes
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15784 ac_cv_type_uintptr_t=no
15786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15788 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15789 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15790 if test $ac_cv_type_uintptr_t = yes; then
15792 else
15793 acx_cv_header_stdint_kind="(mostly complete)"
15796 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15797 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15798 if test "${ac_cv_type_int_least32_t+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801 cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 #include <sys/types.h>
15808 #include <$i>
15811 main ()
15813 if ((int_least32_t *) 0)
15814 return 0;
15815 if (sizeof (int_least32_t))
15816 return 0;
15818 return 0;
15820 _ACEOF
15821 rm -f conftest.$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>conftest.er1
15824 ac_status=$?
15825 grep -v '^ *+' conftest.er1 >conftest.err
15826 rm -f conftest.er1
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } &&
15830 { ac_try='test -z "$ac_c_werror_flag"
15831 || test ! -s conftest.err'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15834 ac_status=$?
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; } &&
15837 { ac_try='test -s conftest.$ac_objext'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15840 ac_status=$?
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_type_int_least32_t=yes
15844 else
15845 echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15848 ac_cv_type_int_least32_t=no
15850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15852 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15853 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15854 if test $ac_cv_type_int_least32_t = yes; then
15856 else
15857 acx_cv_header_stdint_kind="(mostly complete)"
15860 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15861 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15862 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 #include <sys/types.h>
15872 #include <$i>
15875 main ()
15877 if ((int_fast32_t *) 0)
15878 return 0;
15879 if (sizeof (int_fast32_t))
15880 return 0;
15882 return 0;
15884 _ACEOF
15885 rm -f conftest.$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag"
15895 || test ! -s conftest.err'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15898 ac_status=$?
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; } &&
15901 { ac_try='test -s conftest.$ac_objext'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15904 ac_status=$?
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then
15907 ac_cv_type_int_fast32_t=yes
15908 else
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15912 ac_cv_type_int_fast32_t=no
15914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15916 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15917 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15918 if test $ac_cv_type_int_fast32_t = yes; then
15920 else
15921 acx_cv_header_stdint_kind="(mostly complete)"
15924 echo "$as_me:$LINENO: checking for uint64_t" >&5
15925 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15926 if test "${ac_cv_type_uint64_t+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 #include <sys/types.h>
15936 #include <$i>
15939 main ()
15941 if ((uint64_t *) 0)
15942 return 0;
15943 if (sizeof (uint64_t))
15944 return 0;
15946 return 0;
15948 _ACEOF
15949 rm -f conftest.$ac_objext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15951 (eval $ac_compile) 2>conftest.er1
15952 ac_status=$?
15953 grep -v '^ *+' conftest.er1 >conftest.err
15954 rm -f conftest.er1
15955 cat conftest.err >&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } &&
15958 { ac_try='test -z "$ac_c_werror_flag"
15959 || test ! -s conftest.err'
15960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15961 (eval $ac_try) 2>&5
15962 ac_status=$?
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; } &&
15965 { ac_try='test -s conftest.$ac_objext'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15968 ac_status=$?
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; }; then
15971 ac_cv_type_uint64_t=yes
15972 else
15973 echo "$as_me: failed program was:" >&5
15974 sed 's/^/| /' conftest.$ac_ext >&5
15976 ac_cv_type_uint64_t=no
15978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15980 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15981 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15982 if test $ac_cv_type_uint64_t = yes; then
15984 else
15985 acx_cv_header_stdint_kind="(lacks uint64_t)"
15988 break
15989 done
15990 if test "$acx_cv_header_stdint" = stddef.h; then
15991 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15992 for i in stdint.h $inttype_headers; do
15993 unset ac_cv_type_uintptr_t
15994 unset ac_cv_type_uint32_t
15995 unset ac_cv_type_uint64_t
15996 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15997 echo "$as_me:$LINENO: checking for uint32_t" >&5
15998 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15999 if test "${ac_cv_type_uint32_t+set}" = set; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 else
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <sys/types.h>
16009 #include <$i>
16012 main ()
16014 if ((uint32_t *) 0)
16015 return 0;
16016 if (sizeof (uint32_t))
16017 return 0;
16019 return 0;
16021 _ACEOF
16022 rm -f conftest.$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try='test -z "$ac_c_werror_flag"
16032 || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_cv_type_uint32_t=yes
16045 else
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16049 ac_cv_type_uint32_t=no
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16053 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16054 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16055 if test $ac_cv_type_uint32_t = yes; then
16056 acx_cv_header_stdint=$i
16057 else
16058 continue
16061 echo "$as_me:$LINENO: checking for uint64_t" >&5
16062 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16063 if test "${ac_cv_type_uint64_t+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066 cat >conftest.$ac_ext <<_ACEOF
16067 /* confdefs.h. */
16068 _ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 #include <sys/types.h>
16073 #include <$i>
16076 main ()
16078 if ((uint64_t *) 0)
16079 return 0;
16080 if (sizeof (uint64_t))
16081 return 0;
16083 return 0;
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_c_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_cv_type_uint64_t=yes
16109 else
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_cv_type_uint64_t=no
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16118 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16120 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16121 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16122 if test "${ac_cv_type_uintptr_t+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125 cat >conftest.$ac_ext <<_ACEOF
16126 /* confdefs.h. */
16127 _ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16131 #include <sys/types.h>
16132 #include <$i>
16135 main ()
16137 if ((uintptr_t *) 0)
16138 return 0;
16139 if (sizeof (uintptr_t))
16140 return 0;
16142 return 0;
16144 _ACEOF
16145 rm -f conftest.$ac_objext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16147 (eval $ac_compile) 2>conftest.er1
16148 ac_status=$?
16149 grep -v '^ *+' conftest.er1 >conftest.err
16150 rm -f conftest.er1
16151 cat conftest.err >&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); } &&
16154 { ac_try='test -z "$ac_c_werror_flag"
16155 || test ! -s conftest.err'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16158 ac_status=$?
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; } &&
16161 { ac_try='test -s conftest.$ac_objext'
16162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16163 (eval $ac_try) 2>&5
16164 ac_status=$?
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); }; }; then
16167 ac_cv_type_uintptr_t=yes
16168 else
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16172 ac_cv_type_uintptr_t=no
16174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16177 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16179 break
16180 done
16182 if test "$acx_cv_header_stdint" = stddef.h; then
16183 acx_cv_header_stdint_kind="(u_intXX_t style)"
16184 for i in sys/types.h $inttype_headers; do
16185 unset ac_cv_type_u_int32_t
16186 unset ac_cv_type_u_int64_t
16187 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16188 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16189 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16190 if test "${ac_cv_type_u_int32_t+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199 #include <sys/types.h>
16200 #include <$i>
16203 main ()
16205 if ((u_int32_t *) 0)
16206 return 0;
16207 if (sizeof (u_int32_t))
16208 return 0;
16210 return 0;
16212 _ACEOF
16213 rm -f conftest.$ac_objext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215 (eval $ac_compile) 2>conftest.er1
16216 ac_status=$?
16217 grep -v '^ *+' conftest.er1 >conftest.err
16218 rm -f conftest.er1
16219 cat conftest.err >&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } &&
16222 { ac_try='test -z "$ac_c_werror_flag"
16223 || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16232 ac_status=$?
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 ac_cv_type_u_int32_t=yes
16236 else
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16240 ac_cv_type_u_int32_t=no
16242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16244 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16245 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16246 if test $ac_cv_type_u_int32_t = yes; then
16247 acx_cv_header_stdint=$i
16248 else
16249 continue
16252 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16253 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16254 if test "${ac_cv_type_u_int64_t+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 else
16257 cat >conftest.$ac_ext <<_ACEOF
16258 /* confdefs.h. */
16259 _ACEOF
16260 cat confdefs.h >>conftest.$ac_ext
16261 cat >>conftest.$ac_ext <<_ACEOF
16262 /* end confdefs.h. */
16263 #include <sys/types.h>
16264 #include <$i>
16267 main ()
16269 if ((u_int64_t *) 0)
16270 return 0;
16271 if (sizeof (u_int64_t))
16272 return 0;
16274 return 0;
16276 _ACEOF
16277 rm -f conftest.$ac_objext
16278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16279 (eval $ac_compile) 2>conftest.er1
16280 ac_status=$?
16281 grep -v '^ *+' conftest.er1 >conftest.err
16282 rm -f conftest.er1
16283 cat conftest.err >&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } &&
16286 { ac_try='test -z "$ac_c_werror_flag"
16287 || test ! -s conftest.err'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16290 ac_status=$?
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; } &&
16293 { ac_try='test -s conftest.$ac_objext'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16296 ac_status=$?
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; }; then
16299 ac_cv_type_u_int64_t=yes
16300 else
16301 echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16304 ac_cv_type_u_int64_t=no
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16309 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16311 break
16312 done
16314 if test "$acx_cv_header_stdint" = stddef.h; then
16315 acx_cv_header_stdint_kind="(using manual detection)"
16318 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16319 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16320 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16321 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16322 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16324 # ----------------- Summarize what we found so far
16326 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16327 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16329 case `$as_basename gstdint.h ||
16330 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16331 Xgstdint.h : 'X\(//\)$' \| \
16332 Xgstdint.h : 'X\(/\)$' \| \
16333 . : '\(.\)' 2>/dev/null ||
16334 echo X/gstdint.h |
16335 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16336 /^X\/\(\/\/\)$/{ s//\1/; q; }
16337 /^X\/\(\/\).*/{ s//\1/; q; }
16338 s/.*/./; q'` in
16339 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16340 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16341 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16342 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16343 *) ;;
16344 esac
16346 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16347 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16349 # ----------------- done included file, check C basic types --------
16351 # Lacking an uintptr_t? Test size of void *
16352 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16353 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
16354 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16355 if test "${ac_cv_type_void_p+set}" = set; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 else
16358 cat >conftest.$ac_ext <<_ACEOF
16359 /* confdefs.h. */
16360 _ACEOF
16361 cat confdefs.h >>conftest.$ac_ext
16362 cat >>conftest.$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16364 $ac_includes_default
16366 main ()
16368 if ((void * *) 0)
16369 return 0;
16370 if (sizeof (void *))
16371 return 0;
16373 return 0;
16375 _ACEOF
16376 rm -f conftest.$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>conftest.er1
16379 ac_status=$?
16380 grep -v '^ *+' conftest.er1 >conftest.err
16381 rm -f conftest.er1
16382 cat conftest.err >&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try='test -z "$ac_c_werror_flag"
16386 || test ! -s conftest.err'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; } &&
16392 { ac_try='test -s conftest.$ac_objext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16395 ac_status=$?
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_cv_type_void_p=yes
16399 else
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16403 ac_cv_type_void_p=no
16405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16407 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16408 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16410 echo "$as_me:$LINENO: checking size of void *" >&5
16411 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16412 if test "${ac_cv_sizeof_void_p+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 else
16415 if test "$ac_cv_type_void_p" = yes; then
16416 # The cast to unsigned long works around a bug in the HP C Compiler
16417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16419 # This bug is HP SR number 8606223364.
16420 if test "$cross_compiling" = yes; then
16421 # Depending upon the size, compute the lo and hi bounds.
16422 cat >conftest.$ac_ext <<_ACEOF
16423 /* confdefs.h. */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16430 main ()
16432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16433 test_array [0] = 0
16436 return 0;
16438 _ACEOF
16439 rm -f conftest.$ac_objext
16440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441 (eval $ac_compile) 2>conftest.er1
16442 ac_status=$?
16443 grep -v '^ *+' conftest.er1 >conftest.err
16444 rm -f conftest.er1
16445 cat conftest.err >&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } &&
16448 { ac_try='test -z "$ac_c_werror_flag"
16449 || test ! -s conftest.err'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16452 ac_status=$?
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; } &&
16455 { ac_try='test -s conftest.$ac_objext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 ac_lo=0 ac_mid=0
16462 while :; do
16463 cat >conftest.$ac_ext <<_ACEOF
16464 /* confdefs.h. */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16471 main ()
16473 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16474 test_array [0] = 0
16477 return 0;
16479 _ACEOF
16480 rm -f conftest.$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>conftest.er1
16483 ac_status=$?
16484 grep -v '^ *+' conftest.er1 >conftest.err
16485 rm -f conftest.er1
16486 cat conftest.err >&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try='test -z "$ac_c_werror_flag"
16490 || test ! -s conftest.err'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16493 ac_status=$?
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; } &&
16496 { ac_try='test -s conftest.$ac_objext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 ac_hi=$ac_mid; break
16503 else
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16507 ac_lo=`expr $ac_mid + 1`
16508 if test $ac_lo -le $ac_mid; then
16509 ac_lo= ac_hi=
16510 break
16512 ac_mid=`expr 2 '*' $ac_mid + 1`
16514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16515 done
16516 else
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.$ac_ext >&5
16520 cat >conftest.$ac_ext <<_ACEOF
16521 /* confdefs.h. */
16522 _ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16528 main ()
16530 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16531 test_array [0] = 0
16534 return 0;
16536 _ACEOF
16537 rm -f conftest.$ac_objext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16539 (eval $ac_compile) 2>conftest.er1
16540 ac_status=$?
16541 grep -v '^ *+' conftest.er1 >conftest.err
16542 rm -f conftest.er1
16543 cat conftest.err >&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } &&
16546 { ac_try='test -z "$ac_c_werror_flag"
16547 || test ! -s conftest.err'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16550 ac_status=$?
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; } &&
16553 { ac_try='test -s conftest.$ac_objext'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; }; then
16559 ac_hi=-1 ac_mid=-1
16560 while :; do
16561 cat >conftest.$ac_ext <<_ACEOF
16562 /* confdefs.h. */
16563 _ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 $ac_includes_default
16569 main ()
16571 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16572 test_array [0] = 0
16575 return 0;
16577 _ACEOF
16578 rm -f conftest.$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>conftest.er1
16581 ac_status=$?
16582 grep -v '^ *+' conftest.er1 >conftest.err
16583 rm -f conftest.er1
16584 cat conftest.err >&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try='test -z "$ac_c_werror_flag"
16588 || test ! -s conftest.err'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16591 ac_status=$?
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } &&
16594 { ac_try='test -s conftest.$ac_objext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 ac_lo=$ac_mid; break
16601 else
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.$ac_ext >&5
16605 ac_hi=`expr '(' $ac_mid ')' - 1`
16606 if test $ac_mid -le $ac_hi; then
16607 ac_lo= ac_hi=
16608 break
16610 ac_mid=`expr 2 '*' $ac_mid`
16612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16613 done
16614 else
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16618 ac_lo= ac_hi=
16620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16623 # Binary search between lo and hi bounds.
16624 while test "x$ac_lo" != "x$ac_hi"; do
16625 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 $ac_includes_default
16634 main ()
16636 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16637 test_array [0] = 0
16640 return 0;
16642 _ACEOF
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_c_werror_flag"
16653 || test ! -s conftest.err'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16656 ac_status=$?
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try='test -s conftest.$ac_objext'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; }; then
16665 ac_hi=$ac_mid
16666 else
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 ac_lo=`expr '(' $ac_mid ')' + 1`
16672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16673 done
16674 case $ac_lo in
16675 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16676 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16677 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16679 See \`config.log' for more details." >&5
16680 echo "$as_me: error: cannot compute sizeof (void *), 77
16681 See \`config.log' for more details." >&2;}
16682 { (exit 1); exit 1; }; }; } ;;
16683 esac
16684 else
16685 if test "$cross_compiling" = yes; then
16686 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16687 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16689 See \`config.log' for more details." >&5
16690 echo "$as_me: error: cannot run test program while cross compiling
16691 See \`config.log' for more details." >&2;}
16692 { (exit 1); exit 1; }; }; }
16693 else
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16701 long longval () { return (long) (sizeof (void *)); }
16702 unsigned long ulongval () { return (long) (sizeof (void *)); }
16703 #include <stdio.h>
16704 #include <stdlib.h>
16706 main ()
16709 FILE *f = fopen ("conftest.val", "w");
16710 if (! f)
16711 exit (1);
16712 if (((long) (sizeof (void *))) < 0)
16714 long i = longval ();
16715 if (i != ((long) (sizeof (void *))))
16716 exit (1);
16717 fprintf (f, "%ld\n", i);
16719 else
16721 unsigned long i = ulongval ();
16722 if (i != ((long) (sizeof (void *))))
16723 exit (1);
16724 fprintf (f, "%lu\n", i);
16726 exit (ferror (f) || fclose (f) != 0);
16729 return 0;
16731 _ACEOF
16732 rm -f conftest$ac_exeext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16734 (eval $ac_link) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16739 (eval $ac_try) 2>&5
16740 ac_status=$?
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); }; }; then
16743 ac_cv_sizeof_void_p=`cat conftest.val`
16744 else
16745 echo "$as_me: program exited with status $ac_status" >&5
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16749 ( exit $ac_status )
16750 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16751 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16753 See \`config.log' for more details." >&5
16754 echo "$as_me: error: cannot compute sizeof (void *), 77
16755 See \`config.log' for more details." >&2;}
16756 { (exit 1); exit 1; }; }; }
16758 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16761 rm -f conftest.val
16762 else
16763 ac_cv_sizeof_void_p=0
16766 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16767 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16768 cat >>confdefs.h <<_ACEOF
16769 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16770 _ACEOF
16773 esac
16775 # Lacking an uint64_t? Test size of long
16776 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16777 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16778 echo $ECHO_N "checking for long... $ECHO_C" >&6
16779 if test "${ac_cv_type_long+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 else
16782 cat >conftest.$ac_ext <<_ACEOF
16783 /* confdefs.h. */
16784 _ACEOF
16785 cat confdefs.h >>conftest.$ac_ext
16786 cat >>conftest.$ac_ext <<_ACEOF
16787 /* end confdefs.h. */
16788 $ac_includes_default
16790 main ()
16792 if ((long *) 0)
16793 return 0;
16794 if (sizeof (long))
16795 return 0;
16797 return 0;
16799 _ACEOF
16800 rm -f conftest.$ac_objext
16801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16802 (eval $ac_compile) 2>conftest.er1
16803 ac_status=$?
16804 grep -v '^ *+' conftest.er1 >conftest.err
16805 rm -f conftest.er1
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
16809 { ac_try='test -z "$ac_c_werror_flag"
16810 || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16813 ac_status=$?
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 ac_cv_type_long=yes
16823 else
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16827 ac_cv_type_long=no
16829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16831 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16832 echo "${ECHO_T}$ac_cv_type_long" >&6
16834 echo "$as_me:$LINENO: checking size of long" >&5
16835 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16836 if test "${ac_cv_sizeof_long+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 else
16839 if test "$ac_cv_type_long" = yes; then
16840 # The cast to unsigned long works around a bug in the HP C Compiler
16841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16843 # This bug is HP SR number 8606223364.
16844 if test "$cross_compiling" = yes; then
16845 # Depending upon the size, compute the lo and hi bounds.
16846 cat >conftest.$ac_ext <<_ACEOF
16847 /* confdefs.h. */
16848 _ACEOF
16849 cat confdefs.h >>conftest.$ac_ext
16850 cat >>conftest.$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16854 main ()
16856 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16857 test_array [0] = 0
16860 return 0;
16862 _ACEOF
16863 rm -f conftest.$ac_objext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16865 (eval $ac_compile) 2>conftest.er1
16866 ac_status=$?
16867 grep -v '^ *+' conftest.er1 >conftest.err
16868 rm -f conftest.er1
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } &&
16872 { ac_try='test -z "$ac_c_werror_flag"
16873 || test ! -s conftest.err'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16876 ac_status=$?
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; } &&
16879 { ac_try='test -s conftest.$ac_objext'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16882 ac_status=$?
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; }; then
16885 ac_lo=0 ac_mid=0
16886 while :; do
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16895 main ()
16897 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16898 test_array [0] = 0
16901 return 0;
16903 _ACEOF
16904 rm -f conftest.$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906 (eval $ac_compile) 2>conftest.er1
16907 ac_status=$?
16908 grep -v '^ *+' conftest.er1 >conftest.err
16909 rm -f conftest.er1
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try='test -z "$ac_c_werror_flag"
16914 || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16923 ac_status=$?
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 ac_hi=$ac_mid; break
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 ac_lo=`expr $ac_mid + 1`
16932 if test $ac_lo -le $ac_mid; then
16933 ac_lo= ac_hi=
16934 break
16936 ac_mid=`expr 2 '*' $ac_mid + 1`
16938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16939 done
16940 else
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16952 main ()
16954 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16955 test_array [0] = 0
16958 return 0;
16960 _ACEOF
16961 rm -f conftest.$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963 (eval $ac_compile) 2>conftest.er1
16964 ac_status=$?
16965 grep -v '^ *+' conftest.er1 >conftest.err
16966 rm -f conftest.er1
16967 cat conftest.err >&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } &&
16970 { ac_try='test -z "$ac_c_werror_flag"
16971 || test ! -s conftest.err'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16974 ac_status=$?
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try='test -s conftest.$ac_objext'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; }; then
16983 ac_hi=-1 ac_mid=-1
16984 while :; do
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
16993 main ()
16995 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16996 test_array [0] = 0
16999 return 0;
17001 _ACEOF
17002 rm -f conftest.$ac_objext
17003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17004 (eval $ac_compile) 2>conftest.er1
17005 ac_status=$?
17006 grep -v '^ *+' conftest.er1 >conftest.err
17007 rm -f conftest.er1
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } &&
17011 { ac_try='test -z "$ac_c_werror_flag"
17012 || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_lo=$ac_mid; break
17025 else
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17029 ac_hi=`expr '(' $ac_mid ')' - 1`
17030 if test $ac_mid -le $ac_hi; then
17031 ac_lo= ac_hi=
17032 break
17034 ac_mid=`expr 2 '*' $ac_mid`
17036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17037 done
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 ac_lo= ac_hi=
17044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047 # Binary search between lo and hi bounds.
17048 while test "x$ac_lo" != "x$ac_hi"; do
17049 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h. */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 $ac_includes_default
17058 main ()
17060 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17061 test_array [0] = 0
17064 return 0;
17066 _ACEOF
17067 rm -f conftest.$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069 (eval $ac_compile) 2>conftest.er1
17070 ac_status=$?
17071 grep -v '^ *+' conftest.er1 >conftest.err
17072 rm -f conftest.er1
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } &&
17076 { ac_try='test -z "$ac_c_werror_flag"
17077 || test ! -s conftest.err'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17080 ac_status=$?
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; } &&
17083 { ac_try='test -s conftest.$ac_objext'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17086 ac_status=$?
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17089 ac_hi=$ac_mid
17090 else
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17094 ac_lo=`expr '(' $ac_mid ')' + 1`
17096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17097 done
17098 case $ac_lo in
17099 ?*) ac_cv_sizeof_long=$ac_lo;;
17100 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17101 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17103 See \`config.log' for more details." >&5
17104 echo "$as_me: error: cannot compute sizeof (long), 77
17105 See \`config.log' for more details." >&2;}
17106 { (exit 1); exit 1; }; }; } ;;
17107 esac
17108 else
17109 if test "$cross_compiling" = yes; then
17110 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17111 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17112 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17113 See \`config.log' for more details." >&5
17114 echo "$as_me: error: cannot run test program while cross compiling
17115 See \`config.log' for more details." >&2;}
17116 { (exit 1); exit 1; }; }; }
17117 else
17118 cat >conftest.$ac_ext <<_ACEOF
17119 /* confdefs.h. */
17120 _ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17125 long longval () { return (long) (sizeof (long)); }
17126 unsigned long ulongval () { return (long) (sizeof (long)); }
17127 #include <stdio.h>
17128 #include <stdlib.h>
17130 main ()
17133 FILE *f = fopen ("conftest.val", "w");
17134 if (! f)
17135 exit (1);
17136 if (((long) (sizeof (long))) < 0)
17138 long i = longval ();
17139 if (i != ((long) (sizeof (long))))
17140 exit (1);
17141 fprintf (f, "%ld\n", i);
17143 else
17145 unsigned long i = ulongval ();
17146 if (i != ((long) (sizeof (long))))
17147 exit (1);
17148 fprintf (f, "%lu\n", i);
17150 exit (ferror (f) || fclose (f) != 0);
17153 return 0;
17155 _ACEOF
17156 rm -f conftest$ac_exeext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17158 (eval $ac_link) 2>&5
17159 ac_status=$?
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_cv_sizeof_long=`cat conftest.val`
17168 else
17169 echo "$as_me: program exited with status $ac_status" >&5
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 ( exit $ac_status )
17174 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17175 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17177 See \`config.log' for more details." >&5
17178 echo "$as_me: error: cannot compute sizeof (long), 77
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }; }
17182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17185 rm -f conftest.val
17186 else
17187 ac_cv_sizeof_long=0
17190 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17191 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17192 cat >>confdefs.h <<_ACEOF
17193 #define SIZEOF_LONG $ac_cv_sizeof_long
17194 _ACEOF
17197 esac
17199 if test $acx_cv_header_stdint = stddef.h; then
17200 # Lacking a good header? Test size of everything and deduce all types.
17201 echo "$as_me:$LINENO: checking for int" >&5
17202 echo $ECHO_N "checking for int... $ECHO_C" >&6
17203 if test "${ac_cv_type_int+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_includes_default
17214 main ()
17216 if ((int *) 0)
17217 return 0;
17218 if (sizeof (int))
17219 return 0;
17221 return 0;
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17227 ac_status=$?
17228 grep -v '^ *+' conftest.er1 >conftest.err
17229 rm -f conftest.er1
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try='test -z "$ac_c_werror_flag"
17234 || test ! -s conftest.err'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17237 ac_status=$?
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; } &&
17240 { ac_try='test -s conftest.$ac_objext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17243 ac_status=$?
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_type_int=yes
17247 else
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17251 ac_cv_type_int=no
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17256 echo "${ECHO_T}$ac_cv_type_int" >&6
17258 echo "$as_me:$LINENO: checking size of int" >&5
17259 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17260 if test "${ac_cv_sizeof_int+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17262 else
17263 if test "$ac_cv_type_int" = yes; then
17264 # The cast to unsigned long works around a bug in the HP C Compiler
17265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267 # This bug is HP SR number 8606223364.
17268 if test "$cross_compiling" = yes; then
17269 # Depending upon the size, compute the lo and hi bounds.
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 $ac_includes_default
17278 main ()
17280 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17281 test_array [0] = 0
17284 return 0;
17286 _ACEOF
17287 rm -f conftest.$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17290 ac_status=$?
17291 grep -v '^ *+' conftest.er1 >conftest.err
17292 rm -f conftest.er1
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17300 ac_status=$?
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_lo=0 ac_mid=0
17310 while :; do
17311 cat >conftest.$ac_ext <<_ACEOF
17312 /* confdefs.h. */
17313 _ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17319 main ()
17321 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17322 test_array [0] = 0
17325 return 0;
17327 _ACEOF
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_hi=$ac_mid; break
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_lo=`expr $ac_mid + 1`
17356 if test $ac_lo -le $ac_mid; then
17357 ac_lo= ac_hi=
17358 break
17360 ac_mid=`expr 2 '*' $ac_mid + 1`
17362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363 done
17364 else
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 $ac_includes_default
17376 main ()
17378 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17379 test_array [0] = 0
17382 return 0;
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_hi=-1 ac_mid=-1
17408 while :; do
17409 cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h. */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17417 main ()
17419 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17420 test_array [0] = 0
17423 return 0;
17425 _ACEOF
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17445 ac_status=$?
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_lo=$ac_mid; break
17449 else
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17453 ac_hi=`expr '(' $ac_mid ')' - 1`
17454 if test $ac_mid -le $ac_hi; then
17455 ac_lo= ac_hi=
17456 break
17458 ac_mid=`expr 2 '*' $ac_mid`
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461 done
17462 else
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17466 ac_lo= ac_hi=
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 # Binary search between lo and hi bounds.
17472 while test "x$ac_lo" != "x$ac_hi"; do
17473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17482 main ()
17484 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17485 test_array [0] = 0
17488 return 0;
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17504 ac_status=$?
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_hi=$ac_mid
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17518 ac_lo=`expr '(' $ac_mid ')' + 1`
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 done
17522 case $ac_lo in
17523 ?*) ac_cv_sizeof_int=$ac_lo;;
17524 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17525 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (int), 77
17529 See \`config.log' for more details." >&2;}
17530 { (exit 1); exit 1; }; }; } ;;
17531 esac
17532 else
17533 if test "$cross_compiling" = yes; then
17534 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17535 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17536 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17537 See \`config.log' for more details." >&5
17538 echo "$as_me: error: cannot run test program while cross compiling
17539 See \`config.log' for more details." >&2;}
17540 { (exit 1); exit 1; }; }; }
17541 else
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17549 long longval () { return (long) (sizeof (int)); }
17550 unsigned long ulongval () { return (long) (sizeof (int)); }
17551 #include <stdio.h>
17552 #include <stdlib.h>
17554 main ()
17557 FILE *f = fopen ("conftest.val", "w");
17558 if (! f)
17559 exit (1);
17560 if (((long) (sizeof (int))) < 0)
17562 long i = longval ();
17563 if (i != ((long) (sizeof (int))))
17564 exit (1);
17565 fprintf (f, "%ld\n", i);
17567 else
17569 unsigned long i = ulongval ();
17570 if (i != ((long) (sizeof (int))))
17571 exit (1);
17572 fprintf (f, "%lu\n", i);
17574 exit (ferror (f) || fclose (f) != 0);
17577 return 0;
17579 _ACEOF
17580 rm -f conftest$ac_exeext
17581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17582 (eval $ac_link) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17588 ac_status=$?
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_sizeof_int=`cat conftest.val`
17592 else
17593 echo "$as_me: program exited with status $ac_status" >&5
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 ( exit $ac_status )
17598 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17599 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17601 See \`config.log' for more details." >&5
17602 echo "$as_me: error: cannot compute sizeof (int), 77
17603 See \`config.log' for more details." >&2;}
17604 { (exit 1); exit 1; }; }; }
17606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17609 rm -f conftest.val
17610 else
17611 ac_cv_sizeof_int=0
17614 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17615 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17616 cat >>confdefs.h <<_ACEOF
17617 #define SIZEOF_INT $ac_cv_sizeof_int
17618 _ACEOF
17621 echo "$as_me:$LINENO: checking for short" >&5
17622 echo $ECHO_N "checking for short... $ECHO_C" >&6
17623 if test "${ac_cv_type_short+set}" = set; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626 cat >conftest.$ac_ext <<_ACEOF
17627 /* confdefs.h. */
17628 _ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h. */
17632 $ac_includes_default
17634 main ()
17636 if ((short *) 0)
17637 return 0;
17638 if (sizeof (short))
17639 return 0;
17641 return 0;
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17647 ac_status=$?
17648 grep -v '^ *+' conftest.er1 >conftest.err
17649 rm -f conftest.er1
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try='test -z "$ac_c_werror_flag"
17654 || test ! -s conftest.err'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17657 ac_status=$?
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try='test -s conftest.$ac_objext'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17663 ac_status=$?
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; }; then
17666 ac_cv_type_short=yes
17667 else
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17671 ac_cv_type_short=no
17673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17675 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17676 echo "${ECHO_T}$ac_cv_type_short" >&6
17678 echo "$as_me:$LINENO: checking size of short" >&5
17679 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17680 if test "${ac_cv_sizeof_short+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683 if test "$ac_cv_type_short" = yes; then
17684 # The cast to unsigned long works around a bug in the HP C Compiler
17685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17687 # This bug is HP SR number 8606223364.
17688 if test "$cross_compiling" = yes; then
17689 # Depending upon the size, compute the lo and hi bounds.
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 $ac_includes_default
17698 main ()
17700 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17701 test_array [0] = 0
17704 return 0;
17706 _ACEOF
17707 rm -f conftest.$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17710 ac_status=$?
17711 grep -v '^ *+' conftest.er1 >conftest.err
17712 rm -f conftest.er1
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try='test -z "$ac_c_werror_flag"
17717 || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17720 ac_status=$?
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try='test -s conftest.$ac_objext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17726 ac_status=$?
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17729 ac_lo=0 ac_mid=0
17730 while :; do
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17739 main ()
17741 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17742 test_array [0] = 0
17745 return 0;
17747 _ACEOF
17748 rm -f conftest.$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17751 ac_status=$?
17752 grep -v '^ *+' conftest.er1 >conftest.err
17753 rm -f conftest.er1
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try='test -z "$ac_c_werror_flag"
17758 || test ! -s conftest.err'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; } &&
17764 { ac_try='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17767 ac_status=$?
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 ac_hi=$ac_mid; break
17771 else
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17775 ac_lo=`expr $ac_mid + 1`
17776 if test $ac_lo -le $ac_mid; then
17777 ac_lo= ac_hi=
17778 break
17780 ac_mid=`expr 2 '*' $ac_mid + 1`
17782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17783 done
17784 else
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17788 cat >conftest.$ac_ext <<_ACEOF
17789 /* confdefs.h. */
17790 _ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794 $ac_includes_default
17796 main ()
17798 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17799 test_array [0] = 0
17802 return 0;
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17808 ac_status=$?
17809 grep -v '^ *+' conftest.er1 >conftest.err
17810 rm -f conftest.er1
17811 cat conftest.err >&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try='test -z "$ac_c_werror_flag"
17815 || test ! -s conftest.err'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17818 ac_status=$?
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; } &&
17821 { ac_try='test -s conftest.$ac_objext'
17822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823 (eval $ac_try) 2>&5
17824 ac_status=$?
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; }; then
17827 ac_hi=-1 ac_mid=-1
17828 while :; do
17829 cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17837 main ()
17839 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17840 test_array [0] = 0
17843 return 0;
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_lo=$ac_mid; break
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 ac_hi=`expr '(' $ac_mid ')' - 1`
17874 if test $ac_mid -le $ac_hi; then
17875 ac_lo= ac_hi=
17876 break
17878 ac_mid=`expr 2 '*' $ac_mid`
17880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17881 done
17882 else
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17886 ac_lo= ac_hi=
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17891 # Binary search between lo and hi bounds.
17892 while test "x$ac_lo" != "x$ac_hi"; do
17893 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 $ac_includes_default
17902 main ()
17904 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17905 test_array [0] = 0
17908 return 0;
17910 _ACEOF
17911 rm -f conftest.$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913 (eval $ac_compile) 2>conftest.er1
17914 ac_status=$?
17915 grep -v '^ *+' conftest.er1 >conftest.err
17916 rm -f conftest.er1
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } &&
17920 { ac_try='test -z "$ac_c_werror_flag"
17921 || test ! -s conftest.err'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17924 ac_status=$?
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; } &&
17927 { ac_try='test -s conftest.$ac_objext'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17930 ac_status=$?
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; }; then
17933 ac_hi=$ac_mid
17934 else
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17938 ac_lo=`expr '(' $ac_mid ')' + 1`
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 done
17942 case $ac_lo in
17943 ?*) ac_cv_sizeof_short=$ac_lo;;
17944 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17945 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17947 See \`config.log' for more details." >&5
17948 echo "$as_me: error: cannot compute sizeof (short), 77
17949 See \`config.log' for more details." >&2;}
17950 { (exit 1); exit 1; }; }; } ;;
17951 esac
17952 else
17953 if test "$cross_compiling" = yes; then
17954 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17955 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17956 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17957 See \`config.log' for more details." >&5
17958 echo "$as_me: error: cannot run test program while cross compiling
17959 See \`config.log' for more details." >&2;}
17960 { (exit 1); exit 1; }; }; }
17961 else
17962 cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h. */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17969 long longval () { return (long) (sizeof (short)); }
17970 unsigned long ulongval () { return (long) (sizeof (short)); }
17971 #include <stdio.h>
17972 #include <stdlib.h>
17974 main ()
17977 FILE *f = fopen ("conftest.val", "w");
17978 if (! f)
17979 exit (1);
17980 if (((long) (sizeof (short))) < 0)
17982 long i = longval ();
17983 if (i != ((long) (sizeof (short))))
17984 exit (1);
17985 fprintf (f, "%ld\n", i);
17987 else
17989 unsigned long i = ulongval ();
17990 if (i != ((long) (sizeof (short))))
17991 exit (1);
17992 fprintf (f, "%lu\n", i);
17994 exit (ferror (f) || fclose (f) != 0);
17997 return 0;
17999 _ACEOF
18000 rm -f conftest$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18008 ac_status=$?
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 ac_cv_sizeof_short=`cat conftest.val`
18012 else
18013 echo "$as_me: program exited with status $ac_status" >&5
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18017 ( exit $ac_status )
18018 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18019 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18020 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18021 See \`config.log' for more details." >&5
18022 echo "$as_me: error: cannot compute sizeof (short), 77
18023 See \`config.log' for more details." >&2;}
18024 { (exit 1); exit 1; }; }; }
18026 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18029 rm -f conftest.val
18030 else
18031 ac_cv_sizeof_short=0
18034 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18035 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18036 cat >>confdefs.h <<_ACEOF
18037 #define SIZEOF_SHORT $ac_cv_sizeof_short
18038 _ACEOF
18041 echo "$as_me:$LINENO: checking for char" >&5
18042 echo $ECHO_N "checking for char... $ECHO_C" >&6
18043 if test "${ac_cv_type_char+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 else
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 $ac_includes_default
18054 main ()
18056 if ((char *) 0)
18057 return 0;
18058 if (sizeof (char))
18059 return 0;
18061 return 0;
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18067 ac_status=$?
18068 grep -v '^ *+' conftest.er1 >conftest.err
18069 rm -f conftest.er1
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag"
18074 || test ! -s conftest.err'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18077 ac_status=$?
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; } &&
18080 { ac_try='test -s conftest.$ac_objext'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18083 ac_status=$?
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; }; then
18086 ac_cv_type_char=yes
18087 else
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18091 ac_cv_type_char=no
18093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18095 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18096 echo "${ECHO_T}$ac_cv_type_char" >&6
18098 echo "$as_me:$LINENO: checking size of char" >&5
18099 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18100 if test "${ac_cv_sizeof_char+set}" = set; then
18101 echo $ECHO_N "(cached) $ECHO_C" >&6
18102 else
18103 if test "$ac_cv_type_char" = yes; then
18104 # The cast to unsigned long works around a bug in the HP C Compiler
18105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18107 # This bug is HP SR number 8606223364.
18108 if test "$cross_compiling" = yes; then
18109 # Depending upon the size, compute the lo and hi bounds.
18110 cat >conftest.$ac_ext <<_ACEOF
18111 /* confdefs.h. */
18112 _ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 $ac_includes_default
18118 main ()
18120 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18121 test_array [0] = 0
18124 return 0;
18126 _ACEOF
18127 rm -f conftest.$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>conftest.er1
18130 ac_status=$?
18131 grep -v '^ *+' conftest.er1 >conftest.err
18132 rm -f conftest.er1
18133 cat conftest.err >&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try='test -z "$ac_c_werror_flag"
18137 || test ! -s conftest.err'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18140 ac_status=$?
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; } &&
18143 { ac_try='test -s conftest.$ac_objext'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18146 ac_status=$?
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; }; then
18149 ac_lo=0 ac_mid=0
18150 while :; do
18151 cat >conftest.$ac_ext <<_ACEOF
18152 /* confdefs.h. */
18153 _ACEOF
18154 cat confdefs.h >>conftest.$ac_ext
18155 cat >>conftest.$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 $ac_includes_default
18159 main ()
18161 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18162 test_array [0] = 0
18165 return 0;
18167 _ACEOF
18168 rm -f conftest.$ac_objext
18169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18170 (eval $ac_compile) 2>conftest.er1
18171 ac_status=$?
18172 grep -v '^ *+' conftest.er1 >conftest.err
18173 rm -f conftest.er1
18174 cat conftest.err >&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } &&
18177 { ac_try='test -z "$ac_c_werror_flag"
18178 || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_hi=$ac_mid; break
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_lo=`expr $ac_mid + 1`
18196 if test $ac_lo -le $ac_mid; then
18197 ac_lo= ac_hi=
18198 break
18200 ac_mid=`expr 2 '*' $ac_mid + 1`
18202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18203 done
18204 else
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18208 cat >conftest.$ac_ext <<_ACEOF
18209 /* confdefs.h. */
18210 _ACEOF
18211 cat confdefs.h >>conftest.$ac_ext
18212 cat >>conftest.$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 $ac_includes_default
18216 main ()
18218 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18219 test_array [0] = 0
18222 return 0;
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18227 (eval $ac_compile) 2>conftest.er1
18228 ac_status=$?
18229 grep -v '^ *+' conftest.er1 >conftest.err
18230 rm -f conftest.er1
18231 cat conftest.err >&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); } &&
18234 { ac_try='test -z "$ac_c_werror_flag"
18235 || test ! -s conftest.err'
18236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 (eval $ac_try) 2>&5
18238 ac_status=$?
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; } &&
18241 { ac_try='test -s conftest.$ac_objext'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18244 ac_status=$?
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18247 ac_hi=-1 ac_mid=-1
18248 while :; do
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18257 main ()
18259 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18260 test_array [0] = 0
18263 return 0;
18265 _ACEOF
18266 rm -f conftest.$ac_objext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268 (eval $ac_compile) 2>conftest.er1
18269 ac_status=$?
18270 grep -v '^ *+' conftest.er1 >conftest.err
18271 rm -f conftest.er1
18272 cat conftest.err >&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try='test -z "$ac_c_werror_flag"
18276 || test ! -s conftest.err'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; } &&
18282 { ac_try='test -s conftest.$ac_objext'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18285 ac_status=$?
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; }; then
18288 ac_lo=$ac_mid; break
18289 else
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18293 ac_hi=`expr '(' $ac_mid ')' - 1`
18294 if test $ac_mid -le $ac_hi; then
18295 ac_lo= ac_hi=
18296 break
18298 ac_mid=`expr 2 '*' $ac_mid`
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18301 done
18302 else
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 ac_lo= ac_hi=
18308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18311 # Binary search between lo and hi bounds.
18312 while test "x$ac_lo" != "x$ac_hi"; do
18313 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18314 cat >conftest.$ac_ext <<_ACEOF
18315 /* confdefs.h. */
18316 _ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18320 $ac_includes_default
18322 main ()
18324 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18325 test_array [0] = 0
18328 return 0;
18330 _ACEOF
18331 rm -f conftest.$ac_objext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18333 (eval $ac_compile) 2>conftest.er1
18334 ac_status=$?
18335 grep -v '^ *+' conftest.er1 >conftest.err
18336 rm -f conftest.er1
18337 cat conftest.err >&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try='test -z "$ac_c_werror_flag"
18341 || test ! -s conftest.err'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18344 ac_status=$?
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try='test -s conftest.$ac_objext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18350 ac_status=$?
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18353 ac_hi=$ac_mid
18354 else
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18358 ac_lo=`expr '(' $ac_mid ')' + 1`
18360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18361 done
18362 case $ac_lo in
18363 ?*) ac_cv_sizeof_char=$ac_lo;;
18364 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18365 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18367 See \`config.log' for more details." >&5
18368 echo "$as_me: error: cannot compute sizeof (char), 77
18369 See \`config.log' for more details." >&2;}
18370 { (exit 1); exit 1; }; }; } ;;
18371 esac
18372 else
18373 if test "$cross_compiling" = yes; then
18374 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18375 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18376 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18377 See \`config.log' for more details." >&5
18378 echo "$as_me: error: cannot run test program while cross compiling
18379 See \`config.log' for more details." >&2;}
18380 { (exit 1); exit 1; }; }; }
18381 else
18382 cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h. */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 $ac_includes_default
18389 long longval () { return (long) (sizeof (char)); }
18390 unsigned long ulongval () { return (long) (sizeof (char)); }
18391 #include <stdio.h>
18392 #include <stdlib.h>
18394 main ()
18397 FILE *f = fopen ("conftest.val", "w");
18398 if (! f)
18399 exit (1);
18400 if (((long) (sizeof (char))) < 0)
18402 long i = longval ();
18403 if (i != ((long) (sizeof (char))))
18404 exit (1);
18405 fprintf (f, "%ld\n", i);
18407 else
18409 unsigned long i = ulongval ();
18410 if (i != ((long) (sizeof (char))))
18411 exit (1);
18412 fprintf (f, "%lu\n", i);
18414 exit (ferror (f) || fclose (f) != 0);
18417 return 0;
18419 _ACEOF
18420 rm -f conftest$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422 (eval $ac_link) 2>&5
18423 ac_status=$?
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_cv_sizeof_char=`cat conftest.val`
18432 else
18433 echo "$as_me: program exited with status $ac_status" >&5
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18437 ( exit $ac_status )
18438 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18439 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18441 See \`config.log' for more details." >&5
18442 echo "$as_me: error: cannot compute sizeof (char), 77
18443 See \`config.log' for more details." >&2;}
18444 { (exit 1); exit 1; }; }; }
18446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18449 rm -f conftest.val
18450 else
18451 ac_cv_sizeof_char=0
18454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18455 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18456 cat >>confdefs.h <<_ACEOF
18457 #define SIZEOF_CHAR $ac_cv_sizeof_char
18458 _ACEOF
18462 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18463 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18464 case "$ac_cv_sizeof_char" in
18465 1) acx_cv_type_int8_t=char ;;
18466 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18467 echo "$as_me: error: no 8-bit type" >&2;}
18468 { (exit please report a bug); exit please report a bug; }; }
18469 esac
18470 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18471 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18473 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18474 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18475 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18476 2:*) acx_cv_type_int16_t=int ;;
18477 *:2) acx_cv_type_int16_t=short ;;
18478 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18479 echo "$as_me: error: no 16-bit type" >&2;}
18480 { (exit please report a bug); exit please report a bug; }; }
18481 esac
18482 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18483 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18485 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18486 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18487 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18488 4:*) acx_cv_type_int32_t=int ;;
18489 *:4) acx_cv_type_int32_t=long ;;
18490 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18491 echo "$as_me: error: no 32-bit type" >&2;}
18492 { (exit please report a bug); exit please report a bug; }; }
18493 esac
18494 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18495 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18498 # These tests are here to make the output prettier
18500 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18501 case "$ac_cv_sizeof_long" in
18502 8) acx_cv_type_int64_t=long ;;
18503 esac
18504 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18505 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18506 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18507 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18510 # Now we can use the above types
18512 if test "$ac_cv_type_uintptr_t" != yes; then
18513 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18514 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18515 case $ac_cv_sizeof_void_p in
18516 2) acx_cv_type_intptr_t=int16_t ;;
18517 4) acx_cv_type_intptr_t=int32_t ;;
18518 8) acx_cv_type_intptr_t=int64_t ;;
18519 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18520 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18521 { (exit please report a bug); exit please report a bug; }; }
18522 esac
18523 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18524 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18527 # ----------------- done all checks, emit header -------------
18528 ac_config_commands="$ac_config_commands gstdint.h"
18533 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18534 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18535 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 else
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h. */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 $ac_includes_default
18546 main ()
18548 static struct stat ac_aggr;
18549 if (ac_aggr.st_blksize)
18550 return 0;
18552 return 0;
18554 _ACEOF
18555 rm -f conftest.$ac_objext
18556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557 (eval $ac_compile) 2>conftest.er1
18558 ac_status=$?
18559 grep -v '^ *+' conftest.er1 >conftest.err
18560 rm -f conftest.er1
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } &&
18564 { ac_try='test -z "$ac_c_werror_flag"
18565 || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_member_struct_stat_st_blksize=yes
18578 else
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18582 cat >conftest.$ac_ext <<_ACEOF
18583 /* confdefs.h. */
18584 _ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 $ac_includes_default
18590 main ()
18592 static struct stat ac_aggr;
18593 if (sizeof ac_aggr.st_blksize)
18594 return 0;
18596 return 0;
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601 (eval $ac_compile) 2>conftest.er1
18602 ac_status=$?
18603 grep -v '^ *+' conftest.er1 >conftest.err
18604 rm -f conftest.er1
18605 cat conftest.err >&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try='test -z "$ac_c_werror_flag"
18609 || test ! -s conftest.err'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; } &&
18615 { ac_try='test -s conftest.$ac_objext'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18618 ac_status=$?
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; }; then
18621 ac_cv_member_struct_stat_st_blksize=yes
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 ac_cv_member_struct_stat_st_blksize=no
18628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18632 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18633 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18634 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18638 _ACEOF
18643 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18644 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18645 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 $ac_includes_default
18656 main ()
18658 static struct stat ac_aggr;
18659 if (ac_aggr.st_blocks)
18660 return 0;
18662 return 0;
18664 _ACEOF
18665 rm -f conftest.$ac_objext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18667 (eval $ac_compile) 2>conftest.er1
18668 ac_status=$?
18669 grep -v '^ *+' conftest.er1 >conftest.err
18670 rm -f conftest.er1
18671 cat conftest.err >&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } &&
18674 { ac_try='test -z "$ac_c_werror_flag"
18675 || test ! -s conftest.err'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18678 ac_status=$?
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; } &&
18681 { ac_try='test -s conftest.$ac_objext'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; }; then
18687 ac_cv_member_struct_stat_st_blocks=yes
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18700 main ()
18702 static struct stat ac_aggr;
18703 if (sizeof ac_aggr.st_blocks)
18704 return 0;
18706 return 0;
18708 _ACEOF
18709 rm -f conftest.$ac_objext
18710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18711 (eval $ac_compile) 2>conftest.er1
18712 ac_status=$?
18713 grep -v '^ *+' conftest.er1 >conftest.err
18714 rm -f conftest.er1
18715 cat conftest.err >&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); } &&
18718 { ac_try='test -z "$ac_c_werror_flag"
18719 || test ! -s conftest.err'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_cv_member_struct_stat_st_blocks=yes
18732 else
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 ac_cv_member_struct_stat_st_blocks=no
18738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18742 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18743 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18744 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18748 _ACEOF
18753 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18754 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18755 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18766 main ()
18768 static struct stat ac_aggr;
18769 if (ac_aggr.st_rdev)
18770 return 0;
18772 return 0;
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try='test -z "$ac_c_werror_flag"
18785 || test ! -s conftest.err'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; } &&
18791 { ac_try='test -s conftest.$ac_objext'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18794 ac_status=$?
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18797 ac_cv_member_struct_stat_st_rdev=yes
18798 else
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.$ac_ext >&5
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18810 main ()
18812 static struct stat ac_aggr;
18813 if (sizeof ac_aggr.st_rdev)
18814 return 0;
18816 return 0;
18818 _ACEOF
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18822 ac_status=$?
18823 grep -v '^ *+' conftest.er1 >conftest.err
18824 rm -f conftest.er1
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag"
18829 || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18838 ac_status=$?
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_member_struct_stat_st_rdev=yes
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 ac_cv_member_struct_stat_st_rdev=no
18848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18852 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18853 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18854 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18856 cat >>confdefs.h <<_ACEOF
18857 #define HAVE_STRUCT_STAT_ST_RDEV 1
18858 _ACEOF
18864 # Check for library functions.
18873 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18876 echo "$as_me:$LINENO: checking for $ac_func" >&5
18877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18878 if eval "test \"\${$as_ac_var+set}\" = set"; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881 if test x$gcc_no_link = xyes; then
18882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18884 { (exit 1); exit 1; }; }
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h. */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18894 #define $ac_func innocuous_$ac_func
18896 /* System header to define __stub macros and hopefully few prototypes,
18897 which can conflict with char $ac_func (); below.
18898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18899 <limits.h> exists even on freestanding compilers. */
18901 #ifdef __STDC__
18902 # include <limits.h>
18903 #else
18904 # include <assert.h>
18905 #endif
18907 #undef $ac_func
18909 /* Override any gcc2 internal prototype to avoid an error. */
18910 #ifdef __cplusplus
18911 extern "C"
18913 #endif
18914 /* We use char because int might match the return type of a gcc2
18915 builtin and then its argument prototype would still apply. */
18916 char $ac_func ();
18917 /* The GNU C library defines this for functions which it implements
18918 to always fail with ENOSYS. Some functions are actually named
18919 something starting with __ and the normal name is an alias. */
18920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18921 choke me
18922 #else
18923 char (*f) () = $ac_func;
18924 #endif
18925 #ifdef __cplusplus
18927 #endif
18930 main ()
18932 return f != $ac_func;
18934 return 0;
18936 _ACEOF
18937 rm -f conftest.$ac_objext conftest$ac_exeext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18939 (eval $ac_link) 2>conftest.er1
18940 ac_status=$?
18941 grep -v '^ *+' conftest.er1 >conftest.err
18942 rm -f conftest.er1
18943 cat conftest.err >&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } &&
18946 { ac_try='test -z "$ac_c_werror_flag"
18947 || test ! -s conftest.err'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18950 ac_status=$?
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; } &&
18953 { ac_try='test -s conftest$ac_exeext'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18956 ac_status=$?
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; }; then
18959 eval "$as_ac_var=yes"
18960 else
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18964 eval "$as_ac_var=no"
18966 rm -f conftest.err conftest.$ac_objext \
18967 conftest$ac_exeext conftest.$ac_ext
18969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18971 if test `eval echo '${'$as_ac_var'}'` = yes; then
18972 cat >>confdefs.h <<_ACEOF
18973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18974 _ACEOF
18977 done
18987 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18990 echo "$as_me:$LINENO: checking for $ac_func" >&5
18991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18992 if eval "test \"\${$as_ac_var+set}\" = set"; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18995 if test x$gcc_no_link = xyes; then
18996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18998 { (exit 1); exit 1; }; }
19000 cat >conftest.$ac_ext <<_ACEOF
19001 /* confdefs.h. */
19002 _ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19008 #define $ac_func innocuous_$ac_func
19010 /* System header to define __stub macros and hopefully few prototypes,
19011 which can conflict with char $ac_func (); below.
19012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19013 <limits.h> exists even on freestanding compilers. */
19015 #ifdef __STDC__
19016 # include <limits.h>
19017 #else
19018 # include <assert.h>
19019 #endif
19021 #undef $ac_func
19023 /* Override any gcc2 internal prototype to avoid an error. */
19024 #ifdef __cplusplus
19025 extern "C"
19027 #endif
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19030 char $ac_func ();
19031 /* The GNU C library defines this for functions which it implements
19032 to always fail with ENOSYS. Some functions are actually named
19033 something starting with __ and the normal name is an alias. */
19034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19035 choke me
19036 #else
19037 char (*f) () = $ac_func;
19038 #endif
19039 #ifdef __cplusplus
19041 #endif
19044 main ()
19046 return f != $ac_func;
19048 return 0;
19050 _ACEOF
19051 rm -f conftest.$ac_objext conftest$ac_exeext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19053 (eval $ac_link) 2>conftest.er1
19054 ac_status=$?
19055 grep -v '^ *+' conftest.er1 >conftest.err
19056 rm -f conftest.er1
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try='test -z "$ac_c_werror_flag"
19061 || test ! -s conftest.err'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; } &&
19067 { ac_try='test -s conftest$ac_exeext'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19070 ac_status=$?
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 eval "$as_ac_var=yes"
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 eval "$as_ac_var=no"
19080 rm -f conftest.err conftest.$ac_objext \
19081 conftest$ac_exeext conftest.$ac_ext
19083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19085 if test `eval echo '${'$as_ac_var'}'` = yes; then
19086 cat >>confdefs.h <<_ACEOF
19087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19088 _ACEOF
19091 done
19103 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
19105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19106 echo "$as_me:$LINENO: checking for $ac_func" >&5
19107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19108 if eval "test \"\${$as_ac_var+set}\" = set"; then
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19110 else
19111 if test x$gcc_no_link = xyes; then
19112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19114 { (exit 1); exit 1; }; }
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19124 #define $ac_func innocuous_$ac_func
19126 /* System header to define __stub macros and hopefully few prototypes,
19127 which can conflict with char $ac_func (); below.
19128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19129 <limits.h> exists even on freestanding compilers. */
19131 #ifdef __STDC__
19132 # include <limits.h>
19133 #else
19134 # include <assert.h>
19135 #endif
19137 #undef $ac_func
19139 /* Override any gcc2 internal prototype to avoid an error. */
19140 #ifdef __cplusplus
19141 extern "C"
19143 #endif
19144 /* We use char because int might match the return type of a gcc2
19145 builtin and then its argument prototype would still apply. */
19146 char $ac_func ();
19147 /* The GNU C library defines this for functions which it implements
19148 to always fail with ENOSYS. Some functions are actually named
19149 something starting with __ and the normal name is an alias. */
19150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19151 choke me
19152 #else
19153 char (*f) () = $ac_func;
19154 #endif
19155 #ifdef __cplusplus
19157 #endif
19160 main ()
19162 return f != $ac_func;
19164 return 0;
19166 _ACEOF
19167 rm -f conftest.$ac_objext conftest$ac_exeext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19169 (eval $ac_link) 2>conftest.er1
19170 ac_status=$?
19171 grep -v '^ *+' conftest.er1 >conftest.err
19172 rm -f conftest.er1
19173 cat conftest.err >&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } &&
19176 { ac_try='test -z "$ac_c_werror_flag"
19177 || test ! -s conftest.err'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; } &&
19183 { ac_try='test -s conftest$ac_exeext'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; }; then
19189 eval "$as_ac_var=yes"
19190 else
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19194 eval "$as_ac_var=no"
19196 rm -f conftest.err conftest.$ac_objext \
19197 conftest$ac_exeext conftest.$ac_ext
19199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19201 if test `eval echo '${'$as_ac_var'}'` = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19204 _ACEOF
19207 done
19218 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19221 echo "$as_me:$LINENO: checking for $ac_func" >&5
19222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19223 if eval "test \"\${$as_ac_var+set}\" = set"; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 else
19226 if test x$gcc_no_link = xyes; then
19227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19229 { (exit 1); exit 1; }; }
19231 cat >conftest.$ac_ext <<_ACEOF
19232 /* confdefs.h. */
19233 _ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19239 #define $ac_func innocuous_$ac_func
19241 /* System header to define __stub macros and hopefully few prototypes,
19242 which can conflict with char $ac_func (); below.
19243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19244 <limits.h> exists even on freestanding compilers. */
19246 #ifdef __STDC__
19247 # include <limits.h>
19248 #else
19249 # include <assert.h>
19250 #endif
19252 #undef $ac_func
19254 /* Override any gcc2 internal prototype to avoid an error. */
19255 #ifdef __cplusplus
19256 extern "C"
19258 #endif
19259 /* We use char because int might match the return type of a gcc2
19260 builtin and then its argument prototype would still apply. */
19261 char $ac_func ();
19262 /* The GNU C library defines this for functions which it implements
19263 to always fail with ENOSYS. Some functions are actually named
19264 something starting with __ and the normal name is an alias. */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19266 choke me
19267 #else
19268 char (*f) () = $ac_func;
19269 #endif
19270 #ifdef __cplusplus
19272 #endif
19275 main ()
19277 return f != $ac_func;
19279 return 0;
19281 _ACEOF
19282 rm -f conftest.$ac_objext conftest$ac_exeext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19284 (eval $ac_link) 2>conftest.er1
19285 ac_status=$?
19286 grep -v '^ *+' conftest.er1 >conftest.err
19287 rm -f conftest.er1
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } &&
19291 { ac_try='test -z "$ac_c_werror_flag"
19292 || test ! -s conftest.err'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19295 ac_status=$?
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; } &&
19298 { ac_try='test -s conftest$ac_exeext'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19301 ac_status=$?
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; }; then
19304 eval "$as_ac_var=yes"
19305 else
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19309 eval "$as_ac_var=no"
19311 rm -f conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19316 if test `eval echo '${'$as_ac_var'}'` = yes; then
19317 cat >>confdefs.h <<_ACEOF
19318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19319 _ACEOF
19322 done
19332 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19335 echo "$as_me:$LINENO: checking for $ac_func" >&5
19336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19337 if eval "test \"\${$as_ac_var+set}\" = set"; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 else
19340 if test x$gcc_no_link = xyes; then
19341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19343 { (exit 1); exit 1; }; }
19345 cat >conftest.$ac_ext <<_ACEOF
19346 /* confdefs.h. */
19347 _ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19353 #define $ac_func innocuous_$ac_func
19355 /* System header to define __stub macros and hopefully few prototypes,
19356 which can conflict with char $ac_func (); below.
19357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19358 <limits.h> exists even on freestanding compilers. */
19360 #ifdef __STDC__
19361 # include <limits.h>
19362 #else
19363 # include <assert.h>
19364 #endif
19366 #undef $ac_func
19368 /* Override any gcc2 internal prototype to avoid an error. */
19369 #ifdef __cplusplus
19370 extern "C"
19372 #endif
19373 /* We use char because int might match the return type of a gcc2
19374 builtin and then its argument prototype would still apply. */
19375 char $ac_func ();
19376 /* The GNU C library defines this for functions which it implements
19377 to always fail with ENOSYS. Some functions are actually named
19378 something starting with __ and the normal name is an alias. */
19379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19380 choke me
19381 #else
19382 char (*f) () = $ac_func;
19383 #endif
19384 #ifdef __cplusplus
19386 #endif
19389 main ()
19391 return f != $ac_func;
19393 return 0;
19395 _ACEOF
19396 rm -f conftest.$ac_objext conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398 (eval $ac_link) 2>conftest.er1
19399 ac_status=$?
19400 grep -v '^ *+' conftest.er1 >conftest.err
19401 rm -f conftest.er1
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_c_werror_flag"
19406 || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19409 ac_status=$?
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest$ac_exeext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19415 ac_status=$?
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 eval "$as_ac_var=yes"
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 eval "$as_ac_var=no"
19425 rm -f conftest.err conftest.$ac_objext \
19426 conftest$ac_exeext conftest.$ac_ext
19428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19430 if test `eval echo '${'$as_ac_var'}'` = yes; then
19431 cat >>confdefs.h <<_ACEOF
19432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19433 _ACEOF
19436 done
19439 # Check for glibc backtrace functions
19442 for ac_func in backtrace backtrace_symbols
19444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19445 echo "$as_me:$LINENO: checking for $ac_func" >&5
19446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19447 if eval "test \"\${$as_ac_var+set}\" = set"; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450 if test x$gcc_no_link = xyes; then
19451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19453 { (exit 1); exit 1; }; }
19455 cat >conftest.$ac_ext <<_ACEOF
19456 /* confdefs.h. */
19457 _ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19463 #define $ac_func innocuous_$ac_func
19465 /* System header to define __stub macros and hopefully few prototypes,
19466 which can conflict with char $ac_func (); below.
19467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19468 <limits.h> exists even on freestanding compilers. */
19470 #ifdef __STDC__
19471 # include <limits.h>
19472 #else
19473 # include <assert.h>
19474 #endif
19476 #undef $ac_func
19478 /* Override any gcc2 internal prototype to avoid an error. */
19479 #ifdef __cplusplus
19480 extern "C"
19482 #endif
19483 /* We use char because int might match the return type of a gcc2
19484 builtin and then its argument prototype would still apply. */
19485 char $ac_func ();
19486 /* The GNU C library defines this for functions which it implements
19487 to always fail with ENOSYS. Some functions are actually named
19488 something starting with __ and the normal name is an alias. */
19489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19490 choke me
19491 #else
19492 char (*f) () = $ac_func;
19493 #endif
19494 #ifdef __cplusplus
19496 #endif
19499 main ()
19501 return f != $ac_func;
19503 return 0;
19505 _ACEOF
19506 rm -f conftest.$ac_objext conftest$ac_exeext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19508 (eval $ac_link) 2>conftest.er1
19509 ac_status=$?
19510 grep -v '^ *+' conftest.er1 >conftest.err
19511 rm -f conftest.er1
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try='test -z "$ac_c_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try='test -s conftest$ac_exeext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 eval "$as_ac_var=yes"
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 eval "$as_ac_var=no"
19535 rm -f conftest.err conftest.$ac_objext \
19536 conftest$ac_exeext conftest.$ac_ext
19538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19540 if test `eval echo '${'$as_ac_var'}'` = yes; then
19541 cat >>confdefs.h <<_ACEOF
19542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19543 _ACEOF
19546 done
19549 # Check for types
19550 echo "$as_me:$LINENO: checking for intptr_t" >&5
19551 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19552 if test "${ac_cv_type_intptr_t+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19554 else
19555 cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h. */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 $ac_includes_default
19563 main ()
19565 if ((intptr_t *) 0)
19566 return 0;
19567 if (sizeof (intptr_t))
19568 return 0;
19570 return 0;
19572 _ACEOF
19573 rm -f conftest.$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575 (eval $ac_compile) 2>conftest.er1
19576 ac_status=$?
19577 grep -v '^ *+' conftest.er1 >conftest.err
19578 rm -f conftest.er1
19579 cat conftest.err >&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try='test -z "$ac_c_werror_flag"
19583 || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19586 ac_status=$?
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try='test -s conftest.$ac_objext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 ac_cv_type_intptr_t=yes
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 ac_cv_type_intptr_t=no
19602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19604 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19605 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19606 if test $ac_cv_type_intptr_t = yes; then
19608 cat >>confdefs.h <<_ACEOF
19609 #define HAVE_INTPTR_T 1
19610 _ACEOF
19615 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19616 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19617 if test "${ac_cv_type_uintptr_t+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19619 else
19620 cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h. */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626 $ac_includes_default
19628 main ()
19630 if ((uintptr_t *) 0)
19631 return 0;
19632 if (sizeof (uintptr_t))
19633 return 0;
19635 return 0;
19637 _ACEOF
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag"
19648 || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try='test -s conftest.$ac_objext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 ac_cv_type_uintptr_t=yes
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 ac_cv_type_uintptr_t=no
19667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19669 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19670 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19671 if test $ac_cv_type_uintptr_t = yes; then
19673 cat >>confdefs.h <<_ACEOF
19674 #define HAVE_UINTPTR_T 1
19675 _ACEOF
19681 # Check libc for getgid, getpid, getuid
19682 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19683 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19684 if test "${ac_cv_lib_c_getgid+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 else
19687 ac_check_lib_save_LIBS=$LIBS
19688 LIBS="-lc $LIBS"
19689 if test x$gcc_no_link = xyes; then
19690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19692 { (exit 1); exit 1; }; }
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19701 /* Override any gcc2 internal prototype to avoid an error. */
19702 #ifdef __cplusplus
19703 extern "C"
19704 #endif
19705 /* We use char because int might match the return type of a gcc2
19706 builtin and then its argument prototype would still apply. */
19707 char getgid ();
19709 main ()
19711 getgid ();
19713 return 0;
19715 _ACEOF
19716 rm -f conftest.$ac_objext conftest$ac_exeext
19717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19718 (eval $ac_link) 2>conftest.er1
19719 ac_status=$?
19720 grep -v '^ *+' conftest.er1 >conftest.err
19721 rm -f conftest.er1
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } &&
19725 { ac_try='test -z "$ac_c_werror_flag"
19726 || test ! -s conftest.err'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19729 ac_status=$?
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try='test -s conftest$ac_exeext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 ac_cv_lib_c_getgid=yes
19739 else
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19743 ac_cv_lib_c_getgid=no
19745 rm -f conftest.err conftest.$ac_objext \
19746 conftest$ac_exeext conftest.$ac_ext
19747 LIBS=$ac_check_lib_save_LIBS
19749 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19750 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19751 if test $ac_cv_lib_c_getgid = yes; then
19753 cat >>confdefs.h <<\_ACEOF
19754 #define HAVE_GETGID 1
19755 _ACEOF
19759 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19760 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19761 if test "${ac_cv_lib_c_getpid+set}" = set; then
19762 echo $ECHO_N "(cached) $ECHO_C" >&6
19763 else
19764 ac_check_lib_save_LIBS=$LIBS
19765 LIBS="-lc $LIBS"
19766 if test x$gcc_no_link = xyes; then
19767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19769 { (exit 1); exit 1; }; }
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h. */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19778 /* Override any gcc2 internal prototype to avoid an error. */
19779 #ifdef __cplusplus
19780 extern "C"
19781 #endif
19782 /* We use char because int might match the return type of a gcc2
19783 builtin and then its argument prototype would still apply. */
19784 char getpid ();
19786 main ()
19788 getpid ();
19790 return 0;
19792 _ACEOF
19793 rm -f conftest.$ac_objext conftest$ac_exeext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19795 (eval $ac_link) 2>conftest.er1
19796 ac_status=$?
19797 grep -v '^ *+' conftest.er1 >conftest.err
19798 rm -f conftest.er1
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try='test -z "$ac_c_werror_flag"
19803 || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try='test -s conftest$ac_exeext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_cv_lib_c_getpid=yes
19816 else
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19820 ac_cv_lib_c_getpid=no
19822 rm -f conftest.err conftest.$ac_objext \
19823 conftest$ac_exeext conftest.$ac_ext
19824 LIBS=$ac_check_lib_save_LIBS
19826 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19827 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19828 if test $ac_cv_lib_c_getpid = yes; then
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_GETPID 1
19832 _ACEOF
19836 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19837 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19838 if test "${ac_cv_lib_c_getppid+set}" = set; then
19839 echo $ECHO_N "(cached) $ECHO_C" >&6
19840 else
19841 ac_check_lib_save_LIBS=$LIBS
19842 LIBS="-lc $LIBS"
19843 if test x$gcc_no_link = xyes; then
19844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19846 { (exit 1); exit 1; }; }
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19855 /* Override any gcc2 internal prototype to avoid an error. */
19856 #ifdef __cplusplus
19857 extern "C"
19858 #endif
19859 /* We use char because int might match the return type of a gcc2
19860 builtin and then its argument prototype would still apply. */
19861 char getppid ();
19863 main ()
19865 getppid ();
19867 return 0;
19869 _ACEOF
19870 rm -f conftest.$ac_objext conftest$ac_exeext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19872 (eval $ac_link) 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try='test -z "$ac_c_werror_flag"
19880 || test ! -s conftest.err'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19883 ac_status=$?
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; } &&
19886 { ac_try='test -s conftest$ac_exeext'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19889 ac_status=$?
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; }; then
19892 ac_cv_lib_c_getppid=yes
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_lib_c_getppid=no
19899 rm -f conftest.err conftest.$ac_objext \
19900 conftest$ac_exeext conftest.$ac_ext
19901 LIBS=$ac_check_lib_save_LIBS
19903 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19904 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19905 if test $ac_cv_lib_c_getppid = yes; then
19907 cat >>confdefs.h <<\_ACEOF
19908 #define HAVE_GETPPID 1
19909 _ACEOF
19913 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19914 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19915 if test "${ac_cv_lib_c_getuid+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918 ac_check_lib_save_LIBS=$LIBS
19919 LIBS="-lc $LIBS"
19920 if test x$gcc_no_link = xyes; then
19921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19923 { (exit 1); exit 1; }; }
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19932 /* Override any gcc2 internal prototype to avoid an error. */
19933 #ifdef __cplusplus
19934 extern "C"
19935 #endif
19936 /* We use char because int might match the return type of a gcc2
19937 builtin and then its argument prototype would still apply. */
19938 char getuid ();
19940 main ()
19942 getuid ();
19944 return 0;
19946 _ACEOF
19947 rm -f conftest.$ac_objext conftest$ac_exeext
19948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19949 (eval $ac_link) 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } &&
19956 { ac_try='test -z "$ac_c_werror_flag"
19957 || test ! -s conftest.err'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19960 ac_status=$?
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; } &&
19963 { ac_try='test -s conftest$ac_exeext'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; }; then
19969 ac_cv_lib_c_getuid=yes
19970 else
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_cv_lib_c_getuid=no
19976 rm -f conftest.err conftest.$ac_objext \
19977 conftest$ac_exeext conftest.$ac_ext
19978 LIBS=$ac_check_lib_save_LIBS
19980 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19981 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19982 if test $ac_cv_lib_c_getuid = yes; then
19984 cat >>confdefs.h <<\_ACEOF
19985 #define HAVE_GETUID 1
19986 _ACEOF
19990 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19991 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19992 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 else
19995 ac_check_lib_save_LIBS=$LIBS
19996 LIBS="-lc $LIBS"
19997 if test x$gcc_no_link = xyes; then
19998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20000 { (exit 1); exit 1; }; }
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h. */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20009 /* Override any gcc2 internal prototype to avoid an error. */
20010 #ifdef __cplusplus
20011 extern "C"
20012 #endif
20013 /* We use char because int might match the return type of a gcc2
20014 builtin and then its argument prototype would still apply. */
20015 char geteuid ();
20017 main ()
20019 geteuid ();
20021 return 0;
20023 _ACEOF
20024 rm -f conftest.$ac_objext conftest$ac_exeext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20026 (eval $ac_link) 2>conftest.er1
20027 ac_status=$?
20028 grep -v '^ *+' conftest.er1 >conftest.err
20029 rm -f conftest.er1
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try='test -z "$ac_c_werror_flag"
20034 || test ! -s conftest.err'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; } &&
20040 { ac_try='test -s conftest$ac_exeext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 ac_cv_lib_c_geteuid=yes
20047 else
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20051 ac_cv_lib_c_geteuid=no
20053 rm -f conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20055 LIBS=$ac_check_lib_save_LIBS
20057 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20058 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20059 if test $ac_cv_lib_c_geteuid = yes; then
20061 cat >>confdefs.h <<\_ACEOF
20062 #define HAVE_GETEUID 1
20063 _ACEOF
20068 # Check for C99 (and other IEEE) math functions
20069 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20070 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20071 if test "${ac_cv_lib_m_acosf+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074 ac_check_lib_save_LIBS=$LIBS
20075 LIBS="-lm $LIBS"
20076 if test x$gcc_no_link = xyes; then
20077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20079 { (exit 1); exit 1; }; }
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20088 /* Override any gcc2 internal prototype to avoid an error. */
20089 #ifdef __cplusplus
20090 extern "C"
20091 #endif
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20094 char acosf ();
20096 main ()
20098 acosf ();
20100 return 0;
20102 _ACEOF
20103 rm -f conftest.$ac_objext conftest$ac_exeext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20105 (eval $ac_link) 2>conftest.er1
20106 ac_status=$?
20107 grep -v '^ *+' conftest.er1 >conftest.err
20108 rm -f conftest.er1
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try='test -z "$ac_c_werror_flag"
20113 || test ! -s conftest.err'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; } &&
20119 { ac_try='test -s conftest$ac_exeext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_lib_m_acosf=yes
20126 else
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ac_cv_lib_m_acosf=no
20132 rm -f conftest.err conftest.$ac_objext \
20133 conftest$ac_exeext conftest.$ac_ext
20134 LIBS=$ac_check_lib_save_LIBS
20136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20137 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20138 if test $ac_cv_lib_m_acosf = yes; then
20140 cat >>confdefs.h <<\_ACEOF
20141 #define HAVE_ACOSF 1
20142 _ACEOF
20146 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20147 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20148 if test "${ac_cv_lib_m_acos+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151 ac_check_lib_save_LIBS=$LIBS
20152 LIBS="-lm $LIBS"
20153 if test x$gcc_no_link = xyes; then
20154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20156 { (exit 1); exit 1; }; }
20158 cat >conftest.$ac_ext <<_ACEOF
20159 /* confdefs.h. */
20160 _ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20165 /* Override any gcc2 internal prototype to avoid an error. */
20166 #ifdef __cplusplus
20167 extern "C"
20168 #endif
20169 /* We use char because int might match the return type of a gcc2
20170 builtin and then its argument prototype would still apply. */
20171 char acos ();
20173 main ()
20175 acos ();
20177 return 0;
20179 _ACEOF
20180 rm -f conftest.$ac_objext conftest$ac_exeext
20181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20182 (eval $ac_link) 2>conftest.er1
20183 ac_status=$?
20184 grep -v '^ *+' conftest.er1 >conftest.err
20185 rm -f conftest.er1
20186 cat conftest.err >&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); } &&
20189 { ac_try='test -z "$ac_c_werror_flag"
20190 || test ! -s conftest.err'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20193 ac_status=$?
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; } &&
20196 { ac_try='test -s conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20199 ac_status=$?
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 ac_cv_lib_m_acos=yes
20203 else
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20207 ac_cv_lib_m_acos=no
20209 rm -f conftest.err conftest.$ac_objext \
20210 conftest$ac_exeext conftest.$ac_ext
20211 LIBS=$ac_check_lib_save_LIBS
20213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20214 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20215 if test $ac_cv_lib_m_acos = yes; then
20217 cat >>confdefs.h <<\_ACEOF
20218 #define HAVE_ACOS 1
20219 _ACEOF
20223 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20224 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20225 if test "${ac_cv_lib_m_acosl+set}" = set; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 else
20228 ac_check_lib_save_LIBS=$LIBS
20229 LIBS="-lm $LIBS"
20230 if test x$gcc_no_link = xyes; then
20231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20233 { (exit 1); exit 1; }; }
20235 cat >conftest.$ac_ext <<_ACEOF
20236 /* confdefs.h. */
20237 _ACEOF
20238 cat confdefs.h >>conftest.$ac_ext
20239 cat >>conftest.$ac_ext <<_ACEOF
20240 /* end confdefs.h. */
20242 /* Override any gcc2 internal prototype to avoid an error. */
20243 #ifdef __cplusplus
20244 extern "C"
20245 #endif
20246 /* We use char because int might match the return type of a gcc2
20247 builtin and then its argument prototype would still apply. */
20248 char acosl ();
20250 main ()
20252 acosl ();
20254 return 0;
20256 _ACEOF
20257 rm -f conftest.$ac_objext conftest$ac_exeext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20259 (eval $ac_link) 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_c_werror_flag"
20267 || test ! -s conftest.err'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20270 ac_status=$?
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; } &&
20273 { ac_try='test -s conftest$ac_exeext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 ac_cv_lib_m_acosl=yes
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 ac_cv_lib_m_acosl=no
20286 rm -f conftest.err conftest.$ac_objext \
20287 conftest$ac_exeext conftest.$ac_ext
20288 LIBS=$ac_check_lib_save_LIBS
20290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20291 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20292 if test $ac_cv_lib_m_acosl = yes; then
20294 cat >>confdefs.h <<\_ACEOF
20295 #define HAVE_ACOSL 1
20296 _ACEOF
20300 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20301 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20302 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20303 echo $ECHO_N "(cached) $ECHO_C" >&6
20304 else
20305 ac_check_lib_save_LIBS=$LIBS
20306 LIBS="-lm $LIBS"
20307 if test x$gcc_no_link = xyes; then
20308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20310 { (exit 1); exit 1; }; }
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20319 /* Override any gcc2 internal prototype to avoid an error. */
20320 #ifdef __cplusplus
20321 extern "C"
20322 #endif
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20325 char acoshf ();
20327 main ()
20329 acoshf ();
20331 return 0;
20333 _ACEOF
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336 (eval $ac_link) 2>conftest.er1
20337 ac_status=$?
20338 grep -v '^ *+' conftest.er1 >conftest.err
20339 rm -f conftest.er1
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try='test -z "$ac_c_werror_flag"
20344 || test ! -s conftest.err'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20347 ac_status=$?
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; } &&
20350 { ac_try='test -s conftest$ac_exeext'
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352 (eval $ac_try) 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_lib_m_acoshf=yes
20357 else
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20361 ac_cv_lib_m_acoshf=no
20363 rm -f conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20365 LIBS=$ac_check_lib_save_LIBS
20367 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20368 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20369 if test $ac_cv_lib_m_acoshf = yes; then
20371 cat >>confdefs.h <<\_ACEOF
20372 #define HAVE_ACOSHF 1
20373 _ACEOF
20377 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20378 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20379 if test "${ac_cv_lib_m_acosh+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 else
20382 ac_check_lib_save_LIBS=$LIBS
20383 LIBS="-lm $LIBS"
20384 if test x$gcc_no_link = xyes; then
20385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20387 { (exit 1); exit 1; }; }
20389 cat >conftest.$ac_ext <<_ACEOF
20390 /* confdefs.h. */
20391 _ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20396 /* Override any gcc2 internal prototype to avoid an error. */
20397 #ifdef __cplusplus
20398 extern "C"
20399 #endif
20400 /* We use char because int might match the return type of a gcc2
20401 builtin and then its argument prototype would still apply. */
20402 char acosh ();
20404 main ()
20406 acosh ();
20408 return 0;
20410 _ACEOF
20411 rm -f conftest.$ac_objext conftest$ac_exeext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20413 (eval $ac_link) 2>conftest.er1
20414 ac_status=$?
20415 grep -v '^ *+' conftest.er1 >conftest.err
20416 rm -f conftest.er1
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try='test -z "$ac_c_werror_flag"
20421 || test ! -s conftest.err'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20424 ac_status=$?
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; } &&
20427 { ac_try='test -s conftest$ac_exeext'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20430 ac_status=$?
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; }; then
20433 ac_cv_lib_m_acosh=yes
20434 else
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20438 ac_cv_lib_m_acosh=no
20440 rm -f conftest.err conftest.$ac_objext \
20441 conftest$ac_exeext conftest.$ac_ext
20442 LIBS=$ac_check_lib_save_LIBS
20444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20445 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20446 if test $ac_cv_lib_m_acosh = yes; then
20448 cat >>confdefs.h <<\_ACEOF
20449 #define HAVE_ACOSH 1
20450 _ACEOF
20454 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20455 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20456 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20457 echo $ECHO_N "(cached) $ECHO_C" >&6
20458 else
20459 ac_check_lib_save_LIBS=$LIBS
20460 LIBS="-lm $LIBS"
20461 if test x$gcc_no_link = xyes; then
20462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20464 { (exit 1); exit 1; }; }
20466 cat >conftest.$ac_ext <<_ACEOF
20467 /* confdefs.h. */
20468 _ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20473 /* Override any gcc2 internal prototype to avoid an error. */
20474 #ifdef __cplusplus
20475 extern "C"
20476 #endif
20477 /* We use char because int might match the return type of a gcc2
20478 builtin and then its argument prototype would still apply. */
20479 char acoshl ();
20481 main ()
20483 acoshl ();
20485 return 0;
20487 _ACEOF
20488 rm -f conftest.$ac_objext conftest$ac_exeext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20490 (eval $ac_link) 2>conftest.er1
20491 ac_status=$?
20492 grep -v '^ *+' conftest.er1 >conftest.err
20493 rm -f conftest.er1
20494 cat conftest.err >&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -z "$ac_c_werror_flag"
20498 || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest$ac_exeext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 ac_cv_lib_m_acoshl=yes
20511 else
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 ac_cv_lib_m_acoshl=no
20517 rm -f conftest.err conftest.$ac_objext \
20518 conftest$ac_exeext conftest.$ac_ext
20519 LIBS=$ac_check_lib_save_LIBS
20521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20522 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20523 if test $ac_cv_lib_m_acoshl = yes; then
20525 cat >>confdefs.h <<\_ACEOF
20526 #define HAVE_ACOSHL 1
20527 _ACEOF
20531 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20532 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20533 if test "${ac_cv_lib_m_asinf+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 else
20536 ac_check_lib_save_LIBS=$LIBS
20537 LIBS="-lm $LIBS"
20538 if test x$gcc_no_link = xyes; then
20539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20541 { (exit 1); exit 1; }; }
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20550 /* Override any gcc2 internal prototype to avoid an error. */
20551 #ifdef __cplusplus
20552 extern "C"
20553 #endif
20554 /* We use char because int might match the return type of a gcc2
20555 builtin and then its argument prototype would still apply. */
20556 char asinf ();
20558 main ()
20560 asinf ();
20562 return 0;
20564 _ACEOF
20565 rm -f conftest.$ac_objext conftest$ac_exeext
20566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20567 (eval $ac_link) 2>conftest.er1
20568 ac_status=$?
20569 grep -v '^ *+' conftest.er1 >conftest.err
20570 rm -f conftest.er1
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } &&
20574 { ac_try='test -z "$ac_c_werror_flag"
20575 || test ! -s conftest.err'
20576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20578 ac_status=$?
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); }; } &&
20581 { ac_try='test -s conftest$ac_exeext'
20582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583 (eval $ac_try) 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); }; }; then
20587 ac_cv_lib_m_asinf=yes
20588 else
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20592 ac_cv_lib_m_asinf=no
20594 rm -f conftest.err conftest.$ac_objext \
20595 conftest$ac_exeext conftest.$ac_ext
20596 LIBS=$ac_check_lib_save_LIBS
20598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20599 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20600 if test $ac_cv_lib_m_asinf = yes; then
20602 cat >>confdefs.h <<\_ACEOF
20603 #define HAVE_ASINF 1
20604 _ACEOF
20608 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20609 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20610 if test "${ac_cv_lib_m_asin+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 else
20613 ac_check_lib_save_LIBS=$LIBS
20614 LIBS="-lm $LIBS"
20615 if test x$gcc_no_link = xyes; then
20616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20618 { (exit 1); exit 1; }; }
20620 cat >conftest.$ac_ext <<_ACEOF
20621 /* confdefs.h. */
20622 _ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20627 /* Override any gcc2 internal prototype to avoid an error. */
20628 #ifdef __cplusplus
20629 extern "C"
20630 #endif
20631 /* We use char because int might match the return type of a gcc2
20632 builtin and then its argument prototype would still apply. */
20633 char asin ();
20635 main ()
20637 asin ();
20639 return 0;
20641 _ACEOF
20642 rm -f conftest.$ac_objext conftest$ac_exeext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20644 (eval $ac_link) 2>conftest.er1
20645 ac_status=$?
20646 grep -v '^ *+' conftest.er1 >conftest.err
20647 rm -f conftest.er1
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try='test -z "$ac_c_werror_flag"
20652 || test ! -s conftest.err'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try='test -s conftest$ac_exeext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20661 ac_status=$?
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20664 ac_cv_lib_m_asin=yes
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20669 ac_cv_lib_m_asin=no
20671 rm -f conftest.err conftest.$ac_objext \
20672 conftest$ac_exeext conftest.$ac_ext
20673 LIBS=$ac_check_lib_save_LIBS
20675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20676 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20677 if test $ac_cv_lib_m_asin = yes; then
20679 cat >>confdefs.h <<\_ACEOF
20680 #define HAVE_ASIN 1
20681 _ACEOF
20685 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20686 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20687 if test "${ac_cv_lib_m_asinl+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20690 ac_check_lib_save_LIBS=$LIBS
20691 LIBS="-lm $LIBS"
20692 if test x$gcc_no_link = xyes; then
20693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20695 { (exit 1); exit 1; }; }
20697 cat >conftest.$ac_ext <<_ACEOF
20698 /* confdefs.h. */
20699 _ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20704 /* Override any gcc2 internal prototype to avoid an error. */
20705 #ifdef __cplusplus
20706 extern "C"
20707 #endif
20708 /* We use char because int might match the return type of a gcc2
20709 builtin and then its argument prototype would still apply. */
20710 char asinl ();
20712 main ()
20714 asinl ();
20716 return 0;
20718 _ACEOF
20719 rm -f conftest.$ac_objext conftest$ac_exeext
20720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20721 (eval $ac_link) 2>conftest.er1
20722 ac_status=$?
20723 grep -v '^ *+' conftest.er1 >conftest.err
20724 rm -f conftest.er1
20725 cat conftest.err >&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } &&
20728 { ac_try='test -z "$ac_c_werror_flag"
20729 || test ! -s conftest.err'
20730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731 (eval $ac_try) 2>&5
20732 ac_status=$?
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); }; } &&
20735 { ac_try='test -s conftest$ac_exeext'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20738 ac_status=$?
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; }; then
20741 ac_cv_lib_m_asinl=yes
20742 else
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20746 ac_cv_lib_m_asinl=no
20748 rm -f conftest.err conftest.$ac_objext \
20749 conftest$ac_exeext conftest.$ac_ext
20750 LIBS=$ac_check_lib_save_LIBS
20752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20753 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20754 if test $ac_cv_lib_m_asinl = yes; then
20756 cat >>confdefs.h <<\_ACEOF
20757 #define HAVE_ASINL 1
20758 _ACEOF
20762 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20763 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20764 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20766 else
20767 ac_check_lib_save_LIBS=$LIBS
20768 LIBS="-lm $LIBS"
20769 if test x$gcc_no_link = xyes; then
20770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20772 { (exit 1); exit 1; }; }
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h. */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20781 /* Override any gcc2 internal prototype to avoid an error. */
20782 #ifdef __cplusplus
20783 extern "C"
20784 #endif
20785 /* We use char because int might match the return type of a gcc2
20786 builtin and then its argument prototype would still apply. */
20787 char asinhf ();
20789 main ()
20791 asinhf ();
20793 return 0;
20795 _ACEOF
20796 rm -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>conftest.er1
20799 ac_status=$?
20800 grep -v '^ *+' conftest.er1 >conftest.err
20801 rm -f conftest.er1
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -z "$ac_c_werror_flag"
20806 || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest$ac_exeext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20818 ac_cv_lib_m_asinhf=yes
20819 else
20820 echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.$ac_ext >&5
20823 ac_cv_lib_m_asinhf=no
20825 rm -f conftest.err conftest.$ac_objext \
20826 conftest$ac_exeext conftest.$ac_ext
20827 LIBS=$ac_check_lib_save_LIBS
20829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20830 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20831 if test $ac_cv_lib_m_asinhf = yes; then
20833 cat >>confdefs.h <<\_ACEOF
20834 #define HAVE_ASINHF 1
20835 _ACEOF
20839 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20840 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20841 if test "${ac_cv_lib_m_asinh+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else
20844 ac_check_lib_save_LIBS=$LIBS
20845 LIBS="-lm $LIBS"
20846 if test x$gcc_no_link = xyes; then
20847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20849 { (exit 1); exit 1; }; }
20851 cat >conftest.$ac_ext <<_ACEOF
20852 /* confdefs.h. */
20853 _ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20858 /* Override any gcc2 internal prototype to avoid an error. */
20859 #ifdef __cplusplus
20860 extern "C"
20861 #endif
20862 /* We use char because int might match the return type of a gcc2
20863 builtin and then its argument prototype would still apply. */
20864 char asinh ();
20866 main ()
20868 asinh ();
20870 return 0;
20872 _ACEOF
20873 rm -f conftest.$ac_objext conftest$ac_exeext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20875 (eval $ac_link) 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } &&
20882 { ac_try='test -z "$ac_c_werror_flag"
20883 || test ! -s conftest.err'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20886 ac_status=$?
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; } &&
20889 { ac_try='test -s conftest$ac_exeext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20892 ac_status=$?
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_lib_m_asinh=yes
20896 else
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20900 ac_cv_lib_m_asinh=no
20902 rm -f conftest.err conftest.$ac_objext \
20903 conftest$ac_exeext conftest.$ac_ext
20904 LIBS=$ac_check_lib_save_LIBS
20906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20907 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20908 if test $ac_cv_lib_m_asinh = yes; then
20910 cat >>confdefs.h <<\_ACEOF
20911 #define HAVE_ASINH 1
20912 _ACEOF
20916 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20917 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20918 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921 ac_check_lib_save_LIBS=$LIBS
20922 LIBS="-lm $LIBS"
20923 if test x$gcc_no_link = xyes; then
20924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20926 { (exit 1); exit 1; }; }
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h. */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20935 /* Override any gcc2 internal prototype to avoid an error. */
20936 #ifdef __cplusplus
20937 extern "C"
20938 #endif
20939 /* We use char because int might match the return type of a gcc2
20940 builtin and then its argument prototype would still apply. */
20941 char asinhl ();
20943 main ()
20945 asinhl ();
20947 return 0;
20949 _ACEOF
20950 rm -f conftest.$ac_objext conftest$ac_exeext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20952 (eval $ac_link) 2>conftest.er1
20953 ac_status=$?
20954 grep -v '^ *+' conftest.er1 >conftest.err
20955 rm -f conftest.er1
20956 cat conftest.err >&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try='test -z "$ac_c_werror_flag"
20960 || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20963 ac_status=$?
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try='test -s conftest$ac_exeext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20969 ac_status=$?
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 ac_cv_lib_m_asinhl=yes
20973 else
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20977 ac_cv_lib_m_asinhl=no
20979 rm -f conftest.err conftest.$ac_objext \
20980 conftest$ac_exeext conftest.$ac_ext
20981 LIBS=$ac_check_lib_save_LIBS
20983 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20984 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20985 if test $ac_cv_lib_m_asinhl = yes; then
20987 cat >>confdefs.h <<\_ACEOF
20988 #define HAVE_ASINHL 1
20989 _ACEOF
20993 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20994 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20995 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
20997 else
20998 ac_check_lib_save_LIBS=$LIBS
20999 LIBS="-lm $LIBS"
21000 if test x$gcc_no_link = xyes; then
21001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21003 { (exit 1); exit 1; }; }
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21012 /* Override any gcc2 internal prototype to avoid an error. */
21013 #ifdef __cplusplus
21014 extern "C"
21015 #endif
21016 /* We use char because int might match the return type of a gcc2
21017 builtin and then its argument prototype would still apply. */
21018 char atan2f ();
21020 main ()
21022 atan2f ();
21024 return 0;
21026 _ACEOF
21027 rm -f conftest.$ac_objext conftest$ac_exeext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21029 (eval $ac_link) 2>conftest.er1
21030 ac_status=$?
21031 grep -v '^ *+' conftest.er1 >conftest.err
21032 rm -f conftest.er1
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } &&
21036 { ac_try='test -z "$ac_c_werror_flag"
21037 || test ! -s conftest.err'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21040 ac_status=$?
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; } &&
21043 { ac_try='test -s conftest$ac_exeext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21046 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then
21049 ac_cv_lib_m_atan2f=yes
21050 else
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5
21054 ac_cv_lib_m_atan2f=no
21056 rm -f conftest.err conftest.$ac_objext \
21057 conftest$ac_exeext conftest.$ac_ext
21058 LIBS=$ac_check_lib_save_LIBS
21060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21061 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21062 if test $ac_cv_lib_m_atan2f = yes; then
21064 cat >>confdefs.h <<\_ACEOF
21065 #define HAVE_ATAN2F 1
21066 _ACEOF
21070 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21071 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21072 if test "${ac_cv_lib_m_atan2+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else
21075 ac_check_lib_save_LIBS=$LIBS
21076 LIBS="-lm $LIBS"
21077 if test x$gcc_no_link = xyes; then
21078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21080 { (exit 1); exit 1; }; }
21082 cat >conftest.$ac_ext <<_ACEOF
21083 /* confdefs.h. */
21084 _ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21089 /* Override any gcc2 internal prototype to avoid an error. */
21090 #ifdef __cplusplus
21091 extern "C"
21092 #endif
21093 /* We use char because int might match the return type of a gcc2
21094 builtin and then its argument prototype would still apply. */
21095 char atan2 ();
21097 main ()
21099 atan2 ();
21101 return 0;
21103 _ACEOF
21104 rm -f conftest.$ac_objext conftest$ac_exeext
21105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21106 (eval $ac_link) 2>conftest.er1
21107 ac_status=$?
21108 grep -v '^ *+' conftest.er1 >conftest.err
21109 rm -f conftest.er1
21110 cat conftest.err >&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); } &&
21113 { ac_try='test -z "$ac_c_werror_flag"
21114 || test ! -s conftest.err'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21117 ac_status=$?
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; } &&
21120 { ac_try='test -s conftest$ac_exeext'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21123 ac_status=$?
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; }; then
21126 ac_cv_lib_m_atan2=yes
21127 else
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ac_cv_lib_m_atan2=no
21133 rm -f conftest.err conftest.$ac_objext \
21134 conftest$ac_exeext conftest.$ac_ext
21135 LIBS=$ac_check_lib_save_LIBS
21137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21138 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21139 if test $ac_cv_lib_m_atan2 = yes; then
21141 cat >>confdefs.h <<\_ACEOF
21142 #define HAVE_ATAN2 1
21143 _ACEOF
21147 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21148 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21149 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21150 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 else
21152 ac_check_lib_save_LIBS=$LIBS
21153 LIBS="-lm $LIBS"
21154 if test x$gcc_no_link = xyes; then
21155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21157 { (exit 1); exit 1; }; }
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h. */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21166 /* Override any gcc2 internal prototype to avoid an error. */
21167 #ifdef __cplusplus
21168 extern "C"
21169 #endif
21170 /* We use char because int might match the return type of a gcc2
21171 builtin and then its argument prototype would still apply. */
21172 char atan2l ();
21174 main ()
21176 atan2l ();
21178 return 0;
21180 _ACEOF
21181 rm -f conftest.$ac_objext conftest$ac_exeext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21183 (eval $ac_link) 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_c_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest$ac_exeext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_lib_m_atan2l=yes
21204 else
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21208 ac_cv_lib_m_atan2l=no
21210 rm -f conftest.err conftest.$ac_objext \
21211 conftest$ac_exeext conftest.$ac_ext
21212 LIBS=$ac_check_lib_save_LIBS
21214 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21215 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21216 if test $ac_cv_lib_m_atan2l = yes; then
21218 cat >>confdefs.h <<\_ACEOF
21219 #define HAVE_ATAN2L 1
21220 _ACEOF
21224 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21225 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21226 if test "${ac_cv_lib_m_atanf+set}" = set; then
21227 echo $ECHO_N "(cached) $ECHO_C" >&6
21228 else
21229 ac_check_lib_save_LIBS=$LIBS
21230 LIBS="-lm $LIBS"
21231 if test x$gcc_no_link = xyes; then
21232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21234 { (exit 1); exit 1; }; }
21236 cat >conftest.$ac_ext <<_ACEOF
21237 /* confdefs.h. */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21243 /* Override any gcc2 internal prototype to avoid an error. */
21244 #ifdef __cplusplus
21245 extern "C"
21246 #endif
21247 /* We use char because int might match the return type of a gcc2
21248 builtin and then its argument prototype would still apply. */
21249 char atanf ();
21251 main ()
21253 atanf ();
21255 return 0;
21257 _ACEOF
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260 (eval $ac_link) 2>conftest.er1
21261 ac_status=$?
21262 grep -v '^ *+' conftest.er1 >conftest.err
21263 rm -f conftest.er1
21264 cat conftest.err >&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try='test -z "$ac_c_werror_flag"
21268 || test ! -s conftest.err'
21269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21270 (eval $ac_try) 2>&5
21271 ac_status=$?
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); }; } &&
21274 { ac_try='test -s conftest$ac_exeext'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21277 ac_status=$?
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; }; then
21280 ac_cv_lib_m_atanf=yes
21281 else
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.$ac_ext >&5
21285 ac_cv_lib_m_atanf=no
21287 rm -f conftest.err conftest.$ac_objext \
21288 conftest$ac_exeext conftest.$ac_ext
21289 LIBS=$ac_check_lib_save_LIBS
21291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21292 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21293 if test $ac_cv_lib_m_atanf = yes; then
21295 cat >>confdefs.h <<\_ACEOF
21296 #define HAVE_ATANF 1
21297 _ACEOF
21301 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21302 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21303 if test "${ac_cv_lib_m_atan+set}" = set; then
21304 echo $ECHO_N "(cached) $ECHO_C" >&6
21305 else
21306 ac_check_lib_save_LIBS=$LIBS
21307 LIBS="-lm $LIBS"
21308 if test x$gcc_no_link = xyes; then
21309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21311 { (exit 1); exit 1; }; }
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h. */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21320 /* Override any gcc2 internal prototype to avoid an error. */
21321 #ifdef __cplusplus
21322 extern "C"
21323 #endif
21324 /* We use char because int might match the return type of a gcc2
21325 builtin and then its argument prototype would still apply. */
21326 char atan ();
21328 main ()
21330 atan ();
21332 return 0;
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21338 ac_status=$?
21339 grep -v '^ *+' conftest.er1 >conftest.err
21340 rm -f conftest.er1
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -z "$ac_c_werror_flag"
21345 || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try='test -s conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 ac_cv_lib_m_atan=yes
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 ac_cv_lib_m_atan=no
21364 rm -f conftest.err conftest.$ac_objext \
21365 conftest$ac_exeext conftest.$ac_ext
21366 LIBS=$ac_check_lib_save_LIBS
21368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21369 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21370 if test $ac_cv_lib_m_atan = yes; then
21372 cat >>confdefs.h <<\_ACEOF
21373 #define HAVE_ATAN 1
21374 _ACEOF
21378 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21379 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21380 if test "${ac_cv_lib_m_atanl+set}" = set; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 else
21383 ac_check_lib_save_LIBS=$LIBS
21384 LIBS="-lm $LIBS"
21385 if test x$gcc_no_link = xyes; then
21386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21388 { (exit 1); exit 1; }; }
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h. */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21397 /* Override any gcc2 internal prototype to avoid an error. */
21398 #ifdef __cplusplus
21399 extern "C"
21400 #endif
21401 /* We use char because int might match the return type of a gcc2
21402 builtin and then its argument prototype would still apply. */
21403 char atanl ();
21405 main ()
21407 atanl ();
21409 return 0;
21411 _ACEOF
21412 rm -f conftest.$ac_objext conftest$ac_exeext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21414 (eval $ac_link) 2>conftest.er1
21415 ac_status=$?
21416 grep -v '^ *+' conftest.er1 >conftest.err
21417 rm -f conftest.er1
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -z "$ac_c_werror_flag"
21422 || test ! -s conftest.err'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21425 ac_status=$?
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; } &&
21428 { ac_try='test -s conftest$ac_exeext'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21431 ac_status=$?
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; }; then
21434 ac_cv_lib_m_atanl=yes
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 ac_cv_lib_m_atanl=no
21441 rm -f conftest.err conftest.$ac_objext \
21442 conftest$ac_exeext conftest.$ac_ext
21443 LIBS=$ac_check_lib_save_LIBS
21445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21446 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21447 if test $ac_cv_lib_m_atanl = yes; then
21449 cat >>confdefs.h <<\_ACEOF
21450 #define HAVE_ATANL 1
21451 _ACEOF
21455 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21456 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21457 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 else
21460 ac_check_lib_save_LIBS=$LIBS
21461 LIBS="-lm $LIBS"
21462 if test x$gcc_no_link = xyes; then
21463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21465 { (exit 1); exit 1; }; }
21467 cat >conftest.$ac_ext <<_ACEOF
21468 /* confdefs.h. */
21469 _ACEOF
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21474 /* Override any gcc2 internal prototype to avoid an error. */
21475 #ifdef __cplusplus
21476 extern "C"
21477 #endif
21478 /* We use char because int might match the return type of a gcc2
21479 builtin and then its argument prototype would still apply. */
21480 char atanhf ();
21482 main ()
21484 atanhf ();
21486 return 0;
21488 _ACEOF
21489 rm -f conftest.$ac_objext conftest$ac_exeext
21490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21491 (eval $ac_link) 2>conftest.er1
21492 ac_status=$?
21493 grep -v '^ *+' conftest.er1 >conftest.err
21494 rm -f conftest.er1
21495 cat conftest.err >&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } &&
21498 { ac_try='test -z "$ac_c_werror_flag"
21499 || test ! -s conftest.err'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21502 ac_status=$?
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; } &&
21505 { ac_try='test -s conftest$ac_exeext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 ac_cv_lib_m_atanhf=yes
21512 else
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21516 ac_cv_lib_m_atanhf=no
21518 rm -f conftest.err conftest.$ac_objext \
21519 conftest$ac_exeext conftest.$ac_ext
21520 LIBS=$ac_check_lib_save_LIBS
21522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21523 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21524 if test $ac_cv_lib_m_atanhf = yes; then
21526 cat >>confdefs.h <<\_ACEOF
21527 #define HAVE_ATANHF 1
21528 _ACEOF
21532 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21533 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21534 if test "${ac_cv_lib_m_atanh+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21536 else
21537 ac_check_lib_save_LIBS=$LIBS
21538 LIBS="-lm $LIBS"
21539 if test x$gcc_no_link = xyes; then
21540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21542 { (exit 1); exit 1; }; }
21544 cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h. */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21551 /* Override any gcc2 internal prototype to avoid an error. */
21552 #ifdef __cplusplus
21553 extern "C"
21554 #endif
21555 /* We use char because int might match the return type of a gcc2
21556 builtin and then its argument prototype would still apply. */
21557 char atanh ();
21559 main ()
21561 atanh ();
21563 return 0;
21565 _ACEOF
21566 rm -f conftest.$ac_objext conftest$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try='test -z "$ac_c_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_cv_lib_m_atanh=yes
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21593 ac_cv_lib_m_atanh=no
21595 rm -f conftest.err conftest.$ac_objext \
21596 conftest$ac_exeext conftest.$ac_ext
21597 LIBS=$ac_check_lib_save_LIBS
21599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21600 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21601 if test $ac_cv_lib_m_atanh = yes; then
21603 cat >>confdefs.h <<\_ACEOF
21604 #define HAVE_ATANH 1
21605 _ACEOF
21609 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21610 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21611 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 else
21614 ac_check_lib_save_LIBS=$LIBS
21615 LIBS="-lm $LIBS"
21616 if test x$gcc_no_link = xyes; then
21617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21619 { (exit 1); exit 1; }; }
21621 cat >conftest.$ac_ext <<_ACEOF
21622 /* confdefs.h. */
21623 _ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21628 /* Override any gcc2 internal prototype to avoid an error. */
21629 #ifdef __cplusplus
21630 extern "C"
21631 #endif
21632 /* We use char because int might match the return type of a gcc2
21633 builtin and then its argument prototype would still apply. */
21634 char atanhl ();
21636 main ()
21638 atanhl ();
21640 return 0;
21642 _ACEOF
21643 rm -f conftest.$ac_objext conftest$ac_exeext
21644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21645 (eval $ac_link) 2>conftest.er1
21646 ac_status=$?
21647 grep -v '^ *+' conftest.er1 >conftest.err
21648 rm -f conftest.er1
21649 cat conftest.err >&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } &&
21652 { ac_try='test -z "$ac_c_werror_flag"
21653 || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try='test -s conftest$ac_exeext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21662 ac_status=$?
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_cv_lib_m_atanhl=yes
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21670 ac_cv_lib_m_atanhl=no
21672 rm -f conftest.err conftest.$ac_objext \
21673 conftest$ac_exeext conftest.$ac_ext
21674 LIBS=$ac_check_lib_save_LIBS
21676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21677 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21678 if test $ac_cv_lib_m_atanhl = yes; then
21680 cat >>confdefs.h <<\_ACEOF
21681 #define HAVE_ATANHL 1
21682 _ACEOF
21686 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21687 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21688 if test "${ac_cv_lib_m_cargf+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 else
21691 ac_check_lib_save_LIBS=$LIBS
21692 LIBS="-lm $LIBS"
21693 if test x$gcc_no_link = xyes; then
21694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21696 { (exit 1); exit 1; }; }
21698 cat >conftest.$ac_ext <<_ACEOF
21699 /* confdefs.h. */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21705 /* Override any gcc2 internal prototype to avoid an error. */
21706 #ifdef __cplusplus
21707 extern "C"
21708 #endif
21709 /* We use char because int might match the return type of a gcc2
21710 builtin and then its argument prototype would still apply. */
21711 char cargf ();
21713 main ()
21715 cargf ();
21717 return 0;
21719 _ACEOF
21720 rm -f conftest.$ac_objext conftest$ac_exeext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21722 (eval $ac_link) 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag"
21730 || test ! -s conftest.err'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; } &&
21736 { ac_try='test -s conftest$ac_exeext'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; }; then
21742 ac_cv_lib_m_cargf=yes
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 ac_cv_lib_m_cargf=no
21749 rm -f conftest.err conftest.$ac_objext \
21750 conftest$ac_exeext conftest.$ac_ext
21751 LIBS=$ac_check_lib_save_LIBS
21753 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21754 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21755 if test $ac_cv_lib_m_cargf = yes; then
21757 cat >>confdefs.h <<\_ACEOF
21758 #define HAVE_CARGF 1
21759 _ACEOF
21763 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21764 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21765 if test "${ac_cv_lib_m_carg+set}" = set; then
21766 echo $ECHO_N "(cached) $ECHO_C" >&6
21767 else
21768 ac_check_lib_save_LIBS=$LIBS
21769 LIBS="-lm $LIBS"
21770 if test x$gcc_no_link = xyes; then
21771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21773 { (exit 1); exit 1; }; }
21775 cat >conftest.$ac_ext <<_ACEOF
21776 /* confdefs.h. */
21777 _ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21782 /* Override any gcc2 internal prototype to avoid an error. */
21783 #ifdef __cplusplus
21784 extern "C"
21785 #endif
21786 /* We use char because int might match the return type of a gcc2
21787 builtin and then its argument prototype would still apply. */
21788 char carg ();
21790 main ()
21792 carg ();
21794 return 0;
21796 _ACEOF
21797 rm -f conftest.$ac_objext conftest$ac_exeext
21798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21799 (eval $ac_link) 2>conftest.er1
21800 ac_status=$?
21801 grep -v '^ *+' conftest.er1 >conftest.err
21802 rm -f conftest.er1
21803 cat conftest.err >&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } &&
21806 { ac_try='test -z "$ac_c_werror_flag"
21807 || test ! -s conftest.err'
21808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21810 ac_status=$?
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }; } &&
21813 { ac_try='test -s conftest$ac_exeext'
21814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815 (eval $ac_try) 2>&5
21816 ac_status=$?
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; }; then
21819 ac_cv_lib_m_carg=yes
21820 else
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21824 ac_cv_lib_m_carg=no
21826 rm -f conftest.err conftest.$ac_objext \
21827 conftest$ac_exeext conftest.$ac_ext
21828 LIBS=$ac_check_lib_save_LIBS
21830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21831 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21832 if test $ac_cv_lib_m_carg = yes; then
21834 cat >>confdefs.h <<\_ACEOF
21835 #define HAVE_CARG 1
21836 _ACEOF
21840 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21841 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21842 if test "${ac_cv_lib_m_cargl+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21844 else
21845 ac_check_lib_save_LIBS=$LIBS
21846 LIBS="-lm $LIBS"
21847 if test x$gcc_no_link = xyes; then
21848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21850 { (exit 1); exit 1; }; }
21852 cat >conftest.$ac_ext <<_ACEOF
21853 /* confdefs.h. */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21859 /* Override any gcc2 internal prototype to avoid an error. */
21860 #ifdef __cplusplus
21861 extern "C"
21862 #endif
21863 /* We use char because int might match the return type of a gcc2
21864 builtin and then its argument prototype would still apply. */
21865 char cargl ();
21867 main ()
21869 cargl ();
21871 return 0;
21873 _ACEOF
21874 rm -f conftest.$ac_objext conftest$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876 (eval $ac_link) 2>conftest.er1
21877 ac_status=$?
21878 grep -v '^ *+' conftest.er1 >conftest.err
21879 rm -f conftest.er1
21880 cat conftest.err >&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } &&
21883 { ac_try='test -z "$ac_c_werror_flag"
21884 || test ! -s conftest.err'
21885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21886 (eval $ac_try) 2>&5
21887 ac_status=$?
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); }; } &&
21890 { ac_try='test -s conftest$ac_exeext'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21893 ac_status=$?
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; }; then
21896 ac_cv_lib_m_cargl=yes
21897 else
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.$ac_ext >&5
21901 ac_cv_lib_m_cargl=no
21903 rm -f conftest.err conftest.$ac_objext \
21904 conftest$ac_exeext conftest.$ac_ext
21905 LIBS=$ac_check_lib_save_LIBS
21907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21908 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21909 if test $ac_cv_lib_m_cargl = yes; then
21911 cat >>confdefs.h <<\_ACEOF
21912 #define HAVE_CARGL 1
21913 _ACEOF
21917 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21918 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21919 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 else
21922 ac_check_lib_save_LIBS=$LIBS
21923 LIBS="-lm $LIBS"
21924 if test x$gcc_no_link = xyes; then
21925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21927 { (exit 1); exit 1; }; }
21929 cat >conftest.$ac_ext <<_ACEOF
21930 /* confdefs.h. */
21931 _ACEOF
21932 cat confdefs.h >>conftest.$ac_ext
21933 cat >>conftest.$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21936 /* Override any gcc2 internal prototype to avoid an error. */
21937 #ifdef __cplusplus
21938 extern "C"
21939 #endif
21940 /* We use char because int might match the return type of a gcc2
21941 builtin and then its argument prototype would still apply. */
21942 char ceilf ();
21944 main ()
21946 ceilf ();
21948 return 0;
21950 _ACEOF
21951 rm -f conftest.$ac_objext conftest$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>conftest.er1
21954 ac_status=$?
21955 grep -v '^ *+' conftest.er1 >conftest.err
21956 rm -f conftest.er1
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try='test -z "$ac_c_werror_flag"
21961 || test ! -s conftest.err'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21964 ac_status=$?
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; } &&
21967 { ac_try='test -s conftest$ac_exeext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21970 ac_status=$?
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 ac_cv_lib_m_ceilf=yes
21974 else
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21978 ac_cv_lib_m_ceilf=no
21980 rm -f conftest.err conftest.$ac_objext \
21981 conftest$ac_exeext conftest.$ac_ext
21982 LIBS=$ac_check_lib_save_LIBS
21984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21985 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21986 if test $ac_cv_lib_m_ceilf = yes; then
21988 cat >>confdefs.h <<\_ACEOF
21989 #define HAVE_CEILF 1
21990 _ACEOF
21994 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21995 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21996 if test "${ac_cv_lib_m_ceil+set}" = set; then
21997 echo $ECHO_N "(cached) $ECHO_C" >&6
21998 else
21999 ac_check_lib_save_LIBS=$LIBS
22000 LIBS="-lm $LIBS"
22001 if test x$gcc_no_link = xyes; then
22002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22004 { (exit 1); exit 1; }; }
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22013 /* Override any gcc2 internal prototype to avoid an error. */
22014 #ifdef __cplusplus
22015 extern "C"
22016 #endif
22017 /* We use char because int might match the return type of a gcc2
22018 builtin and then its argument prototype would still apply. */
22019 char ceil ();
22021 main ()
22023 ceil ();
22025 return 0;
22027 _ACEOF
22028 rm -f conftest.$ac_objext conftest$ac_exeext
22029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22030 (eval $ac_link) 2>conftest.er1
22031 ac_status=$?
22032 grep -v '^ *+' conftest.er1 >conftest.err
22033 rm -f conftest.er1
22034 cat conftest.err >&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } &&
22037 { ac_try='test -z "$ac_c_werror_flag"
22038 || test ! -s conftest.err'
22039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040 (eval $ac_try) 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_lib_m_ceil=yes
22051 else
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22055 ac_cv_lib_m_ceil=no
22057 rm -f conftest.err conftest.$ac_objext \
22058 conftest$ac_exeext conftest.$ac_ext
22059 LIBS=$ac_check_lib_save_LIBS
22061 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22062 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22063 if test $ac_cv_lib_m_ceil = yes; then
22065 cat >>confdefs.h <<\_ACEOF
22066 #define HAVE_CEIL 1
22067 _ACEOF
22071 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22072 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22073 if test "${ac_cv_lib_m_ceill+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076 ac_check_lib_save_LIBS=$LIBS
22077 LIBS="-lm $LIBS"
22078 if test x$gcc_no_link = xyes; then
22079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22081 { (exit 1); exit 1; }; }
22083 cat >conftest.$ac_ext <<_ACEOF
22084 /* confdefs.h. */
22085 _ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22090 /* Override any gcc2 internal prototype to avoid an error. */
22091 #ifdef __cplusplus
22092 extern "C"
22093 #endif
22094 /* We use char because int might match the return type of a gcc2
22095 builtin and then its argument prototype would still apply. */
22096 char ceill ();
22098 main ()
22100 ceill ();
22102 return 0;
22104 _ACEOF
22105 rm -f conftest.$ac_objext conftest$ac_exeext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22107 (eval $ac_link) 2>conftest.er1
22108 ac_status=$?
22109 grep -v '^ *+' conftest.er1 >conftest.err
22110 rm -f conftest.er1
22111 cat conftest.err >&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try='test -z "$ac_c_werror_flag"
22115 || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_lib_m_ceill=yes
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22132 ac_cv_lib_m_ceill=no
22134 rm -f conftest.err conftest.$ac_objext \
22135 conftest$ac_exeext conftest.$ac_ext
22136 LIBS=$ac_check_lib_save_LIBS
22138 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22139 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22140 if test $ac_cv_lib_m_ceill = yes; then
22142 cat >>confdefs.h <<\_ACEOF
22143 #define HAVE_CEILL 1
22144 _ACEOF
22148 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22149 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22150 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22151 echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22153 ac_check_lib_save_LIBS=$LIBS
22154 LIBS="-lm $LIBS"
22155 if test x$gcc_no_link = xyes; then
22156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22158 { (exit 1); exit 1; }; }
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h. */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22167 /* Override any gcc2 internal prototype to avoid an error. */
22168 #ifdef __cplusplus
22169 extern "C"
22170 #endif
22171 /* We use char because int might match the return type of a gcc2
22172 builtin and then its argument prototype would still apply. */
22173 char copysignf ();
22175 main ()
22177 copysignf ();
22179 return 0;
22181 _ACEOF
22182 rm -f conftest.$ac_objext conftest$ac_exeext
22183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22184 (eval $ac_link) 2>conftest.er1
22185 ac_status=$?
22186 grep -v '^ *+' conftest.er1 >conftest.err
22187 rm -f conftest.er1
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try='test -z "$ac_c_werror_flag"
22192 || test ! -s conftest.err'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22195 ac_status=$?
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; } &&
22198 { ac_try='test -s conftest$ac_exeext'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 ac_cv_lib_m_copysignf=yes
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 ac_cv_lib_m_copysignf=no
22211 rm -f conftest.err conftest.$ac_objext \
22212 conftest$ac_exeext conftest.$ac_ext
22213 LIBS=$ac_check_lib_save_LIBS
22215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22216 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22217 if test $ac_cv_lib_m_copysignf = yes; then
22219 cat >>confdefs.h <<\_ACEOF
22220 #define HAVE_COPYSIGNF 1
22221 _ACEOF
22225 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22226 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22227 if test "${ac_cv_lib_m_copysign+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22229 else
22230 ac_check_lib_save_LIBS=$LIBS
22231 LIBS="-lm $LIBS"
22232 if test x$gcc_no_link = xyes; then
22233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22235 { (exit 1); exit 1; }; }
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h. */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22244 /* Override any gcc2 internal prototype to avoid an error. */
22245 #ifdef __cplusplus
22246 extern "C"
22247 #endif
22248 /* We use char because int might match the return type of a gcc2
22249 builtin and then its argument prototype would still apply. */
22250 char copysign ();
22252 main ()
22254 copysign ();
22256 return 0;
22258 _ACEOF
22259 rm -f conftest.$ac_objext conftest$ac_exeext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22261 (eval $ac_link) 2>conftest.er1
22262 ac_status=$?
22263 grep -v '^ *+' conftest.er1 >conftest.err
22264 rm -f conftest.er1
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -z "$ac_c_werror_flag"
22269 || test ! -s conftest.err'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22272 ac_status=$?
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; } &&
22275 { ac_try='test -s conftest$ac_exeext'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22278 ac_status=$?
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 ac_cv_lib_m_copysign=yes
22282 else
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22286 ac_cv_lib_m_copysign=no
22288 rm -f conftest.err conftest.$ac_objext \
22289 conftest$ac_exeext conftest.$ac_ext
22290 LIBS=$ac_check_lib_save_LIBS
22292 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22293 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22294 if test $ac_cv_lib_m_copysign = yes; then
22296 cat >>confdefs.h <<\_ACEOF
22297 #define HAVE_COPYSIGN 1
22298 _ACEOF
22302 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22303 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22304 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22305 echo $ECHO_N "(cached) $ECHO_C" >&6
22306 else
22307 ac_check_lib_save_LIBS=$LIBS
22308 LIBS="-lm $LIBS"
22309 if test x$gcc_no_link = xyes; then
22310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22312 { (exit 1); exit 1; }; }
22314 cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h. */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22321 /* Override any gcc2 internal prototype to avoid an error. */
22322 #ifdef __cplusplus
22323 extern "C"
22324 #endif
22325 /* We use char because int might match the return type of a gcc2
22326 builtin and then its argument prototype would still apply. */
22327 char copysignl ();
22329 main ()
22331 copysignl ();
22333 return 0;
22335 _ACEOF
22336 rm -f conftest.$ac_objext conftest$ac_exeext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22338 (eval $ac_link) 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } &&
22345 { ac_try='test -z "$ac_c_werror_flag"
22346 || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_lib_m_copysignl=yes
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22363 ac_cv_lib_m_copysignl=no
22365 rm -f conftest.err conftest.$ac_objext \
22366 conftest$ac_exeext conftest.$ac_ext
22367 LIBS=$ac_check_lib_save_LIBS
22369 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22370 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22371 if test $ac_cv_lib_m_copysignl = yes; then
22373 cat >>confdefs.h <<\_ACEOF
22374 #define HAVE_COPYSIGNL 1
22375 _ACEOF
22379 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22380 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22381 if test "${ac_cv_lib_m_cosf+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22383 else
22384 ac_check_lib_save_LIBS=$LIBS
22385 LIBS="-lm $LIBS"
22386 if test x$gcc_no_link = xyes; then
22387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22389 { (exit 1); exit 1; }; }
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22398 /* Override any gcc2 internal prototype to avoid an error. */
22399 #ifdef __cplusplus
22400 extern "C"
22401 #endif
22402 /* We use char because int might match the return type of a gcc2
22403 builtin and then its argument prototype would still apply. */
22404 char cosf ();
22406 main ()
22408 cosf ();
22410 return 0;
22412 _ACEOF
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_c_werror_flag"
22423 || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22426 ac_status=$?
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try='test -s conftest$ac_exeext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_lib_m_cosf=yes
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22440 ac_cv_lib_m_cosf=no
22442 rm -f conftest.err conftest.$ac_objext \
22443 conftest$ac_exeext conftest.$ac_ext
22444 LIBS=$ac_check_lib_save_LIBS
22446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22447 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22448 if test $ac_cv_lib_m_cosf = yes; then
22450 cat >>confdefs.h <<\_ACEOF
22451 #define HAVE_COSF 1
22452 _ACEOF
22456 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22457 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22458 if test "${ac_cv_lib_m_cos+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 else
22461 ac_check_lib_save_LIBS=$LIBS
22462 LIBS="-lm $LIBS"
22463 if test x$gcc_no_link = xyes; then
22464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22466 { (exit 1); exit 1; }; }
22468 cat >conftest.$ac_ext <<_ACEOF
22469 /* confdefs.h. */
22470 _ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22475 /* Override any gcc2 internal prototype to avoid an error. */
22476 #ifdef __cplusplus
22477 extern "C"
22478 #endif
22479 /* We use char because int might match the return type of a gcc2
22480 builtin and then its argument prototype would still apply. */
22481 char cos ();
22483 main ()
22485 cos ();
22487 return 0;
22489 _ACEOF
22490 rm -f conftest.$ac_objext conftest$ac_exeext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22492 (eval $ac_link) 2>conftest.er1
22493 ac_status=$?
22494 grep -v '^ *+' conftest.er1 >conftest.err
22495 rm -f conftest.er1
22496 cat conftest.err >&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } &&
22499 { ac_try='test -z "$ac_c_werror_flag"
22500 || test ! -s conftest.err'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22503 ac_status=$?
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; } &&
22506 { ac_try='test -s conftest$ac_exeext'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22509 ac_status=$?
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; }; then
22512 ac_cv_lib_m_cos=yes
22513 else
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22517 ac_cv_lib_m_cos=no
22519 rm -f conftest.err conftest.$ac_objext \
22520 conftest$ac_exeext conftest.$ac_ext
22521 LIBS=$ac_check_lib_save_LIBS
22523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22524 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22525 if test $ac_cv_lib_m_cos = yes; then
22527 cat >>confdefs.h <<\_ACEOF
22528 #define HAVE_COS 1
22529 _ACEOF
22533 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22534 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22535 if test "${ac_cv_lib_m_cosl+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22537 else
22538 ac_check_lib_save_LIBS=$LIBS
22539 LIBS="-lm $LIBS"
22540 if test x$gcc_no_link = xyes; then
22541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543 { (exit 1); exit 1; }; }
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22552 /* Override any gcc2 internal prototype to avoid an error. */
22553 #ifdef __cplusplus
22554 extern "C"
22555 #endif
22556 /* We use char because int might match the return type of a gcc2
22557 builtin and then its argument prototype would still apply. */
22558 char cosl ();
22560 main ()
22562 cosl ();
22564 return 0;
22566 _ACEOF
22567 rm -f conftest.$ac_objext conftest$ac_exeext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22569 (eval $ac_link) 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_c_werror_flag"
22577 || test ! -s conftest.err'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22580 ac_status=$?
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; } &&
22583 { ac_try='test -s conftest$ac_exeext'
22584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22585 (eval $ac_try) 2>&5
22586 ac_status=$?
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; }; then
22589 ac_cv_lib_m_cosl=yes
22590 else
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.$ac_ext >&5
22594 ac_cv_lib_m_cosl=no
22596 rm -f conftest.err conftest.$ac_objext \
22597 conftest$ac_exeext conftest.$ac_ext
22598 LIBS=$ac_check_lib_save_LIBS
22600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22601 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22602 if test $ac_cv_lib_m_cosl = yes; then
22604 cat >>confdefs.h <<\_ACEOF
22605 #define HAVE_COSL 1
22606 _ACEOF
22610 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22611 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22612 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22613 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 else
22615 ac_check_lib_save_LIBS=$LIBS
22616 LIBS="-lm $LIBS"
22617 if test x$gcc_no_link = xyes; then
22618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22620 { (exit 1); exit 1; }; }
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22629 /* Override any gcc2 internal prototype to avoid an error. */
22630 #ifdef __cplusplus
22631 extern "C"
22632 #endif
22633 /* We use char because int might match the return type of a gcc2
22634 builtin and then its argument prototype would still apply. */
22635 char ccosf ();
22637 main ()
22639 ccosf ();
22641 return 0;
22643 _ACEOF
22644 rm -f conftest.$ac_objext conftest$ac_exeext
22645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22646 (eval $ac_link) 2>conftest.er1
22647 ac_status=$?
22648 grep -v '^ *+' conftest.er1 >conftest.err
22649 rm -f conftest.er1
22650 cat conftest.err >&5
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); } &&
22653 { ac_try='test -z "$ac_c_werror_flag"
22654 || test ! -s conftest.err'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22657 ac_status=$?
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; } &&
22660 { ac_try='test -s conftest$ac_exeext'
22661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 (eval $ac_try) 2>&5
22663 ac_status=$?
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; }; then
22666 ac_cv_lib_m_ccosf=yes
22667 else
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22671 ac_cv_lib_m_ccosf=no
22673 rm -f conftest.err conftest.$ac_objext \
22674 conftest$ac_exeext conftest.$ac_ext
22675 LIBS=$ac_check_lib_save_LIBS
22677 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22678 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22679 if test $ac_cv_lib_m_ccosf = yes; then
22681 cat >>confdefs.h <<\_ACEOF
22682 #define HAVE_CCOSF 1
22683 _ACEOF
22687 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22688 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22689 if test "${ac_cv_lib_m_ccos+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 else
22692 ac_check_lib_save_LIBS=$LIBS
22693 LIBS="-lm $LIBS"
22694 if test x$gcc_no_link = xyes; then
22695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22697 { (exit 1); exit 1; }; }
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22706 /* Override any gcc2 internal prototype to avoid an error. */
22707 #ifdef __cplusplus
22708 extern "C"
22709 #endif
22710 /* We use char because int might match the return type of a gcc2
22711 builtin and then its argument prototype would still apply. */
22712 char ccos ();
22714 main ()
22716 ccos ();
22718 return 0;
22720 _ACEOF
22721 rm -f conftest.$ac_objext conftest$ac_exeext
22722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22723 (eval $ac_link) 2>conftest.er1
22724 ac_status=$?
22725 grep -v '^ *+' conftest.er1 >conftest.err
22726 rm -f conftest.er1
22727 cat conftest.err >&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); } &&
22730 { ac_try='test -z "$ac_c_werror_flag"
22731 || test ! -s conftest.err'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22734 ac_status=$?
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; } &&
22737 { ac_try='test -s conftest$ac_exeext'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; }; then
22743 ac_cv_lib_m_ccos=yes
22744 else
22745 echo "$as_me: failed program was:" >&5
22746 sed 's/^/| /' conftest.$ac_ext >&5
22748 ac_cv_lib_m_ccos=no
22750 rm -f conftest.err conftest.$ac_objext \
22751 conftest$ac_exeext conftest.$ac_ext
22752 LIBS=$ac_check_lib_save_LIBS
22754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22755 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22756 if test $ac_cv_lib_m_ccos = yes; then
22758 cat >>confdefs.h <<\_ACEOF
22759 #define HAVE_CCOS 1
22760 _ACEOF
22764 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22765 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22766 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769 ac_check_lib_save_LIBS=$LIBS
22770 LIBS="-lm $LIBS"
22771 if test x$gcc_no_link = xyes; then
22772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22774 { (exit 1); exit 1; }; }
22776 cat >conftest.$ac_ext <<_ACEOF
22777 /* confdefs.h. */
22778 _ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22783 /* Override any gcc2 internal prototype to avoid an error. */
22784 #ifdef __cplusplus
22785 extern "C"
22786 #endif
22787 /* We use char because int might match the return type of a gcc2
22788 builtin and then its argument prototype would still apply. */
22789 char ccosl ();
22791 main ()
22793 ccosl ();
22795 return 0;
22797 _ACEOF
22798 rm -f conftest.$ac_objext conftest$ac_exeext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800 (eval $ac_link) 2>conftest.er1
22801 ac_status=$?
22802 grep -v '^ *+' conftest.er1 >conftest.err
22803 rm -f conftest.er1
22804 cat conftest.err >&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try='test -z "$ac_c_werror_flag"
22808 || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22811 ac_status=$?
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try='test -s conftest$ac_exeext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22817 ac_status=$?
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 ac_cv_lib_m_ccosl=yes
22821 else
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22825 ac_cv_lib_m_ccosl=no
22827 rm -f conftest.err conftest.$ac_objext \
22828 conftest$ac_exeext conftest.$ac_ext
22829 LIBS=$ac_check_lib_save_LIBS
22831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22832 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22833 if test $ac_cv_lib_m_ccosl = yes; then
22835 cat >>confdefs.h <<\_ACEOF
22836 #define HAVE_CCOSL 1
22837 _ACEOF
22841 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22842 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22843 if test "${ac_cv_lib_m_coshf+set}" = set; then
22844 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 else
22846 ac_check_lib_save_LIBS=$LIBS
22847 LIBS="-lm $LIBS"
22848 if test x$gcc_no_link = xyes; then
22849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22851 { (exit 1); exit 1; }; }
22853 cat >conftest.$ac_ext <<_ACEOF
22854 /* confdefs.h. */
22855 _ACEOF
22856 cat confdefs.h >>conftest.$ac_ext
22857 cat >>conftest.$ac_ext <<_ACEOF
22858 /* end confdefs.h. */
22860 /* Override any gcc2 internal prototype to avoid an error. */
22861 #ifdef __cplusplus
22862 extern "C"
22863 #endif
22864 /* We use char because int might match the return type of a gcc2
22865 builtin and then its argument prototype would still apply. */
22866 char coshf ();
22868 main ()
22870 coshf ();
22872 return 0;
22874 _ACEOF
22875 rm -f conftest.$ac_objext conftest$ac_exeext
22876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22877 (eval $ac_link) 2>conftest.er1
22878 ac_status=$?
22879 grep -v '^ *+' conftest.er1 >conftest.err
22880 rm -f conftest.er1
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try='test -z "$ac_c_werror_flag"
22885 || test ! -s conftest.err'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22888 ac_status=$?
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; } &&
22891 { ac_try='test -s conftest$ac_exeext'
22892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893 (eval $ac_try) 2>&5
22894 ac_status=$?
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; }; then
22897 ac_cv_lib_m_coshf=yes
22898 else
22899 echo "$as_me: failed program was:" >&5
22900 sed 's/^/| /' conftest.$ac_ext >&5
22902 ac_cv_lib_m_coshf=no
22904 rm -f conftest.err conftest.$ac_objext \
22905 conftest$ac_exeext conftest.$ac_ext
22906 LIBS=$ac_check_lib_save_LIBS
22908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22909 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22910 if test $ac_cv_lib_m_coshf = yes; then
22912 cat >>confdefs.h <<\_ACEOF
22913 #define HAVE_COSHF 1
22914 _ACEOF
22918 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22919 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22920 if test "${ac_cv_lib_m_cosh+set}" = set; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 else
22923 ac_check_lib_save_LIBS=$LIBS
22924 LIBS="-lm $LIBS"
22925 if test x$gcc_no_link = xyes; then
22926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22928 { (exit 1); exit 1; }; }
22930 cat >conftest.$ac_ext <<_ACEOF
22931 /* confdefs.h. */
22932 _ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22937 /* Override any gcc2 internal prototype to avoid an error. */
22938 #ifdef __cplusplus
22939 extern "C"
22940 #endif
22941 /* We use char because int might match the return type of a gcc2
22942 builtin and then its argument prototype would still apply. */
22943 char cosh ();
22945 main ()
22947 cosh ();
22949 return 0;
22951 _ACEOF
22952 rm -f conftest.$ac_objext conftest$ac_exeext
22953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22954 (eval $ac_link) 2>conftest.er1
22955 ac_status=$?
22956 grep -v '^ *+' conftest.er1 >conftest.err
22957 rm -f conftest.er1
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } &&
22961 { ac_try='test -z "$ac_c_werror_flag"
22962 || test ! -s conftest.err'
22963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22964 (eval $ac_try) 2>&5
22965 ac_status=$?
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); }; } &&
22968 { ac_try='test -s conftest$ac_exeext'
22969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22970 (eval $ac_try) 2>&5
22971 ac_status=$?
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; }; then
22974 ac_cv_lib_m_cosh=yes
22975 else
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22979 ac_cv_lib_m_cosh=no
22981 rm -f conftest.err conftest.$ac_objext \
22982 conftest$ac_exeext conftest.$ac_ext
22983 LIBS=$ac_check_lib_save_LIBS
22985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22986 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22987 if test $ac_cv_lib_m_cosh = yes; then
22989 cat >>confdefs.h <<\_ACEOF
22990 #define HAVE_COSH 1
22991 _ACEOF
22995 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22996 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22997 if test "${ac_cv_lib_m_coshl+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000 ac_check_lib_save_LIBS=$LIBS
23001 LIBS="-lm $LIBS"
23002 if test x$gcc_no_link = xyes; then
23003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23005 { (exit 1); exit 1; }; }
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23014 /* Override any gcc2 internal prototype to avoid an error. */
23015 #ifdef __cplusplus
23016 extern "C"
23017 #endif
23018 /* We use char because int might match the return type of a gcc2
23019 builtin and then its argument prototype would still apply. */
23020 char coshl ();
23022 main ()
23024 coshl ();
23026 return 0;
23028 _ACEOF
23029 rm -f conftest.$ac_objext conftest$ac_exeext
23030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23031 (eval $ac_link) 2>conftest.er1
23032 ac_status=$?
23033 grep -v '^ *+' conftest.er1 >conftest.err
23034 rm -f conftest.er1
23035 cat conftest.err >&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } &&
23038 { ac_try='test -z "$ac_c_werror_flag"
23039 || test ! -s conftest.err'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23042 ac_status=$?
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; } &&
23045 { ac_try='test -s conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23048 ac_status=$?
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_cv_lib_m_coshl=yes
23052 else
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23056 ac_cv_lib_m_coshl=no
23058 rm -f conftest.err conftest.$ac_objext \
23059 conftest$ac_exeext conftest.$ac_ext
23060 LIBS=$ac_check_lib_save_LIBS
23062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23063 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23064 if test $ac_cv_lib_m_coshl = yes; then
23066 cat >>confdefs.h <<\_ACEOF
23067 #define HAVE_COSHL 1
23068 _ACEOF
23072 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23073 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23074 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 else
23077 ac_check_lib_save_LIBS=$LIBS
23078 LIBS="-lm $LIBS"
23079 if test x$gcc_no_link = xyes; then
23080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23082 { (exit 1); exit 1; }; }
23084 cat >conftest.$ac_ext <<_ACEOF
23085 /* confdefs.h. */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23091 /* Override any gcc2 internal prototype to avoid an error. */
23092 #ifdef __cplusplus
23093 extern "C"
23094 #endif
23095 /* We use char because int might match the return type of a gcc2
23096 builtin and then its argument prototype would still apply. */
23097 char ccoshf ();
23099 main ()
23101 ccoshf ();
23103 return 0;
23105 _ACEOF
23106 rm -f conftest.$ac_objext conftest$ac_exeext
23107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23108 (eval $ac_link) 2>conftest.er1
23109 ac_status=$?
23110 grep -v '^ *+' conftest.er1 >conftest.err
23111 rm -f conftest.er1
23112 cat conftest.err >&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); } &&
23115 { ac_try='test -z "$ac_c_werror_flag"
23116 || test ! -s conftest.err'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23119 ac_status=$?
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; } &&
23122 { ac_try='test -s conftest$ac_exeext'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23125 ac_status=$?
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23128 ac_cv_lib_m_ccoshf=yes
23129 else
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23133 ac_cv_lib_m_ccoshf=no
23135 rm -f conftest.err conftest.$ac_objext \
23136 conftest$ac_exeext conftest.$ac_ext
23137 LIBS=$ac_check_lib_save_LIBS
23139 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23140 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23141 if test $ac_cv_lib_m_ccoshf = yes; then
23143 cat >>confdefs.h <<\_ACEOF
23144 #define HAVE_CCOSHF 1
23145 _ACEOF
23149 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23150 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23151 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23152 echo $ECHO_N "(cached) $ECHO_C" >&6
23153 else
23154 ac_check_lib_save_LIBS=$LIBS
23155 LIBS="-lm $LIBS"
23156 if test x$gcc_no_link = xyes; then
23157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23159 { (exit 1); exit 1; }; }
23161 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h. */
23163 _ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23168 /* Override any gcc2 internal prototype to avoid an error. */
23169 #ifdef __cplusplus
23170 extern "C"
23171 #endif
23172 /* We use char because int might match the return type of a gcc2
23173 builtin and then its argument prototype would still apply. */
23174 char ccosh ();
23176 main ()
23178 ccosh ();
23180 return 0;
23182 _ACEOF
23183 rm -f conftest.$ac_objext conftest$ac_exeext
23184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23185 (eval $ac_link) 2>conftest.er1
23186 ac_status=$?
23187 grep -v '^ *+' conftest.er1 >conftest.err
23188 rm -f conftest.er1
23189 cat conftest.err >&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); } &&
23192 { ac_try='test -z "$ac_c_werror_flag"
23193 || test ! -s conftest.err'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23196 ac_status=$?
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; } &&
23199 { ac_try='test -s conftest$ac_exeext'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23202 ac_status=$?
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; }; then
23205 ac_cv_lib_m_ccosh=yes
23206 else
23207 echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23210 ac_cv_lib_m_ccosh=no
23212 rm -f conftest.err conftest.$ac_objext \
23213 conftest$ac_exeext conftest.$ac_ext
23214 LIBS=$ac_check_lib_save_LIBS
23216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23217 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23218 if test $ac_cv_lib_m_ccosh = yes; then
23220 cat >>confdefs.h <<\_ACEOF
23221 #define HAVE_CCOSH 1
23222 _ACEOF
23226 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23227 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23228 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23229 echo $ECHO_N "(cached) $ECHO_C" >&6
23230 else
23231 ac_check_lib_save_LIBS=$LIBS
23232 LIBS="-lm $LIBS"
23233 if test x$gcc_no_link = xyes; then
23234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23236 { (exit 1); exit 1; }; }
23238 cat >conftest.$ac_ext <<_ACEOF
23239 /* confdefs.h. */
23240 _ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h. */
23245 /* Override any gcc2 internal prototype to avoid an error. */
23246 #ifdef __cplusplus
23247 extern "C"
23248 #endif
23249 /* We use char because int might match the return type of a gcc2
23250 builtin and then its argument prototype would still apply. */
23251 char ccoshl ();
23253 main ()
23255 ccoshl ();
23257 return 0;
23259 _ACEOF
23260 rm -f conftest.$ac_objext conftest$ac_exeext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23262 (eval $ac_link) 2>conftest.er1
23263 ac_status=$?
23264 grep -v '^ *+' conftest.er1 >conftest.err
23265 rm -f conftest.er1
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try='test -z "$ac_c_werror_flag"
23270 || test ! -s conftest.err'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23273 ac_status=$?
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; } &&
23276 { ac_try='test -s conftest$ac_exeext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_cv_lib_m_ccoshl=yes
23283 else
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23287 ac_cv_lib_m_ccoshl=no
23289 rm -f conftest.err conftest.$ac_objext \
23290 conftest$ac_exeext conftest.$ac_ext
23291 LIBS=$ac_check_lib_save_LIBS
23293 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23294 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23295 if test $ac_cv_lib_m_ccoshl = yes; then
23297 cat >>confdefs.h <<\_ACEOF
23298 #define HAVE_CCOSHL 1
23299 _ACEOF
23303 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23304 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23305 if test "${ac_cv_lib_m_expf+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23307 else
23308 ac_check_lib_save_LIBS=$LIBS
23309 LIBS="-lm $LIBS"
23310 if test x$gcc_no_link = xyes; then
23311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23313 { (exit 1); exit 1; }; }
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h. */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23322 /* Override any gcc2 internal prototype to avoid an error. */
23323 #ifdef __cplusplus
23324 extern "C"
23325 #endif
23326 /* We use char because int might match the return type of a gcc2
23327 builtin and then its argument prototype would still apply. */
23328 char expf ();
23330 main ()
23332 expf ();
23334 return 0;
23336 _ACEOF
23337 rm -f conftest.$ac_objext conftest$ac_exeext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23339 (eval $ac_link) 2>conftest.er1
23340 ac_status=$?
23341 grep -v '^ *+' conftest.er1 >conftest.err
23342 rm -f conftest.er1
23343 cat conftest.err >&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); } &&
23346 { ac_try='test -z "$ac_c_werror_flag"
23347 || test ! -s conftest.err'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; } &&
23353 { ac_try='test -s conftest$ac_exeext'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23356 ac_status=$?
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; }; then
23359 ac_cv_lib_m_expf=yes
23360 else
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23364 ac_cv_lib_m_expf=no
23366 rm -f conftest.err conftest.$ac_objext \
23367 conftest$ac_exeext conftest.$ac_ext
23368 LIBS=$ac_check_lib_save_LIBS
23370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23371 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23372 if test $ac_cv_lib_m_expf = yes; then
23374 cat >>confdefs.h <<\_ACEOF
23375 #define HAVE_EXPF 1
23376 _ACEOF
23380 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23381 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23382 if test "${ac_cv_lib_m_exp+set}" = set; then
23383 echo $ECHO_N "(cached) $ECHO_C" >&6
23384 else
23385 ac_check_lib_save_LIBS=$LIBS
23386 LIBS="-lm $LIBS"
23387 if test x$gcc_no_link = xyes; then
23388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23390 { (exit 1); exit 1; }; }
23392 cat >conftest.$ac_ext <<_ACEOF
23393 /* confdefs.h. */
23394 _ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23399 /* Override any gcc2 internal prototype to avoid an error. */
23400 #ifdef __cplusplus
23401 extern "C"
23402 #endif
23403 /* We use char because int might match the return type of a gcc2
23404 builtin and then its argument prototype would still apply. */
23405 char exp ();
23407 main ()
23409 exp ();
23411 return 0;
23413 _ACEOF
23414 rm -f conftest.$ac_objext conftest$ac_exeext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416 (eval $ac_link) 2>conftest.er1
23417 ac_status=$?
23418 grep -v '^ *+' conftest.er1 >conftest.err
23419 rm -f conftest.er1
23420 cat conftest.err >&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); } &&
23423 { ac_try='test -z "$ac_c_werror_flag"
23424 || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try='test -s conftest$ac_exeext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436 ac_cv_lib_m_exp=yes
23437 else
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23441 ac_cv_lib_m_exp=no
23443 rm -f conftest.err conftest.$ac_objext \
23444 conftest$ac_exeext conftest.$ac_ext
23445 LIBS=$ac_check_lib_save_LIBS
23447 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23448 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23449 if test $ac_cv_lib_m_exp = yes; then
23451 cat >>confdefs.h <<\_ACEOF
23452 #define HAVE_EXP 1
23453 _ACEOF
23457 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23458 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23459 if test "${ac_cv_lib_m_expl+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23462 ac_check_lib_save_LIBS=$LIBS
23463 LIBS="-lm $LIBS"
23464 if test x$gcc_no_link = xyes; then
23465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23467 { (exit 1); exit 1; }; }
23469 cat >conftest.$ac_ext <<_ACEOF
23470 /* confdefs.h. */
23471 _ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23476 /* Override any gcc2 internal prototype to avoid an error. */
23477 #ifdef __cplusplus
23478 extern "C"
23479 #endif
23480 /* We use char because int might match the return type of a gcc2
23481 builtin and then its argument prototype would still apply. */
23482 char expl ();
23484 main ()
23486 expl ();
23488 return 0;
23490 _ACEOF
23491 rm -f conftest.$ac_objext conftest$ac_exeext
23492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23493 (eval $ac_link) 2>conftest.er1
23494 ac_status=$?
23495 grep -v '^ *+' conftest.er1 >conftest.err
23496 rm -f conftest.er1
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } &&
23500 { ac_try='test -z "$ac_c_werror_flag"
23501 || test ! -s conftest.err'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23504 ac_status=$?
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; } &&
23507 { ac_try='test -s conftest$ac_exeext'
23508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23509 (eval $ac_try) 2>&5
23510 ac_status=$?
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); }; }; then
23513 ac_cv_lib_m_expl=yes
23514 else
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23518 ac_cv_lib_m_expl=no
23520 rm -f conftest.err conftest.$ac_objext \
23521 conftest$ac_exeext conftest.$ac_ext
23522 LIBS=$ac_check_lib_save_LIBS
23524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23525 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23526 if test $ac_cv_lib_m_expl = yes; then
23528 cat >>confdefs.h <<\_ACEOF
23529 #define HAVE_EXPL 1
23530 _ACEOF
23534 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23535 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23536 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23538 else
23539 ac_check_lib_save_LIBS=$LIBS
23540 LIBS="-lm $LIBS"
23541 if test x$gcc_no_link = xyes; then
23542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23544 { (exit 1); exit 1; }; }
23546 cat >conftest.$ac_ext <<_ACEOF
23547 /* confdefs.h. */
23548 _ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23553 /* Override any gcc2 internal prototype to avoid an error. */
23554 #ifdef __cplusplus
23555 extern "C"
23556 #endif
23557 /* We use char because int might match the return type of a gcc2
23558 builtin and then its argument prototype would still apply. */
23559 char cexpf ();
23561 main ()
23563 cexpf ();
23565 return 0;
23567 _ACEOF
23568 rm -f conftest.$ac_objext conftest$ac_exeext
23569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23570 (eval $ac_link) 2>conftest.er1
23571 ac_status=$?
23572 grep -v '^ *+' conftest.er1 >conftest.err
23573 rm -f conftest.er1
23574 cat conftest.err >&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try='test -z "$ac_c_werror_flag"
23578 || test ! -s conftest.err'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23581 ac_status=$?
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; } &&
23584 { ac_try='test -s conftest$ac_exeext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 ac_cv_lib_m_cexpf=yes
23591 else
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23595 ac_cv_lib_m_cexpf=no
23597 rm -f conftest.err conftest.$ac_objext \
23598 conftest$ac_exeext conftest.$ac_ext
23599 LIBS=$ac_check_lib_save_LIBS
23601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23602 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23603 if test $ac_cv_lib_m_cexpf = yes; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define HAVE_CEXPF 1
23607 _ACEOF
23611 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23612 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23613 if test "${ac_cv_lib_m_cexp+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23615 else
23616 ac_check_lib_save_LIBS=$LIBS
23617 LIBS="-lm $LIBS"
23618 if test x$gcc_no_link = xyes; then
23619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23621 { (exit 1); exit 1; }; }
23623 cat >conftest.$ac_ext <<_ACEOF
23624 /* confdefs.h. */
23625 _ACEOF
23626 cat confdefs.h >>conftest.$ac_ext
23627 cat >>conftest.$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23630 /* Override any gcc2 internal prototype to avoid an error. */
23631 #ifdef __cplusplus
23632 extern "C"
23633 #endif
23634 /* We use char because int might match the return type of a gcc2
23635 builtin and then its argument prototype would still apply. */
23636 char cexp ();
23638 main ()
23640 cexp ();
23642 return 0;
23644 _ACEOF
23645 rm -f conftest.$ac_objext conftest$ac_exeext
23646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23647 (eval $ac_link) 2>conftest.er1
23648 ac_status=$?
23649 grep -v '^ *+' conftest.er1 >conftest.err
23650 rm -f conftest.er1
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } &&
23654 { ac_try='test -z "$ac_c_werror_flag"
23655 || test ! -s conftest.err'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23658 ac_status=$?
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; } &&
23661 { ac_try='test -s conftest$ac_exeext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23664 ac_status=$?
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667 ac_cv_lib_m_cexp=yes
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23672 ac_cv_lib_m_cexp=no
23674 rm -f conftest.err conftest.$ac_objext \
23675 conftest$ac_exeext conftest.$ac_ext
23676 LIBS=$ac_check_lib_save_LIBS
23678 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23679 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23680 if test $ac_cv_lib_m_cexp = yes; then
23682 cat >>confdefs.h <<\_ACEOF
23683 #define HAVE_CEXP 1
23684 _ACEOF
23688 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23689 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23690 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23691 echo $ECHO_N "(cached) $ECHO_C" >&6
23692 else
23693 ac_check_lib_save_LIBS=$LIBS
23694 LIBS="-lm $LIBS"
23695 if test x$gcc_no_link = xyes; then
23696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23698 { (exit 1); exit 1; }; }
23700 cat >conftest.$ac_ext <<_ACEOF
23701 /* confdefs.h. */
23702 _ACEOF
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h. */
23707 /* Override any gcc2 internal prototype to avoid an error. */
23708 #ifdef __cplusplus
23709 extern "C"
23710 #endif
23711 /* We use char because int might match the return type of a gcc2
23712 builtin and then its argument prototype would still apply. */
23713 char cexpl ();
23715 main ()
23717 cexpl ();
23719 return 0;
23721 _ACEOF
23722 rm -f conftest.$ac_objext conftest$ac_exeext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23724 (eval $ac_link) 2>conftest.er1
23725 ac_status=$?
23726 grep -v '^ *+' conftest.er1 >conftest.err
23727 rm -f conftest.er1
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } &&
23731 { ac_try='test -z "$ac_c_werror_flag"
23732 || test ! -s conftest.err'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; } &&
23738 { ac_try='test -s conftest$ac_exeext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23741 ac_status=$?
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 ac_cv_lib_m_cexpl=yes
23745 else
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23749 ac_cv_lib_m_cexpl=no
23751 rm -f conftest.err conftest.$ac_objext \
23752 conftest$ac_exeext conftest.$ac_ext
23753 LIBS=$ac_check_lib_save_LIBS
23755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23756 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23757 if test $ac_cv_lib_m_cexpl = yes; then
23759 cat >>confdefs.h <<\_ACEOF
23760 #define HAVE_CEXPL 1
23761 _ACEOF
23765 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23766 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23767 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 else
23770 ac_check_lib_save_LIBS=$LIBS
23771 LIBS="-lm $LIBS"
23772 if test x$gcc_no_link = xyes; then
23773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23775 { (exit 1); exit 1; }; }
23777 cat >conftest.$ac_ext <<_ACEOF
23778 /* confdefs.h. */
23779 _ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23784 /* Override any gcc2 internal prototype to avoid an error. */
23785 #ifdef __cplusplus
23786 extern "C"
23787 #endif
23788 /* We use char because int might match the return type of a gcc2
23789 builtin and then its argument prototype would still apply. */
23790 char fabsf ();
23792 main ()
23794 fabsf ();
23796 return 0;
23798 _ACEOF
23799 rm -f conftest.$ac_objext conftest$ac_exeext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23801 (eval $ac_link) 2>conftest.er1
23802 ac_status=$?
23803 grep -v '^ *+' conftest.er1 >conftest.err
23804 rm -f conftest.er1
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } &&
23808 { ac_try='test -z "$ac_c_werror_flag"
23809 || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23812 ac_status=$?
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try='test -s conftest$ac_exeext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23818 ac_status=$?
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 ac_cv_lib_m_fabsf=yes
23822 else
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23826 ac_cv_lib_m_fabsf=no
23828 rm -f conftest.err conftest.$ac_objext \
23829 conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23833 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23834 if test $ac_cv_lib_m_fabsf = yes; then
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_FABSF 1
23838 _ACEOF
23842 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23843 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23844 if test "${ac_cv_lib_m_fabs+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 ac_check_lib_save_LIBS=$LIBS
23848 LIBS="-lm $LIBS"
23849 if test x$gcc_no_link = xyes; then
23850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23852 { (exit 1); exit 1; }; }
23854 cat >conftest.$ac_ext <<_ACEOF
23855 /* confdefs.h. */
23856 _ACEOF
23857 cat confdefs.h >>conftest.$ac_ext
23858 cat >>conftest.$ac_ext <<_ACEOF
23859 /* end confdefs.h. */
23861 /* Override any gcc2 internal prototype to avoid an error. */
23862 #ifdef __cplusplus
23863 extern "C"
23864 #endif
23865 /* We use char because int might match the return type of a gcc2
23866 builtin and then its argument prototype would still apply. */
23867 char fabs ();
23869 main ()
23871 fabs ();
23873 return 0;
23875 _ACEOF
23876 rm -f conftest.$ac_objext conftest$ac_exeext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23878 (eval $ac_link) 2>conftest.er1
23879 ac_status=$?
23880 grep -v '^ *+' conftest.er1 >conftest.err
23881 rm -f conftest.er1
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -z "$ac_c_werror_flag"
23886 || test ! -s conftest.err'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; } &&
23892 { ac_try='test -s conftest$ac_exeext'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23895 ac_status=$?
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 ac_cv_lib_m_fabs=yes
23899 else
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23903 ac_cv_lib_m_fabs=no
23905 rm -f conftest.err conftest.$ac_objext \
23906 conftest$ac_exeext conftest.$ac_ext
23907 LIBS=$ac_check_lib_save_LIBS
23909 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23910 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23911 if test $ac_cv_lib_m_fabs = yes; then
23913 cat >>confdefs.h <<\_ACEOF
23914 #define HAVE_FABS 1
23915 _ACEOF
23919 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23920 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23921 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23922 echo $ECHO_N "(cached) $ECHO_C" >&6
23923 else
23924 ac_check_lib_save_LIBS=$LIBS
23925 LIBS="-lm $LIBS"
23926 if test x$gcc_no_link = xyes; then
23927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23929 { (exit 1); exit 1; }; }
23931 cat >conftest.$ac_ext <<_ACEOF
23932 /* confdefs.h. */
23933 _ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23938 /* Override any gcc2 internal prototype to avoid an error. */
23939 #ifdef __cplusplus
23940 extern "C"
23941 #endif
23942 /* We use char because int might match the return type of a gcc2
23943 builtin and then its argument prototype would still apply. */
23944 char fabsl ();
23946 main ()
23948 fabsl ();
23950 return 0;
23952 _ACEOF
23953 rm -f conftest.$ac_objext conftest$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>conftest.er1
23956 ac_status=$?
23957 grep -v '^ *+' conftest.er1 >conftest.err
23958 rm -f conftest.er1
23959 cat conftest.err >&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } &&
23962 { ac_try='test -z "$ac_c_werror_flag"
23963 || test ! -s conftest.err'
23964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23965 (eval $ac_try) 2>&5
23966 ac_status=$?
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); }; } &&
23969 { ac_try='test -s conftest$ac_exeext'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23972 ac_status=$?
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; }; then
23975 ac_cv_lib_m_fabsl=yes
23976 else
23977 echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.$ac_ext >&5
23980 ac_cv_lib_m_fabsl=no
23982 rm -f conftest.err conftest.$ac_objext \
23983 conftest$ac_exeext conftest.$ac_ext
23984 LIBS=$ac_check_lib_save_LIBS
23986 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23987 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23988 if test $ac_cv_lib_m_fabsl = yes; then
23990 cat >>confdefs.h <<\_ACEOF
23991 #define HAVE_FABSL 1
23992 _ACEOF
23996 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23997 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23998 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 else
24001 ac_check_lib_save_LIBS=$LIBS
24002 LIBS="-lm $LIBS"
24003 if test x$gcc_no_link = xyes; then
24004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24006 { (exit 1); exit 1; }; }
24008 cat >conftest.$ac_ext <<_ACEOF
24009 /* confdefs.h. */
24010 _ACEOF
24011 cat confdefs.h >>conftest.$ac_ext
24012 cat >>conftest.$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24015 /* Override any gcc2 internal prototype to avoid an error. */
24016 #ifdef __cplusplus
24017 extern "C"
24018 #endif
24019 /* We use char because int might match the return type of a gcc2
24020 builtin and then its argument prototype would still apply. */
24021 char cabsf ();
24023 main ()
24025 cabsf ();
24027 return 0;
24029 _ACEOF
24030 rm -f conftest.$ac_objext conftest$ac_exeext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24032 (eval $ac_link) 2>conftest.er1
24033 ac_status=$?
24034 grep -v '^ *+' conftest.er1 >conftest.err
24035 rm -f conftest.er1
24036 cat conftest.err >&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try='test -z "$ac_c_werror_flag"
24040 || test ! -s conftest.err'
24041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042 (eval $ac_try) 2>&5
24043 ac_status=$?
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; } &&
24046 { ac_try='test -s conftest$ac_exeext'
24047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048 (eval $ac_try) 2>&5
24049 ac_status=$?
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); }; }; then
24052 ac_cv_lib_m_cabsf=yes
24053 else
24054 echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.$ac_ext >&5
24057 ac_cv_lib_m_cabsf=no
24059 rm -f conftest.err conftest.$ac_objext \
24060 conftest$ac_exeext conftest.$ac_ext
24061 LIBS=$ac_check_lib_save_LIBS
24063 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24064 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24065 if test $ac_cv_lib_m_cabsf = yes; then
24067 cat >>confdefs.h <<\_ACEOF
24068 #define HAVE_CABSF 1
24069 _ACEOF
24073 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24074 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24075 if test "${ac_cv_lib_m_cabs+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24078 ac_check_lib_save_LIBS=$LIBS
24079 LIBS="-lm $LIBS"
24080 if test x$gcc_no_link = xyes; then
24081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24083 { (exit 1); exit 1; }; }
24085 cat >conftest.$ac_ext <<_ACEOF
24086 /* confdefs.h. */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24092 /* Override any gcc2 internal prototype to avoid an error. */
24093 #ifdef __cplusplus
24094 extern "C"
24095 #endif
24096 /* We use char because int might match the return type of a gcc2
24097 builtin and then its argument prototype would still apply. */
24098 char cabs ();
24100 main ()
24102 cabs ();
24104 return 0;
24106 _ACEOF
24107 rm -f conftest.$ac_objext conftest$ac_exeext
24108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24109 (eval $ac_link) 2>conftest.er1
24110 ac_status=$?
24111 grep -v '^ *+' conftest.er1 >conftest.err
24112 rm -f conftest.er1
24113 cat conftest.err >&5
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } &&
24116 { ac_try='test -z "$ac_c_werror_flag"
24117 || test ! -s conftest.err'
24118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24119 (eval $ac_try) 2>&5
24120 ac_status=$?
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); }; } &&
24123 { ac_try='test -s conftest$ac_exeext'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24126 ac_status=$?
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; }; then
24129 ac_cv_lib_m_cabs=yes
24130 else
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.$ac_ext >&5
24134 ac_cv_lib_m_cabs=no
24136 rm -f conftest.err conftest.$ac_objext \
24137 conftest$ac_exeext conftest.$ac_ext
24138 LIBS=$ac_check_lib_save_LIBS
24140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24141 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24142 if test $ac_cv_lib_m_cabs = yes; then
24144 cat >>confdefs.h <<\_ACEOF
24145 #define HAVE_CABS 1
24146 _ACEOF
24150 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24151 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24152 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 else
24155 ac_check_lib_save_LIBS=$LIBS
24156 LIBS="-lm $LIBS"
24157 if test x$gcc_no_link = xyes; then
24158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24160 { (exit 1); exit 1; }; }
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24169 /* Override any gcc2 internal prototype to avoid an error. */
24170 #ifdef __cplusplus
24171 extern "C"
24172 #endif
24173 /* We use char because int might match the return type of a gcc2
24174 builtin and then its argument prototype would still apply. */
24175 char cabsl ();
24177 main ()
24179 cabsl ();
24181 return 0;
24183 _ACEOF
24184 rm -f conftest.$ac_objext conftest$ac_exeext
24185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24186 (eval $ac_link) 2>conftest.er1
24187 ac_status=$?
24188 grep -v '^ *+' conftest.er1 >conftest.err
24189 rm -f conftest.er1
24190 cat conftest.err >&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } &&
24193 { ac_try='test -z "$ac_c_werror_flag"
24194 || test ! -s conftest.err'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24197 ac_status=$?
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; } &&
24200 { ac_try='test -s conftest$ac_exeext'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24203 ac_status=$?
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; }; then
24206 ac_cv_lib_m_cabsl=yes
24207 else
24208 echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.$ac_ext >&5
24211 ac_cv_lib_m_cabsl=no
24213 rm -f conftest.err conftest.$ac_objext \
24214 conftest$ac_exeext conftest.$ac_ext
24215 LIBS=$ac_check_lib_save_LIBS
24217 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24218 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24219 if test $ac_cv_lib_m_cabsl = yes; then
24221 cat >>confdefs.h <<\_ACEOF
24222 #define HAVE_CABSL 1
24223 _ACEOF
24227 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24228 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24229 if test "${ac_cv_lib_m_floorf+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232 ac_check_lib_save_LIBS=$LIBS
24233 LIBS="-lm $LIBS"
24234 if test x$gcc_no_link = xyes; then
24235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24237 { (exit 1); exit 1; }; }
24239 cat >conftest.$ac_ext <<_ACEOF
24240 /* confdefs.h. */
24241 _ACEOF
24242 cat confdefs.h >>conftest.$ac_ext
24243 cat >>conftest.$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24246 /* Override any gcc2 internal prototype to avoid an error. */
24247 #ifdef __cplusplus
24248 extern "C"
24249 #endif
24250 /* We use char because int might match the return type of a gcc2
24251 builtin and then its argument prototype would still apply. */
24252 char floorf ();
24254 main ()
24256 floorf ();
24258 return 0;
24260 _ACEOF
24261 rm -f conftest.$ac_objext conftest$ac_exeext
24262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24263 (eval $ac_link) 2>conftest.er1
24264 ac_status=$?
24265 grep -v '^ *+' conftest.er1 >conftest.err
24266 rm -f conftest.er1
24267 cat conftest.err >&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); } &&
24270 { ac_try='test -z "$ac_c_werror_flag"
24271 || test ! -s conftest.err'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24274 ac_status=$?
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; } &&
24277 { ac_try='test -s conftest$ac_exeext'
24278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279 (eval $ac_try) 2>&5
24280 ac_status=$?
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); }; }; then
24283 ac_cv_lib_m_floorf=yes
24284 else
24285 echo "$as_me: failed program was:" >&5
24286 sed 's/^/| /' conftest.$ac_ext >&5
24288 ac_cv_lib_m_floorf=no
24290 rm -f conftest.err conftest.$ac_objext \
24291 conftest$ac_exeext conftest.$ac_ext
24292 LIBS=$ac_check_lib_save_LIBS
24294 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24295 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24296 if test $ac_cv_lib_m_floorf = yes; then
24298 cat >>confdefs.h <<\_ACEOF
24299 #define HAVE_FLOORF 1
24300 _ACEOF
24304 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24305 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24306 if test "${ac_cv_lib_m_floor+set}" = set; then
24307 echo $ECHO_N "(cached) $ECHO_C" >&6
24308 else
24309 ac_check_lib_save_LIBS=$LIBS
24310 LIBS="-lm $LIBS"
24311 if test x$gcc_no_link = xyes; then
24312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24314 { (exit 1); exit 1; }; }
24316 cat >conftest.$ac_ext <<_ACEOF
24317 /* confdefs.h. */
24318 _ACEOF
24319 cat confdefs.h >>conftest.$ac_ext
24320 cat >>conftest.$ac_ext <<_ACEOF
24321 /* end confdefs.h. */
24323 /* Override any gcc2 internal prototype to avoid an error. */
24324 #ifdef __cplusplus
24325 extern "C"
24326 #endif
24327 /* We use char because int might match the return type of a gcc2
24328 builtin and then its argument prototype would still apply. */
24329 char floor ();
24331 main ()
24333 floor ();
24335 return 0;
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24340 (eval $ac_link) 2>conftest.er1
24341 ac_status=$?
24342 grep -v '^ *+' conftest.er1 >conftest.err
24343 rm -f conftest.er1
24344 cat conftest.err >&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); } &&
24347 { ac_try='test -z "$ac_c_werror_flag"
24348 || test ! -s conftest.err'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24351 ac_status=$?
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; } &&
24354 { ac_try='test -s conftest$ac_exeext'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; }; then
24360 ac_cv_lib_m_floor=yes
24361 else
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24365 ac_cv_lib_m_floor=no
24367 rm -f conftest.err conftest.$ac_objext \
24368 conftest$ac_exeext conftest.$ac_ext
24369 LIBS=$ac_check_lib_save_LIBS
24371 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24372 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24373 if test $ac_cv_lib_m_floor = yes; then
24375 cat >>confdefs.h <<\_ACEOF
24376 #define HAVE_FLOOR 1
24377 _ACEOF
24381 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24382 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24383 if test "${ac_cv_lib_m_floorl+set}" = set; then
24384 echo $ECHO_N "(cached) $ECHO_C" >&6
24385 else
24386 ac_check_lib_save_LIBS=$LIBS
24387 LIBS="-lm $LIBS"
24388 if test x$gcc_no_link = xyes; then
24389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24391 { (exit 1); exit 1; }; }
24393 cat >conftest.$ac_ext <<_ACEOF
24394 /* confdefs.h. */
24395 _ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24400 /* Override any gcc2 internal prototype to avoid an error. */
24401 #ifdef __cplusplus
24402 extern "C"
24403 #endif
24404 /* We use char because int might match the return type of a gcc2
24405 builtin and then its argument prototype would still apply. */
24406 char floorl ();
24408 main ()
24410 floorl ();
24412 return 0;
24414 _ACEOF
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24417 (eval $ac_link) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_c_werror_flag"
24425 || test ! -s conftest.err'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; } &&
24431 { ac_try='test -s conftest$ac_exeext'
24432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433 (eval $ac_try) 2>&5
24434 ac_status=$?
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); }; }; then
24437 ac_cv_lib_m_floorl=yes
24438 else
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24442 ac_cv_lib_m_floorl=no
24444 rm -f conftest.err conftest.$ac_objext \
24445 conftest$ac_exeext conftest.$ac_ext
24446 LIBS=$ac_check_lib_save_LIBS
24448 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24449 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24450 if test $ac_cv_lib_m_floorl = yes; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_FLOORL 1
24454 _ACEOF
24458 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24459 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24460 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24461 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 else
24463 ac_check_lib_save_LIBS=$LIBS
24464 LIBS="-lm $LIBS"
24465 if test x$gcc_no_link = xyes; then
24466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24468 { (exit 1); exit 1; }; }
24470 cat >conftest.$ac_ext <<_ACEOF
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24477 /* Override any gcc2 internal prototype to avoid an error. */
24478 #ifdef __cplusplus
24479 extern "C"
24480 #endif
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483 char fmodf ();
24485 main ()
24487 fmodf ();
24489 return 0;
24491 _ACEOF
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>conftest.er1
24495 ac_status=$?
24496 grep -v '^ *+' conftest.er1 >conftest.err
24497 rm -f conftest.er1
24498 cat conftest.err >&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); } &&
24501 { ac_try='test -z "$ac_c_werror_flag"
24502 || test ! -s conftest.err'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24505 ac_status=$?
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; } &&
24508 { ac_try='test -s conftest$ac_exeext'
24509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510 (eval $ac_try) 2>&5
24511 ac_status=$?
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); }; }; then
24514 ac_cv_lib_m_fmodf=yes
24515 else
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24519 ac_cv_lib_m_fmodf=no
24521 rm -f conftest.err conftest.$ac_objext \
24522 conftest$ac_exeext conftest.$ac_ext
24523 LIBS=$ac_check_lib_save_LIBS
24525 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24526 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24527 if test $ac_cv_lib_m_fmodf = yes; then
24529 cat >>confdefs.h <<\_ACEOF
24530 #define HAVE_FMODF 1
24531 _ACEOF
24535 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24536 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24537 if test "${ac_cv_lib_m_fmod+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24539 else
24540 ac_check_lib_save_LIBS=$LIBS
24541 LIBS="-lm $LIBS"
24542 if test x$gcc_no_link = xyes; then
24543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24545 { (exit 1); exit 1; }; }
24547 cat >conftest.$ac_ext <<_ACEOF
24548 /* confdefs.h. */
24549 _ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24554 /* Override any gcc2 internal prototype to avoid an error. */
24555 #ifdef __cplusplus
24556 extern "C"
24557 #endif
24558 /* We use char because int might match the return type of a gcc2
24559 builtin and then its argument prototype would still apply. */
24560 char fmod ();
24562 main ()
24564 fmod ();
24566 return 0;
24568 _ACEOF
24569 rm -f conftest.$ac_objext conftest$ac_exeext
24570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24571 (eval $ac_link) 2>conftest.er1
24572 ac_status=$?
24573 grep -v '^ *+' conftest.er1 >conftest.err
24574 rm -f conftest.er1
24575 cat conftest.err >&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); } &&
24578 { ac_try='test -z "$ac_c_werror_flag"
24579 || test ! -s conftest.err'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24582 ac_status=$?
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; } &&
24585 { ac_try='test -s conftest$ac_exeext'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24588 ac_status=$?
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; }; then
24591 ac_cv_lib_m_fmod=yes
24592 else
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24596 ac_cv_lib_m_fmod=no
24598 rm -f conftest.err conftest.$ac_objext \
24599 conftest$ac_exeext conftest.$ac_ext
24600 LIBS=$ac_check_lib_save_LIBS
24602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24603 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24604 if test $ac_cv_lib_m_fmod = yes; then
24606 cat >>confdefs.h <<\_ACEOF
24607 #define HAVE_FMOD 1
24608 _ACEOF
24612 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24613 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24614 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24615 echo $ECHO_N "(cached) $ECHO_C" >&6
24616 else
24617 ac_check_lib_save_LIBS=$LIBS
24618 LIBS="-lm $LIBS"
24619 if test x$gcc_no_link = xyes; then
24620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24622 { (exit 1); exit 1; }; }
24624 cat >conftest.$ac_ext <<_ACEOF
24625 /* confdefs.h. */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24631 /* Override any gcc2 internal prototype to avoid an error. */
24632 #ifdef __cplusplus
24633 extern "C"
24634 #endif
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637 char fmodl ();
24639 main ()
24641 fmodl ();
24643 return 0;
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_c_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24659 ac_status=$?
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 ac_cv_lib_m_fmodl=yes
24669 else
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24673 ac_cv_lib_m_fmodl=no
24675 rm -f conftest.err conftest.$ac_objext \
24676 conftest$ac_exeext conftest.$ac_ext
24677 LIBS=$ac_check_lib_save_LIBS
24679 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24680 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24681 if test $ac_cv_lib_m_fmodl = yes; then
24683 cat >>confdefs.h <<\_ACEOF
24684 #define HAVE_FMODL 1
24685 _ACEOF
24689 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24690 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24691 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24693 else
24694 ac_check_lib_save_LIBS=$LIBS
24695 LIBS="-lm $LIBS"
24696 if test x$gcc_no_link = xyes; then
24697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24699 { (exit 1); exit 1; }; }
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h. */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24708 /* Override any gcc2 internal prototype to avoid an error. */
24709 #ifdef __cplusplus
24710 extern "C"
24711 #endif
24712 /* We use char because int might match the return type of a gcc2
24713 builtin and then its argument prototype would still apply. */
24714 char frexpf ();
24716 main ()
24718 frexpf ();
24720 return 0;
24722 _ACEOF
24723 rm -f conftest.$ac_objext conftest$ac_exeext
24724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24725 (eval $ac_link) 2>conftest.er1
24726 ac_status=$?
24727 grep -v '^ *+' conftest.er1 >conftest.err
24728 rm -f conftest.er1
24729 cat conftest.err >&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } &&
24732 { ac_try='test -z "$ac_c_werror_flag"
24733 || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 ac_cv_lib_m_frexpf=yes
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 ac_cv_lib_m_frexpf=no
24752 rm -f conftest.err conftest.$ac_objext \
24753 conftest$ac_exeext conftest.$ac_ext
24754 LIBS=$ac_check_lib_save_LIBS
24756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24757 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24758 if test $ac_cv_lib_m_frexpf = yes; then
24760 cat >>confdefs.h <<\_ACEOF
24761 #define HAVE_FREXPF 1
24762 _ACEOF
24766 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24767 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24768 if test "${ac_cv_lib_m_frexp+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 else
24771 ac_check_lib_save_LIBS=$LIBS
24772 LIBS="-lm $LIBS"
24773 if test x$gcc_no_link = xyes; then
24774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24776 { (exit 1); exit 1; }; }
24778 cat >conftest.$ac_ext <<_ACEOF
24779 /* confdefs.h. */
24780 _ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h. */
24785 /* Override any gcc2 internal prototype to avoid an error. */
24786 #ifdef __cplusplus
24787 extern "C"
24788 #endif
24789 /* We use char because int might match the return type of a gcc2
24790 builtin and then its argument prototype would still apply. */
24791 char frexp ();
24793 main ()
24795 frexp ();
24797 return 0;
24799 _ACEOF
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802 (eval $ac_link) 2>conftest.er1
24803 ac_status=$?
24804 grep -v '^ *+' conftest.er1 >conftest.err
24805 rm -f conftest.er1
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try='test -z "$ac_c_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24813 ac_status=$?
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try='test -s conftest$ac_exeext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 ac_cv_lib_m_frexp=yes
24823 else
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24827 ac_cv_lib_m_frexp=no
24829 rm -f conftest.err conftest.$ac_objext \
24830 conftest$ac_exeext conftest.$ac_ext
24831 LIBS=$ac_check_lib_save_LIBS
24833 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24834 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24835 if test $ac_cv_lib_m_frexp = yes; then
24837 cat >>confdefs.h <<\_ACEOF
24838 #define HAVE_FREXP 1
24839 _ACEOF
24843 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24844 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24845 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24846 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 else
24848 ac_check_lib_save_LIBS=$LIBS
24849 LIBS="-lm $LIBS"
24850 if test x$gcc_no_link = xyes; then
24851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24853 { (exit 1); exit 1; }; }
24855 cat >conftest.$ac_ext <<_ACEOF
24856 /* confdefs.h. */
24857 _ACEOF
24858 cat confdefs.h >>conftest.$ac_ext
24859 cat >>conftest.$ac_ext <<_ACEOF
24860 /* end confdefs.h. */
24862 /* Override any gcc2 internal prototype to avoid an error. */
24863 #ifdef __cplusplus
24864 extern "C"
24865 #endif
24866 /* We use char because int might match the return type of a gcc2
24867 builtin and then its argument prototype would still apply. */
24868 char frexpl ();
24870 main ()
24872 frexpl ();
24874 return 0;
24876 _ACEOF
24877 rm -f conftest.$ac_objext conftest$ac_exeext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24879 (eval $ac_link) 2>conftest.er1
24880 ac_status=$?
24881 grep -v '^ *+' conftest.er1 >conftest.err
24882 rm -f conftest.er1
24883 cat conftest.err >&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try='test -z "$ac_c_werror_flag"
24887 || test ! -s conftest.err'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; } &&
24893 { ac_try='test -s conftest$ac_exeext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24899 ac_cv_lib_m_frexpl=yes
24900 else
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24904 ac_cv_lib_m_frexpl=no
24906 rm -f conftest.err conftest.$ac_objext \
24907 conftest$ac_exeext conftest.$ac_ext
24908 LIBS=$ac_check_lib_save_LIBS
24910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24911 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24912 if test $ac_cv_lib_m_frexpl = yes; then
24914 cat >>confdefs.h <<\_ACEOF
24915 #define HAVE_FREXPL 1
24916 _ACEOF
24920 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24921 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24922 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 else
24925 ac_check_lib_save_LIBS=$LIBS
24926 LIBS="-lm $LIBS"
24927 if test x$gcc_no_link = xyes; then
24928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24930 { (exit 1); exit 1; }; }
24932 cat >conftest.$ac_ext <<_ACEOF
24933 /* confdefs.h. */
24934 _ACEOF
24935 cat confdefs.h >>conftest.$ac_ext
24936 cat >>conftest.$ac_ext <<_ACEOF
24937 /* end confdefs.h. */
24939 /* Override any gcc2 internal prototype to avoid an error. */
24940 #ifdef __cplusplus
24941 extern "C"
24942 #endif
24943 /* We use char because int might match the return type of a gcc2
24944 builtin and then its argument prototype would still apply. */
24945 char hypotf ();
24947 main ()
24949 hypotf ();
24951 return 0;
24953 _ACEOF
24954 rm -f conftest.$ac_objext conftest$ac_exeext
24955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24956 (eval $ac_link) 2>conftest.er1
24957 ac_status=$?
24958 grep -v '^ *+' conftest.er1 >conftest.err
24959 rm -f conftest.er1
24960 cat conftest.err >&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); } &&
24963 { ac_try='test -z "$ac_c_werror_flag"
24964 || test ! -s conftest.err'
24965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24966 (eval $ac_try) 2>&5
24967 ac_status=$?
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); }; } &&
24970 { ac_try='test -s conftest$ac_exeext'
24971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972 (eval $ac_try) 2>&5
24973 ac_status=$?
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); }; }; then
24976 ac_cv_lib_m_hypotf=yes
24977 else
24978 echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24981 ac_cv_lib_m_hypotf=no
24983 rm -f conftest.err conftest.$ac_objext \
24984 conftest$ac_exeext conftest.$ac_ext
24985 LIBS=$ac_check_lib_save_LIBS
24987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24988 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24989 if test $ac_cv_lib_m_hypotf = yes; then
24991 cat >>confdefs.h <<\_ACEOF
24992 #define HAVE_HYPOTF 1
24993 _ACEOF
24997 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24998 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24999 if test "${ac_cv_lib_m_hypot+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 ac_check_lib_save_LIBS=$LIBS
25003 LIBS="-lm $LIBS"
25004 if test x$gcc_no_link = xyes; then
25005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25007 { (exit 1); exit 1; }; }
25009 cat >conftest.$ac_ext <<_ACEOF
25010 /* confdefs.h. */
25011 _ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25016 /* Override any gcc2 internal prototype to avoid an error. */
25017 #ifdef __cplusplus
25018 extern "C"
25019 #endif
25020 /* We use char because int might match the return type of a gcc2
25021 builtin and then its argument prototype would still apply. */
25022 char hypot ();
25024 main ()
25026 hypot ();
25028 return 0;
25030 _ACEOF
25031 rm -f conftest.$ac_objext conftest$ac_exeext
25032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25033 (eval $ac_link) 2>conftest.er1
25034 ac_status=$?
25035 grep -v '^ *+' conftest.er1 >conftest.err
25036 rm -f conftest.er1
25037 cat conftest.err >&5
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); } &&
25040 { ac_try='test -z "$ac_c_werror_flag"
25041 || test ! -s conftest.err'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; } &&
25047 { ac_try='test -s conftest$ac_exeext'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25050 ac_status=$?
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; }; then
25053 ac_cv_lib_m_hypot=yes
25054 else
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.$ac_ext >&5
25058 ac_cv_lib_m_hypot=no
25060 rm -f conftest.err conftest.$ac_objext \
25061 conftest$ac_exeext conftest.$ac_ext
25062 LIBS=$ac_check_lib_save_LIBS
25064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25065 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25066 if test $ac_cv_lib_m_hypot = yes; then
25068 cat >>confdefs.h <<\_ACEOF
25069 #define HAVE_HYPOT 1
25070 _ACEOF
25074 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25075 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25076 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25077 echo $ECHO_N "(cached) $ECHO_C" >&6
25078 else
25079 ac_check_lib_save_LIBS=$LIBS
25080 LIBS="-lm $LIBS"
25081 if test x$gcc_no_link = xyes; then
25082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25084 { (exit 1); exit 1; }; }
25086 cat >conftest.$ac_ext <<_ACEOF
25087 /* confdefs.h. */
25088 _ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25093 /* Override any gcc2 internal prototype to avoid an error. */
25094 #ifdef __cplusplus
25095 extern "C"
25096 #endif
25097 /* We use char because int might match the return type of a gcc2
25098 builtin and then its argument prototype would still apply. */
25099 char hypotl ();
25101 main ()
25103 hypotl ();
25105 return 0;
25107 _ACEOF
25108 rm -f conftest.$ac_objext conftest$ac_exeext
25109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25110 (eval $ac_link) 2>conftest.er1
25111 ac_status=$?
25112 grep -v '^ *+' conftest.er1 >conftest.err
25113 rm -f conftest.er1
25114 cat conftest.err >&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } &&
25117 { ac_try='test -z "$ac_c_werror_flag"
25118 || test ! -s conftest.err'
25119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120 (eval $ac_try) 2>&5
25121 ac_status=$?
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); }; } &&
25124 { ac_try='test -s conftest$ac_exeext'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25127 ac_status=$?
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; }; then
25130 ac_cv_lib_m_hypotl=yes
25131 else
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25135 ac_cv_lib_m_hypotl=no
25137 rm -f conftest.err conftest.$ac_objext \
25138 conftest$ac_exeext conftest.$ac_ext
25139 LIBS=$ac_check_lib_save_LIBS
25141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25142 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25143 if test $ac_cv_lib_m_hypotl = yes; then
25145 cat >>confdefs.h <<\_ACEOF
25146 #define HAVE_HYPOTL 1
25147 _ACEOF
25151 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25152 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25153 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 else
25156 ac_check_lib_save_LIBS=$LIBS
25157 LIBS="-lm $LIBS"
25158 if test x$gcc_no_link = xyes; then
25159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25161 { (exit 1); exit 1; }; }
25163 cat >conftest.$ac_ext <<_ACEOF
25164 /* confdefs.h. */
25165 _ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25170 /* Override any gcc2 internal prototype to avoid an error. */
25171 #ifdef __cplusplus
25172 extern "C"
25173 #endif
25174 /* We use char because int might match the return type of a gcc2
25175 builtin and then its argument prototype would still apply. */
25176 char ldexpf ();
25178 main ()
25180 ldexpf ();
25182 return 0;
25184 _ACEOF
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25187 (eval $ac_link) 2>conftest.er1
25188 ac_status=$?
25189 grep -v '^ *+' conftest.er1 >conftest.err
25190 rm -f conftest.er1
25191 cat conftest.err >&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try='test -z "$ac_c_werror_flag"
25195 || test ! -s conftest.err'
25196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25197 (eval $ac_try) 2>&5
25198 ac_status=$?
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); }; } &&
25201 { ac_try='test -s conftest$ac_exeext'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25204 ac_status=$?
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; }; then
25207 ac_cv_lib_m_ldexpf=yes
25208 else
25209 echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.$ac_ext >&5
25212 ac_cv_lib_m_ldexpf=no
25214 rm -f conftest.err conftest.$ac_objext \
25215 conftest$ac_exeext conftest.$ac_ext
25216 LIBS=$ac_check_lib_save_LIBS
25218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25219 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25220 if test $ac_cv_lib_m_ldexpf = yes; then
25222 cat >>confdefs.h <<\_ACEOF
25223 #define HAVE_LDEXPF 1
25224 _ACEOF
25228 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25229 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25230 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 else
25233 ac_check_lib_save_LIBS=$LIBS
25234 LIBS="-lm $LIBS"
25235 if test x$gcc_no_link = xyes; then
25236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25238 { (exit 1); exit 1; }; }
25240 cat >conftest.$ac_ext <<_ACEOF
25241 /* confdefs.h. */
25242 _ACEOF
25243 cat confdefs.h >>conftest.$ac_ext
25244 cat >>conftest.$ac_ext <<_ACEOF
25245 /* end confdefs.h. */
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25250 #endif
25251 /* We use char because int might match the return type of a gcc2
25252 builtin and then its argument prototype would still apply. */
25253 char ldexp ();
25255 main ()
25257 ldexp ();
25259 return 0;
25261 _ACEOF
25262 rm -f conftest.$ac_objext conftest$ac_exeext
25263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25264 (eval $ac_link) 2>conftest.er1
25265 ac_status=$?
25266 grep -v '^ *+' conftest.er1 >conftest.err
25267 rm -f conftest.er1
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } &&
25271 { ac_try='test -z "$ac_c_werror_flag"
25272 || test ! -s conftest.err'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25275 ac_status=$?
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; } &&
25278 { ac_try='test -s conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25281 ac_status=$?
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_lib_m_ldexp=yes
25285 else
25286 echo "$as_me: failed program was:" >&5
25287 sed 's/^/| /' conftest.$ac_ext >&5
25289 ac_cv_lib_m_ldexp=no
25291 rm -f conftest.err conftest.$ac_objext \
25292 conftest$ac_exeext conftest.$ac_ext
25293 LIBS=$ac_check_lib_save_LIBS
25295 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25296 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25297 if test $ac_cv_lib_m_ldexp = yes; then
25299 cat >>confdefs.h <<\_ACEOF
25300 #define HAVE_LDEXP 1
25301 _ACEOF
25305 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25306 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25307 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25308 echo $ECHO_N "(cached) $ECHO_C" >&6
25309 else
25310 ac_check_lib_save_LIBS=$LIBS
25311 LIBS="-lm $LIBS"
25312 if test x$gcc_no_link = xyes; then
25313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25315 { (exit 1); exit 1; }; }
25317 cat >conftest.$ac_ext <<_ACEOF
25318 /* confdefs.h. */
25319 _ACEOF
25320 cat confdefs.h >>conftest.$ac_ext
25321 cat >>conftest.$ac_ext <<_ACEOF
25322 /* end confdefs.h. */
25324 /* Override any gcc2 internal prototype to avoid an error. */
25325 #ifdef __cplusplus
25326 extern "C"
25327 #endif
25328 /* We use char because int might match the return type of a gcc2
25329 builtin and then its argument prototype would still apply. */
25330 char ldexpl ();
25332 main ()
25334 ldexpl ();
25336 return 0;
25338 _ACEOF
25339 rm -f conftest.$ac_objext conftest$ac_exeext
25340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25341 (eval $ac_link) 2>conftest.er1
25342 ac_status=$?
25343 grep -v '^ *+' conftest.er1 >conftest.err
25344 rm -f conftest.er1
25345 cat conftest.err >&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); } &&
25348 { ac_try='test -z "$ac_c_werror_flag"
25349 || test ! -s conftest.err'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; } &&
25355 { ac_try='test -s conftest$ac_exeext'
25356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25357 (eval $ac_try) 2>&5
25358 ac_status=$?
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); }; }; then
25361 ac_cv_lib_m_ldexpl=yes
25362 else
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25366 ac_cv_lib_m_ldexpl=no
25368 rm -f conftest.err conftest.$ac_objext \
25369 conftest$ac_exeext conftest.$ac_ext
25370 LIBS=$ac_check_lib_save_LIBS
25372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25373 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25374 if test $ac_cv_lib_m_ldexpl = yes; then
25376 cat >>confdefs.h <<\_ACEOF
25377 #define HAVE_LDEXPL 1
25378 _ACEOF
25382 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25383 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25384 if test "${ac_cv_lib_m_logf+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 else
25387 ac_check_lib_save_LIBS=$LIBS
25388 LIBS="-lm $LIBS"
25389 if test x$gcc_no_link = xyes; then
25390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25392 { (exit 1); exit 1; }; }
25394 cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h. */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25401 /* Override any gcc2 internal prototype to avoid an error. */
25402 #ifdef __cplusplus
25403 extern "C"
25404 #endif
25405 /* We use char because int might match the return type of a gcc2
25406 builtin and then its argument prototype would still apply. */
25407 char logf ();
25409 main ()
25411 logf ();
25413 return 0;
25415 _ACEOF
25416 rm -f conftest.$ac_objext conftest$ac_exeext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25418 (eval $ac_link) 2>conftest.er1
25419 ac_status=$?
25420 grep -v '^ *+' conftest.er1 >conftest.err
25421 rm -f conftest.er1
25422 cat conftest.err >&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try='test -z "$ac_c_werror_flag"
25426 || test ! -s conftest.err'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25429 ac_status=$?
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; } &&
25432 { ac_try='test -s conftest$ac_exeext'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25435 ac_status=$?
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; }; then
25438 ac_cv_lib_m_logf=yes
25439 else
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.$ac_ext >&5
25443 ac_cv_lib_m_logf=no
25445 rm -f conftest.err conftest.$ac_objext \
25446 conftest$ac_exeext conftest.$ac_ext
25447 LIBS=$ac_check_lib_save_LIBS
25449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25450 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25451 if test $ac_cv_lib_m_logf = yes; then
25453 cat >>confdefs.h <<\_ACEOF
25454 #define HAVE_LOGF 1
25455 _ACEOF
25459 echo "$as_me:$LINENO: checking for log in -lm" >&5
25460 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25461 if test "${ac_cv_lib_m_log+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464 ac_check_lib_save_LIBS=$LIBS
25465 LIBS="-lm $LIBS"
25466 if test x$gcc_no_link = xyes; then
25467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25469 { (exit 1); exit 1; }; }
25471 cat >conftest.$ac_ext <<_ACEOF
25472 /* confdefs.h. */
25473 _ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25478 /* Override any gcc2 internal prototype to avoid an error. */
25479 #ifdef __cplusplus
25480 extern "C"
25481 #endif
25482 /* We use char because int might match the return type of a gcc2
25483 builtin and then its argument prototype would still apply. */
25484 char log ();
25486 main ()
25488 log ();
25490 return 0;
25492 _ACEOF
25493 rm -f conftest.$ac_objext conftest$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495 (eval $ac_link) 2>conftest.er1
25496 ac_status=$?
25497 grep -v '^ *+' conftest.er1 >conftest.err
25498 rm -f conftest.er1
25499 cat conftest.err >&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try='test -z "$ac_c_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try='test -s conftest$ac_exeext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 ac_cv_lib_m_log=yes
25516 else
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25520 ac_cv_lib_m_log=no
25522 rm -f conftest.err conftest.$ac_objext \
25523 conftest$ac_exeext conftest.$ac_ext
25524 LIBS=$ac_check_lib_save_LIBS
25526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25527 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25528 if test $ac_cv_lib_m_log = yes; then
25530 cat >>confdefs.h <<\_ACEOF
25531 #define HAVE_LOG 1
25532 _ACEOF
25536 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25537 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25538 if test "${ac_cv_lib_m_logl+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 else
25541 ac_check_lib_save_LIBS=$LIBS
25542 LIBS="-lm $LIBS"
25543 if test x$gcc_no_link = xyes; then
25544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25546 { (exit 1); exit 1; }; }
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25555 /* Override any gcc2 internal prototype to avoid an error. */
25556 #ifdef __cplusplus
25557 extern "C"
25558 #endif
25559 /* We use char because int might match the return type of a gcc2
25560 builtin and then its argument prototype would still apply. */
25561 char logl ();
25563 main ()
25565 logl ();
25567 return 0;
25569 _ACEOF
25570 rm -f conftest.$ac_objext conftest$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572 (eval $ac_link) 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try='test -z "$ac_c_werror_flag"
25580 || test ! -s conftest.err'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; } &&
25586 { ac_try='test -s conftest$ac_exeext'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 ac_cv_lib_m_logl=yes
25593 else
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25597 ac_cv_lib_m_logl=no
25599 rm -f conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25601 LIBS=$ac_check_lib_save_LIBS
25603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25604 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25605 if test $ac_cv_lib_m_logl = yes; then
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_LOGL 1
25609 _ACEOF
25613 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25614 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25615 if test "${ac_cv_lib_m_clogf+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618 ac_check_lib_save_LIBS=$LIBS
25619 LIBS="-lm $LIBS"
25620 if test x$gcc_no_link = xyes; then
25621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25623 { (exit 1); exit 1; }; }
25625 cat >conftest.$ac_ext <<_ACEOF
25626 /* confdefs.h. */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25632 /* Override any gcc2 internal prototype to avoid an error. */
25633 #ifdef __cplusplus
25634 extern "C"
25635 #endif
25636 /* We use char because int might match the return type of a gcc2
25637 builtin and then its argument prototype would still apply. */
25638 char clogf ();
25640 main ()
25642 clogf ();
25644 return 0;
25646 _ACEOF
25647 rm -f conftest.$ac_objext conftest$ac_exeext
25648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25649 (eval $ac_link) 2>conftest.er1
25650 ac_status=$?
25651 grep -v '^ *+' conftest.er1 >conftest.err
25652 rm -f conftest.er1
25653 cat conftest.err >&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } &&
25656 { ac_try='test -z "$ac_c_werror_flag"
25657 || test ! -s conftest.err'
25658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25659 (eval $ac_try) 2>&5
25660 ac_status=$?
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); }; } &&
25663 { ac_try='test -s conftest$ac_exeext'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25666 ac_status=$?
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25669 ac_cv_lib_m_clogf=yes
25670 else
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25674 ac_cv_lib_m_clogf=no
25676 rm -f conftest.err conftest.$ac_objext \
25677 conftest$ac_exeext conftest.$ac_ext
25678 LIBS=$ac_check_lib_save_LIBS
25680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25681 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25682 if test $ac_cv_lib_m_clogf = yes; then
25684 cat >>confdefs.h <<\_ACEOF
25685 #define HAVE_CLOGF 1
25686 _ACEOF
25690 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25691 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25692 if test "${ac_cv_lib_m_clog+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695 ac_check_lib_save_LIBS=$LIBS
25696 LIBS="-lm $LIBS"
25697 if test x$gcc_no_link = xyes; then
25698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25700 { (exit 1); exit 1; }; }
25702 cat >conftest.$ac_ext <<_ACEOF
25703 /* confdefs.h. */
25704 _ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25709 /* Override any gcc2 internal prototype to avoid an error. */
25710 #ifdef __cplusplus
25711 extern "C"
25712 #endif
25713 /* We use char because int might match the return type of a gcc2
25714 builtin and then its argument prototype would still apply. */
25715 char clog ();
25717 main ()
25719 clog ();
25721 return 0;
25723 _ACEOF
25724 rm -f conftest.$ac_objext conftest$ac_exeext
25725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25726 (eval $ac_link) 2>conftest.er1
25727 ac_status=$?
25728 grep -v '^ *+' conftest.er1 >conftest.err
25729 rm -f conftest.er1
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } &&
25733 { ac_try='test -z "$ac_c_werror_flag"
25734 || test ! -s conftest.err'
25735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736 (eval $ac_try) 2>&5
25737 ac_status=$?
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); }; } &&
25740 { ac_try='test -s conftest$ac_exeext'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25743 ac_status=$?
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; }; then
25746 ac_cv_lib_m_clog=yes
25747 else
25748 echo "$as_me: failed program was:" >&5
25749 sed 's/^/| /' conftest.$ac_ext >&5
25751 ac_cv_lib_m_clog=no
25753 rm -f conftest.err conftest.$ac_objext \
25754 conftest$ac_exeext conftest.$ac_ext
25755 LIBS=$ac_check_lib_save_LIBS
25757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25758 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25759 if test $ac_cv_lib_m_clog = yes; then
25761 cat >>confdefs.h <<\_ACEOF
25762 #define HAVE_CLOG 1
25763 _ACEOF
25767 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25768 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25769 if test "${ac_cv_lib_m_clogl+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 else
25772 ac_check_lib_save_LIBS=$LIBS
25773 LIBS="-lm $LIBS"
25774 if test x$gcc_no_link = xyes; then
25775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25777 { (exit 1); exit 1; }; }
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25786 /* Override any gcc2 internal prototype to avoid an error. */
25787 #ifdef __cplusplus
25788 extern "C"
25789 #endif
25790 /* We use char because int might match the return type of a gcc2
25791 builtin and then its argument prototype would still apply. */
25792 char clogl ();
25794 main ()
25796 clogl ();
25798 return 0;
25800 _ACEOF
25801 rm -f conftest.$ac_objext conftest$ac_exeext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25803 (eval $ac_link) 2>conftest.er1
25804 ac_status=$?
25805 grep -v '^ *+' conftest.er1 >conftest.err
25806 rm -f conftest.er1
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } &&
25810 { ac_try='test -z "$ac_c_werror_flag"
25811 || test ! -s conftest.err'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25814 ac_status=$?
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; } &&
25817 { ac_try='test -s conftest$ac_exeext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25820 ac_status=$?
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_lib_m_clogl=yes
25824 else
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25828 ac_cv_lib_m_clogl=no
25830 rm -f conftest.err conftest.$ac_objext \
25831 conftest$ac_exeext conftest.$ac_ext
25832 LIBS=$ac_check_lib_save_LIBS
25834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25835 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25836 if test $ac_cv_lib_m_clogl = yes; then
25838 cat >>confdefs.h <<\_ACEOF
25839 #define HAVE_CLOGL 1
25840 _ACEOF
25844 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25845 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25846 if test "${ac_cv_lib_m_log10f+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 else
25849 ac_check_lib_save_LIBS=$LIBS
25850 LIBS="-lm $LIBS"
25851 if test x$gcc_no_link = xyes; then
25852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25854 { (exit 1); exit 1; }; }
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h. */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25863 /* Override any gcc2 internal prototype to avoid an error. */
25864 #ifdef __cplusplus
25865 extern "C"
25866 #endif
25867 /* We use char because int might match the return type of a gcc2
25868 builtin and then its argument prototype would still apply. */
25869 char log10f ();
25871 main ()
25873 log10f ();
25875 return 0;
25877 _ACEOF
25878 rm -f conftest.$ac_objext conftest$ac_exeext
25879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25880 (eval $ac_link) 2>conftest.er1
25881 ac_status=$?
25882 grep -v '^ *+' conftest.er1 >conftest.err
25883 rm -f conftest.er1
25884 cat conftest.err >&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } &&
25887 { ac_try='test -z "$ac_c_werror_flag"
25888 || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25897 ac_status=$?
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 ac_cv_lib_m_log10f=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25905 ac_cv_lib_m_log10f=no
25907 rm -f conftest.err conftest.$ac_objext \
25908 conftest$ac_exeext conftest.$ac_ext
25909 LIBS=$ac_check_lib_save_LIBS
25911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25912 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25913 if test $ac_cv_lib_m_log10f = yes; then
25915 cat >>confdefs.h <<\_ACEOF
25916 #define HAVE_LOG10F 1
25917 _ACEOF
25921 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25922 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25923 if test "${ac_cv_lib_m_log10+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25925 else
25926 ac_check_lib_save_LIBS=$LIBS
25927 LIBS="-lm $LIBS"
25928 if test x$gcc_no_link = xyes; then
25929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25931 { (exit 1); exit 1; }; }
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h. */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25940 /* Override any gcc2 internal prototype to avoid an error. */
25941 #ifdef __cplusplus
25942 extern "C"
25943 #endif
25944 /* We use char because int might match the return type of a gcc2
25945 builtin and then its argument prototype would still apply. */
25946 char log10 ();
25948 main ()
25950 log10 ();
25952 return 0;
25954 _ACEOF
25955 rm -f conftest.$ac_objext conftest$ac_exeext
25956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25957 (eval $ac_link) 2>conftest.er1
25958 ac_status=$?
25959 grep -v '^ *+' conftest.er1 >conftest.err
25960 rm -f conftest.er1
25961 cat conftest.err >&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } &&
25964 { ac_try='test -z "$ac_c_werror_flag"
25965 || test ! -s conftest.err'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25968 ac_status=$?
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; } &&
25971 { ac_try='test -s conftest$ac_exeext'
25972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 (eval $ac_try) 2>&5
25974 ac_status=$?
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); }; }; then
25977 ac_cv_lib_m_log10=yes
25978 else
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25982 ac_cv_lib_m_log10=no
25984 rm -f conftest.err conftest.$ac_objext \
25985 conftest$ac_exeext conftest.$ac_ext
25986 LIBS=$ac_check_lib_save_LIBS
25988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25989 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25990 if test $ac_cv_lib_m_log10 = yes; then
25992 cat >>confdefs.h <<\_ACEOF
25993 #define HAVE_LOG10 1
25994 _ACEOF
25998 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25999 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
26000 if test "${ac_cv_lib_m_log10l+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003 ac_check_lib_save_LIBS=$LIBS
26004 LIBS="-lm $LIBS"
26005 if test x$gcc_no_link = xyes; then
26006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26008 { (exit 1); exit 1; }; }
26010 cat >conftest.$ac_ext <<_ACEOF
26011 /* confdefs.h. */
26012 _ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26017 /* Override any gcc2 internal prototype to avoid an error. */
26018 #ifdef __cplusplus
26019 extern "C"
26020 #endif
26021 /* We use char because int might match the return type of a gcc2
26022 builtin and then its argument prototype would still apply. */
26023 char log10l ();
26025 main ()
26027 log10l ();
26029 return 0;
26031 _ACEOF
26032 rm -f conftest.$ac_objext conftest$ac_exeext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034 (eval $ac_link) 2>conftest.er1
26035 ac_status=$?
26036 grep -v '^ *+' conftest.er1 >conftest.err
26037 rm -f conftest.er1
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -z "$ac_c_werror_flag"
26042 || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest$ac_exeext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_cv_lib_m_log10l=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26059 ac_cv_lib_m_log10l=no
26061 rm -f conftest.err conftest.$ac_objext \
26062 conftest$ac_exeext conftest.$ac_ext
26063 LIBS=$ac_check_lib_save_LIBS
26065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26066 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26067 if test $ac_cv_lib_m_log10l = yes; then
26069 cat >>confdefs.h <<\_ACEOF
26070 #define HAVE_LOG10L 1
26071 _ACEOF
26075 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26076 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26077 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26078 echo $ECHO_N "(cached) $ECHO_C" >&6
26079 else
26080 ac_check_lib_save_LIBS=$LIBS
26081 LIBS="-lm $LIBS"
26082 if test x$gcc_no_link = xyes; then
26083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26085 { (exit 1); exit 1; }; }
26087 cat >conftest.$ac_ext <<_ACEOF
26088 /* confdefs.h. */
26089 _ACEOF
26090 cat confdefs.h >>conftest.$ac_ext
26091 cat >>conftest.$ac_ext <<_ACEOF
26092 /* end confdefs.h. */
26094 /* Override any gcc2 internal prototype to avoid an error. */
26095 #ifdef __cplusplus
26096 extern "C"
26097 #endif
26098 /* We use char because int might match the return type of a gcc2
26099 builtin and then its argument prototype would still apply. */
26100 char clog10f ();
26102 main ()
26104 clog10f ();
26106 return 0;
26108 _ACEOF
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26111 (eval $ac_link) 2>conftest.er1
26112 ac_status=$?
26113 grep -v '^ *+' conftest.er1 >conftest.err
26114 rm -f conftest.er1
26115 cat conftest.err >&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); } &&
26118 { ac_try='test -z "$ac_c_werror_flag"
26119 || test ! -s conftest.err'
26120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121 (eval $ac_try) 2>&5
26122 ac_status=$?
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); }; } &&
26125 { ac_try='test -s conftest$ac_exeext'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26128 ac_status=$?
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; }; then
26131 ac_cv_lib_m_clog10f=yes
26132 else
26133 echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.$ac_ext >&5
26136 ac_cv_lib_m_clog10f=no
26138 rm -f conftest.err conftest.$ac_objext \
26139 conftest$ac_exeext conftest.$ac_ext
26140 LIBS=$ac_check_lib_save_LIBS
26142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26143 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26144 if test $ac_cv_lib_m_clog10f = yes; then
26146 cat >>confdefs.h <<\_ACEOF
26147 #define HAVE_CLOG10F 1
26148 _ACEOF
26152 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26153 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26154 if test "${ac_cv_lib_m_clog10+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26156 else
26157 ac_check_lib_save_LIBS=$LIBS
26158 LIBS="-lm $LIBS"
26159 if test x$gcc_no_link = xyes; then
26160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26162 { (exit 1); exit 1; }; }
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26171 /* Override any gcc2 internal prototype to avoid an error. */
26172 #ifdef __cplusplus
26173 extern "C"
26174 #endif
26175 /* We use char because int might match the return type of a gcc2
26176 builtin and then its argument prototype would still apply. */
26177 char clog10 ();
26179 main ()
26181 clog10 ();
26183 return 0;
26185 _ACEOF
26186 rm -f conftest.$ac_objext conftest$ac_exeext
26187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26188 (eval $ac_link) 2>conftest.er1
26189 ac_status=$?
26190 grep -v '^ *+' conftest.er1 >conftest.err
26191 rm -f conftest.er1
26192 cat conftest.err >&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); } &&
26195 { ac_try='test -z "$ac_c_werror_flag"
26196 || test ! -s conftest.err'
26197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26198 (eval $ac_try) 2>&5
26199 ac_status=$?
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); }; } &&
26202 { ac_try='test -s conftest$ac_exeext'
26203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204 (eval $ac_try) 2>&5
26205 ac_status=$?
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); }; }; then
26208 ac_cv_lib_m_clog10=yes
26209 else
26210 echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.$ac_ext >&5
26213 ac_cv_lib_m_clog10=no
26215 rm -f conftest.err conftest.$ac_objext \
26216 conftest$ac_exeext conftest.$ac_ext
26217 LIBS=$ac_check_lib_save_LIBS
26219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26220 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26221 if test $ac_cv_lib_m_clog10 = yes; then
26223 cat >>confdefs.h <<\_ACEOF
26224 #define HAVE_CLOG10 1
26225 _ACEOF
26229 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26230 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26231 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26232 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 else
26234 ac_check_lib_save_LIBS=$LIBS
26235 LIBS="-lm $LIBS"
26236 if test x$gcc_no_link = xyes; then
26237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26239 { (exit 1); exit 1; }; }
26241 cat >conftest.$ac_ext <<_ACEOF
26242 /* confdefs.h. */
26243 _ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26248 /* Override any gcc2 internal prototype to avoid an error. */
26249 #ifdef __cplusplus
26250 extern "C"
26251 #endif
26252 /* We use char because int might match the return type of a gcc2
26253 builtin and then its argument prototype would still apply. */
26254 char clog10l ();
26256 main ()
26258 clog10l ();
26260 return 0;
26262 _ACEOF
26263 rm -f conftest.$ac_objext conftest$ac_exeext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26265 (eval $ac_link) 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } &&
26272 { ac_try='test -z "$ac_c_werror_flag"
26273 || test ! -s conftest.err'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; } &&
26279 { ac_try='test -s conftest$ac_exeext'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26282 ac_status=$?
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; }; then
26285 ac_cv_lib_m_clog10l=yes
26286 else
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26290 ac_cv_lib_m_clog10l=no
26292 rm -f conftest.err conftest.$ac_objext \
26293 conftest$ac_exeext conftest.$ac_ext
26294 LIBS=$ac_check_lib_save_LIBS
26296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26297 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26298 if test $ac_cv_lib_m_clog10l = yes; then
26300 cat >>confdefs.h <<\_ACEOF
26301 #define HAVE_CLOG10L 1
26302 _ACEOF
26306 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26307 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26308 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26311 ac_check_lib_save_LIBS=$LIBS
26312 LIBS="-lm $LIBS"
26313 if test x$gcc_no_link = xyes; then
26314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26316 { (exit 1); exit 1; }; }
26318 cat >conftest.$ac_ext <<_ACEOF
26319 /* confdefs.h. */
26320 _ACEOF
26321 cat confdefs.h >>conftest.$ac_ext
26322 cat >>conftest.$ac_ext <<_ACEOF
26323 /* end confdefs.h. */
26325 /* Override any gcc2 internal prototype to avoid an error. */
26326 #ifdef __cplusplus
26327 extern "C"
26328 #endif
26329 /* We use char because int might match the return type of a gcc2
26330 builtin and then its argument prototype would still apply. */
26331 char nextafterf ();
26333 main ()
26335 nextafterf ();
26337 return 0;
26339 _ACEOF
26340 rm -f conftest.$ac_objext conftest$ac_exeext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26342 (eval $ac_link) 2>conftest.er1
26343 ac_status=$?
26344 grep -v '^ *+' conftest.er1 >conftest.err
26345 rm -f conftest.er1
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try='test -z "$ac_c_werror_flag"
26350 || test ! -s conftest.err'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; } &&
26356 { ac_try='test -s conftest$ac_exeext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 ac_cv_lib_m_nextafterf=yes
26363 else
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26367 ac_cv_lib_m_nextafterf=no
26369 rm -f conftest.err conftest.$ac_objext \
26370 conftest$ac_exeext conftest.$ac_ext
26371 LIBS=$ac_check_lib_save_LIBS
26373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26374 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26375 if test $ac_cv_lib_m_nextafterf = yes; then
26377 cat >>confdefs.h <<\_ACEOF
26378 #define HAVE_NEXTAFTERF 1
26379 _ACEOF
26383 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26384 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26385 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388 ac_check_lib_save_LIBS=$LIBS
26389 LIBS="-lm $LIBS"
26390 if test x$gcc_no_link = xyes; then
26391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26393 { (exit 1); exit 1; }; }
26395 cat >conftest.$ac_ext <<_ACEOF
26396 /* confdefs.h. */
26397 _ACEOF
26398 cat confdefs.h >>conftest.$ac_ext
26399 cat >>conftest.$ac_ext <<_ACEOF
26400 /* end confdefs.h. */
26402 /* Override any gcc2 internal prototype to avoid an error. */
26403 #ifdef __cplusplus
26404 extern "C"
26405 #endif
26406 /* We use char because int might match the return type of a gcc2
26407 builtin and then its argument prototype would still apply. */
26408 char nextafter ();
26410 main ()
26412 nextafter ();
26414 return 0;
26416 _ACEOF
26417 rm -f conftest.$ac_objext conftest$ac_exeext
26418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26419 (eval $ac_link) 2>conftest.er1
26420 ac_status=$?
26421 grep -v '^ *+' conftest.er1 >conftest.err
26422 rm -f conftest.er1
26423 cat conftest.err >&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } &&
26426 { ac_try='test -z "$ac_c_werror_flag"
26427 || test ! -s conftest.err'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26430 ac_status=$?
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; } &&
26433 { ac_try='test -s conftest$ac_exeext'
26434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435 (eval $ac_try) 2>&5
26436 ac_status=$?
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; }; then
26439 ac_cv_lib_m_nextafter=yes
26440 else
26441 echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.$ac_ext >&5
26444 ac_cv_lib_m_nextafter=no
26446 rm -f conftest.err conftest.$ac_objext \
26447 conftest$ac_exeext conftest.$ac_ext
26448 LIBS=$ac_check_lib_save_LIBS
26450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26451 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26452 if test $ac_cv_lib_m_nextafter = yes; then
26454 cat >>confdefs.h <<\_ACEOF
26455 #define HAVE_NEXTAFTER 1
26456 _ACEOF
26460 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26461 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26462 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26463 echo $ECHO_N "(cached) $ECHO_C" >&6
26464 else
26465 ac_check_lib_save_LIBS=$LIBS
26466 LIBS="-lm $LIBS"
26467 if test x$gcc_no_link = xyes; then
26468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26470 { (exit 1); exit 1; }; }
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26479 /* Override any gcc2 internal prototype to avoid an error. */
26480 #ifdef __cplusplus
26481 extern "C"
26482 #endif
26483 /* We use char because int might match the return type of a gcc2
26484 builtin and then its argument prototype would still apply. */
26485 char nextafterl ();
26487 main ()
26489 nextafterl ();
26491 return 0;
26493 _ACEOF
26494 rm -f conftest.$ac_objext conftest$ac_exeext
26495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26496 (eval $ac_link) 2>conftest.er1
26497 ac_status=$?
26498 grep -v '^ *+' conftest.er1 >conftest.err
26499 rm -f conftest.er1
26500 cat conftest.err >&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try='test -z "$ac_c_werror_flag"
26504 || test ! -s conftest.err'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26507 ac_status=$?
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; } &&
26510 { ac_try='test -s conftest$ac_exeext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_lib_m_nextafterl=yes
26517 else
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26521 ac_cv_lib_m_nextafterl=no
26523 rm -f conftest.err conftest.$ac_objext \
26524 conftest$ac_exeext conftest.$ac_ext
26525 LIBS=$ac_check_lib_save_LIBS
26527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26528 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26529 if test $ac_cv_lib_m_nextafterl = yes; then
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_NEXTAFTERL 1
26533 _ACEOF
26537 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26538 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26539 if test "${ac_cv_lib_m_powf+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542 ac_check_lib_save_LIBS=$LIBS
26543 LIBS="-lm $LIBS"
26544 if test x$gcc_no_link = xyes; then
26545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26547 { (exit 1); exit 1; }; }
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26556 /* Override any gcc2 internal prototype to avoid an error. */
26557 #ifdef __cplusplus
26558 extern "C"
26559 #endif
26560 /* We use char because int might match the return type of a gcc2
26561 builtin and then its argument prototype would still apply. */
26562 char powf ();
26564 main ()
26566 powf ();
26568 return 0;
26570 _ACEOF
26571 rm -f conftest.$ac_objext conftest$ac_exeext
26572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26573 (eval $ac_link) 2>conftest.er1
26574 ac_status=$?
26575 grep -v '^ *+' conftest.er1 >conftest.err
26576 rm -f conftest.er1
26577 cat conftest.err >&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); } &&
26580 { ac_try='test -z "$ac_c_werror_flag"
26581 || test ! -s conftest.err'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26584 ac_status=$?
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; } &&
26587 { ac_try='test -s conftest$ac_exeext'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26590 ac_status=$?
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; }; then
26593 ac_cv_lib_m_powf=yes
26594 else
26595 echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26598 ac_cv_lib_m_powf=no
26600 rm -f conftest.err conftest.$ac_objext \
26601 conftest$ac_exeext conftest.$ac_ext
26602 LIBS=$ac_check_lib_save_LIBS
26604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26605 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26606 if test $ac_cv_lib_m_powf = yes; then
26608 cat >>confdefs.h <<\_ACEOF
26609 #define HAVE_POWF 1
26610 _ACEOF
26614 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26615 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26616 if test "${ac_cv_lib_m_pow+set}" = set; then
26617 echo $ECHO_N "(cached) $ECHO_C" >&6
26618 else
26619 ac_check_lib_save_LIBS=$LIBS
26620 LIBS="-lm $LIBS"
26621 if test x$gcc_no_link = xyes; then
26622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26624 { (exit 1); exit 1; }; }
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h. */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26633 /* Override any gcc2 internal prototype to avoid an error. */
26634 #ifdef __cplusplus
26635 extern "C"
26636 #endif
26637 /* We use char because int might match the return type of a gcc2
26638 builtin and then its argument prototype would still apply. */
26639 char pow ();
26641 main ()
26643 pow ();
26645 return 0;
26647 _ACEOF
26648 rm -f conftest.$ac_objext conftest$ac_exeext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 (eval $ac_link) 2>conftest.er1
26651 ac_status=$?
26652 grep -v '^ *+' conftest.er1 >conftest.err
26653 rm -f conftest.er1
26654 cat conftest.err >&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try='test -z "$ac_c_werror_flag"
26658 || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26661 ac_status=$?
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try='test -s conftest$ac_exeext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26667 ac_status=$?
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 ac_cv_lib_m_pow=yes
26671 else
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26675 ac_cv_lib_m_pow=no
26677 rm -f conftest.err conftest.$ac_objext \
26678 conftest$ac_exeext conftest.$ac_ext
26679 LIBS=$ac_check_lib_save_LIBS
26681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26682 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26683 if test $ac_cv_lib_m_pow = yes; then
26685 cat >>confdefs.h <<\_ACEOF
26686 #define HAVE_POW 1
26687 _ACEOF
26691 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26692 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26693 if test "${ac_cv_lib_m_powl+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 else
26696 ac_check_lib_save_LIBS=$LIBS
26697 LIBS="-lm $LIBS"
26698 if test x$gcc_no_link = xyes; then
26699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26701 { (exit 1); exit 1; }; }
26703 cat >conftest.$ac_ext <<_ACEOF
26704 /* confdefs.h. */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26710 /* Override any gcc2 internal prototype to avoid an error. */
26711 #ifdef __cplusplus
26712 extern "C"
26713 #endif
26714 /* We use char because int might match the return type of a gcc2
26715 builtin and then its argument prototype would still apply. */
26716 char powl ();
26718 main ()
26720 powl ();
26722 return 0;
26724 _ACEOF
26725 rm -f conftest.$ac_objext conftest$ac_exeext
26726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26727 (eval $ac_link) 2>conftest.er1
26728 ac_status=$?
26729 grep -v '^ *+' conftest.er1 >conftest.err
26730 rm -f conftest.er1
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } &&
26734 { ac_try='test -z "$ac_c_werror_flag"
26735 || test ! -s conftest.err'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; } &&
26741 { ac_try='test -s conftest$ac_exeext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 ac_cv_lib_m_powl=yes
26748 else
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.$ac_ext >&5
26752 ac_cv_lib_m_powl=no
26754 rm -f conftest.err conftest.$ac_objext \
26755 conftest$ac_exeext conftest.$ac_ext
26756 LIBS=$ac_check_lib_save_LIBS
26758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26759 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26760 if test $ac_cv_lib_m_powl = yes; then
26762 cat >>confdefs.h <<\_ACEOF
26763 #define HAVE_POWL 1
26764 _ACEOF
26768 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26769 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26770 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 else
26773 ac_check_lib_save_LIBS=$LIBS
26774 LIBS="-lm $LIBS"
26775 if test x$gcc_no_link = xyes; then
26776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26778 { (exit 1); exit 1; }; }
26780 cat >conftest.$ac_ext <<_ACEOF
26781 /* confdefs.h. */
26782 _ACEOF
26783 cat confdefs.h >>conftest.$ac_ext
26784 cat >>conftest.$ac_ext <<_ACEOF
26785 /* end confdefs.h. */
26787 /* Override any gcc2 internal prototype to avoid an error. */
26788 #ifdef __cplusplus
26789 extern "C"
26790 #endif
26791 /* We use char because int might match the return type of a gcc2
26792 builtin and then its argument prototype would still apply. */
26793 char cpowf ();
26795 main ()
26797 cpowf ();
26799 return 0;
26801 _ACEOF
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804 (eval $ac_link) 2>conftest.er1
26805 ac_status=$?
26806 grep -v '^ *+' conftest.er1 >conftest.err
26807 rm -f conftest.er1
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_c_werror_flag"
26812 || test ! -s conftest.err'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 ac_cv_lib_m_cpowf=yes
26825 else
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26829 ac_cv_lib_m_cpowf=no
26831 rm -f conftest.err conftest.$ac_objext \
26832 conftest$ac_exeext conftest.$ac_ext
26833 LIBS=$ac_check_lib_save_LIBS
26835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26836 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26837 if test $ac_cv_lib_m_cpowf = yes; then
26839 cat >>confdefs.h <<\_ACEOF
26840 #define HAVE_CPOWF 1
26841 _ACEOF
26845 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26846 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26847 if test "${ac_cv_lib_m_cpow+set}" = set; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26849 else
26850 ac_check_lib_save_LIBS=$LIBS
26851 LIBS="-lm $LIBS"
26852 if test x$gcc_no_link = xyes; then
26853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26855 { (exit 1); exit 1; }; }
26857 cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h. */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26864 /* Override any gcc2 internal prototype to avoid an error. */
26865 #ifdef __cplusplus
26866 extern "C"
26867 #endif
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26870 char cpow ();
26872 main ()
26874 cpow ();
26876 return 0;
26878 _ACEOF
26879 rm -f conftest.$ac_objext conftest$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26882 ac_status=$?
26883 grep -v '^ *+' conftest.er1 >conftest.err
26884 rm -f conftest.er1
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try='test -z "$ac_c_werror_flag"
26889 || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26892 ac_status=$?
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try='test -s conftest$ac_exeext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26898 ac_status=$?
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 ac_cv_lib_m_cpow=yes
26902 else
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26906 ac_cv_lib_m_cpow=no
26908 rm -f conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26910 LIBS=$ac_check_lib_save_LIBS
26912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26913 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26914 if test $ac_cv_lib_m_cpow = yes; then
26916 cat >>confdefs.h <<\_ACEOF
26917 #define HAVE_CPOW 1
26918 _ACEOF
26922 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26923 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26924 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26927 ac_check_lib_save_LIBS=$LIBS
26928 LIBS="-lm $LIBS"
26929 if test x$gcc_no_link = xyes; then
26930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26932 { (exit 1); exit 1; }; }
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26941 /* Override any gcc2 internal prototype to avoid an error. */
26942 #ifdef __cplusplus
26943 extern "C"
26944 #endif
26945 /* We use char because int might match the return type of a gcc2
26946 builtin and then its argument prototype would still apply. */
26947 char cpowl ();
26949 main ()
26951 cpowl ();
26953 return 0;
26955 _ACEOF
26956 rm -f conftest.$ac_objext conftest$ac_exeext
26957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26958 (eval $ac_link) 2>conftest.er1
26959 ac_status=$?
26960 grep -v '^ *+' conftest.er1 >conftest.err
26961 rm -f conftest.er1
26962 cat conftest.err >&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } &&
26965 { ac_try='test -z "$ac_c_werror_flag"
26966 || test ! -s conftest.err'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; } &&
26972 { ac_try='test -s conftest$ac_exeext'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26975 ac_status=$?
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; }; then
26978 ac_cv_lib_m_cpowl=yes
26979 else
26980 echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.$ac_ext >&5
26983 ac_cv_lib_m_cpowl=no
26985 rm -f conftest.err conftest.$ac_objext \
26986 conftest$ac_exeext conftest.$ac_ext
26987 LIBS=$ac_check_lib_save_LIBS
26989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26990 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26991 if test $ac_cv_lib_m_cpowl = yes; then
26993 cat >>confdefs.h <<\_ACEOF
26994 #define HAVE_CPOWL 1
26995 _ACEOF
26999 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
27000 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
27001 if test "${ac_cv_lib_m_roundf+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27004 ac_check_lib_save_LIBS=$LIBS
27005 LIBS="-lm $LIBS"
27006 if test x$gcc_no_link = xyes; then
27007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27009 { (exit 1); exit 1; }; }
27011 cat >conftest.$ac_ext <<_ACEOF
27012 /* confdefs.h. */
27013 _ACEOF
27014 cat confdefs.h >>conftest.$ac_ext
27015 cat >>conftest.$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27018 /* Override any gcc2 internal prototype to avoid an error. */
27019 #ifdef __cplusplus
27020 extern "C"
27021 #endif
27022 /* We use char because int might match the return type of a gcc2
27023 builtin and then its argument prototype would still apply. */
27024 char roundf ();
27026 main ()
27028 roundf ();
27030 return 0;
27032 _ACEOF
27033 rm -f conftest.$ac_objext conftest$ac_exeext
27034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27035 (eval $ac_link) 2>conftest.er1
27036 ac_status=$?
27037 grep -v '^ *+' conftest.er1 >conftest.err
27038 rm -f conftest.er1
27039 cat conftest.err >&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } &&
27042 { ac_try='test -z "$ac_c_werror_flag"
27043 || test ! -s conftest.err'
27044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27045 (eval $ac_try) 2>&5
27046 ac_status=$?
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); }; } &&
27049 { ac_try='test -s conftest$ac_exeext'
27050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051 (eval $ac_try) 2>&5
27052 ac_status=$?
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); }; }; then
27055 ac_cv_lib_m_roundf=yes
27056 else
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27060 ac_cv_lib_m_roundf=no
27062 rm -f conftest.err conftest.$ac_objext \
27063 conftest$ac_exeext conftest.$ac_ext
27064 LIBS=$ac_check_lib_save_LIBS
27066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27067 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27068 if test $ac_cv_lib_m_roundf = yes; then
27070 cat >>confdefs.h <<\_ACEOF
27071 #define HAVE_ROUNDF 1
27072 _ACEOF
27076 echo "$as_me:$LINENO: checking for round in -lm" >&5
27077 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27078 if test "${ac_cv_lib_m_round+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27080 else
27081 ac_check_lib_save_LIBS=$LIBS
27082 LIBS="-lm $LIBS"
27083 if test x$gcc_no_link = xyes; then
27084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27086 { (exit 1); exit 1; }; }
27088 cat >conftest.$ac_ext <<_ACEOF
27089 /* confdefs.h. */
27090 _ACEOF
27091 cat confdefs.h >>conftest.$ac_ext
27092 cat >>conftest.$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27095 /* Override any gcc2 internal prototype to avoid an error. */
27096 #ifdef __cplusplus
27097 extern "C"
27098 #endif
27099 /* We use char because int might match the return type of a gcc2
27100 builtin and then its argument prototype would still apply. */
27101 char round ();
27103 main ()
27105 round ();
27107 return 0;
27109 _ACEOF
27110 rm -f conftest.$ac_objext conftest$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112 (eval $ac_link) 2>conftest.er1
27113 ac_status=$?
27114 grep -v '^ *+' conftest.er1 >conftest.err
27115 rm -f conftest.er1
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try='test -z "$ac_c_werror_flag"
27120 || test ! -s conftest.err'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27123 ac_status=$?
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; } &&
27126 { ac_try='test -s conftest$ac_exeext'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; }; then
27132 ac_cv_lib_m_round=yes
27133 else
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27137 ac_cv_lib_m_round=no
27139 rm -f conftest.err conftest.$ac_objext \
27140 conftest$ac_exeext conftest.$ac_ext
27141 LIBS=$ac_check_lib_save_LIBS
27143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27144 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27145 if test $ac_cv_lib_m_round = yes; then
27147 cat >>confdefs.h <<\_ACEOF
27148 #define HAVE_ROUND 1
27149 _ACEOF
27153 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27154 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27155 if test "${ac_cv_lib_m_roundl+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 else
27158 ac_check_lib_save_LIBS=$LIBS
27159 LIBS="-lm $LIBS"
27160 if test x$gcc_no_link = xyes; then
27161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27163 { (exit 1); exit 1; }; }
27165 cat >conftest.$ac_ext <<_ACEOF
27166 /* confdefs.h. */
27167 _ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27172 /* Override any gcc2 internal prototype to avoid an error. */
27173 #ifdef __cplusplus
27174 extern "C"
27175 #endif
27176 /* We use char because int might match the return type of a gcc2
27177 builtin and then its argument prototype would still apply. */
27178 char roundl ();
27180 main ()
27182 roundl ();
27184 return 0;
27186 _ACEOF
27187 rm -f conftest.$ac_objext conftest$ac_exeext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27189 (eval $ac_link) 2>conftest.er1
27190 ac_status=$?
27191 grep -v '^ *+' conftest.er1 >conftest.err
27192 rm -f conftest.er1
27193 cat conftest.err >&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try='test -z "$ac_c_werror_flag"
27197 || test ! -s conftest.err'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27200 ac_status=$?
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; } &&
27203 { ac_try='test -s conftest$ac_exeext'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; }; then
27209 ac_cv_lib_m_roundl=yes
27210 else
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27214 ac_cv_lib_m_roundl=no
27216 rm -f conftest.err conftest.$ac_objext \
27217 conftest$ac_exeext conftest.$ac_ext
27218 LIBS=$ac_check_lib_save_LIBS
27220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27221 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27222 if test $ac_cv_lib_m_roundl = yes; then
27224 cat >>confdefs.h <<\_ACEOF
27225 #define HAVE_ROUNDL 1
27226 _ACEOF
27230 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27231 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27232 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27233 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 else
27235 ac_check_lib_save_LIBS=$LIBS
27236 LIBS="-lm $LIBS"
27237 if test x$gcc_no_link = xyes; then
27238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27240 { (exit 1); exit 1; }; }
27242 cat >conftest.$ac_ext <<_ACEOF
27243 /* confdefs.h. */
27244 _ACEOF
27245 cat confdefs.h >>conftest.$ac_ext
27246 cat >>conftest.$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27249 /* Override any gcc2 internal prototype to avoid an error. */
27250 #ifdef __cplusplus
27251 extern "C"
27252 #endif
27253 /* We use char because int might match the return type of a gcc2
27254 builtin and then its argument prototype would still apply. */
27255 char lroundf ();
27257 main ()
27259 lroundf ();
27261 return 0;
27263 _ACEOF
27264 rm -f conftest.$ac_objext conftest$ac_exeext
27265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27266 (eval $ac_link) 2>conftest.er1
27267 ac_status=$?
27268 grep -v '^ *+' conftest.er1 >conftest.err
27269 rm -f conftest.er1
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } &&
27273 { ac_try='test -z "$ac_c_werror_flag"
27274 || test ! -s conftest.err'
27275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27276 (eval $ac_try) 2>&5
27277 ac_status=$?
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; } &&
27280 { ac_try='test -s conftest$ac_exeext'
27281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282 (eval $ac_try) 2>&5
27283 ac_status=$?
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); }; }; then
27286 ac_cv_lib_m_lroundf=yes
27287 else
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27291 ac_cv_lib_m_lroundf=no
27293 rm -f conftest.err conftest.$ac_objext \
27294 conftest$ac_exeext conftest.$ac_ext
27295 LIBS=$ac_check_lib_save_LIBS
27297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27298 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27299 if test $ac_cv_lib_m_lroundf = yes; then
27301 cat >>confdefs.h <<\_ACEOF
27302 #define HAVE_LROUNDF 1
27303 _ACEOF
27307 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27308 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27309 if test "${ac_cv_lib_m_lround+set}" = set; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27311 else
27312 ac_check_lib_save_LIBS=$LIBS
27313 LIBS="-lm $LIBS"
27314 if test x$gcc_no_link = xyes; then
27315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27317 { (exit 1); exit 1; }; }
27319 cat >conftest.$ac_ext <<_ACEOF
27320 /* confdefs.h. */
27321 _ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27326 /* Override any gcc2 internal prototype to avoid an error. */
27327 #ifdef __cplusplus
27328 extern "C"
27329 #endif
27330 /* We use char because int might match the return type of a gcc2
27331 builtin and then its argument prototype would still apply. */
27332 char lround ();
27334 main ()
27336 lround ();
27338 return 0;
27340 _ACEOF
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27343 (eval $ac_link) 2>conftest.er1
27344 ac_status=$?
27345 grep -v '^ *+' conftest.er1 >conftest.err
27346 rm -f conftest.er1
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } &&
27350 { ac_try='test -z "$ac_c_werror_flag"
27351 || test ! -s conftest.err'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; } &&
27357 { ac_try='test -s conftest$ac_exeext'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; }; then
27363 ac_cv_lib_m_lround=yes
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27368 ac_cv_lib_m_lround=no
27370 rm -f conftest.err conftest.$ac_objext \
27371 conftest$ac_exeext conftest.$ac_ext
27372 LIBS=$ac_check_lib_save_LIBS
27374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27375 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27376 if test $ac_cv_lib_m_lround = yes; then
27378 cat >>confdefs.h <<\_ACEOF
27379 #define HAVE_LROUND 1
27380 _ACEOF
27384 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27385 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27386 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27388 else
27389 ac_check_lib_save_LIBS=$LIBS
27390 LIBS="-lm $LIBS"
27391 if test x$gcc_no_link = xyes; then
27392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27394 { (exit 1); exit 1; }; }
27396 cat >conftest.$ac_ext <<_ACEOF
27397 /* confdefs.h. */
27398 _ACEOF
27399 cat confdefs.h >>conftest.$ac_ext
27400 cat >>conftest.$ac_ext <<_ACEOF
27401 /* end confdefs.h. */
27403 /* Override any gcc2 internal prototype to avoid an error. */
27404 #ifdef __cplusplus
27405 extern "C"
27406 #endif
27407 /* We use char because int might match the return type of a gcc2
27408 builtin and then its argument prototype would still apply. */
27409 char lroundl ();
27411 main ()
27413 lroundl ();
27415 return 0;
27417 _ACEOF
27418 rm -f conftest.$ac_objext conftest$ac_exeext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27420 (eval $ac_link) 2>conftest.er1
27421 ac_status=$?
27422 grep -v '^ *+' conftest.er1 >conftest.err
27423 rm -f conftest.er1
27424 cat conftest.err >&5
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } &&
27427 { ac_try='test -z "$ac_c_werror_flag"
27428 || test ! -s conftest.err'
27429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430 (eval $ac_try) 2>&5
27431 ac_status=$?
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); }; } &&
27434 { ac_try='test -s conftest$ac_exeext'
27435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436 (eval $ac_try) 2>&5
27437 ac_status=$?
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); }; }; then
27440 ac_cv_lib_m_lroundl=yes
27441 else
27442 echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27445 ac_cv_lib_m_lroundl=no
27447 rm -f conftest.err conftest.$ac_objext \
27448 conftest$ac_exeext conftest.$ac_ext
27449 LIBS=$ac_check_lib_save_LIBS
27451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27452 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27453 if test $ac_cv_lib_m_lroundl = yes; then
27455 cat >>confdefs.h <<\_ACEOF
27456 #define HAVE_LROUNDL 1
27457 _ACEOF
27461 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27462 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27463 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27464 echo $ECHO_N "(cached) $ECHO_C" >&6
27465 else
27466 ac_check_lib_save_LIBS=$LIBS
27467 LIBS="-lm $LIBS"
27468 if test x$gcc_no_link = xyes; then
27469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27471 { (exit 1); exit 1; }; }
27473 cat >conftest.$ac_ext <<_ACEOF
27474 /* confdefs.h. */
27475 _ACEOF
27476 cat confdefs.h >>conftest.$ac_ext
27477 cat >>conftest.$ac_ext <<_ACEOF
27478 /* end confdefs.h. */
27480 /* Override any gcc2 internal prototype to avoid an error. */
27481 #ifdef __cplusplus
27482 extern "C"
27483 #endif
27484 /* We use char because int might match the return type of a gcc2
27485 builtin and then its argument prototype would still apply. */
27486 char llroundf ();
27488 main ()
27490 llroundf ();
27492 return 0;
27494 _ACEOF
27495 rm -f conftest.$ac_objext conftest$ac_exeext
27496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27497 (eval $ac_link) 2>conftest.er1
27498 ac_status=$?
27499 grep -v '^ *+' conftest.er1 >conftest.err
27500 rm -f conftest.er1
27501 cat conftest.err >&5
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } &&
27504 { ac_try='test -z "$ac_c_werror_flag"
27505 || test ! -s conftest.err'
27506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507 (eval $ac_try) 2>&5
27508 ac_status=$?
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; } &&
27511 { ac_try='test -s conftest$ac_exeext'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27514 ac_status=$?
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; }; then
27517 ac_cv_lib_m_llroundf=yes
27518 else
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.$ac_ext >&5
27522 ac_cv_lib_m_llroundf=no
27524 rm -f conftest.err conftest.$ac_objext \
27525 conftest$ac_exeext conftest.$ac_ext
27526 LIBS=$ac_check_lib_save_LIBS
27528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27529 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27530 if test $ac_cv_lib_m_llroundf = yes; then
27532 cat >>confdefs.h <<\_ACEOF
27533 #define HAVE_LLROUNDF 1
27534 _ACEOF
27538 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27539 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27540 if test "${ac_cv_lib_m_llround+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27543 ac_check_lib_save_LIBS=$LIBS
27544 LIBS="-lm $LIBS"
27545 if test x$gcc_no_link = xyes; then
27546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27548 { (exit 1); exit 1; }; }
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h. */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27557 /* Override any gcc2 internal prototype to avoid an error. */
27558 #ifdef __cplusplus
27559 extern "C"
27560 #endif
27561 /* We use char because int might match the return type of a gcc2
27562 builtin and then its argument prototype would still apply. */
27563 char llround ();
27565 main ()
27567 llround ();
27569 return 0;
27571 _ACEOF
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574 (eval $ac_link) 2>conftest.er1
27575 ac_status=$?
27576 grep -v '^ *+' conftest.er1 >conftest.err
27577 rm -f conftest.er1
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } &&
27581 { ac_try='test -z "$ac_c_werror_flag"
27582 || test ! -s conftest.err'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27585 ac_status=$?
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; } &&
27588 { ac_try='test -s conftest$ac_exeext'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27591 ac_status=$?
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; }; then
27594 ac_cv_lib_m_llround=yes
27595 else
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27599 ac_cv_lib_m_llround=no
27601 rm -f conftest.err conftest.$ac_objext \
27602 conftest$ac_exeext conftest.$ac_ext
27603 LIBS=$ac_check_lib_save_LIBS
27605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27606 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27607 if test $ac_cv_lib_m_llround = yes; then
27609 cat >>confdefs.h <<\_ACEOF
27610 #define HAVE_LLROUND 1
27611 _ACEOF
27615 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27616 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27617 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27618 echo $ECHO_N "(cached) $ECHO_C" >&6
27619 else
27620 ac_check_lib_save_LIBS=$LIBS
27621 LIBS="-lm $LIBS"
27622 if test x$gcc_no_link = xyes; then
27623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27625 { (exit 1); exit 1; }; }
27627 cat >conftest.$ac_ext <<_ACEOF
27628 /* confdefs.h. */
27629 _ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27634 /* Override any gcc2 internal prototype to avoid an error. */
27635 #ifdef __cplusplus
27636 extern "C"
27637 #endif
27638 /* We use char because int might match the return type of a gcc2
27639 builtin and then its argument prototype would still apply. */
27640 char llroundl ();
27642 main ()
27644 llroundl ();
27646 return 0;
27648 _ACEOF
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27651 (eval $ac_link) 2>conftest.er1
27652 ac_status=$?
27653 grep -v '^ *+' conftest.er1 >conftest.err
27654 rm -f conftest.er1
27655 cat conftest.err >&5
27656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 (exit $ac_status); } &&
27658 { ac_try='test -z "$ac_c_werror_flag"
27659 || test ! -s conftest.err'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; } &&
27665 { ac_try='test -s conftest$ac_exeext'
27666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27667 (eval $ac_try) 2>&5
27668 ac_status=$?
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); }; }; then
27671 ac_cv_lib_m_llroundl=yes
27672 else
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27676 ac_cv_lib_m_llroundl=no
27678 rm -f conftest.err conftest.$ac_objext \
27679 conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27683 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27684 if test $ac_cv_lib_m_llroundl = yes; then
27686 cat >>confdefs.h <<\_ACEOF
27687 #define HAVE_LLROUNDL 1
27688 _ACEOF
27692 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27693 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27694 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27695 echo $ECHO_N "(cached) $ECHO_C" >&6
27696 else
27697 ac_check_lib_save_LIBS=$LIBS
27698 LIBS="-lm $LIBS"
27699 if test x$gcc_no_link = xyes; then
27700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27702 { (exit 1); exit 1; }; }
27704 cat >conftest.$ac_ext <<_ACEOF
27705 /* confdefs.h. */
27706 _ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27711 /* Override any gcc2 internal prototype to avoid an error. */
27712 #ifdef __cplusplus
27713 extern "C"
27714 #endif
27715 /* We use char because int might match the return type of a gcc2
27716 builtin and then its argument prototype would still apply. */
27717 char scalbnf ();
27719 main ()
27721 scalbnf ();
27723 return 0;
27725 _ACEOF
27726 rm -f conftest.$ac_objext conftest$ac_exeext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27728 (eval $ac_link) 2>conftest.er1
27729 ac_status=$?
27730 grep -v '^ *+' conftest.er1 >conftest.err
27731 rm -f conftest.er1
27732 cat conftest.err >&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } &&
27735 { ac_try='test -z "$ac_c_werror_flag"
27736 || test ! -s conftest.err'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27739 ac_status=$?
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; } &&
27742 { ac_try='test -s conftest$ac_exeext'
27743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744 (eval $ac_try) 2>&5
27745 ac_status=$?
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); }; }; then
27748 ac_cv_lib_m_scalbnf=yes
27749 else
27750 echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.$ac_ext >&5
27753 ac_cv_lib_m_scalbnf=no
27755 rm -f conftest.err conftest.$ac_objext \
27756 conftest$ac_exeext conftest.$ac_ext
27757 LIBS=$ac_check_lib_save_LIBS
27759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27760 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27761 if test $ac_cv_lib_m_scalbnf = yes; then
27763 cat >>confdefs.h <<\_ACEOF
27764 #define HAVE_SCALBNF 1
27765 _ACEOF
27769 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27770 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27771 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27773 else
27774 ac_check_lib_save_LIBS=$LIBS
27775 LIBS="-lm $LIBS"
27776 if test x$gcc_no_link = xyes; then
27777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27779 { (exit 1); exit 1; }; }
27781 cat >conftest.$ac_ext <<_ACEOF
27782 /* confdefs.h. */
27783 _ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h. */
27788 /* Override any gcc2 internal prototype to avoid an error. */
27789 #ifdef __cplusplus
27790 extern "C"
27791 #endif
27792 /* We use char because int might match the return type of a gcc2
27793 builtin and then its argument prototype would still apply. */
27794 char scalbn ();
27796 main ()
27798 scalbn ();
27800 return 0;
27802 _ACEOF
27803 rm -f conftest.$ac_objext conftest$ac_exeext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805 (eval $ac_link) 2>conftest.er1
27806 ac_status=$?
27807 grep -v '^ *+' conftest.er1 >conftest.err
27808 rm -f conftest.er1
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } &&
27812 { ac_try='test -z "$ac_c_werror_flag"
27813 || test ! -s conftest.err'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27816 ac_status=$?
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; } &&
27819 { ac_try='test -s conftest$ac_exeext'
27820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27821 (eval $ac_try) 2>&5
27822 ac_status=$?
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); }; }; then
27825 ac_cv_lib_m_scalbn=yes
27826 else
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27830 ac_cv_lib_m_scalbn=no
27832 rm -f conftest.err conftest.$ac_objext \
27833 conftest$ac_exeext conftest.$ac_ext
27834 LIBS=$ac_check_lib_save_LIBS
27836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27837 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27838 if test $ac_cv_lib_m_scalbn = yes; then
27840 cat >>confdefs.h <<\_ACEOF
27841 #define HAVE_SCALBN 1
27842 _ACEOF
27846 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27847 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27848 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27849 echo $ECHO_N "(cached) $ECHO_C" >&6
27850 else
27851 ac_check_lib_save_LIBS=$LIBS
27852 LIBS="-lm $LIBS"
27853 if test x$gcc_no_link = xyes; then
27854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27856 { (exit 1); exit 1; }; }
27858 cat >conftest.$ac_ext <<_ACEOF
27859 /* confdefs.h. */
27860 _ACEOF
27861 cat confdefs.h >>conftest.$ac_ext
27862 cat >>conftest.$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27865 /* Override any gcc2 internal prototype to avoid an error. */
27866 #ifdef __cplusplus
27867 extern "C"
27868 #endif
27869 /* We use char because int might match the return type of a gcc2
27870 builtin and then its argument prototype would still apply. */
27871 char scalbnl ();
27873 main ()
27875 scalbnl ();
27877 return 0;
27879 _ACEOF
27880 rm -f conftest.$ac_objext conftest$ac_exeext
27881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27882 (eval $ac_link) 2>conftest.er1
27883 ac_status=$?
27884 grep -v '^ *+' conftest.er1 >conftest.err
27885 rm -f conftest.er1
27886 cat conftest.err >&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); } &&
27889 { ac_try='test -z "$ac_c_werror_flag"
27890 || test ! -s conftest.err'
27891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27892 (eval $ac_try) 2>&5
27893 ac_status=$?
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); }; } &&
27896 { ac_try='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 ac_cv_lib_m_scalbnl=yes
27903 else
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27907 ac_cv_lib_m_scalbnl=no
27909 rm -f conftest.err conftest.$ac_objext \
27910 conftest$ac_exeext conftest.$ac_ext
27911 LIBS=$ac_check_lib_save_LIBS
27913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27914 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27915 if test $ac_cv_lib_m_scalbnl = yes; then
27917 cat >>confdefs.h <<\_ACEOF
27918 #define HAVE_SCALBNL 1
27919 _ACEOF
27923 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27924 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27925 if test "${ac_cv_lib_m_sinf+set}" = set; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27927 else
27928 ac_check_lib_save_LIBS=$LIBS
27929 LIBS="-lm $LIBS"
27930 if test x$gcc_no_link = xyes; then
27931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27933 { (exit 1); exit 1; }; }
27935 cat >conftest.$ac_ext <<_ACEOF
27936 /* confdefs.h. */
27937 _ACEOF
27938 cat confdefs.h >>conftest.$ac_ext
27939 cat >>conftest.$ac_ext <<_ACEOF
27940 /* end confdefs.h. */
27942 /* Override any gcc2 internal prototype to avoid an error. */
27943 #ifdef __cplusplus
27944 extern "C"
27945 #endif
27946 /* We use char because int might match the return type of a gcc2
27947 builtin and then its argument prototype would still apply. */
27948 char sinf ();
27950 main ()
27952 sinf ();
27954 return 0;
27956 _ACEOF
27957 rm -f conftest.$ac_objext conftest$ac_exeext
27958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27959 (eval $ac_link) 2>conftest.er1
27960 ac_status=$?
27961 grep -v '^ *+' conftest.er1 >conftest.err
27962 rm -f conftest.er1
27963 cat conftest.err >&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); } &&
27966 { ac_try='test -z "$ac_c_werror_flag"
27967 || test ! -s conftest.err'
27968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27969 (eval $ac_try) 2>&5
27970 ac_status=$?
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); }; } &&
27973 { ac_try='test -s conftest$ac_exeext'
27974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27975 (eval $ac_try) 2>&5
27976 ac_status=$?
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); }; }; then
27979 ac_cv_lib_m_sinf=yes
27980 else
27981 echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27984 ac_cv_lib_m_sinf=no
27986 rm -f conftest.err conftest.$ac_objext \
27987 conftest$ac_exeext conftest.$ac_ext
27988 LIBS=$ac_check_lib_save_LIBS
27990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27991 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27992 if test $ac_cv_lib_m_sinf = yes; then
27994 cat >>confdefs.h <<\_ACEOF
27995 #define HAVE_SINF 1
27996 _ACEOF
28000 echo "$as_me:$LINENO: checking for sin in -lm" >&5
28001 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28002 if test "${ac_cv_lib_m_sin+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005 ac_check_lib_save_LIBS=$LIBS
28006 LIBS="-lm $LIBS"
28007 if test x$gcc_no_link = xyes; then
28008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28010 { (exit 1); exit 1; }; }
28012 cat >conftest.$ac_ext <<_ACEOF
28013 /* confdefs.h. */
28014 _ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28019 /* Override any gcc2 internal prototype to avoid an error. */
28020 #ifdef __cplusplus
28021 extern "C"
28022 #endif
28023 /* We use char because int might match the return type of a gcc2
28024 builtin and then its argument prototype would still apply. */
28025 char sin ();
28027 main ()
28029 sin ();
28031 return 0;
28033 _ACEOF
28034 rm -f conftest.$ac_objext conftest$ac_exeext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28036 (eval $ac_link) 2>conftest.er1
28037 ac_status=$?
28038 grep -v '^ *+' conftest.er1 >conftest.err
28039 rm -f conftest.er1
28040 cat conftest.err >&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try='test -z "$ac_c_werror_flag"
28044 || test ! -s conftest.err'
28045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28046 (eval $ac_try) 2>&5
28047 ac_status=$?
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); }; } &&
28050 { ac_try='test -s conftest$ac_exeext'
28051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052 (eval $ac_try) 2>&5
28053 ac_status=$?
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); }; }; then
28056 ac_cv_lib_m_sin=yes
28057 else
28058 echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28061 ac_cv_lib_m_sin=no
28063 rm -f conftest.err conftest.$ac_objext \
28064 conftest$ac_exeext conftest.$ac_ext
28065 LIBS=$ac_check_lib_save_LIBS
28067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28068 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28069 if test $ac_cv_lib_m_sin = yes; then
28071 cat >>confdefs.h <<\_ACEOF
28072 #define HAVE_SIN 1
28073 _ACEOF
28077 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28078 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28079 if test "${ac_cv_lib_m_sinl+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28081 else
28082 ac_check_lib_save_LIBS=$LIBS
28083 LIBS="-lm $LIBS"
28084 if test x$gcc_no_link = xyes; then
28085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28087 { (exit 1); exit 1; }; }
28089 cat >conftest.$ac_ext <<_ACEOF
28090 /* confdefs.h. */
28091 _ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28096 /* Override any gcc2 internal prototype to avoid an error. */
28097 #ifdef __cplusplus
28098 extern "C"
28099 #endif
28100 /* We use char because int might match the return type of a gcc2
28101 builtin and then its argument prototype would still apply. */
28102 char sinl ();
28104 main ()
28106 sinl ();
28108 return 0;
28110 _ACEOF
28111 rm -f conftest.$ac_objext conftest$ac_exeext
28112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28113 (eval $ac_link) 2>conftest.er1
28114 ac_status=$?
28115 grep -v '^ *+' conftest.er1 >conftest.err
28116 rm -f conftest.er1
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } &&
28120 { ac_try='test -z "$ac_c_werror_flag"
28121 || test ! -s conftest.err'
28122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28123 (eval $ac_try) 2>&5
28124 ac_status=$?
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); }; } &&
28127 { ac_try='test -s conftest$ac_exeext'
28128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129 (eval $ac_try) 2>&5
28130 ac_status=$?
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); }; }; then
28133 ac_cv_lib_m_sinl=yes
28134 else
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28138 ac_cv_lib_m_sinl=no
28140 rm -f conftest.err conftest.$ac_objext \
28141 conftest$ac_exeext conftest.$ac_ext
28142 LIBS=$ac_check_lib_save_LIBS
28144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28145 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28146 if test $ac_cv_lib_m_sinl = yes; then
28148 cat >>confdefs.h <<\_ACEOF
28149 #define HAVE_SINL 1
28150 _ACEOF
28154 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28155 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28156 if test "${ac_cv_lib_m_csinf+set}" = set; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159 ac_check_lib_save_LIBS=$LIBS
28160 LIBS="-lm $LIBS"
28161 if test x$gcc_no_link = xyes; then
28162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28164 { (exit 1); exit 1; }; }
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h. */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28173 /* Override any gcc2 internal prototype to avoid an error. */
28174 #ifdef __cplusplus
28175 extern "C"
28176 #endif
28177 /* We use char because int might match the return type of a gcc2
28178 builtin and then its argument prototype would still apply. */
28179 char csinf ();
28181 main ()
28183 csinf ();
28185 return 0;
28187 _ACEOF
28188 rm -f conftest.$ac_objext conftest$ac_exeext
28189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28190 (eval $ac_link) 2>conftest.er1
28191 ac_status=$?
28192 grep -v '^ *+' conftest.er1 >conftest.err
28193 rm -f conftest.er1
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } &&
28197 { ac_try='test -z "$ac_c_werror_flag"
28198 || test ! -s conftest.err'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28201 ac_status=$?
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; } &&
28204 { ac_try='test -s conftest$ac_exeext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28207 ac_status=$?
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_lib_m_csinf=yes
28211 else
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28215 ac_cv_lib_m_csinf=no
28217 rm -f conftest.err conftest.$ac_objext \
28218 conftest$ac_exeext conftest.$ac_ext
28219 LIBS=$ac_check_lib_save_LIBS
28221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28222 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28223 if test $ac_cv_lib_m_csinf = yes; then
28225 cat >>confdefs.h <<\_ACEOF
28226 #define HAVE_CSINF 1
28227 _ACEOF
28231 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28232 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28233 if test "${ac_cv_lib_m_csin+set}" = set; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28235 else
28236 ac_check_lib_save_LIBS=$LIBS
28237 LIBS="-lm $LIBS"
28238 if test x$gcc_no_link = xyes; then
28239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28241 { (exit 1); exit 1; }; }
28243 cat >conftest.$ac_ext <<_ACEOF
28244 /* confdefs.h. */
28245 _ACEOF
28246 cat confdefs.h >>conftest.$ac_ext
28247 cat >>conftest.$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28250 /* Override any gcc2 internal prototype to avoid an error. */
28251 #ifdef __cplusplus
28252 extern "C"
28253 #endif
28254 /* We use char because int might match the return type of a gcc2
28255 builtin and then its argument prototype would still apply. */
28256 char csin ();
28258 main ()
28260 csin ();
28262 return 0;
28264 _ACEOF
28265 rm -f conftest.$ac_objext conftest$ac_exeext
28266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28267 (eval $ac_link) 2>conftest.er1
28268 ac_status=$?
28269 grep -v '^ *+' conftest.er1 >conftest.err
28270 rm -f conftest.er1
28271 cat conftest.err >&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } &&
28274 { ac_try='test -z "$ac_c_werror_flag"
28275 || test ! -s conftest.err'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28278 ac_status=$?
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; } &&
28281 { ac_try='test -s conftest$ac_exeext'
28282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283 (eval $ac_try) 2>&5
28284 ac_status=$?
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; }; then
28287 ac_cv_lib_m_csin=yes
28288 else
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.$ac_ext >&5
28292 ac_cv_lib_m_csin=no
28294 rm -f conftest.err conftest.$ac_objext \
28295 conftest$ac_exeext conftest.$ac_ext
28296 LIBS=$ac_check_lib_save_LIBS
28298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28299 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28300 if test $ac_cv_lib_m_csin = yes; then
28302 cat >>confdefs.h <<\_ACEOF
28303 #define HAVE_CSIN 1
28304 _ACEOF
28308 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28309 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28310 if test "${ac_cv_lib_m_csinl+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28312 else
28313 ac_check_lib_save_LIBS=$LIBS
28314 LIBS="-lm $LIBS"
28315 if test x$gcc_no_link = xyes; then
28316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28318 { (exit 1); exit 1; }; }
28320 cat >conftest.$ac_ext <<_ACEOF
28321 /* confdefs.h. */
28322 _ACEOF
28323 cat confdefs.h >>conftest.$ac_ext
28324 cat >>conftest.$ac_ext <<_ACEOF
28325 /* end confdefs.h. */
28327 /* Override any gcc2 internal prototype to avoid an error. */
28328 #ifdef __cplusplus
28329 extern "C"
28330 #endif
28331 /* We use char because int might match the return type of a gcc2
28332 builtin and then its argument prototype would still apply. */
28333 char csinl ();
28335 main ()
28337 csinl ();
28339 return 0;
28341 _ACEOF
28342 rm -f conftest.$ac_objext conftest$ac_exeext
28343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28344 (eval $ac_link) 2>conftest.er1
28345 ac_status=$?
28346 grep -v '^ *+' conftest.er1 >conftest.err
28347 rm -f conftest.er1
28348 cat conftest.err >&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); } &&
28351 { ac_try='test -z "$ac_c_werror_flag"
28352 || test ! -s conftest.err'
28353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28354 (eval $ac_try) 2>&5
28355 ac_status=$?
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); }; } &&
28358 { ac_try='test -s conftest$ac_exeext'
28359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360 (eval $ac_try) 2>&5
28361 ac_status=$?
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); }; }; then
28364 ac_cv_lib_m_csinl=yes
28365 else
28366 echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28369 ac_cv_lib_m_csinl=no
28371 rm -f conftest.err conftest.$ac_objext \
28372 conftest$ac_exeext conftest.$ac_ext
28373 LIBS=$ac_check_lib_save_LIBS
28375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28376 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28377 if test $ac_cv_lib_m_csinl = yes; then
28379 cat >>confdefs.h <<\_ACEOF
28380 #define HAVE_CSINL 1
28381 _ACEOF
28385 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28386 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28387 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28389 else
28390 ac_check_lib_save_LIBS=$LIBS
28391 LIBS="-lm $LIBS"
28392 if test x$gcc_no_link = xyes; then
28393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28395 { (exit 1); exit 1; }; }
28397 cat >conftest.$ac_ext <<_ACEOF
28398 /* confdefs.h. */
28399 _ACEOF
28400 cat confdefs.h >>conftest.$ac_ext
28401 cat >>conftest.$ac_ext <<_ACEOF
28402 /* end confdefs.h. */
28404 /* Override any gcc2 internal prototype to avoid an error. */
28405 #ifdef __cplusplus
28406 extern "C"
28407 #endif
28408 /* We use char because int might match the return type of a gcc2
28409 builtin and then its argument prototype would still apply. */
28410 char sinhf ();
28412 main ()
28414 sinhf ();
28416 return 0;
28418 _ACEOF
28419 rm -f conftest.$ac_objext conftest$ac_exeext
28420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28421 (eval $ac_link) 2>conftest.er1
28422 ac_status=$?
28423 grep -v '^ *+' conftest.er1 >conftest.err
28424 rm -f conftest.er1
28425 cat conftest.err >&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } &&
28428 { ac_try='test -z "$ac_c_werror_flag"
28429 || test ! -s conftest.err'
28430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28431 (eval $ac_try) 2>&5
28432 ac_status=$?
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); }; } &&
28435 { ac_try='test -s conftest$ac_exeext'
28436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28437 (eval $ac_try) 2>&5
28438 ac_status=$?
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); }; }; then
28441 ac_cv_lib_m_sinhf=yes
28442 else
28443 echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.$ac_ext >&5
28446 ac_cv_lib_m_sinhf=no
28448 rm -f conftest.err conftest.$ac_objext \
28449 conftest$ac_exeext conftest.$ac_ext
28450 LIBS=$ac_check_lib_save_LIBS
28452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28453 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28454 if test $ac_cv_lib_m_sinhf = yes; then
28456 cat >>confdefs.h <<\_ACEOF
28457 #define HAVE_SINHF 1
28458 _ACEOF
28462 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28463 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28464 if test "${ac_cv_lib_m_sinh+set}" = set; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467 ac_check_lib_save_LIBS=$LIBS
28468 LIBS="-lm $LIBS"
28469 if test x$gcc_no_link = xyes; then
28470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28472 { (exit 1); exit 1; }; }
28474 cat >conftest.$ac_ext <<_ACEOF
28475 /* confdefs.h. */
28476 _ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28481 /* Override any gcc2 internal prototype to avoid an error. */
28482 #ifdef __cplusplus
28483 extern "C"
28484 #endif
28485 /* We use char because int might match the return type of a gcc2
28486 builtin and then its argument prototype would still apply. */
28487 char sinh ();
28489 main ()
28491 sinh ();
28493 return 0;
28495 _ACEOF
28496 rm -f conftest.$ac_objext conftest$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498 (eval $ac_link) 2>conftest.er1
28499 ac_status=$?
28500 grep -v '^ *+' conftest.er1 >conftest.err
28501 rm -f conftest.er1
28502 cat conftest.err >&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try='test -z "$ac_c_werror_flag"
28506 || test ! -s conftest.err'
28507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28508 (eval $ac_try) 2>&5
28509 ac_status=$?
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); }; } &&
28512 { ac_try='test -s conftest$ac_exeext'
28513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28514 (eval $ac_try) 2>&5
28515 ac_status=$?
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); }; }; then
28518 ac_cv_lib_m_sinh=yes
28519 else
28520 echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.$ac_ext >&5
28523 ac_cv_lib_m_sinh=no
28525 rm -f conftest.err conftest.$ac_objext \
28526 conftest$ac_exeext conftest.$ac_ext
28527 LIBS=$ac_check_lib_save_LIBS
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28530 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28531 if test $ac_cv_lib_m_sinh = yes; then
28533 cat >>confdefs.h <<\_ACEOF
28534 #define HAVE_SINH 1
28535 _ACEOF
28539 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28540 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28541 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 ac_check_lib_save_LIBS=$LIBS
28545 LIBS="-lm $LIBS"
28546 if test x$gcc_no_link = xyes; then
28547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28549 { (exit 1); exit 1; }; }
28551 cat >conftest.$ac_ext <<_ACEOF
28552 /* confdefs.h. */
28553 _ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28558 /* Override any gcc2 internal prototype to avoid an error. */
28559 #ifdef __cplusplus
28560 extern "C"
28561 #endif
28562 /* We use char because int might match the return type of a gcc2
28563 builtin and then its argument prototype would still apply. */
28564 char sinhl ();
28566 main ()
28568 sinhl ();
28570 return 0;
28572 _ACEOF
28573 rm -f conftest.$ac_objext conftest$ac_exeext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28575 (eval $ac_link) 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -z "$ac_c_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try='test -s conftest$ac_exeext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 ac_cv_lib_m_sinhl=yes
28596 else
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28600 ac_cv_lib_m_sinhl=no
28602 rm -f conftest.err conftest.$ac_objext \
28603 conftest$ac_exeext conftest.$ac_ext
28604 LIBS=$ac_check_lib_save_LIBS
28606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28607 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28608 if test $ac_cv_lib_m_sinhl = yes; then
28610 cat >>confdefs.h <<\_ACEOF
28611 #define HAVE_SINHL 1
28612 _ACEOF
28616 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28617 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28618 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28620 else
28621 ac_check_lib_save_LIBS=$LIBS
28622 LIBS="-lm $LIBS"
28623 if test x$gcc_no_link = xyes; then
28624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28626 { (exit 1); exit 1; }; }
28628 cat >conftest.$ac_ext <<_ACEOF
28629 /* confdefs.h. */
28630 _ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28635 /* Override any gcc2 internal prototype to avoid an error. */
28636 #ifdef __cplusplus
28637 extern "C"
28638 #endif
28639 /* We use char because int might match the return type of a gcc2
28640 builtin and then its argument prototype would still apply. */
28641 char csinhf ();
28643 main ()
28645 csinhf ();
28647 return 0;
28649 _ACEOF
28650 rm -f conftest.$ac_objext conftest$ac_exeext
28651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28652 (eval $ac_link) 2>conftest.er1
28653 ac_status=$?
28654 grep -v '^ *+' conftest.er1 >conftest.err
28655 rm -f conftest.er1
28656 cat conftest.err >&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } &&
28659 { ac_try='test -z "$ac_c_werror_flag"
28660 || test ! -s conftest.err'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28663 ac_status=$?
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; } &&
28666 { ac_try='test -s conftest$ac_exeext'
28667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28668 (eval $ac_try) 2>&5
28669 ac_status=$?
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; }; then
28672 ac_cv_lib_m_csinhf=yes
28673 else
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.$ac_ext >&5
28677 ac_cv_lib_m_csinhf=no
28679 rm -f conftest.err conftest.$ac_objext \
28680 conftest$ac_exeext conftest.$ac_ext
28681 LIBS=$ac_check_lib_save_LIBS
28683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28684 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28685 if test $ac_cv_lib_m_csinhf = yes; then
28687 cat >>confdefs.h <<\_ACEOF
28688 #define HAVE_CSINHF 1
28689 _ACEOF
28693 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28694 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28695 if test "${ac_cv_lib_m_csinh+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 else
28698 ac_check_lib_save_LIBS=$LIBS
28699 LIBS="-lm $LIBS"
28700 if test x$gcc_no_link = xyes; then
28701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28703 { (exit 1); exit 1; }; }
28705 cat >conftest.$ac_ext <<_ACEOF
28706 /* confdefs.h. */
28707 _ACEOF
28708 cat confdefs.h >>conftest.$ac_ext
28709 cat >>conftest.$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28712 /* Override any gcc2 internal prototype to avoid an error. */
28713 #ifdef __cplusplus
28714 extern "C"
28715 #endif
28716 /* We use char because int might match the return type of a gcc2
28717 builtin and then its argument prototype would still apply. */
28718 char csinh ();
28720 main ()
28722 csinh ();
28724 return 0;
28726 _ACEOF
28727 rm -f conftest.$ac_objext conftest$ac_exeext
28728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28729 (eval $ac_link) 2>conftest.er1
28730 ac_status=$?
28731 grep -v '^ *+' conftest.er1 >conftest.err
28732 rm -f conftest.er1
28733 cat conftest.err >&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } &&
28736 { ac_try='test -z "$ac_c_werror_flag"
28737 || test ! -s conftest.err'
28738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28739 (eval $ac_try) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); }; } &&
28743 { ac_try='test -s conftest$ac_exeext'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; }; then
28749 ac_cv_lib_m_csinh=yes
28750 else
28751 echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.$ac_ext >&5
28754 ac_cv_lib_m_csinh=no
28756 rm -f conftest.err conftest.$ac_objext \
28757 conftest$ac_exeext conftest.$ac_ext
28758 LIBS=$ac_check_lib_save_LIBS
28760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28761 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28762 if test $ac_cv_lib_m_csinh = yes; then
28764 cat >>confdefs.h <<\_ACEOF
28765 #define HAVE_CSINH 1
28766 _ACEOF
28770 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28771 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28772 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28773 echo $ECHO_N "(cached) $ECHO_C" >&6
28774 else
28775 ac_check_lib_save_LIBS=$LIBS
28776 LIBS="-lm $LIBS"
28777 if test x$gcc_no_link = xyes; then
28778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28780 { (exit 1); exit 1; }; }
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h. */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28789 /* Override any gcc2 internal prototype to avoid an error. */
28790 #ifdef __cplusplus
28791 extern "C"
28792 #endif
28793 /* We use char because int might match the return type of a gcc2
28794 builtin and then its argument prototype would still apply. */
28795 char csinhl ();
28797 main ()
28799 csinhl ();
28801 return 0;
28803 _ACEOF
28804 rm -f conftest.$ac_objext conftest$ac_exeext
28805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28806 (eval $ac_link) 2>conftest.er1
28807 ac_status=$?
28808 grep -v '^ *+' conftest.er1 >conftest.err
28809 rm -f conftest.er1
28810 cat conftest.err >&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try='test -z "$ac_c_werror_flag"
28814 || test ! -s conftest.err'
28815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816 (eval $ac_try) 2>&5
28817 ac_status=$?
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); }; } &&
28820 { ac_try='test -s conftest$ac_exeext'
28821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822 (eval $ac_try) 2>&5
28823 ac_status=$?
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); }; }; then
28826 ac_cv_lib_m_csinhl=yes
28827 else
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28831 ac_cv_lib_m_csinhl=no
28833 rm -f conftest.err conftest.$ac_objext \
28834 conftest$ac_exeext conftest.$ac_ext
28835 LIBS=$ac_check_lib_save_LIBS
28837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28838 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28839 if test $ac_cv_lib_m_csinhl = yes; then
28841 cat >>confdefs.h <<\_ACEOF
28842 #define HAVE_CSINHL 1
28843 _ACEOF
28847 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28848 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28849 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28850 echo $ECHO_N "(cached) $ECHO_C" >&6
28851 else
28852 ac_check_lib_save_LIBS=$LIBS
28853 LIBS="-lm $LIBS"
28854 if test x$gcc_no_link = xyes; then
28855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28857 { (exit 1); exit 1; }; }
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28866 /* Override any gcc2 internal prototype to avoid an error. */
28867 #ifdef __cplusplus
28868 extern "C"
28869 #endif
28870 /* We use char because int might match the return type of a gcc2
28871 builtin and then its argument prototype would still apply. */
28872 char sqrtf ();
28874 main ()
28876 sqrtf ();
28878 return 0;
28880 _ACEOF
28881 rm -f conftest.$ac_objext conftest$ac_exeext
28882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28883 (eval $ac_link) 2>conftest.er1
28884 ac_status=$?
28885 grep -v '^ *+' conftest.er1 >conftest.err
28886 rm -f conftest.er1
28887 cat conftest.err >&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } &&
28890 { ac_try='test -z "$ac_c_werror_flag"
28891 || test ! -s conftest.err'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28894 ac_status=$?
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; } &&
28897 { ac_try='test -s conftest$ac_exeext'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28900 ac_status=$?
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; }; then
28903 ac_cv_lib_m_sqrtf=yes
28904 else
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28908 ac_cv_lib_m_sqrtf=no
28910 rm -f conftest.err conftest.$ac_objext \
28911 conftest$ac_exeext conftest.$ac_ext
28912 LIBS=$ac_check_lib_save_LIBS
28914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28915 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28916 if test $ac_cv_lib_m_sqrtf = yes; then
28918 cat >>confdefs.h <<\_ACEOF
28919 #define HAVE_SQRTF 1
28920 _ACEOF
28924 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28925 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28926 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 else
28929 ac_check_lib_save_LIBS=$LIBS
28930 LIBS="-lm $LIBS"
28931 if test x$gcc_no_link = xyes; then
28932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28934 { (exit 1); exit 1; }; }
28936 cat >conftest.$ac_ext <<_ACEOF
28937 /* confdefs.h. */
28938 _ACEOF
28939 cat confdefs.h >>conftest.$ac_ext
28940 cat >>conftest.$ac_ext <<_ACEOF
28941 /* end confdefs.h. */
28943 /* Override any gcc2 internal prototype to avoid an error. */
28944 #ifdef __cplusplus
28945 extern "C"
28946 #endif
28947 /* We use char because int might match the return type of a gcc2
28948 builtin and then its argument prototype would still apply. */
28949 char sqrt ();
28951 main ()
28953 sqrt ();
28955 return 0;
28957 _ACEOF
28958 rm -f conftest.$ac_objext conftest$ac_exeext
28959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28960 (eval $ac_link) 2>conftest.er1
28961 ac_status=$?
28962 grep -v '^ *+' conftest.er1 >conftest.err
28963 rm -f conftest.er1
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } &&
28967 { ac_try='test -z "$ac_c_werror_flag"
28968 || test ! -s conftest.err'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; } &&
28974 { ac_try='test -s conftest$ac_exeext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 ac_cv_lib_m_sqrt=yes
28981 else
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28985 ac_cv_lib_m_sqrt=no
28987 rm -f conftest.err conftest.$ac_objext \
28988 conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28992 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28993 if test $ac_cv_lib_m_sqrt = yes; then
28995 cat >>confdefs.h <<\_ACEOF
28996 #define HAVE_SQRT 1
28997 _ACEOF
29001 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
29002 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
29003 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29005 else
29006 ac_check_lib_save_LIBS=$LIBS
29007 LIBS="-lm $LIBS"
29008 if test x$gcc_no_link = xyes; then
29009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29011 { (exit 1); exit 1; }; }
29013 cat >conftest.$ac_ext <<_ACEOF
29014 /* confdefs.h. */
29015 _ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29020 /* Override any gcc2 internal prototype to avoid an error. */
29021 #ifdef __cplusplus
29022 extern "C"
29023 #endif
29024 /* We use char because int might match the return type of a gcc2
29025 builtin and then its argument prototype would still apply. */
29026 char sqrtl ();
29028 main ()
29030 sqrtl ();
29032 return 0;
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_c_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 ac_cv_lib_m_sqrtl=yes
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29062 ac_cv_lib_m_sqrtl=no
29064 rm -f conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29066 LIBS=$ac_check_lib_save_LIBS
29068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29069 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29070 if test $ac_cv_lib_m_sqrtl = yes; then
29072 cat >>confdefs.h <<\_ACEOF
29073 #define HAVE_SQRTL 1
29074 _ACEOF
29078 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29079 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29080 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29081 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 else
29083 ac_check_lib_save_LIBS=$LIBS
29084 LIBS="-lm $LIBS"
29085 if test x$gcc_no_link = xyes; then
29086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29088 { (exit 1); exit 1; }; }
29090 cat >conftest.$ac_ext <<_ACEOF
29091 /* confdefs.h. */
29092 _ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29097 /* Override any gcc2 internal prototype to avoid an error. */
29098 #ifdef __cplusplus
29099 extern "C"
29100 #endif
29101 /* We use char because int might match the return type of a gcc2
29102 builtin and then its argument prototype would still apply. */
29103 char csqrtf ();
29105 main ()
29107 csqrtf ();
29109 return 0;
29111 _ACEOF
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29114 (eval $ac_link) 2>conftest.er1
29115 ac_status=$?
29116 grep -v '^ *+' conftest.er1 >conftest.err
29117 rm -f conftest.er1
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } &&
29121 { ac_try='test -z "$ac_c_werror_flag"
29122 || test ! -s conftest.err'
29123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29124 (eval $ac_try) 2>&5
29125 ac_status=$?
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); }; } &&
29128 { ac_try='test -s conftest$ac_exeext'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29131 ac_status=$?
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; }; then
29134 ac_cv_lib_m_csqrtf=yes
29135 else
29136 echo "$as_me: failed program was:" >&5
29137 sed 's/^/| /' conftest.$ac_ext >&5
29139 ac_cv_lib_m_csqrtf=no
29141 rm -f conftest.err conftest.$ac_objext \
29142 conftest$ac_exeext conftest.$ac_ext
29143 LIBS=$ac_check_lib_save_LIBS
29145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29146 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29147 if test $ac_cv_lib_m_csqrtf = yes; then
29149 cat >>confdefs.h <<\_ACEOF
29150 #define HAVE_CSQRTF 1
29151 _ACEOF
29155 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29156 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29157 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29159 else
29160 ac_check_lib_save_LIBS=$LIBS
29161 LIBS="-lm $LIBS"
29162 if test x$gcc_no_link = xyes; then
29163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29165 { (exit 1); exit 1; }; }
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29174 /* Override any gcc2 internal prototype to avoid an error. */
29175 #ifdef __cplusplus
29176 extern "C"
29177 #endif
29178 /* We use char because int might match the return type of a gcc2
29179 builtin and then its argument prototype would still apply. */
29180 char csqrt ();
29182 main ()
29184 csqrt ();
29186 return 0;
29188 _ACEOF
29189 rm -f conftest.$ac_objext conftest$ac_exeext
29190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29191 (eval $ac_link) 2>conftest.er1
29192 ac_status=$?
29193 grep -v '^ *+' conftest.er1 >conftest.err
29194 rm -f conftest.er1
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try='test -z "$ac_c_werror_flag"
29199 || test ! -s conftest.err'
29200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29201 (eval $ac_try) 2>&5
29202 ac_status=$?
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); }; } &&
29205 { ac_try='test -s conftest$ac_exeext'
29206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207 (eval $ac_try) 2>&5
29208 ac_status=$?
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); }; }; then
29211 ac_cv_lib_m_csqrt=yes
29212 else
29213 echo "$as_me: failed program was:" >&5
29214 sed 's/^/| /' conftest.$ac_ext >&5
29216 ac_cv_lib_m_csqrt=no
29218 rm -f conftest.err conftest.$ac_objext \
29219 conftest$ac_exeext conftest.$ac_ext
29220 LIBS=$ac_check_lib_save_LIBS
29222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29223 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29224 if test $ac_cv_lib_m_csqrt = yes; then
29226 cat >>confdefs.h <<\_ACEOF
29227 #define HAVE_CSQRT 1
29228 _ACEOF
29232 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29233 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29234 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29235 echo $ECHO_N "(cached) $ECHO_C" >&6
29236 else
29237 ac_check_lib_save_LIBS=$LIBS
29238 LIBS="-lm $LIBS"
29239 if test x$gcc_no_link = xyes; then
29240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29242 { (exit 1); exit 1; }; }
29244 cat >conftest.$ac_ext <<_ACEOF
29245 /* confdefs.h. */
29246 _ACEOF
29247 cat confdefs.h >>conftest.$ac_ext
29248 cat >>conftest.$ac_ext <<_ACEOF
29249 /* end confdefs.h. */
29251 /* Override any gcc2 internal prototype to avoid an error. */
29252 #ifdef __cplusplus
29253 extern "C"
29254 #endif
29255 /* We use char because int might match the return type of a gcc2
29256 builtin and then its argument prototype would still apply. */
29257 char csqrtl ();
29259 main ()
29261 csqrtl ();
29263 return 0;
29265 _ACEOF
29266 rm -f conftest.$ac_objext conftest$ac_exeext
29267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29268 (eval $ac_link) 2>conftest.er1
29269 ac_status=$?
29270 grep -v '^ *+' conftest.er1 >conftest.err
29271 rm -f conftest.er1
29272 cat conftest.err >&5
29273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274 (exit $ac_status); } &&
29275 { ac_try='test -z "$ac_c_werror_flag"
29276 || test ! -s conftest.err'
29277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29278 (eval $ac_try) 2>&5
29279 ac_status=$?
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); }; } &&
29282 { ac_try='test -s conftest$ac_exeext'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29285 ac_status=$?
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; }; then
29288 ac_cv_lib_m_csqrtl=yes
29289 else
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29293 ac_cv_lib_m_csqrtl=no
29295 rm -f conftest.err conftest.$ac_objext \
29296 conftest$ac_exeext conftest.$ac_ext
29297 LIBS=$ac_check_lib_save_LIBS
29299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29300 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29301 if test $ac_cv_lib_m_csqrtl = yes; then
29303 cat >>confdefs.h <<\_ACEOF
29304 #define HAVE_CSQRTL 1
29305 _ACEOF
29309 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29310 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29311 if test "${ac_cv_lib_m_tanf+set}" = set; then
29312 echo $ECHO_N "(cached) $ECHO_C" >&6
29313 else
29314 ac_check_lib_save_LIBS=$LIBS
29315 LIBS="-lm $LIBS"
29316 if test x$gcc_no_link = xyes; then
29317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29319 { (exit 1); exit 1; }; }
29321 cat >conftest.$ac_ext <<_ACEOF
29322 /* confdefs.h. */
29323 _ACEOF
29324 cat confdefs.h >>conftest.$ac_ext
29325 cat >>conftest.$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29328 /* Override any gcc2 internal prototype to avoid an error. */
29329 #ifdef __cplusplus
29330 extern "C"
29331 #endif
29332 /* We use char because int might match the return type of a gcc2
29333 builtin and then its argument prototype would still apply. */
29334 char tanf ();
29336 main ()
29338 tanf ();
29340 return 0;
29342 _ACEOF
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>conftest.er1
29346 ac_status=$?
29347 grep -v '^ *+' conftest.er1 >conftest.err
29348 rm -f conftest.er1
29349 cat conftest.err >&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); } &&
29352 { ac_try='test -z "$ac_c_werror_flag"
29353 || test ! -s conftest.err'
29354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355 (eval $ac_try) 2>&5
29356 ac_status=$?
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); }; } &&
29359 { ac_try='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29362 ac_status=$?
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 ac_cv_lib_m_tanf=yes
29366 else
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29370 ac_cv_lib_m_tanf=no
29372 rm -f conftest.err conftest.$ac_objext \
29373 conftest$ac_exeext conftest.$ac_ext
29374 LIBS=$ac_check_lib_save_LIBS
29376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29377 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29378 if test $ac_cv_lib_m_tanf = yes; then
29380 cat >>confdefs.h <<\_ACEOF
29381 #define HAVE_TANF 1
29382 _ACEOF
29386 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29387 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29388 if test "${ac_cv_lib_m_tan+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 else
29391 ac_check_lib_save_LIBS=$LIBS
29392 LIBS="-lm $LIBS"
29393 if test x$gcc_no_link = xyes; then
29394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29396 { (exit 1); exit 1; }; }
29398 cat >conftest.$ac_ext <<_ACEOF
29399 /* confdefs.h. */
29400 _ACEOF
29401 cat confdefs.h >>conftest.$ac_ext
29402 cat >>conftest.$ac_ext <<_ACEOF
29403 /* end confdefs.h. */
29405 /* Override any gcc2 internal prototype to avoid an error. */
29406 #ifdef __cplusplus
29407 extern "C"
29408 #endif
29409 /* We use char because int might match the return type of a gcc2
29410 builtin and then its argument prototype would still apply. */
29411 char tan ();
29413 main ()
29415 tan ();
29417 return 0;
29419 _ACEOF
29420 rm -f conftest.$ac_objext conftest$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>conftest.er1
29423 ac_status=$?
29424 grep -v '^ *+' conftest.er1 >conftest.err
29425 rm -f conftest.er1
29426 cat conftest.err >&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try='test -z "$ac_c_werror_flag"
29430 || test ! -s conftest.err'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; } &&
29436 { ac_try='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 ac_cv_lib_m_tan=yes
29443 else
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29447 ac_cv_lib_m_tan=no
29449 rm -f conftest.err conftest.$ac_objext \
29450 conftest$ac_exeext conftest.$ac_ext
29451 LIBS=$ac_check_lib_save_LIBS
29453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29454 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29455 if test $ac_cv_lib_m_tan = yes; then
29457 cat >>confdefs.h <<\_ACEOF
29458 #define HAVE_TAN 1
29459 _ACEOF
29463 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29464 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29465 if test "${ac_cv_lib_m_tanl+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 else
29468 ac_check_lib_save_LIBS=$LIBS
29469 LIBS="-lm $LIBS"
29470 if test x$gcc_no_link = xyes; then
29471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29473 { (exit 1); exit 1; }; }
29475 cat >conftest.$ac_ext <<_ACEOF
29476 /* confdefs.h. */
29477 _ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29482 /* Override any gcc2 internal prototype to avoid an error. */
29483 #ifdef __cplusplus
29484 extern "C"
29485 #endif
29486 /* We use char because int might match the return type of a gcc2
29487 builtin and then its argument prototype would still apply. */
29488 char tanl ();
29490 main ()
29492 tanl ();
29494 return 0;
29496 _ACEOF
29497 rm -f conftest.$ac_objext conftest$ac_exeext
29498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29499 (eval $ac_link) 2>conftest.er1
29500 ac_status=$?
29501 grep -v '^ *+' conftest.er1 >conftest.err
29502 rm -f conftest.er1
29503 cat conftest.err >&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } &&
29506 { ac_try='test -z "$ac_c_werror_flag"
29507 || test ! -s conftest.err'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29510 ac_status=$?
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; } &&
29513 { ac_try='test -s conftest$ac_exeext'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29516 ac_status=$?
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; }; then
29519 ac_cv_lib_m_tanl=yes
29520 else
29521 echo "$as_me: failed program was:" >&5
29522 sed 's/^/| /' conftest.$ac_ext >&5
29524 ac_cv_lib_m_tanl=no
29526 rm -f conftest.err conftest.$ac_objext \
29527 conftest$ac_exeext conftest.$ac_ext
29528 LIBS=$ac_check_lib_save_LIBS
29530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29531 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29532 if test $ac_cv_lib_m_tanl = yes; then
29534 cat >>confdefs.h <<\_ACEOF
29535 #define HAVE_TANL 1
29536 _ACEOF
29540 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29541 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29542 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 else
29545 ac_check_lib_save_LIBS=$LIBS
29546 LIBS="-lm $LIBS"
29547 if test x$gcc_no_link = xyes; then
29548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29550 { (exit 1); exit 1; }; }
29552 cat >conftest.$ac_ext <<_ACEOF
29553 /* confdefs.h. */
29554 _ACEOF
29555 cat confdefs.h >>conftest.$ac_ext
29556 cat >>conftest.$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29559 /* Override any gcc2 internal prototype to avoid an error. */
29560 #ifdef __cplusplus
29561 extern "C"
29562 #endif
29563 /* We use char because int might match the return type of a gcc2
29564 builtin and then its argument prototype would still apply. */
29565 char ctanf ();
29567 main ()
29569 ctanf ();
29571 return 0;
29573 _ACEOF
29574 rm -f conftest.$ac_objext conftest$ac_exeext
29575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29576 (eval $ac_link) 2>conftest.er1
29577 ac_status=$?
29578 grep -v '^ *+' conftest.er1 >conftest.err
29579 rm -f conftest.er1
29580 cat conftest.err >&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } &&
29583 { ac_try='test -z "$ac_c_werror_flag"
29584 || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29587 ac_status=$?
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try='test -s conftest$ac_exeext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29593 ac_status=$?
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29596 ac_cv_lib_m_ctanf=yes
29597 else
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.$ac_ext >&5
29601 ac_cv_lib_m_ctanf=no
29603 rm -f conftest.err conftest.$ac_objext \
29604 conftest$ac_exeext conftest.$ac_ext
29605 LIBS=$ac_check_lib_save_LIBS
29607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29608 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29609 if test $ac_cv_lib_m_ctanf = yes; then
29611 cat >>confdefs.h <<\_ACEOF
29612 #define HAVE_CTANF 1
29613 _ACEOF
29617 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29618 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29619 if test "${ac_cv_lib_m_ctan+set}" = set; then
29620 echo $ECHO_N "(cached) $ECHO_C" >&6
29621 else
29622 ac_check_lib_save_LIBS=$LIBS
29623 LIBS="-lm $LIBS"
29624 if test x$gcc_no_link = xyes; then
29625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29627 { (exit 1); exit 1; }; }
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h. */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29636 /* Override any gcc2 internal prototype to avoid an error. */
29637 #ifdef __cplusplus
29638 extern "C"
29639 #endif
29640 /* We use char because int might match the return type of a gcc2
29641 builtin and then its argument prototype would still apply. */
29642 char ctan ();
29644 main ()
29646 ctan ();
29648 return 0;
29650 _ACEOF
29651 rm -f conftest.$ac_objext conftest$ac_exeext
29652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29653 (eval $ac_link) 2>conftest.er1
29654 ac_status=$?
29655 grep -v '^ *+' conftest.er1 >conftest.err
29656 rm -f conftest.er1
29657 cat conftest.err >&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); } &&
29660 { ac_try='test -z "$ac_c_werror_flag"
29661 || test ! -s conftest.err'
29662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663 (eval $ac_try) 2>&5
29664 ac_status=$?
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; } &&
29667 { ac_try='test -s conftest$ac_exeext'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29670 ac_status=$?
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673 ac_cv_lib_m_ctan=yes
29674 else
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29678 ac_cv_lib_m_ctan=no
29680 rm -f conftest.err conftest.$ac_objext \
29681 conftest$ac_exeext conftest.$ac_ext
29682 LIBS=$ac_check_lib_save_LIBS
29684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29685 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29686 if test $ac_cv_lib_m_ctan = yes; then
29688 cat >>confdefs.h <<\_ACEOF
29689 #define HAVE_CTAN 1
29690 _ACEOF
29694 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29695 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29696 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29699 ac_check_lib_save_LIBS=$LIBS
29700 LIBS="-lm $LIBS"
29701 if test x$gcc_no_link = xyes; then
29702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29704 { (exit 1); exit 1; }; }
29706 cat >conftest.$ac_ext <<_ACEOF
29707 /* confdefs.h. */
29708 _ACEOF
29709 cat confdefs.h >>conftest.$ac_ext
29710 cat >>conftest.$ac_ext <<_ACEOF
29711 /* end confdefs.h. */
29713 /* Override any gcc2 internal prototype to avoid an error. */
29714 #ifdef __cplusplus
29715 extern "C"
29716 #endif
29717 /* We use char because int might match the return type of a gcc2
29718 builtin and then its argument prototype would still apply. */
29719 char ctanl ();
29721 main ()
29723 ctanl ();
29725 return 0;
29727 _ACEOF
29728 rm -f conftest.$ac_objext conftest$ac_exeext
29729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29730 (eval $ac_link) 2>conftest.er1
29731 ac_status=$?
29732 grep -v '^ *+' conftest.er1 >conftest.err
29733 rm -f conftest.er1
29734 cat conftest.err >&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } &&
29737 { ac_try='test -z "$ac_c_werror_flag"
29738 || test ! -s conftest.err'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; } &&
29744 { ac_try='test -s conftest$ac_exeext'
29745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746 (eval $ac_try) 2>&5
29747 ac_status=$?
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); }; }; then
29750 ac_cv_lib_m_ctanl=yes
29751 else
29752 echo "$as_me: failed program was:" >&5
29753 sed 's/^/| /' conftest.$ac_ext >&5
29755 ac_cv_lib_m_ctanl=no
29757 rm -f conftest.err conftest.$ac_objext \
29758 conftest$ac_exeext conftest.$ac_ext
29759 LIBS=$ac_check_lib_save_LIBS
29761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29762 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29763 if test $ac_cv_lib_m_ctanl = yes; then
29765 cat >>confdefs.h <<\_ACEOF
29766 #define HAVE_CTANL 1
29767 _ACEOF
29771 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29772 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29773 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29774 echo $ECHO_N "(cached) $ECHO_C" >&6
29775 else
29776 ac_check_lib_save_LIBS=$LIBS
29777 LIBS="-lm $LIBS"
29778 if test x$gcc_no_link = xyes; then
29779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29781 { (exit 1); exit 1; }; }
29783 cat >conftest.$ac_ext <<_ACEOF
29784 /* confdefs.h. */
29785 _ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29790 /* Override any gcc2 internal prototype to avoid an error. */
29791 #ifdef __cplusplus
29792 extern "C"
29793 #endif
29794 /* We use char because int might match the return type of a gcc2
29795 builtin and then its argument prototype would still apply. */
29796 char tanhf ();
29798 main ()
29800 tanhf ();
29802 return 0;
29804 _ACEOF
29805 rm -f conftest.$ac_objext conftest$ac_exeext
29806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29807 (eval $ac_link) 2>conftest.er1
29808 ac_status=$?
29809 grep -v '^ *+' conftest.er1 >conftest.err
29810 rm -f conftest.er1
29811 cat conftest.err >&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); } &&
29814 { ac_try='test -z "$ac_c_werror_flag"
29815 || test ! -s conftest.err'
29816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29817 (eval $ac_try) 2>&5
29818 ac_status=$?
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); }; } &&
29821 { ac_try='test -s conftest$ac_exeext'
29822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29823 (eval $ac_try) 2>&5
29824 ac_status=$?
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); }; }; then
29827 ac_cv_lib_m_tanhf=yes
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29832 ac_cv_lib_m_tanhf=no
29834 rm -f conftest.err conftest.$ac_objext \
29835 conftest$ac_exeext conftest.$ac_ext
29836 LIBS=$ac_check_lib_save_LIBS
29838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29839 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29840 if test $ac_cv_lib_m_tanhf = yes; then
29842 cat >>confdefs.h <<\_ACEOF
29843 #define HAVE_TANHF 1
29844 _ACEOF
29848 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29849 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29850 if test "${ac_cv_lib_m_tanh+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29852 else
29853 ac_check_lib_save_LIBS=$LIBS
29854 LIBS="-lm $LIBS"
29855 if test x$gcc_no_link = xyes; then
29856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29858 { (exit 1); exit 1; }; }
29860 cat >conftest.$ac_ext <<_ACEOF
29861 /* confdefs.h. */
29862 _ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29867 /* Override any gcc2 internal prototype to avoid an error. */
29868 #ifdef __cplusplus
29869 extern "C"
29870 #endif
29871 /* We use char because int might match the return type of a gcc2
29872 builtin and then its argument prototype would still apply. */
29873 char tanh ();
29875 main ()
29877 tanh ();
29879 return 0;
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29885 ac_status=$?
29886 grep -v '^ *+' conftest.er1 >conftest.err
29887 rm -f conftest.er1
29888 cat conftest.err >&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try='test -z "$ac_c_werror_flag"
29892 || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try='test -s conftest$ac_exeext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 ac_cv_lib_m_tanh=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 ac_cv_lib_m_tanh=no
29911 rm -f conftest.err conftest.$ac_objext \
29912 conftest$ac_exeext conftest.$ac_ext
29913 LIBS=$ac_check_lib_save_LIBS
29915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29916 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29917 if test $ac_cv_lib_m_tanh = yes; then
29919 cat >>confdefs.h <<\_ACEOF
29920 #define HAVE_TANH 1
29921 _ACEOF
29925 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29926 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29927 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29929 else
29930 ac_check_lib_save_LIBS=$LIBS
29931 LIBS="-lm $LIBS"
29932 if test x$gcc_no_link = xyes; then
29933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29935 { (exit 1); exit 1; }; }
29937 cat >conftest.$ac_ext <<_ACEOF
29938 /* confdefs.h. */
29939 _ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29944 /* Override any gcc2 internal prototype to avoid an error. */
29945 #ifdef __cplusplus
29946 extern "C"
29947 #endif
29948 /* We use char because int might match the return type of a gcc2
29949 builtin and then its argument prototype would still apply. */
29950 char tanhl ();
29952 main ()
29954 tanhl ();
29956 return 0;
29958 _ACEOF
29959 rm -f conftest.$ac_objext conftest$ac_exeext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29961 (eval $ac_link) 2>conftest.er1
29962 ac_status=$?
29963 grep -v '^ *+' conftest.er1 >conftest.err
29964 rm -f conftest.er1
29965 cat conftest.err >&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try='test -z "$ac_c_werror_flag"
29969 || test ! -s conftest.err'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29972 ac_status=$?
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; } &&
29975 { ac_try='test -s conftest$ac_exeext'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29978 ac_status=$?
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; }; then
29981 ac_cv_lib_m_tanhl=yes
29982 else
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29986 ac_cv_lib_m_tanhl=no
29988 rm -f conftest.err conftest.$ac_objext \
29989 conftest$ac_exeext conftest.$ac_ext
29990 LIBS=$ac_check_lib_save_LIBS
29992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29993 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29994 if test $ac_cv_lib_m_tanhl = yes; then
29996 cat >>confdefs.h <<\_ACEOF
29997 #define HAVE_TANHL 1
29998 _ACEOF
30002 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
30003 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
30004 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007 ac_check_lib_save_LIBS=$LIBS
30008 LIBS="-lm $LIBS"
30009 if test x$gcc_no_link = xyes; then
30010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30012 { (exit 1); exit 1; }; }
30014 cat >conftest.$ac_ext <<_ACEOF
30015 /* confdefs.h. */
30016 _ACEOF
30017 cat confdefs.h >>conftest.$ac_ext
30018 cat >>conftest.$ac_ext <<_ACEOF
30019 /* end confdefs.h. */
30021 /* Override any gcc2 internal prototype to avoid an error. */
30022 #ifdef __cplusplus
30023 extern "C"
30024 #endif
30025 /* We use char because int might match the return type of a gcc2
30026 builtin and then its argument prototype would still apply. */
30027 char ctanhf ();
30029 main ()
30031 ctanhf ();
30033 return 0;
30035 _ACEOF
30036 rm -f conftest.$ac_objext conftest$ac_exeext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30038 (eval $ac_link) 2>conftest.er1
30039 ac_status=$?
30040 grep -v '^ *+' conftest.er1 >conftest.err
30041 rm -f conftest.er1
30042 cat conftest.err >&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } &&
30045 { ac_try='test -z "$ac_c_werror_flag"
30046 || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 ac_cv_lib_m_ctanhf=yes
30059 else
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30063 ac_cv_lib_m_ctanhf=no
30065 rm -f conftest.err conftest.$ac_objext \
30066 conftest$ac_exeext conftest.$ac_ext
30067 LIBS=$ac_check_lib_save_LIBS
30069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30070 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30071 if test $ac_cv_lib_m_ctanhf = yes; then
30073 cat >>confdefs.h <<\_ACEOF
30074 #define HAVE_CTANHF 1
30075 _ACEOF
30079 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30080 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30081 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30083 else
30084 ac_check_lib_save_LIBS=$LIBS
30085 LIBS="-lm $LIBS"
30086 if test x$gcc_no_link = xyes; then
30087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30089 { (exit 1); exit 1; }; }
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h. */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30098 /* Override any gcc2 internal prototype to avoid an error. */
30099 #ifdef __cplusplus
30100 extern "C"
30101 #endif
30102 /* We use char because int might match the return type of a gcc2
30103 builtin and then its argument prototype would still apply. */
30104 char ctanh ();
30106 main ()
30108 ctanh ();
30110 return 0;
30112 _ACEOF
30113 rm -f conftest.$ac_objext conftest$ac_exeext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30115 (eval $ac_link) 2>conftest.er1
30116 ac_status=$?
30117 grep -v '^ *+' conftest.er1 >conftest.err
30118 rm -f conftest.er1
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try='test -z "$ac_c_werror_flag"
30123 || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try='test -s conftest$ac_exeext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30132 ac_status=$?
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 ac_cv_lib_m_ctanh=yes
30136 else
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.$ac_ext >&5
30140 ac_cv_lib_m_ctanh=no
30142 rm -f conftest.err conftest.$ac_objext \
30143 conftest$ac_exeext conftest.$ac_ext
30144 LIBS=$ac_check_lib_save_LIBS
30146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30147 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30148 if test $ac_cv_lib_m_ctanh = yes; then
30150 cat >>confdefs.h <<\_ACEOF
30151 #define HAVE_CTANH 1
30152 _ACEOF
30156 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30157 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30158 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30159 echo $ECHO_N "(cached) $ECHO_C" >&6
30160 else
30161 ac_check_lib_save_LIBS=$LIBS
30162 LIBS="-lm $LIBS"
30163 if test x$gcc_no_link = xyes; then
30164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30166 { (exit 1); exit 1; }; }
30168 cat >conftest.$ac_ext <<_ACEOF
30169 /* confdefs.h. */
30170 _ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30175 /* Override any gcc2 internal prototype to avoid an error. */
30176 #ifdef __cplusplus
30177 extern "C"
30178 #endif
30179 /* We use char because int might match the return type of a gcc2
30180 builtin and then its argument prototype would still apply. */
30181 char ctanhl ();
30183 main ()
30185 ctanhl ();
30187 return 0;
30189 _ACEOF
30190 rm -f conftest.$ac_objext conftest$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192 (eval $ac_link) 2>conftest.er1
30193 ac_status=$?
30194 grep -v '^ *+' conftest.er1 >conftest.err
30195 rm -f conftest.er1
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try='test -z "$ac_c_werror_flag"
30200 || test ! -s conftest.err'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30203 ac_status=$?
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; } &&
30206 { ac_try='test -s conftest$ac_exeext'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30209 ac_status=$?
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; }; then
30212 ac_cv_lib_m_ctanhl=yes
30213 else
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30217 ac_cv_lib_m_ctanhl=no
30219 rm -f conftest.err conftest.$ac_objext \
30220 conftest$ac_exeext conftest.$ac_ext
30221 LIBS=$ac_check_lib_save_LIBS
30223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30224 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30225 if test $ac_cv_lib_m_ctanhl = yes; then
30227 cat >>confdefs.h <<\_ACEOF
30228 #define HAVE_CTANHL 1
30229 _ACEOF
30233 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30234 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30235 if test "${ac_cv_lib_m_truncf+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30237 else
30238 ac_check_lib_save_LIBS=$LIBS
30239 LIBS="-lm $LIBS"
30240 if test x$gcc_no_link = xyes; then
30241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30243 { (exit 1); exit 1; }; }
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30252 /* Override any gcc2 internal prototype to avoid an error. */
30253 #ifdef __cplusplus
30254 extern "C"
30255 #endif
30256 /* We use char because int might match the return type of a gcc2
30257 builtin and then its argument prototype would still apply. */
30258 char truncf ();
30260 main ()
30262 truncf ();
30264 return 0;
30266 _ACEOF
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30269 (eval $ac_link) 2>conftest.er1
30270 ac_status=$?
30271 grep -v '^ *+' conftest.er1 >conftest.err
30272 rm -f conftest.er1
30273 cat conftest.err >&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } &&
30276 { ac_try='test -z "$ac_c_werror_flag"
30277 || test ! -s conftest.err'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30280 ac_status=$?
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try='test -s conftest$ac_exeext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30286 ac_status=$?
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30289 ac_cv_lib_m_truncf=yes
30290 else
30291 echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.$ac_ext >&5
30294 ac_cv_lib_m_truncf=no
30296 rm -f conftest.err conftest.$ac_objext \
30297 conftest$ac_exeext conftest.$ac_ext
30298 LIBS=$ac_check_lib_save_LIBS
30300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30301 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30302 if test $ac_cv_lib_m_truncf = yes; then
30304 cat >>confdefs.h <<\_ACEOF
30305 #define HAVE_TRUNCF 1
30306 _ACEOF
30310 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30311 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30312 if test "${ac_cv_lib_m_trunc+set}" = set; then
30313 echo $ECHO_N "(cached) $ECHO_C" >&6
30314 else
30315 ac_check_lib_save_LIBS=$LIBS
30316 LIBS="-lm $LIBS"
30317 if test x$gcc_no_link = xyes; then
30318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30320 { (exit 1); exit 1; }; }
30322 cat >conftest.$ac_ext <<_ACEOF
30323 /* confdefs.h. */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30329 /* Override any gcc2 internal prototype to avoid an error. */
30330 #ifdef __cplusplus
30331 extern "C"
30332 #endif
30333 /* We use char because int might match the return type of a gcc2
30334 builtin and then its argument prototype would still apply. */
30335 char trunc ();
30337 main ()
30339 trunc ();
30341 return 0;
30343 _ACEOF
30344 rm -f conftest.$ac_objext conftest$ac_exeext
30345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30346 (eval $ac_link) 2>conftest.er1
30347 ac_status=$?
30348 grep -v '^ *+' conftest.er1 >conftest.err
30349 rm -f conftest.er1
30350 cat conftest.err >&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } &&
30353 { ac_try='test -z "$ac_c_werror_flag"
30354 || test ! -s conftest.err'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30357 ac_status=$?
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; } &&
30360 { ac_try='test -s conftest$ac_exeext'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30363 ac_status=$?
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; }; then
30366 ac_cv_lib_m_trunc=yes
30367 else
30368 echo "$as_me: failed program was:" >&5
30369 sed 's/^/| /' conftest.$ac_ext >&5
30371 ac_cv_lib_m_trunc=no
30373 rm -f conftest.err conftest.$ac_objext \
30374 conftest$ac_exeext conftest.$ac_ext
30375 LIBS=$ac_check_lib_save_LIBS
30377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30378 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30379 if test $ac_cv_lib_m_trunc = yes; then
30381 cat >>confdefs.h <<\_ACEOF
30382 #define HAVE_TRUNC 1
30383 _ACEOF
30387 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30388 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30389 if test "${ac_cv_lib_m_truncl+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 else
30392 ac_check_lib_save_LIBS=$LIBS
30393 LIBS="-lm $LIBS"
30394 if test x$gcc_no_link = xyes; then
30395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30397 { (exit 1); exit 1; }; }
30399 cat >conftest.$ac_ext <<_ACEOF
30400 /* confdefs.h. */
30401 _ACEOF
30402 cat confdefs.h >>conftest.$ac_ext
30403 cat >>conftest.$ac_ext <<_ACEOF
30404 /* end confdefs.h. */
30406 /* Override any gcc2 internal prototype to avoid an error. */
30407 #ifdef __cplusplus
30408 extern "C"
30409 #endif
30410 /* We use char because int might match the return type of a gcc2
30411 builtin and then its argument prototype would still apply. */
30412 char truncl ();
30414 main ()
30416 truncl ();
30418 return 0;
30420 _ACEOF
30421 rm -f conftest.$ac_objext conftest$ac_exeext
30422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30423 (eval $ac_link) 2>conftest.er1
30424 ac_status=$?
30425 grep -v '^ *+' conftest.er1 >conftest.err
30426 rm -f conftest.er1
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } &&
30430 { ac_try='test -z "$ac_c_werror_flag"
30431 || test ! -s conftest.err'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30434 ac_status=$?
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; } &&
30437 { ac_try='test -s conftest$ac_exeext'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30440 ac_status=$?
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; }; then
30443 ac_cv_lib_m_truncl=yes
30444 else
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30448 ac_cv_lib_m_truncl=no
30450 rm -f conftest.err conftest.$ac_objext \
30451 conftest$ac_exeext conftest.$ac_ext
30452 LIBS=$ac_check_lib_save_LIBS
30454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30455 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30456 if test $ac_cv_lib_m_truncl = yes; then
30458 cat >>confdefs.h <<\_ACEOF
30459 #define HAVE_TRUNCL 1
30460 _ACEOF
30464 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30465 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30466 if test "${ac_cv_lib_m_erff+set}" = set; then
30467 echo $ECHO_N "(cached) $ECHO_C" >&6
30468 else
30469 ac_check_lib_save_LIBS=$LIBS
30470 LIBS="-lm $LIBS"
30471 if test x$gcc_no_link = xyes; then
30472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30474 { (exit 1); exit 1; }; }
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30483 /* Override any gcc2 internal prototype to avoid an error. */
30484 #ifdef __cplusplus
30485 extern "C"
30486 #endif
30487 /* We use char because int might match the return type of a gcc2
30488 builtin and then its argument prototype would still apply. */
30489 char erff ();
30491 main ()
30493 erff ();
30495 return 0;
30497 _ACEOF
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30501 ac_status=$?
30502 grep -v '^ *+' conftest.er1 >conftest.err
30503 rm -f conftest.er1
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try='test -z "$ac_c_werror_flag"
30508 || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30517 ac_status=$?
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 ac_cv_lib_m_erff=yes
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30525 ac_cv_lib_m_erff=no
30527 rm -f conftest.err conftest.$ac_objext \
30528 conftest$ac_exeext conftest.$ac_ext
30529 LIBS=$ac_check_lib_save_LIBS
30531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30532 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30533 if test $ac_cv_lib_m_erff = yes; then
30535 cat >>confdefs.h <<\_ACEOF
30536 #define HAVE_ERFF 1
30537 _ACEOF
30541 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30542 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30543 if test "${ac_cv_lib_m_erf+set}" = set; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 else
30546 ac_check_lib_save_LIBS=$LIBS
30547 LIBS="-lm $LIBS"
30548 if test x$gcc_no_link = xyes; then
30549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30551 { (exit 1); exit 1; }; }
30553 cat >conftest.$ac_ext <<_ACEOF
30554 /* confdefs.h. */
30555 _ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 cat >>conftest.$ac_ext <<_ACEOF
30558 /* end confdefs.h. */
30560 /* Override any gcc2 internal prototype to avoid an error. */
30561 #ifdef __cplusplus
30562 extern "C"
30563 #endif
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30566 char erf ();
30568 main ()
30570 erf ();
30572 return 0;
30574 _ACEOF
30575 rm -f conftest.$ac_objext conftest$ac_exeext
30576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30577 (eval $ac_link) 2>conftest.er1
30578 ac_status=$?
30579 grep -v '^ *+' conftest.er1 >conftest.err
30580 rm -f conftest.er1
30581 cat conftest.err >&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try='test -z "$ac_c_werror_flag"
30585 || test ! -s conftest.err'
30586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587 (eval $ac_try) 2>&5
30588 ac_status=$?
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); }; } &&
30591 { ac_try='test -s conftest$ac_exeext'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30594 ac_status=$?
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; }; then
30597 ac_cv_lib_m_erf=yes
30598 else
30599 echo "$as_me: failed program was:" >&5
30600 sed 's/^/| /' conftest.$ac_ext >&5
30602 ac_cv_lib_m_erf=no
30604 rm -f conftest.err conftest.$ac_objext \
30605 conftest$ac_exeext conftest.$ac_ext
30606 LIBS=$ac_check_lib_save_LIBS
30608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30609 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30610 if test $ac_cv_lib_m_erf = yes; then
30612 cat >>confdefs.h <<\_ACEOF
30613 #define HAVE_ERF 1
30614 _ACEOF
30618 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30619 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30620 if test "${ac_cv_lib_m_erfl+set}" = set; then
30621 echo $ECHO_N "(cached) $ECHO_C" >&6
30622 else
30623 ac_check_lib_save_LIBS=$LIBS
30624 LIBS="-lm $LIBS"
30625 if test x$gcc_no_link = xyes; then
30626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30628 { (exit 1); exit 1; }; }
30630 cat >conftest.$ac_ext <<_ACEOF
30631 /* confdefs.h. */
30632 _ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30637 /* Override any gcc2 internal prototype to avoid an error. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 #endif
30641 /* We use char because int might match the return type of a gcc2
30642 builtin and then its argument prototype would still apply. */
30643 char erfl ();
30645 main ()
30647 erfl ();
30649 return 0;
30651 _ACEOF
30652 rm -f conftest.$ac_objext conftest$ac_exeext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30654 (eval $ac_link) 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try='test -z "$ac_c_werror_flag"
30662 || test ! -s conftest.err'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; } &&
30668 { ac_try='test -s conftest$ac_exeext'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; }; then
30674 ac_cv_lib_m_erfl=yes
30675 else
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30679 ac_cv_lib_m_erfl=no
30681 rm -f conftest.err conftest.$ac_objext \
30682 conftest$ac_exeext conftest.$ac_ext
30683 LIBS=$ac_check_lib_save_LIBS
30685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30686 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30687 if test $ac_cv_lib_m_erfl = yes; then
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_ERFL 1
30691 _ACEOF
30695 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30696 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30697 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 else
30700 ac_check_lib_save_LIBS=$LIBS
30701 LIBS="-lm $LIBS"
30702 if test x$gcc_no_link = xyes; then
30703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30705 { (exit 1); exit 1; }; }
30707 cat >conftest.$ac_ext <<_ACEOF
30708 /* confdefs.h. */
30709 _ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30714 /* Override any gcc2 internal prototype to avoid an error. */
30715 #ifdef __cplusplus
30716 extern "C"
30717 #endif
30718 /* We use char because int might match the return type of a gcc2
30719 builtin and then its argument prototype would still apply. */
30720 char erfcf ();
30722 main ()
30724 erfcf ();
30726 return 0;
30728 _ACEOF
30729 rm -f conftest.$ac_objext conftest$ac_exeext
30730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30731 (eval $ac_link) 2>conftest.er1
30732 ac_status=$?
30733 grep -v '^ *+' conftest.er1 >conftest.err
30734 rm -f conftest.er1
30735 cat conftest.err >&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } &&
30738 { ac_try='test -z "$ac_c_werror_flag"
30739 || test ! -s conftest.err'
30740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30741 (eval $ac_try) 2>&5
30742 ac_status=$?
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); }; } &&
30745 { ac_try='test -s conftest$ac_exeext'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30748 ac_status=$?
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; }; then
30751 ac_cv_lib_m_erfcf=yes
30752 else
30753 echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.$ac_ext >&5
30756 ac_cv_lib_m_erfcf=no
30758 rm -f conftest.err conftest.$ac_objext \
30759 conftest$ac_exeext conftest.$ac_ext
30760 LIBS=$ac_check_lib_save_LIBS
30762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30763 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30764 if test $ac_cv_lib_m_erfcf = yes; then
30766 cat >>confdefs.h <<\_ACEOF
30767 #define HAVE_ERFCF 1
30768 _ACEOF
30772 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30773 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30774 if test "${ac_cv_lib_m_erfc+set}" = set; then
30775 echo $ECHO_N "(cached) $ECHO_C" >&6
30776 else
30777 ac_check_lib_save_LIBS=$LIBS
30778 LIBS="-lm $LIBS"
30779 if test x$gcc_no_link = xyes; then
30780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30782 { (exit 1); exit 1; }; }
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h. */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30791 /* Override any gcc2 internal prototype to avoid an error. */
30792 #ifdef __cplusplus
30793 extern "C"
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797 char erfc ();
30799 main ()
30801 erfc ();
30803 return 0;
30805 _ACEOF
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30809 ac_status=$?
30810 grep -v '^ *+' conftest.er1 >conftest.err
30811 rm -f conftest.er1
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try='test -z "$ac_c_werror_flag"
30816 || test ! -s conftest.err'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30819 ac_status=$?
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; } &&
30822 { ac_try='test -s conftest$ac_exeext'
30823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824 (eval $ac_try) 2>&5
30825 ac_status=$?
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 ac_cv_lib_m_erfc=yes
30829 else
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30833 ac_cv_lib_m_erfc=no
30835 rm -f conftest.err conftest.$ac_objext \
30836 conftest$ac_exeext conftest.$ac_ext
30837 LIBS=$ac_check_lib_save_LIBS
30839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30840 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30841 if test $ac_cv_lib_m_erfc = yes; then
30843 cat >>confdefs.h <<\_ACEOF
30844 #define HAVE_ERFC 1
30845 _ACEOF
30849 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30850 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30851 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30852 echo $ECHO_N "(cached) $ECHO_C" >&6
30853 else
30854 ac_check_lib_save_LIBS=$LIBS
30855 LIBS="-lm $LIBS"
30856 if test x$gcc_no_link = xyes; then
30857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30859 { (exit 1); exit 1; }; }
30861 cat >conftest.$ac_ext <<_ACEOF
30862 /* confdefs.h. */
30863 _ACEOF
30864 cat confdefs.h >>conftest.$ac_ext
30865 cat >>conftest.$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30868 /* Override any gcc2 internal prototype to avoid an error. */
30869 #ifdef __cplusplus
30870 extern "C"
30871 #endif
30872 /* We use char because int might match the return type of a gcc2
30873 builtin and then its argument prototype would still apply. */
30874 char erfcl ();
30876 main ()
30878 erfcl ();
30880 return 0;
30882 _ACEOF
30883 rm -f conftest.$ac_objext conftest$ac_exeext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30885 (eval $ac_link) 2>conftest.er1
30886 ac_status=$?
30887 grep -v '^ *+' conftest.er1 >conftest.err
30888 rm -f conftest.er1
30889 cat conftest.err >&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } &&
30892 { ac_try='test -z "$ac_c_werror_flag"
30893 || test ! -s conftest.err'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30896 ac_status=$?
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; } &&
30899 { ac_try='test -s conftest$ac_exeext'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30902 ac_status=$?
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; }; then
30905 ac_cv_lib_m_erfcl=yes
30906 else
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30910 ac_cv_lib_m_erfcl=no
30912 rm -f conftest.err conftest.$ac_objext \
30913 conftest$ac_exeext conftest.$ac_ext
30914 LIBS=$ac_check_lib_save_LIBS
30916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30917 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30918 if test $ac_cv_lib_m_erfcl = yes; then
30920 cat >>confdefs.h <<\_ACEOF
30921 #define HAVE_ERFCL 1
30922 _ACEOF
30926 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30927 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30928 if test "${ac_cv_lib_m_j0f+set}" = set; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 else
30931 ac_check_lib_save_LIBS=$LIBS
30932 LIBS="-lm $LIBS"
30933 if test x$gcc_no_link = xyes; then
30934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30936 { (exit 1); exit 1; }; }
30938 cat >conftest.$ac_ext <<_ACEOF
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30945 /* Override any gcc2 internal prototype to avoid an error. */
30946 #ifdef __cplusplus
30947 extern "C"
30948 #endif
30949 /* We use char because int might match the return type of a gcc2
30950 builtin and then its argument prototype would still apply. */
30951 char j0f ();
30953 main ()
30955 j0f ();
30957 return 0;
30959 _ACEOF
30960 rm -f conftest.$ac_objext conftest$ac_exeext
30961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30962 (eval $ac_link) 2>conftest.er1
30963 ac_status=$?
30964 grep -v '^ *+' conftest.er1 >conftest.err
30965 rm -f conftest.er1
30966 cat conftest.err >&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } &&
30969 { ac_try='test -z "$ac_c_werror_flag"
30970 || test ! -s conftest.err'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; } &&
30976 { ac_try='test -s conftest$ac_exeext'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; }; then
30982 ac_cv_lib_m_j0f=yes
30983 else
30984 echo "$as_me: failed program was:" >&5
30985 sed 's/^/| /' conftest.$ac_ext >&5
30987 ac_cv_lib_m_j0f=no
30989 rm -f conftest.err conftest.$ac_objext \
30990 conftest$ac_exeext conftest.$ac_ext
30991 LIBS=$ac_check_lib_save_LIBS
30993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30994 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30995 if test $ac_cv_lib_m_j0f = yes; then
30997 cat >>confdefs.h <<\_ACEOF
30998 #define HAVE_J0F 1
30999 _ACEOF
31003 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
31004 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
31005 if test "${ac_cv_lib_m_j0+set}" = set; then
31006 echo $ECHO_N "(cached) $ECHO_C" >&6
31007 else
31008 ac_check_lib_save_LIBS=$LIBS
31009 LIBS="-lm $LIBS"
31010 if test x$gcc_no_link = xyes; then
31011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31013 { (exit 1); exit 1; }; }
31015 cat >conftest.$ac_ext <<_ACEOF
31016 /* confdefs.h. */
31017 _ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31022 /* Override any gcc2 internal prototype to avoid an error. */
31023 #ifdef __cplusplus
31024 extern "C"
31025 #endif
31026 /* We use char because int might match the return type of a gcc2
31027 builtin and then its argument prototype would still apply. */
31028 char j0 ();
31030 main ()
31032 j0 ();
31034 return 0;
31036 _ACEOF
31037 rm -f conftest.$ac_objext conftest$ac_exeext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31039 (eval $ac_link) 2>conftest.er1
31040 ac_status=$?
31041 grep -v '^ *+' conftest.er1 >conftest.err
31042 rm -f conftest.er1
31043 cat conftest.err >&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); } &&
31046 { ac_try='test -z "$ac_c_werror_flag"
31047 || test ! -s conftest.err'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31050 ac_status=$?
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; } &&
31053 { ac_try='test -s conftest$ac_exeext'
31054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055 (eval $ac_try) 2>&5
31056 ac_status=$?
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); }; }; then
31059 ac_cv_lib_m_j0=yes
31060 else
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31064 ac_cv_lib_m_j0=no
31066 rm -f conftest.err conftest.$ac_objext \
31067 conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31071 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31072 if test $ac_cv_lib_m_j0 = yes; then
31074 cat >>confdefs.h <<\_ACEOF
31075 #define HAVE_J0 1
31076 _ACEOF
31080 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31081 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31082 if test "${ac_cv_lib_m_j0l+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 else
31085 ac_check_lib_save_LIBS=$LIBS
31086 LIBS="-lm $LIBS"
31087 if test x$gcc_no_link = xyes; then
31088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31090 { (exit 1); exit 1; }; }
31092 cat >conftest.$ac_ext <<_ACEOF
31093 /* confdefs.h. */
31094 _ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31099 /* Override any gcc2 internal prototype to avoid an error. */
31100 #ifdef __cplusplus
31101 extern "C"
31102 #endif
31103 /* We use char because int might match the return type of a gcc2
31104 builtin and then its argument prototype would still apply. */
31105 char j0l ();
31107 main ()
31109 j0l ();
31111 return 0;
31113 _ACEOF
31114 rm -f conftest.$ac_objext conftest$ac_exeext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31116 (eval $ac_link) 2>conftest.er1
31117 ac_status=$?
31118 grep -v '^ *+' conftest.er1 >conftest.err
31119 rm -f conftest.er1
31120 cat conftest.err >&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } &&
31123 { ac_try='test -z "$ac_c_werror_flag"
31124 || test ! -s conftest.err'
31125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31126 (eval $ac_try) 2>&5
31127 ac_status=$?
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); }; } &&
31130 { ac_try='test -s conftest$ac_exeext'
31131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31132 (eval $ac_try) 2>&5
31133 ac_status=$?
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); }; }; then
31136 ac_cv_lib_m_j0l=yes
31137 else
31138 echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.$ac_ext >&5
31141 ac_cv_lib_m_j0l=no
31143 rm -f conftest.err conftest.$ac_objext \
31144 conftest$ac_exeext conftest.$ac_ext
31145 LIBS=$ac_check_lib_save_LIBS
31147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31148 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31149 if test $ac_cv_lib_m_j0l = yes; then
31151 cat >>confdefs.h <<\_ACEOF
31152 #define HAVE_J0L 1
31153 _ACEOF
31157 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31158 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31159 if test "${ac_cv_lib_m_j1f+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162 ac_check_lib_save_LIBS=$LIBS
31163 LIBS="-lm $LIBS"
31164 if test x$gcc_no_link = xyes; then
31165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31167 { (exit 1); exit 1; }; }
31169 cat >conftest.$ac_ext <<_ACEOF
31170 /* confdefs.h. */
31171 _ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31176 /* Override any gcc2 internal prototype to avoid an error. */
31177 #ifdef __cplusplus
31178 extern "C"
31179 #endif
31180 /* We use char because int might match the return type of a gcc2
31181 builtin and then its argument prototype would still apply. */
31182 char j1f ();
31184 main ()
31186 j1f ();
31188 return 0;
31190 _ACEOF
31191 rm -f conftest.$ac_objext conftest$ac_exeext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31193 (eval $ac_link) 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try='test -z "$ac_c_werror_flag"
31201 || test ! -s conftest.err'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31204 ac_status=$?
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; } &&
31207 { ac_try='test -s conftest$ac_exeext'
31208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209 (eval $ac_try) 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; }; then
31213 ac_cv_lib_m_j1f=yes
31214 else
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31218 ac_cv_lib_m_j1f=no
31220 rm -f conftest.err conftest.$ac_objext \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31225 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31226 if test $ac_cv_lib_m_j1f = yes; then
31228 cat >>confdefs.h <<\_ACEOF
31229 #define HAVE_J1F 1
31230 _ACEOF
31234 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31235 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31236 if test "${ac_cv_lib_m_j1+set}" = set; then
31237 echo $ECHO_N "(cached) $ECHO_C" >&6
31238 else
31239 ac_check_lib_save_LIBS=$LIBS
31240 LIBS="-lm $LIBS"
31241 if test x$gcc_no_link = xyes; then
31242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31244 { (exit 1); exit 1; }; }
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h. */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31253 /* Override any gcc2 internal prototype to avoid an error. */
31254 #ifdef __cplusplus
31255 extern "C"
31256 #endif
31257 /* We use char because int might match the return type of a gcc2
31258 builtin and then its argument prototype would still apply. */
31259 char j1 ();
31261 main ()
31263 j1 ();
31265 return 0;
31267 _ACEOF
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31270 (eval $ac_link) 2>conftest.er1
31271 ac_status=$?
31272 grep -v '^ *+' conftest.er1 >conftest.err
31273 rm -f conftest.er1
31274 cat conftest.err >&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); } &&
31277 { ac_try='test -z "$ac_c_werror_flag"
31278 || test ! -s conftest.err'
31279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280 (eval $ac_try) 2>&5
31281 ac_status=$?
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; } &&
31284 { ac_try='test -s conftest$ac_exeext'
31285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286 (eval $ac_try) 2>&5
31287 ac_status=$?
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; }; then
31290 ac_cv_lib_m_j1=yes
31291 else
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31295 ac_cv_lib_m_j1=no
31297 rm -f conftest.err conftest.$ac_objext \
31298 conftest$ac_exeext conftest.$ac_ext
31299 LIBS=$ac_check_lib_save_LIBS
31301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31302 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31303 if test $ac_cv_lib_m_j1 = yes; then
31305 cat >>confdefs.h <<\_ACEOF
31306 #define HAVE_J1 1
31307 _ACEOF
31311 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31312 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31313 if test "${ac_cv_lib_m_j1l+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31315 else
31316 ac_check_lib_save_LIBS=$LIBS
31317 LIBS="-lm $LIBS"
31318 if test x$gcc_no_link = xyes; then
31319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31321 { (exit 1); exit 1; }; }
31323 cat >conftest.$ac_ext <<_ACEOF
31324 /* confdefs.h. */
31325 _ACEOF
31326 cat confdefs.h >>conftest.$ac_ext
31327 cat >>conftest.$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31330 /* Override any gcc2 internal prototype to avoid an error. */
31331 #ifdef __cplusplus
31332 extern "C"
31333 #endif
31334 /* We use char because int might match the return type of a gcc2
31335 builtin and then its argument prototype would still apply. */
31336 char j1l ();
31338 main ()
31340 j1l ();
31342 return 0;
31344 _ACEOF
31345 rm -f conftest.$ac_objext conftest$ac_exeext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31347 (eval $ac_link) 2>conftest.er1
31348 ac_status=$?
31349 grep -v '^ *+' conftest.er1 >conftest.err
31350 rm -f conftest.er1
31351 cat conftest.err >&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try='test -z "$ac_c_werror_flag"
31355 || test ! -s conftest.err'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; } &&
31361 { ac_try='test -s conftest$ac_exeext'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31364 ac_status=$?
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; }; then
31367 ac_cv_lib_m_j1l=yes
31368 else
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.$ac_ext >&5
31372 ac_cv_lib_m_j1l=no
31374 rm -f conftest.err conftest.$ac_objext \
31375 conftest$ac_exeext conftest.$ac_ext
31376 LIBS=$ac_check_lib_save_LIBS
31378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31379 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31380 if test $ac_cv_lib_m_j1l = yes; then
31382 cat >>confdefs.h <<\_ACEOF
31383 #define HAVE_J1L 1
31384 _ACEOF
31388 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31389 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31390 if test "${ac_cv_lib_m_jnf+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31392 else
31393 ac_check_lib_save_LIBS=$LIBS
31394 LIBS="-lm $LIBS"
31395 if test x$gcc_no_link = xyes; then
31396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31398 { (exit 1); exit 1; }; }
31400 cat >conftest.$ac_ext <<_ACEOF
31401 /* confdefs.h. */
31402 _ACEOF
31403 cat confdefs.h >>conftest.$ac_ext
31404 cat >>conftest.$ac_ext <<_ACEOF
31405 /* end confdefs.h. */
31407 /* Override any gcc2 internal prototype to avoid an error. */
31408 #ifdef __cplusplus
31409 extern "C"
31410 #endif
31411 /* We use char because int might match the return type of a gcc2
31412 builtin and then its argument prototype would still apply. */
31413 char jnf ();
31415 main ()
31417 jnf ();
31419 return 0;
31421 _ACEOF
31422 rm -f conftest.$ac_objext conftest$ac_exeext
31423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31424 (eval $ac_link) 2>conftest.er1
31425 ac_status=$?
31426 grep -v '^ *+' conftest.er1 >conftest.err
31427 rm -f conftest.er1
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } &&
31431 { ac_try='test -z "$ac_c_werror_flag"
31432 || test ! -s conftest.err'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31435 ac_status=$?
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; } &&
31438 { ac_try='test -s conftest$ac_exeext'
31439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31440 (eval $ac_try) 2>&5
31441 ac_status=$?
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); }; }; then
31444 ac_cv_lib_m_jnf=yes
31445 else
31446 echo "$as_me: failed program was:" >&5
31447 sed 's/^/| /' conftest.$ac_ext >&5
31449 ac_cv_lib_m_jnf=no
31451 rm -f conftest.err conftest.$ac_objext \
31452 conftest$ac_exeext conftest.$ac_ext
31453 LIBS=$ac_check_lib_save_LIBS
31455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31456 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31457 if test $ac_cv_lib_m_jnf = yes; then
31459 cat >>confdefs.h <<\_ACEOF
31460 #define HAVE_JNF 1
31461 _ACEOF
31465 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31466 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31467 if test "${ac_cv_lib_m_jn+set}" = set; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31469 else
31470 ac_check_lib_save_LIBS=$LIBS
31471 LIBS="-lm $LIBS"
31472 if test x$gcc_no_link = xyes; then
31473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31475 { (exit 1); exit 1; }; }
31477 cat >conftest.$ac_ext <<_ACEOF
31478 /* confdefs.h. */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31484 /* Override any gcc2 internal prototype to avoid an error. */
31485 #ifdef __cplusplus
31486 extern "C"
31487 #endif
31488 /* We use char because int might match the return type of a gcc2
31489 builtin and then its argument prototype would still apply. */
31490 char jn ();
31492 main ()
31494 jn ();
31496 return 0;
31498 _ACEOF
31499 rm -f conftest.$ac_objext conftest$ac_exeext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31501 (eval $ac_link) 2>conftest.er1
31502 ac_status=$?
31503 grep -v '^ *+' conftest.er1 >conftest.err
31504 rm -f conftest.er1
31505 cat conftest.err >&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } &&
31508 { ac_try='test -z "$ac_c_werror_flag"
31509 || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try='test -s conftest$ac_exeext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31521 ac_cv_lib_m_jn=yes
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31526 ac_cv_lib_m_jn=no
31528 rm -f conftest.err conftest.$ac_objext \
31529 conftest$ac_exeext conftest.$ac_ext
31530 LIBS=$ac_check_lib_save_LIBS
31532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31533 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31534 if test $ac_cv_lib_m_jn = yes; then
31536 cat >>confdefs.h <<\_ACEOF
31537 #define HAVE_JN 1
31538 _ACEOF
31542 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31543 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31544 if test "${ac_cv_lib_m_jnl+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31547 ac_check_lib_save_LIBS=$LIBS
31548 LIBS="-lm $LIBS"
31549 if test x$gcc_no_link = xyes; then
31550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31552 { (exit 1); exit 1; }; }
31554 cat >conftest.$ac_ext <<_ACEOF
31555 /* confdefs.h. */
31556 _ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31561 /* Override any gcc2 internal prototype to avoid an error. */
31562 #ifdef __cplusplus
31563 extern "C"
31564 #endif
31565 /* We use char because int might match the return type of a gcc2
31566 builtin and then its argument prototype would still apply. */
31567 char jnl ();
31569 main ()
31571 jnl ();
31573 return 0;
31575 _ACEOF
31576 rm -f conftest.$ac_objext conftest$ac_exeext
31577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31578 (eval $ac_link) 2>conftest.er1
31579 ac_status=$?
31580 grep -v '^ *+' conftest.er1 >conftest.err
31581 rm -f conftest.er1
31582 cat conftest.err >&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } &&
31585 { ac_try='test -z "$ac_c_werror_flag"
31586 || test ! -s conftest.err'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; } &&
31592 { ac_try='test -s conftest$ac_exeext'
31593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594 (eval $ac_try) 2>&5
31595 ac_status=$?
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); }; }; then
31598 ac_cv_lib_m_jnl=yes
31599 else
31600 echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31603 ac_cv_lib_m_jnl=no
31605 rm -f conftest.err conftest.$ac_objext \
31606 conftest$ac_exeext conftest.$ac_ext
31607 LIBS=$ac_check_lib_save_LIBS
31609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31610 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31611 if test $ac_cv_lib_m_jnl = yes; then
31613 cat >>confdefs.h <<\_ACEOF
31614 #define HAVE_JNL 1
31615 _ACEOF
31619 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31620 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31621 if test "${ac_cv_lib_m_y0f+set}" = set; then
31622 echo $ECHO_N "(cached) $ECHO_C" >&6
31623 else
31624 ac_check_lib_save_LIBS=$LIBS
31625 LIBS="-lm $LIBS"
31626 if test x$gcc_no_link = xyes; then
31627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31629 { (exit 1); exit 1; }; }
31631 cat >conftest.$ac_ext <<_ACEOF
31632 /* confdefs.h. */
31633 _ACEOF
31634 cat confdefs.h >>conftest.$ac_ext
31635 cat >>conftest.$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31638 /* Override any gcc2 internal prototype to avoid an error. */
31639 #ifdef __cplusplus
31640 extern "C"
31641 #endif
31642 /* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31644 char y0f ();
31646 main ()
31648 y0f ();
31650 return 0;
31652 _ACEOF
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31656 ac_status=$?
31657 grep -v '^ *+' conftest.er1 >conftest.err
31658 rm -f conftest.er1
31659 cat conftest.err >&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -z "$ac_c_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31666 ac_status=$?
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try='test -s conftest$ac_exeext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31672 ac_status=$?
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 ac_cv_lib_m_y0f=yes
31676 else
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31680 ac_cv_lib_m_y0f=no
31682 rm -f conftest.err conftest.$ac_objext \
31683 conftest$ac_exeext conftest.$ac_ext
31684 LIBS=$ac_check_lib_save_LIBS
31686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31687 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31688 if test $ac_cv_lib_m_y0f = yes; then
31690 cat >>confdefs.h <<\_ACEOF
31691 #define HAVE_Y0F 1
31692 _ACEOF
31696 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31697 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31698 if test "${ac_cv_lib_m_y0+set}" = set; then
31699 echo $ECHO_N "(cached) $ECHO_C" >&6
31700 else
31701 ac_check_lib_save_LIBS=$LIBS
31702 LIBS="-lm $LIBS"
31703 if test x$gcc_no_link = xyes; then
31704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31706 { (exit 1); exit 1; }; }
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h. */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31715 /* Override any gcc2 internal prototype to avoid an error. */
31716 #ifdef __cplusplus
31717 extern "C"
31718 #endif
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31721 char y0 ();
31723 main ()
31725 y0 ();
31727 return 0;
31729 _ACEOF
31730 rm -f conftest.$ac_objext conftest$ac_exeext
31731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31732 (eval $ac_link) 2>conftest.er1
31733 ac_status=$?
31734 grep -v '^ *+' conftest.er1 >conftest.err
31735 rm -f conftest.er1
31736 cat conftest.err >&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } &&
31739 { ac_try='test -z "$ac_c_werror_flag"
31740 || test ! -s conftest.err'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31743 ac_status=$?
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; } &&
31746 { ac_try='test -s conftest$ac_exeext'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31749 ac_status=$?
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; }; then
31752 ac_cv_lib_m_y0=yes
31753 else
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31757 ac_cv_lib_m_y0=no
31759 rm -f conftest.err conftest.$ac_objext \
31760 conftest$ac_exeext conftest.$ac_ext
31761 LIBS=$ac_check_lib_save_LIBS
31763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31764 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31765 if test $ac_cv_lib_m_y0 = yes; then
31767 cat >>confdefs.h <<\_ACEOF
31768 #define HAVE_Y0 1
31769 _ACEOF
31773 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31774 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31775 if test "${ac_cv_lib_m_y0l+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778 ac_check_lib_save_LIBS=$LIBS
31779 LIBS="-lm $LIBS"
31780 if test x$gcc_no_link = xyes; then
31781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31783 { (exit 1); exit 1; }; }
31785 cat >conftest.$ac_ext <<_ACEOF
31786 /* confdefs.h. */
31787 _ACEOF
31788 cat confdefs.h >>conftest.$ac_ext
31789 cat >>conftest.$ac_ext <<_ACEOF
31790 /* end confdefs.h. */
31792 /* Override any gcc2 internal prototype to avoid an error. */
31793 #ifdef __cplusplus
31794 extern "C"
31795 #endif
31796 /* We use char because int might match the return type of a gcc2
31797 builtin and then its argument prototype would still apply. */
31798 char y0l ();
31800 main ()
31802 y0l ();
31804 return 0;
31806 _ACEOF
31807 rm -f conftest.$ac_objext conftest$ac_exeext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31809 (eval $ac_link) 2>conftest.er1
31810 ac_status=$?
31811 grep -v '^ *+' conftest.er1 >conftest.err
31812 rm -f conftest.er1
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try='test -z "$ac_c_werror_flag"
31817 || test ! -s conftest.err'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31820 ac_status=$?
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try='test -s conftest$ac_exeext'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; }; then
31829 ac_cv_lib_m_y0l=yes
31830 else
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31834 ac_cv_lib_m_y0l=no
31836 rm -f conftest.err conftest.$ac_objext \
31837 conftest$ac_exeext conftest.$ac_ext
31838 LIBS=$ac_check_lib_save_LIBS
31840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31841 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31842 if test $ac_cv_lib_m_y0l = yes; then
31844 cat >>confdefs.h <<\_ACEOF
31845 #define HAVE_Y0L 1
31846 _ACEOF
31850 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31851 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31852 if test "${ac_cv_lib_m_y1f+set}" = set; then
31853 echo $ECHO_N "(cached) $ECHO_C" >&6
31854 else
31855 ac_check_lib_save_LIBS=$LIBS
31856 LIBS="-lm $LIBS"
31857 if test x$gcc_no_link = xyes; then
31858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31860 { (exit 1); exit 1; }; }
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h. */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31869 /* Override any gcc2 internal prototype to avoid an error. */
31870 #ifdef __cplusplus
31871 extern "C"
31872 #endif
31873 /* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31875 char y1f ();
31877 main ()
31879 y1f ();
31881 return 0;
31883 _ACEOF
31884 rm -f conftest.$ac_objext conftest$ac_exeext
31885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31886 (eval $ac_link) 2>conftest.er1
31887 ac_status=$?
31888 grep -v '^ *+' conftest.er1 >conftest.err
31889 rm -f conftest.er1
31890 cat conftest.err >&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); } &&
31893 { ac_try='test -z "$ac_c_werror_flag"
31894 || test ! -s conftest.err'
31895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896 (eval $ac_try) 2>&5
31897 ac_status=$?
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); }; } &&
31900 { ac_try='test -s conftest$ac_exeext'
31901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902 (eval $ac_try) 2>&5
31903 ac_status=$?
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; }; then
31906 ac_cv_lib_m_y1f=yes
31907 else
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.$ac_ext >&5
31911 ac_cv_lib_m_y1f=no
31913 rm -f conftest.err conftest.$ac_objext \
31914 conftest$ac_exeext conftest.$ac_ext
31915 LIBS=$ac_check_lib_save_LIBS
31917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31918 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31919 if test $ac_cv_lib_m_y1f = yes; then
31921 cat >>confdefs.h <<\_ACEOF
31922 #define HAVE_Y1F 1
31923 _ACEOF
31927 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31928 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31929 if test "${ac_cv_lib_m_y1+set}" = set; then
31930 echo $ECHO_N "(cached) $ECHO_C" >&6
31931 else
31932 ac_check_lib_save_LIBS=$LIBS
31933 LIBS="-lm $LIBS"
31934 if test x$gcc_no_link = xyes; then
31935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31937 { (exit 1); exit 1; }; }
31939 cat >conftest.$ac_ext <<_ACEOF
31940 /* confdefs.h. */
31941 _ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h. */
31946 /* Override any gcc2 internal prototype to avoid an error. */
31947 #ifdef __cplusplus
31948 extern "C"
31949 #endif
31950 /* We use char because int might match the return type of a gcc2
31951 builtin and then its argument prototype would still apply. */
31952 char y1 ();
31954 main ()
31956 y1 ();
31958 return 0;
31960 _ACEOF
31961 rm -f conftest.$ac_objext conftest$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963 (eval $ac_link) 2>conftest.er1
31964 ac_status=$?
31965 grep -v '^ *+' conftest.er1 >conftest.err
31966 rm -f conftest.er1
31967 cat conftest.err >&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try='test -z "$ac_c_werror_flag"
31971 || test ! -s conftest.err'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } &&
31977 { ac_try='test -s conftest$ac_exeext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31983 ac_cv_lib_m_y1=yes
31984 else
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31988 ac_cv_lib_m_y1=no
31990 rm -f conftest.err conftest.$ac_objext \
31991 conftest$ac_exeext conftest.$ac_ext
31992 LIBS=$ac_check_lib_save_LIBS
31994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31995 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31996 if test $ac_cv_lib_m_y1 = yes; then
31998 cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_Y1 1
32000 _ACEOF
32004 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
32005 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
32006 if test "${ac_cv_lib_m_y1l+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32008 else
32009 ac_check_lib_save_LIBS=$LIBS
32010 LIBS="-lm $LIBS"
32011 if test x$gcc_no_link = xyes; then
32012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32014 { (exit 1); exit 1; }; }
32016 cat >conftest.$ac_ext <<_ACEOF
32017 /* confdefs.h. */
32018 _ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32023 /* Override any gcc2 internal prototype to avoid an error. */
32024 #ifdef __cplusplus
32025 extern "C"
32026 #endif
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32029 char y1l ();
32031 main ()
32033 y1l ();
32035 return 0;
32037 _ACEOF
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32041 ac_status=$?
32042 grep -v '^ *+' conftest.er1 >conftest.err
32043 rm -f conftest.er1
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try='test -z "$ac_c_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32057 ac_status=$?
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 ac_cv_lib_m_y1l=yes
32061 else
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32065 ac_cv_lib_m_y1l=no
32067 rm -f conftest.err conftest.$ac_objext \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32072 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32073 if test $ac_cv_lib_m_y1l = yes; then
32075 cat >>confdefs.h <<\_ACEOF
32076 #define HAVE_Y1L 1
32077 _ACEOF
32081 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32082 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32083 if test "${ac_cv_lib_m_ynf+set}" = set; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32085 else
32086 ac_check_lib_save_LIBS=$LIBS
32087 LIBS="-lm $LIBS"
32088 if test x$gcc_no_link = xyes; then
32089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32091 { (exit 1); exit 1; }; }
32093 cat >conftest.$ac_ext <<_ACEOF
32094 /* confdefs.h. */
32095 _ACEOF
32096 cat confdefs.h >>conftest.$ac_ext
32097 cat >>conftest.$ac_ext <<_ACEOF
32098 /* end confdefs.h. */
32100 /* Override any gcc2 internal prototype to avoid an error. */
32101 #ifdef __cplusplus
32102 extern "C"
32103 #endif
32104 /* We use char because int might match the return type of a gcc2
32105 builtin and then its argument prototype would still apply. */
32106 char ynf ();
32108 main ()
32110 ynf ();
32112 return 0;
32114 _ACEOF
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32117 (eval $ac_link) 2>conftest.er1
32118 ac_status=$?
32119 grep -v '^ *+' conftest.er1 >conftest.err
32120 rm -f conftest.er1
32121 cat conftest.err >&5
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); } &&
32124 { ac_try='test -z "$ac_c_werror_flag"
32125 || test ! -s conftest.err'
32126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127 (eval $ac_try) 2>&5
32128 ac_status=$?
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); }; } &&
32131 { ac_try='test -s conftest$ac_exeext'
32132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133 (eval $ac_try) 2>&5
32134 ac_status=$?
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; }; then
32137 ac_cv_lib_m_ynf=yes
32138 else
32139 echo "$as_me: failed program was:" >&5
32140 sed 's/^/| /' conftest.$ac_ext >&5
32142 ac_cv_lib_m_ynf=no
32144 rm -f conftest.err conftest.$ac_objext \
32145 conftest$ac_exeext conftest.$ac_ext
32146 LIBS=$ac_check_lib_save_LIBS
32148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32149 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32150 if test $ac_cv_lib_m_ynf = yes; then
32152 cat >>confdefs.h <<\_ACEOF
32153 #define HAVE_YNF 1
32154 _ACEOF
32158 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32159 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32160 if test "${ac_cv_lib_m_yn+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163 ac_check_lib_save_LIBS=$LIBS
32164 LIBS="-lm $LIBS"
32165 if test x$gcc_no_link = xyes; then
32166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32168 { (exit 1); exit 1; }; }
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32177 /* Override any gcc2 internal prototype to avoid an error. */
32178 #ifdef __cplusplus
32179 extern "C"
32180 #endif
32181 /* We use char because int might match the return type of a gcc2
32182 builtin and then its argument prototype would still apply. */
32183 char yn ();
32185 main ()
32187 yn ();
32189 return 0;
32191 _ACEOF
32192 rm -f conftest.$ac_objext conftest$ac_exeext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32194 (eval $ac_link) 2>conftest.er1
32195 ac_status=$?
32196 grep -v '^ *+' conftest.er1 >conftest.err
32197 rm -f conftest.er1
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try='test -z "$ac_c_werror_flag"
32202 || test ! -s conftest.err'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32205 ac_status=$?
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; } &&
32208 { ac_try='test -s conftest$ac_exeext'
32209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210 (eval $ac_try) 2>&5
32211 ac_status=$?
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; }; then
32214 ac_cv_lib_m_yn=yes
32215 else
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32219 ac_cv_lib_m_yn=no
32221 rm -f conftest.err conftest.$ac_objext \
32222 conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32226 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32227 if test $ac_cv_lib_m_yn = yes; then
32229 cat >>confdefs.h <<\_ACEOF
32230 #define HAVE_YN 1
32231 _ACEOF
32235 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32236 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32237 if test "${ac_cv_lib_m_ynl+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240 ac_check_lib_save_LIBS=$LIBS
32241 LIBS="-lm $LIBS"
32242 if test x$gcc_no_link = xyes; then
32243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32245 { (exit 1); exit 1; }; }
32247 cat >conftest.$ac_ext <<_ACEOF
32248 /* confdefs.h. */
32249 _ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32254 /* Override any gcc2 internal prototype to avoid an error. */
32255 #ifdef __cplusplus
32256 extern "C"
32257 #endif
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32260 char ynl ();
32262 main ()
32264 ynl ();
32266 return 0;
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try='test -z "$ac_c_werror_flag"
32279 || test ! -s conftest.err'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32282 ac_status=$?
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; } &&
32285 { ac_try='test -s conftest$ac_exeext'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; }; then
32291 ac_cv_lib_m_ynl=yes
32292 else
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32296 ac_cv_lib_m_ynl=no
32298 rm -f conftest.err conftest.$ac_objext \
32299 conftest$ac_exeext conftest.$ac_ext
32300 LIBS=$ac_check_lib_save_LIBS
32302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32303 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32304 if test $ac_cv_lib_m_ynl = yes; then
32306 cat >>confdefs.h <<\_ACEOF
32307 #define HAVE_YNL 1
32308 _ACEOF
32312 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32313 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32314 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32315 echo $ECHO_N "(cached) $ECHO_C" >&6
32316 else
32317 ac_check_lib_save_LIBS=$LIBS
32318 LIBS="-lm $LIBS"
32319 if test x$gcc_no_link = xyes; then
32320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32322 { (exit 1); exit 1; }; }
32324 cat >conftest.$ac_ext <<_ACEOF
32325 /* confdefs.h. */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32331 /* Override any gcc2 internal prototype to avoid an error. */
32332 #ifdef __cplusplus
32333 extern "C"
32334 #endif
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32337 char tgamma ();
32339 main ()
32341 tgamma ();
32343 return 0;
32345 _ACEOF
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>conftest.er1
32349 ac_status=$?
32350 grep -v '^ *+' conftest.er1 >conftest.err
32351 rm -f conftest.er1
32352 cat conftest.err >&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); } &&
32355 { ac_try='test -z "$ac_c_werror_flag"
32356 || test ! -s conftest.err'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32359 ac_status=$?
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; } &&
32362 { ac_try='test -s conftest$ac_exeext'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32365 ac_status=$?
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; }; then
32368 ac_cv_lib_m_tgamma=yes
32369 else
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.$ac_ext >&5
32373 ac_cv_lib_m_tgamma=no
32375 rm -f conftest.err conftest.$ac_objext \
32376 conftest$ac_exeext conftest.$ac_ext
32377 LIBS=$ac_check_lib_save_LIBS
32379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32380 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32381 if test $ac_cv_lib_m_tgamma = yes; then
32383 cat >>confdefs.h <<\_ACEOF
32384 #define HAVE_TGAMMA 1
32385 _ACEOF
32389 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32390 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32391 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 else
32394 ac_check_lib_save_LIBS=$LIBS
32395 LIBS="-lm $LIBS"
32396 if test x$gcc_no_link = xyes; then
32397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32399 { (exit 1); exit 1; }; }
32401 cat >conftest.$ac_ext <<_ACEOF
32402 /* confdefs.h. */
32403 _ACEOF
32404 cat confdefs.h >>conftest.$ac_ext
32405 cat >>conftest.$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32408 /* Override any gcc2 internal prototype to avoid an error. */
32409 #ifdef __cplusplus
32410 extern "C"
32411 #endif
32412 /* We use char because int might match the return type of a gcc2
32413 builtin and then its argument prototype would still apply. */
32414 char tgammaf ();
32416 main ()
32418 tgammaf ();
32420 return 0;
32422 _ACEOF
32423 rm -f conftest.$ac_objext conftest$ac_exeext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32425 (eval $ac_link) 2>conftest.er1
32426 ac_status=$?
32427 grep -v '^ *+' conftest.er1 >conftest.err
32428 rm -f conftest.er1
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try='test -z "$ac_c_werror_flag"
32433 || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest$ac_exeext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 ac_cv_lib_m_tgammaf=yes
32446 else
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32450 ac_cv_lib_m_tgammaf=no
32452 rm -f conftest.err conftest.$ac_objext \
32453 conftest$ac_exeext conftest.$ac_ext
32454 LIBS=$ac_check_lib_save_LIBS
32456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32457 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32458 if test $ac_cv_lib_m_tgammaf = yes; then
32460 cat >>confdefs.h <<\_ACEOF
32461 #define HAVE_TGAMMAF 1
32462 _ACEOF
32466 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32467 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32468 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471 ac_check_lib_save_LIBS=$LIBS
32472 LIBS="-lm $LIBS"
32473 if test x$gcc_no_link = xyes; then
32474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32476 { (exit 1); exit 1; }; }
32478 cat >conftest.$ac_ext <<_ACEOF
32479 /* confdefs.h. */
32480 _ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32485 /* Override any gcc2 internal prototype to avoid an error. */
32486 #ifdef __cplusplus
32487 extern "C"
32488 #endif
32489 /* We use char because int might match the return type of a gcc2
32490 builtin and then its argument prototype would still apply. */
32491 char tgammal ();
32493 main ()
32495 tgammal ();
32497 return 0;
32499 _ACEOF
32500 rm -f conftest.$ac_objext conftest$ac_exeext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32502 (eval $ac_link) 2>conftest.er1
32503 ac_status=$?
32504 grep -v '^ *+' conftest.er1 >conftest.err
32505 rm -f conftest.er1
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_c_werror_flag"
32510 || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32513 ac_status=$?
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try='test -s conftest$ac_exeext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32519 ac_status=$?
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32522 ac_cv_lib_m_tgammal=yes
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32527 ac_cv_lib_m_tgammal=no
32529 rm -f conftest.err conftest.$ac_objext \
32530 conftest$ac_exeext conftest.$ac_ext
32531 LIBS=$ac_check_lib_save_LIBS
32533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32534 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32535 if test $ac_cv_lib_m_tgammal = yes; then
32537 cat >>confdefs.h <<\_ACEOF
32538 #define HAVE_TGAMMAL 1
32539 _ACEOF
32543 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32544 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32545 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32546 echo $ECHO_N "(cached) $ECHO_C" >&6
32547 else
32548 ac_check_lib_save_LIBS=$LIBS
32549 LIBS="-lm $LIBS"
32550 if test x$gcc_no_link = xyes; then
32551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32553 { (exit 1); exit 1; }; }
32555 cat >conftest.$ac_ext <<_ACEOF
32556 /* confdefs.h. */
32557 _ACEOF
32558 cat confdefs.h >>conftest.$ac_ext
32559 cat >>conftest.$ac_ext <<_ACEOF
32560 /* end confdefs.h. */
32562 /* Override any gcc2 internal prototype to avoid an error. */
32563 #ifdef __cplusplus
32564 extern "C"
32565 #endif
32566 /* We use char because int might match the return type of a gcc2
32567 builtin and then its argument prototype would still apply. */
32568 char lgamma ();
32570 main ()
32572 lgamma ();
32574 return 0;
32576 _ACEOF
32577 rm -f conftest.$ac_objext conftest$ac_exeext
32578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32579 (eval $ac_link) 2>conftest.er1
32580 ac_status=$?
32581 grep -v '^ *+' conftest.er1 >conftest.err
32582 rm -f conftest.er1
32583 cat conftest.err >&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); } &&
32586 { ac_try='test -z "$ac_c_werror_flag"
32587 || test ! -s conftest.err'
32588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 (eval $ac_try) 2>&5
32590 ac_status=$?
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); }; } &&
32593 { ac_try='test -s conftest$ac_exeext'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32596 ac_status=$?
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; }; then
32599 ac_cv_lib_m_lgamma=yes
32600 else
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.$ac_ext >&5
32604 ac_cv_lib_m_lgamma=no
32606 rm -f conftest.err conftest.$ac_objext \
32607 conftest$ac_exeext conftest.$ac_ext
32608 LIBS=$ac_check_lib_save_LIBS
32610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32611 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32612 if test $ac_cv_lib_m_lgamma = yes; then
32614 cat >>confdefs.h <<\_ACEOF
32615 #define HAVE_LGAMMA 1
32616 _ACEOF
32620 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32621 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32622 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625 ac_check_lib_save_LIBS=$LIBS
32626 LIBS="-lm $LIBS"
32627 if test x$gcc_no_link = xyes; then
32628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32630 { (exit 1); exit 1; }; }
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32639 /* Override any gcc2 internal prototype to avoid an error. */
32640 #ifdef __cplusplus
32641 extern "C"
32642 #endif
32643 /* We use char because int might match the return type of a gcc2
32644 builtin and then its argument prototype would still apply. */
32645 char lgammaf ();
32647 main ()
32649 lgammaf ();
32651 return 0;
32653 _ACEOF
32654 rm -f conftest.$ac_objext conftest$ac_exeext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32656 (eval $ac_link) 2>conftest.er1
32657 ac_status=$?
32658 grep -v '^ *+' conftest.er1 >conftest.err
32659 rm -f conftest.er1
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try='test -z "$ac_c_werror_flag"
32664 || test ! -s conftest.err'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32667 ac_status=$?
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; } &&
32670 { ac_try='test -s conftest$ac_exeext'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32673 ac_status=$?
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; }; then
32676 ac_cv_lib_m_lgammaf=yes
32677 else
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32681 ac_cv_lib_m_lgammaf=no
32683 rm -f conftest.err conftest.$ac_objext \
32684 conftest$ac_exeext conftest.$ac_ext
32685 LIBS=$ac_check_lib_save_LIBS
32687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32688 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32689 if test $ac_cv_lib_m_lgammaf = yes; then
32691 cat >>confdefs.h <<\_ACEOF
32692 #define HAVE_LGAMMAF 1
32693 _ACEOF
32697 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32698 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32699 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32701 else
32702 ac_check_lib_save_LIBS=$LIBS
32703 LIBS="-lm $LIBS"
32704 if test x$gcc_no_link = xyes; then
32705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32707 { (exit 1); exit 1; }; }
32709 cat >conftest.$ac_ext <<_ACEOF
32710 /* confdefs.h. */
32711 _ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32716 /* Override any gcc2 internal prototype to avoid an error. */
32717 #ifdef __cplusplus
32718 extern "C"
32719 #endif
32720 /* We use char because int might match the return type of a gcc2
32721 builtin and then its argument prototype would still apply. */
32722 char lgammal ();
32724 main ()
32726 lgammal ();
32728 return 0;
32730 _ACEOF
32731 rm -f conftest.$ac_objext conftest$ac_exeext
32732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32733 (eval $ac_link) 2>conftest.er1
32734 ac_status=$?
32735 grep -v '^ *+' conftest.er1 >conftest.err
32736 rm -f conftest.er1
32737 cat conftest.err >&5
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); } &&
32740 { ac_try='test -z "$ac_c_werror_flag"
32741 || test ! -s conftest.err'
32742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32743 (eval $ac_try) 2>&5
32744 ac_status=$?
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); }; } &&
32747 { ac_try='test -s conftest$ac_exeext'
32748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749 (eval $ac_try) 2>&5
32750 ac_status=$?
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); }; }; then
32753 ac_cv_lib_m_lgammal=yes
32754 else
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32758 ac_cv_lib_m_lgammal=no
32760 rm -f conftest.err conftest.$ac_objext \
32761 conftest$ac_exeext conftest.$ac_ext
32762 LIBS=$ac_check_lib_save_LIBS
32764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32765 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32766 if test $ac_cv_lib_m_lgammal = yes; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_LGAMMAL 1
32770 _ACEOF
32775 # On AIX, clog is present in libm as __clog
32776 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32777 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32778 if test "${ac_cv_lib_m___clog+set}" = set; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 else
32781 ac_check_lib_save_LIBS=$LIBS
32782 LIBS="-lm $LIBS"
32783 if test x$gcc_no_link = xyes; then
32784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32786 { (exit 1); exit 1; }; }
32788 cat >conftest.$ac_ext <<_ACEOF
32789 /* confdefs.h. */
32790 _ACEOF
32791 cat confdefs.h >>conftest.$ac_ext
32792 cat >>conftest.$ac_ext <<_ACEOF
32793 /* end confdefs.h. */
32795 /* Override any gcc2 internal prototype to avoid an error. */
32796 #ifdef __cplusplus
32797 extern "C"
32798 #endif
32799 /* We use char because int might match the return type of a gcc2
32800 builtin and then its argument prototype would still apply. */
32801 char __clog ();
32803 main ()
32805 __clog ();
32807 return 0;
32809 _ACEOF
32810 rm -f conftest.$ac_objext conftest$ac_exeext
32811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32812 (eval $ac_link) 2>conftest.er1
32813 ac_status=$?
32814 grep -v '^ *+' conftest.er1 >conftest.err
32815 rm -f conftest.er1
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } &&
32819 { ac_try='test -z "$ac_c_werror_flag"
32820 || test ! -s conftest.err'
32821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822 (eval $ac_try) 2>&5
32823 ac_status=$?
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); }; } &&
32826 { ac_try='test -s conftest$ac_exeext'
32827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32828 (eval $ac_try) 2>&5
32829 ac_status=$?
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); }; }; then
32832 ac_cv_lib_m___clog=yes
32833 else
32834 echo "$as_me: failed program was:" >&5
32835 sed 's/^/| /' conftest.$ac_ext >&5
32837 ac_cv_lib_m___clog=no
32839 rm -f conftest.err conftest.$ac_objext \
32840 conftest$ac_exeext conftest.$ac_ext
32841 LIBS=$ac_check_lib_save_LIBS
32843 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32844 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32845 if test $ac_cv_lib_m___clog = yes; then
32847 cat >>confdefs.h <<\_ACEOF
32848 #define HAVE_CLOG 1
32849 _ACEOF
32854 # Check for a isfinite macro that works on long doubles.
32856 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32857 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32858 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 else
32862 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32863 LIBS="$LIBS -lm"
32864 if test "$cross_compiling" = yes; then
32866 case "${target}" in
32867 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32868 *) libgfor_cv_have_broken_isfinite=no ;;
32869 esac
32870 else
32871 cat >conftest.$ac_ext <<_ACEOF
32872 /* confdefs.h. */
32873 _ACEOF
32874 cat confdefs.h >>conftest.$ac_ext
32875 cat >>conftest.$ac_ext <<_ACEOF
32876 /* end confdefs.h. */
32878 #include <math.h>
32879 #include <float.h>
32880 int main ()
32882 #ifdef isfinite
32883 #ifdef LDBL_MAX
32884 if (!isfinite(LDBL_MAX)) return 1;
32885 #endif
32886 #ifdef DBL_MAX
32887 if (!isfinite(DBL_MAX)) return 1;
32888 #endif
32889 #endif
32890 return 0;
32892 _ACEOF
32893 rm -f conftest$ac_exeext
32894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32895 (eval $ac_link) 2>&5
32896 ac_status=$?
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32900 (eval $ac_try) 2>&5
32901 ac_status=$?
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); }; }; then
32904 libgfor_cv_have_broken_isfinite=no
32905 else
32906 echo "$as_me: program exited with status $ac_status" >&5
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.$ac_ext >&5
32910 ( exit $ac_status )
32911 libgfor_cv_have_broken_isfinite=yes
32913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32915 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32917 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32918 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32919 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32921 cat >>confdefs.h <<\_ACEOF
32922 #define HAVE_BROKEN_ISFINITE 1
32923 _ACEOF
32927 # Check for a isnan macro that works on long doubles.
32929 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32930 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32931 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 else
32935 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32936 LIBS="$LIBS -lm"
32937 if test "$cross_compiling" = yes; then
32939 case "${target}" in
32940 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32941 *) libgfor_cv_have_broken_isnan=no ;;
32942 esac
32943 else
32944 cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h. */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32951 #include <math.h>
32952 #include <float.h>
32953 int main ()
32955 #ifdef isnan
32956 #ifdef LDBL_MAX
32958 long double x;
32959 x = __builtin_nanl ("");
32960 if (!isnan(x)) return 1;
32961 if (isnan(LDBL_MAX)) return 1;
32962 #ifdef NAN
32963 x = (long double) NAN;
32964 if (!isnan(x)) return 1;
32965 #endif
32967 #endif
32968 #ifdef DBL_MAX
32970 double y;
32971 y = __builtin_nan ("");
32972 if (!isnan(y)) return 1;
32973 if (isnan(DBL_MAX)) return 1;
32974 #ifdef NAN
32975 y = (double) NAN;
32976 if (!isnan(y)) return 1;
32977 #endif
32979 #endif
32980 #endif
32981 return 0;
32983 _ACEOF
32984 rm -f conftest$ac_exeext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32986 (eval $ac_link) 2>&5
32987 ac_status=$?
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32992 ac_status=$?
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; }; then
32995 libgfor_cv_have_broken_isnan=no
32996 else
32997 echo "$as_me: program exited with status $ac_status" >&5
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33001 ( exit $ac_status )
33002 libgfor_cv_have_broken_isnan=yes
33004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33006 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
33008 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
33009 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
33010 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
33012 cat >>confdefs.h <<\_ACEOF
33013 #define HAVE_BROKEN_ISNAN 1
33014 _ACEOF
33018 # Check for a fpclassify macro that works on long doubles.
33020 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
33021 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
33022 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33024 else
33026 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
33027 LIBS="$LIBS -lm"
33028 if test "$cross_compiling" = yes; then
33030 case "${target}" in
33031 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
33032 *) libgfor_cv_have_broken_fpclassify=no ;;
33033 esac
33034 else
33035 cat >conftest.$ac_ext <<_ACEOF
33036 /* confdefs.h. */
33037 _ACEOF
33038 cat confdefs.h >>conftest.$ac_ext
33039 cat >>conftest.$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33042 #include <math.h>
33043 #include <float.h>
33044 int main ()
33046 #ifdef fpclassify
33047 #ifdef LDBL_MAX
33048 if (fpclassify(LDBL_MAX) == FP_NAN
33049 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33050 #endif
33051 #ifdef DBL_MAX
33052 if (fpclassify(DBL_MAX) == FP_NAN
33053 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33054 #endif
33055 #endif
33056 return 0;
33058 _ACEOF
33059 rm -f conftest$ac_exeext
33060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33061 (eval $ac_link) 2>&5
33062 ac_status=$?
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33067 ac_status=$?
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 libgfor_cv_have_broken_fpclassify=no
33071 else
33072 echo "$as_me: program exited with status $ac_status" >&5
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33076 ( exit $ac_status )
33077 libgfor_cv_have_broken_fpclassify=yes
33079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33081 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
33083 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33084 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33085 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
33087 cat >>confdefs.h <<\_ACEOF
33088 #define HAVE_BROKEN_FPCLASSIFY 1
33089 _ACEOF
33093 # Check whether the system has a working stat()
33095 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33096 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33097 if test "${libgfor_cv_have_working_stat+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33101 if test "$cross_compiling" = yes; then
33103 case "${target}" in
33104 *mingw*) libgfor_cv_have_working_stat=no ;;
33105 *) libgfor_cv_have_working_stat=yes;;
33106 esac
33107 else
33108 cat >conftest.$ac_ext <<_ACEOF
33109 /* confdefs.h. */
33110 _ACEOF
33111 cat confdefs.h >>conftest.$ac_ext
33112 cat >>conftest.$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33115 #include <stdio.h>
33116 #include <sys/types.h>
33117 #include <sys/stat.h>
33118 #include <unistd.h>
33120 int main ()
33122 FILE *f, *g;
33123 struct stat st1, st2;
33125 f = fopen ("foo", "w");
33126 g = fopen ("bar", "w");
33127 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33128 return 1;
33129 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33130 return 1;
33131 fclose(f);
33132 fclose(g);
33133 return 0;
33135 _ACEOF
33136 rm -f conftest$ac_exeext
33137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33138 (eval $ac_link) 2>&5
33139 ac_status=$?
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33144 ac_status=$?
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; }; then
33147 libgfor_cv_have_working_stat=yes
33148 else
33149 echo "$as_me: program exited with status $ac_status" >&5
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33153 ( exit $ac_status )
33154 libgfor_cv_have_working_stat=no
33156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33159 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33160 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33161 if test x"$libgfor_cv_have_working_stat" = xyes; then
33163 cat >>confdefs.h <<\_ACEOF
33164 #define HAVE_WORKING_STAT 1
33165 _ACEOF
33169 # Check whether __mingw_snprintf() is present
33171 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33172 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33173 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 else
33177 if test x$gcc_no_link = xyes; then
33178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33180 { (exit 1); exit 1; }; }
33182 cat >conftest.$ac_ext <<_ACEOF
33183 /* confdefs.h. */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33189 #include <stdio.h>
33190 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33193 main ()
33196 __mingw_snprintf (NULL, 0, "%d\n", 1);
33199 return 0;
33201 _ACEOF
33202 rm -f conftest.$ac_objext conftest$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204 (eval $ac_link) 2>conftest.er1
33205 ac_status=$?
33206 grep -v '^ *+' conftest.er1 >conftest.err
33207 rm -f conftest.er1
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } &&
33211 { ac_try='test -z "$ac_c_werror_flag"
33212 || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33215 ac_status=$?
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try='test -s conftest$ac_exeext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33221 ac_status=$?
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 eval "libgfor_cv_have_mingw_snprintf=yes"
33225 else
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33229 eval "libgfor_cv_have_mingw_snprintf=no"
33231 rm -f conftest.err conftest.$ac_objext \
33232 conftest$ac_exeext conftest.$ac_ext
33235 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33236 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33237 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
33239 cat >>confdefs.h <<\_ACEOF
33240 #define HAVE_MINGW_SNPRINTF 1
33241 _ACEOF
33246 # Check for a broken powf implementation
33248 echo "$as_me:$LINENO: checking whether powf is broken" >&5
33249 echo $ECHO_N "checking whether powf is broken... $ECHO_C" >&6
33250 if test "${libgfor_cv_have_broken_powf+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33252 else
33254 case "${target}" in
33255 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
33256 *) libgfor_cv_have_broken_powf=no;;
33257 esac
33259 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_powf" >&5
33260 echo "${ECHO_T}$libgfor_cv_have_broken_powf" >&6
33261 if test x"$libgfor_cv_have_broken_powf" = xyes; then
33263 cat >>confdefs.h <<\_ACEOF
33264 #define HAVE_BROKEN_POWF 1
33265 _ACEOF
33270 # Check for GNU libc feenableexcept
33271 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33272 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33273 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33274 echo $ECHO_N "(cached) $ECHO_C" >&6
33275 else
33276 ac_check_lib_save_LIBS=$LIBS
33277 LIBS="-lm $LIBS"
33278 if test x$gcc_no_link = xyes; then
33279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33281 { (exit 1); exit 1; }; }
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 /* Override any gcc2 internal prototype to avoid an error. */
33291 #ifdef __cplusplus
33292 extern "C"
33293 #endif
33294 /* We use char because int might match the return type of a gcc2
33295 builtin and then its argument prototype would still apply. */
33296 char feenableexcept ();
33298 main ()
33300 feenableexcept ();
33302 return 0;
33304 _ACEOF
33305 rm -f conftest.$ac_objext conftest$ac_exeext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33307 (eval $ac_link) 2>conftest.er1
33308 ac_status=$?
33309 grep -v '^ *+' conftest.er1 >conftest.err
33310 rm -f conftest.er1
33311 cat conftest.err >&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } &&
33314 { ac_try='test -z "$ac_c_werror_flag"
33315 || test ! -s conftest.err'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33318 ac_status=$?
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; } &&
33321 { ac_try='test -s conftest$ac_exeext'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33324 ac_status=$?
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; }; then
33327 ac_cv_lib_m_feenableexcept=yes
33328 else
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33332 ac_cv_lib_m_feenableexcept=no
33334 rm -f conftest.err conftest.$ac_objext \
33335 conftest$ac_exeext conftest.$ac_ext
33336 LIBS=$ac_check_lib_save_LIBS
33338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33339 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33340 if test $ac_cv_lib_m_feenableexcept = yes; then
33341 have_feenableexcept=yes
33342 cat >>confdefs.h <<\_ACEOF
33343 #define HAVE_FEENABLEEXCEPT 1
33344 _ACEOF
33349 # Check for SysV fpsetmask
33351 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33352 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33353 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33354 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 else
33357 if test x$gcc_no_link = xyes; then
33358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33360 { (exit 1); exit 1; }; }
33362 cat >conftest.$ac_ext <<_ACEOF
33363 /* confdefs.h. */
33364 _ACEOF
33365 cat confdefs.h >>conftest.$ac_ext
33366 cat >>conftest.$ac_ext <<_ACEOF
33367 /* end confdefs.h. */
33369 #if HAVE_FLOATINGPOINT_H
33370 # include <floatingpoint.h>
33371 #endif /* HAVE_FLOATINGPOINT_H */
33372 #if HAVE_IEEEFP_H
33373 # include <ieeefp.h>
33374 #endif /* HAVE_IEEEFP_H */
33376 main ()
33378 fpsetmask(0);
33380 return 0;
33382 _ACEOF
33383 rm -f conftest.$ac_objext conftest$ac_exeext
33384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33385 (eval $ac_link) 2>conftest.er1
33386 ac_status=$?
33387 grep -v '^ *+' conftest.er1 >conftest.err
33388 rm -f conftest.er1
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } &&
33392 { ac_try='test -z "$ac_c_werror_flag"
33393 || test ! -s conftest.err'
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); }; } &&
33399 { ac_try='test -s conftest$ac_exeext'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; }; then
33405 eval "libgfor_cv_have_fpsetmask=yes"
33406 else
33407 echo "$as_me: failed program was:" >&5
33408 sed 's/^/| /' conftest.$ac_ext >&5
33410 eval "libgfor_cv_have_fpsetmask=no"
33412 rm -f conftest.err conftest.$ac_objext \
33413 conftest$ac_exeext conftest.$ac_ext
33416 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33417 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33418 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
33420 cat >>confdefs.h <<\_ACEOF
33421 #define HAVE_FPSETMASK 1
33422 _ACEOF
33427 # Check for AIX fp_trap and fp_enable
33428 echo "$as_me:$LINENO: checking for fp_trap" >&5
33429 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33430 if test "${ac_cv_func_fp_trap+set}" = set; then
33431 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 else
33433 if test x$gcc_no_link = xyes; then
33434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33436 { (exit 1); exit 1; }; }
33438 cat >conftest.$ac_ext <<_ACEOF
33439 /* confdefs.h. */
33440 _ACEOF
33441 cat confdefs.h >>conftest.$ac_ext
33442 cat >>conftest.$ac_ext <<_ACEOF
33443 /* end confdefs.h. */
33444 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33446 #define fp_trap innocuous_fp_trap
33448 /* System header to define __stub macros and hopefully few prototypes,
33449 which can conflict with char fp_trap (); below.
33450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33451 <limits.h> exists even on freestanding compilers. */
33453 #ifdef __STDC__
33454 # include <limits.h>
33455 #else
33456 # include <assert.h>
33457 #endif
33459 #undef fp_trap
33461 /* Override any gcc2 internal prototype to avoid an error. */
33462 #ifdef __cplusplus
33463 extern "C"
33465 #endif
33466 /* We use char because int might match the return type of a gcc2
33467 builtin and then its argument prototype would still apply. */
33468 char fp_trap ();
33469 /* The GNU C library defines this for functions which it implements
33470 to always fail with ENOSYS. Some functions are actually named
33471 something starting with __ and the normal name is an alias. */
33472 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33473 choke me
33474 #else
33475 char (*f) () = fp_trap;
33476 #endif
33477 #ifdef __cplusplus
33479 #endif
33482 main ()
33484 return f != fp_trap;
33486 return 0;
33488 _ACEOF
33489 rm -f conftest.$ac_objext conftest$ac_exeext
33490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33491 (eval $ac_link) 2>conftest.er1
33492 ac_status=$?
33493 grep -v '^ *+' conftest.er1 >conftest.err
33494 rm -f conftest.er1
33495 cat conftest.err >&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } &&
33498 { ac_try='test -z "$ac_c_werror_flag"
33499 || test ! -s conftest.err'
33500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33501 (eval $ac_try) 2>&5
33502 ac_status=$?
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); }; } &&
33505 { ac_try='test -s conftest$ac_exeext'
33506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33507 (eval $ac_try) 2>&5
33508 ac_status=$?
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); }; }; then
33511 ac_cv_func_fp_trap=yes
33512 else
33513 echo "$as_me: failed program was:" >&5
33514 sed 's/^/| /' conftest.$ac_ext >&5
33516 ac_cv_func_fp_trap=no
33518 rm -f conftest.err conftest.$ac_objext \
33519 conftest$ac_exeext conftest.$ac_ext
33521 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33522 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33523 if test $ac_cv_func_fp_trap = yes; then
33524 have_fp_trap=yes
33525 cat >>confdefs.h <<\_ACEOF
33526 #define HAVE_FP_TRAP 1
33527 _ACEOF
33531 echo "$as_me:$LINENO: checking for fp_enable" >&5
33532 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33533 if test "${ac_cv_func_fp_enable+set}" = set; then
33534 echo $ECHO_N "(cached) $ECHO_C" >&6
33535 else
33536 if test x$gcc_no_link = xyes; then
33537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33539 { (exit 1); exit 1; }; }
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33549 #define fp_enable innocuous_fp_enable
33551 /* System header to define __stub macros and hopefully few prototypes,
33552 which can conflict with char fp_enable (); below.
33553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33554 <limits.h> exists even on freestanding compilers. */
33556 #ifdef __STDC__
33557 # include <limits.h>
33558 #else
33559 # include <assert.h>
33560 #endif
33562 #undef fp_enable
33564 /* Override any gcc2 internal prototype to avoid an error. */
33565 #ifdef __cplusplus
33566 extern "C"
33568 #endif
33569 /* We use char because int might match the return type of a gcc2
33570 builtin and then its argument prototype would still apply. */
33571 char fp_enable ();
33572 /* The GNU C library defines this for functions which it implements
33573 to always fail with ENOSYS. Some functions are actually named
33574 something starting with __ and the normal name is an alias. */
33575 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33576 choke me
33577 #else
33578 char (*f) () = fp_enable;
33579 #endif
33580 #ifdef __cplusplus
33582 #endif
33585 main ()
33587 return f != fp_enable;
33589 return 0;
33591 _ACEOF
33592 rm -f conftest.$ac_objext conftest$ac_exeext
33593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33594 (eval $ac_link) 2>conftest.er1
33595 ac_status=$?
33596 grep -v '^ *+' conftest.er1 >conftest.err
33597 rm -f conftest.er1
33598 cat conftest.err >&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); } &&
33601 { ac_try='test -z "$ac_c_werror_flag"
33602 || test ! -s conftest.err'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33605 ac_status=$?
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; } &&
33608 { ac_try='test -s conftest$ac_exeext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 ac_cv_func_fp_enable=yes
33615 else
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.$ac_ext >&5
33619 ac_cv_func_fp_enable=no
33621 rm -f conftest.err conftest.$ac_objext \
33622 conftest$ac_exeext conftest.$ac_ext
33624 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33625 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33626 if test $ac_cv_func_fp_enable = yes; then
33627 have_fp_enable=yes
33628 cat >>confdefs.h <<\_ACEOF
33629 #define HAVE_FP_ENABLE 1
33630 _ACEOF
33635 # Runs configure.host to set up necessary host-dependent shell variables.
33636 # We then display a message about it, and propagate them through the
33637 # build chain.
33638 . ${srcdir}/configure.host
33639 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33640 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33641 FPU_HOST_HEADER=config/${fpu_host}.h
33644 # Check out attribute support.
33646 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33647 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33648 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33649 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 else
33652 save_CFLAGS="$CFLAGS"
33653 CFLAGS="$CFLAGS -Werror"
33654 cat >conftest.$ac_ext <<_ACEOF
33655 /* confdefs.h. */
33656 _ACEOF
33657 cat confdefs.h >>conftest.$ac_ext
33658 cat >>conftest.$ac_ext <<_ACEOF
33659 /* end confdefs.h. */
33660 void __attribute__((visibility("hidden"))) foo(void) { }
33662 main ()
33666 return 0;
33668 _ACEOF
33669 rm -f conftest.$ac_objext
33670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33671 (eval $ac_compile) 2>conftest.er1
33672 ac_status=$?
33673 grep -v '^ *+' conftest.er1 >conftest.err
33674 rm -f conftest.er1
33675 cat conftest.err >&5
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); } &&
33678 { ac_try='test -z "$ac_c_werror_flag"
33679 || test ! -s conftest.err'
33680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33681 (eval $ac_try) 2>&5
33682 ac_status=$?
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); }; } &&
33685 { ac_try='test -s conftest.$ac_objext'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33688 ac_status=$?
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; }; then
33691 libgfor_cv_have_attribute_visibility=yes
33692 else
33693 echo "$as_me: failed program was:" >&5
33694 sed 's/^/| /' conftest.$ac_ext >&5
33696 libgfor_cv_have_attribute_visibility=no
33698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33699 CFLAGS="$save_CFLAGS"
33701 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33702 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33703 if test $libgfor_cv_have_attribute_visibility = yes; then
33705 cat >>confdefs.h <<\_ACEOF
33706 #define HAVE_ATTRIBUTE_VISIBILITY 1
33707 _ACEOF
33711 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33712 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33713 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33714 echo $ECHO_N "(cached) $ECHO_C" >&6
33715 else
33717 save_CFLAGS="$CFLAGS"
33718 CFLAGS="$CFLAGS -Werror"
33719 cat >conftest.$ac_ext <<_ACEOF
33720 /* confdefs.h. */
33721 _ACEOF
33722 cat confdefs.h >>conftest.$ac_ext
33723 cat >>conftest.$ac_ext <<_ACEOF
33724 /* end confdefs.h. */
33725 void __attribute__((dllexport)) foo(void) { }
33727 main ()
33731 return 0;
33733 _ACEOF
33734 rm -f conftest.$ac_objext
33735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33736 (eval $ac_compile) 2>conftest.er1
33737 ac_status=$?
33738 grep -v '^ *+' conftest.er1 >conftest.err
33739 rm -f conftest.er1
33740 cat conftest.err >&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } &&
33743 { ac_try='test -z "$ac_c_werror_flag"
33744 || test ! -s conftest.err'
33745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33746 (eval $ac_try) 2>&5
33747 ac_status=$?
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); }; } &&
33750 { ac_try='test -s conftest.$ac_objext'
33751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33752 (eval $ac_try) 2>&5
33753 ac_status=$?
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); }; }; then
33756 libgfor_cv_have_attribute_dllexport=yes
33757 else
33758 echo "$as_me: failed program was:" >&5
33759 sed 's/^/| /' conftest.$ac_ext >&5
33761 libgfor_cv_have_attribute_dllexport=no
33763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33764 CFLAGS="$save_CFLAGS"
33766 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33767 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33768 if test $libgfor_cv_have_attribute_dllexport = yes; then
33770 cat >>confdefs.h <<\_ACEOF
33771 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33772 _ACEOF
33776 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33777 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33778 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33779 echo $ECHO_N "(cached) $ECHO_C" >&6
33780 else
33782 if test x$gcc_no_link = xyes; then
33783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33785 { (exit 1); exit 1; }; }
33787 cat >conftest.$ac_ext <<_ACEOF
33788 /* confdefs.h. */
33789 _ACEOF
33790 cat confdefs.h >>conftest.$ac_ext
33791 cat >>conftest.$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33794 void foo(void) { }
33795 extern void bar(void) __attribute__((alias("foo")));
33797 main ()
33799 bar();
33801 return 0;
33803 _ACEOF
33804 rm -f conftest.$ac_objext conftest$ac_exeext
33805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33806 (eval $ac_link) 2>conftest.er1
33807 ac_status=$?
33808 grep -v '^ *+' conftest.er1 >conftest.err
33809 rm -f conftest.er1
33810 cat conftest.err >&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); } &&
33813 { ac_try='test -z "$ac_c_werror_flag"
33814 || test ! -s conftest.err'
33815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33816 (eval $ac_try) 2>&5
33817 ac_status=$?
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); }; } &&
33820 { ac_try='test -s conftest$ac_exeext'
33821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33822 (eval $ac_try) 2>&5
33823 ac_status=$?
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; }; then
33826 libgfor_cv_have_attribute_alias=yes
33827 else
33828 echo "$as_me: failed program was:" >&5
33829 sed 's/^/| /' conftest.$ac_ext >&5
33831 libgfor_cv_have_attribute_alias=no
33833 rm -f conftest.err conftest.$ac_objext \
33834 conftest$ac_exeext conftest.$ac_ext
33836 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33837 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33838 if test $libgfor_cv_have_attribute_alias = yes; then
33840 cat >>confdefs.h <<\_ACEOF
33841 #define HAVE_ATTRIBUTE_ALIAS 1
33842 _ACEOF
33846 # Check out sync builtins support.
33848 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33849 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33850 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33851 echo $ECHO_N "(cached) $ECHO_C" >&6
33852 else
33854 if test x$gcc_no_link = xyes; then
33855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33857 { (exit 1); exit 1; }; }
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h. */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865 int foovar = 0;
33867 main ()
33870 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33871 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33873 return 0;
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try='test -z "$ac_c_werror_flag"
33886 || test ! -s conftest.err'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33889 ac_status=$?
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; } &&
33892 { ac_try='test -s conftest$ac_exeext'
33893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33894 (eval $ac_try) 2>&5
33895 ac_status=$?
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); }; }; then
33898 libgfor_cv_have_sync_fetch_and_add=yes
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33903 libgfor_cv_have_sync_fetch_and_add=no
33905 rm -f conftest.err conftest.$ac_objext \
33906 conftest$ac_exeext conftest.$ac_ext
33908 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33909 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33910 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33912 cat >>confdefs.h <<\_ACEOF
33913 #define HAVE_SYNC_FETCH_AND_ADD 1
33914 _ACEOF
33918 # Check out thread support.
33920 echo "$as_me:$LINENO: checking configured target thread model" >&5
33921 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33922 if test "${libgfor_cv_target_thread_file+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33926 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33928 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33929 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33931 if test $libgfor_cv_target_thread_file != single; then
33933 cat >>confdefs.h <<\_ACEOF
33934 #define HAVE_GTHR_DEFAULT 1
33935 _ACEOF
33939 # Check out #pragma weak.
33941 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33942 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33943 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33944 echo $ECHO_N "(cached) $ECHO_C" >&6
33945 else
33947 gfor_save_CFLAGS="$CFLAGS"
33948 CFLAGS="$CFLAGS -Wunknown-pragmas"
33949 cat >conftest.$ac_ext <<_ACEOF
33950 /* confdefs.h. */
33951 _ACEOF
33952 cat confdefs.h >>conftest.$ac_ext
33953 cat >>conftest.$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33955 void foo (void);
33956 #pragma weak foo
33958 main ()
33960 if (foo) foo ();
33962 return 0;
33964 _ACEOF
33965 rm -f conftest.$ac_objext
33966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33967 (eval $ac_compile) 2>conftest.er1
33968 ac_status=$?
33969 grep -v '^ *+' conftest.er1 >conftest.err
33970 rm -f conftest.er1
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } &&
33974 { ac_try='test -z "$ac_c_werror_flag"
33975 || test ! -s conftest.err'
33976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33977 (eval $ac_try) 2>&5
33978 ac_status=$?
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); }; } &&
33981 { ac_try='test -s conftest.$ac_objext'
33982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33983 (eval $ac_try) 2>&5
33984 ac_status=$?
33985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33986 (exit $ac_status); }; }; then
33987 libgfor_cv_have_pragma_weak=yes
33988 else
33989 echo "$as_me: failed program was:" >&5
33990 sed 's/^/| /' conftest.$ac_ext >&5
33992 libgfor_cv_have_pragma_weak=no
33994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33996 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33997 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33998 if test $libgfor_cv_have_pragma_weak = yes; then
34000 cat >>confdefs.h <<\_ACEOF
34001 #define SUPPORTS_WEAK 1
34002 _ACEOF
34005 case "$host" in
34006 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
34008 cat >>confdefs.h <<\_ACEOF
34009 #define GTHREAD_USE_WEAK 0
34010 _ACEOF
34013 esac
34015 # Various other checks on target
34017 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
34018 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
34019 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
34020 echo $ECHO_N "(cached) $ECHO_C" >&6
34021 else
34023 if test "$cross_compiling" = yes; then
34025 case "${target}" in
34026 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
34027 *) libgfor_cv_have_unlink_open_file=yes;;
34028 esac
34029 else
34030 cat >conftest.$ac_ext <<_ACEOF
34031 /* confdefs.h. */
34032 _ACEOF
34033 cat confdefs.h >>conftest.$ac_ext
34034 cat >>conftest.$ac_ext <<_ACEOF
34035 /* end confdefs.h. */
34037 #include <errno.h>
34038 #include <fcntl.h>
34039 #include <unistd.h>
34040 #include <sys/stat.h>
34042 int main ()
34044 int fd;
34046 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
34047 if (fd <= 0)
34048 return 0;
34049 if (unlink ("testfile") == -1)
34050 return 1;
34051 write (fd, "This is a test\n", 15);
34052 close (fd);
34054 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34055 return 0;
34056 else
34057 return 1;
34059 _ACEOF
34060 rm -f conftest$ac_exeext
34061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34062 (eval $ac_link) 2>&5
34063 ac_status=$?
34064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
34071 libgfor_cv_have_unlink_open_file=yes
34072 else
34073 echo "$as_me: program exited with status $ac_status" >&5
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.$ac_ext >&5
34077 ( exit $ac_status )
34078 libgfor_cv_have_unlink_open_file=no
34080 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34083 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34084 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34085 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
34087 cat >>confdefs.h <<\_ACEOF
34088 #define HAVE_UNLINK_OPEN_FILE 1
34089 _ACEOF
34093 # Check whether line terminator is LF or CRLF
34095 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34096 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34097 if test "${libgfor_cv_have_crlf+set}" = set; then
34098 echo $ECHO_N "(cached) $ECHO_C" >&6
34099 else
34101 if test "$cross_compiling" = yes; then
34103 case "${target}" in
34104 *mingw*) libgfor_cv_have_crlf=yes ;;
34105 *) libgfor_cv_have_crlf=no;;
34106 esac
34107 else
34108 cat >conftest.$ac_ext <<_ACEOF
34109 /* confdefs.h. */
34110 _ACEOF
34111 cat confdefs.h >>conftest.$ac_ext
34112 cat >>conftest.$ac_ext <<_ACEOF
34113 /* end confdefs.h. */
34115 /* This test program should exit with status 0 if system uses a CRLF as
34116 line terminator, and status 1 otherwise.
34117 Since it is used to check for mingw systems, and should return 0 in any
34118 other case, in case of a failure we will not use CRLF. */
34119 #include <sys/stat.h>
34120 #include <stdlib.h>
34121 #include <fcntl.h>
34122 #include <stdio.h>
34124 int main ()
34126 #ifndef O_BINARY
34127 exit(1);
34128 #else
34129 int fd, bytes;
34130 char buff[5];
34132 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34133 if (fd < 0)
34134 exit(1);
34135 if (write (fd, "\n", 1) < 0)
34136 perror ("write");
34138 close (fd);
34140 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34141 exit(1);
34142 bytes = read (fd, buff, 5);
34143 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34144 exit(0);
34145 else
34146 exit(1);
34147 #endif
34149 _ACEOF
34150 rm -f conftest$ac_exeext
34151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34152 (eval $ac_link) 2>&5
34153 ac_status=$?
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157 (eval $ac_try) 2>&5
34158 ac_status=$?
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); }; }; then
34161 libgfor_cv_have_crlf=yes
34162 else
34163 echo "$as_me: program exited with status $ac_status" >&5
34164 echo "$as_me: failed program was:" >&5
34165 sed 's/^/| /' conftest.$ac_ext >&5
34167 ( exit $ac_status )
34168 libgfor_cv_have_crlf=no
34170 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34173 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34174 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34175 if test x"$libgfor_cv_have_crlf" = xyes; then
34177 cat >>confdefs.h <<\_ACEOF
34178 #define HAVE_CRLF 1
34179 _ACEOF
34183 cat >confcache <<\_ACEOF
34184 # This file is a shell script that caches the results of configure
34185 # tests run on this system so they can be shared between configure
34186 # scripts and configure runs, see configure's option --config-cache.
34187 # It is not useful on other systems. If it contains results you don't
34188 # want to keep, you may remove or edit it.
34190 # config.status only pays attention to the cache file if you give it
34191 # the --recheck option to rerun configure.
34193 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34194 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34195 # following values.
34197 _ACEOF
34199 # The following way of writing the cache mishandles newlines in values,
34200 # but we know of no workaround that is simple, portable, and efficient.
34201 # So, don't put newlines in cache variables' values.
34202 # Ultrix sh set writes to stderr and can't be redirected directly,
34203 # and sets the high bit in the cache file unless we assign to the vars.
34205 (set) 2>&1 |
34206 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34207 *ac_space=\ *)
34208 # `set' does not quote correctly, so add quotes (double-quote
34209 # substitution turns \\\\ into \\, and sed turns \\ into \).
34210 sed -n \
34211 "s/'/'\\\\''/g;
34212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34215 # `set' quotes correctly as required by POSIX, so do not add quotes.
34216 sed -n \
34217 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34219 esac;
34221 sed '
34222 t clear
34223 : clear
34224 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34225 t end
34226 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34227 : end' >>confcache
34228 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34229 if test -w $cache_file; then
34230 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34231 cat confcache >$cache_file
34232 else
34233 echo "not updating unwritable cache $cache_file"
34236 rm -f confcache
34238 if test ${multilib} = yes; then
34239 multilib_arg="--enable-multilib"
34240 else
34241 multilib_arg=
34244 # Write our Makefile.
34245 ac_config_files="$ac_config_files Makefile"
34247 cat >confcache <<\_ACEOF
34248 # This file is a shell script that caches the results of configure
34249 # tests run on this system so they can be shared between configure
34250 # scripts and configure runs, see configure's option --config-cache.
34251 # It is not useful on other systems. If it contains results you don't
34252 # want to keep, you may remove or edit it.
34254 # config.status only pays attention to the cache file if you give it
34255 # the --recheck option to rerun configure.
34257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34259 # following values.
34261 _ACEOF
34263 # The following way of writing the cache mishandles newlines in values,
34264 # but we know of no workaround that is simple, portable, and efficient.
34265 # So, don't put newlines in cache variables' values.
34266 # Ultrix sh set writes to stderr and can't be redirected directly,
34267 # and sets the high bit in the cache file unless we assign to the vars.
34269 (set) 2>&1 |
34270 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34271 *ac_space=\ *)
34272 # `set' does not quote correctly, so add quotes (double-quote
34273 # substitution turns \\\\ into \\, and sed turns \\ into \).
34274 sed -n \
34275 "s/'/'\\\\''/g;
34276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34279 # `set' quotes correctly as required by POSIX, so do not add quotes.
34280 sed -n \
34281 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34283 esac;
34285 sed '
34286 t clear
34287 : clear
34288 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34289 t end
34290 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34291 : end' >>confcache
34292 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34293 if test -w $cache_file; then
34294 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34295 cat confcache >$cache_file
34296 else
34297 echo "not updating unwritable cache $cache_file"
34300 rm -f confcache
34302 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34303 # Let make expand exec_prefix.
34304 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34306 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34307 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34308 # trailing colons and then remove the whole line if VPATH becomes empty
34309 # (actually we leave an empty line to preserve line numbers).
34310 if test "x$srcdir" = x.; then
34311 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34312 s/:*\$(srcdir):*/:/;
34313 s/:*\${srcdir}:*/:/;
34314 s/:*@srcdir@:*/:/;
34315 s/^\([^=]*=[ ]*\):*/\1/;
34316 s/:*$//;
34317 s/^[^=]*=[ ]*$//;
34321 DEFS=-DHAVE_CONFIG_H
34323 ac_libobjs=
34324 ac_ltlibobjs=
34325 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34326 # 1. Remove the extension, and $U if already installed.
34327 ac_i=`echo "$ac_i" |
34328 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34329 # 2. Add them.
34330 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34331 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34332 done
34333 LIBOBJS=$ac_libobjs
34335 LTLIBOBJS=$ac_ltlibobjs
34338 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34339 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34340 Usually this means the macro was only invoked conditionally." >&5
34341 echo "$as_me: error: conditional \"onestep\" was never defined.
34342 Usually this means the macro was only invoked conditionally." >&2;}
34343 { (exit 1); exit 1; }; }
34345 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34346 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34347 Usually this means the macro was only invoked conditionally." >&5
34348 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34349 Usually this means the macro was only invoked conditionally." >&2;}
34350 { (exit 1); exit 1; }; }
34352 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34353 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34354 Usually this means the macro was only invoked conditionally." >&5
34355 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34356 Usually this means the macro was only invoked conditionally." >&2;}
34357 { (exit 1); exit 1; }; }
34359 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34360 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34361 Usually this means the macro was only invoked conditionally." >&5
34362 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34363 Usually this means the macro was only invoked conditionally." >&2;}
34364 { (exit 1); exit 1; }; }
34366 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34367 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34368 Usually this means the macro was only invoked conditionally." >&5
34369 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34370 Usually this means the macro was only invoked conditionally." >&2;}
34371 { (exit 1); exit 1; }; }
34374 : ${CONFIG_STATUS=./config.status}
34375 ac_clean_files_save=$ac_clean_files
34376 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34377 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34378 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34379 cat >$CONFIG_STATUS <<_ACEOF
34380 #! $SHELL
34381 # Generated by $as_me.
34382 # Run this file to recreate the current configuration.
34383 # Compiler output produced by configure, useful for debugging
34384 # configure, is in config.log if it exists.
34386 debug=false
34387 ac_cs_recheck=false
34388 ac_cs_silent=false
34389 SHELL=\${CONFIG_SHELL-$SHELL}
34390 _ACEOF
34392 cat >>$CONFIG_STATUS <<\_ACEOF
34393 ## --------------------- ##
34394 ## M4sh Initialization. ##
34395 ## --------------------- ##
34397 # Be Bourne compatible
34398 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34399 emulate sh
34400 NULLCMD=:
34401 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34402 # is contrary to our usage. Disable this feature.
34403 alias -g '${1+"$@"}'='"$@"'
34404 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34405 set -o posix
34407 DUALCASE=1; export DUALCASE # for MKS sh
34409 # Support unset when possible.
34410 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34411 as_unset=unset
34412 else
34413 as_unset=false
34417 # Work around bugs in pre-3.0 UWIN ksh.
34418 $as_unset ENV MAIL MAILPATH
34419 PS1='$ '
34420 PS2='> '
34421 PS4='+ '
34423 # NLS nuisances.
34424 for as_var in \
34425 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34426 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34427 LC_TELEPHONE LC_TIME
34429 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34430 eval $as_var=C; export $as_var
34431 else
34432 $as_unset $as_var
34434 done
34436 # Required to use basename.
34437 if expr a : '\(a\)' >/dev/null 2>&1; then
34438 as_expr=expr
34439 else
34440 as_expr=false
34443 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34444 as_basename=basename
34445 else
34446 as_basename=false
34450 # Name of the executable.
34451 as_me=`$as_basename "$0" ||
34452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34453 X"$0" : 'X\(//\)$' \| \
34454 X"$0" : 'X\(/\)$' \| \
34455 . : '\(.\)' 2>/dev/null ||
34456 echo X/"$0" |
34457 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34458 /^X\/\(\/\/\)$/{ s//\1/; q; }
34459 /^X\/\(\/\).*/{ s//\1/; q; }
34460 s/.*/./; q'`
34463 # PATH needs CR, and LINENO needs CR and PATH.
34464 # Avoid depending upon Character Ranges.
34465 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34466 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34467 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34468 as_cr_digits='0123456789'
34469 as_cr_alnum=$as_cr_Letters$as_cr_digits
34471 # The user is always right.
34472 if test "${PATH_SEPARATOR+set}" != set; then
34473 echo "#! /bin/sh" >conf$$.sh
34474 echo "exit 0" >>conf$$.sh
34475 chmod +x conf$$.sh
34476 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34477 PATH_SEPARATOR=';'
34478 else
34479 PATH_SEPARATOR=:
34481 rm -f conf$$.sh
34485 as_lineno_1=$LINENO
34486 as_lineno_2=$LINENO
34487 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34488 test "x$as_lineno_1" != "x$as_lineno_2" &&
34489 test "x$as_lineno_3" = "x$as_lineno_2" || {
34490 # Find who we are. Look in the path if we contain no path at all
34491 # relative or not.
34492 case $0 in
34493 *[\\/]* ) as_myself=$0 ;;
34494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34495 for as_dir in $PATH
34497 IFS=$as_save_IFS
34498 test -z "$as_dir" && as_dir=.
34499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34500 done
34503 esac
34504 # We did not find ourselves, most probably we were run as `sh COMMAND'
34505 # in which case we are not to be found in the path.
34506 if test "x$as_myself" = x; then
34507 as_myself=$0
34509 if test ! -f "$as_myself"; then
34510 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34511 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34512 { (exit 1); exit 1; }; }
34514 case $CONFIG_SHELL in
34516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34517 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34519 IFS=$as_save_IFS
34520 test -z "$as_dir" && as_dir=.
34521 for as_base in sh bash ksh sh5; do
34522 case $as_dir in
34524 if ("$as_dir/$as_base" -c '
34525 as_lineno_1=$LINENO
34526 as_lineno_2=$LINENO
34527 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34528 test "x$as_lineno_1" != "x$as_lineno_2" &&
34529 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34530 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34531 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34532 CONFIG_SHELL=$as_dir/$as_base
34533 export CONFIG_SHELL
34534 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34535 fi;;
34536 esac
34537 done
34538 done
34540 esac
34542 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34543 # uniformly replaced by the line number. The first 'sed' inserts a
34544 # line-number line before each line; the second 'sed' does the real
34545 # work. The second script uses 'N' to pair each line-number line
34546 # with the numbered line, and appends trailing '-' during
34547 # substitution so that $LINENO is not a special case at line end.
34548 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34549 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34550 sed '=' <$as_myself |
34551 sed '
34553 s,$,-,
34554 : loop
34555 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34556 t loop
34557 s,-$,,
34558 s,^['$as_cr_digits']*\n,,
34559 ' >$as_me.lineno &&
34560 chmod +x $as_me.lineno ||
34561 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34562 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34563 { (exit 1); exit 1; }; }
34565 # Don't try to exec as it changes $[0], causing all sort of problems
34566 # (the dirname of $[0] is not the place where we might find the
34567 # original and so on. Autoconf is especially sensible to this).
34568 . ./$as_me.lineno
34569 # Exit status is that of the last command.
34570 exit
34574 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34575 *c*,-n*) ECHO_N= ECHO_C='
34576 ' ECHO_T=' ' ;;
34577 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34578 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34579 esac
34581 if expr a : '\(a\)' >/dev/null 2>&1; then
34582 as_expr=expr
34583 else
34584 as_expr=false
34587 rm -f conf$$ conf$$.exe conf$$.file
34588 echo >conf$$.file
34589 if ln -s conf$$.file conf$$ 2>/dev/null; then
34590 # We could just check for DJGPP; but this test a) works b) is more generic
34591 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34592 if test -f conf$$.exe; then
34593 # Don't use ln at all; we don't have any links
34594 as_ln_s='cp -p'
34595 else
34596 as_ln_s='ln -s'
34598 elif ln conf$$.file conf$$ 2>/dev/null; then
34599 as_ln_s=ln
34600 else
34601 as_ln_s='cp -p'
34603 rm -f conf$$ conf$$.exe conf$$.file
34605 if mkdir -p . 2>/dev/null; then
34606 as_mkdir_p=:
34607 else
34608 test -d ./-p && rmdir ./-p
34609 as_mkdir_p=false
34612 as_executable_p="test -f"
34614 # Sed expression to map a string onto a valid CPP name.
34615 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34617 # Sed expression to map a string onto a valid variable name.
34618 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34621 # IFS
34622 # We need space, tab and new line, in precisely that order.
34623 as_nl='
34625 IFS=" $as_nl"
34627 # CDPATH.
34628 $as_unset CDPATH
34630 exec 6>&1
34632 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34633 # report actual input values of CONFIG_FILES etc. instead of their
34634 # values after options handling. Logging --version etc. is OK.
34635 exec 5>>config.log
34637 echo
34638 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34639 ## Running $as_me. ##
34640 _ASBOX
34641 } >&5
34642 cat >&5 <<_CSEOF
34644 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34645 generated by GNU Autoconf 2.59. Invocation command line was
34647 CONFIG_FILES = $CONFIG_FILES
34648 CONFIG_HEADERS = $CONFIG_HEADERS
34649 CONFIG_LINKS = $CONFIG_LINKS
34650 CONFIG_COMMANDS = $CONFIG_COMMANDS
34651 $ $0 $@
34653 _CSEOF
34654 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34655 echo >&5
34656 _ACEOF
34658 # Files that config.status was made for.
34659 if test -n "$ac_config_files"; then
34660 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34663 if test -n "$ac_config_headers"; then
34664 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34667 if test -n "$ac_config_links"; then
34668 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34671 if test -n "$ac_config_commands"; then
34672 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34675 cat >>$CONFIG_STATUS <<\_ACEOF
34677 ac_cs_usage="\
34678 \`$as_me' instantiates files from templates according to the
34679 current configuration.
34681 Usage: $0 [OPTIONS] [FILE]...
34683 -h, --help print this help, then exit
34684 -V, --version print version number, then exit
34685 -q, --quiet do not print progress messages
34686 -d, --debug don't remove temporary files
34687 --recheck update $as_me by reconfiguring in the same conditions
34688 --file=FILE[:TEMPLATE]
34689 instantiate the configuration file FILE
34690 --header=FILE[:TEMPLATE]
34691 instantiate the configuration header FILE
34693 Configuration files:
34694 $config_files
34696 Configuration headers:
34697 $config_headers
34699 Configuration commands:
34700 $config_commands
34702 Report bugs to <bug-autoconf@gnu.org>."
34703 _ACEOF
34705 cat >>$CONFIG_STATUS <<_ACEOF
34706 ac_cs_version="\\
34707 GNU Fortran Runtime Library config.status 0.3
34708 configured by $0, generated by GNU Autoconf 2.59,
34709 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34711 Copyright (C) 2003 Free Software Foundation, Inc.
34712 This config.status script is free software; the Free Software Foundation
34713 gives unlimited permission to copy, distribute and modify it."
34714 srcdir=$srcdir
34715 INSTALL="$INSTALL"
34716 _ACEOF
34718 cat >>$CONFIG_STATUS <<\_ACEOF
34719 # If no file are specified by the user, then we need to provide default
34720 # value. By we need to know if files were specified by the user.
34721 ac_need_defaults=:
34722 while test $# != 0
34724 case $1 in
34725 --*=*)
34726 ac_option=`expr "x$1" : 'x\([^=]*\)='`
34727 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34728 ac_shift=:
34731 ac_option=$1
34732 ac_optarg=$2
34733 ac_shift=shift
34735 *) # This is not an option, so the user has probably given explicit
34736 # arguments.
34737 ac_option=$1
34738 ac_need_defaults=false;;
34739 esac
34741 case $ac_option in
34742 # Handling of the options.
34743 _ACEOF
34744 cat >>$CONFIG_STATUS <<\_ACEOF
34745 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34746 ac_cs_recheck=: ;;
34747 --version | --vers* | -V )
34748 echo "$ac_cs_version"; exit 0 ;;
34749 --he | --h)
34750 # Conflict between --help and --header
34751 { { echo "$as_me:$LINENO: error: ambiguous option: $1
34752 Try \`$0 --help' for more information." >&5
34753 echo "$as_me: error: ambiguous option: $1
34754 Try \`$0 --help' for more information." >&2;}
34755 { (exit 1); exit 1; }; };;
34756 --help | --hel | -h )
34757 echo "$ac_cs_usage"; exit 0 ;;
34758 --debug | --d* | -d )
34759 debug=: ;;
34760 --file | --fil | --fi | --f )
34761 $ac_shift
34762 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34763 ac_need_defaults=false;;
34764 --header | --heade | --head | --hea )
34765 $ac_shift
34766 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34767 ac_need_defaults=false;;
34768 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34769 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34770 ac_cs_silent=: ;;
34772 # This is an error.
34773 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34774 Try \`$0 --help' for more information." >&5
34775 echo "$as_me: error: unrecognized option: $1
34776 Try \`$0 --help' for more information." >&2;}
34777 { (exit 1); exit 1; }; } ;;
34779 *) ac_config_targets="$ac_config_targets $1" ;;
34781 esac
34782 shift
34783 done
34785 ac_configure_extra_args=
34787 if $ac_cs_silent; then
34788 exec 6>/dev/null
34789 ac_configure_extra_args="$ac_configure_extra_args --silent"
34792 _ACEOF
34793 cat >>$CONFIG_STATUS <<_ACEOF
34794 if \$ac_cs_recheck; then
34795 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34796 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34799 _ACEOF
34801 cat >>$CONFIG_STATUS <<_ACEOF
34803 # INIT-COMMANDS section.
34807 srcdir="$srcdir"
34808 host="$host"
34809 target="$target"
34810 with_multisubdir="$with_multisubdir"
34811 with_multisrctop="$with_multisrctop"
34812 with_target_subdir="$with_target_subdir"
34813 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34814 multi_basedir="$multi_basedir"
34815 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34816 CC="$CC"
34817 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34820 # The HP-UX ksh and POSIX shell print the target directory to stdout
34821 # if CDPATH is set.
34822 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34824 sed_quote_subst='$sed_quote_subst'
34825 double_quote_subst='$double_quote_subst'
34826 delay_variable_subst='$delay_variable_subst'
34827 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34828 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34829 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34830 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34831 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34832 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34833 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34834 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34835 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34836 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34837 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34838 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34839 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34840 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34841 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34842 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34843 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34844 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34845 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34846 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34847 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34848 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34849 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34850 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34851 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34852 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34853 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34854 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34855 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34856 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34857 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34858 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34859 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34860 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34861 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34862 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34863 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34864 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34865 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34866 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34867 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34868 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34869 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34870 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34871 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"`'
34872 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"`'
34873 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34874 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34875 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34876 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34877 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34878 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34879 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34880 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34881 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34882 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34883 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34884 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34885 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34886 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34887 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34888 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34889 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34890 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34891 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34892 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34893 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34894 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34895 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34896 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34897 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34898 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34899 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34900 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34901 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34902 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34903 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34904 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34905 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34906 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34907 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34908 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34909 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34910 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34911 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34912 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34913 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34914 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34915 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34916 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34917 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34918 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34919 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34920 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34921 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34922 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34923 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34924 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34925 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34926 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34927 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34928 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34929 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34930 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34931 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34932 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34933 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34934 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34935 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34936 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34937 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34938 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34939 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34940 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34941 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34942 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34943 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34944 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34945 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
34946 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34947 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34948 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34949 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34950 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34951 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34952 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34953 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34954 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34955 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34956 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34957 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34958 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34959 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34960 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34961 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34962 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34963 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34964 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34965 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34966 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34967 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34968 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34969 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34970 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34971 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34972 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34973 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34974 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34975 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34976 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34977 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34978 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34979 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34980 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34981 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34982 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34983 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34984 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34985 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34986 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34987 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34988 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34989 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34990 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34991 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34992 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34993 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34994 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34995 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34996 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34997 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34999 LTCC='$LTCC'
35000 LTCFLAGS='$LTCFLAGS'
35001 compiler='$compiler_DEFAULT'
35003 # Quote evaled strings.
35004 for var in SED \
35005 GREP \
35006 EGREP \
35007 FGREP \
35008 LD \
35009 NM \
35010 LN_S \
35011 lt_SP2NL \
35012 lt_NL2SP \
35013 reload_flag \
35014 OBJDUMP \
35015 deplibs_check_method \
35016 file_magic_cmd \
35017 AR \
35018 AR_FLAGS \
35019 STRIP \
35020 RANLIB \
35021 CC \
35022 CFLAGS \
35023 compiler \
35024 lt_cv_sys_global_symbol_pipe \
35025 lt_cv_sys_global_symbol_to_cdecl \
35026 lt_cv_sys_global_symbol_to_c_name_address \
35027 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35028 SHELL \
35029 ECHO \
35030 lt_prog_compiler_no_builtin_flag \
35031 lt_prog_compiler_wl \
35032 lt_prog_compiler_pic \
35033 lt_prog_compiler_static \
35034 lt_cv_prog_compiler_c_o \
35035 need_locks \
35036 DSYMUTIL \
35037 NMEDIT \
35038 LIPO \
35039 OTOOL \
35040 OTOOL64 \
35041 shrext_cmds \
35042 export_dynamic_flag_spec \
35043 whole_archive_flag_spec \
35044 compiler_needs_object \
35045 with_gnu_ld \
35046 allow_undefined_flag \
35047 no_undefined_flag \
35048 hardcode_libdir_flag_spec \
35049 hardcode_libdir_flag_spec_ld \
35050 hardcode_libdir_separator \
35051 fix_srcfile_path \
35052 exclude_expsyms \
35053 include_expsyms \
35054 file_list_spec \
35055 variables_saved_for_relink \
35056 libname_spec \
35057 library_names_spec \
35058 soname_spec \
35059 finish_eval \
35060 old_striplib \
35061 striplib \
35062 compiler_lib_search_dirs \
35063 predep_objects \
35064 postdep_objects \
35065 predeps \
35066 postdeps \
35067 compiler_lib_search_path \
35068 LD_FC \
35069 compiler_FC \
35070 lt_prog_compiler_no_builtin_flag_FC \
35071 lt_prog_compiler_wl_FC \
35072 lt_prog_compiler_pic_FC \
35073 lt_prog_compiler_static_FC \
35074 lt_cv_prog_compiler_c_o_FC \
35075 export_dynamic_flag_spec_FC \
35076 whole_archive_flag_spec_FC \
35077 compiler_needs_object_FC \
35078 with_gnu_ld_FC \
35079 allow_undefined_flag_FC \
35080 no_undefined_flag_FC \
35081 hardcode_libdir_flag_spec_FC \
35082 hardcode_libdir_flag_spec_ld_FC \
35083 hardcode_libdir_separator_FC \
35084 fix_srcfile_path_FC \
35085 exclude_expsyms_FC \
35086 include_expsyms_FC \
35087 file_list_spec_FC \
35088 compiler_lib_search_dirs_FC \
35089 predep_objects_FC \
35090 postdep_objects_FC \
35091 predeps_FC \
35092 postdeps_FC \
35093 compiler_lib_search_path_FC; do
35094 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35095 *[\\\\\\\`\\"\\\$]*)
35096 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35099 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35101 esac
35102 done
35104 # Double-quote double-evaled strings.
35105 for var in reload_cmds \
35106 old_postinstall_cmds \
35107 old_postuninstall_cmds \
35108 old_archive_cmds \
35109 extract_expsyms_cmds \
35110 old_archive_from_new_cmds \
35111 old_archive_from_expsyms_cmds \
35112 archive_cmds \
35113 archive_expsym_cmds \
35114 module_cmds \
35115 module_expsym_cmds \
35116 export_symbols_cmds \
35117 prelink_cmds \
35118 postinstall_cmds \
35119 postuninstall_cmds \
35120 finish_cmds \
35121 sys_lib_search_path_spec \
35122 sys_lib_dlsearch_path_spec \
35123 old_archive_cmds_FC \
35124 old_archive_from_new_cmds_FC \
35125 old_archive_from_expsyms_cmds_FC \
35126 archive_cmds_FC \
35127 archive_expsym_cmds_FC \
35128 module_cmds_FC \
35129 module_expsym_cmds_FC \
35130 export_symbols_cmds_FC \
35131 prelink_cmds_FC; do
35132 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35133 *[\\\\\\\`\\"\\\$]*)
35134 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35137 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35139 esac
35140 done
35142 # Fix-up fallback echo if it was mangled by the above quoting rules.
35143 case \$lt_ECHO in
35144 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35146 esac
35148 ac_aux_dir='$ac_aux_dir'
35149 xsi_shell='$xsi_shell'
35150 lt_shell_append='$lt_shell_append'
35152 # See if we are running on zsh, and set the options which allow our
35153 # commands through without removal of \ escapes INIT.
35154 if test -n "\${ZSH_VERSION+set}" ; then
35155 setopt NO_GLOB_SUBST
35159 PACKAGE='$PACKAGE'
35160 VERSION='$VERSION'
35161 TIMESTAMP='$TIMESTAMP'
35162 RM='$RM'
35163 ofile='$ofile'
35170 GCC="$GCC"
35171 CC="$CC"
35172 acx_cv_header_stdint="$acx_cv_header_stdint"
35173 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35174 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35175 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35176 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35177 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35178 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35179 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35180 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35181 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35182 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35183 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35184 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35185 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35188 _ACEOF
35192 cat >>$CONFIG_STATUS <<\_ACEOF
35193 for ac_config_target in $ac_config_targets
35195 case "$ac_config_target" in
35196 # Handling of arguments.
35197 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35198 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
35199 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35200 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35201 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
35202 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35203 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35204 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35205 { (exit 1); exit 1; }; };;
35206 esac
35207 done
35209 # If the user did not use the arguments to specify the items to instantiate,
35210 # then the envvar interface is used. Set only those that are not.
35211 # We use the long form for the default assignment because of an extremely
35212 # bizarre bug on SunOS 4.1.3.
35213 if $ac_need_defaults; then
35214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35216 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35219 # Have a temporary directory for convenience. Make it in the build tree
35220 # simply because there is no reason to put it here, and in addition,
35221 # creating and moving files from /tmp can sometimes cause problems.
35222 # Create a temporary directory, and hook for its removal unless debugging.
35223 $debug ||
35225 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35226 trap '{ (exit 1); exit 1; }' 1 2 13 15
35229 # Create a (secure) tmp directory for tmp files.
35232 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35233 test -n "$tmp" && test -d "$tmp"
35234 } ||
35236 tmp=./confstat$$-$RANDOM
35237 (umask 077 && mkdir $tmp)
35238 } ||
35240 echo "$me: cannot create a temporary directory in ." >&2
35241 { (exit 1); exit 1; }
35244 _ACEOF
35246 cat >>$CONFIG_STATUS <<_ACEOF
35249 # CONFIG_FILES section.
35252 # No need to generate the scripts if there are no CONFIG_FILES.
35253 # This happens for instance when ./config.status config.h
35254 if test -n "\$CONFIG_FILES"; then
35255 # Protect against being on the right side of a sed subst in config.status.
35256 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35257 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35258 s,@SHELL@,$SHELL,;t t
35259 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35260 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35261 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35262 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35263 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35264 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35265 s,@exec_prefix@,$exec_prefix,;t t
35266 s,@prefix@,$prefix,;t t
35267 s,@program_transform_name@,$program_transform_name,;t t
35268 s,@bindir@,$bindir,;t t
35269 s,@sbindir@,$sbindir,;t t
35270 s,@libexecdir@,$libexecdir,;t t
35271 s,@datadir@,$datadir,;t t
35272 s,@sysconfdir@,$sysconfdir,;t t
35273 s,@sharedstatedir@,$sharedstatedir,;t t
35274 s,@localstatedir@,$localstatedir,;t t
35275 s,@libdir@,$libdir,;t t
35276 s,@includedir@,$includedir,;t t
35277 s,@oldincludedir@,$oldincludedir,;t t
35278 s,@infodir@,$infodir,;t t
35279 s,@mandir@,$mandir,;t t
35280 s,@build_alias@,$build_alias,;t t
35281 s,@host_alias@,$host_alias,;t t
35282 s,@target_alias@,$target_alias,;t t
35283 s,@DEFS@,$DEFS,;t t
35284 s,@ECHO_C@,$ECHO_C,;t t
35285 s,@ECHO_N@,$ECHO_N,;t t
35286 s,@ECHO_T@,$ECHO_T,;t t
35287 s,@LIBS@,$LIBS,;t t
35288 s,@build@,$build,;t t
35289 s,@build_cpu@,$build_cpu,;t t
35290 s,@build_vendor@,$build_vendor,;t t
35291 s,@build_os@,$build_os,;t t
35292 s,@build_libsubdir@,$build_libsubdir,;t t
35293 s,@build_subdir@,$build_subdir,;t t
35294 s,@host_subdir@,$host_subdir,;t t
35295 s,@target_subdir@,$target_subdir,;t t
35296 s,@onestep_TRUE@,$onestep_TRUE,;t t
35297 s,@onestep_FALSE@,$onestep_FALSE,;t t
35298 s,@onestep@,$onestep,;t t
35299 s,@host@,$host,;t t
35300 s,@host_cpu@,$host_cpu,;t t
35301 s,@host_vendor@,$host_vendor,;t t
35302 s,@host_os@,$host_os,;t t
35303 s,@target@,$target,;t t
35304 s,@target_cpu@,$target_cpu,;t t
35305 s,@target_vendor@,$target_vendor,;t t
35306 s,@target_os@,$target_os,;t t
35307 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35308 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35309 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35310 s,@CYGPATH_W@,$CYGPATH_W,;t t
35311 s,@PACKAGE@,$PACKAGE,;t t
35312 s,@VERSION@,$VERSION,;t t
35313 s,@ACLOCAL@,$ACLOCAL,;t t
35314 s,@AUTOCONF@,$AUTOCONF,;t t
35315 s,@AUTOMAKE@,$AUTOMAKE,;t t
35316 s,@AUTOHEADER@,$AUTOHEADER,;t t
35317 s,@MAKEINFO@,$MAKEINFO,;t t
35318 s,@install_sh@,$install_sh,;t t
35319 s,@STRIP@,$STRIP,;t t
35320 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35321 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35322 s,@mkdir_p@,$mkdir_p,;t t
35323 s,@AWK@,$AWK,;t t
35324 s,@SET_MAKE@,$SET_MAKE,;t t
35325 s,@am__leading_dot@,$am__leading_dot,;t t
35326 s,@AMTAR@,$AMTAR,;t t
35327 s,@am__tar@,$am__tar,;t t
35328 s,@am__untar@,$am__untar,;t t
35329 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35330 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35331 s,@MAINT@,$MAINT,;t t
35332 s,@multi_basedir@,$multi_basedir,;t t
35333 s,@toolexecdir@,$toolexecdir,;t t
35334 s,@toolexeclibdir@,$toolexeclibdir,;t t
35335 s,@CC@,$CC,;t t
35336 s,@ac_ct_CC@,$ac_ct_CC,;t t
35337 s,@EXEEXT@,$EXEEXT,;t t
35338 s,@OBJEXT@,$OBJEXT,;t t
35339 s,@DEPDIR@,$DEPDIR,;t t
35340 s,@am__include@,$am__include,;t t
35341 s,@am__quote@,$am__quote,;t t
35342 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35343 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35344 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35345 s,@CCDEPMODE@,$CCDEPMODE,;t t
35346 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35347 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35348 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35349 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35350 s,@CFLAGS@,$CFLAGS,;t t
35351 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35352 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35353 s,@AS@,$AS,;t t
35354 s,@ac_ct_AS@,$ac_ct_AS,;t t
35355 s,@AR@,$AR,;t t
35356 s,@ac_ct_AR@,$ac_ct_AR,;t t
35357 s,@RANLIB@,$RANLIB,;t t
35358 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35359 s,@LIBTOOL@,$LIBTOOL,;t t
35360 s,@SED@,$SED,;t t
35361 s,@EGREP@,$EGREP,;t t
35362 s,@FGREP@,$FGREP,;t t
35363 s,@GREP@,$GREP,;t t
35364 s,@LD@,$LD,;t t
35365 s,@DUMPBIN@,$DUMPBIN,;t t
35366 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35367 s,@NM@,$NM,;t t
35368 s,@LN_S@,$LN_S,;t t
35369 s,@OBJDUMP@,$OBJDUMP,;t t
35370 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35371 s,@lt_ECHO@,$lt_ECHO,;t t
35372 s,@DSYMUTIL@,$DSYMUTIL,;t t
35373 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35374 s,@NMEDIT@,$NMEDIT,;t t
35375 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35376 s,@LIPO@,$LIPO,;t t
35377 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35378 s,@OTOOL@,$OTOOL,;t t
35379 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35380 s,@OTOOL64@,$OTOOL64,;t t
35381 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35382 s,@CPP@,$CPP,;t t
35383 s,@CPPFLAGS@,$CPPFLAGS,;t t
35384 s,@enable_shared@,$enable_shared,;t t
35385 s,@enable_static@,$enable_static,;t t
35386 s,@FC@,$FC,;t t
35387 s,@FCFLAGS@,$FCFLAGS,;t t
35388 s,@LDFLAGS@,$LDFLAGS,;t t
35389 s,@ac_ct_FC@,$ac_ct_FC,;t t
35390 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35391 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35392 s,@LIBOBJS@,$LIBOBJS,;t t
35393 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35394 CEOF
35396 _ACEOF
35398 cat >>$CONFIG_STATUS <<\_ACEOF
35399 # Split the substitutions into bite-sized pieces for seds with
35400 # small command number limits, like on Digital OSF/1 and HP-UX.
35401 ac_max_sed_lines=48
35402 ac_sed_frag=1 # Number of current file.
35403 ac_beg=1 # First line for current file.
35404 ac_end=$ac_max_sed_lines # Line after last line for current file.
35405 ac_more_lines=:
35406 ac_sed_cmds=
35407 while $ac_more_lines; do
35408 if test $ac_beg -gt 1; then
35409 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35410 else
35411 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35413 if test ! -s $tmp/subs.frag; then
35414 ac_more_lines=false
35415 else
35416 # The purpose of the label and of the branching condition is to
35417 # speed up the sed processing (if there are no `@' at all, there
35418 # is no need to browse any of the substitutions).
35419 # These are the two extra sed commands mentioned above.
35420 (echo ':t
35421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35422 if test -z "$ac_sed_cmds"; then
35423 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35424 else
35425 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35427 ac_sed_frag=`expr $ac_sed_frag + 1`
35428 ac_beg=$ac_end
35429 ac_end=`expr $ac_end + $ac_max_sed_lines`
35431 done
35432 if test -z "$ac_sed_cmds"; then
35433 ac_sed_cmds=cat
35435 fi # test -n "$CONFIG_FILES"
35437 _ACEOF
35438 cat >>$CONFIG_STATUS <<\_ACEOF
35439 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35441 case $ac_file in
35442 - | *:- | *:-:* ) # input from stdin
35443 cat >$tmp/stdin
35444 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35445 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35446 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35447 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35448 * ) ac_file_in=$ac_file.in ;;
35449 esac
35451 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35452 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35454 X"$ac_file" : 'X\(//\)[^/]' \| \
35455 X"$ac_file" : 'X\(//\)$' \| \
35456 X"$ac_file" : 'X\(/\)' \| \
35457 . : '\(.\)' 2>/dev/null ||
35458 echo X"$ac_file" |
35459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35461 /^X\(\/\/\)$/{ s//\1/; q; }
35462 /^X\(\/\).*/{ s//\1/; q; }
35463 s/.*/./; q'`
35464 { if $as_mkdir_p; then
35465 mkdir -p "$ac_dir"
35466 else
35467 as_dir="$ac_dir"
35468 as_dirs=
35469 while test ! -d "$as_dir"; do
35470 as_dirs="$as_dir $as_dirs"
35471 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35473 X"$as_dir" : 'X\(//\)[^/]' \| \
35474 X"$as_dir" : 'X\(//\)$' \| \
35475 X"$as_dir" : 'X\(/\)' \| \
35476 . : '\(.\)' 2>/dev/null ||
35477 echo X"$as_dir" |
35478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35480 /^X\(\/\/\)$/{ s//\1/; q; }
35481 /^X\(\/\).*/{ s//\1/; q; }
35482 s/.*/./; q'`
35483 done
35484 test ! -n "$as_dirs" || mkdir $as_dirs
35485 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35486 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35487 { (exit 1); exit 1; }; }; }
35489 ac_builddir=.
35491 if test "$ac_dir" != .; then
35492 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35493 # A "../" for each directory in $ac_dir_suffix.
35494 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35495 else
35496 ac_dir_suffix= ac_top_builddir=
35499 case $srcdir in
35500 .) # No --srcdir option. We are building in place.
35501 ac_srcdir=.
35502 if test -z "$ac_top_builddir"; then
35503 ac_top_srcdir=.
35504 else
35505 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35506 fi ;;
35507 [\\/]* | ?:[\\/]* ) # Absolute path.
35508 ac_srcdir=$srcdir$ac_dir_suffix;
35509 ac_top_srcdir=$srcdir ;;
35510 *) # Relative path.
35511 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35512 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35513 esac
35515 # Do not use `cd foo && pwd` to compute absolute paths, because
35516 # the directories may not exist.
35517 case `pwd` in
35518 .) ac_abs_builddir="$ac_dir";;
35520 case "$ac_dir" in
35521 .) ac_abs_builddir=`pwd`;;
35522 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35523 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35524 esac;;
35525 esac
35526 case $ac_abs_builddir in
35527 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35529 case ${ac_top_builddir}. in
35530 .) ac_abs_top_builddir=$ac_abs_builddir;;
35531 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35532 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35533 esac;;
35534 esac
35535 case $ac_abs_builddir in
35536 .) ac_abs_srcdir=$ac_srcdir;;
35538 case $ac_srcdir in
35539 .) ac_abs_srcdir=$ac_abs_builddir;;
35540 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35541 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35542 esac;;
35543 esac
35544 case $ac_abs_builddir in
35545 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35547 case $ac_top_srcdir in
35548 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35549 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35550 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35551 esac;;
35552 esac
35555 case $INSTALL in
35556 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35557 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35558 esac
35560 if test x"$ac_file" != x-; then
35561 { echo "$as_me:$LINENO: creating $ac_file" >&5
35562 echo "$as_me: creating $ac_file" >&6;}
35563 rm -f "$ac_file"
35565 # Let's still pretend it is `configure' which instantiates (i.e., don't
35566 # use $as_me), people would be surprised to read:
35567 # /* config.h. Generated by config.status. */
35568 if test x"$ac_file" = x-; then
35569 configure_input=
35570 else
35571 configure_input="$ac_file. "
35573 configure_input=$configure_input"Generated from `echo $ac_file_in |
35574 sed 's,.*/,,'` by configure."
35576 # First look for the input files in the build tree, otherwise in the
35577 # src tree.
35578 ac_file_inputs=`IFS=:
35579 for f in $ac_file_in; do
35580 case $f in
35581 -) echo $tmp/stdin ;;
35582 [\\/$]*)
35583 # Absolute (can't be DOS-style, as IFS=:)
35584 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35585 echo "$as_me: error: cannot find input file: $f" >&2;}
35586 { (exit 1); exit 1; }; }
35587 echo "$f";;
35588 *) # Relative
35589 if test -f "$f"; then
35590 # Build tree
35591 echo "$f"
35592 elif test -f "$srcdir/$f"; then
35593 # Source tree
35594 echo "$srcdir/$f"
35595 else
35596 # /dev/null tree
35597 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35598 echo "$as_me: error: cannot find input file: $f" >&2;}
35599 { (exit 1); exit 1; }; }
35600 fi;;
35601 esac
35602 done` || { (exit 1); exit 1; }
35603 _ACEOF
35604 cat >>$CONFIG_STATUS <<_ACEOF
35605 sed "$ac_vpsub
35606 $extrasub
35607 _ACEOF
35608 cat >>$CONFIG_STATUS <<\_ACEOF
35610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35611 s,@configure_input@,$configure_input,;t t
35612 s,@srcdir@,$ac_srcdir,;t t
35613 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35614 s,@top_srcdir@,$ac_top_srcdir,;t t
35615 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35616 s,@builddir@,$ac_builddir,;t t
35617 s,@abs_builddir@,$ac_abs_builddir,;t t
35618 s,@top_builddir@,$ac_top_builddir,;t t
35619 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35620 s,@INSTALL@,$ac_INSTALL,;t t
35621 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35622 rm -f $tmp/stdin
35623 if test x"$ac_file" != x-; then
35624 mv $tmp/out $ac_file
35625 else
35626 cat $tmp/out
35627 rm -f $tmp/out
35630 done
35631 _ACEOF
35632 cat >>$CONFIG_STATUS <<\_ACEOF
35635 # CONFIG_HEADER section.
35638 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35639 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35641 # ac_d sets the value in "#define NAME VALUE" lines.
35642 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35643 ac_dB='[ ].*$,\1#\2'
35644 ac_dC=' '
35645 ac_dD=',;t'
35646 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35647 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35648 ac_uB='$,\1#\2define\3'
35649 ac_uC=' '
35650 ac_uD=',;t'
35652 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35653 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35654 case $ac_file in
35655 - | *:- | *:-:* ) # input from stdin
35656 cat >$tmp/stdin
35657 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35658 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35659 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35660 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35661 * ) ac_file_in=$ac_file.in ;;
35662 esac
35664 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35665 echo "$as_me: creating $ac_file" >&6;}
35667 # First look for the input files in the build tree, otherwise in the
35668 # src tree.
35669 ac_file_inputs=`IFS=:
35670 for f in $ac_file_in; do
35671 case $f in
35672 -) echo $tmp/stdin ;;
35673 [\\/$]*)
35674 # Absolute (can't be DOS-style, as IFS=:)
35675 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35676 echo "$as_me: error: cannot find input file: $f" >&2;}
35677 { (exit 1); exit 1; }; }
35678 # Do quote $f, to prevent DOS paths from being IFS'd.
35679 echo "$f";;
35680 *) # Relative
35681 if test -f "$f"; then
35682 # Build tree
35683 echo "$f"
35684 elif test -f "$srcdir/$f"; then
35685 # Source tree
35686 echo "$srcdir/$f"
35687 else
35688 # /dev/null tree
35689 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35690 echo "$as_me: error: cannot find input file: $f" >&2;}
35691 { (exit 1); exit 1; }; }
35692 fi;;
35693 esac
35694 done` || { (exit 1); exit 1; }
35695 # Remove the trailing spaces.
35696 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35698 _ACEOF
35700 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35701 # `conftest.undefs', that substitutes the proper values into
35702 # config.h.in to produce config.h. The first handles `#define'
35703 # templates, and the second `#undef' templates.
35704 # And first: Protect against being on the right side of a sed subst in
35705 # config.status. Protect against being in an unquoted here document
35706 # in config.status.
35707 rm -f conftest.defines conftest.undefs
35708 # Using a here document instead of a string reduces the quoting nightmare.
35709 # Putting comments in sed scripts is not portable.
35711 # `end' is used to avoid that the second main sed command (meant for
35712 # 0-ary CPP macros) applies to n-ary macro definitions.
35713 # See the Autoconf documentation for `clear'.
35714 cat >confdef2sed.sed <<\_ACEOF
35715 s/[\\&,]/\\&/g
35716 s,[\\$`],\\&,g
35717 t clear
35718 : clear
35719 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35720 t end
35721 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35722 : end
35723 _ACEOF
35724 # If some macros were called several times there might be several times
35725 # the same #defines, which is useless. Nevertheless, we may not want to
35726 # sort them, since we want the *last* AC-DEFINE to be honored.
35727 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35728 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35729 rm -f confdef2sed.sed
35731 # This sed command replaces #undef with comments. This is necessary, for
35732 # example, in the case of _POSIX_SOURCE, which is predefined and required
35733 # on some systems where configure will not decide to define it.
35734 cat >>conftest.undefs <<\_ACEOF
35735 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35736 _ACEOF
35738 # Break up conftest.defines because some shells have a limit on the size
35739 # of here documents, and old seds have small limits too (100 cmds).
35740 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35741 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35742 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35743 echo ' :' >>$CONFIG_STATUS
35744 rm -f conftest.tail
35745 while grep . conftest.defines >/dev/null
35747 # Write a limited-size here document to $tmp/defines.sed.
35748 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35749 # Speed up: don't consider the non `#define' lines.
35750 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35751 # Work around the forget-to-reset-the-flag bug.
35752 echo 't clr' >>$CONFIG_STATUS
35753 echo ': clr' >>$CONFIG_STATUS
35754 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35755 echo 'CEOF
35756 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35757 rm -f $tmp/in
35758 mv $tmp/out $tmp/in
35759 ' >>$CONFIG_STATUS
35760 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35761 rm -f conftest.defines
35762 mv conftest.tail conftest.defines
35763 done
35764 rm -f conftest.defines
35765 echo ' fi # grep' >>$CONFIG_STATUS
35766 echo >>$CONFIG_STATUS
35768 # Break up conftest.undefs because some shells have a limit on the size
35769 # of here documents, and old seds have small limits too (100 cmds).
35770 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35771 rm -f conftest.tail
35772 while grep . conftest.undefs >/dev/null
35774 # Write a limited-size here document to $tmp/undefs.sed.
35775 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35776 # Speed up: don't consider the non `#undef'
35777 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35778 # Work around the forget-to-reset-the-flag bug.
35779 echo 't clr' >>$CONFIG_STATUS
35780 echo ': clr' >>$CONFIG_STATUS
35781 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35782 echo 'CEOF
35783 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35784 rm -f $tmp/in
35785 mv $tmp/out $tmp/in
35786 ' >>$CONFIG_STATUS
35787 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35788 rm -f conftest.undefs
35789 mv conftest.tail conftest.undefs
35790 done
35791 rm -f conftest.undefs
35793 cat >>$CONFIG_STATUS <<\_ACEOF
35794 # Let's still pretend it is `configure' which instantiates (i.e., don't
35795 # use $as_me), people would be surprised to read:
35796 # /* config.h. Generated by config.status. */
35797 if test x"$ac_file" = x-; then
35798 echo "/* Generated by configure. */" >$tmp/config.h
35799 else
35800 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35802 cat $tmp/in >>$tmp/config.h
35803 rm -f $tmp/in
35804 if test x"$ac_file" != x-; then
35805 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35806 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35807 echo "$as_me: $ac_file is unchanged" >&6;}
35808 else
35809 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35811 X"$ac_file" : 'X\(//\)[^/]' \| \
35812 X"$ac_file" : 'X\(//\)$' \| \
35813 X"$ac_file" : 'X\(/\)' \| \
35814 . : '\(.\)' 2>/dev/null ||
35815 echo X"$ac_file" |
35816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35818 /^X\(\/\/\)$/{ s//\1/; q; }
35819 /^X\(\/\).*/{ s//\1/; q; }
35820 s/.*/./; q'`
35821 { if $as_mkdir_p; then
35822 mkdir -p "$ac_dir"
35823 else
35824 as_dir="$ac_dir"
35825 as_dirs=
35826 while test ! -d "$as_dir"; do
35827 as_dirs="$as_dir $as_dirs"
35828 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35830 X"$as_dir" : 'X\(//\)[^/]' \| \
35831 X"$as_dir" : 'X\(//\)$' \| \
35832 X"$as_dir" : 'X\(/\)' \| \
35833 . : '\(.\)' 2>/dev/null ||
35834 echo X"$as_dir" |
35835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35837 /^X\(\/\/\)$/{ s//\1/; q; }
35838 /^X\(\/\).*/{ s//\1/; q; }
35839 s/.*/./; q'`
35840 done
35841 test ! -n "$as_dirs" || mkdir $as_dirs
35842 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35843 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35844 { (exit 1); exit 1; }; }; }
35846 rm -f $ac_file
35847 mv $tmp/config.h $ac_file
35849 else
35850 cat $tmp/config.h
35851 rm -f $tmp/config.h
35853 # Compute $ac_file's index in $config_headers.
35854 _am_stamp_count=1
35855 for _am_header in $config_headers :; do
35856 case $_am_header in
35857 $ac_file | $ac_file:* )
35858 break ;;
35860 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35861 esac
35862 done
35863 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35864 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35865 X$ac_file : 'X\(//\)[^/]' \| \
35866 X$ac_file : 'X\(//\)$' \| \
35867 X$ac_file : 'X\(/\)' \| \
35868 . : '\(.\)' 2>/dev/null ||
35869 echo X$ac_file |
35870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35872 /^X\(\/\/\)$/{ s//\1/; q; }
35873 /^X\(\/\).*/{ s//\1/; q; }
35874 s/.*/./; q'`/stamp-h$_am_stamp_count
35875 done
35876 _ACEOF
35877 cat >>$CONFIG_STATUS <<\_ACEOF
35880 # CONFIG_COMMANDS section.
35882 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35883 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35884 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35885 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35886 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35887 X"$ac_dest" : 'X\(//\)[^/]' \| \
35888 X"$ac_dest" : 'X\(//\)$' \| \
35889 X"$ac_dest" : 'X\(/\)' \| \
35890 . : '\(.\)' 2>/dev/null ||
35891 echo X"$ac_dest" |
35892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35894 /^X\(\/\/\)$/{ s//\1/; q; }
35895 /^X\(\/\).*/{ s//\1/; q; }
35896 s/.*/./; q'`
35897 { if $as_mkdir_p; then
35898 mkdir -p "$ac_dir"
35899 else
35900 as_dir="$ac_dir"
35901 as_dirs=
35902 while test ! -d "$as_dir"; do
35903 as_dirs="$as_dir $as_dirs"
35904 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35906 X"$as_dir" : 'X\(//\)[^/]' \| \
35907 X"$as_dir" : 'X\(//\)$' \| \
35908 X"$as_dir" : 'X\(/\)' \| \
35909 . : '\(.\)' 2>/dev/null ||
35910 echo X"$as_dir" |
35911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35913 /^X\(\/\/\)$/{ s//\1/; q; }
35914 /^X\(\/\).*/{ s//\1/; q; }
35915 s/.*/./; q'`
35916 done
35917 test ! -n "$as_dirs" || mkdir $as_dirs
35918 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35919 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35920 { (exit 1); exit 1; }; }; }
35922 ac_builddir=.
35924 if test "$ac_dir" != .; then
35925 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35926 # A "../" for each directory in $ac_dir_suffix.
35927 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35928 else
35929 ac_dir_suffix= ac_top_builddir=
35932 case $srcdir in
35933 .) # No --srcdir option. We are building in place.
35934 ac_srcdir=.
35935 if test -z "$ac_top_builddir"; then
35936 ac_top_srcdir=.
35937 else
35938 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35939 fi ;;
35940 [\\/]* | ?:[\\/]* ) # Absolute path.
35941 ac_srcdir=$srcdir$ac_dir_suffix;
35942 ac_top_srcdir=$srcdir ;;
35943 *) # Relative path.
35944 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35945 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35946 esac
35948 # Do not use `cd foo && pwd` to compute absolute paths, because
35949 # the directories may not exist.
35950 case `pwd` in
35951 .) ac_abs_builddir="$ac_dir";;
35953 case "$ac_dir" in
35954 .) ac_abs_builddir=`pwd`;;
35955 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35956 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35957 esac;;
35958 esac
35959 case $ac_abs_builddir in
35960 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35962 case ${ac_top_builddir}. in
35963 .) ac_abs_top_builddir=$ac_abs_builddir;;
35964 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35965 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35966 esac;;
35967 esac
35968 case $ac_abs_builddir in
35969 .) ac_abs_srcdir=$ac_srcdir;;
35971 case $ac_srcdir in
35972 .) ac_abs_srcdir=$ac_abs_builddir;;
35973 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35974 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35975 esac;;
35976 esac
35977 case $ac_abs_builddir in
35978 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35980 case $ac_top_srcdir in
35981 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35982 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35983 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35984 esac;;
35985 esac
35988 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35989 echo "$as_me: executing $ac_dest commands" >&6;}
35990 case $ac_dest in
35991 default-1 )
35992 # Only add multilib support code if we just rebuilt the top-level
35993 # Makefile.
35994 case " $CONFIG_FILES " in
35995 *" Makefile "*)
35996 ac_file=Makefile . ${multi_basedir}/config-ml.in
35998 esac ;;
35999 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
36000 # Strip MF so we end up with the name of the file.
36001 mf=`echo "$mf" | sed -e 's/:.*$//'`
36002 # Check whether this is an Automake generated Makefile or not.
36003 # We used to match only the files named `Makefile.in', but
36004 # some people rename them; so instead we look at the file content.
36005 # Grep'ing the first line is not enough: some people post-process
36006 # each Makefile.in and add a new line on top of each file to say so.
36007 # So let's grep whole file.
36008 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
36009 dirpart=`(dirname "$mf") 2>/dev/null ||
36010 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36011 X"$mf" : 'X\(//\)[^/]' \| \
36012 X"$mf" : 'X\(//\)$' \| \
36013 X"$mf" : 'X\(/\)' \| \
36014 . : '\(.\)' 2>/dev/null ||
36015 echo X"$mf" |
36016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36018 /^X\(\/\/\)$/{ s//\1/; q; }
36019 /^X\(\/\).*/{ s//\1/; q; }
36020 s/.*/./; q'`
36021 else
36022 continue
36024 # Extract the definition of DEPDIR, am__include, and am__quote
36025 # from the Makefile without running `make'.
36026 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36027 test -z "$DEPDIR" && continue
36028 am__include=`sed -n 's/^am__include = //p' < "$mf"`
36029 test -z "am__include" && continue
36030 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36031 # When using ansi2knr, U may be empty or an underscore; expand it
36032 U=`sed -n 's/^U = //p' < "$mf"`
36033 # Find all dependency output files, they are included files with
36034 # $(DEPDIR) in their names. We invoke sed twice because it is the
36035 # simplest approach to changing $(DEPDIR) to its actual value in the
36036 # expansion.
36037 for file in `sed -n "
36038 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36039 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36040 # Make sure the directory exists.
36041 test -f "$dirpart/$file" && continue
36042 fdir=`(dirname "$file") 2>/dev/null ||
36043 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36044 X"$file" : 'X\(//\)[^/]' \| \
36045 X"$file" : 'X\(//\)$' \| \
36046 X"$file" : 'X\(/\)' \| \
36047 . : '\(.\)' 2>/dev/null ||
36048 echo X"$file" |
36049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36051 /^X\(\/\/\)$/{ s//\1/; q; }
36052 /^X\(\/\).*/{ s//\1/; q; }
36053 s/.*/./; q'`
36054 { if $as_mkdir_p; then
36055 mkdir -p $dirpart/$fdir
36056 else
36057 as_dir=$dirpart/$fdir
36058 as_dirs=
36059 while test ! -d "$as_dir"; do
36060 as_dirs="$as_dir $as_dirs"
36061 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36063 X"$as_dir" : 'X\(//\)[^/]' \| \
36064 X"$as_dir" : 'X\(//\)$' \| \
36065 X"$as_dir" : 'X\(/\)' \| \
36066 . : '\(.\)' 2>/dev/null ||
36067 echo X"$as_dir" |
36068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36070 /^X\(\/\/\)$/{ s//\1/; q; }
36071 /^X\(\/\).*/{ s//\1/; q; }
36072 s/.*/./; q'`
36073 done
36074 test ! -n "$as_dirs" || mkdir $as_dirs
36075 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36076 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36077 { (exit 1); exit 1; }; }; }
36079 # echo "creating $dirpart/$file"
36080 echo '# dummy' > "$dirpart/$file"
36081 done
36082 done
36084 libtool )
36086 # See if we are running on zsh, and set the options which allow our
36087 # commands through without removal of \ escapes.
36088 if test -n "${ZSH_VERSION+set}" ; then
36089 setopt NO_GLOB_SUBST
36092 cfgfile="${ofile}T"
36093 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36094 $RM "$cfgfile"
36096 cat <<_LT_EOF >> "$cfgfile"
36097 #! $SHELL
36099 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36100 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36101 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36102 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36104 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36105 # 2006, 2007, 2008 Free Software Foundation, Inc.
36106 # Written by Gordon Matzigkeit, 1996
36108 # This file is part of GNU Libtool.
36110 # GNU Libtool is free software; you can redistribute it and/or
36111 # modify it under the terms of the GNU General Public License as
36112 # published by the Free Software Foundation; either version 2 of
36113 # the License, or (at your option) any later version.
36115 # As a special exception to the GNU General Public License,
36116 # if you distribute this file as part of a program or library that
36117 # is built using GNU Libtool, you may include this file under the
36118 # same distribution terms that you use for the rest of that program.
36120 # GNU Libtool is distributed in the hope that it will be useful,
36121 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36122 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36123 # GNU General Public License for more details.
36125 # You should have received a copy of the GNU General Public License
36126 # along with GNU Libtool; see the file COPYING. If not, a copy
36127 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36128 # obtained by writing to the Free Software Foundation, Inc.,
36129 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36132 # The names of the tagged configurations supported by this script.
36133 available_tags="FC "
36135 # ### BEGIN LIBTOOL CONFIG
36137 # Which release of libtool.m4 was used?
36138 macro_version=$macro_version
36139 macro_revision=$macro_revision
36141 # Whether or not to build shared libraries.
36142 build_libtool_libs=$enable_shared
36144 # Whether or not to build static libraries.
36145 build_old_libs=$enable_static
36147 # What type of objects to build.
36148 pic_mode=$pic_mode
36150 # Whether or not to optimize for fast installation.
36151 fast_install=$enable_fast_install
36153 # The host system.
36154 host_alias=$host_alias
36155 host=$host
36156 host_os=$host_os
36158 # The build system.
36159 build_alias=$build_alias
36160 build=$build
36161 build_os=$build_os
36163 # A sed program that does not truncate output.
36164 SED=$lt_SED
36166 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36167 Xsed="\$SED -e 1s/^X//"
36169 # A grep program that handles long lines.
36170 GREP=$lt_GREP
36172 # An ERE matcher.
36173 EGREP=$lt_EGREP
36175 # A literal string matcher.
36176 FGREP=$lt_FGREP
36178 # A BSD- or MS-compatible name lister.
36179 NM=$lt_NM
36181 # Whether we need soft or hard links.
36182 LN_S=$lt_LN_S
36184 # What is the maximum length of a command?
36185 max_cmd_len=$max_cmd_len
36187 # Object file suffix (normally "o").
36188 objext=$ac_objext
36190 # Executable file suffix (normally "").
36191 exeext=$exeext
36193 # whether the shell understands "unset".
36194 lt_unset=$lt_unset
36196 # turn spaces into newlines.
36197 SP2NL=$lt_lt_SP2NL
36199 # turn newlines into spaces.
36200 NL2SP=$lt_lt_NL2SP
36202 # How to create reloadable object files.
36203 reload_flag=$lt_reload_flag
36204 reload_cmds=$lt_reload_cmds
36206 # An object symbol dumper.
36207 OBJDUMP=$lt_OBJDUMP
36209 # Method to check whether dependent libraries are shared objects.
36210 deplibs_check_method=$lt_deplibs_check_method
36212 # Command to use when deplibs_check_method == "file_magic".
36213 file_magic_cmd=$lt_file_magic_cmd
36215 # The archiver.
36216 AR=$lt_AR
36217 AR_FLAGS=$lt_AR_FLAGS
36219 # A symbol stripping program.
36220 STRIP=$lt_STRIP
36222 # Commands used to install an old-style archive.
36223 RANLIB=$lt_RANLIB
36224 old_postinstall_cmds=$lt_old_postinstall_cmds
36225 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36227 # A C compiler.
36228 LTCC=$lt_CC
36230 # LTCC compiler flags.
36231 LTCFLAGS=$lt_CFLAGS
36233 # Take the output of nm and produce a listing of raw symbols and C names.
36234 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36236 # Transform the output of nm in a proper C declaration.
36237 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36239 # Transform the output of nm in a C name address pair.
36240 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36242 # Transform the output of nm in a C name address pair when lib prefix is needed.
36243 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36245 # The name of the directory that contains temporary libtool files.
36246 objdir=$objdir
36248 # Shell to use when invoking shell scripts.
36249 SHELL=$lt_SHELL
36251 # An echo program that does not interpret backslashes.
36252 ECHO=$lt_ECHO
36254 # Used to examine libraries when file_magic_cmd begins with "file".
36255 MAGIC_CMD=$MAGIC_CMD
36257 # Must we lock files when doing compilation?
36258 need_locks=$lt_need_locks
36260 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36261 DSYMUTIL=$lt_DSYMUTIL
36263 # Tool to change global to local symbols on Mac OS X.
36264 NMEDIT=$lt_NMEDIT
36266 # Tool to manipulate fat objects and archives on Mac OS X.
36267 LIPO=$lt_LIPO
36269 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36270 OTOOL=$lt_OTOOL
36272 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36273 OTOOL64=$lt_OTOOL64
36275 # Old archive suffix (normally "a").
36276 libext=$libext
36278 # Shared library suffix (normally ".so").
36279 shrext_cmds=$lt_shrext_cmds
36281 # The commands to extract the exported symbol list from a shared archive.
36282 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36284 # Variables whose values should be saved in libtool wrapper scripts and
36285 # restored at link time.
36286 variables_saved_for_relink=$lt_variables_saved_for_relink
36288 # Do we need the "lib" prefix for modules?
36289 need_lib_prefix=$need_lib_prefix
36291 # Do we need a version for libraries?
36292 need_version=$need_version
36294 # Library versioning type.
36295 version_type=$version_type
36297 # Shared library runtime path variable.
36298 runpath_var=$runpath_var
36300 # Shared library path variable.
36301 shlibpath_var=$shlibpath_var
36303 # Is shlibpath searched before the hard-coded library search path?
36304 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36306 # Format of library name prefix.
36307 libname_spec=$lt_libname_spec
36309 # List of archive names. First name is the real one, the rest are links.
36310 # The last name is the one that the linker finds with -lNAME
36311 library_names_spec=$lt_library_names_spec
36313 # The coded name of the library, if different from the real name.
36314 soname_spec=$lt_soname_spec
36316 # Command to use after installation of a shared archive.
36317 postinstall_cmds=$lt_postinstall_cmds
36319 # Command to use after uninstallation of a shared archive.
36320 postuninstall_cmds=$lt_postuninstall_cmds
36322 # Commands used to finish a libtool library installation in a directory.
36323 finish_cmds=$lt_finish_cmds
36325 # As "finish_cmds", except a single script fragment to be evaled but
36326 # not shown.
36327 finish_eval=$lt_finish_eval
36329 # Whether we should hardcode library paths into libraries.
36330 hardcode_into_libs=$hardcode_into_libs
36332 # Compile-time system search path for libraries.
36333 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36335 # Run-time system search path for libraries.
36336 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36338 # Whether dlopen is supported.
36339 dlopen_support=$enable_dlopen
36341 # Whether dlopen of programs is supported.
36342 dlopen_self=$enable_dlopen_self
36344 # Whether dlopen of statically linked programs is supported.
36345 dlopen_self_static=$enable_dlopen_self_static
36347 # Commands to strip libraries.
36348 old_striplib=$lt_old_striplib
36349 striplib=$lt_striplib
36352 # The linker used to build libraries.
36353 LD=$lt_LD
36355 # Commands used to build an old-style archive.
36356 old_archive_cmds=$lt_old_archive_cmds
36358 # A language specific compiler.
36359 CC=$lt_compiler
36361 # Is the compiler the GNU compiler?
36362 with_gcc=$GCC
36364 # Compiler flag to turn off builtin functions.
36365 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36367 # How to pass a linker flag through the compiler.
36368 wl=$lt_lt_prog_compiler_wl
36370 # Additional compiler flags for building library objects.
36371 pic_flag=$lt_lt_prog_compiler_pic
36373 # Compiler flag to prevent dynamic linking.
36374 link_static_flag=$lt_lt_prog_compiler_static
36376 # Does compiler simultaneously support -c and -o options?
36377 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36379 # Whether or not to add -lc for building shared libraries.
36380 build_libtool_need_lc=$archive_cmds_need_lc
36382 # Whether or not to disallow shared libs when runtime libs are static.
36383 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36385 # Compiler flag to allow reflexive dlopens.
36386 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36388 # Compiler flag to generate shared objects directly from archives.
36389 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36391 # Whether the compiler copes with passing no objects directly.
36392 compiler_needs_object=$lt_compiler_needs_object
36394 # Create an old-style archive from a shared archive.
36395 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36397 # Create a temporary old-style archive to link instead of a shared archive.
36398 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36400 # Commands used to build a shared archive.
36401 archive_cmds=$lt_archive_cmds
36402 archive_expsym_cmds=$lt_archive_expsym_cmds
36404 # Commands used to build a loadable module if different from building
36405 # a shared archive.
36406 module_cmds=$lt_module_cmds
36407 module_expsym_cmds=$lt_module_expsym_cmds
36409 # Whether we are building with GNU ld or not.
36410 with_gnu_ld=$lt_with_gnu_ld
36412 # Flag that allows shared libraries with undefined symbols to be built.
36413 allow_undefined_flag=$lt_allow_undefined_flag
36415 # Flag that enforces no undefined symbols.
36416 no_undefined_flag=$lt_no_undefined_flag
36418 # Flag to hardcode \$libdir into a binary during linking.
36419 # This must work even if \$libdir does not exist
36420 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36422 # If ld is used when linking, flag to hardcode \$libdir into a binary
36423 # during linking. This must work even if \$libdir does not exist.
36424 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36426 # Whether we need a single "-rpath" flag with a separated argument.
36427 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36429 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36430 # DIR into the resulting binary.
36431 hardcode_direct=$hardcode_direct
36433 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36434 # DIR into the resulting binary and the resulting library dependency is
36435 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36436 # library is relocated.
36437 hardcode_direct_absolute=$hardcode_direct_absolute
36439 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36440 # into the resulting binary.
36441 hardcode_minus_L=$hardcode_minus_L
36443 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36444 # into the resulting binary.
36445 hardcode_shlibpath_var=$hardcode_shlibpath_var
36447 # Set to "yes" if building a shared library automatically hardcodes DIR
36448 # into the library and all subsequent libraries and executables linked
36449 # against it.
36450 hardcode_automatic=$hardcode_automatic
36452 # Set to yes if linker adds runtime paths of dependent libraries
36453 # to runtime path list.
36454 inherit_rpath=$inherit_rpath
36456 # Whether libtool must link a program against all its dependency libraries.
36457 link_all_deplibs=$link_all_deplibs
36459 # Fix the shell variable \$srcfile for the compiler.
36460 fix_srcfile_path=$lt_fix_srcfile_path
36462 # Set to "yes" if exported symbols are required.
36463 always_export_symbols=$always_export_symbols
36465 # The commands to list exported symbols.
36466 export_symbols_cmds=$lt_export_symbols_cmds
36468 # Symbols that should not be listed in the preloaded symbols.
36469 exclude_expsyms=$lt_exclude_expsyms
36471 # Symbols that must always be exported.
36472 include_expsyms=$lt_include_expsyms
36474 # Commands necessary for linking programs (against libraries) with templates.
36475 prelink_cmds=$lt_prelink_cmds
36477 # Specify filename containing input files.
36478 file_list_spec=$lt_file_list_spec
36480 # How to hardcode a shared library path into an executable.
36481 hardcode_action=$hardcode_action
36483 # The directories searched by this compiler when creating a shared library.
36484 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36486 # Dependencies to place before and after the objects being linked to
36487 # create a shared library.
36488 predep_objects=$lt_predep_objects
36489 postdep_objects=$lt_postdep_objects
36490 predeps=$lt_predeps
36491 postdeps=$lt_postdeps
36493 # The library search path used internally by the compiler when linking
36494 # a shared library.
36495 compiler_lib_search_path=$lt_compiler_lib_search_path
36497 # ### END LIBTOOL CONFIG
36499 _LT_EOF
36501 case $host_os in
36502 aix3*)
36503 cat <<\_LT_EOF >> "$cfgfile"
36504 # AIX sometimes has problems with the GCC collect2 program. For some
36505 # reason, if we set the COLLECT_NAMES environment variable, the problems
36506 # vanish in a puff of smoke.
36507 if test "X${COLLECT_NAMES+set}" != Xset; then
36508 COLLECT_NAMES=
36509 export COLLECT_NAMES
36511 _LT_EOF
36513 esac
36516 ltmain="$ac_aux_dir/ltmain.sh"
36519 # We use sed instead of cat because bash on DJGPP gets confused if
36520 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36521 # text mode, it properly converts lines to CR/LF. This bash problem
36522 # is reportedly fixed, but why not run on old versions too?
36523 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36524 || (rm -f "$cfgfile"; exit 1)
36526 case $xsi_shell in
36527 yes)
36528 cat << \_LT_EOF >> "$cfgfile"
36530 # func_dirname file append nondir_replacement
36531 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36532 # otherwise set result to NONDIR_REPLACEMENT.
36533 func_dirname ()
36535 case ${1} in
36536 */*) func_dirname_result="${1%/*}${2}" ;;
36537 * ) func_dirname_result="${3}" ;;
36538 esac
36541 # func_basename file
36542 func_basename ()
36544 func_basename_result="${1##*/}"
36547 # func_dirname_and_basename file append nondir_replacement
36548 # perform func_basename and func_dirname in a single function
36549 # call:
36550 # dirname: Compute the dirname of FILE. If nonempty,
36551 # add APPEND to the result, otherwise set result
36552 # to NONDIR_REPLACEMENT.
36553 # value returned in "$func_dirname_result"
36554 # basename: Compute filename of FILE.
36555 # value retuned in "$func_basename_result"
36556 # Implementation must be kept synchronized with func_dirname
36557 # and func_basename. For efficiency, we do not delegate to
36558 # those functions but instead duplicate the functionality here.
36559 func_dirname_and_basename ()
36561 case ${1} in
36562 */*) func_dirname_result="${1%/*}${2}" ;;
36563 * ) func_dirname_result="${3}" ;;
36564 esac
36565 func_basename_result="${1##*/}"
36568 # func_stripname prefix suffix name
36569 # strip PREFIX and SUFFIX off of NAME.
36570 # PREFIX and SUFFIX must not contain globbing or regex special
36571 # characters, hashes, percent signs, but SUFFIX may contain a leading
36572 # dot (in which case that matches only a dot).
36573 func_stripname ()
36575 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36576 # positional parameters, so assign one to ordinary parameter first.
36577 func_stripname_result=${3}
36578 func_stripname_result=${func_stripname_result#"${1}"}
36579 func_stripname_result=${func_stripname_result%"${2}"}
36582 # func_opt_split
36583 func_opt_split ()
36585 func_opt_split_opt=${1%%=*}
36586 func_opt_split_arg=${1#*=}
36589 # func_lo2o object
36590 func_lo2o ()
36592 case ${1} in
36593 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
36594 *) func_lo2o_result=${1} ;;
36595 esac
36598 # func_xform libobj-or-source
36599 func_xform ()
36601 func_xform_result=${1%.*}.lo
36604 # func_arith arithmetic-term...
36605 func_arith ()
36607 func_arith_result=$(( $* ))
36610 # func_len string
36611 # STRING may not start with a hyphen.
36612 func_len ()
36614 func_len_result=${#1}
36617 _LT_EOF
36619 *) # Bourne compatible functions.
36620 cat << \_LT_EOF >> "$cfgfile"
36622 # func_dirname file append nondir_replacement
36623 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36624 # otherwise set result to NONDIR_REPLACEMENT.
36625 func_dirname ()
36627 # Extract subdirectory from the argument.
36628 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36629 if test "X$func_dirname_result" = "X${1}"; then
36630 func_dirname_result="${3}"
36631 else
36632 func_dirname_result="$func_dirname_result${2}"
36636 # func_basename file
36637 func_basename ()
36639 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
36643 # func_stripname prefix suffix name
36644 # strip PREFIX and SUFFIX off of NAME.
36645 # PREFIX and SUFFIX must not contain globbing or regex special
36646 # characters, hashes, percent signs, but SUFFIX may contain a leading
36647 # dot (in which case that matches only a dot).
36648 # func_strip_suffix prefix name
36649 func_stripname ()
36651 case ${2} in
36652 .*) func_stripname_result=`$ECHO "X${3}" \
36653 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36654 *) func_stripname_result=`$ECHO "X${3}" \
36655 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36656 esac
36659 # sed scripts:
36660 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
36661 my_sed_long_arg='1s/^-[^=]*=//'
36663 # func_opt_split
36664 func_opt_split ()
36666 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36667 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36670 # func_lo2o object
36671 func_lo2o ()
36673 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36676 # func_xform libobj-or-source
36677 func_xform ()
36679 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36682 # func_arith arithmetic-term...
36683 func_arith ()
36685 func_arith_result=`expr "$@"`
36688 # func_len string
36689 # STRING may not start with a hyphen.
36690 func_len ()
36692 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36695 _LT_EOF
36696 esac
36698 case $lt_shell_append in
36699 yes)
36700 cat << \_LT_EOF >> "$cfgfile"
36702 # func_append var value
36703 # Append VALUE to the end of shell variable VAR.
36704 func_append ()
36706 eval "$1+=\$2"
36708 _LT_EOF
36711 cat << \_LT_EOF >> "$cfgfile"
36713 # func_append var value
36714 # Append VALUE to the end of shell variable VAR.
36715 func_append ()
36717 eval "$1=\$$1\$2"
36720 _LT_EOF
36722 esac
36725 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36726 || (rm -f "$cfgfile"; exit 1)
36728 mv -f "$cfgfile" "$ofile" ||
36729 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36730 chmod +x "$ofile"
36733 cat <<_LT_EOF >> "$ofile"
36735 # ### BEGIN LIBTOOL TAG CONFIG: FC
36737 # The linker used to build libraries.
36738 LD=$lt_LD_FC
36740 # Commands used to build an old-style archive.
36741 old_archive_cmds=$lt_old_archive_cmds_FC
36743 # A language specific compiler.
36744 CC=$lt_compiler_FC
36746 # Is the compiler the GNU compiler?
36747 with_gcc=$GCC_FC
36749 # Compiler flag to turn off builtin functions.
36750 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36752 # How to pass a linker flag through the compiler.
36753 wl=$lt_lt_prog_compiler_wl_FC
36755 # Additional compiler flags for building library objects.
36756 pic_flag=$lt_lt_prog_compiler_pic_FC
36758 # Compiler flag to prevent dynamic linking.
36759 link_static_flag=$lt_lt_prog_compiler_static_FC
36761 # Does compiler simultaneously support -c and -o options?
36762 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36764 # Whether or not to add -lc for building shared libraries.
36765 build_libtool_need_lc=$archive_cmds_need_lc_FC
36767 # Whether or not to disallow shared libs when runtime libs are static.
36768 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36770 # Compiler flag to allow reflexive dlopens.
36771 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36773 # Compiler flag to generate shared objects directly from archives.
36774 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36776 # Whether the compiler copes with passing no objects directly.
36777 compiler_needs_object=$lt_compiler_needs_object_FC
36779 # Create an old-style archive from a shared archive.
36780 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36782 # Create a temporary old-style archive to link instead of a shared archive.
36783 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36785 # Commands used to build a shared archive.
36786 archive_cmds=$lt_archive_cmds_FC
36787 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36789 # Commands used to build a loadable module if different from building
36790 # a shared archive.
36791 module_cmds=$lt_module_cmds_FC
36792 module_expsym_cmds=$lt_module_expsym_cmds_FC
36794 # Whether we are building with GNU ld or not.
36795 with_gnu_ld=$lt_with_gnu_ld_FC
36797 # Flag that allows shared libraries with undefined symbols to be built.
36798 allow_undefined_flag=$lt_allow_undefined_flag_FC
36800 # Flag that enforces no undefined symbols.
36801 no_undefined_flag=$lt_no_undefined_flag_FC
36803 # Flag to hardcode \$libdir into a binary during linking.
36804 # This must work even if \$libdir does not exist
36805 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36807 # If ld is used when linking, flag to hardcode \$libdir into a binary
36808 # during linking. This must work even if \$libdir does not exist.
36809 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36811 # Whether we need a single "-rpath" flag with a separated argument.
36812 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36814 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36815 # DIR into the resulting binary.
36816 hardcode_direct=$hardcode_direct_FC
36818 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36819 # DIR into the resulting binary and the resulting library dependency is
36820 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36821 # library is relocated.
36822 hardcode_direct_absolute=$hardcode_direct_absolute_FC
36824 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36825 # into the resulting binary.
36826 hardcode_minus_L=$hardcode_minus_L_FC
36828 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36829 # into the resulting binary.
36830 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
36832 # Set to "yes" if building a shared library automatically hardcodes DIR
36833 # into the library and all subsequent libraries and executables linked
36834 # against it.
36835 hardcode_automatic=$hardcode_automatic_FC
36837 # Set to yes if linker adds runtime paths of dependent libraries
36838 # to runtime path list.
36839 inherit_rpath=$inherit_rpath_FC
36841 # Whether libtool must link a program against all its dependency libraries.
36842 link_all_deplibs=$link_all_deplibs_FC
36844 # Fix the shell variable \$srcfile for the compiler.
36845 fix_srcfile_path=$lt_fix_srcfile_path_FC
36847 # Set to "yes" if exported symbols are required.
36848 always_export_symbols=$always_export_symbols_FC
36850 # The commands to list exported symbols.
36851 export_symbols_cmds=$lt_export_symbols_cmds_FC
36853 # Symbols that should not be listed in the preloaded symbols.
36854 exclude_expsyms=$lt_exclude_expsyms_FC
36856 # Symbols that must always be exported.
36857 include_expsyms=$lt_include_expsyms_FC
36859 # Commands necessary for linking programs (against libraries) with templates.
36860 prelink_cmds=$lt_prelink_cmds_FC
36862 # Specify filename containing input files.
36863 file_list_spec=$lt_file_list_spec_FC
36865 # How to hardcode a shared library path into an executable.
36866 hardcode_action=$hardcode_action_FC
36868 # The directories searched by this compiler when creating a shared library.
36869 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
36871 # Dependencies to place before and after the objects being linked to
36872 # create a shared library.
36873 predep_objects=$lt_predep_objects_FC
36874 postdep_objects=$lt_postdep_objects_FC
36875 predeps=$lt_predeps_FC
36876 postdeps=$lt_postdeps_FC
36878 # The library search path used internally by the compiler when linking
36879 # a shared library.
36880 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
36882 # ### END LIBTOOL TAG CONFIG: FC
36883 _LT_EOF
36886 gstdint.h )
36887 if test "$GCC" = yes; then
36888 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36889 else
36890 echo "/* generated for $CC */" > tmp-stdint.h
36893 sed 's/^ *//' >> tmp-stdint.h <<EOF
36895 #ifndef GCC_GENERATED_STDINT_H
36896 #define GCC_GENERATED_STDINT_H 1
36898 #include <sys/types.h>
36901 if test "$acx_cv_header_stdint" != stdint.h; then
36902 echo "#include <stddef.h>" >> tmp-stdint.h
36904 if test "$acx_cv_header_stdint" != stddef.h; then
36905 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36908 sed 's/^ *//' >> tmp-stdint.h <<EOF
36909 /* glibc uses these symbols as guards to prevent redefinitions. */
36910 #ifdef __int8_t_defined
36911 #define _INT8_T
36912 #define _INT16_T
36913 #define _INT32_T
36914 #endif
36915 #ifdef __uint32_t_defined
36916 #define _UINT32_T
36917 #endif
36921 # ----------------- done header, emit basic int types -------------
36922 if test "$acx_cv_header_stdint" = stddef.h; then
36923 sed 's/^ *//' >> tmp-stdint.h <<EOF
36925 #ifndef _UINT8_T
36926 #define _UINT8_T
36927 #ifndef __uint8_t_defined
36928 #define __uint8_t_defined
36929 typedef unsigned $acx_cv_type_int8_t uint8_t;
36930 #endif
36931 #endif
36933 #ifndef _UINT16_T
36934 #define _UINT16_T
36935 #ifndef __uint16_t_defined
36936 #define __uint16_t_defined
36937 typedef unsigned $acx_cv_type_int16_t uint16_t;
36938 #endif
36939 #endif
36941 #ifndef _UINT32_T
36942 #define _UINT32_T
36943 #ifndef __uint32_t_defined
36944 #define __uint32_t_defined
36945 typedef unsigned $acx_cv_type_int32_t uint32_t;
36946 #endif
36947 #endif
36949 #ifndef _INT8_T
36950 #define _INT8_T
36951 #ifndef __int8_t_defined
36952 #define __int8_t_defined
36953 typedef $acx_cv_type_int8_t int8_t;
36954 #endif
36955 #endif
36957 #ifndef _INT16_T
36958 #define _INT16_T
36959 #ifndef __int16_t_defined
36960 #define __int16_t_defined
36961 typedef $acx_cv_type_int16_t int16_t;
36962 #endif
36963 #endif
36965 #ifndef _INT32_T
36966 #define _INT32_T
36967 #ifndef __int32_t_defined
36968 #define __int32_t_defined
36969 typedef $acx_cv_type_int32_t int32_t;
36970 #endif
36971 #endif
36973 elif test "$ac_cv_type_u_int32_t" = yes; then
36974 sed 's/^ *//' >> tmp-stdint.h <<EOF
36976 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36977 #ifndef _INT8_T
36978 #define _INT8_T
36979 #endif
36980 #ifndef _INT16_T
36981 #define _INT16_T
36982 #endif
36983 #ifndef _INT32_T
36984 #define _INT32_T
36985 #endif
36987 #ifndef _UINT8_T
36988 #define _UINT8_T
36989 #ifndef __uint8_t_defined
36990 #define __uint8_t_defined
36991 typedef u_int8_t uint8_t;
36992 #endif
36993 #endif
36995 #ifndef _UINT16_T
36996 #define _UINT16_T
36997 #ifndef __uint16_t_defined
36998 #define __uint16_t_defined
36999 typedef u_int16_t uint16_t;
37000 #endif
37001 #endif
37003 #ifndef _UINT32_T
37004 #define _UINT32_T
37005 #ifndef __uint32_t_defined
37006 #define __uint32_t_defined
37007 typedef u_int32_t uint32_t;
37008 #endif
37009 #endif
37011 else
37012 sed 's/^ *//' >> tmp-stdint.h <<EOF
37014 /* Some systems have guard macros to prevent redefinitions, define them. */
37015 #ifndef _INT8_T
37016 #define _INT8_T
37017 #endif
37018 #ifndef _INT16_T
37019 #define _INT16_T
37020 #endif
37021 #ifndef _INT32_T
37022 #define _INT32_T
37023 #endif
37024 #ifndef _UINT8_T
37025 #define _UINT8_T
37026 #endif
37027 #ifndef _UINT16_T
37028 #define _UINT16_T
37029 #endif
37030 #ifndef _UINT32_T
37031 #define _UINT32_T
37032 #endif
37036 # ------------- done basic int types, emit int64_t types ------------
37037 if test "$ac_cv_type_uint64_t" = yes; then
37038 sed 's/^ *//' >> tmp-stdint.h <<EOF
37040 /* system headers have good uint64_t and int64_t */
37041 #ifndef _INT64_T
37042 #define _INT64_T
37043 #endif
37044 #ifndef _UINT64_T
37045 #define _UINT64_T
37046 #endif
37048 elif test "$ac_cv_type_u_int64_t" = yes; then
37049 sed 's/^ *//' >> tmp-stdint.h <<EOF
37051 /* system headers have an u_int64_t (and int64_t) */
37052 #ifndef _INT64_T
37053 #define _INT64_T
37054 #endif
37055 #ifndef _UINT64_T
37056 #define _UINT64_T
37057 #ifndef __uint64_t_defined
37058 #define __uint64_t_defined
37059 typedef u_int64_t uint64_t;
37060 #endif
37061 #endif
37063 elif test -n "$acx_cv_type_int64_t"; then
37064 sed 's/^ *//' >> tmp-stdint.h <<EOF
37066 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37067 #ifndef _INT64_T
37068 #define _INT64_T
37069 typedef $acx_cv_type_int64_t int64_t;
37070 #endif
37071 #ifndef _UINT64_T
37072 #define _UINT64_T
37073 #ifndef __uint64_t_defined
37074 #define __uint64_t_defined
37075 typedef unsigned $acx_cv_type_int64_t uint64_t;
37076 #endif
37077 #endif
37079 else
37080 sed 's/^ *//' >> tmp-stdint.h <<EOF
37082 /* some common heuristics for int64_t, using compiler-specific tests */
37083 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37084 #ifndef _INT64_T
37085 #define _INT64_T
37086 #ifndef __int64_t_defined
37087 typedef long long int64_t;
37088 #endif
37089 #endif
37090 #ifndef _UINT64_T
37091 #define _UINT64_T
37092 typedef unsigned long long uint64_t;
37093 #endif
37095 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37096 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37097 does not implement __extension__. But that compiler doesn't define
37098 __GNUC_MINOR__. */
37099 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37100 # define __extension__
37101 # endif
37103 # ifndef _INT64_T
37104 # define _INT64_T
37105 __extension__ typedef long long int64_t;
37106 # endif
37107 # ifndef _UINT64_T
37108 # define _UINT64_T
37109 __extension__ typedef unsigned long long uint64_t;
37110 # endif
37112 #elif !defined __STRICT_ANSI__
37113 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37115 # ifndef _INT64_T
37116 # define _INT64_T
37117 typedef __int64 int64_t;
37118 # endif
37119 # ifndef _UINT64_T
37120 # define _UINT64_T
37121 typedef unsigned __int64 uint64_t;
37122 # endif
37123 # endif /* compiler */
37125 #endif /* ANSI version */
37129 # ------------- done int64_t types, emit intptr types ------------
37130 if test "$ac_cv_type_uintptr_t" != yes; then
37131 sed 's/^ *//' >> tmp-stdint.h <<EOF
37133 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37134 #ifndef __uintptr_t_defined
37135 typedef u$acx_cv_type_intptr_t uintptr_t;
37136 #endif
37137 #ifndef __intptr_t_defined
37138 typedef $acx_cv_type_intptr_t intptr_t;
37139 #endif
37143 # ------------- done intptr types, emit int_least types ------------
37144 if test "$ac_cv_type_int_least32_t" != yes; then
37145 sed 's/^ *//' >> tmp-stdint.h <<EOF
37147 /* Define int_least types */
37148 typedef int8_t int_least8_t;
37149 typedef int16_t int_least16_t;
37150 typedef int32_t int_least32_t;
37151 #ifdef _INT64_T
37152 typedef int64_t int_least64_t;
37153 #endif
37155 typedef uint8_t uint_least8_t;
37156 typedef uint16_t uint_least16_t;
37157 typedef uint32_t uint_least32_t;
37158 #ifdef _UINT64_T
37159 typedef uint64_t uint_least64_t;
37160 #endif
37164 # ------------- done intptr types, emit int_fast types ------------
37165 if test "$ac_cv_type_int_fast32_t" != yes; then
37166 sed 's/^ *//' >> tmp-stdint.h <<EOF
37168 /* Define int_fast types. short is often slow */
37169 typedef int8_t int_fast8_t;
37170 typedef int int_fast16_t;
37171 typedef int32_t int_fast32_t;
37172 #ifdef _INT64_T
37173 typedef int64_t int_fast64_t;
37174 #endif
37176 typedef uint8_t uint_fast8_t;
37177 typedef unsigned int uint_fast16_t;
37178 typedef uint32_t uint_fast32_t;
37179 #ifdef _UINT64_T
37180 typedef uint64_t uint_fast64_t;
37181 #endif
37185 if test "$ac_cv_type_uintmax_t" != yes; then
37186 sed 's/^ *//' >> tmp-stdint.h <<EOF
37188 /* Define intmax based on what we found */
37189 #ifdef _INT64_T
37190 typedef int64_t intmax_t;
37191 #else
37192 typedef long intmax_t;
37193 #endif
37194 #ifdef _UINT64_T
37195 typedef uint64_t uintmax_t;
37196 #else
37197 typedef unsigned long uintmax_t;
37198 #endif
37202 sed 's/^ *//' >> tmp-stdint.h <<EOF
37204 #endif /* GCC_GENERATED_STDINT_H */
37207 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
37208 rm -f tmp-stdint.h
37209 else
37210 mv -f tmp-stdint.h gstdint.h
37214 esac
37215 done
37216 _ACEOF
37218 cat >>$CONFIG_STATUS <<\_ACEOF
37220 { (exit 0); exit 0; }
37221 _ACEOF
37222 chmod +x $CONFIG_STATUS
37223 ac_clean_files=$ac_clean_files_save
37226 # configure is writing to config.log, and then calls config.status.
37227 # config.status does its own redirection, appending to config.log.
37228 # Unfortunately, on DOS this fails, as config.log is still kept open
37229 # by configure, so config.status won't be able to write to it; its
37230 # output is simply discarded. So we exec the FD to /dev/null,
37231 # effectively closing config.log, so it can be properly (re)opened and
37232 # appended to by config.status. When coming back to configure, we
37233 # need to make the FD available again.
37234 if test "$no_create" != yes; then
37235 ac_cs_success=:
37236 ac_config_status_args=
37237 test "$silent" = yes &&
37238 ac_config_status_args="$ac_config_status_args --quiet"
37239 exec 5>/dev/null
37240 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37241 exec 5>>config.log
37242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37243 # would make configure fail if this is the last instruction.
37244 $ac_cs_success || { (exit 1); exit 1; }