Update concepts branch to revision 131834
[official-gcc.git] / libgfortran / configure
bloba973ea28b4f74dd84cc16bce03fe1bbb1e06129d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='GNU Fortran Runtime Library'
418 PACKAGE_TARNAME='libgfortran'
419 PACKAGE_VERSION='0.3'
420 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
421 PACKAGE_BUGREPORT=''
423 # Factoring default headers for most tests.
424 ac_includes_default="\
425 #include <stdio.h>
426 #if HAVE_SYS_TYPES_H
427 # include <sys/types.h>
428 #endif
429 #if HAVE_SYS_STAT_H
430 # include <sys/stat.h>
431 #endif
432 #if STDC_HEADERS
433 # include <stdlib.h>
434 # include <stddef.h>
435 #else
436 # if HAVE_STDLIB_H
437 # include <stdlib.h>
438 # endif
439 #endif
440 #if HAVE_STRING_H
441 # if !STDC_HEADERS && HAVE_MEMORY_H
442 # include <memory.h>
443 # endif
444 # include <string.h>
445 #endif
446 #if HAVE_STRINGS_H
447 # include <strings.h>
448 #endif
449 #if HAVE_INTTYPES_H
450 # include <inttypes.h>
451 #else
452 # if HAVE_STDINT_H
453 # include <stdint.h>
454 # endif
455 #endif
456 #if HAVE_UNISTD_H
457 # include <unistd.h>
458 #endif"
460 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
463 # Initialize some variables set by options.
464 ac_init_help=
465 ac_init_version=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
468 cache_file=/dev/null
469 exec_prefix=NONE
470 no_create=
471 no_recursion=
472 prefix=NONE
473 program_prefix=NONE
474 program_suffix=NONE
475 program_transform_name=s,x,x,
476 silent=
477 site=
478 srcdir=
479 verbose=
480 x_includes=NONE
481 x_libraries=NONE
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir='${exec_prefix}/bin'
489 sbindir='${exec_prefix}/sbin'
490 libexecdir='${exec_prefix}/libexec'
491 datadir='${prefix}/share'
492 sysconfdir='${prefix}/etc'
493 sharedstatedir='${prefix}/com'
494 localstatedir='${prefix}/var'
495 libdir='${exec_prefix}/lib'
496 includedir='${prefix}/include'
497 oldincludedir='/usr/include'
498 infodir='${prefix}/info'
499 mandir='${prefix}/man'
501 ac_prev=
502 for ac_option
504 # If the previous option needs an argument, assign it.
505 if test -n "$ac_prev"; then
506 eval "$ac_prev=\$ac_option"
507 ac_prev=
508 continue
511 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513 # Accept the important Cygnus configure options, so we can diagnose typos.
515 case $ac_option in
517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
518 ac_prev=bindir ;;
519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520 bindir=$ac_optarg ;;
522 -build | --build | --buil | --bui | --bu)
523 ac_prev=build_alias ;;
524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525 build_alias=$ac_optarg ;;
527 -cache-file | --cache-file | --cache-fil | --cache-fi \
528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529 ac_prev=cache_file ;;
530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532 cache_file=$ac_optarg ;;
534 --config-cache | -C)
535 cache_file=config.cache ;;
537 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
538 ac_prev=datadir ;;
539 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
540 | --da=*)
541 datadir=$ac_optarg ;;
543 -disable-* | --disable-*)
544 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545 # Reject names that are not valid shell variable names.
546 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
547 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548 { (exit 1); exit 1; }; }
549 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
550 eval "enable_$ac_feature=no" ;;
552 -enable-* | --enable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 case $ac_option in
560 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 *) ac_optarg=yes ;;
562 esac
563 eval "enable_$ac_feature='$ac_optarg'" ;;
565 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
566 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
567 | --exec | --exe | --ex)
568 ac_prev=exec_prefix ;;
569 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
570 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
571 | --exec=* | --exe=* | --ex=*)
572 exec_prefix=$ac_optarg ;;
574 -gas | --gas | --ga | --g)
575 # Obsolete; use --with-gas.
576 with_gas=yes ;;
578 -help | --help | --hel | --he | -h)
579 ac_init_help=long ;;
580 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
581 ac_init_help=recursive ;;
582 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
583 ac_init_help=short ;;
585 -host | --host | --hos | --ho)
586 ac_prev=host_alias ;;
587 -host=* | --host=* | --hos=* | --ho=*)
588 host_alias=$ac_optarg ;;
590 -includedir | --includedir | --includedi | --included | --include \
591 | --includ | --inclu | --incl | --inc)
592 ac_prev=includedir ;;
593 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
594 | --includ=* | --inclu=* | --incl=* | --inc=*)
595 includedir=$ac_optarg ;;
597 -infodir | --infodir | --infodi | --infod | --info | --inf)
598 ac_prev=infodir ;;
599 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600 infodir=$ac_optarg ;;
602 -libdir | --libdir | --libdi | --libd)
603 ac_prev=libdir ;;
604 -libdir=* | --libdir=* | --libdi=* | --libd=*)
605 libdir=$ac_optarg ;;
607 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
608 | --libexe | --libex | --libe)
609 ac_prev=libexecdir ;;
610 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
611 | --libexe=* | --libex=* | --libe=*)
612 libexecdir=$ac_optarg ;;
614 -localstatedir | --localstatedir | --localstatedi | --localstated \
615 | --localstate | --localstat | --localsta | --localst \
616 | --locals | --local | --loca | --loc | --lo)
617 ac_prev=localstatedir ;;
618 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
619 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
620 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
621 localstatedir=$ac_optarg ;;
623 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
624 ac_prev=mandir ;;
625 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
626 mandir=$ac_optarg ;;
628 -nfp | --nfp | --nf)
629 # Obsolete; use --without-fp.
630 with_fp=no ;;
632 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633 | --no-cr | --no-c | -n)
634 no_create=yes ;;
636 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
637 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
638 no_recursion=yes ;;
640 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
641 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
642 | --oldin | --oldi | --old | --ol | --o)
643 ac_prev=oldincludedir ;;
644 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
645 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
646 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
647 oldincludedir=$ac_optarg ;;
649 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
650 ac_prev=prefix ;;
651 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
652 prefix=$ac_optarg ;;
654 -program-prefix | --program-prefix | --program-prefi | --program-pref \
655 | --program-pre | --program-pr | --program-p)
656 ac_prev=program_prefix ;;
657 -program-prefix=* | --program-prefix=* | --program-prefi=* \
658 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
659 program_prefix=$ac_optarg ;;
661 -program-suffix | --program-suffix | --program-suffi | --program-suff \
662 | --program-suf | --program-su | --program-s)
663 ac_prev=program_suffix ;;
664 -program-suffix=* | --program-suffix=* | --program-suffi=* \
665 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
666 program_suffix=$ac_optarg ;;
668 -program-transform-name | --program-transform-name \
669 | --program-transform-nam | --program-transform-na \
670 | --program-transform-n | --program-transform- \
671 | --program-transform | --program-transfor \
672 | --program-transfo | --program-transf \
673 | --program-trans | --program-tran \
674 | --progr-tra | --program-tr | --program-t)
675 ac_prev=program_transform_name ;;
676 -program-transform-name=* | --program-transform-name=* \
677 | --program-transform-nam=* | --program-transform-na=* \
678 | --program-transform-n=* | --program-transform-=* \
679 | --program-transform=* | --program-transfor=* \
680 | --program-transfo=* | --program-transf=* \
681 | --program-trans=* | --program-tran=* \
682 | --progr-tra=* | --program-tr=* | --program-t=*)
683 program_transform_name=$ac_optarg ;;
685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
686 | -silent | --silent | --silen | --sile | --sil)
687 silent=yes ;;
689 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
690 ac_prev=sbindir ;;
691 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
692 | --sbi=* | --sb=*)
693 sbindir=$ac_optarg ;;
695 -sharedstatedir | --sharedstatedir | --sharedstatedi \
696 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
697 | --sharedst | --shareds | --shared | --share | --shar \
698 | --sha | --sh)
699 ac_prev=sharedstatedir ;;
700 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
701 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
702 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
703 | --sha=* | --sh=*)
704 sharedstatedir=$ac_optarg ;;
706 -site | --site | --sit)
707 ac_prev=site ;;
708 -site=* | --site=* | --sit=*)
709 site=$ac_optarg ;;
711 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
712 ac_prev=srcdir ;;
713 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
714 srcdir=$ac_optarg ;;
716 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
717 | --syscon | --sysco | --sysc | --sys | --sy)
718 ac_prev=sysconfdir ;;
719 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
720 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
721 sysconfdir=$ac_optarg ;;
723 -target | --target | --targe | --targ | --tar | --ta | --t)
724 ac_prev=target_alias ;;
725 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
726 target_alias=$ac_optarg ;;
728 -v | -verbose | --verbose | --verbos | --verbo | --verb)
729 verbose=yes ;;
731 -version | --version | --versio | --versi | --vers | -V)
732 ac_init_version=: ;;
734 -with-* | --with-*)
735 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736 # Reject names that are not valid shell variable names.
737 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
738 { echo "$as_me: error: invalid package name: $ac_package" >&2
739 { (exit 1); exit 1; }; }
740 ac_package=`echo $ac_package| sed 's/-/_/g'`
741 case $ac_option in
742 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
743 *) ac_optarg=yes ;;
744 esac
745 eval "with_$ac_package='$ac_optarg'" ;;
747 -without-* | --without-*)
748 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid package name: $ac_package" >&2
752 { (exit 1); exit 1; }; }
753 ac_package=`echo $ac_package | sed 's/-/_/g'`
754 eval "with_$ac_package=no" ;;
756 --x)
757 # Obsolete; use --with-x.
758 with_x=yes ;;
760 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
761 | --x-incl | --x-inc | --x-in | --x-i)
762 ac_prev=x_includes ;;
763 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
764 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
765 x_includes=$ac_optarg ;;
767 -x-libraries | --x-libraries | --x-librarie | --x-librari \
768 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
769 ac_prev=x_libraries ;;
770 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
771 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
772 x_libraries=$ac_optarg ;;
774 -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776 { (exit 1); exit 1; }; }
779 *=*)
780 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
783 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784 { (exit 1); exit 1; }; }
785 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786 eval "$ac_envvar='$ac_optarg'"
787 export $ac_envvar ;;
790 # FIXME: should be removed in autoconf 3.0.
791 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797 esac
798 done
800 if test -n "$ac_prev"; then
801 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
802 { echo "$as_me: error: missing argument to $ac_option" >&2
803 { (exit 1); exit 1; }; }
806 # Be sure to have absolute paths.
807 for ac_var in exec_prefix prefix
809 eval ac_val=$`echo $ac_var`
810 case $ac_val in
811 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
812 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813 { (exit 1); exit 1; }; };;
814 esac
815 done
817 # Be sure to have absolute paths.
818 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819 localstatedir libdir includedir oldincludedir infodir mandir
821 eval ac_val=$`echo $ac_var`
822 case $ac_val in
823 [\\/$]* | ?:[\\/]* ) ;;
824 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825 { (exit 1); exit 1; }; };;
826 esac
827 done
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
832 build=$build_alias
833 host=$host_alias
834 target=$target_alias
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x; then
838 if test "x$build_alias" = x; then
839 cross_compiling=maybe
840 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841 If a cross compiler is detected then cross compile mode will be used." >&2
842 elif test "x$build_alias" != "x$host_alias"; then
843 cross_compiling=yes
847 ac_tool_prefix=
848 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850 test "$silent" = yes && exec 6>/dev/null
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855 ac_srcdir_defaulted=yes
856 # Try the directory containing this script, then its parent.
857 ac_confdir=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859 X"$0" : 'X\(//\)[^/]' \| \
860 X"$0" : 'X\(//\)$' \| \
861 X"$0" : 'X\(/\)' \| \
862 . : '\(.\)' 2>/dev/null ||
863 echo X"$0" |
864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866 /^X\(\/\/\)$/{ s//\1/; q; }
867 /^X\(\/\).*/{ s//\1/; q; }
868 s/.*/./; q'`
869 srcdir=$ac_confdir
870 if test ! -r $srcdir/$ac_unique_file; then
871 srcdir=..
873 else
874 ac_srcdir_defaulted=no
876 if test ! -r $srcdir/$ac_unique_file; then
877 if test "$ac_srcdir_defaulted" = yes; then
878 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879 { (exit 1); exit 1; }; }
880 else
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882 { (exit 1); exit 1; }; }
885 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
886 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887 { (exit 1); exit 1; }; }
888 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set=${build_alias+set}
890 ac_env_build_alias_value=$build_alias
891 ac_cv_env_build_alias_set=${build_alias+set}
892 ac_cv_env_build_alias_value=$build_alias
893 ac_env_host_alias_set=${host_alias+set}
894 ac_env_host_alias_value=$host_alias
895 ac_cv_env_host_alias_set=${host_alias+set}
896 ac_cv_env_host_alias_value=$host_alias
897 ac_env_target_alias_set=${target_alias+set}
898 ac_env_target_alias_value=$target_alias
899 ac_cv_env_target_alias_set=${target_alias+set}
900 ac_cv_env_target_alias_value=$target_alias
901 ac_env_CPP_set=${CPP+set}
902 ac_env_CPP_value=$CPP
903 ac_cv_env_CPP_set=${CPP+set}
904 ac_cv_env_CPP_value=$CPP
905 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
909 ac_env_FC_set=${FC+set}
910 ac_env_FC_value=$FC
911 ac_cv_env_FC_set=${FC+set}
912 ac_cv_env_FC_value=$FC
913 ac_env_FCFLAGS_set=${FCFLAGS+set}
914 ac_env_FCFLAGS_value=$FCFLAGS
915 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value=$FCFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 # Report the --help message.
925 if test "$ac_init_help" = "long"; then
926 # Omit some internal or obsolete options to make the list less imposing.
927 # This message is too long to be a string in the A/UX 3.1 sh.
928 cat <<_ACEOF
929 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
931 Usage: $0 [OPTION]... [VAR=VALUE]...
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE. See below for descriptions of some of the useful variables.
936 Defaults for the options are specified in brackets.
938 Configuration:
939 -h, --help display this help and exit
940 --help=short display options specific to this package
941 --help=recursive display the short help of all the included packages
942 -V, --version display version information and exit
943 -q, --quiet, --silent do not print \`checking...' messages
944 --cache-file=FILE cache test results in FILE [disabled]
945 -C, --config-cache alias for \`--cache-file=config.cache'
946 -n, --no-create do not create output files
947 --srcdir=DIR find the sources in DIR [configure dir or \`..']
949 _ACEOF
951 cat <<_ACEOF
952 Installation directories:
953 --prefix=PREFIX install architecture-independent files in PREFIX
954 [$ac_default_prefix]
955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
956 [PREFIX]
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
963 For better control, use the options below.
965 Fine tuning of the installation directories:
966 --bindir=DIR user executables [EPREFIX/bin]
967 --sbindir=DIR system admin executables [EPREFIX/sbin]
968 --libexecdir=DIR program executables [EPREFIX/libexec]
969 --datadir=DIR read-only architecture-independent data [PREFIX/share]
970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
973 --libdir=DIR object code libraries [EPREFIX/lib]
974 --includedir=DIR C header files [PREFIX/include]
975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
976 --infodir=DIR info documentation [PREFIX/info]
977 --mandir=DIR man documentation [PREFIX/man]
978 _ACEOF
980 cat <<\_ACEOF
982 Program names:
983 --program-prefix=PREFIX prepend PREFIX to installed program names
984 --program-suffix=SUFFIX append SUFFIX to installed program names
985 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
987 System types:
988 --build=BUILD configure for building on BUILD [guessed]
989 --host=HOST cross-compile to build programs to run on HOST [BUILD]
990 --target=TARGET configure for building compilers for TARGET [HOST]
991 _ACEOF
994 if test -n "$ac_init_help"; then
995 case $ac_init_help in
996 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
997 esac
998 cat <<\_ACEOF
1000 Optional Features:
1001 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1002 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1003 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1004 --enable-intermodule build the library in one step
1005 --enable-maintainer-mode enable make rules and dependencies not useful
1006 (and sometimes confusing) to the casual installer
1007 --enable-multilib build many library versions (default)
1008 --disable-dependency-tracking speeds up one-time build
1009 --enable-dependency-tracking do not reject slow dependency extractors
1010 --enable-shared[=PKGS]
1011 build shared libraries [default=yes]
1012 --enable-static[=PKGS]
1013 build static libraries [default=yes]
1014 --enable-fast-install[=PKGS]
1015 optimize for fast installation [default=yes]
1016 --disable-libtool-lock avoid locking (might break parallel builds)
1017 --disable-largefile omit support for large files
1019 Optional Packages:
1020 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1021 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1022 --with-build-libsubdir=DIR Directory where to find libraries for build system
1023 --with-pic try to use only PIC/non-PIC objects [default=use
1024 both]
1025 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1027 Some influential environment variables:
1028 CC C compiler command
1029 CFLAGS C compiler flags
1030 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1031 nonstandard directory <lib dir>
1032 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1033 headers in a nonstandard directory <include dir>
1034 CPP C preprocessor
1035 FC Fortran compiler command
1036 FCFLAGS Fortran compiler flags
1038 Use these variables to override the choices made by `configure' or to help
1039 it to find libraries and programs with nonstandard names/locations.
1041 _ACEOF
1044 if test "$ac_init_help" = "recursive"; then
1045 # If there are subdirs, report their specific --help.
1046 ac_popdir=`pwd`
1047 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1048 test -d $ac_dir || continue
1049 ac_builddir=.
1051 if test "$ac_dir" != .; then
1052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1053 # A "../" for each directory in $ac_dir_suffix.
1054 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1055 else
1056 ac_dir_suffix= ac_top_builddir=
1059 case $srcdir in
1060 .) # No --srcdir option. We are building in place.
1061 ac_srcdir=.
1062 if test -z "$ac_top_builddir"; then
1063 ac_top_srcdir=.
1064 else
1065 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1066 fi ;;
1067 [\\/]* | ?:[\\/]* ) # Absolute path.
1068 ac_srcdir=$srcdir$ac_dir_suffix;
1069 ac_top_srcdir=$srcdir ;;
1070 *) # Relative path.
1071 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1072 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1073 esac
1075 # Do not use `cd foo && pwd` to compute absolute paths, because
1076 # the directories may not exist.
1077 case `pwd` in
1078 .) ac_abs_builddir="$ac_dir";;
1080 case "$ac_dir" in
1081 .) ac_abs_builddir=`pwd`;;
1082 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1083 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1084 esac;;
1085 esac
1086 case $ac_abs_builddir in
1087 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 case ${ac_top_builddir}. in
1090 .) ac_abs_top_builddir=$ac_abs_builddir;;
1091 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1092 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1093 esac;;
1094 esac
1095 case $ac_abs_builddir in
1096 .) ac_abs_srcdir=$ac_srcdir;;
1098 case $ac_srcdir in
1099 .) ac_abs_srcdir=$ac_abs_builddir;;
1100 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1101 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1102 esac;;
1103 esac
1104 case $ac_abs_builddir in
1105 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 case $ac_top_srcdir in
1108 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1110 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1111 esac;;
1112 esac
1114 cd $ac_dir
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1117 echo
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1120 echo
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1124 echo
1125 $ac_configure --help
1126 else
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1129 cd $ac_popdir
1130 done
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1135 cat <<\_ACEOF
1136 GNU Fortran Runtime Library configure 0.3
1137 generated by GNU Autoconf 2.59
1139 Copyright (C) 2003 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1142 _ACEOF
1143 exit 0
1145 exec 5>config.log
1146 cat >&5 <<_ACEOF
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1151 generated by GNU Autoconf 2.59. Invocation command line was
1153 $ $0 $@
1155 _ACEOF
1157 cat <<_ASUNAME
1158 ## --------- ##
1159 ## Platform. ##
1160 ## --------- ##
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1179 _ASUNAME
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 for as_dir in $PATH
1184 IFS=$as_save_IFS
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1187 done
1189 } >&5
1191 cat >&5 <<_ACEOF
1194 ## ----------- ##
1195 ## Core tests. ##
1196 ## ----------- ##
1198 _ACEOF
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_configure_args=
1207 ac_configure_args0=
1208 ac_configure_args1=
1209 ac_sep=
1210 ac_must_keep_next=false
1211 for ac_pass in 1 2
1213 for ac_arg
1215 case $ac_arg in
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1219 continue ;;
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 esac
1223 case $ac_pass in
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1229 else
1230 case $ac_arg in
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237 esac
1239 -* ) ac_must_keep_next=true ;;
1240 esac
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1244 ac_sep=" "
1246 esac
1247 done
1248 done
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1260 echo
1262 cat <<\_ASBOX
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1266 _ASBOX
1267 echo
1268 # The following way of writing the cache mishandles newlines in values,
1270 (set) 2>&1 |
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272 *ac_space=\ *)
1273 sed -n \
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 sed -n \
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281 esac;
1283 echo
1285 cat <<\_ASBOX
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1289 _ASBOX
1290 echo
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1295 done | sort
1296 echo
1298 if test -n "$ac_subst_files"; then
1299 cat <<\_ASBOX
1300 ## ------------- ##
1301 ## Output files. ##
1302 ## ------------- ##
1303 _ASBOX
1304 echo
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1309 done | sort
1310 echo
1313 if test -s confdefs.h; then
1314 cat <<\_ASBOX
1315 ## ----------- ##
1316 ## confdefs.h. ##
1317 ## ----------- ##
1318 _ASBOX
1319 echo
1320 sed "/^$/d" confdefs.h | sort
1321 echo
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1326 } >&5
1327 rm -f core *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329 exit $exit_status
1331 for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 done
1334 ac_signal=0
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339 echo >confdefs.h
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 _ACEOF
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 _ACEOF
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 _ACEOF
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 _ACEOF
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 _ACEOF
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 else
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1382 . "$ac_site_file"
1384 done
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1392 case $cache_file in
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1395 esac
1397 else
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1400 >$cache_file
1403 # Check that the precious variables saved in the cache have kept the same
1404 # value.
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1413 set,)
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1417 ,set)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,);;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 # differences in whitespace do not lead to failure.
1425 ac_old_val_w=`echo x $ac_old_val`
1426 ac_new_val_w=`echo x $ac_new_val`
1427 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 ac_cache_corrupted=:
1431 else
1432 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1433 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1434 eval $ac_var=\$ac_old_val
1436 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1437 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1438 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1439 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1440 fi;;
1441 esac
1442 # Pass precious variables to config.status.
1443 if test "$ac_new_set" = set; then
1444 case $ac_new_val in
1445 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1446 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 *) ac_arg=$ac_var=$ac_new_val ;;
1448 esac
1449 case " $ac_configure_args " in
1450 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1451 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1452 esac
1454 done
1455 if $ac_cache_corrupted; then
1456 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1457 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1458 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1459 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1460 { (exit 1); exit 1; }; }
1463 ac_ext=c
1464 ac_cpp='$CPP $CPPFLAGS'
1465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1495 ac_config_headers="$ac_config_headers config.h"
1497 ac_aux_dir=
1498 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1499 if test -f $ac_dir/install-sh; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/install-sh -c"
1502 break
1503 elif test -f $ac_dir/install.sh; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/install.sh -c"
1506 break
1507 elif test -f $ac_dir/shtool; then
1508 ac_aux_dir=$ac_dir
1509 ac_install_sh="$ac_aux_dir/shtool install -c"
1510 break
1512 done
1513 if test -z "$ac_aux_dir"; then
1514 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1515 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1516 { (exit 1); exit 1; }; }
1518 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1519 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1520 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1522 # Make sure we can run config.sub.
1523 $ac_config_sub sun4 >/dev/null 2>&1 ||
1524 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1525 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1526 { (exit 1); exit 1; }; }
1528 echo "$as_me:$LINENO: checking build system type" >&5
1529 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1530 if test "${ac_cv_build+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 else
1533 ac_cv_build_alias=$build_alias
1534 test -z "$ac_cv_build_alias" &&
1535 ac_cv_build_alias=`$ac_config_guess`
1536 test -z "$ac_cv_build_alias" &&
1537 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1538 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1539 { (exit 1); exit 1; }; }
1540 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1542 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1543 { (exit 1); exit 1; }; }
1546 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1547 echo "${ECHO_T}$ac_cv_build" >&6
1548 build=$ac_cv_build
1549 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1550 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1551 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1554 case ${build_alias} in
1555 "") build_noncanonical=${build} ;;
1556 *) build_noncanonical=${build_alias} ;;
1557 esac
1559 case ${host_alias} in
1560 "") host_noncanonical=${build_noncanonical} ;;
1561 *) host_noncanonical=${host_alias} ;;
1562 esac
1564 case ${target_alias} in
1565 "") target_noncanonical=${host_noncanonical} ;;
1566 *) target_noncanonical=${target_alias} ;;
1567 esac
1570 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1571 # have matching libraries, they should use host libraries: Makefile.tpl
1572 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1573 # However, they still use the build modules, because the corresponding
1574 # host modules (e.g. bison) are only built for the host when bootstrap
1575 # finishes. So:
1576 # - build_subdir is where we find build modules, and never changes.
1577 # - build_libsubdir is where we find build libraries, and can be overridden.
1579 # Prefix 'build-' so this never conflicts with target_subdir.
1580 build_subdir="build-${build_noncanonical}"
1582 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1583 if test "${with_build_libsubdir+set}" = set; then
1584 withval="$with_build_libsubdir"
1585 build_libsubdir="$withval"
1586 else
1587 build_libsubdir="$build_subdir"
1589 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1590 if ( test $srcdir = . && test -d gcc ) \
1591 || test -d $srcdir/../host-${host_noncanonical}; then
1592 host_subdir="host-${host_noncanonical}"
1593 else
1594 host_subdir=.
1596 # No prefix.
1597 target_subdir=${target_noncanonical}
1600 # -------
1601 # Options
1602 # -------
1604 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1605 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1606 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1607 if test "${enable_version_specific_runtime_libs+set}" = set; then
1608 enableval="$enable_version_specific_runtime_libs"
1609 case "$enableval" in
1610 yes) version_specific_libs=yes ;;
1611 no) version_specific_libs=no ;;
1612 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1613 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1614 { (exit 1); exit 1; }; };;
1615 esac
1616 else
1617 version_specific_libs=no
1619 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1620 echo "${ECHO_T}$version_specific_libs" >&6
1622 # Build with intermodule optimisations
1623 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1624 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1625 # Check whether --enable-intermodule or --disable-intermodule was given.
1626 if test "${enable_intermodule+set}" = set; then
1627 enableval="$enable_intermodule"
1628 case "$enable_intermodule" in
1629 yes) onestep="-onestep";;
1630 *) onestep="";;
1631 esac
1632 else
1633 onestep=""
1635 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1636 echo "${ECHO_T}$enable_intermodule" >&6
1639 if test x$onestep = x-onestep; then
1640 onestep_TRUE=
1641 onestep_FALSE='#'
1642 else
1643 onestep_TRUE='#'
1644 onestep_FALSE=
1649 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1651 # You will slowly go insane if you do not grok the following fact: when
1652 # building this library, the top-level /target/ becomes the library's /host/.
1654 # configure then causes --target to default to --host, exactly like any
1655 # other package using autoconf. Therefore, 'target' and 'host' will
1656 # always be the same. This makes sense both for native and cross compilers
1657 # just think about it for a little while. :-)
1659 # Also, if this library is being configured as part of a cross compiler, the
1660 # top-level configure script will pass the "real" host as $with_cross_host.
1662 # Do not delete or change the following two lines. For why, see
1663 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1664 echo "$as_me:$LINENO: checking host system type" >&5
1665 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1666 if test "${ac_cv_host+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 else
1669 ac_cv_host_alias=$host_alias
1670 test -z "$ac_cv_host_alias" &&
1671 ac_cv_host_alias=$ac_cv_build_alias
1672 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1673 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1674 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1675 { (exit 1); exit 1; }; }
1678 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1679 echo "${ECHO_T}$ac_cv_host" >&6
1680 host=$ac_cv_host
1681 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1682 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1683 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1686 echo "$as_me:$LINENO: checking target system type" >&5
1687 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1688 if test "${ac_cv_target+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 else
1691 ac_cv_target_alias=$target_alias
1692 test "x$ac_cv_target_alias" = "x" &&
1693 ac_cv_target_alias=$ac_cv_host_alias
1694 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1695 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1696 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1697 { (exit 1); exit 1; }; }
1700 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1701 echo "${ECHO_T}$ac_cv_target" >&6
1702 target=$ac_cv_target
1703 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1704 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1705 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1708 # The aliases save the names the user supplied, while $host etc.
1709 # will get canonicalized.
1710 test -n "$target_alias" &&
1711 test "$program_prefix$program_suffix$program_transform_name" = \
1712 NONENONEs,x,x, &&
1713 program_prefix=${target_alias}-
1714 target_alias=${target_alias-$host_alias}
1716 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1717 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1718 # 1.9.6: minimum required version
1719 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1720 # of other PACKAGE_* variables will, however, and there's nothing
1721 # we can do about that; they come from AC_INIT).
1722 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1723 # file in the top srcdir, etc, etc), so stop complaining.
1724 # -Wall: turns on all automake warnings...
1725 # -Wno-portability: ...except this one, since GNU make is required.
1726 am__api_version="1.9"
1727 # Find a good install program. We prefer a C program (faster),
1728 # so one script is as good as another. But avoid the broken or
1729 # incompatible versions:
1730 # SysV /etc/install, /usr/sbin/install
1731 # SunOS /usr/etc/install
1732 # IRIX /sbin/install
1733 # AIX /bin/install
1734 # AmigaOS /C/install, which installs bootblocks on floppy discs
1735 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1736 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1737 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1738 # OS/2's system install, which has a completely different semantic
1739 # ./install, which can be erroneously created by make from ./install.sh.
1740 # Reject install programs that cannot install multiple files.
1741 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1742 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1743 if test -z "$INSTALL"; then
1744 if test "${ac_cv_path_install+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 else
1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1748 for as_dir in $PATH
1750 IFS=$as_save_IFS
1751 test -z "$as_dir" && as_dir=.
1752 # Account for people who put trailing slashes in PATH elements.
1753 case $as_dir/ in
1754 ./ | .// | /cC/* | \
1755 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1756 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1757 /usr/ucb/* ) ;;
1759 # OSF1 and SCO ODT 3.0 have their own names for install.
1760 # Don't use installbsd from OSF since it installs stuff as root
1761 # by default.
1762 for ac_prog in ginstall scoinst install; do
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1765 if test $ac_prog = install &&
1766 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1767 # AIX install. It has an incompatible calling convention.
1769 elif test $ac_prog = install &&
1770 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1771 # program-specific install script used by HP pwplus--don't use.
1773 else
1774 rm -rf conftest.one conftest.two conftest.dir
1775 echo one > conftest.one
1776 echo two > conftest.two
1777 mkdir conftest.dir
1778 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1779 test -s conftest.one && test -s conftest.two &&
1780 test -s conftest.dir/conftest.one &&
1781 test -s conftest.dir/conftest.two
1782 then
1783 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1784 break 3
1788 done
1789 done
1791 esac
1792 done
1794 rm -rf conftest.one conftest.two conftest.dir
1797 if test "${ac_cv_path_install+set}" = set; then
1798 INSTALL=$ac_cv_path_install
1799 else
1800 # As a last resort, use the slow shell script. Don't cache a
1801 # value for INSTALL within a source directory, because that will
1802 # break other packages using the cache if that directory is
1803 # removed, or if the value is a relative name.
1804 INSTALL=$ac_install_sh
1807 echo "$as_me:$LINENO: result: $INSTALL" >&5
1808 echo "${ECHO_T}$INSTALL" >&6
1810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1811 # It thinks the first close brace ends the variable substitution.
1812 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1814 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1816 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1818 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1819 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1820 # Just in case
1821 sleep 1
1822 echo timestamp > conftest.file
1823 # Do `set' in a subshell so we don't clobber the current shell's
1824 # arguments. Must try -L first in case configure is actually a
1825 # symlink; some systems play weird games with the mod time of symlinks
1826 # (eg FreeBSD returns the mod time of the symlink's containing
1827 # directory).
1828 if (
1829 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1830 if test "$*" = "X"; then
1831 # -L didn't work.
1832 set X `ls -t $srcdir/configure conftest.file`
1834 rm -f conftest.file
1835 if test "$*" != "X $srcdir/configure conftest.file" \
1836 && test "$*" != "X conftest.file $srcdir/configure"; then
1838 # If neither matched, then we have a broken ls. This can happen
1839 # if, for instance, CONFIG_SHELL is bash and it inherits a
1840 # broken ls alias from the environment. This has actually
1841 # happened. Such a system could not be considered "sane".
1842 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1843 alias in your environment" >&5
1844 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1845 alias in your environment" >&2;}
1846 { (exit 1); exit 1; }; }
1849 test "$2" = conftest.file
1851 then
1852 # Ok.
1854 else
1855 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1856 Check your system clock" >&5
1857 echo "$as_me: error: newly created file is older than distributed files!
1858 Check your system clock" >&2;}
1859 { (exit 1); exit 1; }; }
1861 echo "$as_me:$LINENO: result: yes" >&5
1862 echo "${ECHO_T}yes" >&6
1863 test "$program_prefix" != NONE &&
1864 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1865 # Use a double $ so make ignores it.
1866 test "$program_suffix" != NONE &&
1867 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1868 # Double any \ or $. echo might interpret backslashes.
1869 # By default was `s,x,x', remove it if useless.
1870 cat <<\_ACEOF >conftest.sed
1871 s/[\\$]/&&/g;s/;s,x,x,$//
1872 _ACEOF
1873 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1874 rm conftest.sed
1876 # expand $ac_aux_dir to an absolute path
1877 am_aux_dir=`cd $ac_aux_dir && pwd`
1879 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1880 # Use eval to expand $SHELL
1881 if eval "$MISSING --run true"; then
1882 am_missing_run="$MISSING --run "
1883 else
1884 am_missing_run=
1885 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1886 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1889 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1890 # We used to keeping the `.' as first argument, in order to
1891 # allow $(mkdir_p) to be used without argument. As in
1892 # $(mkdir_p) $(somedir)
1893 # where $(somedir) is conditionally defined. However this is wrong
1894 # for two reasons:
1895 # 1. if the package is installed by a user who cannot write `.'
1896 # make install will fail,
1897 # 2. the above comment should most certainly read
1898 # $(mkdir_p) $(DESTDIR)$(somedir)
1899 # so it does not work when $(somedir) is undefined and
1900 # $(DESTDIR) is not.
1901 # To support the latter case, we have to write
1902 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1903 # so the `.' trick is pointless.
1904 mkdir_p='mkdir -p --'
1905 else
1906 # On NextStep and OpenStep, the `mkdir' command does not
1907 # recognize any option. It will interpret all options as
1908 # directories to create, and then abort because `.' already
1909 # exists.
1910 for d in ./-p ./--version;
1912 test -d $d && rmdir $d
1913 done
1914 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1915 if test -f "$ac_aux_dir/mkinstalldirs"; then
1916 mkdir_p='$(mkinstalldirs)'
1917 else
1918 mkdir_p='$(install_sh) -d'
1922 for ac_prog in gawk mawk nawk awk
1924 # Extract the first word of "$ac_prog", so it can be a program name with args.
1925 set dummy $ac_prog; ac_word=$2
1926 echo "$as_me:$LINENO: checking for $ac_word" >&5
1927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928 if test "${ac_cv_prog_AWK+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else
1931 if test -n "$AWK"; then
1932 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1933 else
1934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 for as_dir in $PATH
1937 IFS=$as_save_IFS
1938 test -z "$as_dir" && as_dir=.
1939 for ac_exec_ext in '' $ac_executable_extensions; do
1940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941 ac_cv_prog_AWK="$ac_prog"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 break 2
1945 done
1946 done
1950 AWK=$ac_cv_prog_AWK
1951 if test -n "$AWK"; then
1952 echo "$as_me:$LINENO: result: $AWK" >&5
1953 echo "${ECHO_T}$AWK" >&6
1954 else
1955 echo "$as_me:$LINENO: result: no" >&5
1956 echo "${ECHO_T}no" >&6
1959 test -n "$AWK" && break
1960 done
1962 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1963 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1964 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1965 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 else
1968 cat >conftest.make <<\_ACEOF
1969 all:
1970 @echo 'ac_maketemp="$(MAKE)"'
1971 _ACEOF
1972 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1973 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1974 if test -n "$ac_maketemp"; then
1975 eval ac_cv_prog_make_${ac_make}_set=yes
1976 else
1977 eval ac_cv_prog_make_${ac_make}_set=no
1979 rm -f conftest.make
1981 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1982 echo "$as_me:$LINENO: result: yes" >&5
1983 echo "${ECHO_T}yes" >&6
1984 SET_MAKE=
1985 else
1986 echo "$as_me:$LINENO: result: no" >&5
1987 echo "${ECHO_T}no" >&6
1988 SET_MAKE="MAKE=${MAKE-make}"
1991 rm -rf .tst 2>/dev/null
1992 mkdir .tst 2>/dev/null
1993 if test -d .tst; then
1994 am__leading_dot=.
1995 else
1996 am__leading_dot=_
1998 rmdir .tst 2>/dev/null
2000 # test to see if srcdir already configured
2001 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2002 test -f $srcdir/config.status; then
2003 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2004 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2005 { (exit 1); exit 1; }; }
2008 # test whether we have cygpath
2009 if test -z "$CYGPATH_W"; then
2010 if (cygpath --version) >/dev/null 2>/dev/null; then
2011 CYGPATH_W='cygpath -w'
2012 else
2013 CYGPATH_W=echo
2018 # Define the identity of the package.
2019 PACKAGE='libgfortran'
2020 VERSION='0.3'
2023 # Some tools Automake needs.
2025 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2028 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2031 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2034 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2037 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2039 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2041 # Installed binaries are usually stripped using `strip' when the user
2042 # run `make install-strip'. However `strip' might not be the right
2043 # tool to use in cross-compilation environments, therefore Automake
2044 # will honor the `STRIP' environment variable to overrule this program.
2045 if test "$cross_compiling" != no; then
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2048 set dummy ${ac_tool_prefix}strip; ac_word=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_STRIP+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 else
2054 if test -n "$STRIP"; then
2055 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2068 done
2069 done
2073 STRIP=$ac_cv_prog_STRIP
2074 if test -n "$STRIP"; then
2075 echo "$as_me:$LINENO: result: $STRIP" >&5
2076 echo "${ECHO_T}$STRIP" >&6
2077 else
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2083 if test -z "$ac_cv_prog_STRIP"; then
2084 ac_ct_STRIP=$STRIP
2085 # Extract the first word of "strip", so it can be a program name with args.
2086 set dummy strip; ac_word=$2
2087 echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2089 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_STRIP"; then
2093 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2102 ac_cv_prog_ac_ct_STRIP="strip"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2109 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2112 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2113 if test -n "$ac_ct_STRIP"; then
2114 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2115 echo "${ECHO_T}$ac_ct_STRIP" >&6
2116 else
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2121 STRIP=$ac_ct_STRIP
2122 else
2123 STRIP="$ac_cv_prog_STRIP"
2127 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2129 # We need awk for the "check" target. The system "awk" is bad on
2130 # some platforms.
2131 # Always define AMTAR for backward compatibility.
2133 AMTAR=${AMTAR-"${am_missing_run}tar"}
2135 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2142 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2143 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2144 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2145 if test "${enable_maintainer_mode+set}" = set; then
2146 enableval="$enable_maintainer_mode"
2147 USE_MAINTAINER_MODE=$enableval
2148 else
2149 USE_MAINTAINER_MODE=no
2151 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2152 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2155 if test $USE_MAINTAINER_MODE = yes; then
2156 MAINTAINER_MODE_TRUE=
2157 MAINTAINER_MODE_FALSE='#'
2158 else
2159 MAINTAINER_MODE_TRUE='#'
2160 MAINTAINER_MODE_FALSE=
2163 MAINT=$MAINTAINER_MODE_TRUE
2166 # Default to --enable-multilib
2167 # Check whether --enable-multilib or --disable-multilib was given.
2168 if test "${enable_multilib+set}" = set; then
2169 enableval="$enable_multilib"
2170 case "$enableval" in
2171 yes) multilib=yes ;;
2172 no) multilib=no ;;
2173 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2174 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2175 { (exit 1); exit 1; }; } ;;
2176 esac
2177 else
2178 multilib=yes
2181 # We may get other options which we leave undocumented:
2182 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2183 # See config-ml.in if you want the gory details.
2185 if test "$srcdir" = "."; then
2186 if test "$with_target_subdir" != "."; then
2187 multi_basedir="$srcdir/$with_multisrctop../.."
2188 else
2189 multi_basedir="$srcdir/$with_multisrctop.."
2191 else
2192 multi_basedir="$srcdir/.."
2196 # Even if the default multilib is not a cross compilation,
2197 # it may be that some of the other multilibs are.
2198 if test $cross_compiling = no && test $multilib = yes \
2199 && test "x${with_multisubdir}" != x ; then
2200 cross_compiling=maybe
2203 ac_config_commands="$ac_config_commands default-1"
2206 # Handy for debugging:
2207 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2209 # Are we being configured with some form of cross compiler?
2210 # NB: We don't actually need to know this just now, but when, say, a test
2211 # suite is included, we'll have to know.
2212 if test "$build" != "$host"; then
2213 LIBGFOR_IS_NATIVE=false
2215 else
2216 LIBGFOR_IS_NATIVE=true
2219 # Calculate toolexeclibdir
2220 # Also toolexecdir, though it's only used in toolexeclibdir
2221 case ${version_specific_libs} in
2222 yes)
2223 # Need the gcc compiler version to know where to install libraries
2224 # and header files if --enable-version-specific-runtime-libs option
2225 # is selected.
2226 toolexecdir='$(libdir)/gcc/$(target_alias)'
2227 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2230 if test -n "$with_cross_host" &&
2231 test x"$with_cross_host" != x"no"; then
2232 # Install a library built with a cross compiler in tooldir, not libdir.
2233 toolexecdir='$(exec_prefix)/$(target_alias)'
2234 toolexeclibdir='$(toolexecdir)/lib'
2235 else
2236 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2237 toolexeclibdir='$(libdir)'
2239 multi_os_directory=`$CC -print-multi-os-directory`
2240 case $multi_os_directory in
2241 .) ;; # Avoid trailing /.
2242 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2243 esac
2245 esac
2249 # Check the compiler.
2250 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2251 # We must force CC to /not/ be precious variables; otherwise
2252 # the wrong, non-multilib-adjusted value will be used in multilibs.
2253 # As a side effect, we have to subst CFLAGS ourselves.
2257 ac_ext=c
2258 ac_cpp='$CPP $CPPFLAGS'
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2262 if test -n "$ac_tool_prefix"; then
2263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2264 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2265 echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 else
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2272 else
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 for as_dir in $PATH
2276 IFS=$as_save_IFS
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 break 2
2284 done
2285 done
2289 CC=$ac_cv_prog_CC
2290 if test -n "$CC"; then
2291 echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6
2293 else
2294 echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6
2299 if test -z "$ac_cv_prog_CC"; then
2300 ac_ct_CC=$CC
2301 # Extract the first word of "gcc", so it can be a program name with args.
2302 set dummy gcc; ac_word=$2
2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308 if test -n "$ac_ct_CC"; then
2309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 ac_cv_prog_ac_ct_CC="gcc"
2319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 break 2
2322 done
2323 done
2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 if test -n "$ac_ct_CC"; then
2329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330 echo "${ECHO_T}$ac_ct_CC" >&6
2331 else
2332 echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6
2336 CC=$ac_ct_CC
2337 else
2338 CC="$ac_cv_prog_CC"
2341 if test -z "$CC"; then
2342 if test -n "$ac_tool_prefix"; then
2343 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2344 set dummy ${ac_tool_prefix}cc; ac_word=$2
2345 echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347 if test "${ac_cv_prog_CC+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 else
2350 if test -n "$CC"; then
2351 ac_cv_prog_CC="$CC" # Let the user override the test.
2352 else
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 for as_dir in $PATH
2356 IFS=$as_save_IFS
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360 ac_cv_prog_CC="${ac_tool_prefix}cc"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 break 2
2364 done
2365 done
2369 CC=$ac_cv_prog_CC
2370 if test -n "$CC"; then
2371 echo "$as_me:$LINENO: result: $CC" >&5
2372 echo "${ECHO_T}$CC" >&6
2373 else
2374 echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6
2379 if test -z "$ac_cv_prog_CC"; then
2380 ac_ct_CC=$CC
2381 # Extract the first word of "cc", so it can be a program name with args.
2382 set dummy cc; ac_word=$2
2383 echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2385 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 else
2388 if test -n "$ac_ct_CC"; then
2389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2390 else
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2394 IFS=$as_save_IFS
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398 ac_cv_prog_ac_ct_CC="cc"
2399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 break 2
2402 done
2403 done
2407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2408 if test -n "$ac_ct_CC"; then
2409 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2410 echo "${ECHO_T}$ac_ct_CC" >&6
2411 else
2412 echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6
2416 CC=$ac_ct_CC
2417 else
2418 CC="$ac_cv_prog_CC"
2422 if test -z "$CC"; then
2423 # Extract the first word of "cc", so it can be a program name with args.
2424 set dummy cc; ac_word=$2
2425 echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 else
2433 ac_prog_rejected=no
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2437 IFS=$as_save_IFS
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2441 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2442 ac_prog_rejected=yes
2443 continue
2445 ac_cv_prog_CC="cc"
2446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 break 2
2449 done
2450 done
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2455 shift
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2460 shift
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468 echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6
2470 else
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2476 if test -z "$CC"; then
2477 if test -n "$ac_tool_prefix"; then
2478 for ac_prog in cl
2480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2481 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2482 echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2484 if test "${ac_cv_prog_CC+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 else
2487 if test -n "$CC"; then
2488 ac_cv_prog_CC="$CC" # Let the user override the test.
2489 else
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2493 IFS=$as_save_IFS
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 break 2
2501 done
2502 done
2506 CC=$ac_cv_prog_CC
2507 if test -n "$CC"; then
2508 echo "$as_me:$LINENO: result: $CC" >&5
2509 echo "${ECHO_T}$CC" >&6
2510 else
2511 echo "$as_me:$LINENO: result: no" >&5
2512 echo "${ECHO_T}no" >&6
2515 test -n "$CC" && break
2516 done
2518 if test -z "$CC"; then
2519 ac_ct_CC=$CC
2520 for ac_prog in cl
2522 # Extract the first word of "$ac_prog", so it can be a program name with args.
2523 set dummy $ac_prog; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529 if test -n "$ac_ct_CC"; then
2530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_ac_ct_CC="$ac_prog"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2543 done
2544 done
2548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2549 if test -n "$ac_ct_CC"; then
2550 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2551 echo "${ECHO_T}$ac_ct_CC" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2557 test -n "$ac_ct_CC" && break
2558 done
2560 CC=$ac_ct_CC
2566 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: no acceptable C compiler found in \$PATH
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
2572 # Provide some information about the compiler.
2573 echo "$as_me:$LINENO:" \
2574 "checking for C compiler version" >&5
2575 ac_compiler=`set X $ac_compile; echo $2`
2576 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2577 (eval $ac_compiler --version </dev/null >&5) 2>&5
2578 ac_status=$?
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }
2581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2582 (eval $ac_compiler -v </dev/null >&5) 2>&5
2583 ac_status=$?
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }
2586 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2587 (eval $ac_compiler -V </dev/null >&5) 2>&5
2588 ac_status=$?
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }
2592 cat >conftest.$ac_ext <<_ACEOF
2593 /* confdefs.h. */
2594 _ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2600 main ()
2604 return 0;
2606 _ACEOF
2607 # FIXME: Cleanup?
2608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2609 (eval $ac_link) 2>&5
2610 ac_status=$?
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; then
2613 gcc_no_link=no
2614 else
2615 gcc_no_link=yes
2618 if test x$gcc_no_link = xyes; then
2619 # Setting cross_compile will disable run tests; it will
2620 # also disable AC_CHECK_FILE but that's generally
2621 # correct if we can't link.
2622 cross_compiling=yes
2623 EXEEXT=
2624 else
2625 cat >conftest.$ac_ext <<_ACEOF
2626 /* confdefs.h. */
2627 _ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2633 main ()
2637 return 0;
2639 _ACEOF
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2644 # of exeext.
2645 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2648 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2649 (eval $ac_link_default) 2>&5
2650 ac_status=$?
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; then
2653 # Find the output, starting from the most likely. This scheme is
2654 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2655 # resort.
2657 # Be careful to initialize this variable, since it used to be cached.
2658 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2659 ac_cv_exeext=
2660 # b.out is created by i960 compilers.
2661 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2663 test -f "$ac_file" || continue
2664 case $ac_file in
2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2667 conftest.$ac_ext )
2668 # This is the source file.
2670 [ab].out )
2671 # We found the default executable, but exeext='' is most
2672 # certainly right.
2673 break;;
2674 *.* )
2675 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2676 # FIXME: I believe we export ac_cv_exeext for Libtool,
2677 # but it would be cool to find out if it's true. Does anybody
2678 # maintain Libtool? --akim.
2679 export ac_cv_exeext
2680 break;;
2682 break;;
2683 esac
2684 done
2685 else
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2689 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2690 See \`config.log' for more details." >&5
2691 echo "$as_me: error: C compiler cannot create executables
2692 See \`config.log' for more details." >&2;}
2693 { (exit 77); exit 77; }; }
2696 ac_exeext=$ac_cv_exeext
2697 echo "$as_me:$LINENO: result: $ac_file" >&5
2698 echo "${ECHO_T}$ac_file" >&6
2700 # Check the compiler produces executables we can run. If not, either
2701 # the compiler is broken, or we cross compile.
2702 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2703 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2704 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2705 # If not cross compiling, check that we can run a simple program.
2706 if test "$cross_compiling" != yes; then
2707 if { ac_try='./$ac_file'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 (eval $ac_try) 2>&5
2710 ac_status=$?
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; }; then
2713 cross_compiling=no
2714 else
2715 if test "$cross_compiling" = maybe; then
2716 cross_compiling=yes
2717 else
2718 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2719 If you meant to cross compile, use \`--host'.
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: cannot run C compiled programs.
2722 If you meant to cross compile, use \`--host'.
2723 See \`config.log' for more details." >&2;}
2724 { (exit 1); exit 1; }; }
2728 echo "$as_me:$LINENO: result: yes" >&5
2729 echo "${ECHO_T}yes" >&6
2731 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2732 ac_clean_files=$ac_clean_files_save
2733 # Check the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2736 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2737 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2738 echo "${ECHO_T}$cross_compiling" >&6
2740 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2741 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2743 (eval $ac_link) 2>&5
2744 ac_status=$?
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; then
2747 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2748 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2749 # work properly (i.e., refer to `conftest.exe'), while it won't with
2750 # `rm'.
2751 for ac_file in conftest.exe conftest conftest.*; do
2752 test -f "$ac_file" || continue
2753 case $ac_file in
2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2755 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2756 export ac_cv_exeext
2757 break;;
2758 * ) break;;
2759 esac
2760 done
2761 else
2762 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2763 See \`config.log' for more details." >&5
2764 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2765 See \`config.log' for more details." >&2;}
2766 { (exit 1); exit 1; }; }
2769 rm -f conftest$ac_cv_exeext
2770 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2771 echo "${ECHO_T}$ac_cv_exeext" >&6
2773 rm -f conftest.$ac_ext
2774 EXEEXT=$ac_cv_exeext
2775 ac_exeext=$EXEEXT
2777 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2778 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2779 if test "${ac_cv_objext+set}" = set; then
2780 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 else
2782 cat >conftest.$ac_ext <<_ACEOF
2783 /* confdefs.h. */
2784 _ACEOF
2785 cat confdefs.h >>conftest.$ac_ext
2786 cat >>conftest.$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2790 main ()
2794 return 0;
2796 _ACEOF
2797 rm -f conftest.o conftest.obj
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799 (eval $ac_compile) 2>&5
2800 ac_status=$?
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; then
2803 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2804 case $ac_file in
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2806 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2807 break;;
2808 esac
2809 done
2810 else
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2815 See \`config.log' for more details." >&5
2816 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2817 See \`config.log' for more details." >&2;}
2818 { (exit 1); exit 1; }; }
2821 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2823 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2824 echo "${ECHO_T}$ac_cv_objext" >&6
2825 OBJEXT=$ac_cv_objext
2826 ac_objext=$OBJEXT
2827 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2828 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2829 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 else
2832 cat >conftest.$ac_ext <<_ACEOF
2833 /* confdefs.h. */
2834 _ACEOF
2835 cat confdefs.h >>conftest.$ac_ext
2836 cat >>conftest.$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2840 main ()
2842 #ifndef __GNUC__
2843 choke me
2844 #endif
2847 return 0;
2849 _ACEOF
2850 rm -f conftest.$ac_objext
2851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2852 (eval $ac_compile) 2>conftest.er1
2853 ac_status=$?
2854 grep -v '^ *+' conftest.er1 >conftest.err
2855 rm -f conftest.er1
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -z "$ac_c_werror_flag"
2860 || test ! -s conftest.err'
2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2862 (eval $ac_try) 2>&5
2863 ac_status=$?
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; } &&
2866 { ac_try='test -s conftest.$ac_objext'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; }; then
2872 ac_compiler_gnu=yes
2873 else
2874 echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2877 ac_compiler_gnu=no
2879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2880 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2883 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2884 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2885 GCC=`test $ac_compiler_gnu = yes && echo yes`
2886 ac_test_CFLAGS=${CFLAGS+set}
2887 ac_save_CFLAGS=$CFLAGS
2888 CFLAGS="-g"
2889 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2891 if test "${ac_cv_prog_cc_g+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 else
2894 cat >conftest.$ac_ext <<_ACEOF
2895 /* confdefs.h. */
2896 _ACEOF
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2902 main ()
2906 return 0;
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -z "$ac_c_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 (eval $ac_try) 2>&5
2922 ac_status=$?
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 (eval $ac_try) 2>&5
2928 ac_status=$?
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 ac_cv_prog_cc_g=yes
2932 else
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_cv_prog_cc_g=no
2938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2940 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2941 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2942 if test "$ac_test_CFLAGS" = set; then
2943 CFLAGS=$ac_save_CFLAGS
2944 elif test $ac_cv_prog_cc_g = yes; then
2945 if test "$GCC" = yes; then
2946 CFLAGS="-g -O2"
2947 else
2948 CFLAGS="-g"
2950 else
2951 if test "$GCC" = yes; then
2952 CFLAGS="-O2"
2953 else
2954 CFLAGS=
2957 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2958 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2959 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 else
2962 ac_cv_prog_cc_stdc=no
2963 ac_save_CC=$CC
2964 cat >conftest.$ac_ext <<_ACEOF
2965 /* confdefs.h. */
2966 _ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970 #include <stdarg.h>
2971 #include <stdio.h>
2972 #include <sys/types.h>
2973 #include <sys/stat.h>
2974 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2975 struct buf { int x; };
2976 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2977 static char *e (p, i)
2978 char **p;
2979 int i;
2981 return p[i];
2983 static char *f (char * (*g) (char **, int), char **p, ...)
2985 char *s;
2986 va_list v;
2987 va_start (v,p);
2988 s = g (p, va_arg (v,int));
2989 va_end (v);
2990 return s;
2993 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2994 function prototypes and stuff, but not '\xHH' hex character constants.
2995 These don't provoke an error unfortunately, instead are silently treated
2996 as 'x'. The following induces an error, until -std1 is added to get
2997 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2998 array size at least. It's necessary to write '\x00'==0 to get something
2999 that's true only with -std1. */
3000 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3002 int test (int i, double x);
3003 struct s1 {int (*f) (int a);};
3004 struct s2 {int (*f) (double a);};
3005 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3006 int argc;
3007 char **argv;
3009 main ()
3011 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3013 return 0;
3015 _ACEOF
3016 # Don't try gcc -ansi; that turns off useful extensions and
3017 # breaks some systems' header files.
3018 # AIX -qlanglvl=ansi
3019 # Ultrix and OSF/1 -std1
3020 # HP-UX 10.20 and later -Ae
3021 # HP-UX older versions -Aa -D_HPUX_SOURCE
3022 # SVR4 -Xc -D__EXTENSIONS__
3023 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3025 CC="$ac_save_CC $ac_arg"
3026 rm -f conftest.$ac_objext
3027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3028 (eval $ac_compile) 2>conftest.er1
3029 ac_status=$?
3030 grep -v '^ *+' conftest.er1 >conftest.err
3031 rm -f conftest.er1
3032 cat conftest.err >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } &&
3035 { ac_try='test -z "$ac_c_werror_flag"
3036 || test ! -s conftest.err'
3037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3038 (eval $ac_try) 2>&5
3039 ac_status=$?
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; } &&
3042 { ac_try='test -s conftest.$ac_objext'
3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044 (eval $ac_try) 2>&5
3045 ac_status=$?
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; }; then
3048 ac_cv_prog_cc_stdc=$ac_arg
3049 break
3050 else
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.$ac_ext >&5
3055 rm -f conftest.err conftest.$ac_objext
3056 done
3057 rm -f conftest.$ac_ext conftest.$ac_objext
3058 CC=$ac_save_CC
3062 case "x$ac_cv_prog_cc_stdc" in
3063 x|xno)
3064 echo "$as_me:$LINENO: result: none needed" >&5
3065 echo "${ECHO_T}none needed" >&6 ;;
3067 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3069 CC="$CC $ac_cv_prog_cc_stdc" ;;
3070 esac
3072 # Some people use a C++ compiler to compile C. Since we use `exit',
3073 # in C++ we need to declare it. In case someone uses the same compiler
3074 # for both compiling C and C++ we need to have the C++ compiler decide
3075 # the declaration of exit, since it's the most demanding environment.
3076 cat >conftest.$ac_ext <<_ACEOF
3077 #ifndef __cplusplus
3078 choke me
3079 #endif
3080 _ACEOF
3081 rm -f conftest.$ac_objext
3082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3083 (eval $ac_compile) 2>conftest.er1
3084 ac_status=$?
3085 grep -v '^ *+' conftest.er1 >conftest.err
3086 rm -f conftest.er1
3087 cat conftest.err >&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); } &&
3090 { ac_try='test -z "$ac_c_werror_flag"
3091 || test ! -s conftest.err'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; } &&
3097 { ac_try='test -s conftest.$ac_objext'
3098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 (eval $ac_try) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }; }; then
3103 for ac_declaration in \
3104 '' \
3105 'extern "C" void std::exit (int) throw (); using std::exit;' \
3106 'extern "C" void std::exit (int); using std::exit;' \
3107 'extern "C" void exit (int) throw ();' \
3108 'extern "C" void exit (int);' \
3109 'void exit (int);'
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3117 $ac_declaration
3118 #include <stdlib.h>
3120 main ()
3122 exit (42);
3124 return 0;
3126 _ACEOF
3127 rm -f conftest.$ac_objext
3128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3129 (eval $ac_compile) 2>conftest.er1
3130 ac_status=$?
3131 grep -v '^ *+' conftest.er1 >conftest.err
3132 rm -f conftest.er1
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } &&
3136 { ac_try='test -z "$ac_c_werror_flag"
3137 || test ! -s conftest.err'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139 (eval $ac_try) 2>&5
3140 ac_status=$?
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; } &&
3143 { ac_try='test -s conftest.$ac_objext'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145 (eval $ac_try) 2>&5
3146 ac_status=$?
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; }; then
3150 else
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 continue
3156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3157 cat >conftest.$ac_ext <<_ACEOF
3158 /* confdefs.h. */
3159 _ACEOF
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3163 $ac_declaration
3165 main ()
3167 exit (42);
3169 return 0;
3171 _ACEOF
3172 rm -f conftest.$ac_objext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174 (eval $ac_compile) 2>conftest.er1
3175 ac_status=$?
3176 grep -v '^ *+' conftest.er1 >conftest.err
3177 rm -f conftest.er1
3178 cat conftest.err >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } &&
3181 { ac_try='test -z "$ac_c_werror_flag"
3182 || test ! -s conftest.err'
3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 (eval $ac_try) 2>&5
3185 ac_status=$?
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); }; } &&
3188 { ac_try='test -s conftest.$ac_objext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 (eval $ac_try) 2>&5
3191 ac_status=$?
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3194 break
3195 else
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3201 done
3202 rm -f conftest*
3203 if test -n "$ac_declaration"; then
3204 echo '#ifdef __cplusplus' >>confdefs.h
3205 echo $ac_declaration >>confdefs.h
3206 echo '#endif' >>confdefs.h
3209 else
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3215 ac_ext=c
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3220 DEPDIR="${am__leading_dot}deps"
3222 ac_config_commands="$ac_config_commands depfiles"
3225 am_make=${MAKE-make}
3226 cat > confinc << 'END'
3227 am__doit:
3228 @echo done
3229 .PHONY: am__doit
3231 # If we don't find an include directive, just comment out the code.
3232 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3233 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3234 am__include="#"
3235 am__quote=
3236 _am_result=none
3237 # First try GNU make style include.
3238 echo "include confinc" > confmf
3239 # We grep out `Entering directory' and `Leaving directory'
3240 # messages which can occur if `w' ends up in MAKEFLAGS.
3241 # In particular we don't look at `^make:' because GNU make might
3242 # be invoked under some other name (usually "gmake"), in which
3243 # case it prints its new name instead of `make'.
3244 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3245 am__include=include
3246 am__quote=
3247 _am_result=GNU
3249 # Now try BSD make style include.
3250 if test "$am__include" = "#"; then
3251 echo '.include "confinc"' > confmf
3252 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3253 am__include=.include
3254 am__quote="\""
3255 _am_result=BSD
3260 echo "$as_me:$LINENO: result: $_am_result" >&5
3261 echo "${ECHO_T}$_am_result" >&6
3262 rm -f confinc confmf
3264 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3265 if test "${enable_dependency_tracking+set}" = set; then
3266 enableval="$enable_dependency_tracking"
3269 if test "x$enable_dependency_tracking" != xno; then
3270 am_depcomp="$ac_aux_dir/depcomp"
3271 AMDEPBACKSLASH='\'
3275 if test "x$enable_dependency_tracking" != xno; then
3276 AMDEP_TRUE=
3277 AMDEP_FALSE='#'
3278 else
3279 AMDEP_TRUE='#'
3280 AMDEP_FALSE=
3286 depcc="$CC" am_compiler_list=
3288 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3289 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 else
3293 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3294 # We make a subdir and do the tests there. Otherwise we can end up
3295 # making bogus files that we don't know about and never remove. For
3296 # instance it was reported that on HP-UX the gcc test will end up
3297 # making a dummy file named `D' -- because `-MD' means `put the output
3298 # in D'.
3299 mkdir conftest.dir
3300 # Copy depcomp to subdir because otherwise we won't find it if we're
3301 # using a relative directory.
3302 cp "$am_depcomp" conftest.dir
3303 cd conftest.dir
3304 # We will build objects and dependencies in a subdirectory because
3305 # it helps to detect inapplicable dependency modes. For instance
3306 # both Tru64's cc and ICC support -MD to output dependencies as a
3307 # side effect of compilation, but ICC will put the dependencies in
3308 # the current directory while Tru64 will put them in the object
3309 # directory.
3310 mkdir sub
3312 am_cv_CC_dependencies_compiler_type=none
3313 if test "$am_compiler_list" = ""; then
3314 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3316 for depmode in $am_compiler_list; do
3317 # Setup a source with many dependencies, because some compilers
3318 # like to wrap large dependency lists on column 80 (with \), and
3319 # we should not choose a depcomp mode which is confused by this.
3321 # We need to recreate these files for each test, as the compiler may
3322 # overwrite some of them when testing with obscure command lines.
3323 # This happens at least with the AIX C compiler.
3324 : > sub/conftest.c
3325 for i in 1 2 3 4 5 6; do
3326 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3327 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3328 # Solaris 8's {/usr,}/bin/sh.
3329 touch sub/conftst$i.h
3330 done
3331 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3333 case $depmode in
3334 nosideeffect)
3335 # after this tag, mechanisms are not by side-effect, so they'll
3336 # only be used when explicitly requested
3337 if test "x$enable_dependency_tracking" = xyes; then
3338 continue
3339 else
3340 break
3343 none) break ;;
3344 esac
3345 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3346 # mode. It turns out that the SunPro C++ compiler does not properly
3347 # handle `-M -o', and we need to detect this.
3348 if depmode=$depmode \
3349 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3350 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3351 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3352 >/dev/null 2>conftest.err &&
3353 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3354 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3355 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3356 # icc doesn't choke on unknown options, it will just issue warnings
3357 # or remarks (even with -Werror). So we grep stderr for any message
3358 # that says an option was ignored or not supported.
3359 # When given -MP, icc 7.0 and 7.1 complain thusly:
3360 # icc: Command line warning: ignoring option '-M'; no argument required
3361 # The diagnosis changed in icc 8.0:
3362 # icc: Command line remark: option '-MP' not supported
3363 if (grep 'ignoring option' conftest.err ||
3364 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3365 am_cv_CC_dependencies_compiler_type=$depmode
3366 break
3369 done
3371 cd ..
3372 rm -rf conftest.dir
3373 else
3374 am_cv_CC_dependencies_compiler_type=none
3378 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3379 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3380 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3385 test "x$enable_dependency_tracking" != xno \
3386 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3387 am__fastdepCC_TRUE=
3388 am__fastdepCC_FALSE='#'
3389 else
3390 am__fastdepCC_TRUE='#'
3391 am__fastdepCC_FALSE=
3397 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3398 if test "x$GCC" = "xyes"; then
3399 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
3400 ## We like to use C99 routines when available. This makes sure that
3401 ## __STDC_VERSION__ is set such that libc includes make them available.
3402 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3403 ## Compile the following tests with the same system header contents
3404 ## that we'll encounter when compiling our own source files.
3405 CFLAGS="-std=gnu99 $CFLAGS"
3411 # Check for symbol versioning (copied from libssp).
3412 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3413 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3414 cat > conftest.map <<EOF
3415 FOO_1.0 {
3416 global: *foo*; bar; local: *;
3419 save_LDFLAGS="$LDFLAGS"
3420 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3422 if test x$gcc_no_link = xyes; then
3423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3425 { (exit 1); exit 1; }; }
3427 cat >conftest.$ac_ext <<_ACEOF
3428 /* confdefs.h. */
3429 _ACEOF
3430 cat confdefs.h >>conftest.$ac_ext
3431 cat >>conftest.$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3433 int foo;
3435 main ()
3439 return 0;
3441 _ACEOF
3442 rm -f conftest.$ac_objext conftest$ac_exeext
3443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3444 (eval $ac_link) 2>conftest.er1
3445 ac_status=$?
3446 grep -v '^ *+' conftest.er1 >conftest.err
3447 rm -f conftest.er1
3448 cat conftest.err >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } &&
3451 { ac_try='test -z "$ac_c_werror_flag"
3452 || test ! -s conftest.err'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3454 (eval $ac_try) 2>&5
3455 ac_status=$?
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; } &&
3458 { ac_try='test -s conftest$ac_exeext'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460 (eval $ac_try) 2>&5
3461 ac_status=$?
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; }; then
3464 gfortran_use_symver=yes
3465 else
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 gfortran_use_symver=no
3471 rm -f conftest.err conftest.$ac_objext \
3472 conftest$ac_exeext conftest.$ac_ext
3473 LDFLAGS="$save_LDFLAGS"
3474 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3475 echo "${ECHO_T}$gfortran_use_symver" >&6
3478 if test "x$gfortran_use_symver" = xyes; then
3479 LIBGFOR_USE_SYMVER_TRUE=
3480 LIBGFOR_USE_SYMVER_FALSE='#'
3481 else
3482 LIBGFOR_USE_SYMVER_TRUE='#'
3483 LIBGFOR_USE_SYMVER_FALSE=
3487 # Find other programs we need.
3488 if test -n "$ac_tool_prefix"; then
3489 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3490 set dummy ${ac_tool_prefix}as; ac_word=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_AS+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 else
3496 if test -n "$AS"; then
3497 ac_cv_prog_AS="$AS" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506 ac_cv_prog_AS="${ac_tool_prefix}as"
3507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 break 2
3510 done
3511 done
3515 AS=$ac_cv_prog_AS
3516 if test -n "$AS"; then
3517 echo "$as_me:$LINENO: result: $AS" >&5
3518 echo "${ECHO_T}$AS" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3525 if test -z "$ac_cv_prog_AS"; then
3526 ac_ct_AS=$AS
3527 # Extract the first word of "as", so it can be a program name with args.
3528 set dummy as; ac_word=$2
3529 echo "$as_me:$LINENO: checking for $ac_word" >&5
3530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3531 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 else
3534 if test -n "$ac_ct_AS"; then
3535 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3536 else
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 for as_dir in $PATH
3540 IFS=$as_save_IFS
3541 test -z "$as_dir" && as_dir=.
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3544 ac_cv_prog_ac_ct_AS="as"
3545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 break 2
3548 done
3549 done
3553 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3554 if test -n "$ac_ct_AS"; then
3555 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3556 echo "${ECHO_T}$ac_ct_AS" >&6
3557 else
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3562 AS=$ac_ct_AS
3563 else
3564 AS="$ac_cv_prog_AS"
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}ar; ac_word=$2
3570 echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3572 if test "${ac_cv_prog_AR+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 if test -n "$AR"; then
3576 ac_cv_prog_AR="$AR" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_AR="${ac_tool_prefix}ar"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3594 AR=$ac_cv_prog_AR
3595 if test -n "$AR"; then
3596 echo "$as_me:$LINENO: result: $AR" >&5
3597 echo "${ECHO_T}$AR" >&6
3598 else
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3604 if test -z "$ac_cv_prog_AR"; then
3605 ac_ct_AR=$AR
3606 # Extract the first word of "ar", so it can be a program name with args.
3607 set dummy ar; ac_word=$2
3608 echo "$as_me:$LINENO: checking for $ac_word" >&5
3609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3610 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 else
3613 if test -n "$ac_ct_AR"; then
3614 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3615 else
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 for as_dir in $PATH
3619 IFS=$as_save_IFS
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3623 ac_cv_prog_ac_ct_AR="ar"
3624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 break 2
3627 done
3628 done
3632 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3633 if test -n "$ac_ct_AR"; then
3634 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3635 echo "${ECHO_T}$ac_ct_AR" >&6
3636 else
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3641 AR=$ac_ct_AR
3642 else
3643 AR="$ac_cv_prog_AR"
3646 if test -n "$ac_tool_prefix"; then
3647 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3648 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3649 echo "$as_me:$LINENO: checking for $ac_word" >&5
3650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3651 if test "${ac_cv_prog_RANLIB+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 else
3654 if test -n "$RANLIB"; then
3655 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 break 2
3668 done
3669 done
3673 RANLIB=$ac_cv_prog_RANLIB
3674 if test -n "$RANLIB"; then
3675 echo "$as_me:$LINENO: result: $RANLIB" >&5
3676 echo "${ECHO_T}$RANLIB" >&6
3677 else
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3683 if test -z "$ac_cv_prog_RANLIB"; then
3684 ac_ct_RANLIB=$RANLIB
3685 # Extract the first word of "ranlib", so it can be a program name with args.
3686 set dummy ranlib; ac_word=$2
3687 echo "$as_me:$LINENO: checking for $ac_word" >&5
3688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3689 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3691 else
3692 if test -n "$ac_ct_RANLIB"; then
3693 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3702 ac_cv_prog_ac_ct_RANLIB="ranlib"
3703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3709 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3712 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3713 if test -n "$ac_ct_RANLIB"; then
3714 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3715 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3716 else
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3721 RANLIB=$ac_ct_RANLIB
3722 else
3723 RANLIB="$ac_cv_prog_RANLIB"
3726 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3727 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3728 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3729 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 else
3732 cat >conftest.make <<\_ACEOF
3733 all:
3734 @echo 'ac_maketemp="$(MAKE)"'
3735 _ACEOF
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3738 if test -n "$ac_maketemp"; then
3739 eval ac_cv_prog_make_${ac_make}_set=yes
3740 else
3741 eval ac_cv_prog_make_${ac_make}_set=no
3743 rm -f conftest.make
3745 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3746 echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6
3748 SET_MAKE=
3749 else
3750 echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6
3752 SET_MAKE="MAKE=${MAKE-make}"
3755 # Find a good install program. We prefer a C program (faster),
3756 # so one script is as good as another. But avoid the broken or
3757 # incompatible versions:
3758 # SysV /etc/install, /usr/sbin/install
3759 # SunOS /usr/etc/install
3760 # IRIX /sbin/install
3761 # AIX /bin/install
3762 # AmigaOS /C/install, which installs bootblocks on floppy discs
3763 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3764 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3765 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3766 # OS/2's system install, which has a completely different semantic
3767 # ./install, which can be erroneously created by make from ./install.sh.
3768 # Reject install programs that cannot install multiple files.
3769 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3770 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3771 if test -z "$INSTALL"; then
3772 if test "${ac_cv_path_install+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 else
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 for as_dir in $PATH
3778 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=.
3780 # Account for people who put trailing slashes in PATH elements.
3781 case $as_dir/ in
3782 ./ | .// | /cC/* | \
3783 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3784 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3785 /usr/ucb/* ) ;;
3787 # OSF1 and SCO ODT 3.0 have their own names for install.
3788 # Don't use installbsd from OSF since it installs stuff as root
3789 # by default.
3790 for ac_prog in ginstall scoinst install; do
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3793 if test $ac_prog = install &&
3794 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3795 # AIX install. It has an incompatible calling convention.
3797 elif test $ac_prog = install &&
3798 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3799 # program-specific install script used by HP pwplus--don't use.
3801 else
3802 rm -rf conftest.one conftest.two conftest.dir
3803 echo one > conftest.one
3804 echo two > conftest.two
3805 mkdir conftest.dir
3806 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3807 test -s conftest.one && test -s conftest.two &&
3808 test -s conftest.dir/conftest.one &&
3809 test -s conftest.dir/conftest.two
3810 then
3811 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3812 break 3
3816 done
3817 done
3819 esac
3820 done
3822 rm -rf conftest.one conftest.two conftest.dir
3825 if test "${ac_cv_path_install+set}" = set; then
3826 INSTALL=$ac_cv_path_install
3827 else
3828 # As a last resort, use the slow shell script. Don't cache a
3829 # value for INSTALL within a source directory, because that will
3830 # break other packages using the cache if that directory is
3831 # removed, or if the value is a relative name.
3832 INSTALL=$ac_install_sh
3835 echo "$as_me:$LINENO: result: $INSTALL" >&5
3836 echo "${ECHO_T}$INSTALL" >&6
3838 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3839 # It thinks the first close brace ends the variable substitution.
3840 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3842 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3844 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3847 # Configure libtool
3848 #AC_MSG_NOTICE([====== Starting libtool configuration])
3849 enable_dlopen=yes
3855 macro_version='2.1a'
3856 macro_revision='1.2435'
3869 ltmain="$ac_aux_dir/ltmain.sh"
3871 # Set options
3874 enable_win32_dll=no
3877 # Check whether --enable-shared or --disable-shared was given.
3878 if test "${enable_shared+set}" = set; then
3879 enableval="$enable_shared"
3880 p=${PACKAGE-default}
3881 case $enableval in
3882 yes) enable_shared=yes ;;
3883 no) enable_shared=no ;;
3885 enable_shared=no
3886 # Look at the argument we got. We use all the common list separators.
3887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3888 for pkg in $enableval; do
3889 IFS="$lt_save_ifs"
3890 if test "X$pkg" = "X$p"; then
3891 enable_shared=yes
3893 done
3894 IFS="$lt_save_ifs"
3896 esac
3897 else
3898 enable_shared=yes
3908 # Check whether --enable-static or --disable-static was given.
3909 if test "${enable_static+set}" = set; then
3910 enableval="$enable_static"
3911 p=${PACKAGE-default}
3912 case $enableval in
3913 yes) enable_static=yes ;;
3914 no) enable_static=no ;;
3916 enable_static=no
3917 # Look at the argument we got. We use all the common list separators.
3918 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3919 for pkg in $enableval; do
3920 IFS="$lt_save_ifs"
3921 if test "X$pkg" = "X$p"; then
3922 enable_static=yes
3924 done
3925 IFS="$lt_save_ifs"
3927 esac
3928 else
3929 enable_static=yes
3940 # Check whether --with-pic or --without-pic was given.
3941 if test "${with_pic+set}" = set; then
3942 withval="$with_pic"
3943 pic_mode="$withval"
3944 else
3945 pic_mode=default
3948 test -z "$pic_mode" && pic_mode=default
3956 # Check whether --enable-fast-install or --disable-fast-install was given.
3957 if test "${enable_fast_install+set}" = set; then
3958 enableval="$enable_fast_install"
3959 p=${PACKAGE-default}
3960 case $enableval in
3961 yes) enable_fast_install=yes ;;
3962 no) enable_fast_install=no ;;
3964 enable_fast_install=no
3965 # Look at the argument we got. We use all the common list separators.
3966 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3967 for pkg in $enableval; do
3968 IFS="$lt_save_ifs"
3969 if test "X$pkg" = "X$p"; then
3970 enable_fast_install=yes
3972 done
3973 IFS="$lt_save_ifs"
3975 esac
3976 else
3977 enable_fast_install=yes
3987 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3988 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3989 if test "${lt_cv_path_SED+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3991 else
3992 # Loop through the user's path and test for sed and gsed.
3993 # Then use that list of sed's as ones to test for truncation.
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 for as_dir in $PATH
3997 IFS=$as_save_IFS
3998 test -z "$as_dir" && as_dir=.
3999 for lt_ac_prog in sed gsed; do
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4002 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4004 done
4005 done
4006 done
4007 IFS=$as_save_IFS
4008 lt_ac_max=0
4009 lt_ac_count=0
4010 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4011 # along with /bin/sed that truncates output.
4012 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4013 test ! -f $lt_ac_sed && continue
4014 cat /dev/null > conftest.in
4015 lt_ac_count=0
4016 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4017 # Check for GNU sed and select it if it is found.
4018 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4019 lt_cv_path_SED=$lt_ac_sed
4020 break
4022 while true; do
4023 cat conftest.in conftest.in >conftest.tmp
4024 mv conftest.tmp conftest.in
4025 cp conftest.in conftest.nl
4026 echo >>conftest.nl
4027 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4028 cmp -s conftest.out conftest.nl || break
4029 # 10000 chars as input seems more than enough
4030 test $lt_ac_count -gt 10 && break
4031 lt_ac_count=`expr $lt_ac_count + 1`
4032 if test $lt_ac_count -gt $lt_ac_max; then
4033 lt_ac_max=$lt_ac_count
4034 lt_cv_path_SED=$lt_ac_sed
4036 done
4037 done
4041 SED=$lt_cv_path_SED
4043 echo "$as_me:$LINENO: result: $SED" >&5
4044 echo "${ECHO_T}$SED" >&6
4046 test -z "$SED" && SED=sed
4047 Xsed="$SED -e 1s/^X//"
4059 echo "$as_me:$LINENO: checking for egrep" >&5
4060 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4061 if test "${ac_cv_prog_egrep+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 else
4064 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4065 then ac_cv_prog_egrep='grep -E'
4066 else ac_cv_prog_egrep='egrep'
4069 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4070 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4071 EGREP=$ac_cv_prog_egrep
4074 echo "$as_me:$LINENO: checking for fgrep" >&5
4075 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4076 if test "${ac_cv_prog_fgrep+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 else
4079 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4080 then ac_cv_prog_fgrep='grep -F'
4081 else ac_cv_prog_fgrep='fgrep'
4084 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4085 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4086 FGREP=$ac_cv_prog_fgrep
4089 test -z "$GREP" && GREP=grep
4109 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4110 if test "${with_gnu_ld+set}" = set; then
4111 withval="$with_gnu_ld"
4112 test "$withval" = no || with_gnu_ld=yes
4113 else
4114 with_gnu_ld=no
4116 ac_prog=ld
4117 if test "$GCC" = yes; then
4118 # Check if gcc -print-prog-name=ld gives a path.
4119 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4120 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4121 case $host in
4122 *-*-mingw*)
4123 # gcc leaves a trailing carriage return which upsets mingw
4124 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4126 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4127 esac
4128 case $ac_prog in
4129 # Accept absolute paths.
4130 [\\/]* | ?:[\\/]*)
4131 re_direlt='/[^/][^/]*/\.\./'
4132 # Canonicalize the pathname of ld
4133 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4134 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4135 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4136 done
4137 test -z "$LD" && LD="$ac_prog"
4140 # If it fails, then pretend we aren't using GCC.
4141 ac_prog=ld
4144 # If it is relative, then search for the first ld in PATH.
4145 with_gnu_ld=unknown
4147 esac
4148 elif test "$with_gnu_ld" = yes; then
4149 echo "$as_me:$LINENO: checking for GNU ld" >&5
4150 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4151 else
4152 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4153 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4155 if test "${lt_cv_path_LD+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 else
4158 if test -z "$LD"; then
4159 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4160 for ac_dir in $PATH; do
4161 IFS="$lt_save_ifs"
4162 test -z "$ac_dir" && ac_dir=.
4163 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4164 lt_cv_path_LD="$ac_dir/$ac_prog"
4165 # Check to see if the program is GNU ld. I'd rather use --version,
4166 # but apparently some variants of GNU ld only accept -v.
4167 # Break only if it was the GNU/non-GNU ld that we prefer.
4168 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4169 *GNU* | *'with BFD'*)
4170 test "$with_gnu_ld" != no && break
4173 test "$with_gnu_ld" != yes && break
4175 esac
4177 done
4178 IFS="$lt_save_ifs"
4179 else
4180 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4184 LD="$lt_cv_path_LD"
4185 if test -n "$LD"; then
4186 echo "$as_me:$LINENO: result: $LD" >&5
4187 echo "${ECHO_T}$LD" >&6
4188 else
4189 echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6
4192 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4193 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4194 { (exit 1); exit 1; }; }
4195 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4196 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4197 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 else
4200 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4201 case `$LD -v 2>&1 </dev/null` in
4202 *GNU* | *'with BFD'*)
4203 lt_cv_prog_gnu_ld=yes
4206 lt_cv_prog_gnu_ld=no
4208 esac
4210 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4211 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4212 with_gnu_ld=$lt_cv_prog_gnu_ld
4223 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4224 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4225 if test "${lt_cv_path_NM+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 else
4228 if test -n "$NM"; then
4229 # Let the user override the test.
4230 lt_cv_path_NM="$NM"
4231 else
4232 lt_nm_to_check="${ac_tool_prefix}nm"
4233 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4234 lt_nm_to_check="$lt_nm_to_check nm"
4236 for lt_tmp_nm in $lt_nm_to_check; do
4237 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4238 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4239 IFS="$lt_save_ifs"
4240 test -z "$ac_dir" && ac_dir=.
4241 tmp_nm="$ac_dir/$lt_tmp_nm"
4242 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4243 # Check to see if the nm accepts a BSD-compat flag.
4244 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4245 # nm: unknown option "B" ignored
4246 # Tru64's nm complains that /dev/null is an invalid object file
4247 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4248 */dev/null* | *'Invalid file or object type'*)
4249 lt_cv_path_NM="$tmp_nm -B"
4250 break
4253 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4254 */dev/null*)
4255 lt_cv_path_NM="$tmp_nm -p"
4256 break
4259 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4260 continue # so that we can try to find one that supports BSD flags
4262 esac
4264 esac
4266 done
4267 IFS="$lt_save_ifs"
4268 done
4269 : ${lt_cv_path_NM=no}
4272 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4273 echo "${ECHO_T}$lt_cv_path_NM" >&6
4274 if test "$lt_cv_path_NM" != "no"; then
4275 NM="$lt_cv_path_NM"
4276 else
4277 # Didn't find any BSD compatible name lister, look for dumpbin.
4278 if test -n "$ac_tool_prefix"; then
4279 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4282 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4283 echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 else
4288 if test -n "$DUMPBIN"; then
4289 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4307 DUMPBIN=$ac_cv_prog_DUMPBIN
4308 if test -n "$DUMPBIN"; then
4309 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4310 echo "${ECHO_T}$DUMPBIN" >&6
4311 else
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4316 test -n "$DUMPBIN" && break
4317 done
4319 if test -z "$DUMPBIN"; then
4320 ac_ct_DUMPBIN=$DUMPBIN
4321 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4323 # Extract the first word of "$ac_prog", so it can be a program name with args.
4324 set dummy $ac_prog; ac_word=$2
4325 echo "$as_me:$LINENO: checking for $ac_word" >&5
4326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4327 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 else
4330 if test -n "$ac_ct_DUMPBIN"; then
4331 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4332 else
4333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4334 for as_dir in $PATH
4336 IFS=$as_save_IFS
4337 test -z "$as_dir" && as_dir=.
4338 for ac_exec_ext in '' $ac_executable_extensions; do
4339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4340 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 break 2
4344 done
4345 done
4349 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4350 if test -n "$ac_ct_DUMPBIN"; then
4351 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4352 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4353 else
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4358 test -n "$ac_ct_DUMPBIN" && break
4359 done
4360 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4362 DUMPBIN=$ac_ct_DUMPBIN
4366 if test "$DUMPBIN" != ":"; then
4367 NM="$DUMPBIN"
4370 test -z "$NM" && NM=nm
4377 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4378 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4379 if test "${lt_cv_nm_interface+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 else
4382 lt_cv_nm_interface="BSD nm"
4383 echo "int some_variable = 0;" > conftest.$ac_ext
4384 (eval echo "\"\$as_me:4384: $ac_compile\"" >&5)
4385 (eval "$ac_compile" 2>conftest.err)
4386 cat conftest.err >&5
4387 (eval echo "\"\$as_me:4387: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4388 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4389 cat conftest.err >&5
4390 (eval echo "\"\$as_me:4390: output\"" >&5)
4391 cat conftest.out >&5
4392 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4393 lt_cv_nm_interface="MS dumpbin"
4395 rm -f conftest*
4397 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4398 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4400 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4401 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4402 LN_S=$as_ln_s
4403 if test "$LN_S" = "ln -s"; then
4404 echo "$as_me:$LINENO: result: yes" >&5
4405 echo "${ECHO_T}yes" >&6
4406 else
4407 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4408 echo "${ECHO_T}no, using $LN_S" >&6
4411 # find the maximum length of command line arguments
4412 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4413 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4414 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 else
4418 teststring="ABCD"
4420 case $build_os in
4421 msdosdjgpp*)
4422 # On DJGPP, this test can blow up pretty badly due to problems in libc
4423 # (any single argument exceeding 2000 bytes causes a buffer overrun
4424 # during glob expansion). Even if it were fixed, the result of this
4425 # check would be larger than it should be.
4426 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4429 gnu*)
4430 # Under GNU Hurd, this test is not required because there is
4431 # no limit to the length of command line arguments.
4432 # Libtool will interpret -1 as no limit whatsoever
4433 lt_cv_sys_max_cmd_len=-1;
4436 cygwin* | mingw*)
4437 # On Win9x/ME, this test blows up -- it succeeds, but takes
4438 # about 5 minutes as the teststring grows exponentially.
4439 # Worse, since 9x/ME are not pre-emptively multitasking,
4440 # you end up with a "frozen" computer, even though with patience
4441 # the test eventually succeeds (with a max line length of 256k).
4442 # Instead, let's just punt: use the minimum linelength reported by
4443 # all of the supported platforms: 8192 (on NT/2K/XP).
4444 lt_cv_sys_max_cmd_len=8192;
4447 amigaos*)
4448 # On AmigaOS with pdksh, this test takes hours, literally.
4449 # So we just punt and use a minimum line length of 8192.
4450 lt_cv_sys_max_cmd_len=8192;
4453 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4454 # This has been around since 386BSD, at least. Likely further.
4455 if test -x /sbin/sysctl; then
4456 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4457 elif test -x /usr/sbin/sysctl; then
4458 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4459 else
4460 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4462 # And add a safety zone
4463 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4464 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4467 interix*)
4468 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4469 lt_cv_sys_max_cmd_len=196608
4472 osf*)
4473 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4474 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4475 # nice to cause kernel panics so lets avoid the loop below.
4476 # First set a reasonable default.
4477 lt_cv_sys_max_cmd_len=16384
4479 if test -x /sbin/sysconfig; then
4480 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4481 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4482 esac
4485 sco3.2v5*)
4486 lt_cv_sys_max_cmd_len=102400
4488 sysv5* | sco5v6* | sysv4.2uw2*)
4489 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4490 if test -n "$kargmax"; then
4491 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4492 else
4493 lt_cv_sys_max_cmd_len=32768
4497 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4498 if test -n $lt_cv_sys_max_cmd_len; then
4499 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4500 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4501 else
4502 # Make teststring a little bigger before we do anything with it.
4503 # a 1K string should be a reasonable start.
4504 for i in 1 2 3 4 5 6 7 8 ; do
4505 teststring=$teststring$teststring
4506 done
4507 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4508 # If test is not a shell built-in, we'll probably end up computing a
4509 # maximum length that is only half of the actual maximum length, but
4510 # we can't tell.
4511 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4512 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4513 test $i != 17 # 1/2 MB should be enough
4515 i=`expr $i + 1`
4516 teststring=$teststring$teststring
4517 done
4518 # Only check the string length outside the loop.
4519 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4520 teststring=
4521 # Add a significant safety factor because C++ compilers can tack on
4522 # massive amounts of additional arguments before passing them to the
4523 # linker. It appears as though 1/2 is a usable value.
4524 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4527 esac
4531 if test -n $lt_cv_sys_max_cmd_len ; then
4532 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4533 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4534 else
4535 echo "$as_me:$LINENO: result: none" >&5
4536 echo "${ECHO_T}none" >&6
4538 max_cmd_len=$lt_cv_sys_max_cmd_len
4546 : ${CP="cp -f"}
4547 : ${MV="mv -f"}
4548 : ${RM="rm -f"}
4550 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4551 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4552 # Try some XSI features
4553 xsi_shell=no
4554 ( _lt_dummy="a/b/c"
4555 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4556 = c,a/b,, ) >/dev/null 2>&1 \
4557 && xsi_shell=yes
4558 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4559 echo "${ECHO_T}$xsi_shell" >&6
4562 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4563 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4564 lt_shell_append=no
4565 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4566 >/dev/null 2>&1 \
4567 && lt_shell_append=yes
4568 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4569 echo "${ECHO_T}$lt_shell_append" >&6
4572 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4573 lt_unset=unset
4574 else
4575 lt_unset=false
4582 # test EBCDIC or ASCII
4583 case `echo X|tr X '\101'` in
4584 A) # ASCII based system
4585 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4586 lt_SP2NL='tr \040 \012'
4587 lt_NL2SP='tr \015\012 \040\040'
4589 *) # EBCDIC based system
4590 lt_SP2NL='tr \100 \n'
4591 lt_NL2SP='tr \r\n \100\100'
4593 esac
4603 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4604 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4605 if test "${lt_cv_ld_reload_flag+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 else
4608 lt_cv_ld_reload_flag='-r'
4610 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4611 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4612 reload_flag=$lt_cv_ld_reload_flag
4613 case $reload_flag in
4614 "" | " "*) ;;
4615 *) reload_flag=" $reload_flag" ;;
4616 esac
4617 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4618 case $host_os in
4619 darwin*)
4620 if test "$GCC" = yes; then
4621 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4622 else
4623 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4626 esac
4637 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4638 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4639 if test "${lt_cv_deplibs_check_method+set}" = set; then
4640 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 else
4642 lt_cv_file_magic_cmd='$MAGIC_CMD'
4643 lt_cv_file_magic_test_file=
4644 lt_cv_deplibs_check_method='unknown'
4645 # Need to set the preceding variable on all platforms that support
4646 # interlibrary dependencies.
4647 # 'none' -- dependencies not supported.
4648 # `unknown' -- same as none, but documents that we really don't know.
4649 # 'pass_all' -- all dependencies passed with no checks.
4650 # 'test_compile' -- check by making test program.
4651 # 'file_magic [[regex]]' -- check by looking for files in library path
4652 # which responds to the $file_magic_cmd with a given extended regex.
4653 # If you have `file' or equivalent on your system and you're not sure
4654 # whether `pass_all' will *always* work, you probably want this one.
4656 case $host_os in
4657 aix[4-9]*)
4658 lt_cv_deplibs_check_method=pass_all
4661 beos*)
4662 lt_cv_deplibs_check_method=pass_all
4665 bsdi[45]*)
4666 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4667 lt_cv_file_magic_cmd='/usr/bin/file -L'
4668 lt_cv_file_magic_test_file=/shlib/libc.so
4671 cygwin*)
4672 # func_win32_libid is a shell function defined in ltmain.sh
4673 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4674 lt_cv_file_magic_cmd='func_win32_libid'
4677 mingw* | pw32*)
4678 # Base MSYS/MinGW do not provide the 'file' command needed by
4679 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4680 # unless we find 'file', for example because we are cross-compiling.
4681 if ( file / ) >/dev/null 2>&1; then
4682 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4683 lt_cv_file_magic_cmd='func_win32_libid'
4684 else
4685 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4686 lt_cv_file_magic_cmd='$OBJDUMP -f'
4690 darwin* | rhapsody*)
4691 lt_cv_deplibs_check_method=pass_all
4694 freebsd* | dragonfly*)
4695 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4696 case $host_cpu in
4697 i*86 )
4698 # Not sure whether the presence of OpenBSD here was a mistake.
4699 # Let's accept both of them until this is cleared up.
4700 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4701 lt_cv_file_magic_cmd=/usr/bin/file
4702 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4704 esac
4705 else
4706 lt_cv_deplibs_check_method=pass_all
4710 gnu*)
4711 lt_cv_deplibs_check_method=pass_all
4714 hpux10.20* | hpux11*)
4715 lt_cv_file_magic_cmd=/usr/bin/file
4716 case $host_cpu in
4717 ia64*)
4718 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4719 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4721 hppa*64*)
4722 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]'
4723 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4726 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4727 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4729 esac
4732 interix[3-9]*)
4733 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4737 irix5* | irix6* | nonstopux*)
4738 case $LD in
4739 *-32|*"-32 ") libmagic=32-bit;;
4740 *-n32|*"-n32 ") libmagic=N32;;
4741 *-64|*"-64 ") libmagic=64-bit;;
4742 *) libmagic=never-match;;
4743 esac
4744 lt_cv_deplibs_check_method=pass_all
4747 # This must be Linux ELF.
4748 linux* | k*bsd*-gnu)
4749 lt_cv_deplibs_check_method=pass_all
4752 netbsd*)
4753 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4754 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4755 else
4756 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4760 newos6*)
4761 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4762 lt_cv_file_magic_cmd=/usr/bin/file
4763 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4766 *nto* | *qnx*)
4767 lt_cv_deplibs_check_method=pass_all
4770 openbsd*)
4771 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4772 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4773 else
4774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4778 osf3* | osf4* | osf5*)
4779 lt_cv_deplibs_check_method=pass_all
4782 rdos*)
4783 lt_cv_deplibs_check_method=pass_all
4786 solaris*)
4787 lt_cv_deplibs_check_method=pass_all
4790 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4791 lt_cv_deplibs_check_method=pass_all
4794 sysv4 | sysv4.3*)
4795 case $host_vendor in
4796 motorola)
4797 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]'
4798 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4800 ncr)
4801 lt_cv_deplibs_check_method=pass_all
4803 sequent)
4804 lt_cv_file_magic_cmd='/bin/file'
4805 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4807 sni)
4808 lt_cv_file_magic_cmd='/bin/file'
4809 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4810 lt_cv_file_magic_test_file=/lib/libc.so
4812 siemens)
4813 lt_cv_deplibs_check_method=pass_all
4816 lt_cv_deplibs_check_method=pass_all
4818 esac
4821 tpf*)
4822 lt_cv_deplibs_check_method=pass_all
4824 esac
4827 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4828 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4829 file_magic_cmd=$lt_cv_file_magic_cmd
4830 deplibs_check_method=$lt_cv_deplibs_check_method
4831 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4844 if test -n "$ac_tool_prefix"; then
4845 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4846 set dummy ${ac_tool_prefix}ar; ac_word=$2
4847 echo "$as_me:$LINENO: checking for $ac_word" >&5
4848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4849 if test "${ac_cv_prog_AR+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 if test -n "$AR"; then
4853 ac_cv_prog_AR="$AR" # Let the user override the test.
4854 else
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4858 IFS=$as_save_IFS
4859 test -z "$as_dir" && as_dir=.
4860 for ac_exec_ext in '' $ac_executable_extensions; do
4861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862 ac_cv_prog_AR="${ac_tool_prefix}ar"
4863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 break 2
4866 done
4867 done
4871 AR=$ac_cv_prog_AR
4872 if test -n "$AR"; then
4873 echo "$as_me:$LINENO: result: $AR" >&5
4874 echo "${ECHO_T}$AR" >&6
4875 else
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4881 if test -z "$ac_cv_prog_AR"; then
4882 ac_ct_AR=$AR
4883 # Extract the first word of "ar", so it can be a program name with args.
4884 set dummy ar; ac_word=$2
4885 echo "$as_me:$LINENO: checking for $ac_word" >&5
4886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4887 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 else
4890 if test -n "$ac_ct_AR"; then
4891 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_ac_ct_AR="ar"
4901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4907 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4910 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4911 if test -n "$ac_ct_AR"; then
4912 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4913 echo "${ECHO_T}$ac_ct_AR" >&6
4914 else
4915 echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6
4919 AR=$ac_ct_AR
4920 else
4921 AR="$ac_cv_prog_AR"
4924 test -z "$AR" && AR=ar
4925 test -z "$AR_FLAGS" && AR_FLAGS=cru
4937 if test -n "$ac_tool_prefix"; then
4938 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4939 set dummy ${ac_tool_prefix}strip; ac_word=$2
4940 echo "$as_me:$LINENO: checking for $ac_word" >&5
4941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4942 if test "${ac_cv_prog_STRIP+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 else
4945 if test -n "$STRIP"; then
4946 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4964 STRIP=$ac_cv_prog_STRIP
4965 if test -n "$STRIP"; then
4966 echo "$as_me:$LINENO: result: $STRIP" >&5
4967 echo "${ECHO_T}$STRIP" >&6
4968 else
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4974 if test -z "$ac_cv_prog_STRIP"; then
4975 ac_ct_STRIP=$STRIP
4976 # Extract the first word of "strip", so it can be a program name with args.
4977 set dummy strip; ac_word=$2
4978 echo "$as_me:$LINENO: checking for $ac_word" >&5
4979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4980 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 else
4983 if test -n "$ac_ct_STRIP"; then
4984 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_STRIP="strip"
4994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
5000 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5003 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5004 if test -n "$ac_ct_STRIP"; then
5005 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5006 echo "${ECHO_T}$ac_ct_STRIP" >&6
5007 else
5008 echo "$as_me:$LINENO: result: no" >&5
5009 echo "${ECHO_T}no" >&6
5012 STRIP=$ac_ct_STRIP
5013 else
5014 STRIP="$ac_cv_prog_STRIP"
5017 test -z "$STRIP" && STRIP=:
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5026 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5027 echo "$as_me:$LINENO: checking for $ac_word" >&5
5028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5029 if test "${ac_cv_prog_RANLIB+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 else
5032 if test -n "$RANLIB"; then
5033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5051 RANLIB=$ac_cv_prog_RANLIB
5052 if test -n "$RANLIB"; then
5053 echo "$as_me:$LINENO: result: $RANLIB" >&5
5054 echo "${ECHO_T}$RANLIB" >&6
5055 else
5056 echo "$as_me:$LINENO: result: no" >&5
5057 echo "${ECHO_T}no" >&6
5061 if test -z "$ac_cv_prog_RANLIB"; then
5062 ac_ct_RANLIB=$RANLIB
5063 # Extract the first word of "ranlib", so it can be a program name with args.
5064 set dummy ranlib; ac_word=$2
5065 echo "$as_me:$LINENO: checking for $ac_word" >&5
5066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5067 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 else
5070 if test -n "$ac_ct_RANLIB"; then
5071 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_ac_ct_RANLIB="ranlib"
5081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5087 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5090 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5091 if test -n "$ac_ct_RANLIB"; then
5092 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5093 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5094 else
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5099 RANLIB=$ac_ct_RANLIB
5100 else
5101 RANLIB="$ac_cv_prog_RANLIB"
5104 test -z "$RANLIB" && RANLIB=:
5111 # Determine commands to create old-style static archives.
5112 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5113 old_postinstall_cmds='chmod 644 $oldlib'
5114 old_postuninstall_cmds=
5116 if test -n "$RANLIB"; then
5117 case $host_os in
5118 openbsd*)
5119 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5122 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5124 esac
5125 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5161 # If no C compiler was specified, use CC.
5162 LTCC=${LTCC-"$CC"}
5164 # If no C compiler flags were specified, use CFLAGS.
5165 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5167 # Allow CC to be a program name with arguments.
5168 compiler=$CC
5171 # Check for command to grab the raw symbol name followed by C symbol from nm.
5172 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5173 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5174 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 else
5178 # These are sane defaults that work on at least a few old systems.
5179 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5181 # Character class describing NM global symbol codes.
5182 symcode='[BCDEGRST]'
5184 # Regexp to match symbols that can be accessed directly from C.
5185 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5187 # Define system-specific variables.
5188 case $host_os in
5189 aix*)
5190 symcode='[BCDT]'
5192 cygwin* | mingw* | pw32*)
5193 symcode='[ABCDGISTW]'
5195 hpux*)
5196 if test "$host_cpu" = ia64; then
5197 symcode='[ABCDEGRST]'
5200 irix* | nonstopux*)
5201 symcode='[BCDEGRST]'
5203 osf*)
5204 symcode='[BCDEGQRST]'
5206 solaris*)
5207 symcode='[BDRT]'
5209 sco3.2v5*)
5210 symcode='[DT]'
5212 sysv4.2uw2*)
5213 symcode='[DT]'
5215 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5216 symcode='[ABDT]'
5218 sysv4)
5219 symcode='[DFNSTU]'
5221 esac
5223 # If we're using GNU nm, then use its standard symbol codes.
5224 case `$NM -V 2>&1` in
5225 *GNU* | *'with BFD'*)
5226 symcode='[ABCDGIRSTW]' ;;
5227 esac
5229 # Transform an extracted symbol line into a proper C declaration.
5230 # Some systems (esp. on ia64) link data and code symbols differently,
5231 # so use this general approach.
5232 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5234 # Transform an extracted symbol line into symbol name and symbol address
5235 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5237 # Handle CRLF in mingw tool chain
5238 opt_cr=
5239 case $build_os in
5240 mingw*)
5241 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5243 esac
5245 # Try without a prefix underscore, then with it.
5246 for ac_symprfx in "" "_"; do
5248 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5249 symxfrm="\\1 $ac_symprfx\\2 \\2"
5251 # Write the raw and C identifiers.
5252 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5253 # Fake it for dumpbin and say T for any non-static function
5254 # and D for any global variable.
5255 # Also find C++ and __fastcall symbols from MSVC++,
5256 # which start with @ or ?.
5257 lt_cv_sys_global_symbol_pipe="$AWK '"\
5258 " {last_section=section; section=\$ 3};"\
5259 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5260 " \$ 0!~/External *\|/{next};"\
5261 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5262 " {if(hide[section]) next};"\
5263 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5264 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5265 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5266 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5267 " ' prfx=^$ac_symprfx"
5268 else
5269 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5272 # Check to see that the pipe works correctly.
5273 pipe_works=no
5275 rm -f conftest*
5276 cat > conftest.$ac_ext <<_LT_EOF
5277 #ifdef __cplusplus
5278 extern "C" {
5279 #endif
5280 char nm_test_var;
5281 void nm_test_func(void);
5282 void nm_test_func(void){}
5283 #ifdef __cplusplus
5285 #endif
5286 int main(){nm_test_var='a';nm_test_func();return(0);}
5287 _LT_EOF
5289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5290 (eval $ac_compile) 2>&5
5291 ac_status=$?
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; then
5294 # Now try to grab the symbols.
5295 nlist=conftest.nm
5296 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5297 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5298 ac_status=$?
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); } && test -s "$nlist"; then
5301 # Try sorting and uniquifying the output.
5302 if sort "$nlist" | uniq > "$nlist"T; then
5303 mv -f "$nlist"T "$nlist"
5304 else
5305 rm -f "$nlist"T
5308 # Make sure that we snagged all the symbols we need.
5309 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5310 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5311 cat <<_LT_EOF > conftest.$ac_ext
5312 #ifdef __cplusplus
5313 extern "C" {
5314 #endif
5316 _LT_EOF
5317 # Now generate the symbol file.
5318 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5320 cat <<_LT_EOF >> conftest.$ac_ext
5322 /* The mapping between symbol names and symbols. */
5323 const struct {
5324 const char *name;
5325 void *address;
5327 lt__PROGRAM__LTX_preloaded_symbols[] =
5329 { "@PROGRAM@", (void *) 0 },
5330 _LT_EOF
5331 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5332 cat <<\_LT_EOF >> conftest.$ac_ext
5333 {0, (void *) 0}
5336 /* This works around a problem in FreeBSD linker */
5337 #ifdef FREEBSD_WORKAROUND
5338 static const void *lt_preloaded_setup() {
5339 return lt__PROGRAM__LTX_preloaded_symbols;
5341 #endif
5343 #ifdef __cplusplus
5345 #endif
5346 _LT_EOF
5347 # Now try linking the two files.
5348 mv conftest.$ac_objext conftstm.$ac_objext
5349 lt_save_LIBS="$LIBS"
5350 lt_save_CFLAGS="$CFLAGS"
5351 LIBS="conftstm.$ac_objext"
5352 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5354 (eval $ac_link) 2>&5
5355 ac_status=$?
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5358 pipe_works=yes
5360 LIBS="$lt_save_LIBS"
5361 CFLAGS="$lt_save_CFLAGS"
5362 else
5363 echo "cannot find nm_test_func in $nlist" >&5
5365 else
5366 echo "cannot find nm_test_var in $nlist" >&5
5368 else
5369 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5371 else
5372 echo "$progname: failed program was:" >&5
5373 cat conftest.$ac_ext >&5
5375 rm -f conftest* conftst*
5377 # Do not use the global_symbol_pipe unless it works.
5378 if test "$pipe_works" = yes; then
5379 break
5380 else
5381 lt_cv_sys_global_symbol_pipe=
5383 done
5387 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5388 lt_cv_sys_global_symbol_to_cdecl=
5390 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5391 echo "$as_me:$LINENO: result: failed" >&5
5392 echo "${ECHO_T}failed" >&6
5393 else
5394 echo "$as_me:$LINENO: result: ok" >&5
5395 echo "${ECHO_T}ok" >&6
5414 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5415 if test "${enable_libtool_lock+set}" = set; then
5416 enableval="$enable_libtool_lock"
5419 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5421 # Some flags need to be propagated to the compiler or linker for good
5422 # libtool support.
5423 case $host in
5424 ia64-*-hpux*)
5425 # Find out which ABI we are using.
5426 echo 'int i;' > conftest.$ac_ext
5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5428 (eval $ac_compile) 2>&5
5429 ac_status=$?
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); }; then
5432 case `/usr/bin/file conftest.$ac_objext` in
5433 *ELF-32*)
5434 HPUX_IA64_MODE="32"
5436 *ELF-64*)
5437 HPUX_IA64_MODE="64"
5439 esac
5441 rm -rf conftest*
5443 *-*-irix6*)
5444 # Find out which ABI we are using.
5445 echo '#line 5445 "configure"' > conftest.$ac_ext
5446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5447 (eval $ac_compile) 2>&5
5448 ac_status=$?
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; then
5451 if test "$lt_cv_prog_gnu_ld" = yes; then
5452 case `/usr/bin/file conftest.$ac_objext` in
5453 *32-bit*)
5454 LD="${LD-ld} -melf32bsmip"
5456 *N32*)
5457 LD="${LD-ld} -melf32bmipn32"
5459 *64-bit*)
5460 LD="${LD-ld} -melf64bmip"
5462 esac
5463 else
5464 case `/usr/bin/file conftest.$ac_objext` in
5465 *32-bit*)
5466 LD="${LD-ld} -32"
5468 *N32*)
5469 LD="${LD-ld} -n32"
5471 *64-bit*)
5472 LD="${LD-ld} -64"
5474 esac
5477 rm -rf conftest*
5480 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5481 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5482 # Find out which ABI we are using.
5483 echo 'int i;' > conftest.$ac_ext
5484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5485 (eval $ac_compile) 2>&5
5486 ac_status=$?
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); }; then
5489 case `/usr/bin/file conftest.o` in
5490 *32-bit*)
5491 case $host in
5492 x86_64-*kfreebsd*-gnu)
5493 LD="${LD-ld} -m elf_i386_fbsd"
5495 x86_64-*linux*)
5496 LD="${LD-ld} -m elf_i386"
5498 ppc64-*linux*|powerpc64-*linux*)
5499 LD="${LD-ld} -m elf32ppclinux"
5501 s390x-*linux*)
5502 LD="${LD-ld} -m elf_s390"
5504 sparc64-*linux*)
5505 LD="${LD-ld} -m elf32_sparc"
5507 esac
5509 *64-bit*)
5510 case $host in
5511 x86_64-*kfreebsd*-gnu)
5512 LD="${LD-ld} -m elf_x86_64_fbsd"
5514 x86_64-*linux*)
5515 LD="${LD-ld} -m elf_x86_64"
5517 ppc*-*linux*|powerpc*-*linux*)
5518 LD="${LD-ld} -m elf64ppc"
5520 s390*-*linux*|s390*-*tpf*)
5521 LD="${LD-ld} -m elf64_s390"
5523 sparc*-*linux*)
5524 LD="${LD-ld} -m elf64_sparc"
5526 esac
5528 esac
5530 rm -rf conftest*
5533 *-*-sco3.2v5*)
5534 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5535 SAVE_CFLAGS="$CFLAGS"
5536 CFLAGS="$CFLAGS -belf"
5537 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5538 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5539 if test "${lt_cv_cc_needs_belf+set}" = set; then
5540 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 else
5542 ac_ext=c
5543 ac_cpp='$CPP $CPPFLAGS'
5544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5548 if test x$gcc_no_link = xyes; then
5549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5551 { (exit 1); exit 1; }; }
5553 cat >conftest.$ac_ext <<_ACEOF
5554 /* confdefs.h. */
5555 _ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5561 main ()
5565 return 0;
5567 _ACEOF
5568 rm -f conftest.$ac_objext conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>conftest.er1
5571 ac_status=$?
5572 grep -v '^ *+' conftest.er1 >conftest.err
5573 rm -f conftest.er1
5574 cat conftest.err >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } &&
5577 { ac_try='test -z "$ac_c_werror_flag"
5578 || test ! -s conftest.err'
5579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580 (eval $ac_try) 2>&5
5581 ac_status=$?
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); }; } &&
5584 { ac_try='test -s conftest$ac_exeext'
5585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586 (eval $ac_try) 2>&5
5587 ac_status=$?
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; }; then
5590 lt_cv_cc_needs_belf=yes
5591 else
5592 echo "$as_me: failed program was:" >&5
5593 sed 's/^/| /' conftest.$ac_ext >&5
5595 lt_cv_cc_needs_belf=no
5597 rm -f conftest.err conftest.$ac_objext \
5598 conftest$ac_exeext conftest.$ac_ext
5599 ac_ext=c
5600 ac_cpp='$CPP $CPPFLAGS'
5601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5606 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5607 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5608 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5609 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5610 CFLAGS="$SAVE_CFLAGS"
5613 sparc*-*solaris*)
5614 # Find out which ABI we are using.
5615 echo 'int i;' > conftest.$ac_ext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5617 (eval $ac_compile) 2>&5
5618 ac_status=$?
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; then
5621 case `/usr/bin/file conftest.o` in
5622 *64-bit*)
5623 case $lt_cv_prog_gnu_ld in
5624 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5625 *) LD="${LD-ld} -64" ;;
5626 esac
5628 esac
5630 rm -rf conftest*
5632 esac
5634 need_locks="$enable_libtool_lock"
5636 ac_ext=c
5637 ac_cpp='$CPP $CPPFLAGS'
5638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5642 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5643 # On Suns, sometimes $CPP names a directory.
5644 if test -n "$CPP" && test -d "$CPP"; then
5645 CPP=
5647 if test -z "$CPP"; then
5648 if test "${ac_cv_prog_CPP+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651 # Double quotes because CPP needs to be expanded
5652 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5654 ac_preproc_ok=false
5655 for ac_c_preproc_warn_flag in '' yes
5657 # Use a header file that comes with gcc, so configuring glibc
5658 # with a fresh cross-compiler works.
5659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5660 # <limits.h> exists even on freestanding compilers.
5661 # On the NeXT, cc -E runs the code through the compiler's parser,
5662 # not just through cpp. "Syntax error" is here to catch this case.
5663 cat >conftest.$ac_ext <<_ACEOF
5664 /* confdefs.h. */
5665 _ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 #ifdef __STDC__
5670 # include <limits.h>
5671 #else
5672 # include <assert.h>
5673 #endif
5674 Syntax error
5675 _ACEOF
5676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5678 ac_status=$?
5679 grep -v '^ *+' conftest.er1 >conftest.err
5680 rm -f conftest.er1
5681 cat conftest.err >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } >/dev/null; then
5684 if test -s conftest.err; then
5685 ac_cpp_err=$ac_c_preproc_warn_flag
5686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5687 else
5688 ac_cpp_err=
5690 else
5691 ac_cpp_err=yes
5693 if test -z "$ac_cpp_err"; then
5695 else
5696 echo "$as_me: failed program was:" >&5
5697 sed 's/^/| /' conftest.$ac_ext >&5
5699 # Broken: fails on valid input.
5700 continue
5702 rm -f conftest.err conftest.$ac_ext
5704 # OK, works on sane cases. Now check whether non-existent headers
5705 # can be detected and how.
5706 cat >conftest.$ac_ext <<_ACEOF
5707 /* confdefs.h. */
5708 _ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 #include <ac_nonexistent.h>
5713 _ACEOF
5714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5716 ac_status=$?
5717 grep -v '^ *+' conftest.er1 >conftest.err
5718 rm -f conftest.er1
5719 cat conftest.err >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } >/dev/null; then
5722 if test -s conftest.err; then
5723 ac_cpp_err=$ac_c_preproc_warn_flag
5724 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5725 else
5726 ac_cpp_err=
5728 else
5729 ac_cpp_err=yes
5731 if test -z "$ac_cpp_err"; then
5732 # Broken: success on invalid input.
5733 continue
5734 else
5735 echo "$as_me: failed program was:" >&5
5736 sed 's/^/| /' conftest.$ac_ext >&5
5738 # Passes both tests.
5739 ac_preproc_ok=:
5740 break
5742 rm -f conftest.err conftest.$ac_ext
5744 done
5745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5746 rm -f conftest.err conftest.$ac_ext
5747 if $ac_preproc_ok; then
5748 break
5751 done
5752 ac_cv_prog_CPP=$CPP
5755 CPP=$ac_cv_prog_CPP
5756 else
5757 ac_cv_prog_CPP=$CPP
5759 echo "$as_me:$LINENO: result: $CPP" >&5
5760 echo "${ECHO_T}$CPP" >&6
5761 ac_preproc_ok=false
5762 for ac_c_preproc_warn_flag in '' yes
5764 # Use a header file that comes with gcc, so configuring glibc
5765 # with a fresh cross-compiler works.
5766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5767 # <limits.h> exists even on freestanding compilers.
5768 # On the NeXT, cc -E runs the code through the compiler's parser,
5769 # not just through cpp. "Syntax error" is here to catch this case.
5770 cat >conftest.$ac_ext <<_ACEOF
5771 /* confdefs.h. */
5772 _ACEOF
5773 cat confdefs.h >>conftest.$ac_ext
5774 cat >>conftest.$ac_ext <<_ACEOF
5775 /* end confdefs.h. */
5776 #ifdef __STDC__
5777 # include <limits.h>
5778 #else
5779 # include <assert.h>
5780 #endif
5781 Syntax error
5782 _ACEOF
5783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5785 ac_status=$?
5786 grep -v '^ *+' conftest.er1 >conftest.err
5787 rm -f conftest.er1
5788 cat conftest.err >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } >/dev/null; then
5791 if test -s conftest.err; then
5792 ac_cpp_err=$ac_c_preproc_warn_flag
5793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5794 else
5795 ac_cpp_err=
5797 else
5798 ac_cpp_err=yes
5800 if test -z "$ac_cpp_err"; then
5802 else
5803 echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.$ac_ext >&5
5806 # Broken: fails on valid input.
5807 continue
5809 rm -f conftest.err conftest.$ac_ext
5811 # OK, works on sane cases. Now check whether non-existent headers
5812 # can be detected and how.
5813 cat >conftest.$ac_ext <<_ACEOF
5814 /* confdefs.h. */
5815 _ACEOF
5816 cat confdefs.h >>conftest.$ac_ext
5817 cat >>conftest.$ac_ext <<_ACEOF
5818 /* end confdefs.h. */
5819 #include <ac_nonexistent.h>
5820 _ACEOF
5821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5823 ac_status=$?
5824 grep -v '^ *+' conftest.er1 >conftest.err
5825 rm -f conftest.er1
5826 cat conftest.err >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } >/dev/null; then
5829 if test -s conftest.err; then
5830 ac_cpp_err=$ac_c_preproc_warn_flag
5831 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5832 else
5833 ac_cpp_err=
5835 else
5836 ac_cpp_err=yes
5838 if test -z "$ac_cpp_err"; then
5839 # Broken: success on invalid input.
5840 continue
5841 else
5842 echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.$ac_ext >&5
5845 # Passes both tests.
5846 ac_preproc_ok=:
5847 break
5849 rm -f conftest.err conftest.$ac_ext
5851 done
5852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5853 rm -f conftest.err conftest.$ac_ext
5854 if $ac_preproc_ok; then
5856 else
5857 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5858 See \`config.log' for more details." >&5
5859 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5860 See \`config.log' for more details." >&2;}
5861 { (exit 1); exit 1; }; }
5864 ac_ext=c
5865 ac_cpp='$CPP $CPPFLAGS'
5866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5871 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5872 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5873 if test "${ac_cv_header_stdc+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 else
5876 cat >conftest.$ac_ext <<_ACEOF
5877 /* confdefs.h. */
5878 _ACEOF
5879 cat confdefs.h >>conftest.$ac_ext
5880 cat >>conftest.$ac_ext <<_ACEOF
5881 /* end confdefs.h. */
5882 #include <stdlib.h>
5883 #include <stdarg.h>
5884 #include <string.h>
5885 #include <float.h>
5888 main ()
5892 return 0;
5894 _ACEOF
5895 rm -f conftest.$ac_objext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5897 (eval $ac_compile) 2>conftest.er1
5898 ac_status=$?
5899 grep -v '^ *+' conftest.er1 >conftest.err
5900 rm -f conftest.er1
5901 cat conftest.err >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try='test -z "$ac_c_werror_flag"
5905 || test ! -s conftest.err'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 (eval $ac_try) 2>&5
5908 ac_status=$?
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try='test -s conftest.$ac_objext'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5913 (eval $ac_try) 2>&5
5914 ac_status=$?
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; }; then
5917 ac_cv_header_stdc=yes
5918 else
5919 echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.$ac_ext >&5
5922 ac_cv_header_stdc=no
5924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5926 if test $ac_cv_header_stdc = yes; then
5927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5928 cat >conftest.$ac_ext <<_ACEOF
5929 /* confdefs.h. */
5930 _ACEOF
5931 cat confdefs.h >>conftest.$ac_ext
5932 cat >>conftest.$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5934 #include <string.h>
5936 _ACEOF
5937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5938 $EGREP "memchr" >/dev/null 2>&1; then
5940 else
5941 ac_cv_header_stdc=no
5943 rm -f conftest*
5947 if test $ac_cv_header_stdc = yes; then
5948 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5949 cat >conftest.$ac_ext <<_ACEOF
5950 /* confdefs.h. */
5951 _ACEOF
5952 cat confdefs.h >>conftest.$ac_ext
5953 cat >>conftest.$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5955 #include <stdlib.h>
5957 _ACEOF
5958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5959 $EGREP "free" >/dev/null 2>&1; then
5961 else
5962 ac_cv_header_stdc=no
5964 rm -f conftest*
5968 if test $ac_cv_header_stdc = yes; then
5969 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5970 if test "$cross_compiling" = yes; then
5972 else
5973 cat >conftest.$ac_ext <<_ACEOF
5974 /* confdefs.h. */
5975 _ACEOF
5976 cat confdefs.h >>conftest.$ac_ext
5977 cat >>conftest.$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5979 #include <ctype.h>
5980 #if ((' ' & 0x0FF) == 0x020)
5981 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5982 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5983 #else
5984 # define ISLOWER(c) \
5985 (('a' <= (c) && (c) <= 'i') \
5986 || ('j' <= (c) && (c) <= 'r') \
5987 || ('s' <= (c) && (c) <= 'z'))
5988 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5989 #endif
5991 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5993 main ()
5995 int i;
5996 for (i = 0; i < 256; i++)
5997 if (XOR (islower (i), ISLOWER (i))
5998 || toupper (i) != TOUPPER (i))
5999 exit(2);
6000 exit (0);
6002 _ACEOF
6003 rm -f conftest$ac_exeext
6004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6005 (eval $ac_link) 2>&5
6006 ac_status=$?
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 (eval $ac_try) 2>&5
6011 ac_status=$?
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); }; }; then
6015 else
6016 echo "$as_me: program exited with status $ac_status" >&5
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.$ac_ext >&5
6020 ( exit $ac_status )
6021 ac_cv_header_stdc=no
6023 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6027 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6028 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6029 if test $ac_cv_header_stdc = yes; then
6031 cat >>confdefs.h <<\_ACEOF
6032 #define STDC_HEADERS 1
6033 _ACEOF
6037 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6047 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6048 inttypes.h stdint.h unistd.h
6050 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6051 echo "$as_me:$LINENO: checking for $ac_header" >&5
6052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 else
6056 cat >conftest.$ac_ext <<_ACEOF
6057 /* confdefs.h. */
6058 _ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6062 $ac_includes_default
6064 #include <$ac_header>
6065 _ACEOF
6066 rm -f conftest.$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>conftest.er1
6069 ac_status=$?
6070 grep -v '^ *+' conftest.er1 >conftest.err
6071 rm -f conftest.er1
6072 cat conftest.err >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } &&
6075 { ac_try='test -z "$ac_c_werror_flag"
6076 || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 (eval $ac_try) 2>&5
6079 ac_status=$?
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try='test -s conftest.$ac_objext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 (eval $ac_try) 2>&5
6085 ac_status=$?
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 eval "$as_ac_Header=yes"
6089 else
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 eval "$as_ac_Header=no"
6095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6100 cat >>confdefs.h <<_ACEOF
6101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6102 _ACEOF
6106 done
6110 for ac_header in dlfcn.h
6112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6113 echo "$as_me:$LINENO: checking for $ac_header" >&5
6114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 else
6118 cat >conftest.$ac_ext <<_ACEOF
6119 /* confdefs.h. */
6120 _ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 $ac_includes_default
6126 #include <$ac_header>
6127 _ACEOF
6128 rm -f conftest.$ac_objext
6129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6130 (eval $ac_compile) 2>conftest.er1
6131 ac_status=$?
6132 grep -v '^ *+' conftest.er1 >conftest.err
6133 rm -f conftest.er1
6134 cat conftest.err >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } &&
6137 { ac_try='test -z "$ac_c_werror_flag"
6138 || test ! -s conftest.err'
6139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6140 (eval $ac_try) 2>&5
6141 ac_status=$?
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); }; } &&
6144 { ac_try='test -s conftest.$ac_objext'
6145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 (eval $ac_try) 2>&5
6147 ac_status=$?
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); }; }; then
6150 eval "$as_ac_Header=yes"
6151 else
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6155 eval "$as_ac_Header=no"
6157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6162 cat >>confdefs.h <<_ACEOF
6163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6164 _ACEOF
6168 done
6172 # This can be used to rebuild libtool when needed
6173 LIBTOOL_DEPS="$ltmain"
6175 # Always use our own libtool.
6176 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6202 test -z "$LN_S" && LN_S="ln -s"
6217 if test -n "${ZSH_VERSION+set}" ; then
6218 setopt NO_GLOB_SUBST
6221 echo "$as_me:$LINENO: checking for objdir" >&5
6222 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6223 if test "${lt_cv_objdir+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 else
6226 rm -f .libs 2>/dev/null
6227 mkdir .libs 2>/dev/null
6228 if test -d .libs; then
6229 lt_cv_objdir=.libs
6230 else
6231 # MS-DOS does not allow filenames that begin with a dot.
6232 lt_cv_objdir=_libs
6234 rmdir .libs 2>/dev/null
6236 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6237 echo "${ECHO_T}$lt_cv_objdir" >&6
6238 objdir=$lt_cv_objdir
6244 cat >>confdefs.h <<_ACEOF
6245 #define LT_OBJDIR "$lt_cv_objdir/"
6246 _ACEOF
6264 case $host_os in
6265 aix3*)
6266 # AIX sometimes has problems with the GCC collect2 program. For some
6267 # reason, if we set the COLLECT_NAMES environment variable, the problems
6268 # vanish in a puff of smoke.
6269 if test "X${COLLECT_NAMES+set}" != Xset; then
6270 COLLECT_NAMES=
6271 export COLLECT_NAMES
6274 esac
6276 # Sed substitution that helps us do robust quoting. It backslashifies
6277 # metacharacters that are still active within double-quoted strings.
6278 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6280 # Same as above, but do not quote variable references.
6281 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6283 # Sed substitution to delay expansion of an escaped shell variable in a
6284 # double_quote_subst'ed string.
6285 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6287 # Sed substitution to delay expansion of an escaped single quote.
6288 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6290 # Sed substitution to avoid accidental globbing in evaled expressions
6291 no_glob_subst='s/\*/\\\*/g'
6293 # Global variables:
6294 ofile=libtool
6295 can_build_shared=yes
6297 # All known linkers require a `.a' archive for static linking (except MSVC,
6298 # which needs '.lib').
6299 libext=a
6301 with_gnu_ld="$lt_cv_prog_gnu_ld"
6303 old_CC="$CC"
6304 old_CFLAGS="$CFLAGS"
6306 # Set sane defaults for various variables
6307 test -z "$CC" && CC=cc
6308 test -z "$LTCC" && LTCC=$CC
6309 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6310 test -z "$LD" && LD=ld
6311 test -z "$ac_objext" && ac_objext=o
6313 for cc_temp in $compiler""; do
6314 case $cc_temp in
6315 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6316 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6317 \-*) ;;
6318 *) break;;
6319 esac
6320 done
6321 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6324 # Only perform the check for file, if the check method requires it
6325 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6326 case $deplibs_check_method in
6327 file_magic*)
6328 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6329 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6330 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6331 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 else
6334 case $MAGIC_CMD in
6335 [\\/*] | ?:[\\/]*)
6336 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6339 lt_save_MAGIC_CMD="$MAGIC_CMD"
6340 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6341 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6342 for ac_dir in $ac_dummy; do
6343 IFS="$lt_save_ifs"
6344 test -z "$ac_dir" && ac_dir=.
6345 if test -f $ac_dir/${ac_tool_prefix}file; then
6346 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6347 if test -n "$file_magic_test_file"; then
6348 case $deplibs_check_method in
6349 "file_magic "*)
6350 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6351 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6352 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6353 $EGREP "$file_magic_regex" > /dev/null; then
6355 else
6356 cat <<_LT_EOF 1>&2
6358 *** Warning: the command libtool uses to detect shared libraries,
6359 *** $file_magic_cmd, produces output that libtool cannot recognize.
6360 *** The result is that libtool may fail to recognize shared libraries
6361 *** as such. This will affect the creation of libtool libraries that
6362 *** depend on shared libraries, but programs linked with such libtool
6363 *** libraries will work regardless of this problem. Nevertheless, you
6364 *** may want to report the problem to your system manager and/or to
6365 *** bug-libtool@gnu.org
6367 _LT_EOF
6368 fi ;;
6369 esac
6371 break
6373 done
6374 IFS="$lt_save_ifs"
6375 MAGIC_CMD="$lt_save_MAGIC_CMD"
6377 esac
6380 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6381 if test -n "$MAGIC_CMD"; then
6382 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6383 echo "${ECHO_T}$MAGIC_CMD" >&6
6384 else
6385 echo "$as_me:$LINENO: result: no" >&5
6386 echo "${ECHO_T}no" >&6
6393 if test -z "$lt_cv_path_MAGIC_CMD"; then
6394 if test -n "$ac_tool_prefix"; then
6395 echo "$as_me:$LINENO: checking for file" >&5
6396 echo $ECHO_N "checking for file... $ECHO_C" >&6
6397 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 else
6400 case $MAGIC_CMD in
6401 [\\/*] | ?:[\\/]*)
6402 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6405 lt_save_MAGIC_CMD="$MAGIC_CMD"
6406 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6407 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6408 for ac_dir in $ac_dummy; do
6409 IFS="$lt_save_ifs"
6410 test -z "$ac_dir" && ac_dir=.
6411 if test -f $ac_dir/file; then
6412 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6413 if test -n "$file_magic_test_file"; then
6414 case $deplibs_check_method in
6415 "file_magic "*)
6416 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6417 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6418 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6419 $EGREP "$file_magic_regex" > /dev/null; then
6421 else
6422 cat <<_LT_EOF 1>&2
6424 *** Warning: the command libtool uses to detect shared libraries,
6425 *** $file_magic_cmd, produces output that libtool cannot recognize.
6426 *** The result is that libtool may fail to recognize shared libraries
6427 *** as such. This will affect the creation of libtool libraries that
6428 *** depend on shared libraries, but programs linked with such libtool
6429 *** libraries will work regardless of this problem. Nevertheless, you
6430 *** may want to report the problem to your system manager and/or to
6431 *** bug-libtool@gnu.org
6433 _LT_EOF
6434 fi ;;
6435 esac
6437 break
6439 done
6440 IFS="$lt_save_ifs"
6441 MAGIC_CMD="$lt_save_MAGIC_CMD"
6443 esac
6446 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6447 if test -n "$MAGIC_CMD"; then
6448 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6449 echo "${ECHO_T}$MAGIC_CMD" >&6
6450 else
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6456 else
6457 MAGIC_CMD=:
6463 esac
6465 # Use C for the default configuration in the libtool script
6467 lt_save_CC="$CC"
6468 ac_ext=c
6469 ac_cpp='$CPP $CPPFLAGS'
6470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6475 # Source file extension for C test sources.
6476 ac_ext=c
6478 # Object file extension for compiled C test sources.
6479 objext=o
6480 objext=$objext
6482 # Code to be used in simple compile tests
6483 lt_simple_compile_test_code="int some_variable = 0;"
6485 # Code to be used in simple link tests
6486 lt_simple_link_test_code='int main(){return(0);}'
6494 # If no C compiler was specified, use CC.
6495 LTCC=${LTCC-"$CC"}
6497 # If no C compiler flags were specified, use CFLAGS.
6498 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6500 # Allow CC to be a program name with arguments.
6501 compiler=$CC
6503 # Save the default compiler, since it gets overwritten when the other
6504 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6505 compiler_DEFAULT=$CC
6507 # save warnings/boilerplate of simple test code
6508 ac_outfile=conftest.$ac_objext
6509 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6510 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6511 _lt_compiler_boilerplate=`cat conftest.err`
6512 $RM conftest*
6514 ac_outfile=conftest.$ac_objext
6515 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6516 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6517 _lt_linker_boilerplate=`cat conftest.err`
6518 $RM conftest*
6521 ## CAVEAT EMPTOR:
6522 ## There is no encapsulation within the following macros, do not change
6523 ## the running order or otherwise move them around unless you know exactly
6524 ## what you are doing...
6525 if test -n "$compiler"; then
6527 lt_prog_compiler_no_builtin_flag=
6529 if test "$GCC" = yes; then
6530 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6532 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6533 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6534 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 else
6537 lt_cv_prog_compiler_rtti_exceptions=no
6538 ac_outfile=conftest.$ac_objext
6539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6540 lt_compiler_flag="-fno-rtti -fno-exceptions"
6541 # Insert the option either (1) after the last *FLAGS variable, or
6542 # (2) before a word containing "conftest.", or (3) at the end.
6543 # Note that $ac_compile itself does not contain backslashes and begins
6544 # with a dollar sign (not a hyphen), so the echo should work correctly.
6545 # The option is referenced via a variable to avoid confusing sed.
6546 lt_compile=`echo "$ac_compile" | $SED \
6547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6549 -e 's:$: $lt_compiler_flag:'`
6550 (eval echo "\"\$as_me:6550: $lt_compile\"" >&5)
6551 (eval "$lt_compile" 2>conftest.err)
6552 ac_status=$?
6553 cat conftest.err >&5
6554 echo "$as_me:6554: \$? = $ac_status" >&5
6555 if (exit $ac_status) && test -s "$ac_outfile"; then
6556 # The compiler can only warn and ignore the option if not recognized
6557 # So say no if there are warnings other than the usual output.
6558 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6559 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6560 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6561 lt_cv_prog_compiler_rtti_exceptions=yes
6564 $RM conftest*
6567 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6568 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6570 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6571 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6572 else
6583 lt_prog_compiler_wl=
6584 lt_prog_compiler_pic=
6585 lt_prog_compiler_static=
6587 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6588 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6590 if test "$GCC" = yes; then
6591 lt_prog_compiler_wl='-Wl,'
6592 lt_prog_compiler_static='-static'
6594 case $host_os in
6595 aix*)
6596 # All AIX code is PIC.
6597 if test "$host_cpu" = ia64; then
6598 # AIX 5 now supports IA64 processor
6599 lt_prog_compiler_static='-Bstatic'
6603 amigaos*)
6604 if test "$host_cpu" = m68k; then
6605 # FIXME: we need at least 68020 code to build shared libraries, but
6606 # adding the `-m68020' flag to GCC prevents building anything better,
6607 # like `-m68040'.
6608 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6612 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6613 # PIC is the default for these OSes.
6616 mingw* | cygwin* | pw32* | os2*)
6617 # This hack is so that the source file can tell whether it is being
6618 # built for inclusion in a dll (and should export symbols for example).
6619 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6620 # (--disable-auto-import) libraries
6621 lt_prog_compiler_pic='-DDLL_EXPORT'
6624 darwin* | rhapsody*)
6625 # PIC is the default on this platform
6626 # Common symbols not allowed in MH_DYLIB files
6627 lt_prog_compiler_pic='-fno-common'
6630 hpux*)
6631 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6632 # not for PA HP-UX.
6633 case $host_cpu in
6634 hppa*64*|ia64*)
6635 # +Z the default
6638 lt_prog_compiler_pic='-fPIC'
6640 esac
6643 interix[3-9]*)
6644 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6645 # Instead, we relocate shared libraries at runtime.
6648 msdosdjgpp*)
6649 # Just because we use GCC doesn't mean we suddenly get shared libraries
6650 # on systems that don't support them.
6651 lt_prog_compiler_can_build_shared=no
6652 enable_shared=no
6655 *nto* | *qnx*)
6656 # QNX uses GNU C++, but need to define -shared option too, otherwise
6657 # it will coredump.
6658 lt_prog_compiler_pic='-fPIC -shared'
6661 sysv4*MP*)
6662 if test -d /usr/nec; then
6663 lt_prog_compiler_pic=-Kconform_pic
6668 lt_prog_compiler_pic='-fPIC'
6670 esac
6671 else
6672 # PORTME Check for flag to pass linker flags through the system compiler.
6673 case $host_os in
6674 aix*)
6675 lt_prog_compiler_wl='-Wl,'
6676 if test "$host_cpu" = ia64; then
6677 # AIX 5 now supports IA64 processor
6678 lt_prog_compiler_static='-Bstatic'
6679 else
6680 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6683 darwin*)
6684 # PIC is the default on this platform
6685 # Common symbols not allowed in MH_DYLIB files
6686 case $cc_basename in
6687 xlc*)
6688 lt_prog_compiler_pic='-qnocommon'
6689 lt_prog_compiler_wl='-Wl,'
6691 esac
6694 mingw* | cygwin* | pw32* | os2*)
6695 # This hack is so that the source file can tell whether it is being
6696 # built for inclusion in a dll (and should export symbols for example).
6697 lt_prog_compiler_pic='-DDLL_EXPORT'
6700 hpux9* | hpux10* | hpux11*)
6701 lt_prog_compiler_wl='-Wl,'
6702 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6703 # not for PA HP-UX.
6704 case $host_cpu in
6705 hppa*64*|ia64*)
6706 # +Z the default
6709 lt_prog_compiler_pic='+Z'
6711 esac
6712 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6713 lt_prog_compiler_static='${wl}-a ${wl}archive'
6716 irix5* | irix6* | nonstopux*)
6717 lt_prog_compiler_wl='-Wl,'
6718 # PIC (with -KPIC) is the default.
6719 lt_prog_compiler_static='-non_shared'
6722 linux* | k*bsd*-gnu)
6723 case $cc_basename in
6724 icc* | ecc*)
6725 lt_prog_compiler_wl='-Wl,'
6726 lt_prog_compiler_pic='-KPIC'
6727 lt_prog_compiler_static='-static'
6729 pgcc* | pgf77* | pgf90* | pgf95*)
6730 # Portland Group compilers (*not* the Pentium gcc compiler,
6731 # which looks to be a dead project)
6732 lt_prog_compiler_wl='-Wl,'
6733 lt_prog_compiler_pic='-fpic'
6734 lt_prog_compiler_static='-Bstatic'
6736 ccc*)
6737 lt_prog_compiler_wl='-Wl,'
6738 # All Alpha code is PIC.
6739 lt_prog_compiler_static='-non_shared'
6742 case `$CC -V 2>&1 | sed 5q` in
6743 *Sun\ C*)
6744 # Sun C 5.9
6745 lt_prog_compiler_pic='-KPIC'
6746 lt_prog_compiler_static='-Bstatic'
6747 lt_prog_compiler_wl='-Wl,'
6749 *Sun\ F*)
6750 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6751 lt_prog_compiler_pic='-KPIC'
6752 lt_prog_compiler_static='-Bstatic'
6753 lt_prog_compiler_wl=''
6755 esac
6757 esac
6760 newsos6)
6761 lt_prog_compiler_pic='-KPIC'
6762 lt_prog_compiler_static='-Bstatic'
6765 *nto* | *qnx*)
6766 # QNX uses GNU C++, but need to define -shared option too, otherwise
6767 # it will coredump.
6768 lt_prog_compiler_pic='-fPIC -shared'
6771 osf3* | osf4* | osf5*)
6772 lt_prog_compiler_wl='-Wl,'
6773 # All OSF/1 code is PIC.
6774 lt_prog_compiler_static='-non_shared'
6777 rdos*)
6778 lt_prog_compiler_static='-non_shared'
6781 solaris*)
6782 lt_prog_compiler_pic='-KPIC'
6783 lt_prog_compiler_static='-Bstatic'
6784 case $cc_basename in
6785 f77* | f90* | f95*)
6786 lt_prog_compiler_wl='-Qoption ld ';;
6788 lt_prog_compiler_wl='-Wl,';;
6789 esac
6792 sunos4*)
6793 lt_prog_compiler_wl='-Qoption ld '
6794 lt_prog_compiler_pic='-PIC'
6795 lt_prog_compiler_static='-Bstatic'
6798 sysv4 | sysv4.2uw2* | sysv4.3*)
6799 lt_prog_compiler_wl='-Wl,'
6800 lt_prog_compiler_pic='-KPIC'
6801 lt_prog_compiler_static='-Bstatic'
6804 sysv4*MP*)
6805 if test -d /usr/nec ;then
6806 lt_prog_compiler_pic='-Kconform_pic'
6807 lt_prog_compiler_static='-Bstatic'
6811 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6812 lt_prog_compiler_wl='-Wl,'
6813 lt_prog_compiler_pic='-KPIC'
6814 lt_prog_compiler_static='-Bstatic'
6817 unicos*)
6818 lt_prog_compiler_wl='-Wl,'
6819 lt_prog_compiler_can_build_shared=no
6822 uts4*)
6823 lt_prog_compiler_pic='-pic'
6824 lt_prog_compiler_static='-Bstatic'
6828 lt_prog_compiler_can_build_shared=no
6830 esac
6833 case $host_os in
6834 # For platforms which do not support PIC, -DPIC is meaningless:
6835 *djgpp*)
6836 lt_prog_compiler_pic=
6839 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6841 esac
6842 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6843 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6851 # Check to make sure the PIC flag actually works.
6853 if test -n "$lt_prog_compiler_pic"; then
6854 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6855 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6856 if test "${lt_prog_compiler_pic_works+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859 lt_prog_compiler_pic_works=no
6860 ac_outfile=conftest.$ac_objext
6861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6862 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6863 # Insert the option either (1) after the last *FLAGS variable, or
6864 # (2) before a word containing "conftest.", or (3) at the end.
6865 # Note that $ac_compile itself does not contain backslashes and begins
6866 # with a dollar sign (not a hyphen), so the echo should work correctly.
6867 # The option is referenced via a variable to avoid confusing sed.
6868 lt_compile=`echo "$ac_compile" | $SED \
6869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6871 -e 's:$: $lt_compiler_flag:'`
6872 (eval echo "\"\$as_me:6872: $lt_compile\"" >&5)
6873 (eval "$lt_compile" 2>conftest.err)
6874 ac_status=$?
6875 cat conftest.err >&5
6876 echo "$as_me:6876: \$? = $ac_status" >&5
6877 if (exit $ac_status) && test -s "$ac_outfile"; then
6878 # The compiler can only warn and ignore the option if not recognized
6879 # So say no if there are warnings other than the usual output.
6880 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6881 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6882 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6883 lt_prog_compiler_pic_works=yes
6886 $RM conftest*
6889 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6890 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6892 if test x"$lt_prog_compiler_pic_works" = xyes; then
6893 case $lt_prog_compiler_pic in
6894 "" | " "*) ;;
6895 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6896 esac
6897 else
6898 lt_prog_compiler_pic=
6899 lt_prog_compiler_can_build_shared=no
6910 # Check to make sure the static flag actually works.
6912 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6913 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6914 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6915 if test "${lt_prog_compiler_static_works+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 else
6918 lt_prog_compiler_static_works=no
6919 save_LDFLAGS="$LDFLAGS"
6920 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6921 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6922 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6923 # The linker can only warn and ignore the option if not recognized
6924 # So say no if there are warnings
6925 if test -s conftest.err; then
6926 # Append any errors to the config.log.
6927 cat conftest.err 1>&5
6928 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6929 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6930 if diff conftest.exp conftest.er2 >/dev/null; then
6931 lt_prog_compiler_static_works=yes
6933 else
6934 lt_prog_compiler_static_works=yes
6937 $RM conftest*
6938 LDFLAGS="$save_LDFLAGS"
6941 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6942 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6944 if test x"$lt_prog_compiler_static_works" = xyes; then
6946 else
6947 lt_prog_compiler_static=
6956 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6957 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6958 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6960 else
6961 lt_cv_prog_compiler_c_o=no
6962 $RM -r conftest 2>/dev/null
6963 mkdir conftest
6964 cd conftest
6965 mkdir out
6966 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6968 lt_compiler_flag="-o out/conftest2.$ac_objext"
6969 # Insert the option either (1) after the last *FLAGS variable, or
6970 # (2) before a word containing "conftest.", or (3) at the end.
6971 # Note that $ac_compile itself does not contain backslashes and begins
6972 # with a dollar sign (not a hyphen), so the echo should work correctly.
6973 lt_compile=`echo "$ac_compile" | $SED \
6974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6976 -e 's:$: $lt_compiler_flag:'`
6977 (eval echo "\"\$as_me:6977: $lt_compile\"" >&5)
6978 (eval "$lt_compile" 2>out/conftest.err)
6979 ac_status=$?
6980 cat out/conftest.err >&5
6981 echo "$as_me:6981: \$? = $ac_status" >&5
6982 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6983 then
6984 # The compiler can only warn and ignore the option if not recognized
6985 # So say no if there are warnings
6986 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6987 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6988 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6989 lt_cv_prog_compiler_c_o=yes
6992 chmod u+w . 2>&5
6993 $RM conftest*
6994 # SGI C++ compiler will create directory out/ii_files/ for
6995 # template instantiation
6996 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6997 $RM out/* && rmdir out
6998 cd ..
6999 $RM -r conftest
7000 $RM conftest*
7003 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7004 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7011 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7012 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7014 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 else
7016 lt_cv_prog_compiler_c_o=no
7017 $RM -r conftest 2>/dev/null
7018 mkdir conftest
7019 cd conftest
7020 mkdir out
7021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7023 lt_compiler_flag="-o out/conftest2.$ac_objext"
7024 # Insert the option either (1) after the last *FLAGS variable, or
7025 # (2) before a word containing "conftest.", or (3) at the end.
7026 # Note that $ac_compile itself does not contain backslashes and begins
7027 # with a dollar sign (not a hyphen), so the echo should work correctly.
7028 lt_compile=`echo "$ac_compile" | $SED \
7029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7031 -e 's:$: $lt_compiler_flag:'`
7032 (eval echo "\"\$as_me:7032: $lt_compile\"" >&5)
7033 (eval "$lt_compile" 2>out/conftest.err)
7034 ac_status=$?
7035 cat out/conftest.err >&5
7036 echo "$as_me:7036: \$? = $ac_status" >&5
7037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7038 then
7039 # The compiler can only warn and ignore the option if not recognized
7040 # So say no if there are warnings
7041 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7044 lt_cv_prog_compiler_c_o=yes
7047 chmod u+w . 2>&5
7048 $RM conftest*
7049 # SGI C++ compiler will create directory out/ii_files/ for
7050 # template instantiation
7051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7052 $RM out/* && rmdir out
7053 cd ..
7054 $RM -r conftest
7055 $RM conftest*
7058 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7059 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7064 hard_links="nottested"
7065 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7066 # do not overwrite the value of need_locks provided by the user
7067 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7068 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7069 hard_links=yes
7070 $RM conftest*
7071 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7072 touch conftest.a
7073 ln conftest.a conftest.b 2>&5 || hard_links=no
7074 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7075 echo "$as_me:$LINENO: result: $hard_links" >&5
7076 echo "${ECHO_T}$hard_links" >&6
7077 if test "$hard_links" = no; then
7078 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7079 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7080 need_locks=warn
7082 else
7083 need_locks=no
7091 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7092 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7094 runpath_var=
7095 allow_undefined_flag=
7096 always_export_symbols=no
7097 archive_cmds=
7098 archive_expsym_cmds=
7099 compiler_needs_object=no
7100 enable_shared_with_static_runtimes=no
7101 export_dynamic_flag_spec=
7102 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7103 hardcode_automatic=no
7104 hardcode_direct=no
7105 hardcode_direct_absolute=no
7106 hardcode_libdir_flag_spec=
7107 hardcode_libdir_flag_spec_ld=
7108 hardcode_libdir_separator=
7109 hardcode_minus_L=no
7110 hardcode_shlibpath_var=unsupported
7111 inherit_rpath=no
7112 link_all_deplibs=unknown
7113 module_cmds=
7114 module_expsym_cmds=
7115 old_archive_from_new_cmds=
7116 old_archive_from_expsyms_cmds=
7117 thread_safe_flag_spec=
7118 whole_archive_flag_spec=
7119 # include_expsyms should be a list of space-separated symbols to be *always*
7120 # included in the symbol list
7121 include_expsyms=
7122 # exclude_expsyms can be an extended regexp of symbols to exclude
7123 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7124 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7125 # as well as any symbol that contains `d'.
7126 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7127 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7128 # platforms (ab)use it in PIC code, but their linkers get confused if
7129 # the symbol is explicitly referenced. Since portable code cannot
7130 # rely on this symbol name, it's probably fine to never include it in
7131 # preloaded symbol tables.
7132 extract_expsyms_cmds=
7134 case $host_os in
7135 cygwin* | mingw* | pw32*)
7136 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7137 # When not using gcc, we currently assume that we are using
7138 # Microsoft Visual C++.
7139 if test "$GCC" != yes; then
7140 with_gnu_ld=no
7143 interix*)
7144 # we just hope/assume this is gcc and not c89 (= MSVC++)
7145 with_gnu_ld=yes
7147 openbsd*)
7148 with_gnu_ld=no
7150 esac
7152 ld_shlibs=yes
7153 if test "$with_gnu_ld" = yes; then
7154 # If archive_cmds runs LD, not CC, wlarc should be empty
7155 wlarc='${wl}'
7157 # Set some defaults for GNU ld with shared library support. These
7158 # are reset later if shared libraries are not supported. Putting them
7159 # here allows them to be overridden if necessary.
7160 runpath_var=LD_RUN_PATH
7161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7162 export_dynamic_flag_spec='${wl}--export-dynamic'
7163 # ancient GNU ld didn't support --whole-archive et. al.
7164 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7165 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7166 else
7167 whole_archive_flag_spec=
7169 supports_anon_versioning=no
7170 case `$LD -v 2>&1` in
7171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7174 *\ 2.11.*) ;; # other 2.11 versions
7175 *) supports_anon_versioning=yes ;;
7176 esac
7178 # See if GNU ld supports shared libraries.
7179 case $host_os in
7180 aix[3-9]*)
7181 # On AIX/PPC, the GNU linker is very broken
7182 if test "$host_cpu" != ia64; then
7183 ld_shlibs=no
7184 cat <<_LT_EOF 1>&2
7186 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7187 *** to be unable to reliably create shared libraries on AIX.
7188 *** Therefore, libtool is disabling shared libraries support. If you
7189 *** really care for shared libraries, you may want to modify your PATH
7190 *** so that a non-GNU linker is found, and then restart.
7192 _LT_EOF
7196 amigaos*)
7197 if test "$host_cpu" = m68k; then
7198 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)'
7199 hardcode_libdir_flag_spec='-L$libdir'
7200 hardcode_minus_L=yes
7203 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7204 # that the semantics of dynamic libraries on AmigaOS, at least up
7205 # to version 4, is to share data among multiple programs linked
7206 # with the same dynamic library. Since this doesn't match the
7207 # behavior of shared libraries on other platforms, we can't use
7208 # them.
7209 ld_shlibs=no
7212 beos*)
7213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7214 allow_undefined_flag=unsupported
7215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7216 # support --undefined. This deserves some investigation. FIXME
7217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7218 else
7219 ld_shlibs=no
7223 cygwin* | mingw* | pw32*)
7224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7225 # as there is no search path for DLLs.
7226 hardcode_libdir_flag_spec='-L$libdir'
7227 allow_undefined_flag=unsupported
7228 always_export_symbols=no
7229 enable_shared_with_static_runtimes=yes
7230 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7232 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7234 # If the export-symbols file already is a .def file (1st line
7235 # is EXPORTS), use it as is; otherwise, prepend...
7236 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7237 cp $export_symbols $output_objdir/$soname.def;
7238 else
7239 echo EXPORTS > $output_objdir/$soname.def;
7240 cat $export_symbols >> $output_objdir/$soname.def;
7242 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7243 else
7244 ld_shlibs=no
7248 interix[3-9]*)
7249 hardcode_direct=no
7250 hardcode_shlibpath_var=no
7251 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7252 export_dynamic_flag_spec='${wl}-E'
7253 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7254 # Instead, shared libraries are loaded at an image base (0x10000000 by
7255 # default) and relocated if they conflict, which is a slow very memory
7256 # consuming and fragmenting process. To avoid this, we pick a random,
7257 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7258 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7259 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7260 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'
7263 gnu* | linux* | tpf* | k*bsd*-gnu)
7264 tmp_diet=no
7265 if test "$host_os" = linux-dietlibc; then
7266 case $cc_basename in
7267 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7268 esac
7270 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7271 && test "$tmp_diet" = no
7272 then
7273 tmp_addflag=
7274 case $cc_basename,$host_cpu in
7275 pgcc*) # Portland Group C compiler
7276 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'
7277 tmp_addflag=' $pic_flag'
7279 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7280 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'
7281 tmp_addflag=' $pic_flag -Mnomain' ;;
7282 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7283 tmp_addflag=' -i_dynamic' ;;
7284 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7285 tmp_addflag=' -i_dynamic -nofor_main' ;;
7286 ifc* | ifort*) # Intel Fortran compiler
7287 tmp_addflag=' -nofor_main' ;;
7288 esac
7289 case `$CC -V 2>&1 | sed 5q` in
7290 *Sun\ C*) # Sun C 5.9
7291 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'
7292 compiler_needs_object=yes
7293 tmp_sharedflag='-G' ;;
7294 *Sun\ F*) # Sun Fortran 8.3
7295 tmp_sharedflag='-G' ;;
7297 tmp_sharedflag='-shared' ;;
7298 esac
7299 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7301 if test "x$supports_anon_versioning" = xyes; then
7302 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7304 echo "local: *; };" >> $output_objdir/$libname.ver~
7305 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7307 else
7308 ld_shlibs=no
7312 netbsd*)
7313 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7314 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7315 wlarc=
7316 else
7317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7318 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7322 solaris*)
7323 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7324 ld_shlibs=no
7325 cat <<_LT_EOF 1>&2
7327 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7328 *** create shared libraries on Solaris systems. Therefore, libtool
7329 *** is disabling shared libraries support. We urge you to upgrade GNU
7330 *** binutils to release 2.9.1 or newer. Another option is to modify
7331 *** your PATH or compiler configuration so that the native linker is
7332 *** used, and then restart.
7334 _LT_EOF
7335 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7336 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7337 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7338 else
7339 ld_shlibs=no
7343 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7344 case `$LD -v 2>&1` in
7345 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7346 ld_shlibs=no
7347 cat <<_LT_EOF 1>&2
7349 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7350 *** reliably create shared libraries on SCO systems. Therefore, libtool
7351 *** is disabling shared libraries support. We urge you to upgrade GNU
7352 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7353 *** your PATH or compiler configuration so that the native linker is
7354 *** used, and then restart.
7356 _LT_EOF
7359 # For security reasons, it is highly recommended that you always
7360 # use absolute paths for naming shared libraries, and exclude the
7361 # DT_RUNPATH tag from executables and libraries. But doing so
7362 # requires that you compile everything twice, which is a pain.
7363 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7364 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7365 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7366 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7367 else
7368 ld_shlibs=no
7371 esac
7374 sunos4*)
7375 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7376 wlarc=
7377 hardcode_direct=yes
7378 hardcode_shlibpath_var=no
7382 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7383 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7384 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7385 else
7386 ld_shlibs=no
7389 esac
7391 if test "$ld_shlibs" = no; then
7392 runpath_var=
7393 hardcode_libdir_flag_spec=
7394 export_dynamic_flag_spec=
7395 whole_archive_flag_spec=
7397 else
7398 # PORTME fill in a description of your system's linker (not GNU ld)
7399 case $host_os in
7400 aix3*)
7401 allow_undefined_flag=unsupported
7402 always_export_symbols=yes
7403 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'
7404 # Note: this linker hardcodes the directories in LIBPATH if there
7405 # are no directories specified by -L.
7406 hardcode_minus_L=yes
7407 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7408 # Neither direct hardcoding nor static linking is supported with a
7409 # broken collect2.
7410 hardcode_direct=unsupported
7414 aix[4-9]*)
7415 if test "$host_cpu" = ia64; then
7416 # On IA64, the linker does run time linking by default, so we don't
7417 # have to do anything special.
7418 aix_use_runtimelinking=no
7419 exp_sym_flag='-Bexport'
7420 no_entry_flag=""
7421 else
7422 # If we're using GNU nm, then we don't want the "-C" option.
7423 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7424 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7425 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'
7426 else
7427 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'
7429 aix_use_runtimelinking=no
7431 # Test if we are trying to use run time linking or normal
7432 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7433 # need to do runtime linking.
7434 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7435 for ld_flag in $LDFLAGS; do
7436 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7437 aix_use_runtimelinking=yes
7438 break
7440 done
7442 esac
7444 exp_sym_flag='-bexport'
7445 no_entry_flag='-bnoentry'
7448 # When large executables or shared objects are built, AIX ld can
7449 # have problems creating the table of contents. If linking a library
7450 # or program results in "error TOC overflow" add -mminimal-toc to
7451 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7452 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7454 archive_cmds=''
7455 hardcode_direct=yes
7456 hardcode_direct_absolute=yes
7457 hardcode_libdir_separator=':'
7458 link_all_deplibs=yes
7459 file_list_spec='${wl}-f,'
7461 if test "$GCC" = yes; then
7462 case $host_os in aix4.[012]|aix4.[012].*)
7463 # We only want to do this on AIX 4.2 and lower, the check
7464 # below for broken collect2 doesn't work under 4.3+
7465 collect2name=`${CC} -print-prog-name=collect2`
7466 if test -f "$collect2name" &&
7467 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7468 then
7469 # We have reworked collect2
7471 else
7472 # We have old collect2
7473 hardcode_direct=unsupported
7474 # It fails to find uninstalled libraries when the uninstalled
7475 # path is not listed in the libpath. Setting hardcode_minus_L
7476 # to unsupported forces relinking
7477 hardcode_minus_L=yes
7478 hardcode_libdir_flag_spec='-L$libdir'
7479 hardcode_libdir_separator=
7482 esac
7483 shared_flag='-shared'
7484 if test "$aix_use_runtimelinking" = yes; then
7485 shared_flag="$shared_flag "'${wl}-G'
7487 else
7488 # not using gcc
7489 if test "$host_cpu" = ia64; then
7490 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7491 # chokes on -Wl,-G. The following line is correct:
7492 shared_flag='-G'
7493 else
7494 if test "$aix_use_runtimelinking" = yes; then
7495 shared_flag='${wl}-G'
7496 else
7497 shared_flag='${wl}-bM:SRE'
7502 # It seems that -bexpall does not export symbols beginning with
7503 # underscore (_), so it is better to generate a list of symbols to export.
7504 always_export_symbols=yes
7505 if test "$aix_use_runtimelinking" = yes; then
7506 # Warning - without using the other runtime loading flags (-brtl),
7507 # -berok will link without error, but may produce a broken library.
7508 allow_undefined_flag='-berok'
7509 # Determine the default libpath from the value encoded in an
7510 # empty executable.
7511 if test x$gcc_no_link = xyes; then
7512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7514 { (exit 1); exit 1; }; }
7516 cat >conftest.$ac_ext <<_ACEOF
7517 /* confdefs.h. */
7518 _ACEOF
7519 cat confdefs.h >>conftest.$ac_ext
7520 cat >>conftest.$ac_ext <<_ACEOF
7521 /* end confdefs.h. */
7524 main ()
7528 return 0;
7530 _ACEOF
7531 rm -f conftest.$ac_objext conftest$ac_exeext
7532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7533 (eval $ac_link) 2>conftest.er1
7534 ac_status=$?
7535 grep -v '^ *+' conftest.er1 >conftest.err
7536 rm -f conftest.er1
7537 cat conftest.err >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } &&
7540 { ac_try='test -z "$ac_c_werror_flag"
7541 || test ! -s conftest.err'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 (eval $ac_try) 2>&5
7544 ac_status=$?
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; } &&
7547 { ac_try='test -s conftest$ac_exeext'
7548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549 (eval $ac_try) 2>&5
7550 ac_status=$?
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; }; then
7554 lt_aix_libpath_sed='
7555 /Import File Strings/,/^$/ {
7556 /^0/ {
7557 s/^0 *\(.*\)$/\1/
7561 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7562 # Check for a 64-bit object if we didn't find anything.
7563 if test -z "$aix_libpath"; then
7564 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7566 else
7567 echo "$as_me: failed program was:" >&5
7568 sed 's/^/| /' conftest.$ac_ext >&5
7571 rm -f conftest.err conftest.$ac_objext \
7572 conftest$ac_exeext conftest.$ac_ext
7573 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7575 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7576 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"
7577 else
7578 if test "$host_cpu" = ia64; then
7579 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7580 allow_undefined_flag="-z nodefs"
7581 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"
7582 else
7583 # Determine the default libpath from the value encoded in an
7584 # empty executable.
7585 if test x$gcc_no_link = xyes; then
7586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7588 { (exit 1); exit 1; }; }
7590 cat >conftest.$ac_ext <<_ACEOF
7591 /* confdefs.h. */
7592 _ACEOF
7593 cat confdefs.h >>conftest.$ac_ext
7594 cat >>conftest.$ac_ext <<_ACEOF
7595 /* end confdefs.h. */
7598 main ()
7602 return 0;
7604 _ACEOF
7605 rm -f conftest.$ac_objext conftest$ac_exeext
7606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7607 (eval $ac_link) 2>conftest.er1
7608 ac_status=$?
7609 grep -v '^ *+' conftest.er1 >conftest.err
7610 rm -f conftest.er1
7611 cat conftest.err >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); } &&
7614 { ac_try='test -z "$ac_c_werror_flag"
7615 || test ! -s conftest.err'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 (eval $ac_try) 2>&5
7618 ac_status=$?
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; } &&
7621 { ac_try='test -s conftest$ac_exeext'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 (eval $ac_try) 2>&5
7624 ac_status=$?
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; }; then
7628 lt_aix_libpath_sed='
7629 /Import File Strings/,/^$/ {
7630 /^0/ {
7631 s/^0 *\(.*\)$/\1/
7635 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7636 # Check for a 64-bit object if we didn't find anything.
7637 if test -z "$aix_libpath"; then
7638 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7640 else
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7645 rm -f conftest.err conftest.$ac_objext \
7646 conftest$ac_exeext conftest.$ac_ext
7647 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7649 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7650 # Warning - without using the other run time loading flags,
7651 # -berok will link without error, but may produce a broken library.
7652 no_undefined_flag=' ${wl}-bernotok'
7653 allow_undefined_flag=' ${wl}-berok'
7654 # Exported symbols can be pulled into shared objects from archives
7655 whole_archive_flag_spec='$convenience'
7656 archive_cmds_need_lc=yes
7657 # This is similar to how AIX traditionally builds its shared libraries.
7658 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'
7663 amigaos*)
7664 if test "$host_cpu" = m68k; then
7665 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)'
7666 hardcode_libdir_flag_spec='-L$libdir'
7667 hardcode_minus_L=yes
7669 # see comment about different semantics on the GNU ld section
7670 ld_shlibs=no
7673 bsdi[45]*)
7674 export_dynamic_flag_spec=-rdynamic
7677 cygwin* | mingw* | pw32*)
7678 # When not using gcc, we currently assume that we are using
7679 # Microsoft Visual C++.
7680 # hardcode_libdir_flag_spec is actually meaningless, as there is
7681 # no search path for DLLs.
7682 hardcode_libdir_flag_spec=' '
7683 allow_undefined_flag=unsupported
7684 # Tell ltmain to make .lib files, not .a files.
7685 libext=lib
7686 # Tell ltmain to make .dll files, not .so files.
7687 shrext_cmds=".dll"
7688 # FIXME: Setting linknames here is a bad hack.
7689 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7690 # The linker will automatically build a .lib file if we build a DLL.
7691 old_archive_from_new_cmds='true'
7692 # FIXME: Should let the user specify the lib program.
7693 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7694 fix_srcfile_path='`cygpath -w "$srcfile"`'
7695 enable_shared_with_static_runtimes=yes
7698 darwin* | rhapsody*)
7699 case $host_os in
7700 rhapsody* | darwin1.[012])
7701 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7703 *) # Darwin 1.3 on
7704 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7705 10.[012])
7706 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7708 10.*)
7709 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7711 esac
7713 esac
7714 archive_cmds_need_lc=no
7715 hardcode_direct=no
7716 hardcode_automatic=yes
7717 hardcode_shlibpath_var=unsupported
7718 whole_archive_flag_spec=''
7719 link_all_deplibs=yes
7720 if test "$GCC" = yes ; then
7721 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 else
7724 lt_cv_apple_cc_single_mod=no
7725 if test -z "${LT_MULTI_MODULE}"; then
7726 # By default we will add the -single_module flag. You can override
7727 # by either setting the environment variable LT_MULTI_MODULE
7728 # non-empty at configure time, or by adding -multi-module to the
7729 # link flags.
7730 echo "int foo(void){return 1;}" > conftest.c
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib ${wl}-single_module conftest.c
7733 if test -f libconftest.dylib; then
7734 lt_cv_apple_cc_single_mod=yes
7735 rm libconftest.dylib
7737 rm conftest.$ac_ext
7741 output_verbose_link_cmd=echo
7742 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7743 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7744 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7745 else
7746 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7747 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7749 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7750 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7751 else
7752 case $cc_basename in
7753 xlc*)
7754 output_verbose_link_cmd=echo
7755 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7756 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7757 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7758 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7759 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7762 ld_shlibs=no
7764 esac
7768 dgux*)
7769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7770 hardcode_libdir_flag_spec='-L$libdir'
7771 hardcode_shlibpath_var=no
7774 freebsd1*)
7775 ld_shlibs=no
7778 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7779 # support. Future versions do this automatically, but an explicit c++rt0.o
7780 # does not break anything, and helps significantly (at the cost of a little
7781 # extra space).
7782 freebsd2.2*)
7783 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7784 hardcode_libdir_flag_spec='-R$libdir'
7785 hardcode_direct=yes
7786 hardcode_shlibpath_var=no
7789 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7790 freebsd2*)
7791 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7792 hardcode_direct=yes
7793 hardcode_minus_L=yes
7794 hardcode_shlibpath_var=no
7797 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7798 freebsd* | dragonfly*)
7799 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7800 hardcode_libdir_flag_spec='-R$libdir'
7801 hardcode_direct=yes
7802 hardcode_shlibpath_var=no
7805 hpux9*)
7806 if test "$GCC" = yes; then
7807 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'
7808 else
7809 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'
7811 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7812 hardcode_libdir_separator=:
7813 hardcode_direct=yes
7815 # hardcode_minus_L: Not really in the search PATH,
7816 # but as the default location of the library.
7817 hardcode_minus_L=yes
7818 export_dynamic_flag_spec='${wl}-E'
7821 hpux10*)
7822 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7823 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7824 else
7825 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7827 if test "$with_gnu_ld" = no; then
7828 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7829 hardcode_libdir_flag_spec_ld='+b $libdir'
7830 hardcode_libdir_separator=:
7831 hardcode_direct=yes
7832 hardcode_direct_absolute=yes
7833 export_dynamic_flag_spec='${wl}-E'
7834 # hardcode_minus_L: Not really in the search PATH,
7835 # but as the default location of the library.
7836 hardcode_minus_L=yes
7840 hpux11*)
7841 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7842 case $host_cpu in
7843 hppa*64*)
7844 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7846 ia64*)
7847 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7850 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7852 esac
7853 else
7854 case $host_cpu in
7855 hppa*64*)
7856 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7858 ia64*)
7859 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7862 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7864 esac
7866 if test "$with_gnu_ld" = no; then
7867 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7868 hardcode_libdir_separator=:
7870 case $host_cpu in
7871 hppa*64*|ia64*)
7872 hardcode_direct=no
7873 hardcode_shlibpath_var=no
7876 hardcode_direct=yes
7877 hardcode_direct_absolute=yes
7878 export_dynamic_flag_spec='${wl}-E'
7880 # hardcode_minus_L: Not really in the search PATH,
7881 # but as the default location of the library.
7882 hardcode_minus_L=yes
7884 esac
7888 irix5* | irix6* | nonstopux*)
7889 if test "$GCC" = yes; then
7890 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'
7891 # Try to use the -exported_symbol ld option, if it does not
7892 # work, assume that -exports_file does not work either and
7893 # implicitly export all symbols.
7894 save_LDFLAGS="$LDFLAGS"
7895 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7896 if test x$gcc_no_link = xyes; then
7897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7899 { (exit 1); exit 1; }; }
7901 cat >conftest.$ac_ext <<_ACEOF
7902 int foo(void) {}
7903 _ACEOF
7904 rm -f conftest.$ac_objext conftest$ac_exeext
7905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7906 (eval $ac_link) 2>conftest.er1
7907 ac_status=$?
7908 grep -v '^ *+' conftest.er1 >conftest.err
7909 rm -f conftest.er1
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } &&
7913 { ac_try='test -z "$ac_c_werror_flag"
7914 || test ! -s conftest.err'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7916 (eval $ac_try) 2>&5
7917 ac_status=$?
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; } &&
7920 { ac_try='test -s conftest$ac_exeext'
7921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 (eval $ac_try) 2>&5
7923 ac_status=$?
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 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'
7928 else
7929 echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.$ac_ext >&5
7933 rm -f conftest.err conftest.$ac_objext \
7934 conftest$ac_exeext conftest.$ac_ext
7935 LDFLAGS="$save_LDFLAGS"
7936 else
7937 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'
7938 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'
7940 archive_cmds_need_lc='no'
7941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7942 hardcode_libdir_separator=:
7943 inherit_rpath=yes
7944 link_all_deplibs=yes
7947 netbsd*)
7948 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7950 else
7951 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7953 hardcode_libdir_flag_spec='-R$libdir'
7954 hardcode_direct=yes
7955 hardcode_shlibpath_var=no
7958 newsos6)
7959 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7960 hardcode_direct=yes
7961 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7962 hardcode_libdir_separator=:
7963 hardcode_shlibpath_var=no
7966 *nto* | *qnx*)
7969 openbsd*)
7970 hardcode_direct=yes
7971 hardcode_shlibpath_var=no
7972 hardcode_direct_absolute=yes
7973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7974 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7975 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7976 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7977 export_dynamic_flag_spec='${wl}-E'
7978 else
7979 case $host_os in
7980 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7981 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7982 hardcode_libdir_flag_spec='-R$libdir'
7985 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7986 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7988 esac
7992 os2*)
7993 hardcode_libdir_flag_spec='-L$libdir'
7994 hardcode_minus_L=yes
7995 allow_undefined_flag=unsupported
7996 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'
7997 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8000 osf3*)
8001 if test "$GCC" = yes; then
8002 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8003 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'
8004 else
8005 allow_undefined_flag=' -expect_unresolved \*'
8006 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'
8008 archive_cmds_need_lc='no'
8009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8010 hardcode_libdir_separator=:
8013 osf4* | osf5*) # as osf3* with the addition of -msym flag
8014 if test "$GCC" = yes; then
8015 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8016 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'
8017 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8018 else
8019 allow_undefined_flag=' -expect_unresolved \*'
8020 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'
8021 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~
8022 $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'
8024 # Both c and cxx compiler support -rpath directly
8025 hardcode_libdir_flag_spec='-rpath $libdir'
8027 archive_cmds_need_lc='no'
8028 hardcode_libdir_separator=:
8031 solaris*)
8032 no_undefined_flag=' -z defs'
8033 if test "$GCC" = yes; then
8034 wlarc='${wl}'
8035 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8036 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8037 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8038 else
8039 case `$CC -V 2>&1` in
8040 *"Compilers 5.0"*)
8041 wlarc=''
8042 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8043 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8044 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8047 wlarc='${wl}'
8048 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8049 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8050 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8052 esac
8054 hardcode_libdir_flag_spec='-R$libdir'
8055 hardcode_shlibpath_var=no
8056 case $host_os in
8057 solaris2.[0-5] | solaris2.[0-5].*) ;;
8059 # The compiler driver will combine and reorder linker options,
8060 # but understands `-z linker_flag'. GCC discards it without `$wl',
8061 # but is careful enough not to reorder.
8062 # Supported since Solaris 2.6 (maybe 2.5.1?)
8063 if test "$GCC" = yes; then
8064 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8065 else
8066 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8069 esac
8070 link_all_deplibs=yes
8073 sunos4*)
8074 if test "x$host_vendor" = xsequent; then
8075 # Use $CC to link under sequent, because it throws in some extra .o
8076 # files that make .init and .fini sections work.
8077 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8078 else
8079 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8081 hardcode_libdir_flag_spec='-L$libdir'
8082 hardcode_direct=yes
8083 hardcode_minus_L=yes
8084 hardcode_shlibpath_var=no
8087 sysv4)
8088 case $host_vendor in
8089 sni)
8090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8091 hardcode_direct=yes # is this really true???
8093 siemens)
8094 ## LD is ld it makes a PLAMLIB
8095 ## CC just makes a GrossModule.
8096 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8097 reload_cmds='$CC -r -o $output$reload_objs'
8098 hardcode_direct=no
8100 motorola)
8101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8102 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8104 esac
8105 runpath_var='LD_RUN_PATH'
8106 hardcode_shlibpath_var=no
8109 sysv4.3*)
8110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8111 hardcode_shlibpath_var=no
8112 export_dynamic_flag_spec='-Bexport'
8115 sysv4*MP*)
8116 if test -d /usr/nec; then
8117 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8118 hardcode_shlibpath_var=no
8119 runpath_var=LD_RUN_PATH
8120 hardcode_runpath_var=yes
8121 ld_shlibs=yes
8125 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8126 no_undefined_flag='${wl}-z,text'
8127 archive_cmds_need_lc=no
8128 hardcode_shlibpath_var=no
8129 runpath_var='LD_RUN_PATH'
8131 if test "$GCC" = yes; then
8132 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8133 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8134 else
8135 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8136 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8140 sysv5* | sco3.2v5* | sco5v6*)
8141 # Note: We can NOT use -z defs as we might desire, because we do not
8142 # link with -lc, and that would cause any symbols used from libc to
8143 # always be unresolved, which means just about no library would
8144 # ever link correctly. If we're not using GNU ld we use -z text
8145 # though, which does catch some bad symbols but isn't as heavy-handed
8146 # as -z defs.
8147 no_undefined_flag='${wl}-z,text'
8148 allow_undefined_flag='${wl}-z,nodefs'
8149 archive_cmds_need_lc=no
8150 hardcode_shlibpath_var=no
8151 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8152 hardcode_libdir_separator=':'
8153 link_all_deplibs=yes
8154 export_dynamic_flag_spec='${wl}-Bexport'
8155 runpath_var='LD_RUN_PATH'
8157 if test "$GCC" = yes; then
8158 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8159 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8160 else
8161 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8162 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8166 uts4*)
8167 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8168 hardcode_libdir_flag_spec='-L$libdir'
8169 hardcode_shlibpath_var=no
8173 ld_shlibs=no
8175 esac
8177 if test x$host_vendor = xsni; then
8178 case $host in
8179 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8180 export_dynamic_flag_spec='${wl}-Blargedynsym'
8182 esac
8186 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8187 echo "${ECHO_T}$ld_shlibs" >&6
8188 test "$ld_shlibs" = no && can_build_shared=no
8190 with_gnu_ld=$with_gnu_ld
8207 # Do we need to explicitly link libc?
8209 case "x$archive_cmds_need_lc" in
8210 x|xyes)
8211 # Assume -lc should be added
8212 archive_cmds_need_lc=yes
8214 if test "$enable_shared" = yes && test "$GCC" = yes; then
8215 case $archive_cmds in
8216 *'~'*)
8217 # FIXME: we may have to deal with multi-command sequences.
8219 '$CC '*)
8220 # Test whether the compiler implicitly links with -lc since on some
8221 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8222 # to ld, don't add -lc before -lgcc.
8223 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8224 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8225 $RM conftest*
8226 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8229 (eval $ac_compile) 2>&5
8230 ac_status=$?
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } 2>conftest.err; then
8233 soname=conftest
8234 lib=conftest
8235 libobjs=conftest.$ac_objext
8236 deplibs=
8237 wl=$lt_prog_compiler_wl
8238 pic_flag=$lt_prog_compiler_pic
8239 compiler_flags=-v
8240 linker_flags=-v
8241 verstring=
8242 output_objdir=.
8243 libname=conftest
8244 lt_save_allow_undefined_flag=$allow_undefined_flag
8245 allow_undefined_flag=
8246 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8247 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8248 ac_status=$?
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }
8251 then
8252 archive_cmds_need_lc=no
8253 else
8254 archive_cmds_need_lc=yes
8256 allow_undefined_flag=$lt_save_allow_undefined_flag
8257 else
8258 cat conftest.err 1>&5
8260 $RM conftest*
8261 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8262 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8264 esac
8267 esac
8425 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8426 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8427 withGCC=$GCC
8428 if test "$withGCC" = yes; then
8429 case $host_os in
8430 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8431 *) lt_awk_arg="/^libraries:/" ;;
8432 esac
8433 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8434 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8435 # if the path contains ";" then we assume it to be the separator
8436 # otherwise default to the standard path separator (i.e. ":") - it is
8437 # assumed that no part of a normal pathname contains ";" but that should
8438 # okay in the real world where ";" in dirpaths is itself problematic.
8439 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8440 else
8441 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8443 # Ok, now we have the path, separated by spaces, we can step through it
8444 # and add multilib dir if necessary.
8445 lt_tmp_lt_search_path_spec=
8446 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8447 for lt_sys_path in $lt_search_path_spec; do
8448 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8449 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8450 else
8451 test -d "$lt_sys_path" && \
8452 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8454 done
8455 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8456 BEGIN {RS=" "; FS="/|\n";} {
8457 lt_foo="";
8458 lt_count=0;
8459 for (lt_i = NF; lt_i > 0; lt_i--) {
8460 if ($lt_i != "" && $lt_i != ".") {
8461 if ($lt_i == "..") {
8462 lt_count++;
8463 } else {
8464 if (lt_count == 0) {
8465 lt_foo="/" $lt_i lt_foo;
8466 } else {
8467 lt_count--;
8472 if (lt_foo != "") { lt_freq[lt_foo]++; }
8473 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8475 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8476 else
8477 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8479 library_names_spec=
8480 libname_spec='lib$name'
8481 soname_spec=
8482 shrext_cmds=".so"
8483 postinstall_cmds=
8484 postuninstall_cmds=
8485 finish_cmds=
8486 finish_eval=
8487 shlibpath_var=
8488 shlibpath_overrides_runpath=unknown
8489 version_type=none
8490 dynamic_linker="$host_os ld.so"
8491 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8492 need_lib_prefix=unknown
8493 hardcode_into_libs=no
8495 # when you set need_version to no, make sure it does not cause -set_version
8496 # flags to be left without arguments
8497 need_version=unknown
8499 case $host_os in
8500 aix3*)
8501 version_type=linux
8502 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8503 shlibpath_var=LIBPATH
8505 # AIX 3 has no versioning support, so we append a major version to the name.
8506 soname_spec='${libname}${release}${shared_ext}$major'
8509 aix[4-9]*)
8510 version_type=linux
8511 need_lib_prefix=no
8512 need_version=no
8513 hardcode_into_libs=yes
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 supports IA64
8516 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8517 shlibpath_var=LD_LIBRARY_PATH
8518 else
8519 # With GCC up to 2.95.x, collect2 would create an import file
8520 # for dependence libraries. The import file would start with
8521 # the line `#! .'. This would cause the generated library to
8522 # depend on `.', always an invalid library. This was fixed in
8523 # development snapshots of GCC prior to 3.0.
8524 case $host_os in
8525 aix4 | aix4.[01] | aix4.[01].*)
8526 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8527 echo ' yes '
8528 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8530 else
8531 can_build_shared=no
8534 esac
8535 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8536 # soname into executable. Probably we can add versioning support to
8537 # collect2, so additional links can be useful in future.
8538 if test "$aix_use_runtimelinking" = yes; then
8539 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8540 # instead of lib<name>.a to let people know that these are not
8541 # typical AIX shared libraries.
8542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8543 else
8544 # We preserve .a as extension for shared libraries through AIX4.2
8545 # and later when we are not doing run time linking.
8546 library_names_spec='${libname}${release}.a $libname.a'
8547 soname_spec='${libname}${release}${shared_ext}$major'
8549 shlibpath_var=LIBPATH
8553 amigaos*)
8554 if test "$host_cpu" = m68k; then
8555 library_names_spec='$libname.ixlibrary $libname.a'
8556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8557 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'
8558 else
8559 dynamic_linker=no
8563 beos*)
8564 library_names_spec='${libname}${shared_ext}'
8565 dynamic_linker="$host_os ld.so"
8566 shlibpath_var=LIBRARY_PATH
8569 bsdi[45]*)
8570 version_type=linux
8571 need_version=no
8572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8573 soname_spec='${libname}${release}${shared_ext}$major'
8574 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8575 shlibpath_var=LD_LIBRARY_PATH
8576 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8577 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8578 # the default ld.so.conf also contains /usr/contrib/lib and
8579 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8580 # libtool to hard-code these into programs
8583 cygwin* | mingw* | pw32*)
8584 version_type=windows
8585 shrext_cmds=".dll"
8586 need_version=no
8587 need_lib_prefix=no
8589 case $withGCC,$host_os in
8590 yes,cygwin* | yes,mingw* | yes,pw32*)
8591 library_names_spec='$libname.dll.a'
8592 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8593 postinstall_cmds='base_file=`basename \${file}`~
8594 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8595 dldir=$destdir/`dirname \$dlpath`~
8596 test -d \$dldir || mkdir -p \$dldir~
8597 $install_prog $dir/$dlname \$dldir/$dlname~
8598 chmod a+x \$dldir/$dlname~
8599 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8600 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8602 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8603 dlpath=$dir/\$dldll~
8604 $RM \$dlpath'
8605 shlibpath_overrides_runpath=yes
8607 case $host_os in
8608 cygwin*)
8609 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8610 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8611 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8613 mingw*)
8614 # MinGW DLLs use traditional 'lib' prefix
8615 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8616 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8617 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8618 # It is most probably a Windows format PATH printed by
8619 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8620 # path with ; separators, and with drive letters. We can handle the
8621 # drive letters (cygwin fileutils understands them), so leave them,
8622 # especially as we might pass files found there to a mingw objdump,
8623 # which wouldn't understand a cygwinified path. Ahh.
8624 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8625 else
8626 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8629 pw32*)
8630 # pw32 DLLs use 'pw' prefix rather than 'lib'
8631 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8633 esac
8637 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8639 esac
8640 dynamic_linker='Win32 ld.exe'
8641 # FIXME: first we should search . and the directory the executable is in
8642 shlibpath_var=PATH
8645 darwin* | rhapsody*)
8646 dynamic_linker="$host_os dyld"
8647 version_type=darwin
8648 need_lib_prefix=no
8649 need_version=no
8650 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8651 soname_spec='${libname}${release}${major}$shared_ext'
8652 shlibpath_overrides_runpath=yes
8653 shlibpath_var=DYLD_LIBRARY_PATH
8654 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8656 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8657 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8660 dgux*)
8661 version_type=linux
8662 need_lib_prefix=no
8663 need_version=no
8664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8665 soname_spec='${libname}${release}${shared_ext}$major'
8666 shlibpath_var=LD_LIBRARY_PATH
8669 freebsd1*)
8670 dynamic_linker=no
8673 freebsd* | dragonfly*)
8674 # DragonFly does not have aout. When/if they implement a new
8675 # versioning mechanism, adjust this.
8676 if test -x /usr/bin/objformat; then
8677 objformat=`/usr/bin/objformat`
8678 else
8679 case $host_os in
8680 freebsd[123]*) objformat=aout ;;
8681 *) objformat=elf ;;
8682 esac
8684 version_type=freebsd-$objformat
8685 case $version_type in
8686 freebsd-elf*)
8687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8688 need_version=no
8689 need_lib_prefix=no
8691 freebsd-*)
8692 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8693 need_version=yes
8695 esac
8696 shlibpath_var=LD_LIBRARY_PATH
8697 case $host_os in
8698 freebsd2*)
8699 shlibpath_overrides_runpath=yes
8701 freebsd3.[01]* | freebsdelf3.[01]*)
8702 shlibpath_overrides_runpath=yes
8703 hardcode_into_libs=yes
8705 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8706 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8707 shlibpath_overrides_runpath=no
8708 hardcode_into_libs=yes
8710 *) # from 4.6 on, and DragonFly
8711 shlibpath_overrides_runpath=yes
8712 hardcode_into_libs=yes
8714 esac
8717 gnu*)
8718 version_type=linux
8719 need_lib_prefix=no
8720 need_version=no
8721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8722 soname_spec='${libname}${release}${shared_ext}$major'
8723 shlibpath_var=LD_LIBRARY_PATH
8724 hardcode_into_libs=yes
8727 hpux9* | hpux10* | hpux11*)
8728 # Give a soname corresponding to the major version so that dld.sl refuses to
8729 # link against other versions.
8730 version_type=sunos
8731 need_lib_prefix=no
8732 need_version=no
8733 case $host_cpu in
8734 ia64*)
8735 shrext_cmds='.so'
8736 hardcode_into_libs=yes
8737 dynamic_linker="$host_os dld.so"
8738 shlibpath_var=LD_LIBRARY_PATH
8739 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8741 soname_spec='${libname}${release}${shared_ext}$major'
8742 if test "X$HPUX_IA64_MODE" = X32; then
8743 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8744 else
8745 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8747 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8749 hppa*64*)
8750 shrext_cmds='.sl'
8751 hardcode_into_libs=yes
8752 dynamic_linker="$host_os dld.sl"
8753 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8754 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8756 soname_spec='${libname}${release}${shared_ext}$major'
8757 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8758 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8761 shrext_cmds='.sl'
8762 dynamic_linker="$host_os dld.sl"
8763 shlibpath_var=SHLIB_PATH
8764 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8766 soname_spec='${libname}${release}${shared_ext}$major'
8768 esac
8769 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8770 postinstall_cmds='chmod 555 $lib'
8773 interix[3-9]*)
8774 version_type=linux
8775 need_lib_prefix=no
8776 need_version=no
8777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8778 soname_spec='${libname}${release}${shared_ext}$major'
8779 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8780 shlibpath_var=LD_LIBRARY_PATH
8781 shlibpath_overrides_runpath=no
8782 hardcode_into_libs=yes
8785 irix5* | irix6* | nonstopux*)
8786 case $host_os in
8787 nonstopux*) version_type=nonstopux ;;
8789 if test "$lt_cv_prog_gnu_ld" = yes; then
8790 version_type=linux
8791 else
8792 version_type=irix
8793 fi ;;
8794 esac
8795 need_lib_prefix=no
8796 need_version=no
8797 soname_spec='${libname}${release}${shared_ext}$major'
8798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8799 case $host_os in
8800 irix5* | nonstopux*)
8801 libsuff= shlibsuff=
8804 case $LD in # libtool.m4 will add one of these switches to LD
8805 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8806 libsuff= shlibsuff= libmagic=32-bit;;
8807 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8808 libsuff=32 shlibsuff=N32 libmagic=N32;;
8809 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8810 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8811 *) libsuff= shlibsuff= libmagic=never-match;;
8812 esac
8814 esac
8815 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8816 shlibpath_overrides_runpath=no
8817 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8818 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8819 hardcode_into_libs=yes
8822 # No shared lib support for Linux oldld, aout, or coff.
8823 linux*oldld* | linux*aout* | linux*coff*)
8824 dynamic_linker=no
8827 # This must be Linux ELF.
8828 linux* | k*bsd*-gnu)
8829 version_type=linux
8830 need_lib_prefix=no
8831 need_version=no
8832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8833 soname_spec='${libname}${release}${shared_ext}$major'
8834 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8835 shlibpath_var=LD_LIBRARY_PATH
8836 shlibpath_overrides_runpath=no
8837 # Some binutils ld are patched to set DT_RUNPATH
8838 save_LDFLAGS=$LDFLAGS
8839 save_libdir=$libdir
8840 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8841 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8842 if test x$gcc_no_link = xyes; then
8843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8845 { (exit 1); exit 1; }; }
8847 cat >conftest.$ac_ext <<_ACEOF
8848 /* confdefs.h. */
8849 _ACEOF
8850 cat confdefs.h >>conftest.$ac_ext
8851 cat >>conftest.$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8855 main ()
8859 return 0;
8861 _ACEOF
8862 rm -f conftest.$ac_objext conftest$ac_exeext
8863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8864 (eval $ac_link) 2>conftest.er1
8865 ac_status=$?
8866 grep -v '^ *+' conftest.er1 >conftest.err
8867 rm -f conftest.er1
8868 cat conftest.err >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } &&
8871 { ac_try='test -z "$ac_c_werror_flag"
8872 || test ! -s conftest.err'
8873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8874 (eval $ac_try) 2>&5
8875 ac_status=$?
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); }; } &&
8878 { ac_try='test -s conftest$ac_exeext'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8880 (eval $ac_try) 2>&5
8881 ac_status=$?
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; }; then
8884 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8885 shlibpath_overrides_runpath=yes
8888 else
8889 echo "$as_me: failed program was:" >&5
8890 sed 's/^/| /' conftest.$ac_ext >&5
8893 rm -f conftest.err conftest.$ac_objext \
8894 conftest$ac_exeext conftest.$ac_ext
8895 LDFLAGS=$save_LDFLAGS
8896 libdir=$save_libdir
8898 # This implies no fast_install, which is unacceptable.
8899 # Some rework will be needed to allow for fast_install
8900 # before this can be enabled.
8901 hardcode_into_libs=yes
8903 # Append ld.so.conf contents to the search path
8904 if test -f /etc/ld.so.conf; then
8905 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8906 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8909 # We used to test for /lib/ld.so.1 and disable shared libraries on
8910 # powerpc, because MkLinux only supported shared libraries with the
8911 # GNU dynamic linker. Since this was broken with cross compilers,
8912 # most powerpc-linux boxes support dynamic linking these days and
8913 # people can always --disable-shared, the test was removed, and we
8914 # assume the GNU/Linux dynamic linker is in use.
8915 dynamic_linker='GNU/Linux ld.so'
8918 netbsd*)
8919 version_type=sunos
8920 need_lib_prefix=no
8921 need_version=no
8922 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8924 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8925 dynamic_linker='NetBSD (a.out) ld.so'
8926 else
8927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8928 soname_spec='${libname}${release}${shared_ext}$major'
8929 dynamic_linker='NetBSD ld.elf_so'
8931 shlibpath_var=LD_LIBRARY_PATH
8932 shlibpath_overrides_runpath=yes
8933 hardcode_into_libs=yes
8936 newsos6)
8937 version_type=linux
8938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939 shlibpath_var=LD_LIBRARY_PATH
8940 shlibpath_overrides_runpath=yes
8943 *nto* | *qnx*)
8944 version_type=qnx
8945 need_lib_prefix=no
8946 need_version=no
8947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8948 soname_spec='${libname}${release}${shared_ext}$major'
8949 shlibpath_var=LD_LIBRARY_PATH
8950 shlibpath_overrides_runpath=no
8951 hardcode_into_libs=yes
8952 dynamic_linker='ldqnx.so'
8955 openbsd*)
8956 version_type=sunos
8957 sys_lib_dlsearch_path_spec="/usr/lib"
8958 need_lib_prefix=no
8959 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8960 case $host_os in
8961 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8962 *) need_version=no ;;
8963 esac
8964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8966 shlibpath_var=LD_LIBRARY_PATH
8967 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8968 case $host_os in
8969 openbsd2.[89] | openbsd2.[89].*)
8970 shlibpath_overrides_runpath=no
8973 shlibpath_overrides_runpath=yes
8975 esac
8976 else
8977 shlibpath_overrides_runpath=yes
8981 os2*)
8982 libname_spec='$name'
8983 shrext_cmds=".dll"
8984 need_lib_prefix=no
8985 library_names_spec='$libname${shared_ext} $libname.a'
8986 dynamic_linker='OS/2 ld.exe'
8987 shlibpath_var=LIBPATH
8990 osf3* | osf4* | osf5*)
8991 version_type=osf
8992 need_lib_prefix=no
8993 need_version=no
8994 soname_spec='${libname}${release}${shared_ext}$major'
8995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8996 shlibpath_var=LD_LIBRARY_PATH
8997 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8998 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9001 rdos*)
9002 dynamic_linker=no
9005 solaris*)
9006 version_type=linux
9007 need_lib_prefix=no
9008 need_version=no
9009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9010 soname_spec='${libname}${release}${shared_ext}$major'
9011 shlibpath_var=LD_LIBRARY_PATH
9012 shlibpath_overrides_runpath=yes
9013 hardcode_into_libs=yes
9014 # ldd complains unless libraries are executable
9015 postinstall_cmds='chmod +x $lib'
9018 sunos4*)
9019 version_type=sunos
9020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9021 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9022 shlibpath_var=LD_LIBRARY_PATH
9023 shlibpath_overrides_runpath=yes
9024 if test "$with_gnu_ld" = yes; then
9025 need_lib_prefix=no
9027 need_version=yes
9030 sysv4 | sysv4.3*)
9031 version_type=linux
9032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9033 soname_spec='${libname}${release}${shared_ext}$major'
9034 shlibpath_var=LD_LIBRARY_PATH
9035 case $host_vendor in
9036 sni)
9037 shlibpath_overrides_runpath=no
9038 need_lib_prefix=no
9039 runpath_var=LD_RUN_PATH
9041 siemens)
9042 need_lib_prefix=no
9044 motorola)
9045 need_lib_prefix=no
9046 need_version=no
9047 shlibpath_overrides_runpath=no
9048 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9050 esac
9053 sysv4*MP*)
9054 if test -d /usr/nec ;then
9055 version_type=linux
9056 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9057 soname_spec='$libname${shared_ext}.$major'
9058 shlibpath_var=LD_LIBRARY_PATH
9062 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9063 version_type=freebsd-elf
9064 need_lib_prefix=no
9065 need_version=no
9066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9067 soname_spec='${libname}${release}${shared_ext}$major'
9068 shlibpath_var=LD_LIBRARY_PATH
9069 shlibpath_overrides_runpath=yes
9070 hardcode_into_libs=yes
9071 if test "$with_gnu_ld" = yes; then
9072 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9073 else
9074 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9075 case $host_os in
9076 sco3.2v5*)
9077 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9079 esac
9081 sys_lib_dlsearch_path_spec='/usr/lib'
9084 tpf*)
9085 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9086 version_type=linux
9087 need_lib_prefix=no
9088 need_version=no
9089 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9090 shlibpath_var=LD_LIBRARY_PATH
9091 shlibpath_overrides_runpath=no
9092 hardcode_into_libs=yes
9095 uts4*)
9096 version_type=linux
9097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9098 soname_spec='${libname}${release}${shared_ext}$major'
9099 shlibpath_var=LD_LIBRARY_PATH
9103 dynamic_linker=no
9105 esac
9106 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9107 echo "${ECHO_T}$dynamic_linker" >&6
9108 test "$dynamic_linker" = no && can_build_shared=no
9110 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9111 if test "$GCC" = yes; then
9112 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9201 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9202 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9203 hardcode_action=
9204 if test -n "$hardcode_libdir_flag_spec" ||
9205 test -n "$runpath_var" ||
9206 test "X$hardcode_automatic" = "Xyes" ; then
9208 # We can hardcode non-existent directories.
9209 if test "$hardcode_direct" != no &&
9210 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9211 # have to relink, otherwise we might link with an installed library
9212 # when we should be linking with a yet-to-be-installed one
9213 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9214 test "$hardcode_minus_L" != no; then
9215 # Linking always hardcodes the temporary library directory.
9216 hardcode_action=relink
9217 else
9218 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9219 hardcode_action=immediate
9221 else
9222 # We cannot hardcode anything, or else we can only hardcode existing
9223 # directories.
9224 hardcode_action=unsupported
9226 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9227 echo "${ECHO_T}$hardcode_action" >&6
9229 if test "$hardcode_action" = relink ||
9230 test "$inherit_rpath" = yes; then
9231 # Fast installation is not supported
9232 enable_fast_install=no
9233 elif test "$shlibpath_overrides_runpath" = yes ||
9234 test "$enable_shared" = no; then
9235 # Fast installation is not necessary
9236 enable_fast_install=needless
9244 if test "x$enable_dlopen" != xyes; then
9245 enable_dlopen=unknown
9246 enable_dlopen_self=unknown
9247 enable_dlopen_self_static=unknown
9248 else
9249 lt_cv_dlopen=no
9250 lt_cv_dlopen_libs=
9252 case $host_os in
9253 beos*)
9254 lt_cv_dlopen="load_add_on"
9255 lt_cv_dlopen_libs=
9256 lt_cv_dlopen_self=yes
9259 mingw* | pw32*)
9260 lt_cv_dlopen="LoadLibrary"
9261 lt_cv_dlopen_libs=
9264 cygwin*)
9265 lt_cv_dlopen="dlopen"
9266 lt_cv_dlopen_libs=
9269 darwin*)
9270 # if libdl is installed we need to link against it
9271 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9272 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9273 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 else
9276 ac_check_lib_save_LIBS=$LIBS
9277 LIBS="-ldl $LIBS"
9278 if test x$gcc_no_link = xyes; then
9279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9281 { (exit 1); exit 1; }; }
9283 cat >conftest.$ac_ext <<_ACEOF
9284 /* confdefs.h. */
9285 _ACEOF
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9290 /* Override any gcc2 internal prototype to avoid an error. */
9291 #ifdef __cplusplus
9292 extern "C"
9293 #endif
9294 /* We use char because int might match the return type of a gcc2
9295 builtin and then its argument prototype would still apply. */
9296 char dlopen ();
9298 main ()
9300 dlopen ();
9302 return 0;
9304 _ACEOF
9305 rm -f conftest.$ac_objext conftest$ac_exeext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9307 (eval $ac_link) 2>conftest.er1
9308 ac_status=$?
9309 grep -v '^ *+' conftest.er1 >conftest.err
9310 rm -f conftest.er1
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try='test -z "$ac_c_werror_flag"
9315 || test ! -s conftest.err'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 (eval $ac_try) 2>&5
9318 ac_status=$?
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; } &&
9321 { ac_try='test -s conftest$ac_exeext'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 (eval $ac_try) 2>&5
9324 ac_status=$?
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then
9327 ac_cv_lib_dl_dlopen=yes
9328 else
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9332 ac_cv_lib_dl_dlopen=no
9334 rm -f conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 LIBS=$ac_check_lib_save_LIBS
9338 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9339 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9340 if test $ac_cv_lib_dl_dlopen = yes; then
9341 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9342 else
9344 lt_cv_dlopen="dyld"
9345 lt_cv_dlopen_libs=
9346 lt_cv_dlopen_self=yes
9353 echo "$as_me:$LINENO: checking for shl_load" >&5
9354 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9355 if test "${ac_cv_func_shl_load+set}" = set; then
9356 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 else
9358 if test x$gcc_no_link = xyes; then
9359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9361 { (exit 1); exit 1; }; }
9363 cat >conftest.$ac_ext <<_ACEOF
9364 /* confdefs.h. */
9365 _ACEOF
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h. */
9369 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9371 #define shl_load innocuous_shl_load
9373 /* System header to define __stub macros and hopefully few prototypes,
9374 which can conflict with char shl_load (); below.
9375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9376 <limits.h> exists even on freestanding compilers. */
9378 #ifdef __STDC__
9379 # include <limits.h>
9380 #else
9381 # include <assert.h>
9382 #endif
9384 #undef shl_load
9386 /* Override any gcc2 internal prototype to avoid an error. */
9387 #ifdef __cplusplus
9388 extern "C"
9390 #endif
9391 /* We use char because int might match the return type of a gcc2
9392 builtin and then its argument prototype would still apply. */
9393 char shl_load ();
9394 /* The GNU C library defines this for functions which it implements
9395 to always fail with ENOSYS. Some functions are actually named
9396 something starting with __ and the normal name is an alias. */
9397 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9398 choke me
9399 #else
9400 char (*f) () = shl_load;
9401 #endif
9402 #ifdef __cplusplus
9404 #endif
9407 main ()
9409 return f != shl_load;
9411 return 0;
9413 _ACEOF
9414 rm -f conftest.$ac_objext conftest$ac_exeext
9415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9416 (eval $ac_link) 2>conftest.er1
9417 ac_status=$?
9418 grep -v '^ *+' conftest.er1 >conftest.err
9419 rm -f conftest.er1
9420 cat conftest.err >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); } &&
9423 { ac_try='test -z "$ac_c_werror_flag"
9424 || test ! -s conftest.err'
9425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426 (eval $ac_try) 2>&5
9427 ac_status=$?
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); }; } &&
9430 { ac_try='test -s conftest$ac_exeext'
9431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432 (eval $ac_try) 2>&5
9433 ac_status=$?
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); }; }; then
9436 ac_cv_func_shl_load=yes
9437 else
9438 echo "$as_me: failed program was:" >&5
9439 sed 's/^/| /' conftest.$ac_ext >&5
9441 ac_cv_func_shl_load=no
9443 rm -f conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9446 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9447 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9448 if test $ac_cv_func_shl_load = yes; then
9449 lt_cv_dlopen="shl_load"
9450 else
9451 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9452 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9453 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 else
9456 ac_check_lib_save_LIBS=$LIBS
9457 LIBS="-ldld $LIBS"
9458 if test x$gcc_no_link = xyes; then
9459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9461 { (exit 1); exit 1; }; }
9463 cat >conftest.$ac_ext <<_ACEOF
9464 /* confdefs.h. */
9465 _ACEOF
9466 cat confdefs.h >>conftest.$ac_ext
9467 cat >>conftest.$ac_ext <<_ACEOF
9468 /* end confdefs.h. */
9470 /* Override any gcc2 internal prototype to avoid an error. */
9471 #ifdef __cplusplus
9472 extern "C"
9473 #endif
9474 /* We use char because int might match the return type of a gcc2
9475 builtin and then its argument prototype would still apply. */
9476 char shl_load ();
9478 main ()
9480 shl_load ();
9482 return 0;
9484 _ACEOF
9485 rm -f conftest.$ac_objext conftest$ac_exeext
9486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9487 (eval $ac_link) 2>conftest.er1
9488 ac_status=$?
9489 grep -v '^ *+' conftest.er1 >conftest.err
9490 rm -f conftest.er1
9491 cat conftest.err >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); } &&
9494 { ac_try='test -z "$ac_c_werror_flag"
9495 || test ! -s conftest.err'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 (eval $ac_try) 2>&5
9498 ac_status=$?
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; } &&
9501 { ac_try='test -s conftest$ac_exeext'
9502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 (eval $ac_try) 2>&5
9504 ac_status=$?
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); }; }; then
9507 ac_cv_lib_dld_shl_load=yes
9508 else
9509 echo "$as_me: failed program was:" >&5
9510 sed 's/^/| /' conftest.$ac_ext >&5
9512 ac_cv_lib_dld_shl_load=no
9514 rm -f conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9519 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9520 if test $ac_cv_lib_dld_shl_load = yes; then
9521 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9522 else
9523 echo "$as_me:$LINENO: checking for dlopen" >&5
9524 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9525 if test "${ac_cv_func_dlopen+set}" = set; then
9526 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 else
9528 if test x$gcc_no_link = xyes; then
9529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9531 { (exit 1); exit 1; }; }
9533 cat >conftest.$ac_ext <<_ACEOF
9534 /* confdefs.h. */
9535 _ACEOF
9536 cat confdefs.h >>conftest.$ac_ext
9537 cat >>conftest.$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9539 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9541 #define dlopen innocuous_dlopen
9543 /* System header to define __stub macros and hopefully few prototypes,
9544 which can conflict with char dlopen (); below.
9545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9546 <limits.h> exists even on freestanding compilers. */
9548 #ifdef __STDC__
9549 # include <limits.h>
9550 #else
9551 # include <assert.h>
9552 #endif
9554 #undef dlopen
9556 /* Override any gcc2 internal prototype to avoid an error. */
9557 #ifdef __cplusplus
9558 extern "C"
9560 #endif
9561 /* We use char because int might match the return type of a gcc2
9562 builtin and then its argument prototype would still apply. */
9563 char dlopen ();
9564 /* The GNU C library defines this for functions which it implements
9565 to always fail with ENOSYS. Some functions are actually named
9566 something starting with __ and the normal name is an alias. */
9567 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9568 choke me
9569 #else
9570 char (*f) () = dlopen;
9571 #endif
9572 #ifdef __cplusplus
9574 #endif
9577 main ()
9579 return f != dlopen;
9581 return 0;
9583 _ACEOF
9584 rm -f conftest.$ac_objext conftest$ac_exeext
9585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9586 (eval $ac_link) 2>conftest.er1
9587 ac_status=$?
9588 grep -v '^ *+' conftest.er1 >conftest.err
9589 rm -f conftest.er1
9590 cat conftest.err >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } &&
9593 { ac_try='test -z "$ac_c_werror_flag"
9594 || test ! -s conftest.err'
9595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9596 (eval $ac_try) 2>&5
9597 ac_status=$?
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; } &&
9600 { ac_try='test -s conftest$ac_exeext'
9601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 (eval $ac_try) 2>&5
9603 ac_status=$?
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; }; then
9606 ac_cv_func_dlopen=yes
9607 else
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.$ac_ext >&5
9611 ac_cv_func_dlopen=no
9613 rm -f conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9616 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9617 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9618 if test $ac_cv_func_dlopen = yes; then
9619 lt_cv_dlopen="dlopen"
9620 else
9621 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9622 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9623 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9624 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 else
9626 ac_check_lib_save_LIBS=$LIBS
9627 LIBS="-ldl $LIBS"
9628 if test x$gcc_no_link = xyes; then
9629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9631 { (exit 1); exit 1; }; }
9633 cat >conftest.$ac_ext <<_ACEOF
9634 /* confdefs.h. */
9635 _ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9640 /* Override any gcc2 internal prototype to avoid an error. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */
9646 char dlopen ();
9648 main ()
9650 dlopen ();
9652 return 0;
9654 _ACEOF
9655 rm -f conftest.$ac_objext conftest$ac_exeext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9657 (eval $ac_link) 2>conftest.er1
9658 ac_status=$?
9659 grep -v '^ *+' conftest.er1 >conftest.err
9660 rm -f conftest.er1
9661 cat conftest.err >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try='test -z "$ac_c_werror_flag"
9665 || test ! -s conftest.err'
9666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667 (eval $ac_try) 2>&5
9668 ac_status=$?
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; } &&
9671 { ac_try='test -s conftest$ac_exeext'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673 (eval $ac_try) 2>&5
9674 ac_status=$?
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then
9677 ac_cv_lib_dl_dlopen=yes
9678 else
9679 echo "$as_me: failed program was:" >&5
9680 sed 's/^/| /' conftest.$ac_ext >&5
9682 ac_cv_lib_dl_dlopen=no
9684 rm -f conftest.err conftest.$ac_objext \
9685 conftest$ac_exeext conftest.$ac_ext
9686 LIBS=$ac_check_lib_save_LIBS
9688 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9689 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9690 if test $ac_cv_lib_dl_dlopen = yes; then
9691 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9692 else
9693 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9694 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9695 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9697 else
9698 ac_check_lib_save_LIBS=$LIBS
9699 LIBS="-lsvld $LIBS"
9700 if test x$gcc_no_link = xyes; then
9701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9703 { (exit 1); exit 1; }; }
9705 cat >conftest.$ac_ext <<_ACEOF
9706 /* confdefs.h. */
9707 _ACEOF
9708 cat confdefs.h >>conftest.$ac_ext
9709 cat >>conftest.$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9712 /* Override any gcc2 internal prototype to avoid an error. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 /* We use char because int might match the return type of a gcc2
9717 builtin and then its argument prototype would still apply. */
9718 char dlopen ();
9720 main ()
9722 dlopen ();
9724 return 0;
9726 _ACEOF
9727 rm -f conftest.$ac_objext conftest$ac_exeext
9728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9729 (eval $ac_link) 2>conftest.er1
9730 ac_status=$?
9731 grep -v '^ *+' conftest.er1 >conftest.err
9732 rm -f conftest.er1
9733 cat conftest.err >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } &&
9736 { ac_try='test -z "$ac_c_werror_flag"
9737 || test ! -s conftest.err'
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9739 (eval $ac_try) 2>&5
9740 ac_status=$?
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; } &&
9743 { ac_try='test -s conftest$ac_exeext'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 (eval $ac_try) 2>&5
9746 ac_status=$?
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; }; then
9749 ac_cv_lib_svld_dlopen=yes
9750 else
9751 echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.$ac_ext >&5
9754 ac_cv_lib_svld_dlopen=no
9756 rm -f conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 LIBS=$ac_check_lib_save_LIBS
9760 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9761 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9762 if test $ac_cv_lib_svld_dlopen = yes; then
9763 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9764 else
9765 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9766 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9767 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9768 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 else
9770 ac_check_lib_save_LIBS=$LIBS
9771 LIBS="-ldld $LIBS"
9772 if test x$gcc_no_link = xyes; then
9773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9775 { (exit 1); exit 1; }; }
9777 cat >conftest.$ac_ext <<_ACEOF
9778 /* confdefs.h. */
9779 _ACEOF
9780 cat confdefs.h >>conftest.$ac_ext
9781 cat >>conftest.$ac_ext <<_ACEOF
9782 /* end confdefs.h. */
9784 /* Override any gcc2 internal prototype to avoid an error. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 /* We use char because int might match the return type of a gcc2
9789 builtin and then its argument prototype would still apply. */
9790 char dld_link ();
9792 main ()
9794 dld_link ();
9796 return 0;
9798 _ACEOF
9799 rm -f conftest.$ac_objext conftest$ac_exeext
9800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9801 (eval $ac_link) 2>conftest.er1
9802 ac_status=$?
9803 grep -v '^ *+' conftest.er1 >conftest.err
9804 rm -f conftest.er1
9805 cat conftest.err >&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); } &&
9808 { ac_try='test -z "$ac_c_werror_flag"
9809 || test ! -s conftest.err'
9810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9811 (eval $ac_try) 2>&5
9812 ac_status=$?
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); }; } &&
9815 { ac_try='test -s conftest$ac_exeext'
9816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 (eval $ac_try) 2>&5
9818 ac_status=$?
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); }; }; then
9821 ac_cv_lib_dld_dld_link=yes
9822 else
9823 echo "$as_me: failed program was:" >&5
9824 sed 's/^/| /' conftest.$ac_ext >&5
9826 ac_cv_lib_dld_dld_link=no
9828 rm -f conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_lib_save_LIBS
9832 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9833 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9834 if test $ac_cv_lib_dld_dld_link = yes; then
9835 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9854 esac
9856 if test "x$lt_cv_dlopen" != xno; then
9857 enable_dlopen=yes
9858 else
9859 enable_dlopen=no
9862 case $lt_cv_dlopen in
9863 dlopen)
9864 save_CPPFLAGS="$CPPFLAGS"
9865 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9867 save_LDFLAGS="$LDFLAGS"
9868 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9870 save_LIBS="$LIBS"
9871 LIBS="$lt_cv_dlopen_libs $LIBS"
9873 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9874 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9875 if test "${lt_cv_dlopen_self+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 else
9878 if test "$cross_compiling" = yes; then :
9879 lt_cv_dlopen_self=cross
9880 else
9881 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9882 lt_status=$lt_dlunknown
9883 cat > conftest.$ac_ext <<_LT_EOF
9884 #line 9884 "configure"
9885 #include "confdefs.h"
9887 #if HAVE_DLFCN_H
9888 #include <dlfcn.h>
9889 #endif
9891 #include <stdio.h>
9893 #ifdef RTLD_GLOBAL
9894 # define LT_DLGLOBAL RTLD_GLOBAL
9895 #else
9896 # ifdef DL_GLOBAL
9897 # define LT_DLGLOBAL DL_GLOBAL
9898 # else
9899 # define LT_DLGLOBAL 0
9900 # endif
9901 #endif
9903 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9904 find out it does not work in some platform. */
9905 #ifndef LT_DLLAZY_OR_NOW
9906 # ifdef RTLD_LAZY
9907 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9908 # else
9909 # ifdef DL_LAZY
9910 # define LT_DLLAZY_OR_NOW DL_LAZY
9911 # else
9912 # ifdef RTLD_NOW
9913 # define LT_DLLAZY_OR_NOW RTLD_NOW
9914 # else
9915 # ifdef DL_NOW
9916 # define LT_DLLAZY_OR_NOW DL_NOW
9917 # else
9918 # define LT_DLLAZY_OR_NOW 0
9919 # endif
9920 # endif
9921 # endif
9922 # endif
9923 #endif
9925 #ifdef __cplusplus
9926 extern "C" void exit (int);
9927 #endif
9929 void fnord() { int i=42;}
9930 int main ()
9932 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9933 int status = $lt_dlunknown;
9935 if (self)
9937 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9938 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9939 /* dlclose (self); */
9941 else
9942 puts (dlerror ());
9944 exit (status);
9946 _LT_EOF
9947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9948 (eval $ac_link) 2>&5
9949 ac_status=$?
9950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9952 (./conftest; exit; ) >&5 2>/dev/null
9953 lt_status=$?
9954 case x$lt_status in
9955 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9956 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9957 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9958 esac
9959 else :
9960 # compilation failed
9961 lt_cv_dlopen_self=no
9964 rm -fr conftest*
9968 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9969 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9971 if test "x$lt_cv_dlopen_self" = xyes; then
9972 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9973 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9974 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9975 if test "${lt_cv_dlopen_self_static+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9977 else
9978 if test "$cross_compiling" = yes; then :
9979 lt_cv_dlopen_self_static=cross
9980 else
9981 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9982 lt_status=$lt_dlunknown
9983 cat > conftest.$ac_ext <<_LT_EOF
9984 #line 9984 "configure"
9985 #include "confdefs.h"
9987 #if HAVE_DLFCN_H
9988 #include <dlfcn.h>
9989 #endif
9991 #include <stdio.h>
9993 #ifdef RTLD_GLOBAL
9994 # define LT_DLGLOBAL RTLD_GLOBAL
9995 #else
9996 # ifdef DL_GLOBAL
9997 # define LT_DLGLOBAL DL_GLOBAL
9998 # else
9999 # define LT_DLGLOBAL 0
10000 # endif
10001 #endif
10003 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10004 find out it does not work in some platform. */
10005 #ifndef LT_DLLAZY_OR_NOW
10006 # ifdef RTLD_LAZY
10007 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10008 # else
10009 # ifdef DL_LAZY
10010 # define LT_DLLAZY_OR_NOW DL_LAZY
10011 # else
10012 # ifdef RTLD_NOW
10013 # define LT_DLLAZY_OR_NOW RTLD_NOW
10014 # else
10015 # ifdef DL_NOW
10016 # define LT_DLLAZY_OR_NOW DL_NOW
10017 # else
10018 # define LT_DLLAZY_OR_NOW 0
10019 # endif
10020 # endif
10021 # endif
10022 # endif
10023 #endif
10025 #ifdef __cplusplus
10026 extern "C" void exit (int);
10027 #endif
10029 void fnord() { int i=42;}
10030 int main ()
10032 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10033 int status = $lt_dlunknown;
10035 if (self)
10037 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10038 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10039 /* dlclose (self); */
10041 else
10042 puts (dlerror ());
10044 exit (status);
10046 _LT_EOF
10047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10048 (eval $ac_link) 2>&5
10049 ac_status=$?
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10052 (./conftest; exit; ) >&5 2>/dev/null
10053 lt_status=$?
10054 case x$lt_status in
10055 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10056 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10057 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10058 esac
10059 else :
10060 # compilation failed
10061 lt_cv_dlopen_self_static=no
10064 rm -fr conftest*
10068 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10069 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10072 CPPFLAGS="$save_CPPFLAGS"
10073 LDFLAGS="$save_LDFLAGS"
10074 LIBS="$save_LIBS"
10076 esac
10078 case $lt_cv_dlopen_self in
10079 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10080 *) enable_dlopen_self=unknown ;;
10081 esac
10083 case $lt_cv_dlopen_self_static in
10084 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10085 *) enable_dlopen_self_static=unknown ;;
10086 esac
10105 striplib=
10106 old_striplib=
10107 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10108 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10109 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10110 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10111 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 # FIXME - insert some real tests, host_os isn't really good enough
10116 case $host_os in
10117 darwin*)
10118 if test -n "$STRIP" ; then
10119 striplib="$STRIP -x"
10120 old_striplib="$STRIP -S"
10121 echo "$as_me:$LINENO: result: yes" >&5
10122 echo "${ECHO_T}yes" >&6
10123 else
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10132 esac
10146 # Report which library types will actually be built
10147 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10148 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10149 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10150 echo "${ECHO_T}$can_build_shared" >&6
10152 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10153 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10154 test "$can_build_shared" = "no" && enable_shared=no
10156 # On AIX, shared libraries and static libraries use the same namespace, and
10157 # are all built from PIC.
10158 case $host_os in
10159 aix3*)
10160 test "$enable_shared" = yes && enable_static=no
10161 if test -n "$RANLIB"; then
10162 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10163 postinstall_cmds='$RANLIB $lib'
10167 aix[4-9]*)
10168 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10169 test "$enable_shared" = yes && enable_static=no
10172 esac
10173 echo "$as_me:$LINENO: result: $enable_shared" >&5
10174 echo "${ECHO_T}$enable_shared" >&6
10176 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10177 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10178 # Make sure either enable_shared or enable_static is yes.
10179 test "$enable_shared" = yes || enable_static=yes
10180 echo "$as_me:$LINENO: result: $enable_static" >&5
10181 echo "${ECHO_T}$enable_static" >&6
10187 ac_ext=c
10188 ac_cpp='$CPP $CPPFLAGS'
10189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10193 CC="$lt_save_CC"
10207 ac_config_commands="$ac_config_commands libtool"
10212 # Only expand once:
10217 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10219 # We need gfortran to compile parts of the library
10220 #AC_PROG_FC(gfortran)
10221 FC="$GFORTRAN"
10222 ac_ext=${FC_SRCEXT-f}
10223 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10224 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10225 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10226 if test -n "$ac_tool_prefix"; then
10227 for ac_prog in gfortran
10229 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10230 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10231 echo "$as_me:$LINENO: checking for $ac_word" >&5
10232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10233 if test "${ac_cv_prog_FC+set}" = set; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 else
10236 if test -n "$FC"; then
10237 ac_cv_prog_FC="$FC" # Let the user override the test.
10238 else
10239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10240 for as_dir in $PATH
10242 IFS=$as_save_IFS
10243 test -z "$as_dir" && as_dir=.
10244 for ac_exec_ext in '' $ac_executable_extensions; do
10245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10246 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10248 break 2
10250 done
10251 done
10255 FC=$ac_cv_prog_FC
10256 if test -n "$FC"; then
10257 echo "$as_me:$LINENO: result: $FC" >&5
10258 echo "${ECHO_T}$FC" >&6
10259 else
10260 echo "$as_me:$LINENO: result: no" >&5
10261 echo "${ECHO_T}no" >&6
10264 test -n "$FC" && break
10265 done
10267 if test -z "$FC"; then
10268 ac_ct_FC=$FC
10269 for ac_prog in gfortran
10271 # Extract the first word of "$ac_prog", so it can be a program name with args.
10272 set dummy $ac_prog; ac_word=$2
10273 echo "$as_me:$LINENO: checking for $ac_word" >&5
10274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10275 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 else
10278 if test -n "$ac_ct_FC"; then
10279 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10280 else
10281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10282 for as_dir in $PATH
10284 IFS=$as_save_IFS
10285 test -z "$as_dir" && as_dir=.
10286 for ac_exec_ext in '' $ac_executable_extensions; do
10287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10288 ac_cv_prog_ac_ct_FC="$ac_prog"
10289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 break 2
10292 done
10293 done
10297 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10298 if test -n "$ac_ct_FC"; then
10299 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10300 echo "${ECHO_T}$ac_ct_FC" >&6
10301 else
10302 echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6
10306 test -n "$ac_ct_FC" && break
10307 done
10309 FC=$ac_ct_FC
10313 # Provide some information about the compiler.
10314 echo "$as_me:10314:" \
10315 "checking for Fortran compiler version" >&5
10316 ac_compiler=`set X $ac_compile; echo $2`
10317 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10318 (eval $ac_compiler --version </dev/null >&5) 2>&5
10319 ac_status=$?
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }
10322 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10323 (eval $ac_compiler -v </dev/null >&5) 2>&5
10324 ac_status=$?
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }
10327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10328 (eval $ac_compiler -V </dev/null >&5) 2>&5
10329 ac_status=$?
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }
10332 rm -f a.out
10334 # If we don't use `.F' as extension, the preprocessor is not run on the
10335 # input file. (Note that this only needs to work for GNU compilers.)
10336 ac_save_ext=$ac_ext
10337 ac_ext=F
10338 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10339 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10340 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10342 else
10343 cat >conftest.$ac_ext <<_ACEOF
10344 program main
10345 #ifndef __GNUC__
10346 choke me
10347 #endif
10350 _ACEOF
10351 rm -f conftest.$ac_objext
10352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10353 (eval $ac_compile) 2>conftest.er1
10354 ac_status=$?
10355 grep -v '^ *+' conftest.er1 >conftest.err
10356 rm -f conftest.er1
10357 cat conftest.err >&5
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); } &&
10360 { ac_try='test -z "$ac_fc_werror_flag"
10361 || test ! -s conftest.err'
10362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363 (eval $ac_try) 2>&5
10364 ac_status=$?
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }; } &&
10367 { ac_try='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10370 ac_status=$?
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_compiler_gnu=yes
10374 else
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.$ac_ext >&5
10378 ac_compiler_gnu=no
10380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10381 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10384 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10385 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10386 ac_ext=$ac_save_ext
10387 ac_test_FFLAGS=${FCFLAGS+set}
10388 ac_save_FFLAGS=$FCFLAGS
10389 FCFLAGS=
10390 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10391 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10392 if test "${ac_cv_prog_fc_g+set}" = set; then
10393 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 else
10395 FCFLAGS=-g
10396 cat >conftest.$ac_ext <<_ACEOF
10397 program main
10400 _ACEOF
10401 rm -f conftest.$ac_objext
10402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10403 (eval $ac_compile) 2>conftest.er1
10404 ac_status=$?
10405 grep -v '^ *+' conftest.er1 >conftest.err
10406 rm -f conftest.er1
10407 cat conftest.err >&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } &&
10410 { ac_try='test -z "$ac_fc_werror_flag"
10411 || test ! -s conftest.err'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10414 ac_status=$?
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; } &&
10417 { ac_try='test -s conftest.$ac_objext'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; }; then
10423 ac_cv_prog_fc_g=yes
10424 else
10425 echo "$as_me: failed program was:" >&5
10426 sed 's/^/| /' conftest.$ac_ext >&5
10428 ac_cv_prog_fc_g=no
10430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10433 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10434 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10435 if test "$ac_test_FFLAGS" = set; then
10436 FCFLAGS=$ac_save_FFLAGS
10437 elif test $ac_cv_prog_fc_g = yes; then
10438 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10439 FCFLAGS="-g -O2"
10440 else
10441 FCFLAGS="-g"
10443 else
10444 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10445 FCFLAGS="-O2"
10446 else
10447 FCFLAGS=
10451 ac_ext=c
10452 ac_cpp='$CPP $CPPFLAGS'
10453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10458 ac_ext=${FC_SRCEXT-f}
10459 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10460 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10461 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10462 if test -n "$ac_tool_prefix"; then
10463 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10467 echo "$as_me:$LINENO: checking for $ac_word" >&5
10468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10469 if test "${ac_cv_prog_FC+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10471 else
10472 if test -n "$FC"; then
10473 ac_cv_prog_FC="$FC" # Let the user override the test.
10474 else
10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10476 for as_dir in $PATH
10478 IFS=$as_save_IFS
10479 test -z "$as_dir" && as_dir=.
10480 for ac_exec_ext in '' $ac_executable_extensions; do
10481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10482 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10484 break 2
10486 done
10487 done
10491 FC=$ac_cv_prog_FC
10492 if test -n "$FC"; then
10493 echo "$as_me:$LINENO: result: $FC" >&5
10494 echo "${ECHO_T}$FC" >&6
10495 else
10496 echo "$as_me:$LINENO: result: no" >&5
10497 echo "${ECHO_T}no" >&6
10500 test -n "$FC" && break
10501 done
10503 if test -z "$FC"; then
10504 ac_ct_FC=$FC
10505 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10507 # Extract the first word of "$ac_prog", so it can be a program name with args.
10508 set dummy $ac_prog; ac_word=$2
10509 echo "$as_me:$LINENO: checking for $ac_word" >&5
10510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10511 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 else
10514 if test -n "$ac_ct_FC"; then
10515 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10516 else
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10520 IFS=$as_save_IFS
10521 test -z "$as_dir" && as_dir=.
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10524 ac_cv_prog_ac_ct_FC="$ac_prog"
10525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10526 break 2
10528 done
10529 done
10533 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10534 if test -n "$ac_ct_FC"; then
10535 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10536 echo "${ECHO_T}$ac_ct_FC" >&6
10537 else
10538 echo "$as_me:$LINENO: result: no" >&5
10539 echo "${ECHO_T}no" >&6
10542 test -n "$ac_ct_FC" && break
10543 done
10545 FC=$ac_ct_FC
10549 # Provide some information about the compiler.
10550 echo "$as_me:10550:" \
10551 "checking for Fortran compiler version" >&5
10552 ac_compiler=`set X $ac_compile; echo $2`
10553 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10554 (eval $ac_compiler --version </dev/null >&5) 2>&5
10555 ac_status=$?
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); }
10558 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10559 (eval $ac_compiler -v </dev/null >&5) 2>&5
10560 ac_status=$?
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }
10563 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10564 (eval $ac_compiler -V </dev/null >&5) 2>&5
10565 ac_status=$?
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); }
10568 rm -f a.out
10570 # If we don't use `.F' as extension, the preprocessor is not run on the
10571 # input file. (Note that this only needs to work for GNU compilers.)
10572 ac_save_ext=$ac_ext
10573 ac_ext=F
10574 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10575 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10576 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 else
10579 cat >conftest.$ac_ext <<_ACEOF
10580 program main
10581 #ifndef __GNUC__
10582 choke me
10583 #endif
10586 _ACEOF
10587 rm -f conftest.$ac_objext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10589 (eval $ac_compile) 2>conftest.er1
10590 ac_status=$?
10591 grep -v '^ *+' conftest.er1 >conftest.err
10592 rm -f conftest.er1
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 { ac_try='test -z "$ac_fc_werror_flag"
10597 || test ! -s conftest.err'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; } &&
10603 { ac_try='test -s conftest.$ac_objext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10606 ac_status=$?
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 ac_compiler_gnu=yes
10610 else
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10614 ac_compiler_gnu=no
10616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10617 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10620 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10621 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10622 ac_ext=$ac_save_ext
10623 ac_test_FFLAGS=${FCFLAGS+set}
10624 ac_save_FFLAGS=$FCFLAGS
10625 FCFLAGS=
10626 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10627 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10628 if test "${ac_cv_prog_fc_g+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631 FCFLAGS=-g
10632 cat >conftest.$ac_ext <<_ACEOF
10633 program main
10636 _ACEOF
10637 rm -f conftest.$ac_objext
10638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10639 (eval $ac_compile) 2>conftest.er1
10640 ac_status=$?
10641 grep -v '^ *+' conftest.er1 >conftest.err
10642 rm -f conftest.er1
10643 cat conftest.err >&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } &&
10646 { ac_try='test -z "$ac_fc_werror_flag"
10647 || test ! -s conftest.err'
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10650 ac_status=$?
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; } &&
10653 { ac_try='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10656 ac_status=$?
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 ac_cv_prog_fc_g=yes
10660 else
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.$ac_ext >&5
10664 ac_cv_prog_fc_g=no
10666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10669 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10670 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10671 if test "$ac_test_FFLAGS" = set; then
10672 FCFLAGS=$ac_save_FFLAGS
10673 elif test $ac_cv_prog_fc_g = yes; then
10674 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10675 FCFLAGS="-g -O2"
10676 else
10677 FCFLAGS="-g"
10679 else
10680 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10681 FCFLAGS="-O2"
10682 else
10683 FCFLAGS=
10687 ac_ext=c
10688 ac_cpp='$CPP $CPPFLAGS'
10689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10693 if test -z "$FC" || test "X$FC" = "Xno"; then
10694 _lt_disable_FC=yes
10699 ac_ext=${FC_SRCEXT-f}
10700 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10701 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10702 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10705 archive_cmds_need_lc_FC=no
10706 allow_undefined_flag_FC=
10707 always_export_symbols_FC=no
10708 archive_expsym_cmds_FC=
10709 export_dynamic_flag_spec_FC=
10710 hardcode_direct_FC=no
10711 hardcode_direct_absolute_FC=no
10712 hardcode_libdir_flag_spec_FC=
10713 hardcode_libdir_flag_spec_ld_FC=
10714 hardcode_libdir_separator_FC=
10715 hardcode_minus_L_FC=no
10716 hardcode_automatic_FC=no
10717 inherit_rpath_FC=no
10718 module_cmds_FC=
10719 module_expsym_cmds_FC=
10720 link_all_deplibs_FC=unknown
10721 old_archive_cmds_FC=$old_archive_cmds
10722 no_undefined_flag_FC=
10723 whole_archive_flag_spec_FC=
10724 enable_shared_with_static_runtimes_FC=no
10726 # Source file extension for fc test sources.
10727 ac_ext=${ac_fc_srcext-f}
10729 # Object file extension for compiled fc test sources.
10730 objext=o
10731 objext_FC=$objext
10733 # No sense in running all these tests if we already determined that
10734 # the FC compiler isn't working. Some variables (like enable_shared)
10735 # are currently assumed to apply to all compilers on this platform,
10736 # and will be corrupted by setting them based on a non-working compiler.
10737 if test "$_lt_disable_FC" != yes; then
10738 # Code to be used in simple compile tests
10739 lt_simple_compile_test_code="\
10740 subroutine t
10741 return
10745 # Code to be used in simple link tests
10746 lt_simple_link_test_code="\
10747 program t
10751 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10758 # If no C compiler was specified, use CC.
10759 LTCC=${LTCC-"$CC"}
10761 # If no C compiler flags were specified, use CFLAGS.
10762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10764 # Allow CC to be a program name with arguments.
10765 compiler=$CC
10768 # save warnings/boilerplate of simple test code
10769 ac_outfile=conftest.$ac_objext
10770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10772 _lt_compiler_boilerplate=`cat conftest.err`
10773 $RM conftest*
10775 ac_outfile=conftest.$ac_objext
10776 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10778 _lt_linker_boilerplate=`cat conftest.err`
10779 $RM conftest*
10782 # Allow CC to be a program name with arguments.
10783 lt_save_CC="$CC"
10784 CC=${FC-"f95"}
10785 compiler=$CC
10786 compiler_FC=$CC
10787 for cc_temp in $compiler""; do
10788 case $cc_temp in
10789 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10790 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10791 \-*) ;;
10792 *) break;;
10793 esac
10794 done
10795 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10798 if test -n "$compiler"; then
10799 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10800 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10801 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10802 echo "${ECHO_T}$can_build_shared" >&6
10804 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10805 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10806 test "$can_build_shared" = "no" && enable_shared=no
10808 # On AIX, shared libraries and static libraries use the same namespace, and
10809 # are all built from PIC.
10810 case $host_os in
10811 aix3*)
10812 test "$enable_shared" = yes && enable_static=no
10813 if test -n "$RANLIB"; then
10814 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10815 postinstall_cmds='$RANLIB $lib'
10818 aix[4-9]*)
10819 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10820 test "$enable_shared" = yes && enable_static=no
10823 esac
10824 echo "$as_me:$LINENO: result: $enable_shared" >&5
10825 echo "${ECHO_T}$enable_shared" >&6
10827 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10828 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10829 # Make sure either enable_shared or enable_static is yes.
10830 test "$enable_shared" = yes || enable_static=yes
10831 echo "$as_me:$LINENO: result: $enable_static" >&5
10832 echo "${ECHO_T}$enable_static" >&6
10834 GCC_FC="$ac_cv_fc_compiler_gnu"
10835 LD_FC="$LD"
10837 ## CAVEAT EMPTOR:
10838 ## There is no encapsulation within the following macros, do not change
10839 ## the running order or otherwise move them around unless you know exactly
10840 ## what you are doing...
10841 # Dependencies to place before and after the object being linked:
10842 predep_objects_FC=
10843 postdep_objects_FC=
10844 predeps_FC=
10845 postdeps_FC=
10846 compiler_lib_search_path_FC=
10848 cat > conftest.$ac_ext <<_LT_EOF
10849 subroutine foo
10850 implicit none
10851 integer a
10853 return
10855 _LT_EOF
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>&5
10859 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; then
10862 # Parse the compiler output and extract the necessary
10863 # objects, libraries and library flags.
10865 # Sentinel used to keep track of whether or not we are before
10866 # the conftest object file.
10867 pre_test_object_deps_done=no
10869 # The `*' in the case matches for architectures that use `case' in
10870 # $output_verbose_cmd can trigger glob expansion during the loop
10871 # eval without this substitution.
10872 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10874 for p in `eval $output_verbose_link_cmd`; do
10875 case $p in
10877 -L* | -R* | -l*)
10878 # Some compilers place space between "-{L,R}" and the path.
10879 # Remove the space.
10880 if test $p = "-L" ||
10881 test $p = "-R"; then
10882 prev=$p
10883 continue
10884 else
10885 prev=
10888 if test "$pre_test_object_deps_done" = no; then
10889 case $p in
10890 -L* | -R*)
10891 # Internal compiler library paths should come after those
10892 # provided the user. The postdeps already come after the
10893 # user supplied libs so there is no need to process them.
10894 if test -z "$compiler_lib_search_path_FC"; then
10895 compiler_lib_search_path_FC="${prev}${p}"
10896 else
10897 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10900 # The "-l" case would never come before the object being
10901 # linked, so don't bother handling this case.
10902 esac
10903 else
10904 if test -z "$postdeps_FC"; then
10905 postdeps_FC="${prev}${p}"
10906 else
10907 postdeps_FC="${postdeps_FC} ${prev}${p}"
10912 *.$objext)
10913 # This assumes that the test object file only shows up
10914 # once in the compiler output.
10915 if test "$p" = "conftest.$objext"; then
10916 pre_test_object_deps_done=yes
10917 continue
10920 if test "$pre_test_object_deps_done" = no; then
10921 if test -z "$predep_objects_FC"; then
10922 predep_objects_FC="$p"
10923 else
10924 predep_objects_FC="$predep_objects_FC $p"
10926 else
10927 if test -z "$postdep_objects_FC"; then
10928 postdep_objects_FC="$p"
10929 else
10930 postdep_objects_FC="$postdep_objects_FC $p"
10935 *) ;; # Ignore the rest.
10937 esac
10938 done
10940 # Clean up.
10941 rm -f a.out a.exe
10942 else
10943 echo "libtool.m4: error: problem compiling FC test program"
10946 $RM -f confest.$objext
10948 # PORTME: override above test on systems where it is broken
10951 case " $postdeps_FC " in
10952 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10953 esac
10980 lt_prog_compiler_wl_FC=
10981 lt_prog_compiler_pic_FC=
10982 lt_prog_compiler_static_FC=
10984 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10985 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10987 if test "$GCC" = yes; then
10988 lt_prog_compiler_wl_FC='-Wl,'
10989 lt_prog_compiler_static_FC='-static'
10991 case $host_os in
10992 aix*)
10993 # All AIX code is PIC.
10994 if test "$host_cpu" = ia64; then
10995 # AIX 5 now supports IA64 processor
10996 lt_prog_compiler_static_FC='-Bstatic'
11000 amigaos*)
11001 if test "$host_cpu" = m68k; then
11002 # FIXME: we need at least 68020 code to build shared libraries, but
11003 # adding the `-m68020' flag to GCC prevents building anything better,
11004 # like `-m68040'.
11005 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11009 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11010 # PIC is the default for these OSes.
11013 mingw* | cygwin* | pw32* | os2*)
11014 # This hack is so that the source file can tell whether it is being
11015 # built for inclusion in a dll (and should export symbols for example).
11016 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11017 # (--disable-auto-import) libraries
11018 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11021 darwin* | rhapsody*)
11022 # PIC is the default on this platform
11023 # Common symbols not allowed in MH_DYLIB files
11024 lt_prog_compiler_pic_FC='-fno-common'
11027 hpux*)
11028 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11029 # not for PA HP-UX.
11030 case $host_cpu in
11031 hppa*64*|ia64*)
11032 # +Z the default
11035 lt_prog_compiler_pic_FC='-fPIC'
11037 esac
11040 interix[3-9]*)
11041 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11042 # Instead, we relocate shared libraries at runtime.
11045 msdosdjgpp*)
11046 # Just because we use GCC doesn't mean we suddenly get shared libraries
11047 # on systems that don't support them.
11048 lt_prog_compiler_can_build_shared_FC=no
11049 enable_shared=no
11052 *nto* | *qnx*)
11053 # QNX uses GNU C++, but need to define -shared option too, otherwise
11054 # it will coredump.
11055 lt_prog_compiler_pic_FC='-fPIC -shared'
11058 sysv4*MP*)
11059 if test -d /usr/nec; then
11060 lt_prog_compiler_pic_FC=-Kconform_pic
11065 lt_prog_compiler_pic_FC='-fPIC'
11067 esac
11068 else
11069 # PORTME Check for flag to pass linker flags through the system compiler.
11070 case $host_os in
11071 aix*)
11072 lt_prog_compiler_wl_FC='-Wl,'
11073 if test "$host_cpu" = ia64; then
11074 # AIX 5 now supports IA64 processor
11075 lt_prog_compiler_static_FC='-Bstatic'
11076 else
11077 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11080 darwin*)
11081 # PIC is the default on this platform
11082 # Common symbols not allowed in MH_DYLIB files
11083 case $cc_basename in
11084 xlc*)
11085 lt_prog_compiler_pic_FC='-qnocommon'
11086 lt_prog_compiler_wl_FC='-Wl,'
11088 esac
11091 mingw* | cygwin* | pw32* | os2*)
11092 # This hack is so that the source file can tell whether it is being
11093 # built for inclusion in a dll (and should export symbols for example).
11094 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11097 hpux9* | hpux10* | hpux11*)
11098 lt_prog_compiler_wl_FC='-Wl,'
11099 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11100 # not for PA HP-UX.
11101 case $host_cpu in
11102 hppa*64*|ia64*)
11103 # +Z the default
11106 lt_prog_compiler_pic_FC='+Z'
11108 esac
11109 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11110 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11113 irix5* | irix6* | nonstopux*)
11114 lt_prog_compiler_wl_FC='-Wl,'
11115 # PIC (with -KPIC) is the default.
11116 lt_prog_compiler_static_FC='-non_shared'
11119 linux* | k*bsd*-gnu)
11120 case $cc_basename in
11121 icc* | ecc*)
11122 lt_prog_compiler_wl_FC='-Wl,'
11123 lt_prog_compiler_pic_FC='-KPIC'
11124 lt_prog_compiler_static_FC='-static'
11126 pgcc* | pgf77* | pgf90* | pgf95*)
11127 # Portland Group compilers (*not* the Pentium gcc compiler,
11128 # which looks to be a dead project)
11129 lt_prog_compiler_wl_FC='-Wl,'
11130 lt_prog_compiler_pic_FC='-fpic'
11131 lt_prog_compiler_static_FC='-Bstatic'
11133 ccc*)
11134 lt_prog_compiler_wl_FC='-Wl,'
11135 # All Alpha code is PIC.
11136 lt_prog_compiler_static_FC='-non_shared'
11139 case `$CC -V 2>&1 | sed 5q` in
11140 *Sun\ C*)
11141 # Sun C 5.9
11142 lt_prog_compiler_pic_FC='-KPIC'
11143 lt_prog_compiler_static_FC='-Bstatic'
11144 lt_prog_compiler_wl_FC='-Wl,'
11146 *Sun\ F*)
11147 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11148 lt_prog_compiler_pic_FC='-KPIC'
11149 lt_prog_compiler_static_FC='-Bstatic'
11150 lt_prog_compiler_wl_FC=''
11152 esac
11154 esac
11157 newsos6)
11158 lt_prog_compiler_pic_FC='-KPIC'
11159 lt_prog_compiler_static_FC='-Bstatic'
11162 *nto* | *qnx*)
11163 # QNX uses GNU C++, but need to define -shared option too, otherwise
11164 # it will coredump.
11165 lt_prog_compiler_pic_FC='-fPIC -shared'
11168 osf3* | osf4* | osf5*)
11169 lt_prog_compiler_wl_FC='-Wl,'
11170 # All OSF/1 code is PIC.
11171 lt_prog_compiler_static_FC='-non_shared'
11174 rdos*)
11175 lt_prog_compiler_static_FC='-non_shared'
11178 solaris*)
11179 lt_prog_compiler_pic_FC='-KPIC'
11180 lt_prog_compiler_static_FC='-Bstatic'
11181 case $cc_basename in
11182 f77* | f90* | f95*)
11183 lt_prog_compiler_wl_FC='-Qoption ld ';;
11185 lt_prog_compiler_wl_FC='-Wl,';;
11186 esac
11189 sunos4*)
11190 lt_prog_compiler_wl_FC='-Qoption ld '
11191 lt_prog_compiler_pic_FC='-PIC'
11192 lt_prog_compiler_static_FC='-Bstatic'
11195 sysv4 | sysv4.2uw2* | sysv4.3*)
11196 lt_prog_compiler_wl_FC='-Wl,'
11197 lt_prog_compiler_pic_FC='-KPIC'
11198 lt_prog_compiler_static_FC='-Bstatic'
11201 sysv4*MP*)
11202 if test -d /usr/nec ;then
11203 lt_prog_compiler_pic_FC='-Kconform_pic'
11204 lt_prog_compiler_static_FC='-Bstatic'
11208 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11209 lt_prog_compiler_wl_FC='-Wl,'
11210 lt_prog_compiler_pic_FC='-KPIC'
11211 lt_prog_compiler_static_FC='-Bstatic'
11214 unicos*)
11215 lt_prog_compiler_wl_FC='-Wl,'
11216 lt_prog_compiler_can_build_shared_FC=no
11219 uts4*)
11220 lt_prog_compiler_pic_FC='-pic'
11221 lt_prog_compiler_static_FC='-Bstatic'
11225 lt_prog_compiler_can_build_shared_FC=no
11227 esac
11230 case $host_os in
11231 # For platforms which do not support PIC, -DPIC is meaningless:
11232 *djgpp*)
11233 lt_prog_compiler_pic_FC=
11236 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11238 esac
11239 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11240 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11245 # Check to make sure the PIC flag actually works.
11247 if test -n "$lt_prog_compiler_pic_FC"; then
11248 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11249 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11250 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 else
11253 lt_prog_compiler_pic_works_FC=no
11254 ac_outfile=conftest.$ac_objext
11255 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11256 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11257 # Insert the option either (1) after the last *FLAGS variable, or
11258 # (2) before a word containing "conftest.", or (3) at the end.
11259 # Note that $ac_compile itself does not contain backslashes and begins
11260 # with a dollar sign (not a hyphen), so the echo should work correctly.
11261 # The option is referenced via a variable to avoid confusing sed.
11262 lt_compile=`echo "$ac_compile" | $SED \
11263 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11265 -e 's:$: $lt_compiler_flag:'`
11266 (eval echo "\"\$as_me:11266: $lt_compile\"" >&5)
11267 (eval "$lt_compile" 2>conftest.err)
11268 ac_status=$?
11269 cat conftest.err >&5
11270 echo "$as_me:11270: \$? = $ac_status" >&5
11271 if (exit $ac_status) && test -s "$ac_outfile"; then
11272 # The compiler can only warn and ignore the option if not recognized
11273 # So say no if there are warnings other than the usual output.
11274 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11276 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11277 lt_prog_compiler_pic_works_FC=yes
11280 $RM conftest*
11283 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11284 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11286 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11287 case $lt_prog_compiler_pic_FC in
11288 "" | " "*) ;;
11289 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11290 esac
11291 else
11292 lt_prog_compiler_pic_FC=
11293 lt_prog_compiler_can_build_shared_FC=no
11301 # Check to make sure the static flag actually works.
11303 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11304 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11305 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11306 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 else
11309 lt_prog_compiler_static_works_FC=no
11310 save_LDFLAGS="$LDFLAGS"
11311 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11312 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11313 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11314 # The linker can only warn and ignore the option if not recognized
11315 # So say no if there are warnings
11316 if test -s conftest.err; then
11317 # Append any errors to the config.log.
11318 cat conftest.err 1>&5
11319 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11320 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11321 if diff conftest.exp conftest.er2 >/dev/null; then
11322 lt_prog_compiler_static_works_FC=yes
11324 else
11325 lt_prog_compiler_static_works_FC=yes
11328 $RM conftest*
11329 LDFLAGS="$save_LDFLAGS"
11332 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11333 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11335 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11337 else
11338 lt_prog_compiler_static_FC=
11344 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11345 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11346 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 lt_cv_prog_compiler_c_o_FC=no
11350 $RM -r conftest 2>/dev/null
11351 mkdir conftest
11352 cd conftest
11353 mkdir out
11354 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11356 lt_compiler_flag="-o out/conftest2.$ac_objext"
11357 # Insert the option either (1) after the last *FLAGS variable, or
11358 # (2) before a word containing "conftest.", or (3) at the end.
11359 # Note that $ac_compile itself does not contain backslashes and begins
11360 # with a dollar sign (not a hyphen), so the echo should work correctly.
11361 lt_compile=`echo "$ac_compile" | $SED \
11362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11364 -e 's:$: $lt_compiler_flag:'`
11365 (eval echo "\"\$as_me:11365: $lt_compile\"" >&5)
11366 (eval "$lt_compile" 2>out/conftest.err)
11367 ac_status=$?
11368 cat out/conftest.err >&5
11369 echo "$as_me:11369: \$? = $ac_status" >&5
11370 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11371 then
11372 # The compiler can only warn and ignore the option if not recognized
11373 # So say no if there are warnings
11374 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11375 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11376 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11377 lt_cv_prog_compiler_c_o_FC=yes
11380 chmod u+w . 2>&5
11381 $RM conftest*
11382 # SGI C++ compiler will create directory out/ii_files/ for
11383 # template instantiation
11384 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11385 $RM out/* && rmdir out
11386 cd ..
11387 $RM -r conftest
11388 $RM conftest*
11391 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11392 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11396 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11397 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11398 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 else
11401 lt_cv_prog_compiler_c_o_FC=no
11402 $RM -r conftest 2>/dev/null
11403 mkdir conftest
11404 cd conftest
11405 mkdir out
11406 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11408 lt_compiler_flag="-o out/conftest2.$ac_objext"
11409 # Insert the option either (1) after the last *FLAGS variable, or
11410 # (2) before a word containing "conftest.", or (3) at the end.
11411 # Note that $ac_compile itself does not contain backslashes and begins
11412 # with a dollar sign (not a hyphen), so the echo should work correctly.
11413 lt_compile=`echo "$ac_compile" | $SED \
11414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11416 -e 's:$: $lt_compiler_flag:'`
11417 (eval echo "\"\$as_me:11417: $lt_compile\"" >&5)
11418 (eval "$lt_compile" 2>out/conftest.err)
11419 ac_status=$?
11420 cat out/conftest.err >&5
11421 echo "$as_me:11421: \$? = $ac_status" >&5
11422 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11423 then
11424 # The compiler can only warn and ignore the option if not recognized
11425 # So say no if there are warnings
11426 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11427 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11428 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11429 lt_cv_prog_compiler_c_o_FC=yes
11432 chmod u+w . 2>&5
11433 $RM conftest*
11434 # SGI C++ compiler will create directory out/ii_files/ for
11435 # template instantiation
11436 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11437 $RM out/* && rmdir out
11438 cd ..
11439 $RM -r conftest
11440 $RM conftest*
11443 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11444 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11449 hard_links="nottested"
11450 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11451 # do not overwrite the value of need_locks provided by the user
11452 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11453 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11454 hard_links=yes
11455 $RM conftest*
11456 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11457 touch conftest.a
11458 ln conftest.a conftest.b 2>&5 || hard_links=no
11459 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11460 echo "$as_me:$LINENO: result: $hard_links" >&5
11461 echo "${ECHO_T}$hard_links" >&6
11462 if test "$hard_links" = no; then
11463 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11464 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11465 need_locks=warn
11467 else
11468 need_locks=no
11473 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11474 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11476 runpath_var=
11477 allow_undefined_flag_FC=
11478 always_export_symbols_FC=no
11479 archive_cmds_FC=
11480 archive_expsym_cmds_FC=
11481 compiler_needs_object_FC=no
11482 enable_shared_with_static_runtimes_FC=no
11483 export_dynamic_flag_spec_FC=
11484 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11485 hardcode_automatic_FC=no
11486 hardcode_direct_FC=no
11487 hardcode_direct_absolute_FC=no
11488 hardcode_libdir_flag_spec_FC=
11489 hardcode_libdir_flag_spec_ld_FC=
11490 hardcode_libdir_separator_FC=
11491 hardcode_minus_L_FC=no
11492 hardcode_shlibpath_var_FC=unsupported
11493 inherit_rpath_FC=no
11494 link_all_deplibs_FC=unknown
11495 module_cmds_FC=
11496 module_expsym_cmds_FC=
11497 old_archive_from_new_cmds_FC=
11498 old_archive_from_expsyms_cmds_FC=
11499 thread_safe_flag_spec_FC=
11500 whole_archive_flag_spec_FC=
11501 # include_expsyms should be a list of space-separated symbols to be *always*
11502 # included in the symbol list
11503 include_expsyms_FC=
11504 # exclude_expsyms can be an extended regexp of symbols to exclude
11505 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11506 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11507 # as well as any symbol that contains `d'.
11508 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11509 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11510 # platforms (ab)use it in PIC code, but their linkers get confused if
11511 # the symbol is explicitly referenced. Since portable code cannot
11512 # rely on this symbol name, it's probably fine to never include it in
11513 # preloaded symbol tables.
11514 extract_expsyms_cmds=
11516 case $host_os in
11517 cygwin* | mingw* | pw32*)
11518 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11519 # When not using gcc, we currently assume that we are using
11520 # Microsoft Visual C++.
11521 if test "$GCC" != yes; then
11522 with_gnu_ld=no
11525 interix*)
11526 # we just hope/assume this is gcc and not c89 (= MSVC++)
11527 with_gnu_ld=yes
11529 openbsd*)
11530 with_gnu_ld=no
11532 esac
11534 ld_shlibs_FC=yes
11535 if test "$with_gnu_ld" = yes; then
11536 # If archive_cmds runs LD, not CC, wlarc should be empty
11537 wlarc='${wl}'
11539 # Set some defaults for GNU ld with shared library support. These
11540 # are reset later if shared libraries are not supported. Putting them
11541 # here allows them to be overridden if necessary.
11542 runpath_var=LD_RUN_PATH
11543 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11544 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11545 # ancient GNU ld didn't support --whole-archive et. al.
11546 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11547 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11548 else
11549 whole_archive_flag_spec_FC=
11551 supports_anon_versioning=no
11552 case `$LD -v 2>&1` in
11553 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11554 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11555 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11556 *\ 2.11.*) ;; # other 2.11 versions
11557 *) supports_anon_versioning=yes ;;
11558 esac
11560 # See if GNU ld supports shared libraries.
11561 case $host_os in
11562 aix[3-9]*)
11563 # On AIX/PPC, the GNU linker is very broken
11564 if test "$host_cpu" != ia64; then
11565 ld_shlibs_FC=no
11566 cat <<_LT_EOF 1>&2
11568 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11569 *** to be unable to reliably create shared libraries on AIX.
11570 *** Therefore, libtool is disabling shared libraries support. If you
11571 *** really care for shared libraries, you may want to modify your PATH
11572 *** so that a non-GNU linker is found, and then restart.
11574 _LT_EOF
11578 amigaos*)
11579 if test "$host_cpu" = m68k; then
11580 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)'
11581 hardcode_libdir_flag_spec_FC='-L$libdir'
11582 hardcode_minus_L_FC=yes
11585 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11586 # that the semantics of dynamic libraries on AmigaOS, at least up
11587 # to version 4, is to share data among multiple programs linked
11588 # with the same dynamic library. Since this doesn't match the
11589 # behavior of shared libraries on other platforms, we can't use
11590 # them.
11591 ld_shlibs_FC=no
11594 beos*)
11595 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11596 allow_undefined_flag_FC=unsupported
11597 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11598 # support --undefined. This deserves some investigation. FIXME
11599 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11600 else
11601 ld_shlibs_FC=no
11605 cygwin* | mingw* | pw32*)
11606 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11607 # as there is no search path for DLLs.
11608 hardcode_libdir_flag_spec_FC='-L$libdir'
11609 allow_undefined_flag_FC=unsupported
11610 always_export_symbols_FC=no
11611 enable_shared_with_static_runtimes_FC=yes
11612 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11614 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11615 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11616 # If the export-symbols file already is a .def file (1st line
11617 # is EXPORTS), use it as is; otherwise, prepend...
11618 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11619 cp $export_symbols $output_objdir/$soname.def;
11620 else
11621 echo EXPORTS > $output_objdir/$soname.def;
11622 cat $export_symbols >> $output_objdir/$soname.def;
11624 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11625 else
11626 ld_shlibs_FC=no
11630 interix[3-9]*)
11631 hardcode_direct_FC=no
11632 hardcode_shlibpath_var_FC=no
11633 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11634 export_dynamic_flag_spec_FC='${wl}-E'
11635 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11636 # Instead, shared libraries are loaded at an image base (0x10000000 by
11637 # default) and relocated if they conflict, which is a slow very memory
11638 # consuming and fragmenting process. To avoid this, we pick a random,
11639 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11640 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11641 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'
11642 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'
11645 gnu* | linux* | tpf* | k*bsd*-gnu)
11646 tmp_diet=no
11647 if test "$host_os" = linux-dietlibc; then
11648 case $cc_basename in
11649 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11650 esac
11652 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11653 && test "$tmp_diet" = no
11654 then
11655 tmp_addflag=
11656 case $cc_basename,$host_cpu in
11657 pgcc*) # Portland Group C compiler
11658 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'
11659 tmp_addflag=' $pic_flag'
11661 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11662 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'
11663 tmp_addflag=' $pic_flag -Mnomain' ;;
11664 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11665 tmp_addflag=' -i_dynamic' ;;
11666 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11667 tmp_addflag=' -i_dynamic -nofor_main' ;;
11668 ifc* | ifort*) # Intel Fortran compiler
11669 tmp_addflag=' -nofor_main' ;;
11670 esac
11671 case `$CC -V 2>&1 | sed 5q` in
11672 *Sun\ C*) # Sun C 5.9
11673 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'
11674 compiler_needs_object_FC=yes
11675 tmp_sharedflag='-G' ;;
11676 *Sun\ F*) # Sun Fortran 8.3
11677 tmp_sharedflag='-G' ;;
11679 tmp_sharedflag='-shared' ;;
11680 esac
11681 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11683 if test "x$supports_anon_versioning" = xyes; then
11684 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11685 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11686 echo "local: *; };" >> $output_objdir/$libname.ver~
11687 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11689 else
11690 ld_shlibs_FC=no
11694 netbsd*)
11695 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11696 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11697 wlarc=
11698 else
11699 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11700 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11704 solaris*)
11705 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11706 ld_shlibs_FC=no
11707 cat <<_LT_EOF 1>&2
11709 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11710 *** create shared libraries on Solaris systems. Therefore, libtool
11711 *** is disabling shared libraries support. We urge you to upgrade GNU
11712 *** binutils to release 2.9.1 or newer. Another option is to modify
11713 *** your PATH or compiler configuration so that the native linker is
11714 *** used, and then restart.
11716 _LT_EOF
11717 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11718 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11719 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11720 else
11721 ld_shlibs_FC=no
11725 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11726 case `$LD -v 2>&1` in
11727 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11728 ld_shlibs_FC=no
11729 cat <<_LT_EOF 1>&2
11731 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11732 *** reliably create shared libraries on SCO systems. Therefore, libtool
11733 *** is disabling shared libraries support. We urge you to upgrade GNU
11734 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11735 *** your PATH or compiler configuration so that the native linker is
11736 *** used, and then restart.
11738 _LT_EOF
11741 # For security reasons, it is highly recommended that you always
11742 # use absolute paths for naming shared libraries, and exclude the
11743 # DT_RUNPATH tag from executables and libraries. But doing so
11744 # requires that you compile everything twice, which is a pain.
11745 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11746 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11747 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11748 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11749 else
11750 ld_shlibs_FC=no
11753 esac
11756 sunos4*)
11757 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11758 wlarc=
11759 hardcode_direct_FC=yes
11760 hardcode_shlibpath_var_FC=no
11764 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11765 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11766 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11767 else
11768 ld_shlibs_FC=no
11771 esac
11773 if test "$ld_shlibs_FC" = no; then
11774 runpath_var=
11775 hardcode_libdir_flag_spec_FC=
11776 export_dynamic_flag_spec_FC=
11777 whole_archive_flag_spec_FC=
11779 else
11780 # PORTME fill in a description of your system's linker (not GNU ld)
11781 case $host_os in
11782 aix3*)
11783 allow_undefined_flag_FC=unsupported
11784 always_export_symbols_FC=yes
11785 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'
11786 # Note: this linker hardcodes the directories in LIBPATH if there
11787 # are no directories specified by -L.
11788 hardcode_minus_L_FC=yes
11789 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11790 # Neither direct hardcoding nor static linking is supported with a
11791 # broken collect2.
11792 hardcode_direct_FC=unsupported
11796 aix[4-9]*)
11797 if test "$host_cpu" = ia64; then
11798 # On IA64, the linker does run time linking by default, so we don't
11799 # have to do anything special.
11800 aix_use_runtimelinking=no
11801 exp_sym_flag='-Bexport'
11802 no_entry_flag=""
11803 else
11804 # If we're using GNU nm, then we don't want the "-C" option.
11805 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11806 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11807 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'
11808 else
11809 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'
11811 aix_use_runtimelinking=no
11813 # Test if we are trying to use run time linking or normal
11814 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11815 # need to do runtime linking.
11816 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11817 for ld_flag in $LDFLAGS; do
11818 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11819 aix_use_runtimelinking=yes
11820 break
11822 done
11824 esac
11826 exp_sym_flag='-bexport'
11827 no_entry_flag='-bnoentry'
11830 # When large executables or shared objects are built, AIX ld can
11831 # have problems creating the table of contents. If linking a library
11832 # or program results in "error TOC overflow" add -mminimal-toc to
11833 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11834 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11836 archive_cmds_FC=''
11837 hardcode_direct_FC=yes
11838 hardcode_direct_absolute_FC=yes
11839 hardcode_libdir_separator_FC=':'
11840 link_all_deplibs_FC=yes
11841 file_list_spec_FC='${wl}-f,'
11843 if test "$GCC" = yes; then
11844 case $host_os in aix4.[012]|aix4.[012].*)
11845 # We only want to do this on AIX 4.2 and lower, the check
11846 # below for broken collect2 doesn't work under 4.3+
11847 collect2name=`${CC} -print-prog-name=collect2`
11848 if test -f "$collect2name" &&
11849 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11850 then
11851 # We have reworked collect2
11853 else
11854 # We have old collect2
11855 hardcode_direct_FC=unsupported
11856 # It fails to find uninstalled libraries when the uninstalled
11857 # path is not listed in the libpath. Setting hardcode_minus_L
11858 # to unsupported forces relinking
11859 hardcode_minus_L_FC=yes
11860 hardcode_libdir_flag_spec_FC='-L$libdir'
11861 hardcode_libdir_separator_FC=
11864 esac
11865 shared_flag='-shared'
11866 if test "$aix_use_runtimelinking" = yes; then
11867 shared_flag="$shared_flag "'${wl}-G'
11869 else
11870 # not using gcc
11871 if test "$host_cpu" = ia64; then
11872 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11873 # chokes on -Wl,-G. The following line is correct:
11874 shared_flag='-G'
11875 else
11876 if test "$aix_use_runtimelinking" = yes; then
11877 shared_flag='${wl}-G'
11878 else
11879 shared_flag='${wl}-bM:SRE'
11884 # It seems that -bexpall does not export symbols beginning with
11885 # underscore (_), so it is better to generate a list of symbols to export.
11886 always_export_symbols_FC=yes
11887 if test "$aix_use_runtimelinking" = yes; then
11888 # Warning - without using the other runtime loading flags (-brtl),
11889 # -berok will link without error, but may produce a broken library.
11890 allow_undefined_flag_FC='-berok'
11891 # Determine the default libpath from the value encoded in an
11892 # empty executable.
11893 if test x$gcc_no_link = xyes; then
11894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11896 { (exit 1); exit 1; }; }
11898 cat >conftest.$ac_ext <<_ACEOF
11899 program main
11902 _ACEOF
11903 rm -f conftest.$ac_objext conftest$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905 (eval $ac_link) 2>conftest.er1
11906 ac_status=$?
11907 grep -v '^ *+' conftest.er1 >conftest.err
11908 rm -f conftest.er1
11909 cat conftest.err >&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try='test -z "$ac_fc_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try='test -s conftest$ac_exeext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11922 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11926 lt_aix_libpath_sed='
11927 /Import File Strings/,/^$/ {
11928 /^0/ {
11929 s/^0 *\(.*\)$/\1/
11933 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11934 # Check for a 64-bit object if we didn't find anything.
11935 if test -z "$aix_libpath"; then
11936 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11938 else
11939 echo "$as_me: failed program was:" >&5
11940 sed 's/^/| /' conftest.$ac_ext >&5
11943 rm -f conftest.err conftest.$ac_objext \
11944 conftest$ac_exeext conftest.$ac_ext
11945 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11947 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11948 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"
11949 else
11950 if test "$host_cpu" = ia64; then
11951 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11952 allow_undefined_flag_FC="-z nodefs"
11953 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"
11954 else
11955 # Determine the default libpath from the value encoded in an
11956 # empty executable.
11957 if test x$gcc_no_link = xyes; then
11958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11960 { (exit 1); exit 1; }; }
11962 cat >conftest.$ac_ext <<_ACEOF
11963 program main
11966 _ACEOF
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11969 (eval $ac_link) 2>conftest.er1
11970 ac_status=$?
11971 grep -v '^ *+' conftest.er1 >conftest.err
11972 rm -f conftest.er1
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_fc_werror_flag"
11977 || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11980 ac_status=$?
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try='test -s conftest$ac_exeext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11986 ac_status=$?
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11990 lt_aix_libpath_sed='
11991 /Import File Strings/,/^$/ {
11992 /^0/ {
11993 s/^0 *\(.*\)$/\1/
11997 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11998 # Check for a 64-bit object if we didn't find anything.
11999 if test -z "$aix_libpath"; then
12000 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12002 else
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.$ac_ext >&5
12007 rm -f conftest.err conftest.$ac_objext \
12008 conftest$ac_exeext conftest.$ac_ext
12009 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12011 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12012 # Warning - without using the other run time loading flags,
12013 # -berok will link without error, but may produce a broken library.
12014 no_undefined_flag_FC=' ${wl}-bernotok'
12015 allow_undefined_flag_FC=' ${wl}-berok'
12016 # Exported symbols can be pulled into shared objects from archives
12017 whole_archive_flag_spec_FC='$convenience'
12018 archive_cmds_need_lc_FC=yes
12019 # This is similar to how AIX traditionally builds its shared libraries.
12020 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'
12025 amigaos*)
12026 if test "$host_cpu" = m68k; then
12027 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)'
12028 hardcode_libdir_flag_spec_FC='-L$libdir'
12029 hardcode_minus_L_FC=yes
12031 # see comment about different semantics on the GNU ld section
12032 ld_shlibs_FC=no
12035 bsdi[45]*)
12036 export_dynamic_flag_spec_FC=-rdynamic
12039 cygwin* | mingw* | pw32*)
12040 # When not using gcc, we currently assume that we are using
12041 # Microsoft Visual C++.
12042 # hardcode_libdir_flag_spec is actually meaningless, as there is
12043 # no search path for DLLs.
12044 hardcode_libdir_flag_spec_FC=' '
12045 allow_undefined_flag_FC=unsupported
12046 # Tell ltmain to make .lib files, not .a files.
12047 libext=lib
12048 # Tell ltmain to make .dll files, not .so files.
12049 shrext_cmds=".dll"
12050 # FIXME: Setting linknames here is a bad hack.
12051 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12052 # The linker will automatically build a .lib file if we build a DLL.
12053 old_archive_from_new_cmds_FC='true'
12054 # FIXME: Should let the user specify the lib program.
12055 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12056 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12057 enable_shared_with_static_runtimes_FC=yes
12060 darwin* | rhapsody*)
12061 case $host_os in
12062 rhapsody* | darwin1.[012])
12063 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12065 *) # Darwin 1.3 on
12066 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12067 10.[012])
12068 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12070 10.*)
12071 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12073 esac
12075 esac
12076 archive_cmds_need_lc_FC=no
12077 hardcode_direct_FC=no
12078 hardcode_automatic_FC=yes
12079 hardcode_shlibpath_var_FC=unsupported
12080 whole_archive_flag_spec_FC=''
12081 link_all_deplibs_FC=yes
12082 if test "$GCC" = yes ; then
12083 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 else
12086 lt_cv_apple_cc_single_mod=no
12087 if test -z "${LT_MULTI_MODULE}"; then
12088 # By default we will add the -single_module flag. You can override
12089 # by either setting the environment variable LT_MULTI_MODULE
12090 # non-empty at configure time, or by adding -multi-module to the
12091 # link flags.
12092 echo "int foo(void){return 1;}" > conftest.c
12093 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12094 -dynamiclib ${wl}-single_module conftest.c
12095 if test -f libconftest.dylib; then
12096 lt_cv_apple_cc_single_mod=yes
12097 rm libconftest.dylib
12099 rm conftest.$ac_ext
12103 output_verbose_link_cmd=echo
12104 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12105 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12106 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12107 else
12108 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12109 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12111 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12112 module_expsym_cmds_FC='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12113 else
12114 case $cc_basename in
12115 xlc*)
12116 output_verbose_link_cmd=echo
12117 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12118 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12119 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12120 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12121 module_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12124 ld_shlibs_FC=no
12126 esac
12130 dgux*)
12131 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12132 hardcode_libdir_flag_spec_FC='-L$libdir'
12133 hardcode_shlibpath_var_FC=no
12136 freebsd1*)
12137 ld_shlibs_FC=no
12140 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12141 # support. Future versions do this automatically, but an explicit c++rt0.o
12142 # does not break anything, and helps significantly (at the cost of a little
12143 # extra space).
12144 freebsd2.2*)
12145 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12146 hardcode_libdir_flag_spec_FC='-R$libdir'
12147 hardcode_direct_FC=yes
12148 hardcode_shlibpath_var_FC=no
12151 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12152 freebsd2*)
12153 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12154 hardcode_direct_FC=yes
12155 hardcode_minus_L_FC=yes
12156 hardcode_shlibpath_var_FC=no
12159 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12160 freebsd* | dragonfly*)
12161 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12162 hardcode_libdir_flag_spec_FC='-R$libdir'
12163 hardcode_direct_FC=yes
12164 hardcode_shlibpath_var_FC=no
12167 hpux9*)
12168 if test "$GCC" = yes; then
12169 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'
12170 else
12171 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'
12173 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12174 hardcode_libdir_separator_FC=:
12175 hardcode_direct_FC=yes
12177 # hardcode_minus_L: Not really in the search PATH,
12178 # but as the default location of the library.
12179 hardcode_minus_L_FC=yes
12180 export_dynamic_flag_spec_FC='${wl}-E'
12183 hpux10*)
12184 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12185 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12186 else
12187 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12189 if test "$with_gnu_ld" = no; then
12190 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12191 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12192 hardcode_libdir_separator_FC=:
12193 hardcode_direct_FC=yes
12194 hardcode_direct_absolute_FC=yes
12195 export_dynamic_flag_spec_FC='${wl}-E'
12196 # hardcode_minus_L: Not really in the search PATH,
12197 # but as the default location of the library.
12198 hardcode_minus_L_FC=yes
12202 hpux11*)
12203 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12204 case $host_cpu in
12205 hppa*64*)
12206 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12208 ia64*)
12209 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12212 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12214 esac
12215 else
12216 case $host_cpu in
12217 hppa*64*)
12218 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12220 ia64*)
12221 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12224 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12226 esac
12228 if test "$with_gnu_ld" = no; then
12229 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12230 hardcode_libdir_separator_FC=:
12232 case $host_cpu in
12233 hppa*64*|ia64*)
12234 hardcode_direct_FC=no
12235 hardcode_shlibpath_var_FC=no
12238 hardcode_direct_FC=yes
12239 hardcode_direct_absolute_FC=yes
12240 export_dynamic_flag_spec_FC='${wl}-E'
12242 # hardcode_minus_L: Not really in the search PATH,
12243 # but as the default location of the library.
12244 hardcode_minus_L_FC=yes
12246 esac
12250 irix5* | irix6* | nonstopux*)
12251 if test "$GCC" = yes; then
12252 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'
12253 # Try to use the -exported_symbol ld option, if it does not
12254 # work, assume that -exports_file does not work either and
12255 # implicitly export all symbols.
12256 save_LDFLAGS="$LDFLAGS"
12257 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12258 if test x$gcc_no_link = xyes; then
12259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12261 { (exit 1); exit 1; }; }
12263 cat >conftest.$ac_ext <<_ACEOF
12264 int foo(void) {}
12265 _ACEOF
12266 rm -f conftest.$ac_objext conftest$ac_exeext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12268 (eval $ac_link) 2>conftest.er1
12269 ac_status=$?
12270 grep -v '^ *+' conftest.er1 >conftest.err
12271 rm -f conftest.er1
12272 cat conftest.err >&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try='test -z "$ac_fc_werror_flag"
12276 || test ! -s conftest.err'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12279 ac_status=$?
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; } &&
12282 { ac_try='test -s conftest$ac_exeext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12285 ac_status=$?
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 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'
12290 else
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12295 rm -f conftest.err conftest.$ac_objext \
12296 conftest$ac_exeext conftest.$ac_ext
12297 LDFLAGS="$save_LDFLAGS"
12298 else
12299 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'
12300 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'
12302 archive_cmds_need_lc_FC='no'
12303 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12304 hardcode_libdir_separator_FC=:
12305 inherit_rpath_FC=yes
12306 link_all_deplibs_FC=yes
12309 netbsd*)
12310 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12311 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12312 else
12313 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12315 hardcode_libdir_flag_spec_FC='-R$libdir'
12316 hardcode_direct_FC=yes
12317 hardcode_shlibpath_var_FC=no
12320 newsos6)
12321 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12322 hardcode_direct_FC=yes
12323 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12324 hardcode_libdir_separator_FC=:
12325 hardcode_shlibpath_var_FC=no
12328 *nto* | *qnx*)
12331 openbsd*)
12332 hardcode_direct_FC=yes
12333 hardcode_shlibpath_var_FC=no
12334 hardcode_direct_absolute_FC=yes
12335 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12336 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12337 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12338 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12339 export_dynamic_flag_spec_FC='${wl}-E'
12340 else
12341 case $host_os in
12342 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12343 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12344 hardcode_libdir_flag_spec_FC='-R$libdir'
12347 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12348 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12350 esac
12354 os2*)
12355 hardcode_libdir_flag_spec_FC='-L$libdir'
12356 hardcode_minus_L_FC=yes
12357 allow_undefined_flag_FC=unsupported
12358 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'
12359 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12362 osf3*)
12363 if test "$GCC" = yes; then
12364 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12365 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'
12366 else
12367 allow_undefined_flag_FC=' -expect_unresolved \*'
12368 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'
12370 archive_cmds_need_lc_FC='no'
12371 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12372 hardcode_libdir_separator_FC=:
12375 osf4* | osf5*) # as osf3* with the addition of -msym flag
12376 if test "$GCC" = yes; then
12377 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12378 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'
12379 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12380 else
12381 allow_undefined_flag_FC=' -expect_unresolved \*'
12382 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'
12383 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~
12384 $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'
12386 # Both c and cxx compiler support -rpath directly
12387 hardcode_libdir_flag_spec_FC='-rpath $libdir'
12389 archive_cmds_need_lc_FC='no'
12390 hardcode_libdir_separator_FC=:
12393 solaris*)
12394 no_undefined_flag_FC=' -z defs'
12395 if test "$GCC" = yes; then
12396 wlarc='${wl}'
12397 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12398 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12399 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12400 else
12401 case `$CC -V 2>&1` in
12402 *"Compilers 5.0"*)
12403 wlarc=''
12404 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12405 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12406 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12409 wlarc='${wl}'
12410 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12411 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12412 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12414 esac
12416 hardcode_libdir_flag_spec_FC='-R$libdir'
12417 hardcode_shlibpath_var_FC=no
12418 case $host_os in
12419 solaris2.[0-5] | solaris2.[0-5].*) ;;
12421 # The compiler driver will combine and reorder linker options,
12422 # but understands `-z linker_flag'. GCC discards it without `$wl',
12423 # but is careful enough not to reorder.
12424 # Supported since Solaris 2.6 (maybe 2.5.1?)
12425 if test "$GCC" = yes; then
12426 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12427 else
12428 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12431 esac
12432 link_all_deplibs_FC=yes
12435 sunos4*)
12436 if test "x$host_vendor" = xsequent; then
12437 # Use $CC to link under sequent, because it throws in some extra .o
12438 # files that make .init and .fini sections work.
12439 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12440 else
12441 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12443 hardcode_libdir_flag_spec_FC='-L$libdir'
12444 hardcode_direct_FC=yes
12445 hardcode_minus_L_FC=yes
12446 hardcode_shlibpath_var_FC=no
12449 sysv4)
12450 case $host_vendor in
12451 sni)
12452 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12453 hardcode_direct_FC=yes # is this really true???
12455 siemens)
12456 ## LD is ld it makes a PLAMLIB
12457 ## CC just makes a GrossModule.
12458 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12459 reload_cmds_FC='$CC -r -o $output$reload_objs'
12460 hardcode_direct_FC=no
12462 motorola)
12463 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12464 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12466 esac
12467 runpath_var='LD_RUN_PATH'
12468 hardcode_shlibpath_var_FC=no
12471 sysv4.3*)
12472 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12473 hardcode_shlibpath_var_FC=no
12474 export_dynamic_flag_spec_FC='-Bexport'
12477 sysv4*MP*)
12478 if test -d /usr/nec; then
12479 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12480 hardcode_shlibpath_var_FC=no
12481 runpath_var=LD_RUN_PATH
12482 hardcode_runpath_var=yes
12483 ld_shlibs_FC=yes
12487 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12488 no_undefined_flag_FC='${wl}-z,text'
12489 archive_cmds_need_lc_FC=no
12490 hardcode_shlibpath_var_FC=no
12491 runpath_var='LD_RUN_PATH'
12493 if test "$GCC" = yes; then
12494 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12495 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12496 else
12497 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12498 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12502 sysv5* | sco3.2v5* | sco5v6*)
12503 # Note: We can NOT use -z defs as we might desire, because we do not
12504 # link with -lc, and that would cause any symbols used from libc to
12505 # always be unresolved, which means just about no library would
12506 # ever link correctly. If we're not using GNU ld we use -z text
12507 # though, which does catch some bad symbols but isn't as heavy-handed
12508 # as -z defs.
12509 no_undefined_flag_FC='${wl}-z,text'
12510 allow_undefined_flag_FC='${wl}-z,nodefs'
12511 archive_cmds_need_lc_FC=no
12512 hardcode_shlibpath_var_FC=no
12513 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12514 hardcode_libdir_separator_FC=':'
12515 link_all_deplibs_FC=yes
12516 export_dynamic_flag_spec_FC='${wl}-Bexport'
12517 runpath_var='LD_RUN_PATH'
12519 if test "$GCC" = yes; then
12520 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12521 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12522 else
12523 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12524 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12528 uts4*)
12529 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12530 hardcode_libdir_flag_spec_FC='-L$libdir'
12531 hardcode_shlibpath_var_FC=no
12535 ld_shlibs_FC=no
12537 esac
12539 if test x$host_vendor = xsni; then
12540 case $host in
12541 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12542 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12544 esac
12548 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12549 echo "${ECHO_T}$ld_shlibs_FC" >&6
12550 test "$ld_shlibs_FC" = no && can_build_shared=no
12552 with_gnu_ld_FC=$with_gnu_ld
12560 # Do we need to explicitly link libc?
12562 case "x$archive_cmds_need_lc_FC" in
12563 x|xyes)
12564 # Assume -lc should be added
12565 archive_cmds_need_lc_FC=yes
12567 if test "$enable_shared" = yes && test "$GCC" = yes; then
12568 case $archive_cmds_FC in
12569 *'~'*)
12570 # FIXME: we may have to deal with multi-command sequences.
12572 '$CC '*)
12573 # Test whether the compiler implicitly links with -lc since on some
12574 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12575 # to ld, don't add -lc before -lgcc.
12576 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12577 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12578 $RM conftest*
12579 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582 (eval $ac_compile) 2>&5
12583 ac_status=$?
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } 2>conftest.err; then
12586 soname=conftest
12587 lib=conftest
12588 libobjs=conftest.$ac_objext
12589 deplibs=
12590 wl=$lt_prog_compiler_wl_FC
12591 pic_flag=$lt_prog_compiler_pic_FC
12592 compiler_flags=-v
12593 linker_flags=-v
12594 verstring=
12595 output_objdir=.
12596 libname=conftest
12597 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12598 allow_undefined_flag_FC=
12599 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12600 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12601 ac_status=$?
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); }
12604 then
12605 archive_cmds_need_lc_FC=no
12606 else
12607 archive_cmds_need_lc_FC=yes
12609 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12610 else
12611 cat conftest.err 1>&5
12613 $RM conftest*
12614 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12615 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12617 esac
12620 esac
12685 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12686 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12687 withGCC=$ac_cv_fc_compiler_gnu
12688 library_names_spec=
12689 libname_spec='lib$name'
12690 soname_spec=
12691 shrext_cmds=".so"
12692 postinstall_cmds=
12693 postuninstall_cmds=
12694 finish_cmds=
12695 finish_eval=
12696 shlibpath_var=
12697 shlibpath_overrides_runpath=unknown
12698 version_type=none
12699 dynamic_linker="$host_os ld.so"
12700 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12701 need_lib_prefix=unknown
12702 hardcode_into_libs=no
12704 # when you set need_version to no, make sure it does not cause -set_version
12705 # flags to be left without arguments
12706 need_version=unknown
12708 case $host_os in
12709 aix3*)
12710 version_type=linux
12711 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12712 shlibpath_var=LIBPATH
12714 # AIX 3 has no versioning support, so we append a major version to the name.
12715 soname_spec='${libname}${release}${shared_ext}$major'
12718 aix[4-9]*)
12719 version_type=linux
12720 need_lib_prefix=no
12721 need_version=no
12722 hardcode_into_libs=yes
12723 if test "$host_cpu" = ia64; then
12724 # AIX 5 supports IA64
12725 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12726 shlibpath_var=LD_LIBRARY_PATH
12727 else
12728 # With GCC up to 2.95.x, collect2 would create an import file
12729 # for dependence libraries. The import file would start with
12730 # the line `#! .'. This would cause the generated library to
12731 # depend on `.', always an invalid library. This was fixed in
12732 # development snapshots of GCC prior to 3.0.
12733 case $host_os in
12734 aix4 | aix4.[01] | aix4.[01].*)
12735 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12736 echo ' yes '
12737 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12739 else
12740 can_build_shared=no
12743 esac
12744 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12745 # soname into executable. Probably we can add versioning support to
12746 # collect2, so additional links can be useful in future.
12747 if test "$aix_use_runtimelinking" = yes; then
12748 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12749 # instead of lib<name>.a to let people know that these are not
12750 # typical AIX shared libraries.
12751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12752 else
12753 # We preserve .a as extension for shared libraries through AIX4.2
12754 # and later when we are not doing run time linking.
12755 library_names_spec='${libname}${release}.a $libname.a'
12756 soname_spec='${libname}${release}${shared_ext}$major'
12758 shlibpath_var=LIBPATH
12762 amigaos*)
12763 if test "$host_cpu" = m68k; then
12764 library_names_spec='$libname.ixlibrary $libname.a'
12765 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12766 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'
12767 else
12768 dynamic_linker=no
12772 beos*)
12773 library_names_spec='${libname}${shared_ext}'
12774 dynamic_linker="$host_os ld.so"
12775 shlibpath_var=LIBRARY_PATH
12778 bsdi[45]*)
12779 version_type=linux
12780 need_version=no
12781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12782 soname_spec='${libname}${release}${shared_ext}$major'
12783 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12784 shlibpath_var=LD_LIBRARY_PATH
12785 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12786 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12787 # the default ld.so.conf also contains /usr/contrib/lib and
12788 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12789 # libtool to hard-code these into programs
12792 cygwin* | mingw* | pw32*)
12793 version_type=windows
12794 shrext_cmds=".dll"
12795 need_version=no
12796 need_lib_prefix=no
12798 case $withGCC,$host_os in
12799 yes,cygwin* | yes,mingw* | yes,pw32*)
12800 library_names_spec='$libname.dll.a'
12801 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12802 postinstall_cmds='base_file=`basename \${file}`~
12803 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12804 dldir=$destdir/`dirname \$dlpath`~
12805 test -d \$dldir || mkdir -p \$dldir~
12806 $install_prog $dir/$dlname \$dldir/$dlname~
12807 chmod a+x \$dldir/$dlname~
12808 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12809 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12811 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12812 dlpath=$dir/\$dldll~
12813 $RM \$dlpath'
12814 shlibpath_overrides_runpath=yes
12816 case $host_os in
12817 cygwin*)
12818 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12819 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12820 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12822 mingw*)
12823 # MinGW DLLs use traditional 'lib' prefix
12824 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12825 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12826 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12827 # It is most probably a Windows format PATH printed by
12828 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12829 # path with ; separators, and with drive letters. We can handle the
12830 # drive letters (cygwin fileutils understands them), so leave them,
12831 # especially as we might pass files found there to a mingw objdump,
12832 # which wouldn't understand a cygwinified path. Ahh.
12833 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12834 else
12835 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12838 pw32*)
12839 # pw32 DLLs use 'pw' prefix rather than 'lib'
12840 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12842 esac
12846 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12848 esac
12849 dynamic_linker='Win32 ld.exe'
12850 # FIXME: first we should search . and the directory the executable is in
12851 shlibpath_var=PATH
12854 darwin* | rhapsody*)
12855 dynamic_linker="$host_os dyld"
12856 version_type=darwin
12857 need_lib_prefix=no
12858 need_version=no
12859 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12860 soname_spec='${libname}${release}${major}$shared_ext'
12861 shlibpath_overrides_runpath=yes
12862 shlibpath_var=DYLD_LIBRARY_PATH
12863 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12865 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12868 dgux*)
12869 version_type=linux
12870 need_lib_prefix=no
12871 need_version=no
12872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12873 soname_spec='${libname}${release}${shared_ext}$major'
12874 shlibpath_var=LD_LIBRARY_PATH
12877 freebsd1*)
12878 dynamic_linker=no
12881 freebsd* | dragonfly*)
12882 # DragonFly does not have aout. When/if they implement a new
12883 # versioning mechanism, adjust this.
12884 if test -x /usr/bin/objformat; then
12885 objformat=`/usr/bin/objformat`
12886 else
12887 case $host_os in
12888 freebsd[123]*) objformat=aout ;;
12889 *) objformat=elf ;;
12890 esac
12892 version_type=freebsd-$objformat
12893 case $version_type in
12894 freebsd-elf*)
12895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12896 need_version=no
12897 need_lib_prefix=no
12899 freebsd-*)
12900 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12901 need_version=yes
12903 esac
12904 shlibpath_var=LD_LIBRARY_PATH
12905 case $host_os in
12906 freebsd2*)
12907 shlibpath_overrides_runpath=yes
12909 freebsd3.[01]* | freebsdelf3.[01]*)
12910 shlibpath_overrides_runpath=yes
12911 hardcode_into_libs=yes
12913 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12914 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12915 shlibpath_overrides_runpath=no
12916 hardcode_into_libs=yes
12918 *) # from 4.6 on, and DragonFly
12919 shlibpath_overrides_runpath=yes
12920 hardcode_into_libs=yes
12922 esac
12925 gnu*)
12926 version_type=linux
12927 need_lib_prefix=no
12928 need_version=no
12929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12930 soname_spec='${libname}${release}${shared_ext}$major'
12931 shlibpath_var=LD_LIBRARY_PATH
12932 hardcode_into_libs=yes
12935 hpux9* | hpux10* | hpux11*)
12936 # Give a soname corresponding to the major version so that dld.sl refuses to
12937 # link against other versions.
12938 version_type=sunos
12939 need_lib_prefix=no
12940 need_version=no
12941 case $host_cpu in
12942 ia64*)
12943 shrext_cmds='.so'
12944 hardcode_into_libs=yes
12945 dynamic_linker="$host_os dld.so"
12946 shlibpath_var=LD_LIBRARY_PATH
12947 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12949 soname_spec='${libname}${release}${shared_ext}$major'
12950 if test "X$HPUX_IA64_MODE" = X32; then
12951 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12952 else
12953 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12955 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12957 hppa*64*)
12958 shrext_cmds='.sl'
12959 hardcode_into_libs=yes
12960 dynamic_linker="$host_os dld.sl"
12961 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12962 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12964 soname_spec='${libname}${release}${shared_ext}$major'
12965 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12966 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12969 shrext_cmds='.sl'
12970 dynamic_linker="$host_os dld.sl"
12971 shlibpath_var=SHLIB_PATH
12972 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12974 soname_spec='${libname}${release}${shared_ext}$major'
12976 esac
12977 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12978 postinstall_cmds='chmod 555 $lib'
12981 interix[3-9]*)
12982 version_type=linux
12983 need_lib_prefix=no
12984 need_version=no
12985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12986 soname_spec='${libname}${release}${shared_ext}$major'
12987 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12988 shlibpath_var=LD_LIBRARY_PATH
12989 shlibpath_overrides_runpath=no
12990 hardcode_into_libs=yes
12993 irix5* | irix6* | nonstopux*)
12994 case $host_os in
12995 nonstopux*) version_type=nonstopux ;;
12997 if test "$lt_cv_prog_gnu_ld" = yes; then
12998 version_type=linux
12999 else
13000 version_type=irix
13001 fi ;;
13002 esac
13003 need_lib_prefix=no
13004 need_version=no
13005 soname_spec='${libname}${release}${shared_ext}$major'
13006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13007 case $host_os in
13008 irix5* | nonstopux*)
13009 libsuff= shlibsuff=
13012 case $LD in # libtool.m4 will add one of these switches to LD
13013 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13014 libsuff= shlibsuff= libmagic=32-bit;;
13015 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13016 libsuff=32 shlibsuff=N32 libmagic=N32;;
13017 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13018 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13019 *) libsuff= shlibsuff= libmagic=never-match;;
13020 esac
13022 esac
13023 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13024 shlibpath_overrides_runpath=no
13025 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13026 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13027 hardcode_into_libs=yes
13030 # No shared lib support for Linux oldld, aout, or coff.
13031 linux*oldld* | linux*aout* | linux*coff*)
13032 dynamic_linker=no
13035 # This must be Linux ELF.
13036 linux* | k*bsd*-gnu)
13037 version_type=linux
13038 need_lib_prefix=no
13039 need_version=no
13040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13041 soname_spec='${libname}${release}${shared_ext}$major'
13042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13043 shlibpath_var=LD_LIBRARY_PATH
13044 shlibpath_overrides_runpath=no
13045 # Some binutils ld are patched to set DT_RUNPATH
13046 save_LDFLAGS=$LDFLAGS
13047 save_libdir=$libdir
13048 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13049 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13050 if test x$gcc_no_link = xyes; then
13051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13053 { (exit 1); exit 1; }; }
13055 cat >conftest.$ac_ext <<_ACEOF
13056 program main
13059 _ACEOF
13060 rm -f conftest.$ac_objext conftest$ac_exeext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13062 (eval $ac_link) 2>conftest.er1
13063 ac_status=$?
13064 grep -v '^ *+' conftest.er1 >conftest.err
13065 rm -f conftest.er1
13066 cat conftest.err >&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } &&
13069 { ac_try='test -z "$ac_fc_werror_flag"
13070 || test ! -s conftest.err'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; } &&
13076 { ac_try='test -s conftest$ac_exeext'
13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 (eval $ac_try) 2>&5
13079 ac_status=$?
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; }; then
13082 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13083 shlibpath_overrides_runpath=yes
13086 else
13087 echo "$as_me: failed program was:" >&5
13088 sed 's/^/| /' conftest.$ac_ext >&5
13091 rm -f conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LDFLAGS=$save_LDFLAGS
13094 libdir=$save_libdir
13096 # This implies no fast_install, which is unacceptable.
13097 # Some rework will be needed to allow for fast_install
13098 # before this can be enabled.
13099 hardcode_into_libs=yes
13101 # Append ld.so.conf contents to the search path
13102 if test -f /etc/ld.so.conf; then
13103 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13104 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13107 # We used to test for /lib/ld.so.1 and disable shared libraries on
13108 # powerpc, because MkLinux only supported shared libraries with the
13109 # GNU dynamic linker. Since this was broken with cross compilers,
13110 # most powerpc-linux boxes support dynamic linking these days and
13111 # people can always --disable-shared, the test was removed, and we
13112 # assume the GNU/Linux dynamic linker is in use.
13113 dynamic_linker='GNU/Linux ld.so'
13116 netbsd*)
13117 version_type=sunos
13118 need_lib_prefix=no
13119 need_version=no
13120 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13122 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13123 dynamic_linker='NetBSD (a.out) ld.so'
13124 else
13125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13126 soname_spec='${libname}${release}${shared_ext}$major'
13127 dynamic_linker='NetBSD ld.elf_so'
13129 shlibpath_var=LD_LIBRARY_PATH
13130 shlibpath_overrides_runpath=yes
13131 hardcode_into_libs=yes
13134 newsos6)
13135 version_type=linux
13136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13137 shlibpath_var=LD_LIBRARY_PATH
13138 shlibpath_overrides_runpath=yes
13141 *nto* | *qnx*)
13142 version_type=qnx
13143 need_lib_prefix=no
13144 need_version=no
13145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13146 soname_spec='${libname}${release}${shared_ext}$major'
13147 shlibpath_var=LD_LIBRARY_PATH
13148 shlibpath_overrides_runpath=no
13149 hardcode_into_libs=yes
13150 dynamic_linker='ldqnx.so'
13153 openbsd*)
13154 version_type=sunos
13155 sys_lib_dlsearch_path_spec="/usr/lib"
13156 need_lib_prefix=no
13157 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13158 case $host_os in
13159 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13160 *) need_version=no ;;
13161 esac
13162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13163 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13164 shlibpath_var=LD_LIBRARY_PATH
13165 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13166 case $host_os in
13167 openbsd2.[89] | openbsd2.[89].*)
13168 shlibpath_overrides_runpath=no
13171 shlibpath_overrides_runpath=yes
13173 esac
13174 else
13175 shlibpath_overrides_runpath=yes
13179 os2*)
13180 libname_spec='$name'
13181 shrext_cmds=".dll"
13182 need_lib_prefix=no
13183 library_names_spec='$libname${shared_ext} $libname.a'
13184 dynamic_linker='OS/2 ld.exe'
13185 shlibpath_var=LIBPATH
13188 osf3* | osf4* | osf5*)
13189 version_type=osf
13190 need_lib_prefix=no
13191 need_version=no
13192 soname_spec='${libname}${release}${shared_ext}$major'
13193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13194 shlibpath_var=LD_LIBRARY_PATH
13195 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13196 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13199 rdos*)
13200 dynamic_linker=no
13203 solaris*)
13204 version_type=linux
13205 need_lib_prefix=no
13206 need_version=no
13207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13208 soname_spec='${libname}${release}${shared_ext}$major'
13209 shlibpath_var=LD_LIBRARY_PATH
13210 shlibpath_overrides_runpath=yes
13211 hardcode_into_libs=yes
13212 # ldd complains unless libraries are executable
13213 postinstall_cmds='chmod +x $lib'
13216 sunos4*)
13217 version_type=sunos
13218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13219 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13220 shlibpath_var=LD_LIBRARY_PATH
13221 shlibpath_overrides_runpath=yes
13222 if test "$with_gnu_ld" = yes; then
13223 need_lib_prefix=no
13225 need_version=yes
13228 sysv4 | sysv4.3*)
13229 version_type=linux
13230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13231 soname_spec='${libname}${release}${shared_ext}$major'
13232 shlibpath_var=LD_LIBRARY_PATH
13233 case $host_vendor in
13234 sni)
13235 shlibpath_overrides_runpath=no
13236 need_lib_prefix=no
13237 runpath_var=LD_RUN_PATH
13239 siemens)
13240 need_lib_prefix=no
13242 motorola)
13243 need_lib_prefix=no
13244 need_version=no
13245 shlibpath_overrides_runpath=no
13246 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13248 esac
13251 sysv4*MP*)
13252 if test -d /usr/nec ;then
13253 version_type=linux
13254 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13255 soname_spec='$libname${shared_ext}.$major'
13256 shlibpath_var=LD_LIBRARY_PATH
13260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13261 version_type=freebsd-elf
13262 need_lib_prefix=no
13263 need_version=no
13264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13265 soname_spec='${libname}${release}${shared_ext}$major'
13266 shlibpath_var=LD_LIBRARY_PATH
13267 shlibpath_overrides_runpath=yes
13268 hardcode_into_libs=yes
13269 if test "$with_gnu_ld" = yes; then
13270 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13271 else
13272 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13273 case $host_os in
13274 sco3.2v5*)
13275 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13277 esac
13279 sys_lib_dlsearch_path_spec='/usr/lib'
13282 tpf*)
13283 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13284 version_type=linux
13285 need_lib_prefix=no
13286 need_version=no
13287 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 shlibpath_var=LD_LIBRARY_PATH
13289 shlibpath_overrides_runpath=no
13290 hardcode_into_libs=yes
13293 uts4*)
13294 version_type=linux
13295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13296 soname_spec='${libname}${release}${shared_ext}$major'
13297 shlibpath_var=LD_LIBRARY_PATH
13301 dynamic_linker=no
13303 esac
13304 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13305 echo "${ECHO_T}$dynamic_linker" >&6
13306 test "$dynamic_linker" = no && can_build_shared=no
13308 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13309 if test "$GCC" = yes; then
13310 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13348 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13349 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13350 hardcode_action_FC=
13351 if test -n "$hardcode_libdir_flag_spec_FC" ||
13352 test -n "$runpath_var_FC" ||
13353 test "X$hardcode_automatic_FC" = "Xyes" ; then
13355 # We can hardcode non-existent directories.
13356 if test "$hardcode_direct_FC" != no &&
13357 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13358 # have to relink, otherwise we might link with an installed library
13359 # when we should be linking with a yet-to-be-installed one
13360 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13361 test "$hardcode_minus_L_FC" != no; then
13362 # Linking always hardcodes the temporary library directory.
13363 hardcode_action_FC=relink
13364 else
13365 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13366 hardcode_action_FC=immediate
13368 else
13369 # We cannot hardcode anything, or else we can only hardcode existing
13370 # directories.
13371 hardcode_action_FC=unsupported
13373 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13374 echo "${ECHO_T}$hardcode_action_FC" >&6
13376 if test "$hardcode_action_FC" = relink ||
13377 test "$inherit_rpath_FC" = yes; then
13378 # Fast installation is not supported
13379 enable_fast_install=no
13380 elif test "$shlibpath_overrides_runpath" = yes ||
13381 test "$enable_shared" = no; then
13382 # Fast installation is not necessary
13383 enable_fast_install=needless
13392 fi # test -n "$compiler"
13394 CC="$lt_save_CC"
13395 fi # test "$_lt_disable_FC" != yes
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13405 # extra LD Flags which are required for targets
13406 case "${host}" in
13407 *-darwin*)
13408 # Darwin needs -single_module when linking libgfortran
13409 extra_ldflags_libgfortran=-Wl,-single_module
13411 esac
13414 # We need a working compiler at that point, otherwise give a clear
13415 # error message and bail out.
13417 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13418 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13419 ac_ext=${FC_SRCEXT-f}
13420 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13421 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13422 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13424 cat >conftest.$ac_ext <<_ACEOF
13426 program foo
13427 real, parameter :: bar = sin (12.34 / 2.5)
13428 end program foo
13429 _ACEOF
13430 rm -f conftest.$ac_objext
13431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13432 (eval $ac_compile) 2>conftest.er1
13433 ac_status=$?
13434 grep -v '^ *+' conftest.er1 >conftest.err
13435 rm -f conftest.er1
13436 cat conftest.err >&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); } &&
13439 { ac_try='test -z "$ac_fc_werror_flag"
13440 || test ! -s conftest.err'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13443 ac_status=$?
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try='test -s conftest.$ac_objext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 echo "$as_me:$LINENO: result: yes" >&5
13453 echo "${ECHO_T}yes" >&6
13454 else
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13458 echo "$as_me:$LINENO: result: no" >&5
13459 echo "${ECHO_T}no" >&6
13460 { { 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
13461 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13462 { (exit 1); exit 1; }; }
13465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13466 ac_ext=c
13467 ac_cpp='$CPP $CPPFLAGS'
13468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13474 # Check whether --enable-largefile or --disable-largefile was given.
13475 if test "${enable_largefile+set}" = set; then
13476 enableval="$enable_largefile"
13479 if test "$enable_largefile" != no; then
13481 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13482 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13483 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486 ac_cv_sys_largefile_CC=no
13487 if test "$GCC" != yes; then
13488 ac_save_CC=$CC
13489 while :; do
13490 # IRIX 6.2 and later do not support large files by default,
13491 # so use the C compiler's -n32 option if that helps.
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 #include <sys/types.h>
13499 /* Check that off_t can represent 2**63 - 1 correctly.
13500 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13501 since some C++ compilers masquerading as C compilers
13502 incorrectly reject 9223372036854775807. */
13503 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13504 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13505 && LARGE_OFF_T % 2147483647 == 1)
13506 ? 1 : -1];
13508 main ()
13512 return 0;
13514 _ACEOF
13515 rm -f conftest.$ac_objext
13516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13517 (eval $ac_compile) 2>conftest.er1
13518 ac_status=$?
13519 grep -v '^ *+' conftest.er1 >conftest.err
13520 rm -f conftest.er1
13521 cat conftest.err >&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } &&
13524 { ac_try='test -z "$ac_c_werror_flag"
13525 || test ! -s conftest.err'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13528 ac_status=$?
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; } &&
13531 { ac_try='test -s conftest.$ac_objext'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13534 ac_status=$?
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; }; then
13537 break
13538 else
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13543 rm -f conftest.err conftest.$ac_objext
13544 CC="$CC -n32"
13545 rm -f conftest.$ac_objext
13546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13547 (eval $ac_compile) 2>conftest.er1
13548 ac_status=$?
13549 grep -v '^ *+' conftest.er1 >conftest.err
13550 rm -f conftest.er1
13551 cat conftest.err >&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); } &&
13554 { ac_try='test -z "$ac_c_werror_flag"
13555 || test ! -s conftest.err'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13558 ac_status=$?
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; } &&
13561 { ac_try='test -s conftest.$ac_objext'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13564 ac_status=$?
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; }; then
13567 ac_cv_sys_largefile_CC=' -n32'; break
13568 else
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.$ac_ext >&5
13573 rm -f conftest.err conftest.$ac_objext
13574 break
13575 done
13576 CC=$ac_save_CC
13577 rm -f conftest.$ac_ext
13580 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13581 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13582 if test "$ac_cv_sys_largefile_CC" != no; then
13583 CC=$CC$ac_cv_sys_largefile_CC
13586 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13587 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13588 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 else
13591 while :; do
13592 ac_cv_sys_file_offset_bits=no
13593 cat >conftest.$ac_ext <<_ACEOF
13594 /* confdefs.h. */
13595 _ACEOF
13596 cat confdefs.h >>conftest.$ac_ext
13597 cat >>conftest.$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 #include <sys/types.h>
13600 /* Check that off_t can represent 2**63 - 1 correctly.
13601 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13602 since some C++ compilers masquerading as C compilers
13603 incorrectly reject 9223372036854775807. */
13604 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13605 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13606 && LARGE_OFF_T % 2147483647 == 1)
13607 ? 1 : -1];
13609 main ()
13613 return 0;
13615 _ACEOF
13616 rm -f conftest.$ac_objext
13617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13618 (eval $ac_compile) 2>conftest.er1
13619 ac_status=$?
13620 grep -v '^ *+' conftest.er1 >conftest.err
13621 rm -f conftest.er1
13622 cat conftest.err >&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } &&
13625 { ac_try='test -z "$ac_c_werror_flag"
13626 || test ! -s conftest.err'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; } &&
13632 { ac_try='test -s conftest.$ac_objext'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13635 ac_status=$?
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; }; then
13638 break
13639 else
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.$ac_ext >&5
13644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13645 cat >conftest.$ac_ext <<_ACEOF
13646 /* confdefs.h. */
13647 _ACEOF
13648 cat confdefs.h >>conftest.$ac_ext
13649 cat >>conftest.$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651 #define _FILE_OFFSET_BITS 64
13652 #include <sys/types.h>
13653 /* Check that off_t can represent 2**63 - 1 correctly.
13654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13655 since some C++ compilers masquerading as C compilers
13656 incorrectly reject 9223372036854775807. */
13657 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13659 && LARGE_OFF_T % 2147483647 == 1)
13660 ? 1 : -1];
13662 main ()
13666 return 0;
13668 _ACEOF
13669 rm -f conftest.$ac_objext
13670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13671 (eval $ac_compile) 2>conftest.er1
13672 ac_status=$?
13673 grep -v '^ *+' conftest.er1 >conftest.err
13674 rm -f conftest.er1
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try='test -z "$ac_c_werror_flag"
13679 || test ! -s conftest.err'
13680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5
13682 ac_status=$?
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; } &&
13685 { ac_try='test -s conftest.$ac_objext'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13688 ac_status=$?
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 ac_cv_sys_file_offset_bits=64; break
13692 else
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.$ac_ext >&5
13697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13698 break
13699 done
13701 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13702 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13703 if test "$ac_cv_sys_file_offset_bits" != no; then
13705 cat >>confdefs.h <<_ACEOF
13706 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13707 _ACEOF
13710 rm -f conftest*
13711 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13712 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13713 if test "${ac_cv_sys_large_files+set}" = set; then
13714 echo $ECHO_N "(cached) $ECHO_C" >&6
13715 else
13716 while :; do
13717 ac_cv_sys_large_files=no
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <sys/types.h>
13725 /* Check that off_t can represent 2**63 - 1 correctly.
13726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13727 since some C++ compilers masquerading as C compilers
13728 incorrectly reject 9223372036854775807. */
13729 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13731 && LARGE_OFF_T % 2147483647 == 1)
13732 ? 1 : -1];
13734 main ()
13738 return 0;
13740 _ACEOF
13741 rm -f conftest.$ac_objext
13742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13743 (eval $ac_compile) 2>conftest.er1
13744 ac_status=$?
13745 grep -v '^ *+' conftest.er1 >conftest.err
13746 rm -f conftest.er1
13747 cat conftest.err >&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try='test -z "$ac_c_werror_flag"
13751 || test ! -s conftest.err'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13754 ac_status=$?
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; } &&
13757 { ac_try='test -s conftest.$ac_objext'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13760 ac_status=$?
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; }; then
13763 break
13764 else
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13770 cat >conftest.$ac_ext <<_ACEOF
13771 /* confdefs.h. */
13772 _ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 #define _LARGE_FILES 1
13777 #include <sys/types.h>
13778 /* Check that off_t can represent 2**63 - 1 correctly.
13779 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13780 since some C++ compilers masquerading as C compilers
13781 incorrectly reject 9223372036854775807. */
13782 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13783 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13784 && LARGE_OFF_T % 2147483647 == 1)
13785 ? 1 : -1];
13787 main ()
13791 return 0;
13793 _ACEOF
13794 rm -f conftest.$ac_objext
13795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13796 (eval $ac_compile) 2>conftest.er1
13797 ac_status=$?
13798 grep -v '^ *+' conftest.er1 >conftest.err
13799 rm -f conftest.er1
13800 cat conftest.err >&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } &&
13803 { ac_try='test -z "$ac_c_werror_flag"
13804 || test ! -s conftest.err'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13807 ac_status=$?
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; } &&
13810 { ac_try='test -s conftest.$ac_objext'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13813 ac_status=$?
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; }; then
13816 ac_cv_sys_large_files=1; break
13817 else
13818 echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.$ac_ext >&5
13822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13823 break
13824 done
13826 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13827 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13828 if test "$ac_cv_sys_large_files" != no; then
13830 cat >>confdefs.h <<_ACEOF
13831 #define _LARGE_FILES $ac_cv_sys_large_files
13832 _ACEOF
13835 rm -f conftest*
13838 echo "$as_me:$LINENO: checking for off_t" >&5
13839 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13840 if test "${ac_cv_type_off_t+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 else
13843 cat >conftest.$ac_ext <<_ACEOF
13844 /* confdefs.h. */
13845 _ACEOF
13846 cat confdefs.h >>conftest.$ac_ext
13847 cat >>conftest.$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13849 $ac_includes_default
13851 main ()
13853 if ((off_t *) 0)
13854 return 0;
13855 if (sizeof (off_t))
13856 return 0;
13858 return 0;
13860 _ACEOF
13861 rm -f conftest.$ac_objext
13862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13863 (eval $ac_compile) 2>conftest.er1
13864 ac_status=$?
13865 grep -v '^ *+' conftest.er1 >conftest.err
13866 rm -f conftest.er1
13867 cat conftest.err >&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } &&
13870 { ac_try='test -z "$ac_c_werror_flag"
13871 || test ! -s conftest.err'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; } &&
13877 { ac_try='test -s conftest.$ac_objext'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13880 ac_status=$?
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; }; then
13883 ac_cv_type_off_t=yes
13884 else
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.$ac_ext >&5
13888 ac_cv_type_off_t=no
13890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13892 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13893 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13894 if test $ac_cv_type_off_t = yes; then
13896 else
13898 cat >>confdefs.h <<_ACEOF
13899 #define off_t long
13900 _ACEOF
13905 # check header files
13906 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13907 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13908 if test "${ac_cv_header_stdc+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 else
13911 cat >conftest.$ac_ext <<_ACEOF
13912 /* confdefs.h. */
13913 _ACEOF
13914 cat confdefs.h >>conftest.$ac_ext
13915 cat >>conftest.$ac_ext <<_ACEOF
13916 /* end confdefs.h. */
13917 #include <stdlib.h>
13918 #include <stdarg.h>
13919 #include <string.h>
13920 #include <float.h>
13923 main ()
13927 return 0;
13929 _ACEOF
13930 rm -f conftest.$ac_objext
13931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13932 (eval $ac_compile) 2>conftest.er1
13933 ac_status=$?
13934 grep -v '^ *+' conftest.er1 >conftest.err
13935 rm -f conftest.er1
13936 cat conftest.err >&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); } &&
13939 { ac_try='test -z "$ac_c_werror_flag"
13940 || test ! -s conftest.err'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13943 ac_status=$?
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; } &&
13946 { ac_try='test -s conftest.$ac_objext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13949 ac_status=$?
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_cv_header_stdc=yes
13953 else
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13957 ac_cv_header_stdc=no
13959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13961 if test $ac_cv_header_stdc = yes; then
13962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13963 cat >conftest.$ac_ext <<_ACEOF
13964 /* confdefs.h. */
13965 _ACEOF
13966 cat confdefs.h >>conftest.$ac_ext
13967 cat >>conftest.$ac_ext <<_ACEOF
13968 /* end confdefs.h. */
13969 #include <string.h>
13971 _ACEOF
13972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13973 $EGREP "memchr" >/dev/null 2>&1; then
13975 else
13976 ac_cv_header_stdc=no
13978 rm -f conftest*
13982 if test $ac_cv_header_stdc = yes; then
13983 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13984 cat >conftest.$ac_ext <<_ACEOF
13985 /* confdefs.h. */
13986 _ACEOF
13987 cat confdefs.h >>conftest.$ac_ext
13988 cat >>conftest.$ac_ext <<_ACEOF
13989 /* end confdefs.h. */
13990 #include <stdlib.h>
13992 _ACEOF
13993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13994 $EGREP "free" >/dev/null 2>&1; then
13996 else
13997 ac_cv_header_stdc=no
13999 rm -f conftest*
14003 if test $ac_cv_header_stdc = yes; then
14004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14005 if test "$cross_compiling" = yes; then
14007 else
14008 cat >conftest.$ac_ext <<_ACEOF
14009 /* confdefs.h. */
14010 _ACEOF
14011 cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 #include <ctype.h>
14015 #if ((' ' & 0x0FF) == 0x020)
14016 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14017 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14018 #else
14019 # define ISLOWER(c) \
14020 (('a' <= (c) && (c) <= 'i') \
14021 || ('j' <= (c) && (c) <= 'r') \
14022 || ('s' <= (c) && (c) <= 'z'))
14023 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14024 #endif
14026 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14028 main ()
14030 int i;
14031 for (i = 0; i < 256; i++)
14032 if (XOR (islower (i), ISLOWER (i))
14033 || toupper (i) != TOUPPER (i))
14034 exit(2);
14035 exit (0);
14037 _ACEOF
14038 rm -f conftest$ac_exeext
14039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14040 (eval $ac_link) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14045 (eval $ac_try) 2>&5
14046 ac_status=$?
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; }; then
14050 else
14051 echo "$as_me: program exited with status $ac_status" >&5
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14055 ( exit $ac_status )
14056 ac_cv_header_stdc=no
14058 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14062 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14063 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14064 if test $ac_cv_header_stdc = yes; then
14066 cat >>confdefs.h <<\_ACEOF
14067 #define STDC_HEADERS 1
14068 _ACEOF
14072 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14073 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14074 if test "${ac_cv_header_time+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 cat >conftest.$ac_ext <<_ACEOF
14078 /* confdefs.h. */
14079 _ACEOF
14080 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14083 #include <sys/types.h>
14084 #include <sys/time.h>
14085 #include <time.h>
14088 main ()
14090 if ((struct tm *) 0)
14091 return 0;
14093 return 0;
14095 _ACEOF
14096 rm -f conftest.$ac_objext
14097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14098 (eval $ac_compile) 2>conftest.er1
14099 ac_status=$?
14100 grep -v '^ *+' conftest.er1 >conftest.err
14101 rm -f conftest.er1
14102 cat conftest.err >&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); } &&
14105 { ac_try='test -z "$ac_c_werror_flag"
14106 || test ! -s conftest.err'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14109 ac_status=$?
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; } &&
14112 { ac_try='test -s conftest.$ac_objext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 ac_cv_header_time=yes
14119 else
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14123 ac_cv_header_time=no
14125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14127 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14128 echo "${ECHO_T}$ac_cv_header_time" >&6
14129 if test $ac_cv_header_time = yes; then
14131 cat >>confdefs.h <<\_ACEOF
14132 #define TIME_WITH_SYS_TIME 1
14133 _ACEOF
14143 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14147 echo "$as_me:$LINENO: checking for $ac_header" >&5
14148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14154 else
14155 # Is the header compilable?
14156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14158 cat >conftest.$ac_ext <<_ACEOF
14159 /* confdefs.h. */
14160 _ACEOF
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 $ac_includes_default
14165 #include <$ac_header>
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>conftest.er1
14170 ac_status=$?
14171 grep -v '^ *+' conftest.er1 >conftest.err
14172 rm -f conftest.er1
14173 cat conftest.err >&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try='test -z "$ac_c_werror_flag"
14177 || test ! -s conftest.err'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14180 ac_status=$?
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; } &&
14183 { ac_try='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14189 ac_header_compiler=yes
14190 else
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.$ac_ext >&5
14194 ac_header_compiler=no
14196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14198 echo "${ECHO_T}$ac_header_compiler" >&6
14200 # Is the header present?
14201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14203 cat >conftest.$ac_ext <<_ACEOF
14204 /* confdefs.h. */
14205 _ACEOF
14206 cat confdefs.h >>conftest.$ac_ext
14207 cat >>conftest.$ac_ext <<_ACEOF
14208 /* end confdefs.h. */
14209 #include <$ac_header>
14210 _ACEOF
14211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } >/dev/null; then
14219 if test -s conftest.err; then
14220 ac_cpp_err=$ac_c_preproc_warn_flag
14221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14222 else
14223 ac_cpp_err=
14225 else
14226 ac_cpp_err=yes
14228 if test -z "$ac_cpp_err"; then
14229 ac_header_preproc=yes
14230 else
14231 echo "$as_me: failed program was:" >&5
14232 sed 's/^/| /' conftest.$ac_ext >&5
14234 ac_header_preproc=no
14236 rm -f conftest.err conftest.$ac_ext
14237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14238 echo "${ECHO_T}$ac_header_preproc" >&6
14240 # So? What about this header?
14241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14242 yes:no: )
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14247 ac_header_preproc=yes
14249 no:yes:* )
14250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14263 cat <<\_ASBOX
14264 ## ------------------------------------------------------ ##
14265 ## Report this to the GNU Fortran Runtime Library lists. ##
14266 ## ------------------------------------------------------ ##
14267 _ASBOX
14269 sed "s/^/$as_me: WARNING: /" >&2
14271 esac
14272 echo "$as_me:$LINENO: checking for $ac_header" >&5
14273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 eval "$as_ac_Header=\$ac_header_preproc"
14279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14284 cat >>confdefs.h <<_ACEOF
14285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14286 _ACEOF
14290 done
14296 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14300 echo "$as_me:$LINENO: checking for $ac_header" >&5
14301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14303 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14307 else
14308 # Is the header compilable?
14309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14311 cat >conftest.$ac_ext <<_ACEOF
14312 /* confdefs.h. */
14313 _ACEOF
14314 cat confdefs.h >>conftest.$ac_ext
14315 cat >>conftest.$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 $ac_includes_default
14318 #include <$ac_header>
14319 _ACEOF
14320 rm -f conftest.$ac_objext
14321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14322 (eval $ac_compile) 2>conftest.er1
14323 ac_status=$?
14324 grep -v '^ *+' conftest.er1 >conftest.err
14325 rm -f conftest.er1
14326 cat conftest.err >&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try='test -z "$ac_c_werror_flag"
14330 || test ! -s conftest.err'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14333 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; } &&
14336 { ac_try='test -s conftest.$ac_objext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14339 ac_status=$?
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 ac_header_compiler=yes
14343 else
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14347 ac_header_compiler=no
14349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14351 echo "${ECHO_T}$ac_header_compiler" >&6
14353 # Is the header present?
14354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14356 cat >conftest.$ac_ext <<_ACEOF
14357 /* confdefs.h. */
14358 _ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 #include <$ac_header>
14363 _ACEOF
14364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14366 ac_status=$?
14367 grep -v '^ *+' conftest.er1 >conftest.err
14368 rm -f conftest.er1
14369 cat conftest.err >&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } >/dev/null; then
14372 if test -s conftest.err; then
14373 ac_cpp_err=$ac_c_preproc_warn_flag
14374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14375 else
14376 ac_cpp_err=
14378 else
14379 ac_cpp_err=yes
14381 if test -z "$ac_cpp_err"; then
14382 ac_header_preproc=yes
14383 else
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.$ac_ext >&5
14387 ac_header_preproc=no
14389 rm -f conftest.err conftest.$ac_ext
14390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14391 echo "${ECHO_T}$ac_header_preproc" >&6
14393 # So? What about this header?
14394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14395 yes:no: )
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14400 ac_header_preproc=yes
14402 no:yes:* )
14403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14416 cat <<\_ASBOX
14417 ## ------------------------------------------------------ ##
14418 ## Report this to the GNU Fortran Runtime Library lists. ##
14419 ## ------------------------------------------------------ ##
14420 _ASBOX
14422 sed "s/^/$as_me: WARNING: /" >&2
14424 esac
14425 echo "$as_me:$LINENO: checking for $ac_header" >&5
14426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 else
14430 eval "$as_ac_Header=\$ac_header_preproc"
14432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14437 cat >>confdefs.h <<_ACEOF
14438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14439 _ACEOF
14443 done
14450 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14454 echo "$as_me:$LINENO: checking for $ac_header" >&5
14455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14461 else
14462 # Is the header compilable?
14463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14465 cat >conftest.$ac_ext <<_ACEOF
14466 /* confdefs.h. */
14467 _ACEOF
14468 cat confdefs.h >>conftest.$ac_ext
14469 cat >>conftest.$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 $ac_includes_default
14472 #include <$ac_header>
14473 _ACEOF
14474 rm -f conftest.$ac_objext
14475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14476 (eval $ac_compile) 2>conftest.er1
14477 ac_status=$?
14478 grep -v '^ *+' conftest.er1 >conftest.err
14479 rm -f conftest.er1
14480 cat conftest.err >&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); } &&
14483 { ac_try='test -z "$ac_c_werror_flag"
14484 || test ! -s conftest.err'
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; } &&
14490 { ac_try='test -s conftest.$ac_objext'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14493 ac_status=$?
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; }; then
14496 ac_header_compiler=yes
14497 else
14498 echo "$as_me: failed program was:" >&5
14499 sed 's/^/| /' conftest.$ac_ext >&5
14501 ac_header_compiler=no
14503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14505 echo "${ECHO_T}$ac_header_compiler" >&6
14507 # Is the header present?
14508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14510 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h. */
14512 _ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 #include <$ac_header>
14517 _ACEOF
14518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14520 ac_status=$?
14521 grep -v '^ *+' conftest.er1 >conftest.err
14522 rm -f conftest.er1
14523 cat conftest.err >&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } >/dev/null; then
14526 if test -s conftest.err; then
14527 ac_cpp_err=$ac_c_preproc_warn_flag
14528 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14529 else
14530 ac_cpp_err=
14532 else
14533 ac_cpp_err=yes
14535 if test -z "$ac_cpp_err"; then
14536 ac_header_preproc=yes
14537 else
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.$ac_ext >&5
14541 ac_header_preproc=no
14543 rm -f conftest.err conftest.$ac_ext
14544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14545 echo "${ECHO_T}$ac_header_preproc" >&6
14547 # So? What about this header?
14548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14549 yes:no: )
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14554 ac_header_preproc=yes
14556 no:yes:* )
14557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14570 cat <<\_ASBOX
14571 ## ------------------------------------------------------ ##
14572 ## Report this to the GNU Fortran Runtime Library lists. ##
14573 ## ------------------------------------------------------ ##
14574 _ASBOX
14576 sed "s/^/$as_me: WARNING: /" >&2
14578 esac
14579 echo "$as_me:$LINENO: checking for $ac_header" >&5
14580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 else
14584 eval "$as_ac_Header=\$ac_header_preproc"
14586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14591 cat >>confdefs.h <<_ACEOF
14592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14593 _ACEOF
14597 done
14604 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14608 echo "$as_me:$LINENO: checking for $ac_header" >&5
14609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14615 else
14616 # Is the header compilable?
14617 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14619 cat >conftest.$ac_ext <<_ACEOF
14620 /* confdefs.h. */
14621 _ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14625 $ac_includes_default
14626 #include <$ac_header>
14627 _ACEOF
14628 rm -f conftest.$ac_objext
14629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14630 (eval $ac_compile) 2>conftest.er1
14631 ac_status=$?
14632 grep -v '^ *+' conftest.er1 >conftest.err
14633 rm -f conftest.er1
14634 cat conftest.err >&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } &&
14637 { ac_try='test -z "$ac_c_werror_flag"
14638 || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } &&
14644 { ac_try='test -s conftest.$ac_objext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14647 ac_status=$?
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14650 ac_header_compiler=yes
14651 else
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14655 ac_header_compiler=no
14657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14659 echo "${ECHO_T}$ac_header_compiler" >&6
14661 # Is the header present?
14662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14664 cat >conftest.$ac_ext <<_ACEOF
14665 /* confdefs.h. */
14666 _ACEOF
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 #include <$ac_header>
14671 _ACEOF
14672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14674 ac_status=$?
14675 grep -v '^ *+' conftest.er1 >conftest.err
14676 rm -f conftest.er1
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } >/dev/null; then
14680 if test -s conftest.err; then
14681 ac_cpp_err=$ac_c_preproc_warn_flag
14682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14683 else
14684 ac_cpp_err=
14686 else
14687 ac_cpp_err=yes
14689 if test -z "$ac_cpp_err"; then
14690 ac_header_preproc=yes
14691 else
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.$ac_ext >&5
14695 ac_header_preproc=no
14697 rm -f conftest.err conftest.$ac_ext
14698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14699 echo "${ECHO_T}$ac_header_preproc" >&6
14701 # So? What about this header?
14702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14703 yes:no: )
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14708 ac_header_preproc=yes
14710 no:yes:* )
14711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14724 cat <<\_ASBOX
14725 ## ------------------------------------------------------ ##
14726 ## Report this to the GNU Fortran Runtime Library lists. ##
14727 ## ------------------------------------------------------ ##
14728 _ASBOX
14730 sed "s/^/$as_me: WARNING: /" >&2
14732 esac
14733 echo "$as_me:$LINENO: checking for $ac_header" >&5
14734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 else
14738 eval "$as_ac_Header=\$ac_header_preproc"
14740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14745 cat >>confdefs.h <<_ACEOF
14746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14747 _ACEOF
14751 done
14753 if test "${ac_cv_header_complex_h+set}" = set; then
14754 echo "$as_me:$LINENO: checking for complex.h" >&5
14755 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14756 if test "${ac_cv_header_complex_h+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14760 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14761 else
14762 # Is the header compilable?
14763 echo "$as_me:$LINENO: checking complex.h usability" >&5
14764 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14765 cat >conftest.$ac_ext <<_ACEOF
14766 /* confdefs.h. */
14767 _ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 $ac_includes_default
14772 #include <complex.h>
14773 _ACEOF
14774 rm -f conftest.$ac_objext
14775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14776 (eval $ac_compile) 2>conftest.er1
14777 ac_status=$?
14778 grep -v '^ *+' conftest.er1 >conftest.err
14779 rm -f conftest.er1
14780 cat conftest.err >&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } &&
14783 { ac_try='test -z "$ac_c_werror_flag"
14784 || test ! -s conftest.err'
14785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14786 (eval $ac_try) 2>&5
14787 ac_status=$?
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; } &&
14790 { ac_try='test -s conftest.$ac_objext'
14791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14792 (eval $ac_try) 2>&5
14793 ac_status=$?
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); }; }; then
14796 ac_header_compiler=yes
14797 else
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14801 ac_header_compiler=no
14803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14805 echo "${ECHO_T}$ac_header_compiler" >&6
14807 # Is the header present?
14808 echo "$as_me:$LINENO: checking complex.h presence" >&5
14809 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14810 cat >conftest.$ac_ext <<_ACEOF
14811 /* confdefs.h. */
14812 _ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 #include <complex.h>
14817 _ACEOF
14818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14819 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14820 ac_status=$?
14821 grep -v '^ *+' conftest.er1 >conftest.err
14822 rm -f conftest.er1
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } >/dev/null; then
14826 if test -s conftest.err; then
14827 ac_cpp_err=$ac_c_preproc_warn_flag
14828 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14829 else
14830 ac_cpp_err=
14832 else
14833 ac_cpp_err=yes
14835 if test -z "$ac_cpp_err"; then
14836 ac_header_preproc=yes
14837 else
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.$ac_ext >&5
14841 ac_header_preproc=no
14843 rm -f conftest.err conftest.$ac_ext
14844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14845 echo "${ECHO_T}$ac_header_preproc" >&6
14847 # So? What about this header?
14848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14849 yes:no: )
14850 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14851 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14852 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14853 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14854 ac_header_preproc=yes
14856 no:yes:* )
14857 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14858 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14859 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
14860 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
14861 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14862 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14863 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
14864 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
14865 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14866 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14867 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14868 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14870 cat <<\_ASBOX
14871 ## ------------------------------------------------------ ##
14872 ## Report this to the GNU Fortran Runtime Library lists. ##
14873 ## ------------------------------------------------------ ##
14874 _ASBOX
14876 sed "s/^/$as_me: WARNING: /" >&2
14878 esac
14879 echo "$as_me:$LINENO: checking for complex.h" >&5
14880 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14881 if test "${ac_cv_header_complex_h+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884 ac_cv_header_complex_h=$ac_header_preproc
14886 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14887 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14890 if test $ac_cv_header_complex_h = yes; then
14892 cat >>confdefs.h <<\_ACEOF
14893 #define HAVE_COMPLEX_H 1
14894 _ACEOF
14901 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14903 acx_cv_header_stdint=stddef.h
14904 acx_cv_header_stdint_kind="(already complete)"
14905 for i in stdint.h $inttype_headers; do
14906 unset ac_cv_type_uintptr_t
14907 unset ac_cv_type_uintmax_t
14908 unset ac_cv_type_int_least32_t
14909 unset ac_cv_type_int_fast32_t
14910 unset ac_cv_type_uint64_t
14911 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14912 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14913 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14914 if test "${ac_cv_type_uintmax_t+set}" = set; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14916 else
14917 cat >conftest.$ac_ext <<_ACEOF
14918 /* confdefs.h. */
14919 _ACEOF
14920 cat confdefs.h >>conftest.$ac_ext
14921 cat >>conftest.$ac_ext <<_ACEOF
14922 /* end confdefs.h. */
14923 #include <sys/types.h>
14924 #include <$i>
14927 main ()
14929 if ((uintmax_t *) 0)
14930 return 0;
14931 if (sizeof (uintmax_t))
14932 return 0;
14934 return 0;
14936 _ACEOF
14937 rm -f conftest.$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>conftest.er1
14940 ac_status=$?
14941 grep -v '^ *+' conftest.er1 >conftest.err
14942 rm -f conftest.er1
14943 cat conftest.err >&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try='test -z "$ac_c_werror_flag"
14947 || test ! -s conftest.err'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; } &&
14953 { ac_try='test -s conftest.$ac_objext'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14956 ac_status=$?
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_cv_type_uintmax_t=yes
14960 else
14961 echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14964 ac_cv_type_uintmax_t=no
14966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14968 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14969 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14970 if test $ac_cv_type_uintmax_t = yes; then
14971 acx_cv_header_stdint=$i
14972 else
14973 continue
14976 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14977 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14978 if test "${ac_cv_type_uintptr_t+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 else
14981 cat >conftest.$ac_ext <<_ACEOF
14982 /* confdefs.h. */
14983 _ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 #include <sys/types.h>
14988 #include <$i>
14991 main ()
14993 if ((uintptr_t *) 0)
14994 return 0;
14995 if (sizeof (uintptr_t))
14996 return 0;
14998 return 0;
15000 _ACEOF
15001 rm -f conftest.$ac_objext
15002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15003 (eval $ac_compile) 2>conftest.er1
15004 ac_status=$?
15005 grep -v '^ *+' conftest.er1 >conftest.err
15006 rm -f conftest.er1
15007 cat conftest.err >&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); } &&
15010 { ac_try='test -z "$ac_c_werror_flag"
15011 || test ! -s conftest.err'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15014 ac_status=$?
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; } &&
15017 { ac_try='test -s conftest.$ac_objext'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15020 ac_status=$?
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; }; then
15023 ac_cv_type_uintptr_t=yes
15024 else
15025 echo "$as_me: failed program was:" >&5
15026 sed 's/^/| /' conftest.$ac_ext >&5
15028 ac_cv_type_uintptr_t=no
15030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15032 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15033 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15034 if test $ac_cv_type_uintptr_t = yes; then
15036 else
15037 acx_cv_header_stdint_kind="(mostly complete)"
15040 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15041 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15042 if test "${ac_cv_type_int_least32_t+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 else
15045 cat >conftest.$ac_ext <<_ACEOF
15046 /* confdefs.h. */
15047 _ACEOF
15048 cat confdefs.h >>conftest.$ac_ext
15049 cat >>conftest.$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15051 #include <sys/types.h>
15052 #include <$i>
15055 main ()
15057 if ((int_least32_t *) 0)
15058 return 0;
15059 if (sizeof (int_least32_t))
15060 return 0;
15062 return 0;
15064 _ACEOF
15065 rm -f conftest.$ac_objext
15066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15067 (eval $ac_compile) 2>conftest.er1
15068 ac_status=$?
15069 grep -v '^ *+' conftest.er1 >conftest.err
15070 rm -f conftest.er1
15071 cat conftest.err >&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); } &&
15074 { ac_try='test -z "$ac_c_werror_flag"
15075 || test ! -s conftest.err'
15076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15077 (eval $ac_try) 2>&5
15078 ac_status=$?
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; } &&
15081 { ac_try='test -s conftest.$ac_objext'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; }; then
15087 ac_cv_type_int_least32_t=yes
15088 else
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.$ac_ext >&5
15092 ac_cv_type_int_least32_t=no
15094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15096 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15097 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15098 if test $ac_cv_type_int_least32_t = yes; then
15100 else
15101 acx_cv_header_stdint_kind="(mostly complete)"
15104 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15105 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15106 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 else
15109 cat >conftest.$ac_ext <<_ACEOF
15110 /* confdefs.h. */
15111 _ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15115 #include <sys/types.h>
15116 #include <$i>
15119 main ()
15121 if ((int_fast32_t *) 0)
15122 return 0;
15123 if (sizeof (int_fast32_t))
15124 return 0;
15126 return 0;
15128 _ACEOF
15129 rm -f conftest.$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>conftest.er1
15132 ac_status=$?
15133 grep -v '^ *+' conftest.er1 >conftest.err
15134 rm -f conftest.er1
15135 cat conftest.err >&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try='test -z "$ac_c_werror_flag"
15139 || test ! -s conftest.err'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15142 ac_status=$?
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; } &&
15145 { ac_try='test -s conftest.$ac_objext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15148 ac_status=$?
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15151 ac_cv_type_int_fast32_t=yes
15152 else
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15156 ac_cv_type_int_fast32_t=no
15158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15160 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15161 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15162 if test $ac_cv_type_int_fast32_t = yes; then
15164 else
15165 acx_cv_header_stdint_kind="(mostly complete)"
15168 echo "$as_me:$LINENO: checking for uint64_t" >&5
15169 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15170 if test "${ac_cv_type_uint64_t+set}" = set; then
15171 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 else
15173 cat >conftest.$ac_ext <<_ACEOF
15174 /* confdefs.h. */
15175 _ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15179 #include <sys/types.h>
15180 #include <$i>
15183 main ()
15185 if ((uint64_t *) 0)
15186 return 0;
15187 if (sizeof (uint64_t))
15188 return 0;
15190 return 0;
15192 _ACEOF
15193 rm -f conftest.$ac_objext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15195 (eval $ac_compile) 2>conftest.er1
15196 ac_status=$?
15197 grep -v '^ *+' conftest.er1 >conftest.err
15198 rm -f conftest.er1
15199 cat conftest.err >&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } &&
15202 { ac_try='test -z "$ac_c_werror_flag"
15203 || test ! -s conftest.err'
15204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15205 (eval $ac_try) 2>&5
15206 ac_status=$?
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); }; } &&
15209 { ac_try='test -s conftest.$ac_objext'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15212 ac_status=$?
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; }; then
15215 ac_cv_type_uint64_t=yes
15216 else
15217 echo "$as_me: failed program was:" >&5
15218 sed 's/^/| /' conftest.$ac_ext >&5
15220 ac_cv_type_uint64_t=no
15222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15224 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15225 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15226 if test $ac_cv_type_uint64_t = yes; then
15228 else
15229 acx_cv_header_stdint_kind="(lacks uint64_t)"
15232 break
15233 done
15234 if test "$acx_cv_header_stdint" = stddef.h; then
15235 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15236 for i in stdint.h $inttype_headers; do
15237 unset ac_cv_type_uintptr_t
15238 unset ac_cv_type_uint32_t
15239 unset ac_cv_type_uint64_t
15240 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15241 echo "$as_me:$LINENO: checking for uint32_t" >&5
15242 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15243 if test "${ac_cv_type_uint32_t+set}" = set; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 else
15246 cat >conftest.$ac_ext <<_ACEOF
15247 /* confdefs.h. */
15248 _ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15252 #include <sys/types.h>
15253 #include <$i>
15256 main ()
15258 if ((uint32_t *) 0)
15259 return 0;
15260 if (sizeof (uint32_t))
15261 return 0;
15263 return 0;
15265 _ACEOF
15266 rm -f conftest.$ac_objext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15268 (eval $ac_compile) 2>conftest.er1
15269 ac_status=$?
15270 grep -v '^ *+' conftest.er1 >conftest.err
15271 rm -f conftest.er1
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } &&
15275 { ac_try='test -z "$ac_c_werror_flag"
15276 || test ! -s conftest.err'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; } &&
15282 { ac_try='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 ac_cv_type_uint32_t=yes
15289 else
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15293 ac_cv_type_uint32_t=no
15295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15297 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15298 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15299 if test $ac_cv_type_uint32_t = yes; then
15300 acx_cv_header_stdint=$i
15301 else
15302 continue
15305 echo "$as_me:$LINENO: checking for uint64_t" >&5
15306 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15307 if test "${ac_cv_type_uint64_t+set}" = set; then
15308 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 else
15310 cat >conftest.$ac_ext <<_ACEOF
15311 /* confdefs.h. */
15312 _ACEOF
15313 cat confdefs.h >>conftest.$ac_ext
15314 cat >>conftest.$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15316 #include <sys/types.h>
15317 #include <$i>
15320 main ()
15322 if ((uint64_t *) 0)
15323 return 0;
15324 if (sizeof (uint64_t))
15325 return 0;
15327 return 0;
15329 _ACEOF
15330 rm -f conftest.$ac_objext
15331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15332 (eval $ac_compile) 2>conftest.er1
15333 ac_status=$?
15334 grep -v '^ *+' conftest.er1 >conftest.err
15335 rm -f conftest.er1
15336 cat conftest.err >&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } &&
15339 { ac_try='test -z "$ac_c_werror_flag"
15340 || test ! -s conftest.err'
15341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15342 (eval $ac_try) 2>&5
15343 ac_status=$?
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); }; } &&
15346 { ac_try='test -s conftest.$ac_objext'
15347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15348 (eval $ac_try) 2>&5
15349 ac_status=$?
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; }; then
15352 ac_cv_type_uint64_t=yes
15353 else
15354 echo "$as_me: failed program was:" >&5
15355 sed 's/^/| /' conftest.$ac_ext >&5
15357 ac_cv_type_uint64_t=no
15359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15361 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15362 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15364 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15365 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15366 if test "${ac_cv_type_uintptr_t+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 cat >conftest.$ac_ext <<_ACEOF
15370 /* confdefs.h. */
15371 _ACEOF
15372 cat confdefs.h >>conftest.$ac_ext
15373 cat >>conftest.$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 #include <sys/types.h>
15376 #include <$i>
15379 main ()
15381 if ((uintptr_t *) 0)
15382 return 0;
15383 if (sizeof (uintptr_t))
15384 return 0;
15386 return 0;
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>conftest.er1
15392 ac_status=$?
15393 grep -v '^ *+' conftest.er1 >conftest.err
15394 rm -f conftest.er1
15395 cat conftest.err >&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try='test -z "$ac_c_werror_flag"
15399 || test ! -s conftest.err'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15402 ac_status=$?
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; } &&
15405 { ac_try='test -s conftest.$ac_objext'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15408 ac_status=$?
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; }; then
15411 ac_cv_type_uintptr_t=yes
15412 else
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15416 ac_cv_type_uintptr_t=no
15418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15420 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15421 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15423 break
15424 done
15426 if test "$acx_cv_header_stdint" = stddef.h; then
15427 acx_cv_header_stdint_kind="(u_intXX_t style)"
15428 for i in sys/types.h $inttype_headers; do
15429 unset ac_cv_type_u_int32_t
15430 unset ac_cv_type_u_int64_t
15431 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15432 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15433 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15434 if test "${ac_cv_type_u_int32_t+set}" = set; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 else
15437 cat >conftest.$ac_ext <<_ACEOF
15438 /* confdefs.h. */
15439 _ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 #include <sys/types.h>
15444 #include <$i>
15447 main ()
15449 if ((u_int32_t *) 0)
15450 return 0;
15451 if (sizeof (u_int32_t))
15452 return 0;
15454 return 0;
15456 _ACEOF
15457 rm -f conftest.$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15460 ac_status=$?
15461 grep -v '^ *+' conftest.er1 >conftest.err
15462 rm -f conftest.er1
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try='test -z "$ac_c_werror_flag"
15467 || test ! -s conftest.err'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15470 ac_status=$?
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; } &&
15473 { ac_try='test -s conftest.$ac_objext'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15476 ac_status=$?
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; }; then
15479 ac_cv_type_u_int32_t=yes
15480 else
15481 echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.$ac_ext >&5
15484 ac_cv_type_u_int32_t=no
15486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15488 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15489 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15490 if test $ac_cv_type_u_int32_t = yes; then
15491 acx_cv_header_stdint=$i
15492 else
15493 continue
15496 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15497 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15498 if test "${ac_cv_type_u_int64_t+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 else
15501 cat >conftest.$ac_ext <<_ACEOF
15502 /* confdefs.h. */
15503 _ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507 #include <sys/types.h>
15508 #include <$i>
15511 main ()
15513 if ((u_int64_t *) 0)
15514 return 0;
15515 if (sizeof (u_int64_t))
15516 return 0;
15518 return 0;
15520 _ACEOF
15521 rm -f conftest.$ac_objext
15522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15523 (eval $ac_compile) 2>conftest.er1
15524 ac_status=$?
15525 grep -v '^ *+' conftest.er1 >conftest.err
15526 rm -f conftest.er1
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } &&
15530 { ac_try='test -z "$ac_c_werror_flag"
15531 || test ! -s conftest.err'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_type_u_int64_t=yes
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15548 ac_cv_type_u_int64_t=no
15550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15552 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15553 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15555 break
15556 done
15558 if test "$acx_cv_header_stdint" = stddef.h; then
15559 acx_cv_header_stdint_kind="(using manual detection)"
15562 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15563 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15564 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15565 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15566 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15568 # ----------------- Summarize what we found so far
15570 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15571 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15573 case `$as_basename gstdint.h ||
15574 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15575 Xgstdint.h : 'X\(//\)$' \| \
15576 Xgstdint.h : 'X\(/\)$' \| \
15577 . : '\(.\)' 2>/dev/null ||
15578 echo X/gstdint.h |
15579 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15580 /^X\/\(\/\/\)$/{ s//\1/; q; }
15581 /^X\/\(\/\).*/{ s//\1/; q; }
15582 s/.*/./; q'` in
15583 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15584 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15585 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15586 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15587 *) ;;
15588 esac
15590 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15591 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15593 # ----------------- done included file, check C basic types --------
15595 # Lacking an uintptr_t? Test size of void *
15596 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15597 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15598 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15599 if test "${ac_cv_type_void_p+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15610 main ()
15612 if ((void * *) 0)
15613 return 0;
15614 if (sizeof (void *))
15615 return 0;
15617 return 0;
15619 _ACEOF
15620 rm -f conftest.$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15623 ac_status=$?
15624 grep -v '^ *+' conftest.er1 >conftest.err
15625 rm -f conftest.er1
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try='test -z "$ac_c_werror_flag"
15630 || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 ac_cv_type_void_p=yes
15643 else
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15647 ac_cv_type_void_p=no
15649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15651 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15652 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15654 echo "$as_me:$LINENO: checking size of void *" >&5
15655 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15656 if test "${ac_cv_sizeof_void_p+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 if test "$ac_cv_type_void_p" = yes; then
15660 # The cast to unsigned long works around a bug in the HP C Compiler
15661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15663 # This bug is HP SR number 8606223364.
15664 if test "$cross_compiling" = yes; then
15665 # Depending upon the size, compute the lo and hi bounds.
15666 cat >conftest.$ac_ext <<_ACEOF
15667 /* confdefs.h. */
15668 _ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15674 main ()
15676 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15677 test_array [0] = 0
15680 return 0;
15682 _ACEOF
15683 rm -f conftest.$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -z "$ac_c_werror_flag"
15693 || test ! -s conftest.err'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15696 ac_status=$?
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; } &&
15699 { ac_try='test -s conftest.$ac_objext'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; }; then
15705 ac_lo=0 ac_mid=0
15706 while :; do
15707 cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h. */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713 $ac_includes_default
15715 main ()
15717 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15718 test_array [0] = 0
15721 return 0;
15723 _ACEOF
15724 rm -f conftest.$ac_objext
15725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15726 (eval $ac_compile) 2>conftest.er1
15727 ac_status=$?
15728 grep -v '^ *+' conftest.er1 >conftest.err
15729 rm -f conftest.er1
15730 cat conftest.err >&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try='test -z "$ac_c_werror_flag"
15734 || test ! -s conftest.err'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; } &&
15740 { ac_try='test -s conftest.$ac_objext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15743 ac_status=$?
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15746 ac_hi=$ac_mid; break
15747 else
15748 echo "$as_me: failed program was:" >&5
15749 sed 's/^/| /' conftest.$ac_ext >&5
15751 ac_lo=`expr $ac_mid + 1`
15752 if test $ac_lo -le $ac_mid; then
15753 ac_lo= ac_hi=
15754 break
15756 ac_mid=`expr 2 '*' $ac_mid + 1`
15758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15759 done
15760 else
15761 echo "$as_me: failed program was:" >&5
15762 sed 's/^/| /' conftest.$ac_ext >&5
15764 cat >conftest.$ac_ext <<_ACEOF
15765 /* confdefs.h. */
15766 _ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 $ac_includes_default
15772 main ()
15774 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15775 test_array [0] = 0
15778 return 0;
15780 _ACEOF
15781 rm -f conftest.$ac_objext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>conftest.er1
15784 ac_status=$?
15785 grep -v '^ *+' conftest.er1 >conftest.err
15786 rm -f conftest.er1
15787 cat conftest.err >&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } &&
15790 { ac_try='test -z "$ac_c_werror_flag"
15791 || test ! -s conftest.err'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15794 ac_status=$?
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; } &&
15797 { ac_try='test -s conftest.$ac_objext'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_hi=-1 ac_mid=-1
15804 while :; do
15805 cat >conftest.$ac_ext <<_ACEOF
15806 /* confdefs.h. */
15807 _ACEOF
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 $ac_includes_default
15813 main ()
15815 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15816 test_array [0] = 0
15819 return 0;
15821 _ACEOF
15822 rm -f conftest.$ac_objext
15823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15824 (eval $ac_compile) 2>conftest.er1
15825 ac_status=$?
15826 grep -v '^ *+' conftest.er1 >conftest.err
15827 rm -f conftest.er1
15828 cat conftest.err >&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try='test -z "$ac_c_werror_flag"
15832 || test ! -s conftest.err'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15835 ac_status=$?
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; } &&
15838 { ac_try='test -s conftest.$ac_objext'
15839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15840 (eval $ac_try) 2>&5
15841 ac_status=$?
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); }; }; then
15844 ac_lo=$ac_mid; break
15845 else
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.$ac_ext >&5
15849 ac_hi=`expr '(' $ac_mid ')' - 1`
15850 if test $ac_mid -le $ac_hi; then
15851 ac_lo= ac_hi=
15852 break
15854 ac_mid=`expr 2 '*' $ac_mid`
15856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15857 done
15858 else
15859 echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.$ac_ext >&5
15862 ac_lo= ac_hi=
15864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15867 # Binary search between lo and hi bounds.
15868 while test "x$ac_lo" != "x$ac_hi"; do
15869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15878 main ()
15880 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15881 test_array [0] = 0
15884 return 0;
15886 _ACEOF
15887 rm -f conftest.$ac_objext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15889 (eval $ac_compile) 2>conftest.er1
15890 ac_status=$?
15891 grep -v '^ *+' conftest.er1 >conftest.err
15892 rm -f conftest.er1
15893 cat conftest.err >&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } &&
15896 { ac_try='test -z "$ac_c_werror_flag"
15897 || test ! -s conftest.err'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; } &&
15903 { ac_try='test -s conftest.$ac_objext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 ac_hi=$ac_mid
15910 else
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.$ac_ext >&5
15914 ac_lo=`expr '(' $ac_mid ')' + 1`
15916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15917 done
15918 case $ac_lo in
15919 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15920 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15921 See \`config.log' for more details." >&5
15922 echo "$as_me: error: cannot compute sizeof (void *), 77
15923 See \`config.log' for more details." >&2;}
15924 { (exit 1); exit 1; }; } ;;
15925 esac
15926 else
15927 if test "$cross_compiling" = yes; then
15928 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15929 See \`config.log' for more details." >&5
15930 echo "$as_me: error: cannot run test program while cross compiling
15931 See \`config.log' for more details." >&2;}
15932 { (exit 1); exit 1; }; }
15933 else
15934 cat >conftest.$ac_ext <<_ACEOF
15935 /* confdefs.h. */
15936 _ACEOF
15937 cat confdefs.h >>conftest.$ac_ext
15938 cat >>conftest.$ac_ext <<_ACEOF
15939 /* end confdefs.h. */
15940 $ac_includes_default
15941 long longval () { return (long) (sizeof (void *)); }
15942 unsigned long ulongval () { return (long) (sizeof (void *)); }
15943 #include <stdio.h>
15944 #include <stdlib.h>
15946 main ()
15949 FILE *f = fopen ("conftest.val", "w");
15950 if (! f)
15951 exit (1);
15952 if (((long) (sizeof (void *))) < 0)
15954 long i = longval ();
15955 if (i != ((long) (sizeof (void *))))
15956 exit (1);
15957 fprintf (f, "%ld\n", i);
15959 else
15961 unsigned long i = ulongval ();
15962 if (i != ((long) (sizeof (void *))))
15963 exit (1);
15964 fprintf (f, "%lu\n", i);
15966 exit (ferror (f) || fclose (f) != 0);
15969 return 0;
15971 _ACEOF
15972 rm -f conftest$ac_exeext
15973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15974 (eval $ac_link) 2>&5
15975 ac_status=$?
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 ac_cv_sizeof_void_p=`cat conftest.val`
15984 else
15985 echo "$as_me: program exited with status $ac_status" >&5
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15989 ( exit $ac_status )
15990 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15991 See \`config.log' for more details." >&5
15992 echo "$as_me: error: cannot compute sizeof (void *), 77
15993 See \`config.log' for more details." >&2;}
15994 { (exit 1); exit 1; }; }
15996 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15999 rm -f conftest.val
16000 else
16001 ac_cv_sizeof_void_p=0
16004 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16005 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16006 cat >>confdefs.h <<_ACEOF
16007 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16008 _ACEOF
16011 esac
16013 # Lacking an uint64_t? Test size of long
16014 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16015 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16016 echo $ECHO_N "checking for long... $ECHO_C" >&6
16017 if test "${ac_cv_type_long+set}" = set; then
16018 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 else
16020 cat >conftest.$ac_ext <<_ACEOF
16021 /* confdefs.h. */
16022 _ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16026 $ac_includes_default
16028 main ()
16030 if ((long *) 0)
16031 return 0;
16032 if (sizeof (long))
16033 return 0;
16035 return 0;
16037 _ACEOF
16038 rm -f conftest.$ac_objext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16040 (eval $ac_compile) 2>conftest.er1
16041 ac_status=$?
16042 grep -v '^ *+' conftest.er1 >conftest.err
16043 rm -f conftest.er1
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try='test -z "$ac_c_werror_flag"
16048 || test ! -s conftest.err'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; } &&
16054 { ac_try='test -s conftest.$ac_objext'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16057 ac_status=$?
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; }; then
16060 ac_cv_type_long=yes
16061 else
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.$ac_ext >&5
16065 ac_cv_type_long=no
16067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16069 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16070 echo "${ECHO_T}$ac_cv_type_long" >&6
16072 echo "$as_me:$LINENO: checking size of long" >&5
16073 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16074 if test "${ac_cv_sizeof_long+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 else
16077 if test "$ac_cv_type_long" = yes; then
16078 # The cast to unsigned long works around a bug in the HP C Compiler
16079 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16080 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16081 # This bug is HP SR number 8606223364.
16082 if test "$cross_compiling" = yes; then
16083 # Depending upon the size, compute the lo and hi bounds.
16084 cat >conftest.$ac_ext <<_ACEOF
16085 /* confdefs.h. */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 $ac_includes_default
16092 main ()
16094 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16095 test_array [0] = 0
16098 return 0;
16100 _ACEOF
16101 rm -f conftest.$ac_objext
16102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16103 (eval $ac_compile) 2>conftest.er1
16104 ac_status=$?
16105 grep -v '^ *+' conftest.er1 >conftest.err
16106 rm -f conftest.er1
16107 cat conftest.err >&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } &&
16110 { ac_try='test -z "$ac_c_werror_flag"
16111 || test ! -s conftest.err'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16114 ac_status=$?
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; } &&
16117 { ac_try='test -s conftest.$ac_objext'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; }; then
16123 ac_lo=0 ac_mid=0
16124 while :; do
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 $ac_includes_default
16133 main ()
16135 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16136 test_array [0] = 0
16139 return 0;
16141 _ACEOF
16142 rm -f conftest.$ac_objext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16144 (eval $ac_compile) 2>conftest.er1
16145 ac_status=$?
16146 grep -v '^ *+' conftest.er1 >conftest.err
16147 rm -f conftest.er1
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } &&
16151 { ac_try='test -z "$ac_c_werror_flag"
16152 || test ! -s conftest.err'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; } &&
16158 { ac_try='test -s conftest.$ac_objext'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16161 ac_status=$?
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; }; then
16164 ac_hi=$ac_mid; break
16165 else
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.$ac_ext >&5
16169 ac_lo=`expr $ac_mid + 1`
16170 if test $ac_lo -le $ac_mid; then
16171 ac_lo= ac_hi=
16172 break
16174 ac_mid=`expr 2 '*' $ac_mid + 1`
16176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16177 done
16178 else
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16182 cat >conftest.$ac_ext <<_ACEOF
16183 /* confdefs.h. */
16184 _ACEOF
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 $ac_includes_default
16190 main ()
16192 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16193 test_array [0] = 0
16196 return 0;
16198 _ACEOF
16199 rm -f conftest.$ac_objext
16200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16201 (eval $ac_compile) 2>conftest.er1
16202 ac_status=$?
16203 grep -v '^ *+' conftest.er1 >conftest.err
16204 rm -f conftest.er1
16205 cat conftest.err >&5
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); } &&
16208 { ac_try='test -z "$ac_c_werror_flag"
16209 || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16212 ac_status=$?
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16218 ac_status=$?
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_hi=-1 ac_mid=-1
16222 while :; do
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h. */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16229 $ac_includes_default
16231 main ()
16233 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16234 test_array [0] = 0
16237 return 0;
16239 _ACEOF
16240 rm -f conftest.$ac_objext
16241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16242 (eval $ac_compile) 2>conftest.er1
16243 ac_status=$?
16244 grep -v '^ *+' conftest.er1 >conftest.err
16245 rm -f conftest.er1
16246 cat conftest.err >&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); } &&
16249 { ac_try='test -z "$ac_c_werror_flag"
16250 || test ! -s conftest.err'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16253 ac_status=$?
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; } &&
16256 { ac_try='test -s conftest.$ac_objext'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16259 ac_status=$?
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; }; then
16262 ac_lo=$ac_mid; break
16263 else
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16267 ac_hi=`expr '(' $ac_mid ')' - 1`
16268 if test $ac_mid -le $ac_hi; then
16269 ac_lo= ac_hi=
16270 break
16272 ac_mid=`expr 2 '*' $ac_mid`
16274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16275 done
16276 else
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.$ac_ext >&5
16280 ac_lo= ac_hi=
16282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16285 # Binary search between lo and hi bounds.
16286 while test "x$ac_lo" != "x$ac_hi"; do
16287 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16288 cat >conftest.$ac_ext <<_ACEOF
16289 /* confdefs.h. */
16290 _ACEOF
16291 cat confdefs.h >>conftest.$ac_ext
16292 cat >>conftest.$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16294 $ac_includes_default
16296 main ()
16298 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16299 test_array [0] = 0
16302 return 0;
16304 _ACEOF
16305 rm -f conftest.$ac_objext
16306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16307 (eval $ac_compile) 2>conftest.er1
16308 ac_status=$?
16309 grep -v '^ *+' conftest.er1 >conftest.err
16310 rm -f conftest.er1
16311 cat conftest.err >&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } &&
16314 { ac_try='test -z "$ac_c_werror_flag"
16315 || test ! -s conftest.err'
16316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16317 (eval $ac_try) 2>&5
16318 ac_status=$?
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }; } &&
16321 { ac_try='test -s conftest.$ac_objext'
16322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 (eval $ac_try) 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; }; then
16327 ac_hi=$ac_mid
16328 else
16329 echo "$as_me: failed program was:" >&5
16330 sed 's/^/| /' conftest.$ac_ext >&5
16332 ac_lo=`expr '(' $ac_mid ')' + 1`
16334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16335 done
16336 case $ac_lo in
16337 ?*) ac_cv_sizeof_long=$ac_lo;;
16338 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16339 See \`config.log' for more details." >&5
16340 echo "$as_me: error: cannot compute sizeof (long), 77
16341 See \`config.log' for more details." >&2;}
16342 { (exit 1); exit 1; }; } ;;
16343 esac
16344 else
16345 if test "$cross_compiling" = yes; then
16346 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16347 See \`config.log' for more details." >&5
16348 echo "$as_me: error: cannot run test program while cross compiling
16349 See \`config.log' for more details." >&2;}
16350 { (exit 1); exit 1; }; }
16351 else
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16359 long longval () { return (long) (sizeof (long)); }
16360 unsigned long ulongval () { return (long) (sizeof (long)); }
16361 #include <stdio.h>
16362 #include <stdlib.h>
16364 main ()
16367 FILE *f = fopen ("conftest.val", "w");
16368 if (! f)
16369 exit (1);
16370 if (((long) (sizeof (long))) < 0)
16372 long i = longval ();
16373 if (i != ((long) (sizeof (long))))
16374 exit (1);
16375 fprintf (f, "%ld\n", i);
16377 else
16379 unsigned long i = ulongval ();
16380 if (i != ((long) (sizeof (long))))
16381 exit (1);
16382 fprintf (f, "%lu\n", i);
16384 exit (ferror (f) || fclose (f) != 0);
16387 return 0;
16389 _ACEOF
16390 rm -f conftest$ac_exeext
16391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16392 (eval $ac_link) 2>&5
16393 ac_status=$?
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16398 ac_status=$?
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_cv_sizeof_long=`cat conftest.val`
16402 else
16403 echo "$as_me: program exited with status $ac_status" >&5
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.$ac_ext >&5
16407 ( exit $ac_status )
16408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16409 See \`config.log' for more details." >&5
16410 echo "$as_me: error: cannot compute sizeof (long), 77
16411 See \`config.log' for more details." >&2;}
16412 { (exit 1); exit 1; }; }
16414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16417 rm -f conftest.val
16418 else
16419 ac_cv_sizeof_long=0
16422 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16423 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16424 cat >>confdefs.h <<_ACEOF
16425 #define SIZEOF_LONG $ac_cv_sizeof_long
16426 _ACEOF
16429 esac
16431 if test $acx_cv_header_stdint = stddef.h; then
16432 # Lacking a good header? Test size of everything and deduce all types.
16433 echo "$as_me:$LINENO: checking for int" >&5
16434 echo $ECHO_N "checking for int... $ECHO_C" >&6
16435 if test "${ac_cv_type_int+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 cat >conftest.$ac_ext <<_ACEOF
16439 /* confdefs.h. */
16440 _ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444 $ac_includes_default
16446 main ()
16448 if ((int *) 0)
16449 return 0;
16450 if (sizeof (int))
16451 return 0;
16453 return 0;
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16459 ac_status=$?
16460 grep -v '^ *+' conftest.er1 >conftest.err
16461 rm -f conftest.er1
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try='test -z "$ac_c_werror_flag"
16466 || test ! -s conftest.err'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16469 ac_status=$?
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; } &&
16472 { ac_try='test -s conftest.$ac_objext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_cv_type_int=yes
16479 else
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 ac_cv_type_int=no
16485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16487 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16488 echo "${ECHO_T}$ac_cv_type_int" >&6
16490 echo "$as_me:$LINENO: checking size of int" >&5
16491 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16492 if test "${ac_cv_sizeof_int+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 else
16495 if test "$ac_cv_type_int" = yes; then
16496 # The cast to unsigned long works around a bug in the HP C Compiler
16497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16499 # This bug is HP SR number 8606223364.
16500 if test "$cross_compiling" = yes; then
16501 # Depending upon the size, compute the lo and hi bounds.
16502 cat >conftest.$ac_ext <<_ACEOF
16503 /* confdefs.h. */
16504 _ACEOF
16505 cat confdefs.h >>conftest.$ac_ext
16506 cat >>conftest.$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $ac_includes_default
16510 main ()
16512 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16513 test_array [0] = 0
16516 return 0;
16518 _ACEOF
16519 rm -f conftest.$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try='test -z "$ac_c_werror_flag"
16529 || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16532 ac_status=$?
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try='test -s conftest.$ac_objext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 ac_lo=0 ac_mid=0
16542 while :; do
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16551 main ()
16553 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16554 test_array [0] = 0
16557 return 0;
16559 _ACEOF
16560 rm -f conftest.$ac_objext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16562 (eval $ac_compile) 2>conftest.er1
16563 ac_status=$?
16564 grep -v '^ *+' conftest.er1 >conftest.err
16565 rm -f conftest.er1
16566 cat conftest.err >&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } &&
16569 { ac_try='test -z "$ac_c_werror_flag"
16570 || test ! -s conftest.err'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; } &&
16576 { ac_try='test -s conftest.$ac_objext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16582 ac_hi=$ac_mid; break
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 ac_lo=`expr $ac_mid + 1`
16588 if test $ac_lo -le $ac_mid; then
16589 ac_lo= ac_hi=
16590 break
16592 ac_mid=`expr 2 '*' $ac_mid + 1`
16594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16595 done
16596 else
16597 echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.$ac_ext >&5
16600 cat >conftest.$ac_ext <<_ACEOF
16601 /* confdefs.h. */
16602 _ACEOF
16603 cat confdefs.h >>conftest.$ac_ext
16604 cat >>conftest.$ac_ext <<_ACEOF
16605 /* end confdefs.h. */
16606 $ac_includes_default
16608 main ()
16610 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16611 test_array [0] = 0
16614 return 0;
16616 _ACEOF
16617 rm -f conftest.$ac_objext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16619 (eval $ac_compile) 2>conftest.er1
16620 ac_status=$?
16621 grep -v '^ *+' conftest.er1 >conftest.err
16622 rm -f conftest.er1
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } &&
16626 { ac_try='test -z "$ac_c_werror_flag"
16627 || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_hi=-1 ac_mid=-1
16640 while :; do
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16649 main ()
16651 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16652 test_array [0] = 0
16655 return 0;
16657 _ACEOF
16658 rm -f conftest.$ac_objext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660 (eval $ac_compile) 2>conftest.er1
16661 ac_status=$?
16662 grep -v '^ *+' conftest.er1 >conftest.err
16663 rm -f conftest.er1
16664 cat conftest.err >&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try='test -z "$ac_c_werror_flag"
16668 || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_lo=$ac_mid; break
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 ac_hi=`expr '(' $ac_mid ')' - 1`
16686 if test $ac_mid -le $ac_hi; then
16687 ac_lo= ac_hi=
16688 break
16690 ac_mid=`expr 2 '*' $ac_mid`
16692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16693 done
16694 else
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16698 ac_lo= ac_hi=
16700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16703 # Binary search between lo and hi bounds.
16704 while test "x$ac_lo" != "x$ac_hi"; do
16705 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712 $ac_includes_default
16714 main ()
16716 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16717 test_array [0] = 0
16720 return 0;
16722 _ACEOF
16723 rm -f conftest.$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725 (eval $ac_compile) 2>conftest.er1
16726 ac_status=$?
16727 grep -v '^ *+' conftest.er1 >conftest.err
16728 rm -f conftest.er1
16729 cat conftest.err >&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try='test -z "$ac_c_werror_flag"
16733 || test ! -s conftest.err'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16736 ac_status=$?
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; } &&
16739 { ac_try='test -s conftest.$ac_objext'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16742 ac_status=$?
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; }; then
16745 ac_hi=$ac_mid
16746 else
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.$ac_ext >&5
16750 ac_lo=`expr '(' $ac_mid ')' + 1`
16752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16753 done
16754 case $ac_lo in
16755 ?*) ac_cv_sizeof_int=$ac_lo;;
16756 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16757 See \`config.log' for more details." >&5
16758 echo "$as_me: error: cannot compute sizeof (int), 77
16759 See \`config.log' for more details." >&2;}
16760 { (exit 1); exit 1; }; } ;;
16761 esac
16762 else
16763 if test "$cross_compiling" = yes; then
16764 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16765 See \`config.log' for more details." >&5
16766 echo "$as_me: error: cannot run test program while cross compiling
16767 See \`config.log' for more details." >&2;}
16768 { (exit 1); exit 1; }; }
16769 else
16770 cat >conftest.$ac_ext <<_ACEOF
16771 /* confdefs.h. */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 $ac_includes_default
16777 long longval () { return (long) (sizeof (int)); }
16778 unsigned long ulongval () { return (long) (sizeof (int)); }
16779 #include <stdio.h>
16780 #include <stdlib.h>
16782 main ()
16785 FILE *f = fopen ("conftest.val", "w");
16786 if (! f)
16787 exit (1);
16788 if (((long) (sizeof (int))) < 0)
16790 long i = longval ();
16791 if (i != ((long) (sizeof (int))))
16792 exit (1);
16793 fprintf (f, "%ld\n", i);
16795 else
16797 unsigned long i = ulongval ();
16798 if (i != ((long) (sizeof (int))))
16799 exit (1);
16800 fprintf (f, "%lu\n", i);
16802 exit (ferror (f) || fclose (f) != 0);
16805 return 0;
16807 _ACEOF
16808 rm -f conftest$ac_exeext
16809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16810 (eval $ac_link) 2>&5
16811 ac_status=$?
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 ac_cv_sizeof_int=`cat conftest.val`
16820 else
16821 echo "$as_me: program exited with status $ac_status" >&5
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.$ac_ext >&5
16825 ( exit $ac_status )
16826 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16827 See \`config.log' for more details." >&5
16828 echo "$as_me: error: cannot compute sizeof (int), 77
16829 See \`config.log' for more details." >&2;}
16830 { (exit 1); exit 1; }; }
16832 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16835 rm -f conftest.val
16836 else
16837 ac_cv_sizeof_int=0
16840 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16841 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16842 cat >>confdefs.h <<_ACEOF
16843 #define SIZEOF_INT $ac_cv_sizeof_int
16844 _ACEOF
16847 echo "$as_me:$LINENO: checking for short" >&5
16848 echo $ECHO_N "checking for short... $ECHO_C" >&6
16849 if test "${ac_cv_type_short+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 cat >conftest.$ac_ext <<_ACEOF
16853 /* confdefs.h. */
16854 _ACEOF
16855 cat confdefs.h >>conftest.$ac_ext
16856 cat >>conftest.$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16858 $ac_includes_default
16860 main ()
16862 if ((short *) 0)
16863 return 0;
16864 if (sizeof (short))
16865 return 0;
16867 return 0;
16869 _ACEOF
16870 rm -f conftest.$ac_objext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16872 (eval $ac_compile) 2>conftest.er1
16873 ac_status=$?
16874 grep -v '^ *+' conftest.er1 >conftest.err
16875 rm -f conftest.er1
16876 cat conftest.err >&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } &&
16879 { ac_try='test -z "$ac_c_werror_flag"
16880 || test ! -s conftest.err'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16883 ac_status=$?
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; } &&
16886 { ac_try='test -s conftest.$ac_objext'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16889 ac_status=$?
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; }; then
16892 ac_cv_type_short=yes
16893 else
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.$ac_ext >&5
16897 ac_cv_type_short=no
16899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16901 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16902 echo "${ECHO_T}$ac_cv_type_short" >&6
16904 echo "$as_me:$LINENO: checking size of short" >&5
16905 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16906 if test "${ac_cv_sizeof_short+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 else
16909 if test "$ac_cv_type_short" = yes; then
16910 # The cast to unsigned long works around a bug in the HP C Compiler
16911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16913 # This bug is HP SR number 8606223364.
16914 if test "$cross_compiling" = yes; then
16915 # Depending upon the size, compute the lo and hi bounds.
16916 cat >conftest.$ac_ext <<_ACEOF
16917 /* confdefs.h. */
16918 _ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 $ac_includes_default
16924 main ()
16926 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16927 test_array [0] = 0
16930 return 0;
16932 _ACEOF
16933 rm -f conftest.$ac_objext
16934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16935 (eval $ac_compile) 2>conftest.er1
16936 ac_status=$?
16937 grep -v '^ *+' conftest.er1 >conftest.err
16938 rm -f conftest.er1
16939 cat conftest.err >&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try='test -z "$ac_c_werror_flag"
16943 || test ! -s conftest.err'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try='test -s conftest.$ac_objext'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16955 ac_lo=0 ac_mid=0
16956 while :; do
16957 cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h. */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16965 main ()
16967 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16968 test_array [0] = 0
16971 return 0;
16973 _ACEOF
16974 rm -f conftest.$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try='test -z "$ac_c_werror_flag"
16984 || test ! -s conftest.err'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16987 ac_status=$?
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; } &&
16990 { ac_try='test -s conftest.$ac_objext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16993 ac_status=$?
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_hi=$ac_mid; break
16997 else
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17001 ac_lo=`expr $ac_mid + 1`
17002 if test $ac_lo -le $ac_mid; then
17003 ac_lo= ac_hi=
17004 break
17006 ac_mid=`expr 2 '*' $ac_mid + 1`
17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17009 done
17010 else
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17014 cat >conftest.$ac_ext <<_ACEOF
17015 /* confdefs.h. */
17016 _ACEOF
17017 cat confdefs.h >>conftest.$ac_ext
17018 cat >>conftest.$ac_ext <<_ACEOF
17019 /* end confdefs.h. */
17020 $ac_includes_default
17022 main ()
17024 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17025 test_array [0] = 0
17028 return 0;
17030 _ACEOF
17031 rm -f conftest.$ac_objext
17032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17033 (eval $ac_compile) 2>conftest.er1
17034 ac_status=$?
17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } &&
17040 { ac_try='test -z "$ac_c_werror_flag"
17041 || test ! -s conftest.err'
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; } &&
17047 { ac_try='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_hi=-1 ac_mid=-1
17054 while :; do
17055 cat >conftest.$ac_ext <<_ACEOF
17056 /* confdefs.h. */
17057 _ACEOF
17058 cat confdefs.h >>conftest.$ac_ext
17059 cat >>conftest.$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 $ac_includes_default
17063 main ()
17065 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17066 test_array [0] = 0
17069 return 0;
17071 _ACEOF
17072 rm -f conftest.$ac_objext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17074 (eval $ac_compile) 2>conftest.er1
17075 ac_status=$?
17076 grep -v '^ *+' conftest.er1 >conftest.err
17077 rm -f conftest.er1
17078 cat conftest.err >&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } &&
17081 { ac_try='test -z "$ac_c_werror_flag"
17082 || test ! -s conftest.err'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; } &&
17088 { ac_try='test -s conftest.$ac_objext'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17091 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then
17094 ac_lo=$ac_mid; break
17095 else
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17099 ac_hi=`expr '(' $ac_mid ')' - 1`
17100 if test $ac_mid -le $ac_hi; then
17101 ac_lo= ac_hi=
17102 break
17104 ac_mid=`expr 2 '*' $ac_mid`
17106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17107 done
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17112 ac_lo= ac_hi=
17114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17117 # Binary search between lo and hi bounds.
17118 while test "x$ac_lo" != "x$ac_hi"; do
17119 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17120 cat >conftest.$ac_ext <<_ACEOF
17121 /* confdefs.h. */
17122 _ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17126 $ac_includes_default
17128 main ()
17130 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17131 test_array [0] = 0
17134 return 0;
17136 _ACEOF
17137 rm -f conftest.$ac_objext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17139 (eval $ac_compile) 2>conftest.er1
17140 ac_status=$?
17141 grep -v '^ *+' conftest.er1 >conftest.err
17142 rm -f conftest.er1
17143 cat conftest.err >&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); } &&
17146 { ac_try='test -z "$ac_c_werror_flag"
17147 || test ! -s conftest.err'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17150 ac_status=$?
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; } &&
17153 { ac_try='test -s conftest.$ac_objext'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; }; then
17159 ac_hi=$ac_mid
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17164 ac_lo=`expr '(' $ac_mid ')' + 1`
17166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17167 done
17168 case $ac_lo in
17169 ?*) ac_cv_sizeof_short=$ac_lo;;
17170 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17171 See \`config.log' for more details." >&5
17172 echo "$as_me: error: cannot compute sizeof (short), 77
17173 See \`config.log' for more details." >&2;}
17174 { (exit 1); exit 1; }; } ;;
17175 esac
17176 else
17177 if test "$cross_compiling" = yes; then
17178 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17179 See \`config.log' for more details." >&5
17180 echo "$as_me: error: cannot run test program while cross compiling
17181 See \`config.log' for more details." >&2;}
17182 { (exit 1); exit 1; }; }
17183 else
17184 cat >conftest.$ac_ext <<_ACEOF
17185 /* confdefs.h. */
17186 _ACEOF
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17190 $ac_includes_default
17191 long longval () { return (long) (sizeof (short)); }
17192 unsigned long ulongval () { return (long) (sizeof (short)); }
17193 #include <stdio.h>
17194 #include <stdlib.h>
17196 main ()
17199 FILE *f = fopen ("conftest.val", "w");
17200 if (! f)
17201 exit (1);
17202 if (((long) (sizeof (short))) < 0)
17204 long i = longval ();
17205 if (i != ((long) (sizeof (short))))
17206 exit (1);
17207 fprintf (f, "%ld\n", i);
17209 else
17211 unsigned long i = ulongval ();
17212 if (i != ((long) (sizeof (short))))
17213 exit (1);
17214 fprintf (f, "%lu\n", i);
17216 exit (ferror (f) || fclose (f) != 0);
17219 return 0;
17221 _ACEOF
17222 rm -f conftest$ac_exeext
17223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17224 (eval $ac_link) 2>&5
17225 ac_status=$?
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17230 ac_status=$?
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; }; then
17233 ac_cv_sizeof_short=`cat conftest.val`
17234 else
17235 echo "$as_me: program exited with status $ac_status" >&5
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17239 ( exit $ac_status )
17240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17241 See \`config.log' for more details." >&5
17242 echo "$as_me: error: cannot compute sizeof (short), 77
17243 See \`config.log' for more details." >&2;}
17244 { (exit 1); exit 1; }; }
17246 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17249 rm -f conftest.val
17250 else
17251 ac_cv_sizeof_short=0
17254 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17255 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17256 cat >>confdefs.h <<_ACEOF
17257 #define SIZEOF_SHORT $ac_cv_sizeof_short
17258 _ACEOF
17261 echo "$as_me:$LINENO: checking for char" >&5
17262 echo $ECHO_N "checking for char... $ECHO_C" >&6
17263 if test "${ac_cv_type_char+set}" = set; then
17264 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 else
17266 cat >conftest.$ac_ext <<_ACEOF
17267 /* confdefs.h. */
17268 _ACEOF
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17272 $ac_includes_default
17274 main ()
17276 if ((char *) 0)
17277 return 0;
17278 if (sizeof (char))
17279 return 0;
17281 return 0;
17283 _ACEOF
17284 rm -f conftest.$ac_objext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17286 (eval $ac_compile) 2>conftest.er1
17287 ac_status=$?
17288 grep -v '^ *+' conftest.er1 >conftest.err
17289 rm -f conftest.er1
17290 cat conftest.err >&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try='test -z "$ac_c_werror_flag"
17294 || test ! -s conftest.err'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17297 ac_status=$?
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; } &&
17300 { ac_try='test -s conftest.$ac_objext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 ac_cv_type_char=yes
17307 else
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17311 ac_cv_type_char=no
17313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17315 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17316 echo "${ECHO_T}$ac_cv_type_char" >&6
17318 echo "$as_me:$LINENO: checking size of char" >&5
17319 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17320 if test "${ac_cv_sizeof_char+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323 if test "$ac_cv_type_char" = yes; then
17324 # The cast to unsigned long works around a bug in the HP C Compiler
17325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17327 # This bug is HP SR number 8606223364.
17328 if test "$cross_compiling" = yes; then
17329 # Depending upon the size, compute the lo and hi bounds.
17330 cat >conftest.$ac_ext <<_ACEOF
17331 /* confdefs.h. */
17332 _ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336 $ac_includes_default
17338 main ()
17340 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17341 test_array [0] = 0
17344 return 0;
17346 _ACEOF
17347 rm -f conftest.$ac_objext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17349 (eval $ac_compile) 2>conftest.er1
17350 ac_status=$?
17351 grep -v '^ *+' conftest.er1 >conftest.err
17352 rm -f conftest.er1
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } &&
17356 { ac_try='test -z "$ac_c_werror_flag"
17357 || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17360 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 ac_lo=0 ac_mid=0
17370 while :; do
17371 cat >conftest.$ac_ext <<_ACEOF
17372 /* confdefs.h. */
17373 _ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377 $ac_includes_default
17379 main ()
17381 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17382 test_array [0] = 0
17385 return 0;
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try='test -z "$ac_c_werror_flag"
17398 || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest.$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 ac_hi=$ac_mid; break
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 ac_lo=`expr $ac_mid + 1`
17416 if test $ac_lo -le $ac_mid; then
17417 ac_lo= ac_hi=
17418 break
17420 ac_mid=`expr 2 '*' $ac_mid + 1`
17422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17423 done
17424 else
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 cat >conftest.$ac_ext <<_ACEOF
17429 /* confdefs.h. */
17430 _ACEOF
17431 cat confdefs.h >>conftest.$ac_ext
17432 cat >>conftest.$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17434 $ac_includes_default
17436 main ()
17438 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17439 test_array [0] = 0
17442 return 0;
17444 _ACEOF
17445 rm -f conftest.$ac_objext
17446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17447 (eval $ac_compile) 2>conftest.er1
17448 ac_status=$?
17449 grep -v '^ *+' conftest.er1 >conftest.err
17450 rm -f conftest.er1
17451 cat conftest.err >&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } &&
17454 { ac_try='test -z "$ac_c_werror_flag"
17455 || test ! -s conftest.err'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17458 ac_status=$?
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; } &&
17461 { ac_try='test -s conftest.$ac_objext'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17464 ac_status=$?
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; }; then
17467 ac_hi=-1 ac_mid=-1
17468 while :; do
17469 cat >conftest.$ac_ext <<_ACEOF
17470 /* confdefs.h. */
17471 _ACEOF
17472 cat confdefs.h >>conftest.$ac_ext
17473 cat >>conftest.$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475 $ac_includes_default
17477 main ()
17479 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17480 test_array [0] = 0
17483 return 0;
17485 _ACEOF
17486 rm -f conftest.$ac_objext
17487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17488 (eval $ac_compile) 2>conftest.er1
17489 ac_status=$?
17490 grep -v '^ *+' conftest.er1 >conftest.err
17491 rm -f conftest.er1
17492 cat conftest.err >&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try='test -z "$ac_c_werror_flag"
17496 || test ! -s conftest.err'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; } &&
17502 { ac_try='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 ac_lo=$ac_mid; break
17509 else
17510 echo "$as_me: failed program was:" >&5
17511 sed 's/^/| /' conftest.$ac_ext >&5
17513 ac_hi=`expr '(' $ac_mid ')' - 1`
17514 if test $ac_mid -le $ac_hi; then
17515 ac_lo= ac_hi=
17516 break
17518 ac_mid=`expr 2 '*' $ac_mid`
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 done
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 ac_lo= ac_hi=
17528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17531 # Binary search between lo and hi bounds.
17532 while test "x$ac_lo" != "x$ac_hi"; do
17533 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 $ac_includes_default
17542 main ()
17544 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17545 test_array [0] = 0
17548 return 0;
17550 _ACEOF
17551 rm -f conftest.$ac_objext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17553 (eval $ac_compile) 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
17560 { ac_try='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 ac_hi=$ac_mid
17574 else
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17578 ac_lo=`expr '(' $ac_mid ')' + 1`
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 done
17582 case $ac_lo in
17583 ?*) ac_cv_sizeof_char=$ac_lo;;
17584 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17585 See \`config.log' for more details." >&5
17586 echo "$as_me: error: cannot compute sizeof (char), 77
17587 See \`config.log' for more details." >&2;}
17588 { (exit 1); exit 1; }; } ;;
17589 esac
17590 else
17591 if test "$cross_compiling" = yes; then
17592 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17593 See \`config.log' for more details." >&5
17594 echo "$as_me: error: cannot run test program while cross compiling
17595 See \`config.log' for more details." >&2;}
17596 { (exit 1); exit 1; }; }
17597 else
17598 cat >conftest.$ac_ext <<_ACEOF
17599 /* confdefs.h. */
17600 _ACEOF
17601 cat confdefs.h >>conftest.$ac_ext
17602 cat >>conftest.$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 $ac_includes_default
17605 long longval () { return (long) (sizeof (char)); }
17606 unsigned long ulongval () { return (long) (sizeof (char)); }
17607 #include <stdio.h>
17608 #include <stdlib.h>
17610 main ()
17613 FILE *f = fopen ("conftest.val", "w");
17614 if (! f)
17615 exit (1);
17616 if (((long) (sizeof (char))) < 0)
17618 long i = longval ();
17619 if (i != ((long) (sizeof (char))))
17620 exit (1);
17621 fprintf (f, "%ld\n", i);
17623 else
17625 unsigned long i = ulongval ();
17626 if (i != ((long) (sizeof (char))))
17627 exit (1);
17628 fprintf (f, "%lu\n", i);
17630 exit (ferror (f) || fclose (f) != 0);
17633 return 0;
17635 _ACEOF
17636 rm -f conftest$ac_exeext
17637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17638 (eval $ac_link) 2>&5
17639 ac_status=$?
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17644 ac_status=$?
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; }; then
17647 ac_cv_sizeof_char=`cat conftest.val`
17648 else
17649 echo "$as_me: program exited with status $ac_status" >&5
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.$ac_ext >&5
17653 ( exit $ac_status )
17654 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17655 See \`config.log' for more details." >&5
17656 echo "$as_me: error: cannot compute sizeof (char), 77
17657 See \`config.log' for more details." >&2;}
17658 { (exit 1); exit 1; }; }
17660 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17663 rm -f conftest.val
17664 else
17665 ac_cv_sizeof_char=0
17668 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17669 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17670 cat >>confdefs.h <<_ACEOF
17671 #define SIZEOF_CHAR $ac_cv_sizeof_char
17672 _ACEOF
17676 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17677 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17678 case "$ac_cv_sizeof_char" in
17679 1) acx_cv_type_int8_t=char ;;
17680 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17681 echo "$as_me: error: no 8-bit type" >&2;}
17682 { (exit please report a bug); exit please report a bug; }; }
17683 esac
17684 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17685 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17687 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17688 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17689 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17690 2:*) acx_cv_type_int16_t=int ;;
17691 *:2) acx_cv_type_int16_t=short ;;
17692 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17693 echo "$as_me: error: no 16-bit type" >&2;}
17694 { (exit please report a bug); exit please report a bug; }; }
17695 esac
17696 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17697 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17699 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17700 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17701 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17702 4:*) acx_cv_type_int32_t=int ;;
17703 *:4) acx_cv_type_int32_t=long ;;
17704 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17705 echo "$as_me: error: no 32-bit type" >&2;}
17706 { (exit please report a bug); exit please report a bug; }; }
17707 esac
17708 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17709 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17712 # These tests are here to make the output prettier
17714 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17715 case "$ac_cv_sizeof_long" in
17716 8) acx_cv_type_int64_t=long ;;
17717 esac
17718 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17719 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17720 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17721 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17724 # Now we can use the above types
17726 if test "$ac_cv_type_uintptr_t" != yes; then
17727 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17728 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17729 case $ac_cv_sizeof_void_p in
17730 2) acx_cv_type_intptr_t=int16_t ;;
17731 4) acx_cv_type_intptr_t=int32_t ;;
17732 8) acx_cv_type_intptr_t=int64_t ;;
17733 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17734 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17735 { (exit please report a bug); exit please report a bug; }; }
17736 esac
17737 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17738 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17741 # ----------------- done all checks, emit header -------------
17742 ac_config_commands="$ac_config_commands gstdint.h"
17747 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17748 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17749 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17751 else
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758 $ac_includes_default
17760 main ()
17762 static struct stat ac_aggr;
17763 if (ac_aggr.st_blksize)
17764 return 0;
17766 return 0;
17768 _ACEOF
17769 rm -f conftest.$ac_objext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17771 (eval $ac_compile) 2>conftest.er1
17772 ac_status=$?
17773 grep -v '^ *+' conftest.er1 >conftest.err
17774 rm -f conftest.er1
17775 cat conftest.err >&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); } &&
17778 { ac_try='test -z "$ac_c_werror_flag"
17779 || test ! -s conftest.err'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try='test -s conftest.$ac_objext'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17788 ac_status=$?
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 ac_cv_member_struct_stat_st_blksize=yes
17792 else
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 cat >conftest.$ac_ext <<_ACEOF
17797 /* confdefs.h. */
17798 _ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17804 main ()
17806 static struct stat ac_aggr;
17807 if (sizeof ac_aggr.st_blksize)
17808 return 0;
17810 return 0;
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17815 (eval $ac_compile) 2>conftest.er1
17816 ac_status=$?
17817 grep -v '^ *+' conftest.er1 >conftest.err
17818 rm -f conftest.er1
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } &&
17822 { ac_try='test -z "$ac_c_werror_flag"
17823 || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_cv_member_struct_stat_st_blksize=yes
17836 else
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17840 ac_cv_member_struct_stat_st_blksize=no
17842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17846 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17847 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17848 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17852 _ACEOF
17857 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17858 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17859 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 else
17862 cat >conftest.$ac_ext <<_ACEOF
17863 /* confdefs.h. */
17864 _ACEOF
17865 cat confdefs.h >>conftest.$ac_ext
17866 cat >>conftest.$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17870 main ()
17872 static struct stat ac_aggr;
17873 if (ac_aggr.st_blocks)
17874 return 0;
17876 return 0;
17878 _ACEOF
17879 rm -f conftest.$ac_objext
17880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>conftest.er1
17882 ac_status=$?
17883 grep -v '^ *+' conftest.er1 >conftest.err
17884 rm -f conftest.er1
17885 cat conftest.err >&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } &&
17888 { ac_try='test -z "$ac_c_werror_flag"
17889 || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17892 ac_status=$?
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17898 ac_status=$?
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17901 ac_cv_member_struct_stat_st_blocks=yes
17902 else
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17906 cat >conftest.$ac_ext <<_ACEOF
17907 /* confdefs.h. */
17908 _ACEOF
17909 cat confdefs.h >>conftest.$ac_ext
17910 cat >>conftest.$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 $ac_includes_default
17914 main ()
17916 static struct stat ac_aggr;
17917 if (sizeof ac_aggr.st_blocks)
17918 return 0;
17920 return 0;
17922 _ACEOF
17923 rm -f conftest.$ac_objext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17925 (eval $ac_compile) 2>conftest.er1
17926 ac_status=$?
17927 grep -v '^ *+' conftest.er1 >conftest.err
17928 rm -f conftest.er1
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } &&
17932 { ac_try='test -z "$ac_c_werror_flag"
17933 || test ! -s conftest.err'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; } &&
17939 { ac_try='test -s conftest.$ac_objext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17942 ac_status=$?
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17945 ac_cv_member_struct_stat_st_blocks=yes
17946 else
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17950 ac_cv_member_struct_stat_st_blocks=no
17952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17956 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17957 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17958 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17960 cat >>confdefs.h <<_ACEOF
17961 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17962 _ACEOF
17967 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17968 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17969 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 cat >conftest.$ac_ext <<_ACEOF
17973 /* confdefs.h. */
17974 _ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 $ac_includes_default
17980 main ()
17982 static struct stat ac_aggr;
17983 if (ac_aggr.st_rdev)
17984 return 0;
17986 return 0;
17988 _ACEOF
17989 rm -f conftest.$ac_objext
17990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17991 (eval $ac_compile) 2>conftest.er1
17992 ac_status=$?
17993 grep -v '^ *+' conftest.er1 >conftest.err
17994 rm -f conftest.er1
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } &&
17998 { ac_try='test -z "$ac_c_werror_flag"
17999 || test ! -s conftest.err'
18000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18001 (eval $ac_try) 2>&5
18002 ac_status=$?
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); }; } &&
18005 { ac_try='test -s conftest.$ac_objext'
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_member_struct_stat_st_rdev=yes
18012 else
18013 echo "$as_me: failed program was:" >&5
18014 sed 's/^/| /' conftest.$ac_ext >&5
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18024 main ()
18026 static struct stat ac_aggr;
18027 if (sizeof ac_aggr.st_rdev)
18028 return 0;
18030 return 0;
18032 _ACEOF
18033 rm -f conftest.$ac_objext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18035 (eval $ac_compile) 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -z "$ac_c_werror_flag"
18043 || test ! -s conftest.err'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; } &&
18049 { ac_try='test -s conftest.$ac_objext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 ac_cv_member_struct_stat_st_rdev=yes
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18060 ac_cv_member_struct_stat_st_rdev=no
18062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18066 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18067 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18068 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18070 cat >>confdefs.h <<_ACEOF
18071 #define HAVE_STRUCT_STAT_ST_RDEV 1
18072 _ACEOF
18078 # Check for library functions.
18087 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18090 echo "$as_me:$LINENO: checking for $ac_func" >&5
18091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18092 if eval "test \"\${$as_ac_var+set}\" = set"; then
18093 echo $ECHO_N "(cached) $ECHO_C" >&6
18094 else
18095 if test x$gcc_no_link = xyes; then
18096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18098 { (exit 1); exit 1; }; }
18100 cat >conftest.$ac_ext <<_ACEOF
18101 /* confdefs.h. */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18108 #define $ac_func innocuous_$ac_func
18110 /* System header to define __stub macros and hopefully few prototypes,
18111 which can conflict with char $ac_func (); below.
18112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18113 <limits.h> exists even on freestanding compilers. */
18115 #ifdef __STDC__
18116 # include <limits.h>
18117 #else
18118 # include <assert.h>
18119 #endif
18121 #undef $ac_func
18123 /* Override any gcc2 internal prototype to avoid an error. */
18124 #ifdef __cplusplus
18125 extern "C"
18127 #endif
18128 /* We use char because int might match the return type of a gcc2
18129 builtin and then its argument prototype would still apply. */
18130 char $ac_func ();
18131 /* The GNU C library defines this for functions which it implements
18132 to always fail with ENOSYS. Some functions are actually named
18133 something starting with __ and the normal name is an alias. */
18134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18135 choke me
18136 #else
18137 char (*f) () = $ac_func;
18138 #endif
18139 #ifdef __cplusplus
18141 #endif
18144 main ()
18146 return f != $ac_func;
18148 return 0;
18150 _ACEOF
18151 rm -f conftest.$ac_objext conftest$ac_exeext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18153 (eval $ac_link) 2>conftest.er1
18154 ac_status=$?
18155 grep -v '^ *+' conftest.er1 >conftest.err
18156 rm -f conftest.er1
18157 cat conftest.err >&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } &&
18160 { ac_try='test -z "$ac_c_werror_flag"
18161 || test ! -s conftest.err'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; } &&
18167 { ac_try='test -s conftest$ac_exeext'
18168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169 (eval $ac_try) 2>&5
18170 ac_status=$?
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); }; }; then
18173 eval "$as_ac_var=yes"
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18178 eval "$as_ac_var=no"
18180 rm -f conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18185 if test `eval echo '${'$as_ac_var'}'` = yes; then
18186 cat >>confdefs.h <<_ACEOF
18187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18188 _ACEOF
18191 done
18201 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18204 echo "$as_me:$LINENO: checking for $ac_func" >&5
18205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18206 if eval "test \"\${$as_ac_var+set}\" = set"; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18208 else
18209 if test x$gcc_no_link = xyes; then
18210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18212 { (exit 1); exit 1; }; }
18214 cat >conftest.$ac_ext <<_ACEOF
18215 /* confdefs.h. */
18216 _ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18222 #define $ac_func innocuous_$ac_func
18224 /* System header to define __stub macros and hopefully few prototypes,
18225 which can conflict with char $ac_func (); below.
18226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18227 <limits.h> exists even on freestanding compilers. */
18229 #ifdef __STDC__
18230 # include <limits.h>
18231 #else
18232 # include <assert.h>
18233 #endif
18235 #undef $ac_func
18237 /* Override any gcc2 internal prototype to avoid an error. */
18238 #ifdef __cplusplus
18239 extern "C"
18241 #endif
18242 /* We use char because int might match the return type of a gcc2
18243 builtin and then its argument prototype would still apply. */
18244 char $ac_func ();
18245 /* The GNU C library defines this for functions which it implements
18246 to always fail with ENOSYS. Some functions are actually named
18247 something starting with __ and the normal name is an alias. */
18248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18249 choke me
18250 #else
18251 char (*f) () = $ac_func;
18252 #endif
18253 #ifdef __cplusplus
18255 #endif
18258 main ()
18260 return f != $ac_func;
18262 return 0;
18264 _ACEOF
18265 rm -f conftest.$ac_objext conftest$ac_exeext
18266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18267 (eval $ac_link) 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try='test -z "$ac_c_werror_flag"
18275 || test ! -s conftest.err'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; } &&
18281 { ac_try='test -s conftest$ac_exeext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 eval "$as_ac_var=yes"
18288 else
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18292 eval "$as_ac_var=no"
18294 rm -f conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18299 if test `eval echo '${'$as_ac_var'}'` = yes; then
18300 cat >>confdefs.h <<_ACEOF
18301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18302 _ACEOF
18305 done
18317 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18320 echo "$as_me:$LINENO: checking for $ac_func" >&5
18321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18322 if eval "test \"\${$as_ac_var+set}\" = set"; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18328 { (exit 1); exit 1; }; }
18330 cat >conftest.$ac_ext <<_ACEOF
18331 /* confdefs.h. */
18332 _ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18338 #define $ac_func innocuous_$ac_func
18340 /* System header to define __stub macros and hopefully few prototypes,
18341 which can conflict with char $ac_func (); below.
18342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18343 <limits.h> exists even on freestanding compilers. */
18345 #ifdef __STDC__
18346 # include <limits.h>
18347 #else
18348 # include <assert.h>
18349 #endif
18351 #undef $ac_func
18353 /* Override any gcc2 internal prototype to avoid an error. */
18354 #ifdef __cplusplus
18355 extern "C"
18357 #endif
18358 /* We use char because int might match the return type of a gcc2
18359 builtin and then its argument prototype would still apply. */
18360 char $ac_func ();
18361 /* The GNU C library defines this for functions which it implements
18362 to always fail with ENOSYS. Some functions are actually named
18363 something starting with __ and the normal name is an alias. */
18364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18365 choke me
18366 #else
18367 char (*f) () = $ac_func;
18368 #endif
18369 #ifdef __cplusplus
18371 #endif
18374 main ()
18376 return f != $ac_func;
18378 return 0;
18380 _ACEOF
18381 rm -f conftest.$ac_objext conftest$ac_exeext
18382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18383 (eval $ac_link) 2>conftest.er1
18384 ac_status=$?
18385 grep -v '^ *+' conftest.er1 >conftest.err
18386 rm -f conftest.er1
18387 cat conftest.err >&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } &&
18390 { ac_try='test -z "$ac_c_werror_flag"
18391 || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try='test -s conftest$ac_exeext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 eval "$as_ac_var=yes"
18404 else
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18408 eval "$as_ac_var=no"
18410 rm -f conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18415 if test `eval echo '${'$as_ac_var'}'` = yes; then
18416 cat >>confdefs.h <<_ACEOF
18417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18418 _ACEOF
18421 done
18432 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18435 echo "$as_me:$LINENO: checking for $ac_func" >&5
18436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18437 if eval "test \"\${$as_ac_var+set}\" = set"; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 else
18440 if test x$gcc_no_link = xyes; then
18441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18443 { (exit 1); exit 1; }; }
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18453 #define $ac_func innocuous_$ac_func
18455 /* System header to define __stub macros and hopefully few prototypes,
18456 which can conflict with char $ac_func (); below.
18457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18458 <limits.h> exists even on freestanding compilers. */
18460 #ifdef __STDC__
18461 # include <limits.h>
18462 #else
18463 # include <assert.h>
18464 #endif
18466 #undef $ac_func
18468 /* Override any gcc2 internal prototype to avoid an error. */
18469 #ifdef __cplusplus
18470 extern "C"
18472 #endif
18473 /* We use char because int might match the return type of a gcc2
18474 builtin and then its argument prototype would still apply. */
18475 char $ac_func ();
18476 /* The GNU C library defines this for functions which it implements
18477 to always fail with ENOSYS. Some functions are actually named
18478 something starting with __ and the normal name is an alias. */
18479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18480 choke me
18481 #else
18482 char (*f) () = $ac_func;
18483 #endif
18484 #ifdef __cplusplus
18486 #endif
18489 main ()
18491 return f != $ac_func;
18493 return 0;
18495 _ACEOF
18496 rm -f conftest.$ac_objext conftest$ac_exeext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18498 (eval $ac_link) 2>conftest.er1
18499 ac_status=$?
18500 grep -v '^ *+' conftest.er1 >conftest.err
18501 rm -f conftest.er1
18502 cat conftest.err >&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } &&
18505 { ac_try='test -z "$ac_c_werror_flag"
18506 || test ! -s conftest.err'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; } &&
18512 { ac_try='test -s conftest$ac_exeext'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 eval "$as_ac_var=yes"
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18523 eval "$as_ac_var=no"
18525 rm -f conftest.err conftest.$ac_objext \
18526 conftest$ac_exeext conftest.$ac_ext
18528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18530 if test `eval echo '${'$as_ac_var'}'` = yes; then
18531 cat >>confdefs.h <<_ACEOF
18532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18533 _ACEOF
18536 done
18546 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18549 echo "$as_me:$LINENO: checking for $ac_func" >&5
18550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18551 if eval "test \"\${$as_ac_var+set}\" = set"; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18554 if test x$gcc_no_link = xyes; then
18555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18557 { (exit 1); exit 1; }; }
18559 cat >conftest.$ac_ext <<_ACEOF
18560 /* confdefs.h. */
18561 _ACEOF
18562 cat confdefs.h >>conftest.$ac_ext
18563 cat >>conftest.$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18567 #define $ac_func innocuous_$ac_func
18569 /* System header to define __stub macros and hopefully few prototypes,
18570 which can conflict with char $ac_func (); below.
18571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18572 <limits.h> exists even on freestanding compilers. */
18574 #ifdef __STDC__
18575 # include <limits.h>
18576 #else
18577 # include <assert.h>
18578 #endif
18580 #undef $ac_func
18582 /* Override any gcc2 internal prototype to avoid an error. */
18583 #ifdef __cplusplus
18584 extern "C"
18586 #endif
18587 /* We use char because int might match the return type of a gcc2
18588 builtin and then its argument prototype would still apply. */
18589 char $ac_func ();
18590 /* The GNU C library defines this for functions which it implements
18591 to always fail with ENOSYS. Some functions are actually named
18592 something starting with __ and the normal name is an alias. */
18593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18594 choke me
18595 #else
18596 char (*f) () = $ac_func;
18597 #endif
18598 #ifdef __cplusplus
18600 #endif
18603 main ()
18605 return f != $ac_func;
18607 return 0;
18609 _ACEOF
18610 rm -f conftest.$ac_objext conftest$ac_exeext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18612 (eval $ac_link) 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try='test -z "$ac_c_werror_flag"
18620 || test ! -s conftest.err'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try='test -s conftest$ac_exeext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18629 ac_status=$?
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18632 eval "$as_ac_var=yes"
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 eval "$as_ac_var=no"
18639 rm -f conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18644 if test `eval echo '${'$as_ac_var'}'` = yes; then
18645 cat >>confdefs.h <<_ACEOF
18646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18647 _ACEOF
18650 done
18653 # Check for glibc backtrace functions
18656 for ac_func in backtrace backtrace_symbols
18658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18659 echo "$as_me:$LINENO: checking for $ac_func" >&5
18660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18661 if eval "test \"\${$as_ac_var+set}\" = set"; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 else
18664 if test x$gcc_no_link = xyes; then
18665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18667 { (exit 1); exit 1; }; }
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18677 #define $ac_func innocuous_$ac_func
18679 /* System header to define __stub macros and hopefully few prototypes,
18680 which can conflict with char $ac_func (); below.
18681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18682 <limits.h> exists even on freestanding compilers. */
18684 #ifdef __STDC__
18685 # include <limits.h>
18686 #else
18687 # include <assert.h>
18688 #endif
18690 #undef $ac_func
18692 /* Override any gcc2 internal prototype to avoid an error. */
18693 #ifdef __cplusplus
18694 extern "C"
18696 #endif
18697 /* We use char because int might match the return type of a gcc2
18698 builtin and then its argument prototype would still apply. */
18699 char $ac_func ();
18700 /* The GNU C library defines this for functions which it implements
18701 to always fail with ENOSYS. Some functions are actually named
18702 something starting with __ and the normal name is an alias. */
18703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18704 choke me
18705 #else
18706 char (*f) () = $ac_func;
18707 #endif
18708 #ifdef __cplusplus
18710 #endif
18713 main ()
18715 return f != $ac_func;
18717 return 0;
18719 _ACEOF
18720 rm -f conftest.$ac_objext conftest$ac_exeext
18721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18722 (eval $ac_link) 2>conftest.er1
18723 ac_status=$?
18724 grep -v '^ *+' conftest.er1 >conftest.err
18725 rm -f conftest.er1
18726 cat conftest.err >&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try='test -z "$ac_c_werror_flag"
18730 || test ! -s conftest.err'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18733 ac_status=$?
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; } &&
18736 { ac_try='test -s conftest$ac_exeext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18739 ac_status=$?
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 eval "$as_ac_var=yes"
18743 else
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18747 eval "$as_ac_var=no"
18749 rm -f conftest.err conftest.$ac_objext \
18750 conftest$ac_exeext conftest.$ac_ext
18752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18754 if test `eval echo '${'$as_ac_var'}'` = yes; then
18755 cat >>confdefs.h <<_ACEOF
18756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18757 _ACEOF
18760 done
18763 # Check for types
18764 echo "$as_me:$LINENO: checking for intptr_t" >&5
18765 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18766 if test "${ac_cv_type_intptr_t+set}" = set; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 else
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 $ac_includes_default
18777 main ()
18779 if ((intptr_t *) 0)
18780 return 0;
18781 if (sizeof (intptr_t))
18782 return 0;
18784 return 0;
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18789 (eval $ac_compile) 2>conftest.er1
18790 ac_status=$?
18791 grep -v '^ *+' conftest.er1 >conftest.err
18792 rm -f conftest.er1
18793 cat conftest.err >&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } &&
18796 { ac_try='test -z "$ac_c_werror_flag"
18797 || test ! -s conftest.err'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18800 ac_status=$?
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; } &&
18803 { ac_try='test -s conftest.$ac_objext'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18806 ac_status=$?
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; }; then
18809 ac_cv_type_intptr_t=yes
18810 else
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18814 ac_cv_type_intptr_t=no
18816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18818 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18819 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18820 if test $ac_cv_type_intptr_t = yes; then
18822 cat >>confdefs.h <<_ACEOF
18823 #define HAVE_INTPTR_T 1
18824 _ACEOF
18829 echo "$as_me:$LINENO: checking for uintptr_t" >&5
18830 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
18831 if test "${ac_cv_type_uintptr_t+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18842 main ()
18844 if ((uintptr_t *) 0)
18845 return 0;
18846 if (sizeof (uintptr_t))
18847 return 0;
18849 return 0;
18851 _ACEOF
18852 rm -f conftest.$ac_objext
18853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18854 (eval $ac_compile) 2>conftest.er1
18855 ac_status=$?
18856 grep -v '^ *+' conftest.er1 >conftest.err
18857 rm -f conftest.er1
18858 cat conftest.err >&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } &&
18861 { ac_try='test -z "$ac_c_werror_flag"
18862 || test ! -s conftest.err'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; } &&
18868 { ac_try='test -s conftest.$ac_objext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18871 ac_status=$?
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18874 ac_cv_type_uintptr_t=yes
18875 else
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.$ac_ext >&5
18879 ac_cv_type_uintptr_t=no
18881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18883 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
18884 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
18885 if test $ac_cv_type_uintptr_t = yes; then
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_UINTPTR_T 1
18889 _ACEOF
18895 # Check libc for getgid, getpid, getuid
18896 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18897 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18898 if test "${ac_cv_lib_c_getgid+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 ac_check_lib_save_LIBS=$LIBS
18902 LIBS="-lc $LIBS"
18903 if test x$gcc_no_link = xyes; then
18904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18906 { (exit 1); exit 1; }; }
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18915 /* Override any gcc2 internal prototype to avoid an error. */
18916 #ifdef __cplusplus
18917 extern "C"
18918 #endif
18919 /* We use char because int might match the return type of a gcc2
18920 builtin and then its argument prototype would still apply. */
18921 char getgid ();
18923 main ()
18925 getgid ();
18927 return 0;
18929 _ACEOF
18930 rm -f conftest.$ac_objext conftest$ac_exeext
18931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18932 (eval $ac_link) 2>conftest.er1
18933 ac_status=$?
18934 grep -v '^ *+' conftest.er1 >conftest.err
18935 rm -f conftest.er1
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } &&
18939 { ac_try='test -z "$ac_c_werror_flag"
18940 || test ! -s conftest.err'
18941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942 (eval $ac_try) 2>&5
18943 ac_status=$?
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); }; } &&
18946 { ac_try='test -s conftest$ac_exeext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18949 ac_status=$?
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 ac_cv_lib_c_getgid=yes
18953 else
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18957 ac_cv_lib_c_getgid=no
18959 rm -f conftest.err conftest.$ac_objext \
18960 conftest$ac_exeext conftest.$ac_ext
18961 LIBS=$ac_check_lib_save_LIBS
18963 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18964 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18965 if test $ac_cv_lib_c_getgid = yes; then
18967 cat >>confdefs.h <<\_ACEOF
18968 #define HAVE_GETGID 1
18969 _ACEOF
18973 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18974 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18975 if test "${ac_cv_lib_c_getpid+set}" = set; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 else
18978 ac_check_lib_save_LIBS=$LIBS
18979 LIBS="-lc $LIBS"
18980 if test x$gcc_no_link = xyes; then
18981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18983 { (exit 1); exit 1; }; }
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18992 /* Override any gcc2 internal prototype to avoid an error. */
18993 #ifdef __cplusplus
18994 extern "C"
18995 #endif
18996 /* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
18998 char getpid ();
19000 main ()
19002 getpid ();
19004 return 0;
19006 _ACEOF
19007 rm -f conftest.$ac_objext conftest$ac_exeext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_c_werror_flag"
19017 || test ! -s conftest.err'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19020 ac_status=$?
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; } &&
19023 { ac_try='test -s conftest$ac_exeext'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19026 ac_status=$?
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; }; then
19029 ac_cv_lib_c_getpid=yes
19030 else
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.$ac_ext >&5
19034 ac_cv_lib_c_getpid=no
19036 rm -f conftest.err conftest.$ac_objext \
19037 conftest$ac_exeext conftest.$ac_ext
19038 LIBS=$ac_check_lib_save_LIBS
19040 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19041 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19042 if test $ac_cv_lib_c_getpid = yes; then
19044 cat >>confdefs.h <<\_ACEOF
19045 #define HAVE_GETPID 1
19046 _ACEOF
19050 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19051 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19052 if test "${ac_cv_lib_c_getppid+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 ac_check_lib_save_LIBS=$LIBS
19056 LIBS="-lc $LIBS"
19057 if test x$gcc_no_link = xyes; then
19058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19060 { (exit 1); exit 1; }; }
19062 cat >conftest.$ac_ext <<_ACEOF
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19069 /* Override any gcc2 internal prototype to avoid an error. */
19070 #ifdef __cplusplus
19071 extern "C"
19072 #endif
19073 /* We use char because int might match the return type of a gcc2
19074 builtin and then its argument prototype would still apply. */
19075 char getppid ();
19077 main ()
19079 getppid ();
19081 return 0;
19083 _ACEOF
19084 rm -f conftest.$ac_objext conftest$ac_exeext
19085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19086 (eval $ac_link) 2>conftest.er1
19087 ac_status=$?
19088 grep -v '^ *+' conftest.er1 >conftest.err
19089 rm -f conftest.er1
19090 cat conftest.err >&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } &&
19093 { ac_try='test -z "$ac_c_werror_flag"
19094 || test ! -s conftest.err'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19097 ac_status=$?
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try='test -s conftest$ac_exeext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19103 ac_status=$?
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19106 ac_cv_lib_c_getppid=yes
19107 else
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19111 ac_cv_lib_c_getppid=no
19113 rm -f conftest.err conftest.$ac_objext \
19114 conftest$ac_exeext conftest.$ac_ext
19115 LIBS=$ac_check_lib_save_LIBS
19117 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19118 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19119 if test $ac_cv_lib_c_getppid = yes; then
19121 cat >>confdefs.h <<\_ACEOF
19122 #define HAVE_GETPPID 1
19123 _ACEOF
19127 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19128 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19129 if test "${ac_cv_lib_c_getuid+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19131 else
19132 ac_check_lib_save_LIBS=$LIBS
19133 LIBS="-lc $LIBS"
19134 if test x$gcc_no_link = xyes; then
19135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19137 { (exit 1); exit 1; }; }
19139 cat >conftest.$ac_ext <<_ACEOF
19140 /* confdefs.h. */
19141 _ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19146 /* Override any gcc2 internal prototype to avoid an error. */
19147 #ifdef __cplusplus
19148 extern "C"
19149 #endif
19150 /* We use char because int might match the return type of a gcc2
19151 builtin and then its argument prototype would still apply. */
19152 char getuid ();
19154 main ()
19156 getuid ();
19158 return 0;
19160 _ACEOF
19161 rm -f conftest.$ac_objext conftest$ac_exeext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19163 (eval $ac_link) 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_c_werror_flag"
19171 || test ! -s conftest.err'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; } &&
19177 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19183 ac_cv_lib_c_getuid=yes
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19188 ac_cv_lib_c_getuid=no
19190 rm -f conftest.err conftest.$ac_objext \
19191 conftest$ac_exeext conftest.$ac_ext
19192 LIBS=$ac_check_lib_save_LIBS
19194 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19195 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19196 if test $ac_cv_lib_c_getuid = yes; then
19198 cat >>confdefs.h <<\_ACEOF
19199 #define HAVE_GETUID 1
19200 _ACEOF
19204 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19205 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19206 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19207 echo $ECHO_N "(cached) $ECHO_C" >&6
19208 else
19209 ac_check_lib_save_LIBS=$LIBS
19210 LIBS="-lc $LIBS"
19211 if test x$gcc_no_link = xyes; then
19212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19214 { (exit 1); exit 1; }; }
19216 cat >conftest.$ac_ext <<_ACEOF
19217 /* confdefs.h. */
19218 _ACEOF
19219 cat confdefs.h >>conftest.$ac_ext
19220 cat >>conftest.$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19223 /* Override any gcc2 internal prototype to avoid an error. */
19224 #ifdef __cplusplus
19225 extern "C"
19226 #endif
19227 /* We use char because int might match the return type of a gcc2
19228 builtin and then its argument prototype would still apply. */
19229 char geteuid ();
19231 main ()
19233 geteuid ();
19235 return 0;
19237 _ACEOF
19238 rm -f conftest.$ac_objext conftest$ac_exeext
19239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19240 (eval $ac_link) 2>conftest.er1
19241 ac_status=$?
19242 grep -v '^ *+' conftest.er1 >conftest.err
19243 rm -f conftest.er1
19244 cat conftest.err >&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); } &&
19247 { ac_try='test -z "$ac_c_werror_flag"
19248 || test ! -s conftest.err'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19251 ac_status=$?
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; } &&
19254 { ac_try='test -s conftest$ac_exeext'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19257 ac_status=$?
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; }; then
19260 ac_cv_lib_c_geteuid=yes
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 ac_cv_lib_c_geteuid=no
19267 rm -f conftest.err conftest.$ac_objext \
19268 conftest$ac_exeext conftest.$ac_ext
19269 LIBS=$ac_check_lib_save_LIBS
19271 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19272 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19273 if test $ac_cv_lib_c_geteuid = yes; then
19275 cat >>confdefs.h <<\_ACEOF
19276 #define HAVE_GETEUID 1
19277 _ACEOF
19282 # Check for C99 (and other IEEE) math functions
19283 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19284 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19285 if test "${ac_cv_lib_m_acosf+set}" = set; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19287 else
19288 ac_check_lib_save_LIBS=$LIBS
19289 LIBS="-lm $LIBS"
19290 if test x$gcc_no_link = xyes; then
19291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19293 { (exit 1); exit 1; }; }
19295 cat >conftest.$ac_ext <<_ACEOF
19296 /* confdefs.h. */
19297 _ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19302 /* Override any gcc2 internal prototype to avoid an error. */
19303 #ifdef __cplusplus
19304 extern "C"
19305 #endif
19306 /* We use char because int might match the return type of a gcc2
19307 builtin and then its argument prototype would still apply. */
19308 char acosf ();
19310 main ()
19312 acosf ();
19314 return 0;
19316 _ACEOF
19317 rm -f conftest.$ac_objext conftest$ac_exeext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19319 (eval $ac_link) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_c_werror_flag"
19327 || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest$ac_exeext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 ac_cv_lib_m_acosf=yes
19340 else
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 ac_cv_lib_m_acosf=no
19346 rm -f conftest.err conftest.$ac_objext \
19347 conftest$ac_exeext conftest.$ac_ext
19348 LIBS=$ac_check_lib_save_LIBS
19350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19351 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19352 if test $ac_cv_lib_m_acosf = yes; then
19354 cat >>confdefs.h <<\_ACEOF
19355 #define HAVE_ACOSF 1
19356 _ACEOF
19360 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19361 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19362 if test "${ac_cv_lib_m_acos+set}" = set; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19364 else
19365 ac_check_lib_save_LIBS=$LIBS
19366 LIBS="-lm $LIBS"
19367 if test x$gcc_no_link = xyes; then
19368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19370 { (exit 1); exit 1; }; }
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19379 /* Override any gcc2 internal prototype to avoid an error. */
19380 #ifdef __cplusplus
19381 extern "C"
19382 #endif
19383 /* We use char because int might match the return type of a gcc2
19384 builtin and then its argument prototype would still apply. */
19385 char acos ();
19387 main ()
19389 acos ();
19391 return 0;
19393 _ACEOF
19394 rm -f conftest.$ac_objext conftest$ac_exeext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19396 (eval $ac_link) 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_c_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19407 ac_status=$?
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try='test -s conftest$ac_exeext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19413 ac_status=$?
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 ac_cv_lib_m_acos=yes
19417 else
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19421 ac_cv_lib_m_acos=no
19423 rm -f conftest.err conftest.$ac_objext \
19424 conftest$ac_exeext conftest.$ac_ext
19425 LIBS=$ac_check_lib_save_LIBS
19427 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19428 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19429 if test $ac_cv_lib_m_acos = yes; then
19431 cat >>confdefs.h <<\_ACEOF
19432 #define HAVE_ACOS 1
19433 _ACEOF
19437 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19438 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19439 if test "${ac_cv_lib_m_acosl+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442 ac_check_lib_save_LIBS=$LIBS
19443 LIBS="-lm $LIBS"
19444 if test x$gcc_no_link = xyes; then
19445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19447 { (exit 1); exit 1; }; }
19449 cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h. */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19456 /* Override any gcc2 internal prototype to avoid an error. */
19457 #ifdef __cplusplus
19458 extern "C"
19459 #endif
19460 /* We use char because int might match the return type of a gcc2
19461 builtin and then its argument prototype would still apply. */
19462 char acosl ();
19464 main ()
19466 acosl ();
19468 return 0;
19470 _ACEOF
19471 rm -f conftest.$ac_objext conftest$ac_exeext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19473 (eval $ac_link) 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag"
19481 || test ! -s conftest.err'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try='test -s conftest$ac_exeext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19490 ac_status=$?
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 ac_cv_lib_m_acosl=yes
19494 else
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19498 ac_cv_lib_m_acosl=no
19500 rm -f conftest.err conftest.$ac_objext \
19501 conftest$ac_exeext conftest.$ac_ext
19502 LIBS=$ac_check_lib_save_LIBS
19504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19505 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19506 if test $ac_cv_lib_m_acosl = yes; then
19508 cat >>confdefs.h <<\_ACEOF
19509 #define HAVE_ACOSL 1
19510 _ACEOF
19514 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19515 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19516 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519 ac_check_lib_save_LIBS=$LIBS
19520 LIBS="-lm $LIBS"
19521 if test x$gcc_no_link = xyes; then
19522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19524 { (exit 1); exit 1; }; }
19526 cat >conftest.$ac_ext <<_ACEOF
19527 /* confdefs.h. */
19528 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19533 /* Override any gcc2 internal prototype to avoid an error. */
19534 #ifdef __cplusplus
19535 extern "C"
19536 #endif
19537 /* We use char because int might match the return type of a gcc2
19538 builtin and then its argument prototype would still apply. */
19539 char acoshf ();
19541 main ()
19543 acoshf ();
19545 return 0;
19547 _ACEOF
19548 rm -f conftest.$ac_objext conftest$ac_exeext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19550 (eval $ac_link) 2>conftest.er1
19551 ac_status=$?
19552 grep -v '^ *+' conftest.er1 >conftest.err
19553 rm -f conftest.er1
19554 cat conftest.err >&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } &&
19557 { ac_try='test -z "$ac_c_werror_flag"
19558 || test ! -s conftest.err'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19561 ac_status=$?
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; } &&
19564 { ac_try='test -s conftest$ac_exeext'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 (eval $ac_try) 2>&5
19567 ac_status=$?
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; }; then
19570 ac_cv_lib_m_acoshf=yes
19571 else
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 ac_cv_lib_m_acoshf=no
19577 rm -f conftest.err conftest.$ac_objext \
19578 conftest$ac_exeext conftest.$ac_ext
19579 LIBS=$ac_check_lib_save_LIBS
19581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19582 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19583 if test $ac_cv_lib_m_acoshf = yes; then
19585 cat >>confdefs.h <<\_ACEOF
19586 #define HAVE_ACOSHF 1
19587 _ACEOF
19591 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19592 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19593 if test "${ac_cv_lib_m_acosh+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 else
19596 ac_check_lib_save_LIBS=$LIBS
19597 LIBS="-lm $LIBS"
19598 if test x$gcc_no_link = xyes; then
19599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19601 { (exit 1); exit 1; }; }
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19610 /* Override any gcc2 internal prototype to avoid an error. */
19611 #ifdef __cplusplus
19612 extern "C"
19613 #endif
19614 /* We use char because int might match the return type of a gcc2
19615 builtin and then its argument prototype would still apply. */
19616 char acosh ();
19618 main ()
19620 acosh ();
19622 return 0;
19624 _ACEOF
19625 rm -f conftest.$ac_objext conftest$ac_exeext
19626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19627 (eval $ac_link) 2>conftest.er1
19628 ac_status=$?
19629 grep -v '^ *+' conftest.er1 >conftest.err
19630 rm -f conftest.er1
19631 cat conftest.err >&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } &&
19634 { ac_try='test -z "$ac_c_werror_flag"
19635 || test ! -s conftest.err'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; } &&
19641 { ac_try='test -s conftest$ac_exeext'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19644 ac_status=$?
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; }; then
19647 ac_cv_lib_m_acosh=yes
19648 else
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19652 ac_cv_lib_m_acosh=no
19654 rm -f conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext conftest.$ac_ext
19656 LIBS=$ac_check_lib_save_LIBS
19658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19659 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19660 if test $ac_cv_lib_m_acosh = yes; then
19662 cat >>confdefs.h <<\_ACEOF
19663 #define HAVE_ACOSH 1
19664 _ACEOF
19668 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19669 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19670 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 else
19673 ac_check_lib_save_LIBS=$LIBS
19674 LIBS="-lm $LIBS"
19675 if test x$gcc_no_link = xyes; then
19676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19678 { (exit 1); exit 1; }; }
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19687 /* Override any gcc2 internal prototype to avoid an error. */
19688 #ifdef __cplusplus
19689 extern "C"
19690 #endif
19691 /* We use char because int might match the return type of a gcc2
19692 builtin and then its argument prototype would still apply. */
19693 char acoshl ();
19695 main ()
19697 acoshl ();
19699 return 0;
19701 _ACEOF
19702 rm -f conftest.$ac_objext conftest$ac_exeext
19703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19704 (eval $ac_link) 2>conftest.er1
19705 ac_status=$?
19706 grep -v '^ *+' conftest.er1 >conftest.err
19707 rm -f conftest.er1
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } &&
19711 { ac_try='test -z "$ac_c_werror_flag"
19712 || test ! -s conftest.err'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19715 ac_status=$?
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try='test -s conftest$ac_exeext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_lib_m_acoshl=yes
19725 else
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19729 ac_cv_lib_m_acoshl=no
19731 rm -f conftest.err conftest.$ac_objext \
19732 conftest$ac_exeext conftest.$ac_ext
19733 LIBS=$ac_check_lib_save_LIBS
19735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19736 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19737 if test $ac_cv_lib_m_acoshl = yes; then
19739 cat >>confdefs.h <<\_ACEOF
19740 #define HAVE_ACOSHL 1
19741 _ACEOF
19745 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19746 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19747 if test "${ac_cv_lib_m_asinf+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750 ac_check_lib_save_LIBS=$LIBS
19751 LIBS="-lm $LIBS"
19752 if test x$gcc_no_link = xyes; then
19753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19755 { (exit 1); exit 1; }; }
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19764 /* Override any gcc2 internal prototype to avoid an error. */
19765 #ifdef __cplusplus
19766 extern "C"
19767 #endif
19768 /* We use char because int might match the return type of a gcc2
19769 builtin and then its argument prototype would still apply. */
19770 char asinf ();
19772 main ()
19774 asinf ();
19776 return 0;
19778 _ACEOF
19779 rm -f conftest.$ac_objext conftest$ac_exeext
19780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19781 (eval $ac_link) 2>conftest.er1
19782 ac_status=$?
19783 grep -v '^ *+' conftest.er1 >conftest.err
19784 rm -f conftest.er1
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } &&
19788 { ac_try='test -z "$ac_c_werror_flag"
19789 || test ! -s conftest.err'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19792 ac_status=$?
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; } &&
19795 { ac_try='test -s conftest$ac_exeext'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19798 ac_status=$?
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; }; then
19801 ac_cv_lib_m_asinf=yes
19802 else
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19806 ac_cv_lib_m_asinf=no
19808 rm -f conftest.err conftest.$ac_objext \
19809 conftest$ac_exeext conftest.$ac_ext
19810 LIBS=$ac_check_lib_save_LIBS
19812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19813 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19814 if test $ac_cv_lib_m_asinf = yes; then
19816 cat >>confdefs.h <<\_ACEOF
19817 #define HAVE_ASINF 1
19818 _ACEOF
19822 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19823 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19824 if test "${ac_cv_lib_m_asin+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19826 else
19827 ac_check_lib_save_LIBS=$LIBS
19828 LIBS="-lm $LIBS"
19829 if test x$gcc_no_link = xyes; then
19830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19832 { (exit 1); exit 1; }; }
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19841 /* Override any gcc2 internal prototype to avoid an error. */
19842 #ifdef __cplusplus
19843 extern "C"
19844 #endif
19845 /* We use char because int might match the return type of a gcc2
19846 builtin and then its argument prototype would still apply. */
19847 char asin ();
19849 main ()
19851 asin ();
19853 return 0;
19855 _ACEOF
19856 rm -f conftest.$ac_objext conftest$ac_exeext
19857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19858 (eval $ac_link) 2>conftest.er1
19859 ac_status=$?
19860 grep -v '^ *+' conftest.er1 >conftest.err
19861 rm -f conftest.er1
19862 cat conftest.err >&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } &&
19865 { ac_try='test -z "$ac_c_werror_flag"
19866 || test ! -s conftest.err'
19867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19868 (eval $ac_try) 2>&5
19869 ac_status=$?
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); }; } &&
19872 { ac_try='test -s conftest$ac_exeext'
19873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19874 (eval $ac_try) 2>&5
19875 ac_status=$?
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); }; }; then
19878 ac_cv_lib_m_asin=yes
19879 else
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19883 ac_cv_lib_m_asin=no
19885 rm -f conftest.err conftest.$ac_objext \
19886 conftest$ac_exeext conftest.$ac_ext
19887 LIBS=$ac_check_lib_save_LIBS
19889 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19890 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19891 if test $ac_cv_lib_m_asin = yes; then
19893 cat >>confdefs.h <<\_ACEOF
19894 #define HAVE_ASIN 1
19895 _ACEOF
19899 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19900 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19901 if test "${ac_cv_lib_m_asinl+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 else
19904 ac_check_lib_save_LIBS=$LIBS
19905 LIBS="-lm $LIBS"
19906 if test x$gcc_no_link = xyes; then
19907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19909 { (exit 1); exit 1; }; }
19911 cat >conftest.$ac_ext <<_ACEOF
19912 /* confdefs.h. */
19913 _ACEOF
19914 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19918 /* Override any gcc2 internal prototype to avoid an error. */
19919 #ifdef __cplusplus
19920 extern "C"
19921 #endif
19922 /* We use char because int might match the return type of a gcc2
19923 builtin and then its argument prototype would still apply. */
19924 char asinl ();
19926 main ()
19928 asinl ();
19930 return 0;
19932 _ACEOF
19933 rm -f conftest.$ac_objext conftest$ac_exeext
19934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19935 (eval $ac_link) 2>conftest.er1
19936 ac_status=$?
19937 grep -v '^ *+' conftest.er1 >conftest.err
19938 rm -f conftest.er1
19939 cat conftest.err >&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } &&
19942 { ac_try='test -z "$ac_c_werror_flag"
19943 || test ! -s conftest.err'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; } &&
19949 { ac_try='test -s conftest$ac_exeext'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 ac_cv_lib_m_asinl=yes
19956 else
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5
19960 ac_cv_lib_m_asinl=no
19962 rm -f conftest.err conftest.$ac_objext \
19963 conftest$ac_exeext conftest.$ac_ext
19964 LIBS=$ac_check_lib_save_LIBS
19966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19967 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19968 if test $ac_cv_lib_m_asinl = yes; then
19970 cat >>confdefs.h <<\_ACEOF
19971 #define HAVE_ASINL 1
19972 _ACEOF
19976 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19977 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19978 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19979 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 else
19981 ac_check_lib_save_LIBS=$LIBS
19982 LIBS="-lm $LIBS"
19983 if test x$gcc_no_link = xyes; then
19984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19986 { (exit 1); exit 1; }; }
19988 cat >conftest.$ac_ext <<_ACEOF
19989 /* confdefs.h. */
19990 _ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19995 /* Override any gcc2 internal prototype to avoid an error. */
19996 #ifdef __cplusplus
19997 extern "C"
19998 #endif
19999 /* We use char because int might match the return type of a gcc2
20000 builtin and then its argument prototype would still apply. */
20001 char asinhf ();
20003 main ()
20005 asinhf ();
20007 return 0;
20009 _ACEOF
20010 rm -f conftest.$ac_objext conftest$ac_exeext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20012 (eval $ac_link) 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -z "$ac_c_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20023 ac_status=$?
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try='test -s conftest$ac_exeext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 ac_cv_lib_m_asinhf=yes
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20037 ac_cv_lib_m_asinhf=no
20039 rm -f conftest.err conftest.$ac_objext \
20040 conftest$ac_exeext conftest.$ac_ext
20041 LIBS=$ac_check_lib_save_LIBS
20043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20044 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20045 if test $ac_cv_lib_m_asinhf = yes; then
20047 cat >>confdefs.h <<\_ACEOF
20048 #define HAVE_ASINHF 1
20049 _ACEOF
20053 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20054 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20055 if test "${ac_cv_lib_m_asinh+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 else
20058 ac_check_lib_save_LIBS=$LIBS
20059 LIBS="-lm $LIBS"
20060 if test x$gcc_no_link = xyes; then
20061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20063 { (exit 1); exit 1; }; }
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20072 /* Override any gcc2 internal prototype to avoid an error. */
20073 #ifdef __cplusplus
20074 extern "C"
20075 #endif
20076 /* We use char because int might match the return type of a gcc2
20077 builtin and then its argument prototype would still apply. */
20078 char asinh ();
20080 main ()
20082 asinh ();
20084 return 0;
20086 _ACEOF
20087 rm -f conftest.$ac_objext conftest$ac_exeext
20088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20089 (eval $ac_link) 2>conftest.er1
20090 ac_status=$?
20091 grep -v '^ *+' conftest.er1 >conftest.err
20092 rm -f conftest.er1
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); } &&
20096 { ac_try='test -z "$ac_c_werror_flag"
20097 || test ! -s conftest.err'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; } &&
20103 { ac_try='test -s conftest$ac_exeext'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20106 ac_status=$?
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20109 ac_cv_lib_m_asinh=yes
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 ac_cv_lib_m_asinh=no
20116 rm -f conftest.err conftest.$ac_objext \
20117 conftest$ac_exeext conftest.$ac_ext
20118 LIBS=$ac_check_lib_save_LIBS
20120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20121 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20122 if test $ac_cv_lib_m_asinh = yes; then
20124 cat >>confdefs.h <<\_ACEOF
20125 #define HAVE_ASINH 1
20126 _ACEOF
20130 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20131 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20132 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 else
20135 ac_check_lib_save_LIBS=$LIBS
20136 LIBS="-lm $LIBS"
20137 if test x$gcc_no_link = xyes; then
20138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20140 { (exit 1); exit 1; }; }
20142 cat >conftest.$ac_ext <<_ACEOF
20143 /* confdefs.h. */
20144 _ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20149 /* Override any gcc2 internal prototype to avoid an error. */
20150 #ifdef __cplusplus
20151 extern "C"
20152 #endif
20153 /* We use char because int might match the return type of a gcc2
20154 builtin and then its argument prototype would still apply. */
20155 char asinhl ();
20157 main ()
20159 asinhl ();
20161 return 0;
20163 _ACEOF
20164 rm -f conftest.$ac_objext conftest$ac_exeext
20165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20166 (eval $ac_link) 2>conftest.er1
20167 ac_status=$?
20168 grep -v '^ *+' conftest.er1 >conftest.err
20169 rm -f conftest.er1
20170 cat conftest.err >&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } &&
20173 { ac_try='test -z "$ac_c_werror_flag"
20174 || test ! -s conftest.err'
20175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176 (eval $ac_try) 2>&5
20177 ac_status=$?
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); }; } &&
20180 { ac_try='test -s conftest$ac_exeext'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20183 ac_status=$?
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; }; then
20186 ac_cv_lib_m_asinhl=yes
20187 else
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20191 ac_cv_lib_m_asinhl=no
20193 rm -f conftest.err conftest.$ac_objext \
20194 conftest$ac_exeext conftest.$ac_ext
20195 LIBS=$ac_check_lib_save_LIBS
20197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20198 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20199 if test $ac_cv_lib_m_asinhl = yes; then
20201 cat >>confdefs.h <<\_ACEOF
20202 #define HAVE_ASINHL 1
20203 _ACEOF
20207 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20208 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20209 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 else
20212 ac_check_lib_save_LIBS=$LIBS
20213 LIBS="-lm $LIBS"
20214 if test x$gcc_no_link = xyes; then
20215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20217 { (exit 1); exit 1; }; }
20219 cat >conftest.$ac_ext <<_ACEOF
20220 /* confdefs.h. */
20221 _ACEOF
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20226 /* Override any gcc2 internal prototype to avoid an error. */
20227 #ifdef __cplusplus
20228 extern "C"
20229 #endif
20230 /* We use char because int might match the return type of a gcc2
20231 builtin and then its argument prototype would still apply. */
20232 char atan2f ();
20234 main ()
20236 atan2f ();
20238 return 0;
20240 _ACEOF
20241 rm -f conftest.$ac_objext conftest$ac_exeext
20242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20243 (eval $ac_link) 2>conftest.er1
20244 ac_status=$?
20245 grep -v '^ *+' conftest.er1 >conftest.err
20246 rm -f conftest.er1
20247 cat conftest.err >&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); } &&
20250 { ac_try='test -z "$ac_c_werror_flag"
20251 || test ! -s conftest.err'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20254 ac_status=$?
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; } &&
20257 { ac_try='test -s conftest$ac_exeext'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20260 ac_status=$?
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; }; then
20263 ac_cv_lib_m_atan2f=yes
20264 else
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20268 ac_cv_lib_m_atan2f=no
20270 rm -f conftest.err conftest.$ac_objext \
20271 conftest$ac_exeext conftest.$ac_ext
20272 LIBS=$ac_check_lib_save_LIBS
20274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20275 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20276 if test $ac_cv_lib_m_atan2f = yes; then
20278 cat >>confdefs.h <<\_ACEOF
20279 #define HAVE_ATAN2F 1
20280 _ACEOF
20284 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20285 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20286 if test "${ac_cv_lib_m_atan2+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 else
20289 ac_check_lib_save_LIBS=$LIBS
20290 LIBS="-lm $LIBS"
20291 if test x$gcc_no_link = xyes; then
20292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20294 { (exit 1); exit 1; }; }
20296 cat >conftest.$ac_ext <<_ACEOF
20297 /* confdefs.h. */
20298 _ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20303 /* Override any gcc2 internal prototype to avoid an error. */
20304 #ifdef __cplusplus
20305 extern "C"
20306 #endif
20307 /* We use char because int might match the return type of a gcc2
20308 builtin and then its argument prototype would still apply. */
20309 char atan2 ();
20311 main ()
20313 atan2 ();
20315 return 0;
20317 _ACEOF
20318 rm -f conftest.$ac_objext conftest$ac_exeext
20319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20320 (eval $ac_link) 2>conftest.er1
20321 ac_status=$?
20322 grep -v '^ *+' conftest.er1 >conftest.err
20323 rm -f conftest.er1
20324 cat conftest.err >&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); } &&
20327 { ac_try='test -z "$ac_c_werror_flag"
20328 || test ! -s conftest.err'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20331 ac_status=$?
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; } &&
20334 { ac_try='test -s conftest$ac_exeext'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; }; then
20340 ac_cv_lib_m_atan2=yes
20341 else
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.$ac_ext >&5
20345 ac_cv_lib_m_atan2=no
20347 rm -f conftest.err conftest.$ac_objext \
20348 conftest$ac_exeext conftest.$ac_ext
20349 LIBS=$ac_check_lib_save_LIBS
20351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20352 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20353 if test $ac_cv_lib_m_atan2 = yes; then
20355 cat >>confdefs.h <<\_ACEOF
20356 #define HAVE_ATAN2 1
20357 _ACEOF
20361 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20362 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20363 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 else
20366 ac_check_lib_save_LIBS=$LIBS
20367 LIBS="-lm $LIBS"
20368 if test x$gcc_no_link = xyes; then
20369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20371 { (exit 1); exit 1; }; }
20373 cat >conftest.$ac_ext <<_ACEOF
20374 /* confdefs.h. */
20375 _ACEOF
20376 cat confdefs.h >>conftest.$ac_ext
20377 cat >>conftest.$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20380 /* Override any gcc2 internal prototype to avoid an error. */
20381 #ifdef __cplusplus
20382 extern "C"
20383 #endif
20384 /* We use char because int might match the return type of a gcc2
20385 builtin and then its argument prototype would still apply. */
20386 char atan2l ();
20388 main ()
20390 atan2l ();
20392 return 0;
20394 _ACEOF
20395 rm -f conftest.$ac_objext conftest$ac_exeext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20397 (eval $ac_link) 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -z "$ac_c_werror_flag"
20405 || test ! -s conftest.err'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20408 ac_status=$?
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; } &&
20411 { ac_try='test -s conftest$ac_exeext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20414 ac_status=$?
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 ac_cv_lib_m_atan2l=yes
20418 else
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20422 ac_cv_lib_m_atan2l=no
20424 rm -f conftest.err conftest.$ac_objext \
20425 conftest$ac_exeext conftest.$ac_ext
20426 LIBS=$ac_check_lib_save_LIBS
20428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20429 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20430 if test $ac_cv_lib_m_atan2l = yes; then
20432 cat >>confdefs.h <<\_ACEOF
20433 #define HAVE_ATAN2L 1
20434 _ACEOF
20438 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20439 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20440 if test "${ac_cv_lib_m_atanf+set}" = set; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20442 else
20443 ac_check_lib_save_LIBS=$LIBS
20444 LIBS="-lm $LIBS"
20445 if test x$gcc_no_link = xyes; then
20446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20448 { (exit 1); exit 1; }; }
20450 cat >conftest.$ac_ext <<_ACEOF
20451 /* confdefs.h. */
20452 _ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20457 /* Override any gcc2 internal prototype to avoid an error. */
20458 #ifdef __cplusplus
20459 extern "C"
20460 #endif
20461 /* We use char because int might match the return type of a gcc2
20462 builtin and then its argument prototype would still apply. */
20463 char atanf ();
20465 main ()
20467 atanf ();
20469 return 0;
20471 _ACEOF
20472 rm -f conftest.$ac_objext conftest$ac_exeext
20473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20474 (eval $ac_link) 2>conftest.er1
20475 ac_status=$?
20476 grep -v '^ *+' conftest.er1 >conftest.err
20477 rm -f conftest.er1
20478 cat conftest.err >&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } &&
20481 { ac_try='test -z "$ac_c_werror_flag"
20482 || test ! -s conftest.err'
20483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 (eval $ac_try) 2>&5
20485 ac_status=$?
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; } &&
20488 { ac_try='test -s conftest$ac_exeext'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20491 ac_status=$?
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; }; then
20494 ac_cv_lib_m_atanf=yes
20495 else
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20499 ac_cv_lib_m_atanf=no
20501 rm -f conftest.err conftest.$ac_objext \
20502 conftest$ac_exeext conftest.$ac_ext
20503 LIBS=$ac_check_lib_save_LIBS
20505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20506 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20507 if test $ac_cv_lib_m_atanf = yes; then
20509 cat >>confdefs.h <<\_ACEOF
20510 #define HAVE_ATANF 1
20511 _ACEOF
20515 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20516 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20517 if test "${ac_cv_lib_m_atan+set}" = set; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 else
20520 ac_check_lib_save_LIBS=$LIBS
20521 LIBS="-lm $LIBS"
20522 if test x$gcc_no_link = xyes; then
20523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20525 { (exit 1); exit 1; }; }
20527 cat >conftest.$ac_ext <<_ACEOF
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20534 /* Override any gcc2 internal prototype to avoid an error. */
20535 #ifdef __cplusplus
20536 extern "C"
20537 #endif
20538 /* We use char because int might match the return type of a gcc2
20539 builtin and then its argument prototype would still apply. */
20540 char atan ();
20542 main ()
20544 atan ();
20546 return 0;
20548 _ACEOF
20549 rm -f conftest.$ac_objext conftest$ac_exeext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20551 (eval $ac_link) 2>conftest.er1
20552 ac_status=$?
20553 grep -v '^ *+' conftest.er1 >conftest.err
20554 rm -f conftest.er1
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } &&
20558 { ac_try='test -z "$ac_c_werror_flag"
20559 || test ! -s conftest.err'
20560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 (eval $ac_try) 2>&5
20562 ac_status=$?
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; } &&
20565 { ac_try='test -s conftest$ac_exeext'
20566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20567 (eval $ac_try) 2>&5
20568 ac_status=$?
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); }; }; then
20571 ac_cv_lib_m_atan=yes
20572 else
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20576 ac_cv_lib_m_atan=no
20578 rm -f conftest.err conftest.$ac_objext \
20579 conftest$ac_exeext conftest.$ac_ext
20580 LIBS=$ac_check_lib_save_LIBS
20582 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20583 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20584 if test $ac_cv_lib_m_atan = yes; then
20586 cat >>confdefs.h <<\_ACEOF
20587 #define HAVE_ATAN 1
20588 _ACEOF
20592 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20593 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20594 if test "${ac_cv_lib_m_atanl+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597 ac_check_lib_save_LIBS=$LIBS
20598 LIBS="-lm $LIBS"
20599 if test x$gcc_no_link = xyes; then
20600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20602 { (exit 1); exit 1; }; }
20604 cat >conftest.$ac_ext <<_ACEOF
20605 /* confdefs.h. */
20606 _ACEOF
20607 cat confdefs.h >>conftest.$ac_ext
20608 cat >>conftest.$ac_ext <<_ACEOF
20609 /* end confdefs.h. */
20611 /* Override any gcc2 internal prototype to avoid an error. */
20612 #ifdef __cplusplus
20613 extern "C"
20614 #endif
20615 /* We use char because int might match the return type of a gcc2
20616 builtin and then its argument prototype would still apply. */
20617 char atanl ();
20619 main ()
20621 atanl ();
20623 return 0;
20625 _ACEOF
20626 rm -f conftest.$ac_objext conftest$ac_exeext
20627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20628 (eval $ac_link) 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } &&
20635 { ac_try='test -z "$ac_c_werror_flag"
20636 || test ! -s conftest.err'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20639 ac_status=$?
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; } &&
20642 { ac_try='test -s conftest$ac_exeext'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20645 ac_status=$?
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; }; then
20648 ac_cv_lib_m_atanl=yes
20649 else
20650 echo "$as_me: failed program was:" >&5
20651 sed 's/^/| /' conftest.$ac_ext >&5
20653 ac_cv_lib_m_atanl=no
20655 rm -f conftest.err conftest.$ac_objext \
20656 conftest$ac_exeext conftest.$ac_ext
20657 LIBS=$ac_check_lib_save_LIBS
20659 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20660 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20661 if test $ac_cv_lib_m_atanl = yes; then
20663 cat >>confdefs.h <<\_ACEOF
20664 #define HAVE_ATANL 1
20665 _ACEOF
20669 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20670 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20671 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20672 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 else
20674 ac_check_lib_save_LIBS=$LIBS
20675 LIBS="-lm $LIBS"
20676 if test x$gcc_no_link = xyes; then
20677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20679 { (exit 1); exit 1; }; }
20681 cat >conftest.$ac_ext <<_ACEOF
20682 /* confdefs.h. */
20683 _ACEOF
20684 cat confdefs.h >>conftest.$ac_ext
20685 cat >>conftest.$ac_ext <<_ACEOF
20686 /* end confdefs.h. */
20688 /* Override any gcc2 internal prototype to avoid an error. */
20689 #ifdef __cplusplus
20690 extern "C"
20691 #endif
20692 /* We use char because int might match the return type of a gcc2
20693 builtin and then its argument prototype would still apply. */
20694 char atanhf ();
20696 main ()
20698 atanhf ();
20700 return 0;
20702 _ACEOF
20703 rm -f conftest.$ac_objext conftest$ac_exeext
20704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20705 (eval $ac_link) 2>conftest.er1
20706 ac_status=$?
20707 grep -v '^ *+' conftest.er1 >conftest.err
20708 rm -f conftest.er1
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } &&
20712 { ac_try='test -z "$ac_c_werror_flag"
20713 || test ! -s conftest.err'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; } &&
20719 { ac_try='test -s conftest$ac_exeext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20722 ac_status=$?
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 ac_cv_lib_m_atanhf=yes
20726 else
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.$ac_ext >&5
20730 ac_cv_lib_m_atanhf=no
20732 rm -f conftest.err conftest.$ac_objext \
20733 conftest$ac_exeext conftest.$ac_ext
20734 LIBS=$ac_check_lib_save_LIBS
20736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20737 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20738 if test $ac_cv_lib_m_atanhf = yes; then
20740 cat >>confdefs.h <<\_ACEOF
20741 #define HAVE_ATANHF 1
20742 _ACEOF
20746 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20747 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20748 if test "${ac_cv_lib_m_atanh+set}" = set; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20751 ac_check_lib_save_LIBS=$LIBS
20752 LIBS="-lm $LIBS"
20753 if test x$gcc_no_link = xyes; then
20754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20756 { (exit 1); exit 1; }; }
20758 cat >conftest.$ac_ext <<_ACEOF
20759 /* confdefs.h. */
20760 _ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20765 /* Override any gcc2 internal prototype to avoid an error. */
20766 #ifdef __cplusplus
20767 extern "C"
20768 #endif
20769 /* We use char because int might match the return type of a gcc2
20770 builtin and then its argument prototype would still apply. */
20771 char atanh ();
20773 main ()
20775 atanh ();
20777 return 0;
20779 _ACEOF
20780 rm -f conftest.$ac_objext conftest$ac_exeext
20781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20782 (eval $ac_link) 2>conftest.er1
20783 ac_status=$?
20784 grep -v '^ *+' conftest.er1 >conftest.err
20785 rm -f conftest.er1
20786 cat conftest.err >&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } &&
20789 { ac_try='test -z "$ac_c_werror_flag"
20790 || test ! -s conftest.err'
20791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20792 (eval $ac_try) 2>&5
20793 ac_status=$?
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); }; } &&
20796 { ac_try='test -s conftest$ac_exeext'
20797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20798 (eval $ac_try) 2>&5
20799 ac_status=$?
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; }; then
20802 ac_cv_lib_m_atanh=yes
20803 else
20804 echo "$as_me: failed program was:" >&5
20805 sed 's/^/| /' conftest.$ac_ext >&5
20807 ac_cv_lib_m_atanh=no
20809 rm -f conftest.err conftest.$ac_objext \
20810 conftest$ac_exeext conftest.$ac_ext
20811 LIBS=$ac_check_lib_save_LIBS
20813 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20814 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20815 if test $ac_cv_lib_m_atanh = yes; then
20817 cat >>confdefs.h <<\_ACEOF
20818 #define HAVE_ATANH 1
20819 _ACEOF
20823 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20824 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20825 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 else
20828 ac_check_lib_save_LIBS=$LIBS
20829 LIBS="-lm $LIBS"
20830 if test x$gcc_no_link = xyes; then
20831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20833 { (exit 1); exit 1; }; }
20835 cat >conftest.$ac_ext <<_ACEOF
20836 /* confdefs.h. */
20837 _ACEOF
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20842 /* Override any gcc2 internal prototype to avoid an error. */
20843 #ifdef __cplusplus
20844 extern "C"
20845 #endif
20846 /* We use char because int might match the return type of a gcc2
20847 builtin and then its argument prototype would still apply. */
20848 char atanhl ();
20850 main ()
20852 atanhl ();
20854 return 0;
20856 _ACEOF
20857 rm -f conftest.$ac_objext conftest$ac_exeext
20858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20859 (eval $ac_link) 2>conftest.er1
20860 ac_status=$?
20861 grep -v '^ *+' conftest.er1 >conftest.err
20862 rm -f conftest.er1
20863 cat conftest.err >&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } &&
20866 { ac_try='test -z "$ac_c_werror_flag"
20867 || test ! -s conftest.err'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; } &&
20873 { ac_try='test -s conftest$ac_exeext'
20874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20875 (eval $ac_try) 2>&5
20876 ac_status=$?
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; }; then
20879 ac_cv_lib_m_atanhl=yes
20880 else
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.$ac_ext >&5
20884 ac_cv_lib_m_atanhl=no
20886 rm -f conftest.err conftest.$ac_objext \
20887 conftest$ac_exeext conftest.$ac_ext
20888 LIBS=$ac_check_lib_save_LIBS
20890 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20891 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20892 if test $ac_cv_lib_m_atanhl = yes; then
20894 cat >>confdefs.h <<\_ACEOF
20895 #define HAVE_ATANHL 1
20896 _ACEOF
20900 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20901 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20902 if test "${ac_cv_lib_m_cargf+set}" = set; then
20903 echo $ECHO_N "(cached) $ECHO_C" >&6
20904 else
20905 ac_check_lib_save_LIBS=$LIBS
20906 LIBS="-lm $LIBS"
20907 if test x$gcc_no_link = xyes; then
20908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20910 { (exit 1); exit 1; }; }
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20919 /* Override any gcc2 internal prototype to avoid an error. */
20920 #ifdef __cplusplus
20921 extern "C"
20922 #endif
20923 /* We use char because int might match the return type of a gcc2
20924 builtin and then its argument prototype would still apply. */
20925 char cargf ();
20927 main ()
20929 cargf ();
20931 return 0;
20933 _ACEOF
20934 rm -f conftest.$ac_objext conftest$ac_exeext
20935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20936 (eval $ac_link) 2>conftest.er1
20937 ac_status=$?
20938 grep -v '^ *+' conftest.er1 >conftest.err
20939 rm -f conftest.er1
20940 cat conftest.err >&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } &&
20943 { ac_try='test -z "$ac_c_werror_flag"
20944 || test ! -s conftest.err'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; } &&
20950 { ac_try='test -s conftest$ac_exeext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20953 ac_status=$?
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_lib_m_cargf=yes
20957 else
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20961 ac_cv_lib_m_cargf=no
20963 rm -f conftest.err conftest.$ac_objext \
20964 conftest$ac_exeext conftest.$ac_ext
20965 LIBS=$ac_check_lib_save_LIBS
20967 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20968 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20969 if test $ac_cv_lib_m_cargf = yes; then
20971 cat >>confdefs.h <<\_ACEOF
20972 #define HAVE_CARGF 1
20973 _ACEOF
20977 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20978 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20979 if test "${ac_cv_lib_m_carg+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982 ac_check_lib_save_LIBS=$LIBS
20983 LIBS="-lm $LIBS"
20984 if test x$gcc_no_link = xyes; then
20985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20987 { (exit 1); exit 1; }; }
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20996 /* Override any gcc2 internal prototype to avoid an error. */
20997 #ifdef __cplusplus
20998 extern "C"
20999 #endif
21000 /* We use char because int might match the return type of a gcc2
21001 builtin and then its argument prototype would still apply. */
21002 char carg ();
21004 main ()
21006 carg ();
21008 return 0;
21010 _ACEOF
21011 rm -f conftest.$ac_objext conftest$ac_exeext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21013 (eval $ac_link) 2>conftest.er1
21014 ac_status=$?
21015 grep -v '^ *+' conftest.er1 >conftest.err
21016 rm -f conftest.er1
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try='test -z "$ac_c_werror_flag"
21021 || test ! -s conftest.err'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21024 ac_status=$?
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; } &&
21027 { ac_try='test -s conftest$ac_exeext'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21030 ac_status=$?
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; }; then
21033 ac_cv_lib_m_carg=yes
21034 else
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.$ac_ext >&5
21038 ac_cv_lib_m_carg=no
21040 rm -f conftest.err conftest.$ac_objext \
21041 conftest$ac_exeext conftest.$ac_ext
21042 LIBS=$ac_check_lib_save_LIBS
21044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21045 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21046 if test $ac_cv_lib_m_carg = yes; then
21048 cat >>confdefs.h <<\_ACEOF
21049 #define HAVE_CARG 1
21050 _ACEOF
21054 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21055 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21056 if test "${ac_cv_lib_m_cargl+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21058 else
21059 ac_check_lib_save_LIBS=$LIBS
21060 LIBS="-lm $LIBS"
21061 if test x$gcc_no_link = xyes; then
21062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21064 { (exit 1); exit 1; }; }
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21073 /* Override any gcc2 internal prototype to avoid an error. */
21074 #ifdef __cplusplus
21075 extern "C"
21076 #endif
21077 /* We use char because int might match the return type of a gcc2
21078 builtin and then its argument prototype would still apply. */
21079 char cargl ();
21081 main ()
21083 cargl ();
21085 return 0;
21087 _ACEOF
21088 rm -f conftest.$ac_objext conftest$ac_exeext
21089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21090 (eval $ac_link) 2>conftest.er1
21091 ac_status=$?
21092 grep -v '^ *+' conftest.er1 >conftest.err
21093 rm -f conftest.er1
21094 cat conftest.err >&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } &&
21097 { ac_try='test -z "$ac_c_werror_flag"
21098 || test ! -s conftest.err'
21099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21100 (eval $ac_try) 2>&5
21101 ac_status=$?
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); }; } &&
21104 { ac_try='test -s conftest$ac_exeext'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_cv_lib_m_cargl=yes
21111 else
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_cv_lib_m_cargl=no
21117 rm -f conftest.err conftest.$ac_objext \
21118 conftest$ac_exeext conftest.$ac_ext
21119 LIBS=$ac_check_lib_save_LIBS
21121 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21122 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21123 if test $ac_cv_lib_m_cargl = yes; then
21125 cat >>confdefs.h <<\_ACEOF
21126 #define HAVE_CARGL 1
21127 _ACEOF
21131 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21132 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21133 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21134 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 else
21136 ac_check_lib_save_LIBS=$LIBS
21137 LIBS="-lm $LIBS"
21138 if test x$gcc_no_link = xyes; then
21139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21141 { (exit 1); exit 1; }; }
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21150 /* Override any gcc2 internal prototype to avoid an error. */
21151 #ifdef __cplusplus
21152 extern "C"
21153 #endif
21154 /* We use char because int might match the return type of a gcc2
21155 builtin and then its argument prototype would still apply. */
21156 char ceilf ();
21158 main ()
21160 ceilf ();
21162 return 0;
21164 _ACEOF
21165 rm -f conftest.$ac_objext conftest$ac_exeext
21166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21167 (eval $ac_link) 2>conftest.er1
21168 ac_status=$?
21169 grep -v '^ *+' conftest.er1 >conftest.err
21170 rm -f conftest.er1
21171 cat conftest.err >&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } &&
21174 { ac_try='test -z "$ac_c_werror_flag"
21175 || test ! -s conftest.err'
21176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21177 (eval $ac_try) 2>&5
21178 ac_status=$?
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); }; } &&
21181 { ac_try='test -s conftest$ac_exeext'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21184 ac_status=$?
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; }; then
21187 ac_cv_lib_m_ceilf=yes
21188 else
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 ac_cv_lib_m_ceilf=no
21194 rm -f conftest.err conftest.$ac_objext \
21195 conftest$ac_exeext conftest.$ac_ext
21196 LIBS=$ac_check_lib_save_LIBS
21198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21199 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21200 if test $ac_cv_lib_m_ceilf = yes; then
21202 cat >>confdefs.h <<\_ACEOF
21203 #define HAVE_CEILF 1
21204 _ACEOF
21208 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21209 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21210 if test "${ac_cv_lib_m_ceil+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 ac_check_lib_save_LIBS=$LIBS
21214 LIBS="-lm $LIBS"
21215 if test x$gcc_no_link = xyes; then
21216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21218 { (exit 1); exit 1; }; }
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21227 /* Override any gcc2 internal prototype to avoid an error. */
21228 #ifdef __cplusplus
21229 extern "C"
21230 #endif
21231 /* We use char because int might match the return type of a gcc2
21232 builtin and then its argument prototype would still apply. */
21233 char ceil ();
21235 main ()
21237 ceil ();
21239 return 0;
21241 _ACEOF
21242 rm -f conftest.$ac_objext conftest$ac_exeext
21243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21244 (eval $ac_link) 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } &&
21251 { ac_try='test -z "$ac_c_werror_flag"
21252 || test ! -s conftest.err'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21255 ac_status=$?
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; } &&
21258 { ac_try='test -s conftest$ac_exeext'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; }; then
21264 ac_cv_lib_m_ceil=yes
21265 else
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 ac_cv_lib_m_ceil=no
21271 rm -f conftest.err conftest.$ac_objext \
21272 conftest$ac_exeext conftest.$ac_ext
21273 LIBS=$ac_check_lib_save_LIBS
21275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21276 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21277 if test $ac_cv_lib_m_ceil = yes; then
21279 cat >>confdefs.h <<\_ACEOF
21280 #define HAVE_CEIL 1
21281 _ACEOF
21285 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21286 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21287 if test "${ac_cv_lib_m_ceill+set}" = set; then
21288 echo $ECHO_N "(cached) $ECHO_C" >&6
21289 else
21290 ac_check_lib_save_LIBS=$LIBS
21291 LIBS="-lm $LIBS"
21292 if test x$gcc_no_link = xyes; then
21293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21295 { (exit 1); exit 1; }; }
21297 cat >conftest.$ac_ext <<_ACEOF
21298 /* confdefs.h. */
21299 _ACEOF
21300 cat confdefs.h >>conftest.$ac_ext
21301 cat >>conftest.$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21304 /* Override any gcc2 internal prototype to avoid an error. */
21305 #ifdef __cplusplus
21306 extern "C"
21307 #endif
21308 /* We use char because int might match the return type of a gcc2
21309 builtin and then its argument prototype would still apply. */
21310 char ceill ();
21312 main ()
21314 ceill ();
21316 return 0;
21318 _ACEOF
21319 rm -f conftest.$ac_objext conftest$ac_exeext
21320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21321 (eval $ac_link) 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } &&
21328 { ac_try='test -z "$ac_c_werror_flag"
21329 || test ! -s conftest.err'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21332 ac_status=$?
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; } &&
21335 { ac_try='test -s conftest$ac_exeext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21341 ac_cv_lib_m_ceill=yes
21342 else
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.$ac_ext >&5
21346 ac_cv_lib_m_ceill=no
21348 rm -f conftest.err conftest.$ac_objext \
21349 conftest$ac_exeext conftest.$ac_ext
21350 LIBS=$ac_check_lib_save_LIBS
21352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21353 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21354 if test $ac_cv_lib_m_ceill = yes; then
21356 cat >>confdefs.h <<\_ACEOF
21357 #define HAVE_CEILL 1
21358 _ACEOF
21362 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21363 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21364 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 else
21367 ac_check_lib_save_LIBS=$LIBS
21368 LIBS="-lm $LIBS"
21369 if test x$gcc_no_link = xyes; then
21370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21372 { (exit 1); exit 1; }; }
21374 cat >conftest.$ac_ext <<_ACEOF
21375 /* confdefs.h. */
21376 _ACEOF
21377 cat confdefs.h >>conftest.$ac_ext
21378 cat >>conftest.$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21381 /* Override any gcc2 internal prototype to avoid an error. */
21382 #ifdef __cplusplus
21383 extern "C"
21384 #endif
21385 /* We use char because int might match the return type of a gcc2
21386 builtin and then its argument prototype would still apply. */
21387 char copysignf ();
21389 main ()
21391 copysignf ();
21393 return 0;
21395 _ACEOF
21396 rm -f conftest.$ac_objext conftest$ac_exeext
21397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21398 (eval $ac_link) 2>conftest.er1
21399 ac_status=$?
21400 grep -v '^ *+' conftest.er1 >conftest.err
21401 rm -f conftest.er1
21402 cat conftest.err >&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } &&
21405 { ac_try='test -z "$ac_c_werror_flag"
21406 || test ! -s conftest.err'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; } &&
21412 { ac_try='test -s conftest$ac_exeext'
21413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414 (eval $ac_try) 2>&5
21415 ac_status=$?
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); }; }; then
21418 ac_cv_lib_m_copysignf=yes
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21423 ac_cv_lib_m_copysignf=no
21425 rm -f conftest.err conftest.$ac_objext \
21426 conftest$ac_exeext conftest.$ac_ext
21427 LIBS=$ac_check_lib_save_LIBS
21429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21430 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21431 if test $ac_cv_lib_m_copysignf = yes; then
21433 cat >>confdefs.h <<\_ACEOF
21434 #define HAVE_COPYSIGNF 1
21435 _ACEOF
21439 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21440 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21441 if test "${ac_cv_lib_m_copysign+set}" = set; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21443 else
21444 ac_check_lib_save_LIBS=$LIBS
21445 LIBS="-lm $LIBS"
21446 if test x$gcc_no_link = xyes; then
21447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21449 { (exit 1); exit 1; }; }
21451 cat >conftest.$ac_ext <<_ACEOF
21452 /* confdefs.h. */
21453 _ACEOF
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21458 /* Override any gcc2 internal prototype to avoid an error. */
21459 #ifdef __cplusplus
21460 extern "C"
21461 #endif
21462 /* We use char because int might match the return type of a gcc2
21463 builtin and then its argument prototype would still apply. */
21464 char copysign ();
21466 main ()
21468 copysign ();
21470 return 0;
21472 _ACEOF
21473 rm -f conftest.$ac_objext conftest$ac_exeext
21474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21475 (eval $ac_link) 2>conftest.er1
21476 ac_status=$?
21477 grep -v '^ *+' conftest.er1 >conftest.err
21478 rm -f conftest.er1
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } &&
21482 { ac_try='test -z "$ac_c_werror_flag"
21483 || test ! -s conftest.err'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21486 ac_status=$?
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; } &&
21489 { ac_try='test -s conftest$ac_exeext'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21492 ac_status=$?
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; }; then
21495 ac_cv_lib_m_copysign=yes
21496 else
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21500 ac_cv_lib_m_copysign=no
21502 rm -f conftest.err conftest.$ac_objext \
21503 conftest$ac_exeext conftest.$ac_ext
21504 LIBS=$ac_check_lib_save_LIBS
21506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21507 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21508 if test $ac_cv_lib_m_copysign = yes; then
21510 cat >>confdefs.h <<\_ACEOF
21511 #define HAVE_COPYSIGN 1
21512 _ACEOF
21516 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21517 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21518 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21519 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 else
21521 ac_check_lib_save_LIBS=$LIBS
21522 LIBS="-lm $LIBS"
21523 if test x$gcc_no_link = xyes; then
21524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21526 { (exit 1); exit 1; }; }
21528 cat >conftest.$ac_ext <<_ACEOF
21529 /* confdefs.h. */
21530 _ACEOF
21531 cat confdefs.h >>conftest.$ac_ext
21532 cat >>conftest.$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21535 /* Override any gcc2 internal prototype to avoid an error. */
21536 #ifdef __cplusplus
21537 extern "C"
21538 #endif
21539 /* We use char because int might match the return type of a gcc2
21540 builtin and then its argument prototype would still apply. */
21541 char copysignl ();
21543 main ()
21545 copysignl ();
21547 return 0;
21549 _ACEOF
21550 rm -f conftest.$ac_objext conftest$ac_exeext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552 (eval $ac_link) 2>conftest.er1
21553 ac_status=$?
21554 grep -v '^ *+' conftest.er1 >conftest.err
21555 rm -f conftest.er1
21556 cat conftest.err >&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } &&
21559 { ac_try='test -z "$ac_c_werror_flag"
21560 || test ! -s conftest.err'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; } &&
21566 { ac_try='test -s conftest$ac_exeext'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_lib_m_copysignl=yes
21573 else
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ac_cv_lib_m_copysignl=no
21579 rm -f conftest.err conftest.$ac_objext \
21580 conftest$ac_exeext conftest.$ac_ext
21581 LIBS=$ac_check_lib_save_LIBS
21583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21584 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21585 if test $ac_cv_lib_m_copysignl = yes; then
21587 cat >>confdefs.h <<\_ACEOF
21588 #define HAVE_COPYSIGNL 1
21589 _ACEOF
21593 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21594 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21595 if test "${ac_cv_lib_m_cosf+set}" = set; then
21596 echo $ECHO_N "(cached) $ECHO_C" >&6
21597 else
21598 ac_check_lib_save_LIBS=$LIBS
21599 LIBS="-lm $LIBS"
21600 if test x$gcc_no_link = xyes; then
21601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21603 { (exit 1); exit 1; }; }
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21612 /* Override any gcc2 internal prototype to avoid an error. */
21613 #ifdef __cplusplus
21614 extern "C"
21615 #endif
21616 /* We use char because int might match the return type of a gcc2
21617 builtin and then its argument prototype would still apply. */
21618 char cosf ();
21620 main ()
21622 cosf ();
21624 return 0;
21626 _ACEOF
21627 rm -f conftest.$ac_objext conftest$ac_exeext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21629 (eval $ac_link) 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } &&
21636 { ac_try='test -z "$ac_c_werror_flag"
21637 || test ! -s conftest.err'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21640 ac_status=$?
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; } &&
21643 { ac_try='test -s conftest$ac_exeext'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21646 ac_status=$?
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; }; then
21649 ac_cv_lib_m_cosf=yes
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21654 ac_cv_lib_m_cosf=no
21656 rm -f conftest.err conftest.$ac_objext \
21657 conftest$ac_exeext conftest.$ac_ext
21658 LIBS=$ac_check_lib_save_LIBS
21660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21661 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21662 if test $ac_cv_lib_m_cosf = yes; then
21664 cat >>confdefs.h <<\_ACEOF
21665 #define HAVE_COSF 1
21666 _ACEOF
21670 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21671 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21672 if test "${ac_cv_lib_m_cos+set}" = set; then
21673 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 else
21675 ac_check_lib_save_LIBS=$LIBS
21676 LIBS="-lm $LIBS"
21677 if test x$gcc_no_link = xyes; then
21678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21680 { (exit 1); exit 1; }; }
21682 cat >conftest.$ac_ext <<_ACEOF
21683 /* confdefs.h. */
21684 _ACEOF
21685 cat confdefs.h >>conftest.$ac_ext
21686 cat >>conftest.$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21689 /* Override any gcc2 internal prototype to avoid an error. */
21690 #ifdef __cplusplus
21691 extern "C"
21692 #endif
21693 /* We use char because int might match the return type of a gcc2
21694 builtin and then its argument prototype would still apply. */
21695 char cos ();
21697 main ()
21699 cos ();
21701 return 0;
21703 _ACEOF
21704 rm -f conftest.$ac_objext conftest$ac_exeext
21705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21706 (eval $ac_link) 2>conftest.er1
21707 ac_status=$?
21708 grep -v '^ *+' conftest.er1 >conftest.err
21709 rm -f conftest.er1
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try='test -z "$ac_c_werror_flag"
21714 || test ! -s conftest.err'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21717 ac_status=$?
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; } &&
21720 { ac_try='test -s conftest$ac_exeext'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 ac_cv_lib_m_cos=yes
21727 else
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.$ac_ext >&5
21731 ac_cv_lib_m_cos=no
21733 rm -f conftest.err conftest.$ac_objext \
21734 conftest$ac_exeext conftest.$ac_ext
21735 LIBS=$ac_check_lib_save_LIBS
21737 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21738 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21739 if test $ac_cv_lib_m_cos = yes; then
21741 cat >>confdefs.h <<\_ACEOF
21742 #define HAVE_COS 1
21743 _ACEOF
21747 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21748 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21749 if test "${ac_cv_lib_m_cosl+set}" = set; then
21750 echo $ECHO_N "(cached) $ECHO_C" >&6
21751 else
21752 ac_check_lib_save_LIBS=$LIBS
21753 LIBS="-lm $LIBS"
21754 if test x$gcc_no_link = xyes; then
21755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21757 { (exit 1); exit 1; }; }
21759 cat >conftest.$ac_ext <<_ACEOF
21760 /* confdefs.h. */
21761 _ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21766 /* Override any gcc2 internal prototype to avoid an error. */
21767 #ifdef __cplusplus
21768 extern "C"
21769 #endif
21770 /* We use char because int might match the return type of a gcc2
21771 builtin and then its argument prototype would still apply. */
21772 char cosl ();
21774 main ()
21776 cosl ();
21778 return 0;
21780 _ACEOF
21781 rm -f conftest.$ac_objext conftest$ac_exeext
21782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21783 (eval $ac_link) 2>conftest.er1
21784 ac_status=$?
21785 grep -v '^ *+' conftest.er1 >conftest.err
21786 rm -f conftest.er1
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } &&
21790 { ac_try='test -z "$ac_c_werror_flag"
21791 || test ! -s conftest.err'
21792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21793 (eval $ac_try) 2>&5
21794 ac_status=$?
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); }; } &&
21797 { ac_try='test -s conftest$ac_exeext'
21798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21799 (eval $ac_try) 2>&5
21800 ac_status=$?
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; }; then
21803 ac_cv_lib_m_cosl=yes
21804 else
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21808 ac_cv_lib_m_cosl=no
21810 rm -f conftest.err conftest.$ac_objext \
21811 conftest$ac_exeext conftest.$ac_ext
21812 LIBS=$ac_check_lib_save_LIBS
21814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21815 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21816 if test $ac_cv_lib_m_cosl = yes; then
21818 cat >>confdefs.h <<\_ACEOF
21819 #define HAVE_COSL 1
21820 _ACEOF
21824 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21825 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21826 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 else
21829 ac_check_lib_save_LIBS=$LIBS
21830 LIBS="-lm $LIBS"
21831 if test x$gcc_no_link = xyes; then
21832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21834 { (exit 1); exit 1; }; }
21836 cat >conftest.$ac_ext <<_ACEOF
21837 /* confdefs.h. */
21838 _ACEOF
21839 cat confdefs.h >>conftest.$ac_ext
21840 cat >>conftest.$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21843 /* Override any gcc2 internal prototype to avoid an error. */
21844 #ifdef __cplusplus
21845 extern "C"
21846 #endif
21847 /* We use char because int might match the return type of a gcc2
21848 builtin and then its argument prototype would still apply. */
21849 char ccosf ();
21851 main ()
21853 ccosf ();
21855 return 0;
21857 _ACEOF
21858 rm -f conftest.$ac_objext conftest$ac_exeext
21859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21860 (eval $ac_link) 2>conftest.er1
21861 ac_status=$?
21862 grep -v '^ *+' conftest.er1 >conftest.err
21863 rm -f conftest.er1
21864 cat conftest.err >&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } &&
21867 { ac_try='test -z "$ac_c_werror_flag"
21868 || test ! -s conftest.err'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try='test -s conftest$ac_exeext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_lib_m_ccosf=yes
21881 else
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21885 ac_cv_lib_m_ccosf=no
21887 rm -f conftest.err conftest.$ac_objext \
21888 conftest$ac_exeext conftest.$ac_ext
21889 LIBS=$ac_check_lib_save_LIBS
21891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21892 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21893 if test $ac_cv_lib_m_ccosf = yes; then
21895 cat >>confdefs.h <<\_ACEOF
21896 #define HAVE_CCOSF 1
21897 _ACEOF
21901 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21902 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21903 if test "${ac_cv_lib_m_ccos+set}" = set; then
21904 echo $ECHO_N "(cached) $ECHO_C" >&6
21905 else
21906 ac_check_lib_save_LIBS=$LIBS
21907 LIBS="-lm $LIBS"
21908 if test x$gcc_no_link = xyes; then
21909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21911 { (exit 1); exit 1; }; }
21913 cat >conftest.$ac_ext <<_ACEOF
21914 /* confdefs.h. */
21915 _ACEOF
21916 cat confdefs.h >>conftest.$ac_ext
21917 cat >>conftest.$ac_ext <<_ACEOF
21918 /* end confdefs.h. */
21920 /* Override any gcc2 internal prototype to avoid an error. */
21921 #ifdef __cplusplus
21922 extern "C"
21923 #endif
21924 /* We use char because int might match the return type of a gcc2
21925 builtin and then its argument prototype would still apply. */
21926 char ccos ();
21928 main ()
21930 ccos ();
21932 return 0;
21934 _ACEOF
21935 rm -f conftest.$ac_objext conftest$ac_exeext
21936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21937 (eval $ac_link) 2>conftest.er1
21938 ac_status=$?
21939 grep -v '^ *+' conftest.er1 >conftest.err
21940 rm -f conftest.er1
21941 cat conftest.err >&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } &&
21944 { ac_try='test -z "$ac_c_werror_flag"
21945 || test ! -s conftest.err'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; } &&
21951 { ac_try='test -s conftest$ac_exeext'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; }; then
21957 ac_cv_lib_m_ccos=yes
21958 else
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21962 ac_cv_lib_m_ccos=no
21964 rm -f conftest.err conftest.$ac_objext \
21965 conftest$ac_exeext conftest.$ac_ext
21966 LIBS=$ac_check_lib_save_LIBS
21968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21969 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21970 if test $ac_cv_lib_m_ccos = yes; then
21972 cat >>confdefs.h <<\_ACEOF
21973 #define HAVE_CCOS 1
21974 _ACEOF
21978 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21979 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21980 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 else
21983 ac_check_lib_save_LIBS=$LIBS
21984 LIBS="-lm $LIBS"
21985 if test x$gcc_no_link = xyes; then
21986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21988 { (exit 1); exit 1; }; }
21990 cat >conftest.$ac_ext <<_ACEOF
21991 /* confdefs.h. */
21992 _ACEOF
21993 cat confdefs.h >>conftest.$ac_ext
21994 cat >>conftest.$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21997 /* Override any gcc2 internal prototype to avoid an error. */
21998 #ifdef __cplusplus
21999 extern "C"
22000 #endif
22001 /* We use char because int might match the return type of a gcc2
22002 builtin and then its argument prototype would still apply. */
22003 char ccosl ();
22005 main ()
22007 ccosl ();
22009 return 0;
22011 _ACEOF
22012 rm -f conftest.$ac_objext conftest$ac_exeext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22014 (eval $ac_link) 2>conftest.er1
22015 ac_status=$?
22016 grep -v '^ *+' conftest.er1 >conftest.err
22017 rm -f conftest.er1
22018 cat conftest.err >&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try='test -z "$ac_c_werror_flag"
22022 || test ! -s conftest.err'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22025 ac_status=$?
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; } &&
22028 { ac_try='test -s conftest$ac_exeext'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22031 ac_status=$?
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22034 ac_cv_lib_m_ccosl=yes
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 ac_cv_lib_m_ccosl=no
22041 rm -f conftest.err conftest.$ac_objext \
22042 conftest$ac_exeext conftest.$ac_ext
22043 LIBS=$ac_check_lib_save_LIBS
22045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22046 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22047 if test $ac_cv_lib_m_ccosl = yes; then
22049 cat >>confdefs.h <<\_ACEOF
22050 #define HAVE_CCOSL 1
22051 _ACEOF
22055 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22056 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22057 if test "${ac_cv_lib_m_coshf+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 else
22060 ac_check_lib_save_LIBS=$LIBS
22061 LIBS="-lm $LIBS"
22062 if test x$gcc_no_link = xyes; then
22063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22065 { (exit 1); exit 1; }; }
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22074 /* Override any gcc2 internal prototype to avoid an error. */
22075 #ifdef __cplusplus
22076 extern "C"
22077 #endif
22078 /* We use char because int might match the return type of a gcc2
22079 builtin and then its argument prototype would still apply. */
22080 char coshf ();
22082 main ()
22084 coshf ();
22086 return 0;
22088 _ACEOF
22089 rm -f conftest.$ac_objext conftest$ac_exeext
22090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22091 (eval $ac_link) 2>conftest.er1
22092 ac_status=$?
22093 grep -v '^ *+' conftest.er1 >conftest.err
22094 rm -f conftest.er1
22095 cat conftest.err >&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); } &&
22098 { ac_try='test -z "$ac_c_werror_flag"
22099 || test ! -s conftest.err'
22100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101 (eval $ac_try) 2>&5
22102 ac_status=$?
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; } &&
22105 { ac_try='test -s conftest$ac_exeext'
22106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107 (eval $ac_try) 2>&5
22108 ac_status=$?
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); }; }; then
22111 ac_cv_lib_m_coshf=yes
22112 else
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22116 ac_cv_lib_m_coshf=no
22118 rm -f conftest.err conftest.$ac_objext \
22119 conftest$ac_exeext conftest.$ac_ext
22120 LIBS=$ac_check_lib_save_LIBS
22122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22123 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22124 if test $ac_cv_lib_m_coshf = yes; then
22126 cat >>confdefs.h <<\_ACEOF
22127 #define HAVE_COSHF 1
22128 _ACEOF
22132 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22133 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22134 if test "${ac_cv_lib_m_cosh+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 else
22137 ac_check_lib_save_LIBS=$LIBS
22138 LIBS="-lm $LIBS"
22139 if test x$gcc_no_link = xyes; then
22140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22142 { (exit 1); exit 1; }; }
22144 cat >conftest.$ac_ext <<_ACEOF
22145 /* confdefs.h. */
22146 _ACEOF
22147 cat confdefs.h >>conftest.$ac_ext
22148 cat >>conftest.$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22151 /* Override any gcc2 internal prototype to avoid an error. */
22152 #ifdef __cplusplus
22153 extern "C"
22154 #endif
22155 /* We use char because int might match the return type of a gcc2
22156 builtin and then its argument prototype would still apply. */
22157 char cosh ();
22159 main ()
22161 cosh ();
22163 return 0;
22165 _ACEOF
22166 rm -f conftest.$ac_objext conftest$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>conftest.er1
22169 ac_status=$?
22170 grep -v '^ *+' conftest.er1 >conftest.err
22171 rm -f conftest.er1
22172 cat conftest.err >&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } &&
22175 { ac_try='test -z "$ac_c_werror_flag"
22176 || test ! -s conftest.err'
22177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178 (eval $ac_try) 2>&5
22179 ac_status=$?
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; } &&
22182 { ac_try='test -s conftest$ac_exeext'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22185 ac_status=$?
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; }; then
22188 ac_cv_lib_m_cosh=yes
22189 else
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22193 ac_cv_lib_m_cosh=no
22195 rm -f conftest.err conftest.$ac_objext \
22196 conftest$ac_exeext conftest.$ac_ext
22197 LIBS=$ac_check_lib_save_LIBS
22199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22200 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22201 if test $ac_cv_lib_m_cosh = yes; then
22203 cat >>confdefs.h <<\_ACEOF
22204 #define HAVE_COSH 1
22205 _ACEOF
22209 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22210 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22211 if test "${ac_cv_lib_m_coshl+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 else
22214 ac_check_lib_save_LIBS=$LIBS
22215 LIBS="-lm $LIBS"
22216 if test x$gcc_no_link = xyes; then
22217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22219 { (exit 1); exit 1; }; }
22221 cat >conftest.$ac_ext <<_ACEOF
22222 /* confdefs.h. */
22223 _ACEOF
22224 cat confdefs.h >>conftest.$ac_ext
22225 cat >>conftest.$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22228 /* Override any gcc2 internal prototype to avoid an error. */
22229 #ifdef __cplusplus
22230 extern "C"
22231 #endif
22232 /* We use char because int might match the return type of a gcc2
22233 builtin and then its argument prototype would still apply. */
22234 char coshl ();
22236 main ()
22238 coshl ();
22240 return 0;
22242 _ACEOF
22243 rm -f conftest.$ac_objext conftest$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245 (eval $ac_link) 2>conftest.er1
22246 ac_status=$?
22247 grep -v '^ *+' conftest.er1 >conftest.err
22248 rm -f conftest.er1
22249 cat conftest.err >&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try='test -z "$ac_c_werror_flag"
22253 || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22256 ac_status=$?
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try='test -s conftest$ac_exeext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22262 ac_status=$?
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 ac_cv_lib_m_coshl=yes
22266 else
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22270 ac_cv_lib_m_coshl=no
22272 rm -f conftest.err conftest.$ac_objext \
22273 conftest$ac_exeext conftest.$ac_ext
22274 LIBS=$ac_check_lib_save_LIBS
22276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22277 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22278 if test $ac_cv_lib_m_coshl = yes; then
22280 cat >>confdefs.h <<\_ACEOF
22281 #define HAVE_COSHL 1
22282 _ACEOF
22286 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22287 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22288 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 else
22291 ac_check_lib_save_LIBS=$LIBS
22292 LIBS="-lm $LIBS"
22293 if test x$gcc_no_link = xyes; then
22294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22296 { (exit 1); exit 1; }; }
22298 cat >conftest.$ac_ext <<_ACEOF
22299 /* confdefs.h. */
22300 _ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22305 /* Override any gcc2 internal prototype to avoid an error. */
22306 #ifdef __cplusplus
22307 extern "C"
22308 #endif
22309 /* We use char because int might match the return type of a gcc2
22310 builtin and then its argument prototype would still apply. */
22311 char ccoshf ();
22313 main ()
22315 ccoshf ();
22317 return 0;
22319 _ACEOF
22320 rm -f conftest.$ac_objext conftest$ac_exeext
22321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22322 (eval $ac_link) 2>conftest.er1
22323 ac_status=$?
22324 grep -v '^ *+' conftest.er1 >conftest.err
22325 rm -f conftest.er1
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } &&
22329 { ac_try='test -z "$ac_c_werror_flag"
22330 || test ! -s conftest.err'
22331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22332 (eval $ac_try) 2>&5
22333 ac_status=$?
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; } &&
22336 { ac_try='test -s conftest$ac_exeext'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_cv_lib_m_ccoshf=yes
22343 else
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.$ac_ext >&5
22347 ac_cv_lib_m_ccoshf=no
22349 rm -f conftest.err conftest.$ac_objext \
22350 conftest$ac_exeext conftest.$ac_ext
22351 LIBS=$ac_check_lib_save_LIBS
22353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22354 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22355 if test $ac_cv_lib_m_ccoshf = yes; then
22357 cat >>confdefs.h <<\_ACEOF
22358 #define HAVE_CCOSHF 1
22359 _ACEOF
22363 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22364 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22365 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22366 echo $ECHO_N "(cached) $ECHO_C" >&6
22367 else
22368 ac_check_lib_save_LIBS=$LIBS
22369 LIBS="-lm $LIBS"
22370 if test x$gcc_no_link = xyes; then
22371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22373 { (exit 1); exit 1; }; }
22375 cat >conftest.$ac_ext <<_ACEOF
22376 /* confdefs.h. */
22377 _ACEOF
22378 cat confdefs.h >>conftest.$ac_ext
22379 cat >>conftest.$ac_ext <<_ACEOF
22380 /* end confdefs.h. */
22382 /* Override any gcc2 internal prototype to avoid an error. */
22383 #ifdef __cplusplus
22384 extern "C"
22385 #endif
22386 /* We use char because int might match the return type of a gcc2
22387 builtin and then its argument prototype would still apply. */
22388 char ccosh ();
22390 main ()
22392 ccosh ();
22394 return 0;
22396 _ACEOF
22397 rm -f conftest.$ac_objext conftest$ac_exeext
22398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22399 (eval $ac_link) 2>conftest.er1
22400 ac_status=$?
22401 grep -v '^ *+' conftest.er1 >conftest.err
22402 rm -f conftest.er1
22403 cat conftest.err >&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } &&
22406 { ac_try='test -z "$ac_c_werror_flag"
22407 || test ! -s conftest.err'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22410 ac_status=$?
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; } &&
22413 { ac_try='test -s conftest$ac_exeext'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 ac_cv_lib_m_ccosh=yes
22420 else
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22424 ac_cv_lib_m_ccosh=no
22426 rm -f conftest.err conftest.$ac_objext \
22427 conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22431 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22432 if test $ac_cv_lib_m_ccosh = yes; then
22434 cat >>confdefs.h <<\_ACEOF
22435 #define HAVE_CCOSH 1
22436 _ACEOF
22440 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22441 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22442 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22443 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 else
22445 ac_check_lib_save_LIBS=$LIBS
22446 LIBS="-lm $LIBS"
22447 if test x$gcc_no_link = xyes; then
22448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22450 { (exit 1); exit 1; }; }
22452 cat >conftest.$ac_ext <<_ACEOF
22453 /* confdefs.h. */
22454 _ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22459 /* Override any gcc2 internal prototype to avoid an error. */
22460 #ifdef __cplusplus
22461 extern "C"
22462 #endif
22463 /* We use char because int might match the return type of a gcc2
22464 builtin and then its argument prototype would still apply. */
22465 char ccoshl ();
22467 main ()
22469 ccoshl ();
22471 return 0;
22473 _ACEOF
22474 rm -f conftest.$ac_objext conftest$ac_exeext
22475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22476 (eval $ac_link) 2>conftest.er1
22477 ac_status=$?
22478 grep -v '^ *+' conftest.er1 >conftest.err
22479 rm -f conftest.er1
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } &&
22483 { ac_try='test -z "$ac_c_werror_flag"
22484 || test ! -s conftest.err'
22485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22486 (eval $ac_try) 2>&5
22487 ac_status=$?
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); }; } &&
22490 { ac_try='test -s conftest$ac_exeext'
22491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492 (eval $ac_try) 2>&5
22493 ac_status=$?
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; }; then
22496 ac_cv_lib_m_ccoshl=yes
22497 else
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.$ac_ext >&5
22501 ac_cv_lib_m_ccoshl=no
22503 rm -f conftest.err conftest.$ac_objext \
22504 conftest$ac_exeext conftest.$ac_ext
22505 LIBS=$ac_check_lib_save_LIBS
22507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22508 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22509 if test $ac_cv_lib_m_ccoshl = yes; then
22511 cat >>confdefs.h <<\_ACEOF
22512 #define HAVE_CCOSHL 1
22513 _ACEOF
22517 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22518 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22519 if test "${ac_cv_lib_m_expf+set}" = set; then
22520 echo $ECHO_N "(cached) $ECHO_C" >&6
22521 else
22522 ac_check_lib_save_LIBS=$LIBS
22523 LIBS="-lm $LIBS"
22524 if test x$gcc_no_link = xyes; then
22525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22527 { (exit 1); exit 1; }; }
22529 cat >conftest.$ac_ext <<_ACEOF
22530 /* confdefs.h. */
22531 _ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22536 /* Override any gcc2 internal prototype to avoid an error. */
22537 #ifdef __cplusplus
22538 extern "C"
22539 #endif
22540 /* We use char because int might match the return type of a gcc2
22541 builtin and then its argument prototype would still apply. */
22542 char expf ();
22544 main ()
22546 expf ();
22548 return 0;
22550 _ACEOF
22551 rm -f conftest.$ac_objext conftest$ac_exeext
22552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22553 (eval $ac_link) 2>conftest.er1
22554 ac_status=$?
22555 grep -v '^ *+' conftest.er1 >conftest.err
22556 rm -f conftest.er1
22557 cat conftest.err >&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } &&
22560 { ac_try='test -z "$ac_c_werror_flag"
22561 || test ! -s conftest.err'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22564 ac_status=$?
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; } &&
22567 { ac_try='test -s conftest$ac_exeext'
22568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 (eval $ac_try) 2>&5
22570 ac_status=$?
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; }; then
22573 ac_cv_lib_m_expf=yes
22574 else
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22578 ac_cv_lib_m_expf=no
22580 rm -f conftest.err conftest.$ac_objext \
22581 conftest$ac_exeext conftest.$ac_ext
22582 LIBS=$ac_check_lib_save_LIBS
22584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22585 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22586 if test $ac_cv_lib_m_expf = yes; then
22588 cat >>confdefs.h <<\_ACEOF
22589 #define HAVE_EXPF 1
22590 _ACEOF
22594 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22595 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22596 if test "${ac_cv_lib_m_exp+set}" = set; then
22597 echo $ECHO_N "(cached) $ECHO_C" >&6
22598 else
22599 ac_check_lib_save_LIBS=$LIBS
22600 LIBS="-lm $LIBS"
22601 if test x$gcc_no_link = xyes; then
22602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22604 { (exit 1); exit 1; }; }
22606 cat >conftest.$ac_ext <<_ACEOF
22607 /* confdefs.h. */
22608 _ACEOF
22609 cat confdefs.h >>conftest.$ac_ext
22610 cat >>conftest.$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22613 /* Override any gcc2 internal prototype to avoid an error. */
22614 #ifdef __cplusplus
22615 extern "C"
22616 #endif
22617 /* We use char because int might match the return type of a gcc2
22618 builtin and then its argument prototype would still apply. */
22619 char exp ();
22621 main ()
22623 exp ();
22625 return 0;
22627 _ACEOF
22628 rm -f conftest.$ac_objext conftest$ac_exeext
22629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22630 (eval $ac_link) 2>conftest.er1
22631 ac_status=$?
22632 grep -v '^ *+' conftest.er1 >conftest.err
22633 rm -f conftest.er1
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } &&
22637 { ac_try='test -z "$ac_c_werror_flag"
22638 || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22641 ac_status=$?
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest$ac_exeext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22647 ac_status=$?
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 ac_cv_lib_m_exp=yes
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22655 ac_cv_lib_m_exp=no
22657 rm -f conftest.err conftest.$ac_objext \
22658 conftest$ac_exeext conftest.$ac_ext
22659 LIBS=$ac_check_lib_save_LIBS
22661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22662 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22663 if test $ac_cv_lib_m_exp = yes; then
22665 cat >>confdefs.h <<\_ACEOF
22666 #define HAVE_EXP 1
22667 _ACEOF
22671 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22672 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22673 if test "${ac_cv_lib_m_expl+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676 ac_check_lib_save_LIBS=$LIBS
22677 LIBS="-lm $LIBS"
22678 if test x$gcc_no_link = xyes; then
22679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22681 { (exit 1); exit 1; }; }
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22690 /* Override any gcc2 internal prototype to avoid an error. */
22691 #ifdef __cplusplus
22692 extern "C"
22693 #endif
22694 /* We use char because int might match the return type of a gcc2
22695 builtin and then its argument prototype would still apply. */
22696 char expl ();
22698 main ()
22700 expl ();
22702 return 0;
22704 _ACEOF
22705 rm -f conftest.$ac_objext conftest$ac_exeext
22706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22707 (eval $ac_link) 2>conftest.er1
22708 ac_status=$?
22709 grep -v '^ *+' conftest.er1 >conftest.err
22710 rm -f conftest.er1
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } &&
22714 { ac_try='test -z "$ac_c_werror_flag"
22715 || test ! -s conftest.err'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; } &&
22721 { ac_try='test -s conftest$ac_exeext'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22724 ac_status=$?
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; }; then
22727 ac_cv_lib_m_expl=yes
22728 else
22729 echo "$as_me: failed program was:" >&5
22730 sed 's/^/| /' conftest.$ac_ext >&5
22732 ac_cv_lib_m_expl=no
22734 rm -f conftest.err conftest.$ac_objext \
22735 conftest$ac_exeext conftest.$ac_ext
22736 LIBS=$ac_check_lib_save_LIBS
22738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22739 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22740 if test $ac_cv_lib_m_expl = yes; then
22742 cat >>confdefs.h <<\_ACEOF
22743 #define HAVE_EXPL 1
22744 _ACEOF
22748 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22749 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22750 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22753 ac_check_lib_save_LIBS=$LIBS
22754 LIBS="-lm $LIBS"
22755 if test x$gcc_no_link = xyes; then
22756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22758 { (exit 1); exit 1; }; }
22760 cat >conftest.$ac_ext <<_ACEOF
22761 /* confdefs.h. */
22762 _ACEOF
22763 cat confdefs.h >>conftest.$ac_ext
22764 cat >>conftest.$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22767 /* Override any gcc2 internal prototype to avoid an error. */
22768 #ifdef __cplusplus
22769 extern "C"
22770 #endif
22771 /* We use char because int might match the return type of a gcc2
22772 builtin and then its argument prototype would still apply. */
22773 char cexpf ();
22775 main ()
22777 cexpf ();
22779 return 0;
22781 _ACEOF
22782 rm -f conftest.$ac_objext conftest$ac_exeext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>conftest.er1
22785 ac_status=$?
22786 grep -v '^ *+' conftest.er1 >conftest.err
22787 rm -f conftest.er1
22788 cat conftest.err >&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try='test -z "$ac_c_werror_flag"
22792 || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try='test -s conftest$ac_exeext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_cv_lib_m_cexpf=yes
22805 else
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22809 ac_cv_lib_m_cexpf=no
22811 rm -f conftest.err conftest.$ac_objext \
22812 conftest$ac_exeext conftest.$ac_ext
22813 LIBS=$ac_check_lib_save_LIBS
22815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22816 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22817 if test $ac_cv_lib_m_cexpf = yes; then
22819 cat >>confdefs.h <<\_ACEOF
22820 #define HAVE_CEXPF 1
22821 _ACEOF
22825 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22826 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22827 if test "${ac_cv_lib_m_cexp+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 else
22830 ac_check_lib_save_LIBS=$LIBS
22831 LIBS="-lm $LIBS"
22832 if test x$gcc_no_link = xyes; then
22833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22835 { (exit 1); exit 1; }; }
22837 cat >conftest.$ac_ext <<_ACEOF
22838 /* confdefs.h. */
22839 _ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 /* Override any gcc2 internal prototype to avoid an error. */
22845 #ifdef __cplusplus
22846 extern "C"
22847 #endif
22848 /* We use char because int might match the return type of a gcc2
22849 builtin and then its argument prototype would still apply. */
22850 char cexp ();
22852 main ()
22854 cexp ();
22856 return 0;
22858 _ACEOF
22859 rm -f conftest.$ac_objext conftest$ac_exeext
22860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22861 (eval $ac_link) 2>conftest.er1
22862 ac_status=$?
22863 grep -v '^ *+' conftest.er1 >conftest.err
22864 rm -f conftest.er1
22865 cat conftest.err >&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try='test -z "$ac_c_werror_flag"
22869 || test ! -s conftest.err'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22872 ac_status=$?
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; } &&
22875 { ac_try='test -s conftest$ac_exeext'
22876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877 (eval $ac_try) 2>&5
22878 ac_status=$?
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; }; then
22881 ac_cv_lib_m_cexp=yes
22882 else
22883 echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22886 ac_cv_lib_m_cexp=no
22888 rm -f conftest.err conftest.$ac_objext \
22889 conftest$ac_exeext conftest.$ac_ext
22890 LIBS=$ac_check_lib_save_LIBS
22892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22893 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22894 if test $ac_cv_lib_m_cexp = yes; then
22896 cat >>confdefs.h <<\_ACEOF
22897 #define HAVE_CEXP 1
22898 _ACEOF
22902 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22903 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22904 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22905 echo $ECHO_N "(cached) $ECHO_C" >&6
22906 else
22907 ac_check_lib_save_LIBS=$LIBS
22908 LIBS="-lm $LIBS"
22909 if test x$gcc_no_link = xyes; then
22910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22912 { (exit 1); exit 1; }; }
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22921 /* Override any gcc2 internal prototype to avoid an error. */
22922 #ifdef __cplusplus
22923 extern "C"
22924 #endif
22925 /* We use char because int might match the return type of a gcc2
22926 builtin and then its argument prototype would still apply. */
22927 char cexpl ();
22929 main ()
22931 cexpl ();
22933 return 0;
22935 _ACEOF
22936 rm -f conftest.$ac_objext conftest$ac_exeext
22937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22938 (eval $ac_link) 2>conftest.er1
22939 ac_status=$?
22940 grep -v '^ *+' conftest.er1 >conftest.err
22941 rm -f conftest.er1
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } &&
22945 { ac_try='test -z "$ac_c_werror_flag"
22946 || test ! -s conftest.err'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22949 ac_status=$?
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; } &&
22952 { ac_try='test -s conftest$ac_exeext'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22955 ac_status=$?
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; }; then
22958 ac_cv_lib_m_cexpl=yes
22959 else
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22963 ac_cv_lib_m_cexpl=no
22965 rm -f conftest.err conftest.$ac_objext \
22966 conftest$ac_exeext conftest.$ac_ext
22967 LIBS=$ac_check_lib_save_LIBS
22969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22970 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22971 if test $ac_cv_lib_m_cexpl = yes; then
22973 cat >>confdefs.h <<\_ACEOF
22974 #define HAVE_CEXPL 1
22975 _ACEOF
22979 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22980 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22981 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22982 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 else
22984 ac_check_lib_save_LIBS=$LIBS
22985 LIBS="-lm $LIBS"
22986 if test x$gcc_no_link = xyes; then
22987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22989 { (exit 1); exit 1; }; }
22991 cat >conftest.$ac_ext <<_ACEOF
22992 /* confdefs.h. */
22993 _ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22998 /* Override any gcc2 internal prototype to avoid an error. */
22999 #ifdef __cplusplus
23000 extern "C"
23001 #endif
23002 /* We use char because int might match the return type of a gcc2
23003 builtin and then its argument prototype would still apply. */
23004 char fabsf ();
23006 main ()
23008 fabsf ();
23010 return 0;
23012 _ACEOF
23013 rm -f conftest.$ac_objext conftest$ac_exeext
23014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23015 (eval $ac_link) 2>conftest.er1
23016 ac_status=$?
23017 grep -v '^ *+' conftest.er1 >conftest.err
23018 rm -f conftest.er1
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try='test -z "$ac_c_werror_flag"
23023 || test ! -s conftest.err'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23026 ac_status=$?
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; } &&
23029 { ac_try='test -s conftest$ac_exeext'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23032 ac_status=$?
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; }; then
23035 ac_cv_lib_m_fabsf=yes
23036 else
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.$ac_ext >&5
23040 ac_cv_lib_m_fabsf=no
23042 rm -f conftest.err conftest.$ac_objext \
23043 conftest$ac_exeext conftest.$ac_ext
23044 LIBS=$ac_check_lib_save_LIBS
23046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23047 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23048 if test $ac_cv_lib_m_fabsf = yes; then
23050 cat >>confdefs.h <<\_ACEOF
23051 #define HAVE_FABSF 1
23052 _ACEOF
23056 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23057 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23058 if test "${ac_cv_lib_m_fabs+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 else
23061 ac_check_lib_save_LIBS=$LIBS
23062 LIBS="-lm $LIBS"
23063 if test x$gcc_no_link = xyes; then
23064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23066 { (exit 1); exit 1; }; }
23068 cat >conftest.$ac_ext <<_ACEOF
23069 /* confdefs.h. */
23070 _ACEOF
23071 cat confdefs.h >>conftest.$ac_ext
23072 cat >>conftest.$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23075 /* Override any gcc2 internal prototype to avoid an error. */
23076 #ifdef __cplusplus
23077 extern "C"
23078 #endif
23079 /* We use char because int might match the return type of a gcc2
23080 builtin and then its argument prototype would still apply. */
23081 char fabs ();
23083 main ()
23085 fabs ();
23087 return 0;
23089 _ACEOF
23090 rm -f conftest.$ac_objext conftest$ac_exeext
23091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23092 (eval $ac_link) 2>conftest.er1
23093 ac_status=$?
23094 grep -v '^ *+' conftest.er1 >conftest.err
23095 rm -f conftest.er1
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } &&
23099 { ac_try='test -z "$ac_c_werror_flag"
23100 || test ! -s conftest.err'
23101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23102 (eval $ac_try) 2>&5
23103 ac_status=$?
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); }; } &&
23106 { ac_try='test -s conftest$ac_exeext'
23107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108 (eval $ac_try) 2>&5
23109 ac_status=$?
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; }; then
23112 ac_cv_lib_m_fabs=yes
23113 else
23114 echo "$as_me: failed program was:" >&5
23115 sed 's/^/| /' conftest.$ac_ext >&5
23117 ac_cv_lib_m_fabs=no
23119 rm -f conftest.err conftest.$ac_objext \
23120 conftest$ac_exeext conftest.$ac_ext
23121 LIBS=$ac_check_lib_save_LIBS
23123 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23124 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23125 if test $ac_cv_lib_m_fabs = yes; then
23127 cat >>confdefs.h <<\_ACEOF
23128 #define HAVE_FABS 1
23129 _ACEOF
23133 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23134 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23135 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23136 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 else
23138 ac_check_lib_save_LIBS=$LIBS
23139 LIBS="-lm $LIBS"
23140 if test x$gcc_no_link = xyes; then
23141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23143 { (exit 1); exit 1; }; }
23145 cat >conftest.$ac_ext <<_ACEOF
23146 /* confdefs.h. */
23147 _ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23152 /* Override any gcc2 internal prototype to avoid an error. */
23153 #ifdef __cplusplus
23154 extern "C"
23155 #endif
23156 /* We use char because int might match the return type of a gcc2
23157 builtin and then its argument prototype would still apply. */
23158 char fabsl ();
23160 main ()
23162 fabsl ();
23164 return 0;
23166 _ACEOF
23167 rm -f conftest.$ac_objext conftest$ac_exeext
23168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23169 (eval $ac_link) 2>conftest.er1
23170 ac_status=$?
23171 grep -v '^ *+' conftest.er1 >conftest.err
23172 rm -f conftest.er1
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try='test -z "$ac_c_werror_flag"
23177 || test ! -s conftest.err'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; } &&
23183 { ac_try='test -s conftest$ac_exeext'
23184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23185 (eval $ac_try) 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 ac_cv_lib_m_fabsl=yes
23190 else
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23194 ac_cv_lib_m_fabsl=no
23196 rm -f conftest.err conftest.$ac_objext \
23197 conftest$ac_exeext conftest.$ac_ext
23198 LIBS=$ac_check_lib_save_LIBS
23200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23201 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23202 if test $ac_cv_lib_m_fabsl = yes; then
23204 cat >>confdefs.h <<\_ACEOF
23205 #define HAVE_FABSL 1
23206 _ACEOF
23210 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23211 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23212 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23213 echo $ECHO_N "(cached) $ECHO_C" >&6
23214 else
23215 ac_check_lib_save_LIBS=$LIBS
23216 LIBS="-lm $LIBS"
23217 if test x$gcc_no_link = xyes; then
23218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23220 { (exit 1); exit 1; }; }
23222 cat >conftest.$ac_ext <<_ACEOF
23223 /* confdefs.h. */
23224 _ACEOF
23225 cat confdefs.h >>conftest.$ac_ext
23226 cat >>conftest.$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23229 /* Override any gcc2 internal prototype to avoid an error. */
23230 #ifdef __cplusplus
23231 extern "C"
23232 #endif
23233 /* We use char because int might match the return type of a gcc2
23234 builtin and then its argument prototype would still apply. */
23235 char cabsf ();
23237 main ()
23239 cabsf ();
23241 return 0;
23243 _ACEOF
23244 rm -f conftest.$ac_objext conftest$ac_exeext
23245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23246 (eval $ac_link) 2>conftest.er1
23247 ac_status=$?
23248 grep -v '^ *+' conftest.er1 >conftest.err
23249 rm -f conftest.er1
23250 cat conftest.err >&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } &&
23253 { ac_try='test -z "$ac_c_werror_flag"
23254 || test ! -s conftest.err'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23257 ac_status=$?
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; } &&
23260 { ac_try='test -s conftest$ac_exeext'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23263 ac_status=$?
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 ac_cv_lib_m_cabsf=yes
23267 else
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.$ac_ext >&5
23271 ac_cv_lib_m_cabsf=no
23273 rm -f conftest.err conftest.$ac_objext \
23274 conftest$ac_exeext conftest.$ac_ext
23275 LIBS=$ac_check_lib_save_LIBS
23277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23278 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23279 if test $ac_cv_lib_m_cabsf = yes; then
23281 cat >>confdefs.h <<\_ACEOF
23282 #define HAVE_CABSF 1
23283 _ACEOF
23287 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23288 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23289 if test "${ac_cv_lib_m_cabs+set}" = set; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 else
23292 ac_check_lib_save_LIBS=$LIBS
23293 LIBS="-lm $LIBS"
23294 if test x$gcc_no_link = xyes; then
23295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23297 { (exit 1); exit 1; }; }
23299 cat >conftest.$ac_ext <<_ACEOF
23300 /* confdefs.h. */
23301 _ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23306 /* Override any gcc2 internal prototype to avoid an error. */
23307 #ifdef __cplusplus
23308 extern "C"
23309 #endif
23310 /* We use char because int might match the return type of a gcc2
23311 builtin and then its argument prototype would still apply. */
23312 char cabs ();
23314 main ()
23316 cabs ();
23318 return 0;
23320 _ACEOF
23321 rm -f conftest.$ac_objext conftest$ac_exeext
23322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23323 (eval $ac_link) 2>conftest.er1
23324 ac_status=$?
23325 grep -v '^ *+' conftest.er1 >conftest.err
23326 rm -f conftest.er1
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try='test -z "$ac_c_werror_flag"
23331 || test ! -s conftest.err'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23334 ac_status=$?
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; } &&
23337 { ac_try='test -s conftest$ac_exeext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23340 ac_status=$?
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 ac_cv_lib_m_cabs=yes
23344 else
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23348 ac_cv_lib_m_cabs=no
23350 rm -f conftest.err conftest.$ac_objext \
23351 conftest$ac_exeext conftest.$ac_ext
23352 LIBS=$ac_check_lib_save_LIBS
23354 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23355 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23356 if test $ac_cv_lib_m_cabs = yes; then
23358 cat >>confdefs.h <<\_ACEOF
23359 #define HAVE_CABS 1
23360 _ACEOF
23364 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23365 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23366 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23367 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 else
23369 ac_check_lib_save_LIBS=$LIBS
23370 LIBS="-lm $LIBS"
23371 if test x$gcc_no_link = xyes; then
23372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23374 { (exit 1); exit 1; }; }
23376 cat >conftest.$ac_ext <<_ACEOF
23377 /* confdefs.h. */
23378 _ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23383 /* Override any gcc2 internal prototype to avoid an error. */
23384 #ifdef __cplusplus
23385 extern "C"
23386 #endif
23387 /* We use char because int might match the return type of a gcc2
23388 builtin and then its argument prototype would still apply. */
23389 char cabsl ();
23391 main ()
23393 cabsl ();
23395 return 0;
23397 _ACEOF
23398 rm -f conftest.$ac_objext conftest$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>conftest.er1
23401 ac_status=$?
23402 grep -v '^ *+' conftest.er1 >conftest.err
23403 rm -f conftest.er1
23404 cat conftest.err >&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try='test -z "$ac_c_werror_flag"
23408 || test ! -s conftest.err'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; } &&
23414 { ac_try='test -s conftest$ac_exeext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23417 ac_status=$?
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 ac_cv_lib_m_cabsl=yes
23421 else
23422 echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.$ac_ext >&5
23425 ac_cv_lib_m_cabsl=no
23427 rm -f conftest.err conftest.$ac_objext \
23428 conftest$ac_exeext conftest.$ac_ext
23429 LIBS=$ac_check_lib_save_LIBS
23431 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23432 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23433 if test $ac_cv_lib_m_cabsl = yes; then
23435 cat >>confdefs.h <<\_ACEOF
23436 #define HAVE_CABSL 1
23437 _ACEOF
23441 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23442 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23443 if test "${ac_cv_lib_m_floorf+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23446 ac_check_lib_save_LIBS=$LIBS
23447 LIBS="-lm $LIBS"
23448 if test x$gcc_no_link = xyes; then
23449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23451 { (exit 1); exit 1; }; }
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23460 /* Override any gcc2 internal prototype to avoid an error. */
23461 #ifdef __cplusplus
23462 extern "C"
23463 #endif
23464 /* We use char because int might match the return type of a gcc2
23465 builtin and then its argument prototype would still apply. */
23466 char floorf ();
23468 main ()
23470 floorf ();
23472 return 0;
23474 _ACEOF
23475 rm -f conftest.$ac_objext conftest$ac_exeext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23477 (eval $ac_link) 2>conftest.er1
23478 ac_status=$?
23479 grep -v '^ *+' conftest.er1 >conftest.err
23480 rm -f conftest.er1
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try='test -z "$ac_c_werror_flag"
23485 || test ! -s conftest.err'
23486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23487 (eval $ac_try) 2>&5
23488 ac_status=$?
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; } &&
23491 { ac_try='test -s conftest$ac_exeext'
23492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493 (eval $ac_try) 2>&5
23494 ac_status=$?
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); }; }; then
23497 ac_cv_lib_m_floorf=yes
23498 else
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23502 ac_cv_lib_m_floorf=no
23504 rm -f conftest.err conftest.$ac_objext \
23505 conftest$ac_exeext conftest.$ac_ext
23506 LIBS=$ac_check_lib_save_LIBS
23508 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23509 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23510 if test $ac_cv_lib_m_floorf = yes; then
23512 cat >>confdefs.h <<\_ACEOF
23513 #define HAVE_FLOORF 1
23514 _ACEOF
23518 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23519 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23520 if test "${ac_cv_lib_m_floor+set}" = set; then
23521 echo $ECHO_N "(cached) $ECHO_C" >&6
23522 else
23523 ac_check_lib_save_LIBS=$LIBS
23524 LIBS="-lm $LIBS"
23525 if test x$gcc_no_link = xyes; then
23526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23528 { (exit 1); exit 1; }; }
23530 cat >conftest.$ac_ext <<_ACEOF
23531 /* confdefs.h. */
23532 _ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23537 /* Override any gcc2 internal prototype to avoid an error. */
23538 #ifdef __cplusplus
23539 extern "C"
23540 #endif
23541 /* We use char because int might match the return type of a gcc2
23542 builtin and then its argument prototype would still apply. */
23543 char floor ();
23545 main ()
23547 floor ();
23549 return 0;
23551 _ACEOF
23552 rm -f conftest.$ac_objext conftest$ac_exeext
23553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23554 (eval $ac_link) 2>conftest.er1
23555 ac_status=$?
23556 grep -v '^ *+' conftest.er1 >conftest.err
23557 rm -f conftest.er1
23558 cat conftest.err >&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); } &&
23561 { ac_try='test -z "$ac_c_werror_flag"
23562 || test ! -s conftest.err'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23565 ac_status=$?
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; } &&
23568 { ac_try='test -s conftest$ac_exeext'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; }; then
23574 ac_cv_lib_m_floor=yes
23575 else
23576 echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.$ac_ext >&5
23579 ac_cv_lib_m_floor=no
23581 rm -f conftest.err conftest.$ac_objext \
23582 conftest$ac_exeext conftest.$ac_ext
23583 LIBS=$ac_check_lib_save_LIBS
23585 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23586 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23587 if test $ac_cv_lib_m_floor = yes; then
23589 cat >>confdefs.h <<\_ACEOF
23590 #define HAVE_FLOOR 1
23591 _ACEOF
23595 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23596 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23597 if test "${ac_cv_lib_m_floorl+set}" = set; then
23598 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 else
23600 ac_check_lib_save_LIBS=$LIBS
23601 LIBS="-lm $LIBS"
23602 if test x$gcc_no_link = xyes; then
23603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23605 { (exit 1); exit 1; }; }
23607 cat >conftest.$ac_ext <<_ACEOF
23608 /* confdefs.h. */
23609 _ACEOF
23610 cat confdefs.h >>conftest.$ac_ext
23611 cat >>conftest.$ac_ext <<_ACEOF
23612 /* end confdefs.h. */
23614 /* Override any gcc2 internal prototype to avoid an error. */
23615 #ifdef __cplusplus
23616 extern "C"
23617 #endif
23618 /* We use char because int might match the return type of a gcc2
23619 builtin and then its argument prototype would still apply. */
23620 char floorl ();
23622 main ()
23624 floorl ();
23626 return 0;
23628 _ACEOF
23629 rm -f conftest.$ac_objext conftest$ac_exeext
23630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23631 (eval $ac_link) 2>conftest.er1
23632 ac_status=$?
23633 grep -v '^ *+' conftest.er1 >conftest.err
23634 rm -f conftest.er1
23635 cat conftest.err >&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } &&
23638 { ac_try='test -z "$ac_c_werror_flag"
23639 || test ! -s conftest.err'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23642 ac_status=$?
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; } &&
23645 { ac_try='test -s conftest$ac_exeext'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23648 ac_status=$?
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; }; then
23651 ac_cv_lib_m_floorl=yes
23652 else
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.$ac_ext >&5
23656 ac_cv_lib_m_floorl=no
23658 rm -f conftest.err conftest.$ac_objext \
23659 conftest$ac_exeext conftest.$ac_ext
23660 LIBS=$ac_check_lib_save_LIBS
23662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23663 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23664 if test $ac_cv_lib_m_floorl = yes; then
23666 cat >>confdefs.h <<\_ACEOF
23667 #define HAVE_FLOORL 1
23668 _ACEOF
23672 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23673 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23674 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6
23676 else
23677 ac_check_lib_save_LIBS=$LIBS
23678 LIBS="-lm $LIBS"
23679 if test x$gcc_no_link = xyes; then
23680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23682 { (exit 1); exit 1; }; }
23684 cat >conftest.$ac_ext <<_ACEOF
23685 /* confdefs.h. */
23686 _ACEOF
23687 cat confdefs.h >>conftest.$ac_ext
23688 cat >>conftest.$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23691 /* Override any gcc2 internal prototype to avoid an error. */
23692 #ifdef __cplusplus
23693 extern "C"
23694 #endif
23695 /* We use char because int might match the return type of a gcc2
23696 builtin and then its argument prototype would still apply. */
23697 char fmodf ();
23699 main ()
23701 fmodf ();
23703 return 0;
23705 _ACEOF
23706 rm -f conftest.$ac_objext conftest$ac_exeext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>conftest.er1
23709 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } &&
23715 { ac_try='test -z "$ac_c_werror_flag"
23716 || test ! -s conftest.err'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23719 ac_status=$?
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; } &&
23722 { ac_try='test -s conftest$ac_exeext'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23725 ac_status=$?
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; }; then
23728 ac_cv_lib_m_fmodf=yes
23729 else
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23733 ac_cv_lib_m_fmodf=no
23735 rm -f conftest.err conftest.$ac_objext \
23736 conftest$ac_exeext conftest.$ac_ext
23737 LIBS=$ac_check_lib_save_LIBS
23739 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23740 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23741 if test $ac_cv_lib_m_fmodf = yes; then
23743 cat >>confdefs.h <<\_ACEOF
23744 #define HAVE_FMODF 1
23745 _ACEOF
23749 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23750 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23751 if test "${ac_cv_lib_m_fmod+set}" = set; then
23752 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 else
23754 ac_check_lib_save_LIBS=$LIBS
23755 LIBS="-lm $LIBS"
23756 if test x$gcc_no_link = xyes; then
23757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23759 { (exit 1); exit 1; }; }
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23768 /* Override any gcc2 internal prototype to avoid an error. */
23769 #ifdef __cplusplus
23770 extern "C"
23771 #endif
23772 /* We use char because int might match the return type of a gcc2
23773 builtin and then its argument prototype would still apply. */
23774 char fmod ();
23776 main ()
23778 fmod ();
23780 return 0;
23782 _ACEOF
23783 rm -f conftest.$ac_objext conftest$ac_exeext
23784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23785 (eval $ac_link) 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } &&
23792 { ac_try='test -z "$ac_c_werror_flag"
23793 || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try='test -s conftest$ac_exeext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 ac_cv_lib_m_fmod=yes
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23810 ac_cv_lib_m_fmod=no
23812 rm -f conftest.err conftest.$ac_objext \
23813 conftest$ac_exeext conftest.$ac_ext
23814 LIBS=$ac_check_lib_save_LIBS
23816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23817 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23818 if test $ac_cv_lib_m_fmod = yes; then
23820 cat >>confdefs.h <<\_ACEOF
23821 #define HAVE_FMOD 1
23822 _ACEOF
23826 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23827 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23828 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 else
23831 ac_check_lib_save_LIBS=$LIBS
23832 LIBS="-lm $LIBS"
23833 if test x$gcc_no_link = xyes; then
23834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23836 { (exit 1); exit 1; }; }
23838 cat >conftest.$ac_ext <<_ACEOF
23839 /* confdefs.h. */
23840 _ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23845 /* Override any gcc2 internal prototype to avoid an error. */
23846 #ifdef __cplusplus
23847 extern "C"
23848 #endif
23849 /* We use char because int might match the return type of a gcc2
23850 builtin and then its argument prototype would still apply. */
23851 char fmodl ();
23853 main ()
23855 fmodl ();
23857 return 0;
23859 _ACEOF
23860 rm -f conftest.$ac_objext conftest$ac_exeext
23861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23862 (eval $ac_link) 2>conftest.er1
23863 ac_status=$?
23864 grep -v '^ *+' conftest.er1 >conftest.err
23865 rm -f conftest.er1
23866 cat conftest.err >&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } &&
23869 { ac_try='test -z "$ac_c_werror_flag"
23870 || test ! -s conftest.err'
23871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872 (eval $ac_try) 2>&5
23873 ac_status=$?
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); }; } &&
23876 { ac_try='test -s conftest$ac_exeext'
23877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23878 (eval $ac_try) 2>&5
23879 ac_status=$?
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); }; }; then
23882 ac_cv_lib_m_fmodl=yes
23883 else
23884 echo "$as_me: failed program was:" >&5
23885 sed 's/^/| /' conftest.$ac_ext >&5
23887 ac_cv_lib_m_fmodl=no
23889 rm -f conftest.err conftest.$ac_objext \
23890 conftest$ac_exeext conftest.$ac_ext
23891 LIBS=$ac_check_lib_save_LIBS
23893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23894 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23895 if test $ac_cv_lib_m_fmodl = yes; then
23897 cat >>confdefs.h <<\_ACEOF
23898 #define HAVE_FMODL 1
23899 _ACEOF
23903 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23904 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23905 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23906 echo $ECHO_N "(cached) $ECHO_C" >&6
23907 else
23908 ac_check_lib_save_LIBS=$LIBS
23909 LIBS="-lm $LIBS"
23910 if test x$gcc_no_link = xyes; then
23911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23913 { (exit 1); exit 1; }; }
23915 cat >conftest.$ac_ext <<_ACEOF
23916 /* confdefs.h. */
23917 _ACEOF
23918 cat confdefs.h >>conftest.$ac_ext
23919 cat >>conftest.$ac_ext <<_ACEOF
23920 /* end confdefs.h. */
23922 /* Override any gcc2 internal prototype to avoid an error. */
23923 #ifdef __cplusplus
23924 extern "C"
23925 #endif
23926 /* We use char because int might match the return type of a gcc2
23927 builtin and then its argument prototype would still apply. */
23928 char frexpf ();
23930 main ()
23932 frexpf ();
23934 return 0;
23936 _ACEOF
23937 rm -f conftest.$ac_objext conftest$ac_exeext
23938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23939 (eval $ac_link) 2>conftest.er1
23940 ac_status=$?
23941 grep -v '^ *+' conftest.er1 >conftest.err
23942 rm -f conftest.er1
23943 cat conftest.err >&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } &&
23946 { ac_try='test -z "$ac_c_werror_flag"
23947 || test ! -s conftest.err'
23948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23949 (eval $ac_try) 2>&5
23950 ac_status=$?
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; } &&
23953 { ac_try='test -s conftest$ac_exeext'
23954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23955 (eval $ac_try) 2>&5
23956 ac_status=$?
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); }; }; then
23959 ac_cv_lib_m_frexpf=yes
23960 else
23961 echo "$as_me: failed program was:" >&5
23962 sed 's/^/| /' conftest.$ac_ext >&5
23964 ac_cv_lib_m_frexpf=no
23966 rm -f conftest.err conftest.$ac_objext \
23967 conftest$ac_exeext conftest.$ac_ext
23968 LIBS=$ac_check_lib_save_LIBS
23970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23971 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23972 if test $ac_cv_lib_m_frexpf = yes; then
23974 cat >>confdefs.h <<\_ACEOF
23975 #define HAVE_FREXPF 1
23976 _ACEOF
23980 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23981 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23982 if test "${ac_cv_lib_m_frexp+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23984 else
23985 ac_check_lib_save_LIBS=$LIBS
23986 LIBS="-lm $LIBS"
23987 if test x$gcc_no_link = xyes; then
23988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23990 { (exit 1); exit 1; }; }
23992 cat >conftest.$ac_ext <<_ACEOF
23993 /* confdefs.h. */
23994 _ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23999 /* Override any gcc2 internal prototype to avoid an error. */
24000 #ifdef __cplusplus
24001 extern "C"
24002 #endif
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24005 char frexp ();
24007 main ()
24009 frexp ();
24011 return 0;
24013 _ACEOF
24014 rm -f conftest.$ac_objext conftest$ac_exeext
24015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24016 (eval $ac_link) 2>conftest.er1
24017 ac_status=$?
24018 grep -v '^ *+' conftest.er1 >conftest.err
24019 rm -f conftest.er1
24020 cat conftest.err >&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); } &&
24023 { ac_try='test -z "$ac_c_werror_flag"
24024 || test ! -s conftest.err'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24027 ac_status=$?
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; } &&
24030 { ac_try='test -s conftest$ac_exeext'
24031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24032 (eval $ac_try) 2>&5
24033 ac_status=$?
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); }; }; then
24036 ac_cv_lib_m_frexp=yes
24037 else
24038 echo "$as_me: failed program was:" >&5
24039 sed 's/^/| /' conftest.$ac_ext >&5
24041 ac_cv_lib_m_frexp=no
24043 rm -f conftest.err conftest.$ac_objext \
24044 conftest$ac_exeext conftest.$ac_ext
24045 LIBS=$ac_check_lib_save_LIBS
24047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24048 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24049 if test $ac_cv_lib_m_frexp = yes; then
24051 cat >>confdefs.h <<\_ACEOF
24052 #define HAVE_FREXP 1
24053 _ACEOF
24057 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24058 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24059 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 else
24062 ac_check_lib_save_LIBS=$LIBS
24063 LIBS="-lm $LIBS"
24064 if test x$gcc_no_link = xyes; then
24065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24067 { (exit 1); exit 1; }; }
24069 cat >conftest.$ac_ext <<_ACEOF
24070 /* confdefs.h. */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24076 /* Override any gcc2 internal prototype to avoid an error. */
24077 #ifdef __cplusplus
24078 extern "C"
24079 #endif
24080 /* We use char because int might match the return type of a gcc2
24081 builtin and then its argument prototype would still apply. */
24082 char frexpl ();
24084 main ()
24086 frexpl ();
24088 return 0;
24090 _ACEOF
24091 rm -f conftest.$ac_objext conftest$ac_exeext
24092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24093 (eval $ac_link) 2>conftest.er1
24094 ac_status=$?
24095 grep -v '^ *+' conftest.er1 >conftest.err
24096 rm -f conftest.er1
24097 cat conftest.err >&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); } &&
24100 { ac_try='test -z "$ac_c_werror_flag"
24101 || test ! -s conftest.err'
24102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24103 (eval $ac_try) 2>&5
24104 ac_status=$?
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); }; } &&
24107 { ac_try='test -s conftest$ac_exeext'
24108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24109 (eval $ac_try) 2>&5
24110 ac_status=$?
24111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); }; }; then
24113 ac_cv_lib_m_frexpl=yes
24114 else
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24118 ac_cv_lib_m_frexpl=no
24120 rm -f conftest.err conftest.$ac_objext \
24121 conftest$ac_exeext conftest.$ac_ext
24122 LIBS=$ac_check_lib_save_LIBS
24124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24125 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24126 if test $ac_cv_lib_m_frexpl = yes; then
24128 cat >>confdefs.h <<\_ACEOF
24129 #define HAVE_FREXPL 1
24130 _ACEOF
24134 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24135 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24136 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139 ac_check_lib_save_LIBS=$LIBS
24140 LIBS="-lm $LIBS"
24141 if test x$gcc_no_link = xyes; then
24142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24144 { (exit 1); exit 1; }; }
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24153 /* Override any gcc2 internal prototype to avoid an error. */
24154 #ifdef __cplusplus
24155 extern "C"
24156 #endif
24157 /* We use char because int might match the return type of a gcc2
24158 builtin and then its argument prototype would still apply. */
24159 char hypotf ();
24161 main ()
24163 hypotf ();
24165 return 0;
24167 _ACEOF
24168 rm -f conftest.$ac_objext conftest$ac_exeext
24169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24170 (eval $ac_link) 2>conftest.er1
24171 ac_status=$?
24172 grep -v '^ *+' conftest.er1 >conftest.err
24173 rm -f conftest.er1
24174 cat conftest.err >&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } &&
24177 { ac_try='test -z "$ac_c_werror_flag"
24178 || test ! -s conftest.err'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; } &&
24184 { ac_try='test -s conftest$ac_exeext'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24187 ac_status=$?
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; }; then
24190 ac_cv_lib_m_hypotf=yes
24191 else
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.$ac_ext >&5
24195 ac_cv_lib_m_hypotf=no
24197 rm -f conftest.err conftest.$ac_objext \
24198 conftest$ac_exeext conftest.$ac_ext
24199 LIBS=$ac_check_lib_save_LIBS
24201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24202 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24203 if test $ac_cv_lib_m_hypotf = yes; then
24205 cat >>confdefs.h <<\_ACEOF
24206 #define HAVE_HYPOTF 1
24207 _ACEOF
24211 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24212 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24213 if test "${ac_cv_lib_m_hypot+set}" = set; then
24214 echo $ECHO_N "(cached) $ECHO_C" >&6
24215 else
24216 ac_check_lib_save_LIBS=$LIBS
24217 LIBS="-lm $LIBS"
24218 if test x$gcc_no_link = xyes; then
24219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24221 { (exit 1); exit 1; }; }
24223 cat >conftest.$ac_ext <<_ACEOF
24224 /* confdefs.h. */
24225 _ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24230 /* Override any gcc2 internal prototype to avoid an error. */
24231 #ifdef __cplusplus
24232 extern "C"
24233 #endif
24234 /* We use char because int might match the return type of a gcc2
24235 builtin and then its argument prototype would still apply. */
24236 char hypot ();
24238 main ()
24240 hypot ();
24242 return 0;
24244 _ACEOF
24245 rm -f conftest.$ac_objext conftest$ac_exeext
24246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24247 (eval $ac_link) 2>conftest.er1
24248 ac_status=$?
24249 grep -v '^ *+' conftest.er1 >conftest.err
24250 rm -f conftest.er1
24251 cat conftest.err >&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } &&
24254 { ac_try='test -z "$ac_c_werror_flag"
24255 || test ! -s conftest.err'
24256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24257 (eval $ac_try) 2>&5
24258 ac_status=$?
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); }; } &&
24261 { ac_try='test -s conftest$ac_exeext'
24262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24263 (eval $ac_try) 2>&5
24264 ac_status=$?
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); }; }; then
24267 ac_cv_lib_m_hypot=yes
24268 else
24269 echo "$as_me: failed program was:" >&5
24270 sed 's/^/| /' conftest.$ac_ext >&5
24272 ac_cv_lib_m_hypot=no
24274 rm -f conftest.err conftest.$ac_objext \
24275 conftest$ac_exeext conftest.$ac_ext
24276 LIBS=$ac_check_lib_save_LIBS
24278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24279 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24280 if test $ac_cv_lib_m_hypot = yes; then
24282 cat >>confdefs.h <<\_ACEOF
24283 #define HAVE_HYPOT 1
24284 _ACEOF
24288 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24289 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24290 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24291 echo $ECHO_N "(cached) $ECHO_C" >&6
24292 else
24293 ac_check_lib_save_LIBS=$LIBS
24294 LIBS="-lm $LIBS"
24295 if test x$gcc_no_link = xyes; then
24296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24298 { (exit 1); exit 1; }; }
24300 cat >conftest.$ac_ext <<_ACEOF
24301 /* confdefs.h. */
24302 _ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24307 /* Override any gcc2 internal prototype to avoid an error. */
24308 #ifdef __cplusplus
24309 extern "C"
24310 #endif
24311 /* We use char because int might match the return type of a gcc2
24312 builtin and then its argument prototype would still apply. */
24313 char hypotl ();
24315 main ()
24317 hypotl ();
24319 return 0;
24321 _ACEOF
24322 rm -f conftest.$ac_objext conftest$ac_exeext
24323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24324 (eval $ac_link) 2>conftest.er1
24325 ac_status=$?
24326 grep -v '^ *+' conftest.er1 >conftest.err
24327 rm -f conftest.er1
24328 cat conftest.err >&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } &&
24331 { ac_try='test -z "$ac_c_werror_flag"
24332 || test ! -s conftest.err'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24335 ac_status=$?
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; } &&
24338 { ac_try='test -s conftest$ac_exeext'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24341 ac_status=$?
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 ac_cv_lib_m_hypotl=yes
24345 else
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24349 ac_cv_lib_m_hypotl=no
24351 rm -f conftest.err conftest.$ac_objext \
24352 conftest$ac_exeext conftest.$ac_ext
24353 LIBS=$ac_check_lib_save_LIBS
24355 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24356 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24357 if test $ac_cv_lib_m_hypotl = yes; then
24359 cat >>confdefs.h <<\_ACEOF
24360 #define HAVE_HYPOTL 1
24361 _ACEOF
24365 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24366 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24367 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 else
24370 ac_check_lib_save_LIBS=$LIBS
24371 LIBS="-lm $LIBS"
24372 if test x$gcc_no_link = xyes; then
24373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24375 { (exit 1); exit 1; }; }
24377 cat >conftest.$ac_ext <<_ACEOF
24378 /* confdefs.h. */
24379 _ACEOF
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24384 /* Override any gcc2 internal prototype to avoid an error. */
24385 #ifdef __cplusplus
24386 extern "C"
24387 #endif
24388 /* We use char because int might match the return type of a gcc2
24389 builtin and then its argument prototype would still apply. */
24390 char ldexpf ();
24392 main ()
24394 ldexpf ();
24396 return 0;
24398 _ACEOF
24399 rm -f conftest.$ac_objext conftest$ac_exeext
24400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24401 (eval $ac_link) 2>conftest.er1
24402 ac_status=$?
24403 grep -v '^ *+' conftest.er1 >conftest.err
24404 rm -f conftest.er1
24405 cat conftest.err >&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); } &&
24408 { ac_try='test -z "$ac_c_werror_flag"
24409 || test ! -s conftest.err'
24410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411 (eval $ac_try) 2>&5
24412 ac_status=$?
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); }; } &&
24415 { ac_try='test -s conftest$ac_exeext'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24418 ac_status=$?
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; }; then
24421 ac_cv_lib_m_ldexpf=yes
24422 else
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.$ac_ext >&5
24426 ac_cv_lib_m_ldexpf=no
24428 rm -f conftest.err conftest.$ac_objext \
24429 conftest$ac_exeext conftest.$ac_ext
24430 LIBS=$ac_check_lib_save_LIBS
24432 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24433 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24434 if test $ac_cv_lib_m_ldexpf = yes; then
24436 cat >>confdefs.h <<\_ACEOF
24437 #define HAVE_LDEXPF 1
24438 _ACEOF
24442 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24443 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24444 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24445 echo $ECHO_N "(cached) $ECHO_C" >&6
24446 else
24447 ac_check_lib_save_LIBS=$LIBS
24448 LIBS="-lm $LIBS"
24449 if test x$gcc_no_link = xyes; then
24450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24452 { (exit 1); exit 1; }; }
24454 cat >conftest.$ac_ext <<_ACEOF
24455 /* confdefs.h. */
24456 _ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24461 /* Override any gcc2 internal prototype to avoid an error. */
24462 #ifdef __cplusplus
24463 extern "C"
24464 #endif
24465 /* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24467 char ldexp ();
24469 main ()
24471 ldexp ();
24473 return 0;
24475 _ACEOF
24476 rm -f conftest.$ac_objext conftest$ac_exeext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>conftest.er1
24479 ac_status=$?
24480 grep -v '^ *+' conftest.er1 >conftest.err
24481 rm -f conftest.er1
24482 cat conftest.err >&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } &&
24485 { ac_try='test -z "$ac_c_werror_flag"
24486 || test ! -s conftest.err'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; } &&
24492 { ac_try='test -s conftest$ac_exeext'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; }; then
24498 ac_cv_lib_m_ldexp=yes
24499 else
24500 echo "$as_me: failed program was:" >&5
24501 sed 's/^/| /' conftest.$ac_ext >&5
24503 ac_cv_lib_m_ldexp=no
24505 rm -f conftest.err conftest.$ac_objext \
24506 conftest$ac_exeext conftest.$ac_ext
24507 LIBS=$ac_check_lib_save_LIBS
24509 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24510 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24511 if test $ac_cv_lib_m_ldexp = yes; then
24513 cat >>confdefs.h <<\_ACEOF
24514 #define HAVE_LDEXP 1
24515 _ACEOF
24519 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24520 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24521 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24523 else
24524 ac_check_lib_save_LIBS=$LIBS
24525 LIBS="-lm $LIBS"
24526 if test x$gcc_no_link = xyes; then
24527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24529 { (exit 1); exit 1; }; }
24531 cat >conftest.$ac_ext <<_ACEOF
24532 /* confdefs.h. */
24533 _ACEOF
24534 cat confdefs.h >>conftest.$ac_ext
24535 cat >>conftest.$ac_ext <<_ACEOF
24536 /* end confdefs.h. */
24538 /* Override any gcc2 internal prototype to avoid an error. */
24539 #ifdef __cplusplus
24540 extern "C"
24541 #endif
24542 /* We use char because int might match the return type of a gcc2
24543 builtin and then its argument prototype would still apply. */
24544 char ldexpl ();
24546 main ()
24548 ldexpl ();
24550 return 0;
24552 _ACEOF
24553 rm -f conftest.$ac_objext conftest$ac_exeext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24555 (eval $ac_link) 2>conftest.er1
24556 ac_status=$?
24557 grep -v '^ *+' conftest.er1 >conftest.err
24558 rm -f conftest.er1
24559 cat conftest.err >&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } &&
24562 { ac_try='test -z "$ac_c_werror_flag"
24563 || test ! -s conftest.err'
24564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565 (eval $ac_try) 2>&5
24566 ac_status=$?
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); }; } &&
24569 { ac_try='test -s conftest$ac_exeext'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24572 ac_status=$?
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; }; then
24575 ac_cv_lib_m_ldexpl=yes
24576 else
24577 echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.$ac_ext >&5
24580 ac_cv_lib_m_ldexpl=no
24582 rm -f conftest.err conftest.$ac_objext \
24583 conftest$ac_exeext conftest.$ac_ext
24584 LIBS=$ac_check_lib_save_LIBS
24586 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24587 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24588 if test $ac_cv_lib_m_ldexpl = yes; then
24590 cat >>confdefs.h <<\_ACEOF
24591 #define HAVE_LDEXPL 1
24592 _ACEOF
24596 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24597 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24598 if test "${ac_cv_lib_m_logf+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 else
24601 ac_check_lib_save_LIBS=$LIBS
24602 LIBS="-lm $LIBS"
24603 if test x$gcc_no_link = xyes; then
24604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24606 { (exit 1); exit 1; }; }
24608 cat >conftest.$ac_ext <<_ACEOF
24609 /* confdefs.h. */
24610 _ACEOF
24611 cat confdefs.h >>conftest.$ac_ext
24612 cat >>conftest.$ac_ext <<_ACEOF
24613 /* end confdefs.h. */
24615 /* Override any gcc2 internal prototype to avoid an error. */
24616 #ifdef __cplusplus
24617 extern "C"
24618 #endif
24619 /* We use char because int might match the return type of a gcc2
24620 builtin and then its argument prototype would still apply. */
24621 char logf ();
24623 main ()
24625 logf ();
24627 return 0;
24629 _ACEOF
24630 rm -f conftest.$ac_objext conftest$ac_exeext
24631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24632 (eval $ac_link) 2>conftest.er1
24633 ac_status=$?
24634 grep -v '^ *+' conftest.er1 >conftest.err
24635 rm -f conftest.er1
24636 cat conftest.err >&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } &&
24639 { ac_try='test -z "$ac_c_werror_flag"
24640 || test ! -s conftest.err'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; } &&
24646 { ac_try='test -s conftest$ac_exeext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24652 ac_cv_lib_m_logf=yes
24653 else
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24657 ac_cv_lib_m_logf=no
24659 rm -f conftest.err conftest.$ac_objext \
24660 conftest$ac_exeext conftest.$ac_ext
24661 LIBS=$ac_check_lib_save_LIBS
24663 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24664 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24665 if test $ac_cv_lib_m_logf = yes; then
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_LOGF 1
24669 _ACEOF
24673 echo "$as_me:$LINENO: checking for log in -lm" >&5
24674 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24675 if test "${ac_cv_lib_m_log+set}" = set; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
24677 else
24678 ac_check_lib_save_LIBS=$LIBS
24679 LIBS="-lm $LIBS"
24680 if test x$gcc_no_link = xyes; then
24681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24683 { (exit 1); exit 1; }; }
24685 cat >conftest.$ac_ext <<_ACEOF
24686 /* confdefs.h. */
24687 _ACEOF
24688 cat confdefs.h >>conftest.$ac_ext
24689 cat >>conftest.$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24692 /* Override any gcc2 internal prototype to avoid an error. */
24693 #ifdef __cplusplus
24694 extern "C"
24695 #endif
24696 /* We use char because int might match the return type of a gcc2
24697 builtin and then its argument prototype would still apply. */
24698 char log ();
24700 main ()
24702 log ();
24704 return 0;
24706 _ACEOF
24707 rm -f conftest.$ac_objext conftest$ac_exeext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24709 (eval $ac_link) 2>conftest.er1
24710 ac_status=$?
24711 grep -v '^ *+' conftest.er1 >conftest.err
24712 rm -f conftest.er1
24713 cat conftest.err >&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try='test -z "$ac_c_werror_flag"
24717 || test ! -s conftest.err'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24720 ac_status=$?
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; } &&
24723 { ac_try='test -s conftest$ac_exeext'
24724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725 (eval $ac_try) 2>&5
24726 ac_status=$?
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); }; }; then
24729 ac_cv_lib_m_log=yes
24730 else
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24734 ac_cv_lib_m_log=no
24736 rm -f conftest.err conftest.$ac_objext \
24737 conftest$ac_exeext conftest.$ac_ext
24738 LIBS=$ac_check_lib_save_LIBS
24740 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24741 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24742 if test $ac_cv_lib_m_log = yes; then
24744 cat >>confdefs.h <<\_ACEOF
24745 #define HAVE_LOG 1
24746 _ACEOF
24750 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24751 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24752 if test "${ac_cv_lib_m_logl+set}" = set; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24754 else
24755 ac_check_lib_save_LIBS=$LIBS
24756 LIBS="-lm $LIBS"
24757 if test x$gcc_no_link = xyes; then
24758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24760 { (exit 1); exit 1; }; }
24762 cat >conftest.$ac_ext <<_ACEOF
24763 /* confdefs.h. */
24764 _ACEOF
24765 cat confdefs.h >>conftest.$ac_ext
24766 cat >>conftest.$ac_ext <<_ACEOF
24767 /* end confdefs.h. */
24769 /* Override any gcc2 internal prototype to avoid an error. */
24770 #ifdef __cplusplus
24771 extern "C"
24772 #endif
24773 /* We use char because int might match the return type of a gcc2
24774 builtin and then its argument prototype would still apply. */
24775 char logl ();
24777 main ()
24779 logl ();
24781 return 0;
24783 _ACEOF
24784 rm -f conftest.$ac_objext conftest$ac_exeext
24785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24786 (eval $ac_link) 2>conftest.er1
24787 ac_status=$?
24788 grep -v '^ *+' conftest.er1 >conftest.err
24789 rm -f conftest.er1
24790 cat conftest.err >&5
24791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792 (exit $ac_status); } &&
24793 { ac_try='test -z "$ac_c_werror_flag"
24794 || test ! -s conftest.err'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24797 ac_status=$?
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; } &&
24800 { ac_try='test -s conftest$ac_exeext'
24801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24802 (eval $ac_try) 2>&5
24803 ac_status=$?
24804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24805 (exit $ac_status); }; }; then
24806 ac_cv_lib_m_logl=yes
24807 else
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24811 ac_cv_lib_m_logl=no
24813 rm -f conftest.err conftest.$ac_objext \
24814 conftest$ac_exeext conftest.$ac_ext
24815 LIBS=$ac_check_lib_save_LIBS
24817 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24818 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24819 if test $ac_cv_lib_m_logl = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_LOGL 1
24823 _ACEOF
24827 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24828 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24829 if test "${ac_cv_lib_m_clogf+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 else
24832 ac_check_lib_save_LIBS=$LIBS
24833 LIBS="-lm $LIBS"
24834 if test x$gcc_no_link = xyes; then
24835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24837 { (exit 1); exit 1; }; }
24839 cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h. */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24846 /* Override any gcc2 internal prototype to avoid an error. */
24847 #ifdef __cplusplus
24848 extern "C"
24849 #endif
24850 /* We use char because int might match the return type of a gcc2
24851 builtin and then its argument prototype would still apply. */
24852 char clogf ();
24854 main ()
24856 clogf ();
24858 return 0;
24860 _ACEOF
24861 rm -f conftest.$ac_objext conftest$ac_exeext
24862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24863 (eval $ac_link) 2>conftest.er1
24864 ac_status=$?
24865 grep -v '^ *+' conftest.er1 >conftest.err
24866 rm -f conftest.er1
24867 cat conftest.err >&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); } &&
24870 { ac_try='test -z "$ac_c_werror_flag"
24871 || test ! -s conftest.err'
24872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24873 (eval $ac_try) 2>&5
24874 ac_status=$?
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); }; } &&
24877 { ac_try='test -s conftest$ac_exeext'
24878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24879 (eval $ac_try) 2>&5
24880 ac_status=$?
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); }; }; then
24883 ac_cv_lib_m_clogf=yes
24884 else
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.$ac_ext >&5
24888 ac_cv_lib_m_clogf=no
24890 rm -f conftest.err conftest.$ac_objext \
24891 conftest$ac_exeext conftest.$ac_ext
24892 LIBS=$ac_check_lib_save_LIBS
24894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24895 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24896 if test $ac_cv_lib_m_clogf = yes; then
24898 cat >>confdefs.h <<\_ACEOF
24899 #define HAVE_CLOGF 1
24900 _ACEOF
24904 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24905 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24906 if test "${ac_cv_lib_m_clog+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 else
24909 ac_check_lib_save_LIBS=$LIBS
24910 LIBS="-lm $LIBS"
24911 if test x$gcc_no_link = xyes; then
24912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24914 { (exit 1); exit 1; }; }
24916 cat >conftest.$ac_ext <<_ACEOF
24917 /* confdefs.h. */
24918 _ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24923 /* Override any gcc2 internal prototype to avoid an error. */
24924 #ifdef __cplusplus
24925 extern "C"
24926 #endif
24927 /* We use char because int might match the return type of a gcc2
24928 builtin and then its argument prototype would still apply. */
24929 char clog ();
24931 main ()
24933 clog ();
24935 return 0;
24937 _ACEOF
24938 rm -f conftest.$ac_objext conftest$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24941 ac_status=$?
24942 grep -v '^ *+' conftest.er1 >conftest.err
24943 rm -f conftest.er1
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try='test -z "$ac_c_werror_flag"
24948 || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24951 ac_status=$?
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24957 ac_status=$?
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 ac_cv_lib_m_clog=yes
24961 else
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.$ac_ext >&5
24965 ac_cv_lib_m_clog=no
24967 rm -f conftest.err conftest.$ac_objext \
24968 conftest$ac_exeext conftest.$ac_ext
24969 LIBS=$ac_check_lib_save_LIBS
24971 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24972 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24973 if test $ac_cv_lib_m_clog = yes; then
24975 cat >>confdefs.h <<\_ACEOF
24976 #define HAVE_CLOG 1
24977 _ACEOF
24981 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24982 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24983 if test "${ac_cv_lib_m_clogl+set}" = set; then
24984 echo $ECHO_N "(cached) $ECHO_C" >&6
24985 else
24986 ac_check_lib_save_LIBS=$LIBS
24987 LIBS="-lm $LIBS"
24988 if test x$gcc_no_link = xyes; then
24989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24991 { (exit 1); exit 1; }; }
24993 cat >conftest.$ac_ext <<_ACEOF
24994 /* confdefs.h. */
24995 _ACEOF
24996 cat confdefs.h >>conftest.$ac_ext
24997 cat >>conftest.$ac_ext <<_ACEOF
24998 /* end confdefs.h. */
25000 /* Override any gcc2 internal prototype to avoid an error. */
25001 #ifdef __cplusplus
25002 extern "C"
25003 #endif
25004 /* We use char because int might match the return type of a gcc2
25005 builtin and then its argument prototype would still apply. */
25006 char clogl ();
25008 main ()
25010 clogl ();
25012 return 0;
25014 _ACEOF
25015 rm -f conftest.$ac_objext conftest$ac_exeext
25016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25017 (eval $ac_link) 2>conftest.er1
25018 ac_status=$?
25019 grep -v '^ *+' conftest.er1 >conftest.err
25020 rm -f conftest.er1
25021 cat conftest.err >&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } &&
25024 { ac_try='test -z "$ac_c_werror_flag"
25025 || test ! -s conftest.err'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25028 ac_status=$?
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; } &&
25031 { ac_try='test -s conftest$ac_exeext'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25034 ac_status=$?
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; }; then
25037 ac_cv_lib_m_clogl=yes
25038 else
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25042 ac_cv_lib_m_clogl=no
25044 rm -f conftest.err conftest.$ac_objext \
25045 conftest$ac_exeext conftest.$ac_ext
25046 LIBS=$ac_check_lib_save_LIBS
25048 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25049 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25050 if test $ac_cv_lib_m_clogl = yes; then
25052 cat >>confdefs.h <<\_ACEOF
25053 #define HAVE_CLOGL 1
25054 _ACEOF
25058 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25059 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25060 if test "${ac_cv_lib_m_log10f+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 else
25063 ac_check_lib_save_LIBS=$LIBS
25064 LIBS="-lm $LIBS"
25065 if test x$gcc_no_link = xyes; then
25066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25068 { (exit 1); exit 1; }; }
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25077 /* Override any gcc2 internal prototype to avoid an error. */
25078 #ifdef __cplusplus
25079 extern "C"
25080 #endif
25081 /* We use char because int might match the return type of a gcc2
25082 builtin and then its argument prototype would still apply. */
25083 char log10f ();
25085 main ()
25087 log10f ();
25089 return 0;
25091 _ACEOF
25092 rm -f conftest.$ac_objext conftest$ac_exeext
25093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25094 (eval $ac_link) 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } &&
25101 { ac_try='test -z "$ac_c_werror_flag"
25102 || test ! -s conftest.err'
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25105 ac_status=$?
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; } &&
25108 { ac_try='test -s conftest$ac_exeext'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_lib_m_log10f=yes
25115 else
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25119 ac_cv_lib_m_log10f=no
25121 rm -f conftest.err conftest.$ac_objext \
25122 conftest$ac_exeext conftest.$ac_ext
25123 LIBS=$ac_check_lib_save_LIBS
25125 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25126 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25127 if test $ac_cv_lib_m_log10f = yes; then
25129 cat >>confdefs.h <<\_ACEOF
25130 #define HAVE_LOG10F 1
25131 _ACEOF
25135 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25136 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25137 if test "${ac_cv_lib_m_log10+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
25140 ac_check_lib_save_LIBS=$LIBS
25141 LIBS="-lm $LIBS"
25142 if test x$gcc_no_link = xyes; then
25143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25145 { (exit 1); exit 1; }; }
25147 cat >conftest.$ac_ext <<_ACEOF
25148 /* confdefs.h. */
25149 _ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25154 /* Override any gcc2 internal prototype to avoid an error. */
25155 #ifdef __cplusplus
25156 extern "C"
25157 #endif
25158 /* We use char because int might match the return type of a gcc2
25159 builtin and then its argument prototype would still apply. */
25160 char log10 ();
25162 main ()
25164 log10 ();
25166 return 0;
25168 _ACEOF
25169 rm -f conftest.$ac_objext conftest$ac_exeext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25171 (eval $ac_link) 2>conftest.er1
25172 ac_status=$?
25173 grep -v '^ *+' conftest.er1 >conftest.err
25174 rm -f conftest.er1
25175 cat conftest.err >&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); } &&
25178 { ac_try='test -z "$ac_c_werror_flag"
25179 || test ! -s conftest.err'
25180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25181 (eval $ac_try) 2>&5
25182 ac_status=$?
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); }; } &&
25185 { ac_try='test -s conftest$ac_exeext'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25188 ac_status=$?
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; }; then
25191 ac_cv_lib_m_log10=yes
25192 else
25193 echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.$ac_ext >&5
25196 ac_cv_lib_m_log10=no
25198 rm -f conftest.err conftest.$ac_objext \
25199 conftest$ac_exeext conftest.$ac_ext
25200 LIBS=$ac_check_lib_save_LIBS
25202 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25203 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25204 if test $ac_cv_lib_m_log10 = yes; then
25206 cat >>confdefs.h <<\_ACEOF
25207 #define HAVE_LOG10 1
25208 _ACEOF
25212 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25213 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25214 if test "${ac_cv_lib_m_log10l+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 else
25217 ac_check_lib_save_LIBS=$LIBS
25218 LIBS="-lm $LIBS"
25219 if test x$gcc_no_link = xyes; then
25220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25222 { (exit 1); exit 1; }; }
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25231 /* Override any gcc2 internal prototype to avoid an error. */
25232 #ifdef __cplusplus
25233 extern "C"
25234 #endif
25235 /* We use char because int might match the return type of a gcc2
25236 builtin and then its argument prototype would still apply. */
25237 char log10l ();
25239 main ()
25241 log10l ();
25243 return 0;
25245 _ACEOF
25246 rm -f conftest.$ac_objext conftest$ac_exeext
25247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25248 (eval $ac_link) 2>conftest.er1
25249 ac_status=$?
25250 grep -v '^ *+' conftest.er1 >conftest.err
25251 rm -f conftest.er1
25252 cat conftest.err >&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } &&
25255 { ac_try='test -z "$ac_c_werror_flag"
25256 || test ! -s conftest.err'
25257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25258 (eval $ac_try) 2>&5
25259 ac_status=$?
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); }; } &&
25262 { ac_try='test -s conftest$ac_exeext'
25263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25264 (eval $ac_try) 2>&5
25265 ac_status=$?
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); }; }; then
25268 ac_cv_lib_m_log10l=yes
25269 else
25270 echo "$as_me: failed program was:" >&5
25271 sed 's/^/| /' conftest.$ac_ext >&5
25273 ac_cv_lib_m_log10l=no
25275 rm -f conftest.err conftest.$ac_objext \
25276 conftest$ac_exeext conftest.$ac_ext
25277 LIBS=$ac_check_lib_save_LIBS
25279 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25280 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25281 if test $ac_cv_lib_m_log10l = yes; then
25283 cat >>confdefs.h <<\_ACEOF
25284 #define HAVE_LOG10L 1
25285 _ACEOF
25289 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25290 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25291 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 else
25294 ac_check_lib_save_LIBS=$LIBS
25295 LIBS="-lm $LIBS"
25296 if test x$gcc_no_link = xyes; then
25297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25299 { (exit 1); exit 1; }; }
25301 cat >conftest.$ac_ext <<_ACEOF
25302 /* confdefs.h. */
25303 _ACEOF
25304 cat confdefs.h >>conftest.$ac_ext
25305 cat >>conftest.$ac_ext <<_ACEOF
25306 /* end confdefs.h. */
25308 /* Override any gcc2 internal prototype to avoid an error. */
25309 #ifdef __cplusplus
25310 extern "C"
25311 #endif
25312 /* We use char because int might match the return type of a gcc2
25313 builtin and then its argument prototype would still apply. */
25314 char clog10f ();
25316 main ()
25318 clog10f ();
25320 return 0;
25322 _ACEOF
25323 rm -f conftest.$ac_objext conftest$ac_exeext
25324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25325 (eval $ac_link) 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } &&
25332 { ac_try='test -z "$ac_c_werror_flag"
25333 || test ! -s conftest.err'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25336 ac_status=$?
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; } &&
25339 { ac_try='test -s conftest$ac_exeext'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; }; then
25345 ac_cv_lib_m_clog10f=yes
25346 else
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.$ac_ext >&5
25350 ac_cv_lib_m_clog10f=no
25352 rm -f conftest.err conftest.$ac_objext \
25353 conftest$ac_exeext conftest.$ac_ext
25354 LIBS=$ac_check_lib_save_LIBS
25356 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25357 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25358 if test $ac_cv_lib_m_clog10f = yes; then
25360 cat >>confdefs.h <<\_ACEOF
25361 #define HAVE_CLOG10F 1
25362 _ACEOF
25366 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25367 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25368 if test "${ac_cv_lib_m_clog10+set}" = set; then
25369 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 else
25371 ac_check_lib_save_LIBS=$LIBS
25372 LIBS="-lm $LIBS"
25373 if test x$gcc_no_link = xyes; then
25374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25376 { (exit 1); exit 1; }; }
25378 cat >conftest.$ac_ext <<_ACEOF
25379 /* confdefs.h. */
25380 _ACEOF
25381 cat confdefs.h >>conftest.$ac_ext
25382 cat >>conftest.$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25385 /* Override any gcc2 internal prototype to avoid an error. */
25386 #ifdef __cplusplus
25387 extern "C"
25388 #endif
25389 /* We use char because int might match the return type of a gcc2
25390 builtin and then its argument prototype would still apply. */
25391 char clog10 ();
25393 main ()
25395 clog10 ();
25397 return 0;
25399 _ACEOF
25400 rm -f conftest.$ac_objext conftest$ac_exeext
25401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25402 (eval $ac_link) 2>conftest.er1
25403 ac_status=$?
25404 grep -v '^ *+' conftest.er1 >conftest.err
25405 rm -f conftest.er1
25406 cat conftest.err >&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); } &&
25409 { ac_try='test -z "$ac_c_werror_flag"
25410 || test ! -s conftest.err'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25413 ac_status=$?
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; } &&
25416 { ac_try='test -s conftest$ac_exeext'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25419 ac_status=$?
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; }; then
25422 ac_cv_lib_m_clog10=yes
25423 else
25424 echo "$as_me: failed program was:" >&5
25425 sed 's/^/| /' conftest.$ac_ext >&5
25427 ac_cv_lib_m_clog10=no
25429 rm -f conftest.err conftest.$ac_objext \
25430 conftest$ac_exeext conftest.$ac_ext
25431 LIBS=$ac_check_lib_save_LIBS
25433 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25434 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25435 if test $ac_cv_lib_m_clog10 = yes; then
25437 cat >>confdefs.h <<\_ACEOF
25438 #define HAVE_CLOG10 1
25439 _ACEOF
25443 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25444 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25445 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25446 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 else
25448 ac_check_lib_save_LIBS=$LIBS
25449 LIBS="-lm $LIBS"
25450 if test x$gcc_no_link = xyes; then
25451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25453 { (exit 1); exit 1; }; }
25455 cat >conftest.$ac_ext <<_ACEOF
25456 /* confdefs.h. */
25457 _ACEOF
25458 cat confdefs.h >>conftest.$ac_ext
25459 cat >>conftest.$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25462 /* Override any gcc2 internal prototype to avoid an error. */
25463 #ifdef __cplusplus
25464 extern "C"
25465 #endif
25466 /* We use char because int might match the return type of a gcc2
25467 builtin and then its argument prototype would still apply. */
25468 char clog10l ();
25470 main ()
25472 clog10l ();
25474 return 0;
25476 _ACEOF
25477 rm -f conftest.$ac_objext conftest$ac_exeext
25478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25479 (eval $ac_link) 2>conftest.er1
25480 ac_status=$?
25481 grep -v '^ *+' conftest.er1 >conftest.err
25482 rm -f conftest.er1
25483 cat conftest.err >&5
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); } &&
25486 { ac_try='test -z "$ac_c_werror_flag"
25487 || test ! -s conftest.err'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; } &&
25493 { ac_try='test -s conftest$ac_exeext'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25496 ac_status=$?
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; }; then
25499 ac_cv_lib_m_clog10l=yes
25500 else
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.$ac_ext >&5
25504 ac_cv_lib_m_clog10l=no
25506 rm -f conftest.err conftest.$ac_objext \
25507 conftest$ac_exeext conftest.$ac_ext
25508 LIBS=$ac_check_lib_save_LIBS
25510 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25511 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25512 if test $ac_cv_lib_m_clog10l = yes; then
25514 cat >>confdefs.h <<\_ACEOF
25515 #define HAVE_CLOG10L 1
25516 _ACEOF
25520 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25521 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25522 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25525 ac_check_lib_save_LIBS=$LIBS
25526 LIBS="-lm $LIBS"
25527 if test x$gcc_no_link = xyes; then
25528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25530 { (exit 1); exit 1; }; }
25532 cat >conftest.$ac_ext <<_ACEOF
25533 /* confdefs.h. */
25534 _ACEOF
25535 cat confdefs.h >>conftest.$ac_ext
25536 cat >>conftest.$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25539 /* Override any gcc2 internal prototype to avoid an error. */
25540 #ifdef __cplusplus
25541 extern "C"
25542 #endif
25543 /* We use char because int might match the return type of a gcc2
25544 builtin and then its argument prototype would still apply. */
25545 char nextafterf ();
25547 main ()
25549 nextafterf ();
25551 return 0;
25553 _ACEOF
25554 rm -f conftest.$ac_objext conftest$ac_exeext
25555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25556 (eval $ac_link) 2>conftest.er1
25557 ac_status=$?
25558 grep -v '^ *+' conftest.er1 >conftest.err
25559 rm -f conftest.er1
25560 cat conftest.err >&5
25561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25562 (exit $ac_status); } &&
25563 { ac_try='test -z "$ac_c_werror_flag"
25564 || test ! -s conftest.err'
25565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25566 (eval $ac_try) 2>&5
25567 ac_status=$?
25568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25569 (exit $ac_status); }; } &&
25570 { ac_try='test -s conftest$ac_exeext'
25571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25572 (eval $ac_try) 2>&5
25573 ac_status=$?
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); }; }; then
25576 ac_cv_lib_m_nextafterf=yes
25577 else
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.$ac_ext >&5
25581 ac_cv_lib_m_nextafterf=no
25583 rm -f conftest.err conftest.$ac_objext \
25584 conftest$ac_exeext conftest.$ac_ext
25585 LIBS=$ac_check_lib_save_LIBS
25587 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25588 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25589 if test $ac_cv_lib_m_nextafterf = yes; then
25591 cat >>confdefs.h <<\_ACEOF
25592 #define HAVE_NEXTAFTERF 1
25593 _ACEOF
25597 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25598 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25599 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 else
25602 ac_check_lib_save_LIBS=$LIBS
25603 LIBS="-lm $LIBS"
25604 if test x$gcc_no_link = xyes; then
25605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25607 { (exit 1); exit 1; }; }
25609 cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h. */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25616 /* Override any gcc2 internal prototype to avoid an error. */
25617 #ifdef __cplusplus
25618 extern "C"
25619 #endif
25620 /* We use char because int might match the return type of a gcc2
25621 builtin and then its argument prototype would still apply. */
25622 char nextafter ();
25624 main ()
25626 nextafter ();
25628 return 0;
25630 _ACEOF
25631 rm -f conftest.$ac_objext conftest$ac_exeext
25632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25633 (eval $ac_link) 2>conftest.er1
25634 ac_status=$?
25635 grep -v '^ *+' conftest.er1 >conftest.err
25636 rm -f conftest.er1
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } &&
25640 { ac_try='test -z "$ac_c_werror_flag"
25641 || test ! -s conftest.err'
25642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25643 (eval $ac_try) 2>&5
25644 ac_status=$?
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); }; } &&
25647 { ac_try='test -s conftest$ac_exeext'
25648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25649 (eval $ac_try) 2>&5
25650 ac_status=$?
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); }; }; then
25653 ac_cv_lib_m_nextafter=yes
25654 else
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.$ac_ext >&5
25658 ac_cv_lib_m_nextafter=no
25660 rm -f conftest.err conftest.$ac_objext \
25661 conftest$ac_exeext conftest.$ac_ext
25662 LIBS=$ac_check_lib_save_LIBS
25664 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25665 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25666 if test $ac_cv_lib_m_nextafter = yes; then
25668 cat >>confdefs.h <<\_ACEOF
25669 #define HAVE_NEXTAFTER 1
25670 _ACEOF
25674 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25675 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25676 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 else
25679 ac_check_lib_save_LIBS=$LIBS
25680 LIBS="-lm $LIBS"
25681 if test x$gcc_no_link = xyes; then
25682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25684 { (exit 1); exit 1; }; }
25686 cat >conftest.$ac_ext <<_ACEOF
25687 /* confdefs.h. */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25693 /* Override any gcc2 internal prototype to avoid an error. */
25694 #ifdef __cplusplus
25695 extern "C"
25696 #endif
25697 /* We use char because int might match the return type of a gcc2
25698 builtin and then its argument prototype would still apply. */
25699 char nextafterl ();
25701 main ()
25703 nextafterl ();
25705 return 0;
25707 _ACEOF
25708 rm -f conftest.$ac_objext conftest$ac_exeext
25709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25710 (eval $ac_link) 2>conftest.er1
25711 ac_status=$?
25712 grep -v '^ *+' conftest.er1 >conftest.err
25713 rm -f conftest.er1
25714 cat conftest.err >&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } &&
25717 { ac_try='test -z "$ac_c_werror_flag"
25718 || test ! -s conftest.err'
25719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25720 (eval $ac_try) 2>&5
25721 ac_status=$?
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); }; } &&
25724 { ac_try='test -s conftest$ac_exeext'
25725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25726 (eval $ac_try) 2>&5
25727 ac_status=$?
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); }; }; then
25730 ac_cv_lib_m_nextafterl=yes
25731 else
25732 echo "$as_me: failed program was:" >&5
25733 sed 's/^/| /' conftest.$ac_ext >&5
25735 ac_cv_lib_m_nextafterl=no
25737 rm -f conftest.err conftest.$ac_objext \
25738 conftest$ac_exeext conftest.$ac_ext
25739 LIBS=$ac_check_lib_save_LIBS
25741 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25742 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25743 if test $ac_cv_lib_m_nextafterl = yes; then
25745 cat >>confdefs.h <<\_ACEOF
25746 #define HAVE_NEXTAFTERL 1
25747 _ACEOF
25751 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25752 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25753 if test "${ac_cv_lib_m_powf+set}" = set; then
25754 echo $ECHO_N "(cached) $ECHO_C" >&6
25755 else
25756 ac_check_lib_save_LIBS=$LIBS
25757 LIBS="-lm $LIBS"
25758 if test x$gcc_no_link = xyes; then
25759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25761 { (exit 1); exit 1; }; }
25763 cat >conftest.$ac_ext <<_ACEOF
25764 /* confdefs.h. */
25765 _ACEOF
25766 cat confdefs.h >>conftest.$ac_ext
25767 cat >>conftest.$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25770 /* Override any gcc2 internal prototype to avoid an error. */
25771 #ifdef __cplusplus
25772 extern "C"
25773 #endif
25774 /* We use char because int might match the return type of a gcc2
25775 builtin and then its argument prototype would still apply. */
25776 char powf ();
25778 main ()
25780 powf ();
25782 return 0;
25784 _ACEOF
25785 rm -f conftest.$ac_objext conftest$ac_exeext
25786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25787 (eval $ac_link) 2>conftest.er1
25788 ac_status=$?
25789 grep -v '^ *+' conftest.er1 >conftest.err
25790 rm -f conftest.er1
25791 cat conftest.err >&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } &&
25794 { ac_try='test -z "$ac_c_werror_flag"
25795 || test ! -s conftest.err'
25796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25797 (eval $ac_try) 2>&5
25798 ac_status=$?
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); }; } &&
25801 { ac_try='test -s conftest$ac_exeext'
25802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25803 (eval $ac_try) 2>&5
25804 ac_status=$?
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); }; }; then
25807 ac_cv_lib_m_powf=yes
25808 else
25809 echo "$as_me: failed program was:" >&5
25810 sed 's/^/| /' conftest.$ac_ext >&5
25812 ac_cv_lib_m_powf=no
25814 rm -f conftest.err conftest.$ac_objext \
25815 conftest$ac_exeext conftest.$ac_ext
25816 LIBS=$ac_check_lib_save_LIBS
25818 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25819 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25820 if test $ac_cv_lib_m_powf = yes; then
25822 cat >>confdefs.h <<\_ACEOF
25823 #define HAVE_POWF 1
25824 _ACEOF
25828 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25829 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25830 if test "${ac_cv_lib_m_pow+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 else
25833 ac_check_lib_save_LIBS=$LIBS
25834 LIBS="-lm $LIBS"
25835 if test x$gcc_no_link = xyes; then
25836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25838 { (exit 1); exit 1; }; }
25840 cat >conftest.$ac_ext <<_ACEOF
25841 /* confdefs.h. */
25842 _ACEOF
25843 cat confdefs.h >>conftest.$ac_ext
25844 cat >>conftest.$ac_ext <<_ACEOF
25845 /* end confdefs.h. */
25847 /* Override any gcc2 internal prototype to avoid an error. */
25848 #ifdef __cplusplus
25849 extern "C"
25850 #endif
25851 /* We use char because int might match the return type of a gcc2
25852 builtin and then its argument prototype would still apply. */
25853 char pow ();
25855 main ()
25857 pow ();
25859 return 0;
25861 _ACEOF
25862 rm -f conftest.$ac_objext conftest$ac_exeext
25863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25864 (eval $ac_link) 2>conftest.er1
25865 ac_status=$?
25866 grep -v '^ *+' conftest.er1 >conftest.err
25867 rm -f conftest.er1
25868 cat conftest.err >&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } &&
25871 { ac_try='test -z "$ac_c_werror_flag"
25872 || test ! -s conftest.err'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; } &&
25878 { ac_try='test -s conftest$ac_exeext'
25879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25880 (eval $ac_try) 2>&5
25881 ac_status=$?
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); }; }; then
25884 ac_cv_lib_m_pow=yes
25885 else
25886 echo "$as_me: failed program was:" >&5
25887 sed 's/^/| /' conftest.$ac_ext >&5
25889 ac_cv_lib_m_pow=no
25891 rm -f conftest.err conftest.$ac_objext \
25892 conftest$ac_exeext conftest.$ac_ext
25893 LIBS=$ac_check_lib_save_LIBS
25895 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25896 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25897 if test $ac_cv_lib_m_pow = yes; then
25899 cat >>confdefs.h <<\_ACEOF
25900 #define HAVE_POW 1
25901 _ACEOF
25905 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25906 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25907 if test "${ac_cv_lib_m_powl+set}" = set; then
25908 echo $ECHO_N "(cached) $ECHO_C" >&6
25909 else
25910 ac_check_lib_save_LIBS=$LIBS
25911 LIBS="-lm $LIBS"
25912 if test x$gcc_no_link = xyes; then
25913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25915 { (exit 1); exit 1; }; }
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25924 /* Override any gcc2 internal prototype to avoid an error. */
25925 #ifdef __cplusplus
25926 extern "C"
25927 #endif
25928 /* We use char because int might match the return type of a gcc2
25929 builtin and then its argument prototype would still apply. */
25930 char powl ();
25932 main ()
25934 powl ();
25936 return 0;
25938 _ACEOF
25939 rm -f conftest.$ac_objext conftest$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_c_werror_flag"
25949 || test ! -s conftest.err'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; } &&
25955 { ac_try='test -s conftest$ac_exeext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 ac_cv_lib_m_powl=yes
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25966 ac_cv_lib_m_powl=no
25968 rm -f conftest.err conftest.$ac_objext \
25969 conftest$ac_exeext conftest.$ac_ext
25970 LIBS=$ac_check_lib_save_LIBS
25972 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25973 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25974 if test $ac_cv_lib_m_powl = yes; then
25976 cat >>confdefs.h <<\_ACEOF
25977 #define HAVE_POWL 1
25978 _ACEOF
25982 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25983 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25984 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 else
25987 ac_check_lib_save_LIBS=$LIBS
25988 LIBS="-lm $LIBS"
25989 if test x$gcc_no_link = xyes; then
25990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25992 { (exit 1); exit 1; }; }
25994 cat >conftest.$ac_ext <<_ACEOF
25995 /* confdefs.h. */
25996 _ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26001 /* Override any gcc2 internal prototype to avoid an error. */
26002 #ifdef __cplusplus
26003 extern "C"
26004 #endif
26005 /* We use char because int might match the return type of a gcc2
26006 builtin and then its argument prototype would still apply. */
26007 char cpowf ();
26009 main ()
26011 cpowf ();
26013 return 0;
26015 _ACEOF
26016 rm -f conftest.$ac_objext conftest$ac_exeext
26017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26018 (eval $ac_link) 2>conftest.er1
26019 ac_status=$?
26020 grep -v '^ *+' conftest.er1 >conftest.err
26021 rm -f conftest.er1
26022 cat conftest.err >&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); } &&
26025 { ac_try='test -z "$ac_c_werror_flag"
26026 || test ! -s conftest.err'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26029 ac_status=$?
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; } &&
26032 { ac_try='test -s conftest$ac_exeext'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26035 ac_status=$?
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; }; then
26038 ac_cv_lib_m_cpowf=yes
26039 else
26040 echo "$as_me: failed program was:" >&5
26041 sed 's/^/| /' conftest.$ac_ext >&5
26043 ac_cv_lib_m_cpowf=no
26045 rm -f conftest.err conftest.$ac_objext \
26046 conftest$ac_exeext conftest.$ac_ext
26047 LIBS=$ac_check_lib_save_LIBS
26049 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26050 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26051 if test $ac_cv_lib_m_cpowf = yes; then
26053 cat >>confdefs.h <<\_ACEOF
26054 #define HAVE_CPOWF 1
26055 _ACEOF
26059 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26060 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26061 if test "${ac_cv_lib_m_cpow+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064 ac_check_lib_save_LIBS=$LIBS
26065 LIBS="-lm $LIBS"
26066 if test x$gcc_no_link = xyes; then
26067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26069 { (exit 1); exit 1; }; }
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26078 /* Override any gcc2 internal prototype to avoid an error. */
26079 #ifdef __cplusplus
26080 extern "C"
26081 #endif
26082 /* We use char because int might match the return type of a gcc2
26083 builtin and then its argument prototype would still apply. */
26084 char cpow ();
26086 main ()
26088 cpow ();
26090 return 0;
26092 _ACEOF
26093 rm -f conftest.$ac_objext conftest$ac_exeext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26095 (eval $ac_link) 2>conftest.er1
26096 ac_status=$?
26097 grep -v '^ *+' conftest.er1 >conftest.err
26098 rm -f conftest.er1
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } &&
26102 { ac_try='test -z "$ac_c_werror_flag"
26103 || test ! -s conftest.err'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; } &&
26109 { ac_try='test -s conftest$ac_exeext'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26112 ac_status=$?
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; }; then
26115 ac_cv_lib_m_cpow=yes
26116 else
26117 echo "$as_me: failed program was:" >&5
26118 sed 's/^/| /' conftest.$ac_ext >&5
26120 ac_cv_lib_m_cpow=no
26122 rm -f conftest.err conftest.$ac_objext \
26123 conftest$ac_exeext conftest.$ac_ext
26124 LIBS=$ac_check_lib_save_LIBS
26126 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26127 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26128 if test $ac_cv_lib_m_cpow = yes; then
26130 cat >>confdefs.h <<\_ACEOF
26131 #define HAVE_CPOW 1
26132 _ACEOF
26136 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26137 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26138 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 else
26141 ac_check_lib_save_LIBS=$LIBS
26142 LIBS="-lm $LIBS"
26143 if test x$gcc_no_link = xyes; then
26144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26146 { (exit 1); exit 1; }; }
26148 cat >conftest.$ac_ext <<_ACEOF
26149 /* confdefs.h. */
26150 _ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26155 /* Override any gcc2 internal prototype to avoid an error. */
26156 #ifdef __cplusplus
26157 extern "C"
26158 #endif
26159 /* We use char because int might match the return type of a gcc2
26160 builtin and then its argument prototype would still apply. */
26161 char cpowl ();
26163 main ()
26165 cpowl ();
26167 return 0;
26169 _ACEOF
26170 rm -f conftest.$ac_objext conftest$ac_exeext
26171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26172 (eval $ac_link) 2>conftest.er1
26173 ac_status=$?
26174 grep -v '^ *+' conftest.er1 >conftest.err
26175 rm -f conftest.er1
26176 cat conftest.err >&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } &&
26179 { ac_try='test -z "$ac_c_werror_flag"
26180 || test ! -s conftest.err'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26183 ac_status=$?
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; } &&
26186 { ac_try='test -s conftest$ac_exeext'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 ac_cv_lib_m_cpowl=yes
26193 else
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.$ac_ext >&5
26197 ac_cv_lib_m_cpowl=no
26199 rm -f conftest.err conftest.$ac_objext \
26200 conftest$ac_exeext conftest.$ac_ext
26201 LIBS=$ac_check_lib_save_LIBS
26203 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26204 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26205 if test $ac_cv_lib_m_cpowl = yes; then
26207 cat >>confdefs.h <<\_ACEOF
26208 #define HAVE_CPOWL 1
26209 _ACEOF
26213 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26214 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26215 if test "${ac_cv_lib_m_roundf+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 else
26218 ac_check_lib_save_LIBS=$LIBS
26219 LIBS="-lm $LIBS"
26220 if test x$gcc_no_link = xyes; then
26221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26223 { (exit 1); exit 1; }; }
26225 cat >conftest.$ac_ext <<_ACEOF
26226 /* confdefs.h. */
26227 _ACEOF
26228 cat confdefs.h >>conftest.$ac_ext
26229 cat >>conftest.$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26232 /* Override any gcc2 internal prototype to avoid an error. */
26233 #ifdef __cplusplus
26234 extern "C"
26235 #endif
26236 /* We use char because int might match the return type of a gcc2
26237 builtin and then its argument prototype would still apply. */
26238 char roundf ();
26240 main ()
26242 roundf ();
26244 return 0;
26246 _ACEOF
26247 rm -f conftest.$ac_objext conftest$ac_exeext
26248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26249 (eval $ac_link) 2>conftest.er1
26250 ac_status=$?
26251 grep -v '^ *+' conftest.er1 >conftest.err
26252 rm -f conftest.er1
26253 cat conftest.err >&5
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); } &&
26256 { ac_try='test -z "$ac_c_werror_flag"
26257 || test ! -s conftest.err'
26258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26259 (eval $ac_try) 2>&5
26260 ac_status=$?
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); }; } &&
26263 { ac_try='test -s conftest$ac_exeext'
26264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26265 (eval $ac_try) 2>&5
26266 ac_status=$?
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); }; }; then
26269 ac_cv_lib_m_roundf=yes
26270 else
26271 echo "$as_me: failed program was:" >&5
26272 sed 's/^/| /' conftest.$ac_ext >&5
26274 ac_cv_lib_m_roundf=no
26276 rm -f conftest.err conftest.$ac_objext \
26277 conftest$ac_exeext conftest.$ac_ext
26278 LIBS=$ac_check_lib_save_LIBS
26280 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26281 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26282 if test $ac_cv_lib_m_roundf = yes; then
26284 cat >>confdefs.h <<\_ACEOF
26285 #define HAVE_ROUNDF 1
26286 _ACEOF
26290 echo "$as_me:$LINENO: checking for round in -lm" >&5
26291 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26292 if test "${ac_cv_lib_m_round+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 else
26295 ac_check_lib_save_LIBS=$LIBS
26296 LIBS="-lm $LIBS"
26297 if test x$gcc_no_link = xyes; then
26298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26300 { (exit 1); exit 1; }; }
26302 cat >conftest.$ac_ext <<_ACEOF
26303 /* confdefs.h. */
26304 _ACEOF
26305 cat confdefs.h >>conftest.$ac_ext
26306 cat >>conftest.$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26309 /* Override any gcc2 internal prototype to avoid an error. */
26310 #ifdef __cplusplus
26311 extern "C"
26312 #endif
26313 /* We use char because int might match the return type of a gcc2
26314 builtin and then its argument prototype would still apply. */
26315 char round ();
26317 main ()
26319 round ();
26321 return 0;
26323 _ACEOF
26324 rm -f conftest.$ac_objext conftest$ac_exeext
26325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26326 (eval $ac_link) 2>conftest.er1
26327 ac_status=$?
26328 grep -v '^ *+' conftest.er1 >conftest.err
26329 rm -f conftest.er1
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } &&
26333 { ac_try='test -z "$ac_c_werror_flag"
26334 || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try='test -s conftest$ac_exeext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346 ac_cv_lib_m_round=yes
26347 else
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.$ac_ext >&5
26351 ac_cv_lib_m_round=no
26353 rm -f conftest.err conftest.$ac_objext \
26354 conftest$ac_exeext conftest.$ac_ext
26355 LIBS=$ac_check_lib_save_LIBS
26357 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26358 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26359 if test $ac_cv_lib_m_round = yes; then
26361 cat >>confdefs.h <<\_ACEOF
26362 #define HAVE_ROUND 1
26363 _ACEOF
26367 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26368 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26369 if test "${ac_cv_lib_m_roundl+set}" = set; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26371 else
26372 ac_check_lib_save_LIBS=$LIBS
26373 LIBS="-lm $LIBS"
26374 if test x$gcc_no_link = xyes; then
26375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26377 { (exit 1); exit 1; }; }
26379 cat >conftest.$ac_ext <<_ACEOF
26380 /* confdefs.h. */
26381 _ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26386 /* Override any gcc2 internal prototype to avoid an error. */
26387 #ifdef __cplusplus
26388 extern "C"
26389 #endif
26390 /* We use char because int might match the return type of a gcc2
26391 builtin and then its argument prototype would still apply. */
26392 char roundl ();
26394 main ()
26396 roundl ();
26398 return 0;
26400 _ACEOF
26401 rm -f conftest.$ac_objext conftest$ac_exeext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26403 (eval $ac_link) 2>conftest.er1
26404 ac_status=$?
26405 grep -v '^ *+' conftest.er1 >conftest.err
26406 rm -f conftest.er1
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try='test -z "$ac_c_werror_flag"
26411 || test ! -s conftest.err'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26414 ac_status=$?
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; } &&
26417 { ac_try='test -s conftest$ac_exeext'
26418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26419 (eval $ac_try) 2>&5
26420 ac_status=$?
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); }; }; then
26423 ac_cv_lib_m_roundl=yes
26424 else
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.$ac_ext >&5
26428 ac_cv_lib_m_roundl=no
26430 rm -f conftest.err conftest.$ac_objext \
26431 conftest$ac_exeext conftest.$ac_ext
26432 LIBS=$ac_check_lib_save_LIBS
26434 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26435 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26436 if test $ac_cv_lib_m_roundl = yes; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define HAVE_ROUNDL 1
26440 _ACEOF
26444 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26445 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26446 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 ac_check_lib_save_LIBS=$LIBS
26450 LIBS="-lm $LIBS"
26451 if test x$gcc_no_link = xyes; then
26452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26454 { (exit 1); exit 1; }; }
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26463 /* Override any gcc2 internal prototype to avoid an error. */
26464 #ifdef __cplusplus
26465 extern "C"
26466 #endif
26467 /* We use char because int might match the return type of a gcc2
26468 builtin and then its argument prototype would still apply. */
26469 char lroundf ();
26471 main ()
26473 lroundf ();
26475 return 0;
26477 _ACEOF
26478 rm -f conftest.$ac_objext conftest$ac_exeext
26479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26480 (eval $ac_link) 2>conftest.er1
26481 ac_status=$?
26482 grep -v '^ *+' conftest.er1 >conftest.err
26483 rm -f conftest.er1
26484 cat conftest.err >&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } &&
26487 { ac_try='test -z "$ac_c_werror_flag"
26488 || test ! -s conftest.err'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26491 ac_status=$?
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; } &&
26494 { ac_try='test -s conftest$ac_exeext'
26495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26496 (eval $ac_try) 2>&5
26497 ac_status=$?
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); }; }; then
26500 ac_cv_lib_m_lroundf=yes
26501 else
26502 echo "$as_me: failed program was:" >&5
26503 sed 's/^/| /' conftest.$ac_ext >&5
26505 ac_cv_lib_m_lroundf=no
26507 rm -f conftest.err conftest.$ac_objext \
26508 conftest$ac_exeext conftest.$ac_ext
26509 LIBS=$ac_check_lib_save_LIBS
26511 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26512 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26513 if test $ac_cv_lib_m_lroundf = yes; then
26515 cat >>confdefs.h <<\_ACEOF
26516 #define HAVE_LROUNDF 1
26517 _ACEOF
26521 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26522 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26523 if test "${ac_cv_lib_m_lround+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 else
26526 ac_check_lib_save_LIBS=$LIBS
26527 LIBS="-lm $LIBS"
26528 if test x$gcc_no_link = xyes; then
26529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26531 { (exit 1); exit 1; }; }
26533 cat >conftest.$ac_ext <<_ACEOF
26534 /* confdefs.h. */
26535 _ACEOF
26536 cat confdefs.h >>conftest.$ac_ext
26537 cat >>conftest.$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26540 /* Override any gcc2 internal prototype to avoid an error. */
26541 #ifdef __cplusplus
26542 extern "C"
26543 #endif
26544 /* We use char because int might match the return type of a gcc2
26545 builtin and then its argument prototype would still apply. */
26546 char lround ();
26548 main ()
26550 lround ();
26552 return 0;
26554 _ACEOF
26555 rm -f conftest.$ac_objext conftest$ac_exeext
26556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26557 (eval $ac_link) 2>conftest.er1
26558 ac_status=$?
26559 grep -v '^ *+' conftest.er1 >conftest.err
26560 rm -f conftest.er1
26561 cat conftest.err >&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } &&
26564 { ac_try='test -z "$ac_c_werror_flag"
26565 || test ! -s conftest.err'
26566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26567 (eval $ac_try) 2>&5
26568 ac_status=$?
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); }; } &&
26571 { ac_try='test -s conftest$ac_exeext'
26572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573 (eval $ac_try) 2>&5
26574 ac_status=$?
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); }; }; then
26577 ac_cv_lib_m_lround=yes
26578 else
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.$ac_ext >&5
26582 ac_cv_lib_m_lround=no
26584 rm -f conftest.err conftest.$ac_objext \
26585 conftest$ac_exeext conftest.$ac_ext
26586 LIBS=$ac_check_lib_save_LIBS
26588 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26589 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26590 if test $ac_cv_lib_m_lround = yes; then
26592 cat >>confdefs.h <<\_ACEOF
26593 #define HAVE_LROUND 1
26594 _ACEOF
26598 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26599 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26600 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26601 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 else
26603 ac_check_lib_save_LIBS=$LIBS
26604 LIBS="-lm $LIBS"
26605 if test x$gcc_no_link = xyes; then
26606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26608 { (exit 1); exit 1; }; }
26610 cat >conftest.$ac_ext <<_ACEOF
26611 /* confdefs.h. */
26612 _ACEOF
26613 cat confdefs.h >>conftest.$ac_ext
26614 cat >>conftest.$ac_ext <<_ACEOF
26615 /* end confdefs.h. */
26617 /* Override any gcc2 internal prototype to avoid an error. */
26618 #ifdef __cplusplus
26619 extern "C"
26620 #endif
26621 /* We use char because int might match the return type of a gcc2
26622 builtin and then its argument prototype would still apply. */
26623 char lroundl ();
26625 main ()
26627 lroundl ();
26629 return 0;
26631 _ACEOF
26632 rm -f conftest.$ac_objext conftest$ac_exeext
26633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26634 (eval $ac_link) 2>conftest.er1
26635 ac_status=$?
26636 grep -v '^ *+' conftest.er1 >conftest.err
26637 rm -f conftest.er1
26638 cat conftest.err >&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); } &&
26641 { ac_try='test -z "$ac_c_werror_flag"
26642 || test ! -s conftest.err'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; } &&
26648 { ac_try='test -s conftest$ac_exeext'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26651 ac_status=$?
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; }; then
26654 ac_cv_lib_m_lroundl=yes
26655 else
26656 echo "$as_me: failed program was:" >&5
26657 sed 's/^/| /' conftest.$ac_ext >&5
26659 ac_cv_lib_m_lroundl=no
26661 rm -f conftest.err conftest.$ac_objext \
26662 conftest$ac_exeext conftest.$ac_ext
26663 LIBS=$ac_check_lib_save_LIBS
26665 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26666 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26667 if test $ac_cv_lib_m_lroundl = yes; then
26669 cat >>confdefs.h <<\_ACEOF
26670 #define HAVE_LROUNDL 1
26671 _ACEOF
26675 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26676 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26677 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26680 ac_check_lib_save_LIBS=$LIBS
26681 LIBS="-lm $LIBS"
26682 if test x$gcc_no_link = xyes; then
26683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26685 { (exit 1); exit 1; }; }
26687 cat >conftest.$ac_ext <<_ACEOF
26688 /* confdefs.h. */
26689 _ACEOF
26690 cat confdefs.h >>conftest.$ac_ext
26691 cat >>conftest.$ac_ext <<_ACEOF
26692 /* end confdefs.h. */
26694 /* Override any gcc2 internal prototype to avoid an error. */
26695 #ifdef __cplusplus
26696 extern "C"
26697 #endif
26698 /* We use char because int might match the return type of a gcc2
26699 builtin and then its argument prototype would still apply. */
26700 char llroundf ();
26702 main ()
26704 llroundf ();
26706 return 0;
26708 _ACEOF
26709 rm -f conftest.$ac_objext conftest$ac_exeext
26710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26711 (eval $ac_link) 2>conftest.er1
26712 ac_status=$?
26713 grep -v '^ *+' conftest.er1 >conftest.err
26714 rm -f conftest.er1
26715 cat conftest.err >&5
26716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717 (exit $ac_status); } &&
26718 { ac_try='test -z "$ac_c_werror_flag"
26719 || test ! -s conftest.err'
26720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26721 (eval $ac_try) 2>&5
26722 ac_status=$?
26723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26724 (exit $ac_status); }; } &&
26725 { ac_try='test -s conftest$ac_exeext'
26726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26727 (eval $ac_try) 2>&5
26728 ac_status=$?
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); }; }; then
26731 ac_cv_lib_m_llroundf=yes
26732 else
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26736 ac_cv_lib_m_llroundf=no
26738 rm -f conftest.err conftest.$ac_objext \
26739 conftest$ac_exeext conftest.$ac_ext
26740 LIBS=$ac_check_lib_save_LIBS
26742 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26743 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26744 if test $ac_cv_lib_m_llroundf = yes; then
26746 cat >>confdefs.h <<\_ACEOF
26747 #define HAVE_LLROUNDF 1
26748 _ACEOF
26752 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26753 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26754 if test "${ac_cv_lib_m_llround+set}" = set; then
26755 echo $ECHO_N "(cached) $ECHO_C" >&6
26756 else
26757 ac_check_lib_save_LIBS=$LIBS
26758 LIBS="-lm $LIBS"
26759 if test x$gcc_no_link = xyes; then
26760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26762 { (exit 1); exit 1; }; }
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h. */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26771 /* Override any gcc2 internal prototype to avoid an error. */
26772 #ifdef __cplusplus
26773 extern "C"
26774 #endif
26775 /* We use char because int might match the return type of a gcc2
26776 builtin and then its argument prototype would still apply. */
26777 char llround ();
26779 main ()
26781 llround ();
26783 return 0;
26785 _ACEOF
26786 rm -f conftest.$ac_objext conftest$ac_exeext
26787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26788 (eval $ac_link) 2>conftest.er1
26789 ac_status=$?
26790 grep -v '^ *+' conftest.er1 >conftest.err
26791 rm -f conftest.er1
26792 cat conftest.err >&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } &&
26795 { ac_try='test -z "$ac_c_werror_flag"
26796 || test ! -s conftest.err'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; } &&
26802 { ac_try='test -s conftest$ac_exeext'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26805 ac_status=$?
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; }; then
26808 ac_cv_lib_m_llround=yes
26809 else
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.$ac_ext >&5
26813 ac_cv_lib_m_llround=no
26815 rm -f conftest.err conftest.$ac_objext \
26816 conftest$ac_exeext conftest.$ac_ext
26817 LIBS=$ac_check_lib_save_LIBS
26819 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26820 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26821 if test $ac_cv_lib_m_llround = yes; then
26823 cat >>confdefs.h <<\_ACEOF
26824 #define HAVE_LLROUND 1
26825 _ACEOF
26829 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26830 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26831 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 else
26834 ac_check_lib_save_LIBS=$LIBS
26835 LIBS="-lm $LIBS"
26836 if test x$gcc_no_link = xyes; then
26837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26839 { (exit 1); exit 1; }; }
26841 cat >conftest.$ac_ext <<_ACEOF
26842 /* confdefs.h. */
26843 _ACEOF
26844 cat confdefs.h >>conftest.$ac_ext
26845 cat >>conftest.$ac_ext <<_ACEOF
26846 /* end confdefs.h. */
26848 /* Override any gcc2 internal prototype to avoid an error. */
26849 #ifdef __cplusplus
26850 extern "C"
26851 #endif
26852 /* We use char because int might match the return type of a gcc2
26853 builtin and then its argument prototype would still apply. */
26854 char llroundl ();
26856 main ()
26858 llroundl ();
26860 return 0;
26862 _ACEOF
26863 rm -f conftest.$ac_objext conftest$ac_exeext
26864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26865 (eval $ac_link) 2>conftest.er1
26866 ac_status=$?
26867 grep -v '^ *+' conftest.er1 >conftest.err
26868 rm -f conftest.er1
26869 cat conftest.err >&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try='test -z "$ac_c_werror_flag"
26873 || test ! -s conftest.err'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26876 ac_status=$?
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; } &&
26879 { ac_try='test -s conftest$ac_exeext'
26880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881 (eval $ac_try) 2>&5
26882 ac_status=$?
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; }; then
26885 ac_cv_lib_m_llroundl=yes
26886 else
26887 echo "$as_me: failed program was:" >&5
26888 sed 's/^/| /' conftest.$ac_ext >&5
26890 ac_cv_lib_m_llroundl=no
26892 rm -f conftest.err conftest.$ac_objext \
26893 conftest$ac_exeext conftest.$ac_ext
26894 LIBS=$ac_check_lib_save_LIBS
26896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26897 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26898 if test $ac_cv_lib_m_llroundl = yes; then
26900 cat >>confdefs.h <<\_ACEOF
26901 #define HAVE_LLROUNDL 1
26902 _ACEOF
26906 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26907 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26908 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 else
26911 ac_check_lib_save_LIBS=$LIBS
26912 LIBS="-lm $LIBS"
26913 if test x$gcc_no_link = xyes; then
26914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26916 { (exit 1); exit 1; }; }
26918 cat >conftest.$ac_ext <<_ACEOF
26919 /* confdefs.h. */
26920 _ACEOF
26921 cat confdefs.h >>conftest.$ac_ext
26922 cat >>conftest.$ac_ext <<_ACEOF
26923 /* end confdefs.h. */
26925 /* Override any gcc2 internal prototype to avoid an error. */
26926 #ifdef __cplusplus
26927 extern "C"
26928 #endif
26929 /* We use char because int might match the return type of a gcc2
26930 builtin and then its argument prototype would still apply. */
26931 char scalbnf ();
26933 main ()
26935 scalbnf ();
26937 return 0;
26939 _ACEOF
26940 rm -f conftest.$ac_objext conftest$ac_exeext
26941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26942 (eval $ac_link) 2>conftest.er1
26943 ac_status=$?
26944 grep -v '^ *+' conftest.er1 >conftest.err
26945 rm -f conftest.er1
26946 cat conftest.err >&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } &&
26949 { ac_try='test -z "$ac_c_werror_flag"
26950 || test ! -s conftest.err'
26951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26952 (eval $ac_try) 2>&5
26953 ac_status=$?
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); }; } &&
26956 { ac_try='test -s conftest$ac_exeext'
26957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26958 (eval $ac_try) 2>&5
26959 ac_status=$?
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); }; }; then
26962 ac_cv_lib_m_scalbnf=yes
26963 else
26964 echo "$as_me: failed program was:" >&5
26965 sed 's/^/| /' conftest.$ac_ext >&5
26967 ac_cv_lib_m_scalbnf=no
26969 rm -f conftest.err conftest.$ac_objext \
26970 conftest$ac_exeext conftest.$ac_ext
26971 LIBS=$ac_check_lib_save_LIBS
26973 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26974 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26975 if test $ac_cv_lib_m_scalbnf = yes; then
26977 cat >>confdefs.h <<\_ACEOF
26978 #define HAVE_SCALBNF 1
26979 _ACEOF
26983 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26984 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26985 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26986 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 else
26988 ac_check_lib_save_LIBS=$LIBS
26989 LIBS="-lm $LIBS"
26990 if test x$gcc_no_link = xyes; then
26991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26993 { (exit 1); exit 1; }; }
26995 cat >conftest.$ac_ext <<_ACEOF
26996 /* confdefs.h. */
26997 _ACEOF
26998 cat confdefs.h >>conftest.$ac_ext
26999 cat >>conftest.$ac_ext <<_ACEOF
27000 /* end confdefs.h. */
27002 /* Override any gcc2 internal prototype to avoid an error. */
27003 #ifdef __cplusplus
27004 extern "C"
27005 #endif
27006 /* We use char because int might match the return type of a gcc2
27007 builtin and then its argument prototype would still apply. */
27008 char scalbn ();
27010 main ()
27012 scalbn ();
27014 return 0;
27016 _ACEOF
27017 rm -f conftest.$ac_objext conftest$ac_exeext
27018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27019 (eval $ac_link) 2>conftest.er1
27020 ac_status=$?
27021 grep -v '^ *+' conftest.er1 >conftest.err
27022 rm -f conftest.er1
27023 cat conftest.err >&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); } &&
27026 { ac_try='test -z "$ac_c_werror_flag"
27027 || test ! -s conftest.err'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; } &&
27033 { ac_try='test -s conftest$ac_exeext'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27036 ac_status=$?
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; }; then
27039 ac_cv_lib_m_scalbn=yes
27040 else
27041 echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.$ac_ext >&5
27044 ac_cv_lib_m_scalbn=no
27046 rm -f conftest.err conftest.$ac_objext \
27047 conftest$ac_exeext conftest.$ac_ext
27048 LIBS=$ac_check_lib_save_LIBS
27050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27051 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27052 if test $ac_cv_lib_m_scalbn = yes; then
27054 cat >>confdefs.h <<\_ACEOF
27055 #define HAVE_SCALBN 1
27056 _ACEOF
27060 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27061 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27062 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27063 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 else
27065 ac_check_lib_save_LIBS=$LIBS
27066 LIBS="-lm $LIBS"
27067 if test x$gcc_no_link = xyes; then
27068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27070 { (exit 1); exit 1; }; }
27072 cat >conftest.$ac_ext <<_ACEOF
27073 /* confdefs.h. */
27074 _ACEOF
27075 cat confdefs.h >>conftest.$ac_ext
27076 cat >>conftest.$ac_ext <<_ACEOF
27077 /* end confdefs.h. */
27079 /* Override any gcc2 internal prototype to avoid an error. */
27080 #ifdef __cplusplus
27081 extern "C"
27082 #endif
27083 /* We use char because int might match the return type of a gcc2
27084 builtin and then its argument prototype would still apply. */
27085 char scalbnl ();
27087 main ()
27089 scalbnl ();
27091 return 0;
27093 _ACEOF
27094 rm -f conftest.$ac_objext conftest$ac_exeext
27095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27096 (eval $ac_link) 2>conftest.er1
27097 ac_status=$?
27098 grep -v '^ *+' conftest.er1 >conftest.err
27099 rm -f conftest.er1
27100 cat conftest.err >&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); } &&
27103 { ac_try='test -z "$ac_c_werror_flag"
27104 || test ! -s conftest.err'
27105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27106 (eval $ac_try) 2>&5
27107 ac_status=$?
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; } &&
27110 { ac_try='test -s conftest$ac_exeext'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27113 ac_status=$?
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; }; then
27116 ac_cv_lib_m_scalbnl=yes
27117 else
27118 echo "$as_me: failed program was:" >&5
27119 sed 's/^/| /' conftest.$ac_ext >&5
27121 ac_cv_lib_m_scalbnl=no
27123 rm -f conftest.err conftest.$ac_objext \
27124 conftest$ac_exeext conftest.$ac_ext
27125 LIBS=$ac_check_lib_save_LIBS
27127 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27128 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27129 if test $ac_cv_lib_m_scalbnl = yes; then
27131 cat >>confdefs.h <<\_ACEOF
27132 #define HAVE_SCALBNL 1
27133 _ACEOF
27137 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27138 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27139 if test "${ac_cv_lib_m_sinf+set}" = set; then
27140 echo $ECHO_N "(cached) $ECHO_C" >&6
27141 else
27142 ac_check_lib_save_LIBS=$LIBS
27143 LIBS="-lm $LIBS"
27144 if test x$gcc_no_link = xyes; then
27145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27147 { (exit 1); exit 1; }; }
27149 cat >conftest.$ac_ext <<_ACEOF
27150 /* confdefs.h. */
27151 _ACEOF
27152 cat confdefs.h >>conftest.$ac_ext
27153 cat >>conftest.$ac_ext <<_ACEOF
27154 /* end confdefs.h. */
27156 /* Override any gcc2 internal prototype to avoid an error. */
27157 #ifdef __cplusplus
27158 extern "C"
27159 #endif
27160 /* We use char because int might match the return type of a gcc2
27161 builtin and then its argument prototype would still apply. */
27162 char sinf ();
27164 main ()
27166 sinf ();
27168 return 0;
27170 _ACEOF
27171 rm -f conftest.$ac_objext conftest$ac_exeext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27173 (eval $ac_link) 2>conftest.er1
27174 ac_status=$?
27175 grep -v '^ *+' conftest.er1 >conftest.err
27176 rm -f conftest.er1
27177 cat conftest.err >&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try='test -z "$ac_c_werror_flag"
27181 || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27184 ac_status=$?
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try='test -s conftest$ac_exeext'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27190 ac_status=$?
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; }; then
27193 ac_cv_lib_m_sinf=yes
27194 else
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.$ac_ext >&5
27198 ac_cv_lib_m_sinf=no
27200 rm -f conftest.err conftest.$ac_objext \
27201 conftest$ac_exeext conftest.$ac_ext
27202 LIBS=$ac_check_lib_save_LIBS
27204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27205 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27206 if test $ac_cv_lib_m_sinf = yes; then
27208 cat >>confdefs.h <<\_ACEOF
27209 #define HAVE_SINF 1
27210 _ACEOF
27214 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27215 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27216 if test "${ac_cv_lib_m_sin+set}" = set; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 else
27219 ac_check_lib_save_LIBS=$LIBS
27220 LIBS="-lm $LIBS"
27221 if test x$gcc_no_link = xyes; then
27222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27224 { (exit 1); exit 1; }; }
27226 cat >conftest.$ac_ext <<_ACEOF
27227 /* confdefs.h. */
27228 _ACEOF
27229 cat confdefs.h >>conftest.$ac_ext
27230 cat >>conftest.$ac_ext <<_ACEOF
27231 /* end confdefs.h. */
27233 /* Override any gcc2 internal prototype to avoid an error. */
27234 #ifdef __cplusplus
27235 extern "C"
27236 #endif
27237 /* We use char because int might match the return type of a gcc2
27238 builtin and then its argument prototype would still apply. */
27239 char sin ();
27241 main ()
27243 sin ();
27245 return 0;
27247 _ACEOF
27248 rm -f conftest.$ac_objext conftest$ac_exeext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27250 (eval $ac_link) 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try='test -z "$ac_c_werror_flag"
27258 || test ! -s conftest.err'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; } &&
27264 { ac_try='test -s conftest$ac_exeext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 ac_cv_lib_m_sin=yes
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 ac_cv_lib_m_sin=no
27277 rm -f conftest.err conftest.$ac_objext \
27278 conftest$ac_exeext conftest.$ac_ext
27279 LIBS=$ac_check_lib_save_LIBS
27281 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27282 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27283 if test $ac_cv_lib_m_sin = yes; then
27285 cat >>confdefs.h <<\_ACEOF
27286 #define HAVE_SIN 1
27287 _ACEOF
27291 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27292 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27293 if test "${ac_cv_lib_m_sinl+set}" = set; then
27294 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 else
27296 ac_check_lib_save_LIBS=$LIBS
27297 LIBS="-lm $LIBS"
27298 if test x$gcc_no_link = xyes; then
27299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27301 { (exit 1); exit 1; }; }
27303 cat >conftest.$ac_ext <<_ACEOF
27304 /* confdefs.h. */
27305 _ACEOF
27306 cat confdefs.h >>conftest.$ac_ext
27307 cat >>conftest.$ac_ext <<_ACEOF
27308 /* end confdefs.h. */
27310 /* Override any gcc2 internal prototype to avoid an error. */
27311 #ifdef __cplusplus
27312 extern "C"
27313 #endif
27314 /* We use char because int might match the return type of a gcc2
27315 builtin and then its argument prototype would still apply. */
27316 char sinl ();
27318 main ()
27320 sinl ();
27322 return 0;
27324 _ACEOF
27325 rm -f conftest.$ac_objext conftest$ac_exeext
27326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27327 (eval $ac_link) 2>conftest.er1
27328 ac_status=$?
27329 grep -v '^ *+' conftest.er1 >conftest.err
27330 rm -f conftest.er1
27331 cat conftest.err >&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } &&
27334 { ac_try='test -z "$ac_c_werror_flag"
27335 || test ! -s conftest.err'
27336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27337 (eval $ac_try) 2>&5
27338 ac_status=$?
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; } &&
27341 { ac_try='test -s conftest$ac_exeext'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27344 ac_status=$?
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; }; then
27347 ac_cv_lib_m_sinl=yes
27348 else
27349 echo "$as_me: failed program was:" >&5
27350 sed 's/^/| /' conftest.$ac_ext >&5
27352 ac_cv_lib_m_sinl=no
27354 rm -f conftest.err conftest.$ac_objext \
27355 conftest$ac_exeext conftest.$ac_ext
27356 LIBS=$ac_check_lib_save_LIBS
27358 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27359 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27360 if test $ac_cv_lib_m_sinl = yes; then
27362 cat >>confdefs.h <<\_ACEOF
27363 #define HAVE_SINL 1
27364 _ACEOF
27368 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27369 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27370 if test "${ac_cv_lib_m_csinf+set}" = set; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27372 else
27373 ac_check_lib_save_LIBS=$LIBS
27374 LIBS="-lm $LIBS"
27375 if test x$gcc_no_link = xyes; then
27376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27378 { (exit 1); exit 1; }; }
27380 cat >conftest.$ac_ext <<_ACEOF
27381 /* confdefs.h. */
27382 _ACEOF
27383 cat confdefs.h >>conftest.$ac_ext
27384 cat >>conftest.$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27387 /* Override any gcc2 internal prototype to avoid an error. */
27388 #ifdef __cplusplus
27389 extern "C"
27390 #endif
27391 /* We use char because int might match the return type of a gcc2
27392 builtin and then its argument prototype would still apply. */
27393 char csinf ();
27395 main ()
27397 csinf ();
27399 return 0;
27401 _ACEOF
27402 rm -f conftest.$ac_objext conftest$ac_exeext
27403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27404 (eval $ac_link) 2>conftest.er1
27405 ac_status=$?
27406 grep -v '^ *+' conftest.er1 >conftest.err
27407 rm -f conftest.er1
27408 cat conftest.err >&5
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); } &&
27411 { ac_try='test -z "$ac_c_werror_flag"
27412 || test ! -s conftest.err'
27413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27414 (eval $ac_try) 2>&5
27415 ac_status=$?
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); }; } &&
27418 { ac_try='test -s conftest$ac_exeext'
27419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420 (eval $ac_try) 2>&5
27421 ac_status=$?
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); }; }; then
27424 ac_cv_lib_m_csinf=yes
27425 else
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27429 ac_cv_lib_m_csinf=no
27431 rm -f conftest.err conftest.$ac_objext \
27432 conftest$ac_exeext conftest.$ac_ext
27433 LIBS=$ac_check_lib_save_LIBS
27435 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27436 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27437 if test $ac_cv_lib_m_csinf = yes; then
27439 cat >>confdefs.h <<\_ACEOF
27440 #define HAVE_CSINF 1
27441 _ACEOF
27445 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27446 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27447 if test "${ac_cv_lib_m_csin+set}" = set; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 else
27450 ac_check_lib_save_LIBS=$LIBS
27451 LIBS="-lm $LIBS"
27452 if test x$gcc_no_link = xyes; then
27453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27455 { (exit 1); exit 1; }; }
27457 cat >conftest.$ac_ext <<_ACEOF
27458 /* confdefs.h. */
27459 _ACEOF
27460 cat confdefs.h >>conftest.$ac_ext
27461 cat >>conftest.$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27464 /* Override any gcc2 internal prototype to avoid an error. */
27465 #ifdef __cplusplus
27466 extern "C"
27467 #endif
27468 /* We use char because int might match the return type of a gcc2
27469 builtin and then its argument prototype would still apply. */
27470 char csin ();
27472 main ()
27474 csin ();
27476 return 0;
27478 _ACEOF
27479 rm -f conftest.$ac_objext conftest$ac_exeext
27480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27481 (eval $ac_link) 2>conftest.er1
27482 ac_status=$?
27483 grep -v '^ *+' conftest.er1 >conftest.err
27484 rm -f conftest.er1
27485 cat conftest.err >&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); } &&
27488 { ac_try='test -z "$ac_c_werror_flag"
27489 || test ! -s conftest.err'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27492 ac_status=$?
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; } &&
27495 { ac_try='test -s conftest$ac_exeext'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27498 ac_status=$?
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; }; then
27501 ac_cv_lib_m_csin=yes
27502 else
27503 echo "$as_me: failed program was:" >&5
27504 sed 's/^/| /' conftest.$ac_ext >&5
27506 ac_cv_lib_m_csin=no
27508 rm -f conftest.err conftest.$ac_objext \
27509 conftest$ac_exeext conftest.$ac_ext
27510 LIBS=$ac_check_lib_save_LIBS
27512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27513 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27514 if test $ac_cv_lib_m_csin = yes; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define HAVE_CSIN 1
27518 _ACEOF
27522 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27523 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27524 if test "${ac_cv_lib_m_csinl+set}" = set; then
27525 echo $ECHO_N "(cached) $ECHO_C" >&6
27526 else
27527 ac_check_lib_save_LIBS=$LIBS
27528 LIBS="-lm $LIBS"
27529 if test x$gcc_no_link = xyes; then
27530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27532 { (exit 1); exit 1; }; }
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27541 /* Override any gcc2 internal prototype to avoid an error. */
27542 #ifdef __cplusplus
27543 extern "C"
27544 #endif
27545 /* We use char because int might match the return type of a gcc2
27546 builtin and then its argument prototype would still apply. */
27547 char csinl ();
27549 main ()
27551 csinl ();
27553 return 0;
27555 _ACEOF
27556 rm -f conftest.$ac_objext conftest$ac_exeext
27557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27558 (eval $ac_link) 2>conftest.er1
27559 ac_status=$?
27560 grep -v '^ *+' conftest.er1 >conftest.err
27561 rm -f conftest.er1
27562 cat conftest.err >&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); } &&
27565 { ac_try='test -z "$ac_c_werror_flag"
27566 || test ! -s conftest.err'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27569 ac_status=$?
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; } &&
27572 { ac_try='test -s conftest$ac_exeext'
27573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27574 (eval $ac_try) 2>&5
27575 ac_status=$?
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); }; }; then
27578 ac_cv_lib_m_csinl=yes
27579 else
27580 echo "$as_me: failed program was:" >&5
27581 sed 's/^/| /' conftest.$ac_ext >&5
27583 ac_cv_lib_m_csinl=no
27585 rm -f conftest.err conftest.$ac_objext \
27586 conftest$ac_exeext conftest.$ac_ext
27587 LIBS=$ac_check_lib_save_LIBS
27589 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27590 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27591 if test $ac_cv_lib_m_csinl = yes; then
27593 cat >>confdefs.h <<\_ACEOF
27594 #define HAVE_CSINL 1
27595 _ACEOF
27599 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27600 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27601 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 else
27604 ac_check_lib_save_LIBS=$LIBS
27605 LIBS="-lm $LIBS"
27606 if test x$gcc_no_link = xyes; then
27607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27609 { (exit 1); exit 1; }; }
27611 cat >conftest.$ac_ext <<_ACEOF
27612 /* confdefs.h. */
27613 _ACEOF
27614 cat confdefs.h >>conftest.$ac_ext
27615 cat >>conftest.$ac_ext <<_ACEOF
27616 /* end confdefs.h. */
27618 /* Override any gcc2 internal prototype to avoid an error. */
27619 #ifdef __cplusplus
27620 extern "C"
27621 #endif
27622 /* We use char because int might match the return type of a gcc2
27623 builtin and then its argument prototype would still apply. */
27624 char sinhf ();
27626 main ()
27628 sinhf ();
27630 return 0;
27632 _ACEOF
27633 rm -f conftest.$ac_objext conftest$ac_exeext
27634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27635 (eval $ac_link) 2>conftest.er1
27636 ac_status=$?
27637 grep -v '^ *+' conftest.er1 >conftest.err
27638 rm -f conftest.er1
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } &&
27642 { ac_try='test -z "$ac_c_werror_flag"
27643 || test ! -s conftest.err'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; } &&
27649 { ac_try='test -s conftest$ac_exeext'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27652 ac_status=$?
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; }; then
27655 ac_cv_lib_m_sinhf=yes
27656 else
27657 echo "$as_me: failed program was:" >&5
27658 sed 's/^/| /' conftest.$ac_ext >&5
27660 ac_cv_lib_m_sinhf=no
27662 rm -f conftest.err conftest.$ac_objext \
27663 conftest$ac_exeext conftest.$ac_ext
27664 LIBS=$ac_check_lib_save_LIBS
27666 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27667 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27668 if test $ac_cv_lib_m_sinhf = yes; then
27670 cat >>confdefs.h <<\_ACEOF
27671 #define HAVE_SINHF 1
27672 _ACEOF
27676 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27677 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27678 if test "${ac_cv_lib_m_sinh+set}" = set; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 else
27681 ac_check_lib_save_LIBS=$LIBS
27682 LIBS="-lm $LIBS"
27683 if test x$gcc_no_link = xyes; then
27684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27686 { (exit 1); exit 1; }; }
27688 cat >conftest.$ac_ext <<_ACEOF
27689 /* confdefs.h. */
27690 _ACEOF
27691 cat confdefs.h >>conftest.$ac_ext
27692 cat >>conftest.$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27695 /* Override any gcc2 internal prototype to avoid an error. */
27696 #ifdef __cplusplus
27697 extern "C"
27698 #endif
27699 /* We use char because int might match the return type of a gcc2
27700 builtin and then its argument prototype would still apply. */
27701 char sinh ();
27703 main ()
27705 sinh ();
27707 return 0;
27709 _ACEOF
27710 rm -f conftest.$ac_objext conftest$ac_exeext
27711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27712 (eval $ac_link) 2>conftest.er1
27713 ac_status=$?
27714 grep -v '^ *+' conftest.er1 >conftest.err
27715 rm -f conftest.er1
27716 cat conftest.err >&5
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); } &&
27719 { ac_try='test -z "$ac_c_werror_flag"
27720 || test ! -s conftest.err'
27721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27722 (eval $ac_try) 2>&5
27723 ac_status=$?
27724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725 (exit $ac_status); }; } &&
27726 { ac_try='test -s conftest$ac_exeext'
27727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728 (eval $ac_try) 2>&5
27729 ac_status=$?
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; }; then
27732 ac_cv_lib_m_sinh=yes
27733 else
27734 echo "$as_me: failed program was:" >&5
27735 sed 's/^/| /' conftest.$ac_ext >&5
27737 ac_cv_lib_m_sinh=no
27739 rm -f conftest.err conftest.$ac_objext \
27740 conftest$ac_exeext conftest.$ac_ext
27741 LIBS=$ac_check_lib_save_LIBS
27743 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27744 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27745 if test $ac_cv_lib_m_sinh = yes; then
27747 cat >>confdefs.h <<\_ACEOF
27748 #define HAVE_SINH 1
27749 _ACEOF
27753 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27754 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27755 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27756 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 else
27758 ac_check_lib_save_LIBS=$LIBS
27759 LIBS="-lm $LIBS"
27760 if test x$gcc_no_link = xyes; then
27761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27763 { (exit 1); exit 1; }; }
27765 cat >conftest.$ac_ext <<_ACEOF
27766 /* confdefs.h. */
27767 _ACEOF
27768 cat confdefs.h >>conftest.$ac_ext
27769 cat >>conftest.$ac_ext <<_ACEOF
27770 /* end confdefs.h. */
27772 /* Override any gcc2 internal prototype to avoid an error. */
27773 #ifdef __cplusplus
27774 extern "C"
27775 #endif
27776 /* We use char because int might match the return type of a gcc2
27777 builtin and then its argument prototype would still apply. */
27778 char sinhl ();
27780 main ()
27782 sinhl ();
27784 return 0;
27786 _ACEOF
27787 rm -f conftest.$ac_objext conftest$ac_exeext
27788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27789 (eval $ac_link) 2>conftest.er1
27790 ac_status=$?
27791 grep -v '^ *+' conftest.er1 >conftest.err
27792 rm -f conftest.er1
27793 cat conftest.err >&5
27794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795 (exit $ac_status); } &&
27796 { ac_try='test -z "$ac_c_werror_flag"
27797 || test ! -s conftest.err'
27798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27799 (eval $ac_try) 2>&5
27800 ac_status=$?
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); }; } &&
27803 { ac_try='test -s conftest$ac_exeext'
27804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27805 (eval $ac_try) 2>&5
27806 ac_status=$?
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); }; }; then
27809 ac_cv_lib_m_sinhl=yes
27810 else
27811 echo "$as_me: failed program was:" >&5
27812 sed 's/^/| /' conftest.$ac_ext >&5
27814 ac_cv_lib_m_sinhl=no
27816 rm -f conftest.err conftest.$ac_objext \
27817 conftest$ac_exeext conftest.$ac_ext
27818 LIBS=$ac_check_lib_save_LIBS
27820 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27821 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27822 if test $ac_cv_lib_m_sinhl = yes; then
27824 cat >>confdefs.h <<\_ACEOF
27825 #define HAVE_SINHL 1
27826 _ACEOF
27830 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27831 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27832 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27834 else
27835 ac_check_lib_save_LIBS=$LIBS
27836 LIBS="-lm $LIBS"
27837 if test x$gcc_no_link = xyes; then
27838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27840 { (exit 1); exit 1; }; }
27842 cat >conftest.$ac_ext <<_ACEOF
27843 /* confdefs.h. */
27844 _ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27849 /* Override any gcc2 internal prototype to avoid an error. */
27850 #ifdef __cplusplus
27851 extern "C"
27852 #endif
27853 /* We use char because int might match the return type of a gcc2
27854 builtin and then its argument prototype would still apply. */
27855 char csinhf ();
27857 main ()
27859 csinhf ();
27861 return 0;
27863 _ACEOF
27864 rm -f conftest.$ac_objext conftest$ac_exeext
27865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27866 (eval $ac_link) 2>conftest.er1
27867 ac_status=$?
27868 grep -v '^ *+' conftest.er1 >conftest.err
27869 rm -f conftest.er1
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } &&
27873 { ac_try='test -z "$ac_c_werror_flag"
27874 || test ! -s conftest.err'
27875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27876 (eval $ac_try) 2>&5
27877 ac_status=$?
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); }; } &&
27880 { ac_try='test -s conftest$ac_exeext'
27881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27882 (eval $ac_try) 2>&5
27883 ac_status=$?
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); }; }; then
27886 ac_cv_lib_m_csinhf=yes
27887 else
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.$ac_ext >&5
27891 ac_cv_lib_m_csinhf=no
27893 rm -f conftest.err conftest.$ac_objext \
27894 conftest$ac_exeext conftest.$ac_ext
27895 LIBS=$ac_check_lib_save_LIBS
27897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27898 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27899 if test $ac_cv_lib_m_csinhf = yes; then
27901 cat >>confdefs.h <<\_ACEOF
27902 #define HAVE_CSINHF 1
27903 _ACEOF
27907 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27908 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27909 if test "${ac_cv_lib_m_csinh+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912 ac_check_lib_save_LIBS=$LIBS
27913 LIBS="-lm $LIBS"
27914 if test x$gcc_no_link = xyes; then
27915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27917 { (exit 1); exit 1; }; }
27919 cat >conftest.$ac_ext <<_ACEOF
27920 /* confdefs.h. */
27921 _ACEOF
27922 cat confdefs.h >>conftest.$ac_ext
27923 cat >>conftest.$ac_ext <<_ACEOF
27924 /* end confdefs.h. */
27926 /* Override any gcc2 internal prototype to avoid an error. */
27927 #ifdef __cplusplus
27928 extern "C"
27929 #endif
27930 /* We use char because int might match the return type of a gcc2
27931 builtin and then its argument prototype would still apply. */
27932 char csinh ();
27934 main ()
27936 csinh ();
27938 return 0;
27940 _ACEOF
27941 rm -f conftest.$ac_objext conftest$ac_exeext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27943 (eval $ac_link) 2>conftest.er1
27944 ac_status=$?
27945 grep -v '^ *+' conftest.er1 >conftest.err
27946 rm -f conftest.er1
27947 cat conftest.err >&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } &&
27950 { ac_try='test -z "$ac_c_werror_flag"
27951 || test ! -s conftest.err'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 ac_cv_lib_m_csinh=yes
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27968 ac_cv_lib_m_csinh=no
27970 rm -f conftest.err conftest.$ac_objext \
27971 conftest$ac_exeext conftest.$ac_ext
27972 LIBS=$ac_check_lib_save_LIBS
27974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27975 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27976 if test $ac_cv_lib_m_csinh = yes; then
27978 cat >>confdefs.h <<\_ACEOF
27979 #define HAVE_CSINH 1
27980 _ACEOF
27984 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27985 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27986 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27989 ac_check_lib_save_LIBS=$LIBS
27990 LIBS="-lm $LIBS"
27991 if test x$gcc_no_link = xyes; then
27992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27994 { (exit 1); exit 1; }; }
27996 cat >conftest.$ac_ext <<_ACEOF
27997 /* confdefs.h. */
27998 _ACEOF
27999 cat confdefs.h >>conftest.$ac_ext
28000 cat >>conftest.$ac_ext <<_ACEOF
28001 /* end confdefs.h. */
28003 /* Override any gcc2 internal prototype to avoid an error. */
28004 #ifdef __cplusplus
28005 extern "C"
28006 #endif
28007 /* We use char because int might match the return type of a gcc2
28008 builtin and then its argument prototype would still apply. */
28009 char csinhl ();
28011 main ()
28013 csinhl ();
28015 return 0;
28017 _ACEOF
28018 rm -f conftest.$ac_objext conftest$ac_exeext
28019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28020 (eval $ac_link) 2>conftest.er1
28021 ac_status=$?
28022 grep -v '^ *+' conftest.er1 >conftest.err
28023 rm -f conftest.er1
28024 cat conftest.err >&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); } &&
28027 { ac_try='test -z "$ac_c_werror_flag"
28028 || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try='test -s conftest$ac_exeext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040 ac_cv_lib_m_csinhl=yes
28041 else
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28045 ac_cv_lib_m_csinhl=no
28047 rm -f conftest.err conftest.$ac_objext \
28048 conftest$ac_exeext conftest.$ac_ext
28049 LIBS=$ac_check_lib_save_LIBS
28051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28052 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28053 if test $ac_cv_lib_m_csinhl = yes; then
28055 cat >>confdefs.h <<\_ACEOF
28056 #define HAVE_CSINHL 1
28057 _ACEOF
28061 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28062 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28063 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28064 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 else
28066 ac_check_lib_save_LIBS=$LIBS
28067 LIBS="-lm $LIBS"
28068 if test x$gcc_no_link = xyes; then
28069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28071 { (exit 1); exit 1; }; }
28073 cat >conftest.$ac_ext <<_ACEOF
28074 /* confdefs.h. */
28075 _ACEOF
28076 cat confdefs.h >>conftest.$ac_ext
28077 cat >>conftest.$ac_ext <<_ACEOF
28078 /* end confdefs.h. */
28080 /* Override any gcc2 internal prototype to avoid an error. */
28081 #ifdef __cplusplus
28082 extern "C"
28083 #endif
28084 /* We use char because int might match the return type of a gcc2
28085 builtin and then its argument prototype would still apply. */
28086 char sqrtf ();
28088 main ()
28090 sqrtf ();
28092 return 0;
28094 _ACEOF
28095 rm -f conftest.$ac_objext conftest$ac_exeext
28096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28097 (eval $ac_link) 2>conftest.er1
28098 ac_status=$?
28099 grep -v '^ *+' conftest.er1 >conftest.err
28100 rm -f conftest.er1
28101 cat conftest.err >&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); } &&
28104 { ac_try='test -z "$ac_c_werror_flag"
28105 || test ! -s conftest.err'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28108 ac_status=$?
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; } &&
28111 { ac_try='test -s conftest$ac_exeext'
28112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28113 (eval $ac_try) 2>&5
28114 ac_status=$?
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); }; }; then
28117 ac_cv_lib_m_sqrtf=yes
28118 else
28119 echo "$as_me: failed program was:" >&5
28120 sed 's/^/| /' conftest.$ac_ext >&5
28122 ac_cv_lib_m_sqrtf=no
28124 rm -f conftest.err conftest.$ac_objext \
28125 conftest$ac_exeext conftest.$ac_ext
28126 LIBS=$ac_check_lib_save_LIBS
28128 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28129 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28130 if test $ac_cv_lib_m_sqrtf = yes; then
28132 cat >>confdefs.h <<\_ACEOF
28133 #define HAVE_SQRTF 1
28134 _ACEOF
28138 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28139 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28140 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28141 echo $ECHO_N "(cached) $ECHO_C" >&6
28142 else
28143 ac_check_lib_save_LIBS=$LIBS
28144 LIBS="-lm $LIBS"
28145 if test x$gcc_no_link = xyes; then
28146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28148 { (exit 1); exit 1; }; }
28150 cat >conftest.$ac_ext <<_ACEOF
28151 /* confdefs.h. */
28152 _ACEOF
28153 cat confdefs.h >>conftest.$ac_ext
28154 cat >>conftest.$ac_ext <<_ACEOF
28155 /* end confdefs.h. */
28157 /* Override any gcc2 internal prototype to avoid an error. */
28158 #ifdef __cplusplus
28159 extern "C"
28160 #endif
28161 /* We use char because int might match the return type of a gcc2
28162 builtin and then its argument prototype would still apply. */
28163 char sqrt ();
28165 main ()
28167 sqrt ();
28169 return 0;
28171 _ACEOF
28172 rm -f conftest.$ac_objext conftest$ac_exeext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28174 (eval $ac_link) 2>conftest.er1
28175 ac_status=$?
28176 grep -v '^ *+' conftest.er1 >conftest.err
28177 rm -f conftest.er1
28178 cat conftest.err >&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } &&
28181 { ac_try='test -z "$ac_c_werror_flag"
28182 || test ! -s conftest.err'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28185 ac_status=$?
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; } &&
28188 { ac_try='test -s conftest$ac_exeext'
28189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190 (eval $ac_try) 2>&5
28191 ac_status=$?
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 ac_cv_lib_m_sqrt=yes
28195 else
28196 echo "$as_me: failed program was:" >&5
28197 sed 's/^/| /' conftest.$ac_ext >&5
28199 ac_cv_lib_m_sqrt=no
28201 rm -f conftest.err conftest.$ac_objext \
28202 conftest$ac_exeext conftest.$ac_ext
28203 LIBS=$ac_check_lib_save_LIBS
28205 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28206 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28207 if test $ac_cv_lib_m_sqrt = yes; then
28209 cat >>confdefs.h <<\_ACEOF
28210 #define HAVE_SQRT 1
28211 _ACEOF
28215 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28216 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28217 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28218 echo $ECHO_N "(cached) $ECHO_C" >&6
28219 else
28220 ac_check_lib_save_LIBS=$LIBS
28221 LIBS="-lm $LIBS"
28222 if test x$gcc_no_link = xyes; then
28223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28225 { (exit 1); exit 1; }; }
28227 cat >conftest.$ac_ext <<_ACEOF
28228 /* confdefs.h. */
28229 _ACEOF
28230 cat confdefs.h >>conftest.$ac_ext
28231 cat >>conftest.$ac_ext <<_ACEOF
28232 /* end confdefs.h. */
28234 /* Override any gcc2 internal prototype to avoid an error. */
28235 #ifdef __cplusplus
28236 extern "C"
28237 #endif
28238 /* We use char because int might match the return type of a gcc2
28239 builtin and then its argument prototype would still apply. */
28240 char sqrtl ();
28242 main ()
28244 sqrtl ();
28246 return 0;
28248 _ACEOF
28249 rm -f conftest.$ac_objext conftest$ac_exeext
28250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28251 (eval $ac_link) 2>conftest.er1
28252 ac_status=$?
28253 grep -v '^ *+' conftest.er1 >conftest.err
28254 rm -f conftest.er1
28255 cat conftest.err >&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); } &&
28258 { ac_try='test -z "$ac_c_werror_flag"
28259 || test ! -s conftest.err'
28260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28261 (eval $ac_try) 2>&5
28262 ac_status=$?
28263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28264 (exit $ac_status); }; } &&
28265 { ac_try='test -s conftest$ac_exeext'
28266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28267 (eval $ac_try) 2>&5
28268 ac_status=$?
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); }; }; then
28271 ac_cv_lib_m_sqrtl=yes
28272 else
28273 echo "$as_me: failed program was:" >&5
28274 sed 's/^/| /' conftest.$ac_ext >&5
28276 ac_cv_lib_m_sqrtl=no
28278 rm -f conftest.err conftest.$ac_objext \
28279 conftest$ac_exeext conftest.$ac_ext
28280 LIBS=$ac_check_lib_save_LIBS
28282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28283 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28284 if test $ac_cv_lib_m_sqrtl = yes; then
28286 cat >>confdefs.h <<\_ACEOF
28287 #define HAVE_SQRTL 1
28288 _ACEOF
28292 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28293 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28294 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28295 echo $ECHO_N "(cached) $ECHO_C" >&6
28296 else
28297 ac_check_lib_save_LIBS=$LIBS
28298 LIBS="-lm $LIBS"
28299 if test x$gcc_no_link = xyes; then
28300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28302 { (exit 1); exit 1; }; }
28304 cat >conftest.$ac_ext <<_ACEOF
28305 /* confdefs.h. */
28306 _ACEOF
28307 cat confdefs.h >>conftest.$ac_ext
28308 cat >>conftest.$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28311 /* Override any gcc2 internal prototype to avoid an error. */
28312 #ifdef __cplusplus
28313 extern "C"
28314 #endif
28315 /* We use char because int might match the return type of a gcc2
28316 builtin and then its argument prototype would still apply. */
28317 char csqrtf ();
28319 main ()
28321 csqrtf ();
28323 return 0;
28325 _ACEOF
28326 rm -f conftest.$ac_objext conftest$ac_exeext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28328 (eval $ac_link) 2>conftest.er1
28329 ac_status=$?
28330 grep -v '^ *+' conftest.er1 >conftest.err
28331 rm -f conftest.er1
28332 cat conftest.err >&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); } &&
28335 { ac_try='test -z "$ac_c_werror_flag"
28336 || test ! -s conftest.err'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28339 ac_status=$?
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; } &&
28342 { ac_try='test -s conftest$ac_exeext'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28345 ac_status=$?
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; }; then
28348 ac_cv_lib_m_csqrtf=yes
28349 else
28350 echo "$as_me: failed program was:" >&5
28351 sed 's/^/| /' conftest.$ac_ext >&5
28353 ac_cv_lib_m_csqrtf=no
28355 rm -f conftest.err conftest.$ac_objext \
28356 conftest$ac_exeext conftest.$ac_ext
28357 LIBS=$ac_check_lib_save_LIBS
28359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28360 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28361 if test $ac_cv_lib_m_csqrtf = yes; then
28363 cat >>confdefs.h <<\_ACEOF
28364 #define HAVE_CSQRTF 1
28365 _ACEOF
28369 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28370 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28371 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28374 ac_check_lib_save_LIBS=$LIBS
28375 LIBS="-lm $LIBS"
28376 if test x$gcc_no_link = xyes; then
28377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28379 { (exit 1); exit 1; }; }
28381 cat >conftest.$ac_ext <<_ACEOF
28382 /* confdefs.h. */
28383 _ACEOF
28384 cat confdefs.h >>conftest.$ac_ext
28385 cat >>conftest.$ac_ext <<_ACEOF
28386 /* end confdefs.h. */
28388 /* Override any gcc2 internal prototype to avoid an error. */
28389 #ifdef __cplusplus
28390 extern "C"
28391 #endif
28392 /* We use char because int might match the return type of a gcc2
28393 builtin and then its argument prototype would still apply. */
28394 char csqrt ();
28396 main ()
28398 csqrt ();
28400 return 0;
28402 _ACEOF
28403 rm -f conftest.$ac_objext conftest$ac_exeext
28404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28405 (eval $ac_link) 2>conftest.er1
28406 ac_status=$?
28407 grep -v '^ *+' conftest.er1 >conftest.err
28408 rm -f conftest.er1
28409 cat conftest.err >&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } &&
28412 { ac_try='test -z "$ac_c_werror_flag"
28413 || test ! -s conftest.err'
28414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28415 (eval $ac_try) 2>&5
28416 ac_status=$?
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); }; } &&
28419 { ac_try='test -s conftest$ac_exeext'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28422 ac_status=$?
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; }; then
28425 ac_cv_lib_m_csqrt=yes
28426 else
28427 echo "$as_me: failed program was:" >&5
28428 sed 's/^/| /' conftest.$ac_ext >&5
28430 ac_cv_lib_m_csqrt=no
28432 rm -f conftest.err conftest.$ac_objext \
28433 conftest$ac_exeext conftest.$ac_ext
28434 LIBS=$ac_check_lib_save_LIBS
28436 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28437 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28438 if test $ac_cv_lib_m_csqrt = yes; then
28440 cat >>confdefs.h <<\_ACEOF
28441 #define HAVE_CSQRT 1
28442 _ACEOF
28446 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28447 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28448 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 else
28451 ac_check_lib_save_LIBS=$LIBS
28452 LIBS="-lm $LIBS"
28453 if test x$gcc_no_link = xyes; then
28454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28456 { (exit 1); exit 1; }; }
28458 cat >conftest.$ac_ext <<_ACEOF
28459 /* confdefs.h. */
28460 _ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28465 /* Override any gcc2 internal prototype to avoid an error. */
28466 #ifdef __cplusplus
28467 extern "C"
28468 #endif
28469 /* We use char because int might match the return type of a gcc2
28470 builtin and then its argument prototype would still apply. */
28471 char csqrtl ();
28473 main ()
28475 csqrtl ();
28477 return 0;
28479 _ACEOF
28480 rm -f conftest.$ac_objext conftest$ac_exeext
28481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28482 (eval $ac_link) 2>conftest.er1
28483 ac_status=$?
28484 grep -v '^ *+' conftest.er1 >conftest.err
28485 rm -f conftest.er1
28486 cat conftest.err >&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } &&
28489 { ac_try='test -z "$ac_c_werror_flag"
28490 || test ! -s conftest.err'
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; } &&
28496 { ac_try='test -s conftest$ac_exeext'
28497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498 (eval $ac_try) 2>&5
28499 ac_status=$?
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); }; }; then
28502 ac_cv_lib_m_csqrtl=yes
28503 else
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28507 ac_cv_lib_m_csqrtl=no
28509 rm -f conftest.err conftest.$ac_objext \
28510 conftest$ac_exeext conftest.$ac_ext
28511 LIBS=$ac_check_lib_save_LIBS
28513 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28514 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28515 if test $ac_cv_lib_m_csqrtl = yes; then
28517 cat >>confdefs.h <<\_ACEOF
28518 #define HAVE_CSQRTL 1
28519 _ACEOF
28523 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28524 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28525 if test "${ac_cv_lib_m_tanf+set}" = set; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28527 else
28528 ac_check_lib_save_LIBS=$LIBS
28529 LIBS="-lm $LIBS"
28530 if test x$gcc_no_link = xyes; then
28531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28533 { (exit 1); exit 1; }; }
28535 cat >conftest.$ac_ext <<_ACEOF
28536 /* confdefs.h. */
28537 _ACEOF
28538 cat confdefs.h >>conftest.$ac_ext
28539 cat >>conftest.$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28542 /* Override any gcc2 internal prototype to avoid an error. */
28543 #ifdef __cplusplus
28544 extern "C"
28545 #endif
28546 /* We use char because int might match the return type of a gcc2
28547 builtin and then its argument prototype would still apply. */
28548 char tanf ();
28550 main ()
28552 tanf ();
28554 return 0;
28556 _ACEOF
28557 rm -f conftest.$ac_objext conftest$ac_exeext
28558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>conftest.er1
28560 ac_status=$?
28561 grep -v '^ *+' conftest.er1 >conftest.err
28562 rm -f conftest.er1
28563 cat conftest.err >&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } &&
28566 { ac_try='test -z "$ac_c_werror_flag"
28567 || test ! -s conftest.err'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28570 ac_status=$?
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; } &&
28573 { ac_try='test -s conftest$ac_exeext'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; }; then
28579 ac_cv_lib_m_tanf=yes
28580 else
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.$ac_ext >&5
28584 ac_cv_lib_m_tanf=no
28586 rm -f conftest.err conftest.$ac_objext \
28587 conftest$ac_exeext conftest.$ac_ext
28588 LIBS=$ac_check_lib_save_LIBS
28590 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28591 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28592 if test $ac_cv_lib_m_tanf = yes; then
28594 cat >>confdefs.h <<\_ACEOF
28595 #define HAVE_TANF 1
28596 _ACEOF
28600 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28601 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28602 if test "${ac_cv_lib_m_tan+set}" = set; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28604 else
28605 ac_check_lib_save_LIBS=$LIBS
28606 LIBS="-lm $LIBS"
28607 if test x$gcc_no_link = xyes; then
28608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28610 { (exit 1); exit 1; }; }
28612 cat >conftest.$ac_ext <<_ACEOF
28613 /* confdefs.h. */
28614 _ACEOF
28615 cat confdefs.h >>conftest.$ac_ext
28616 cat >>conftest.$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28619 /* Override any gcc2 internal prototype to avoid an error. */
28620 #ifdef __cplusplus
28621 extern "C"
28622 #endif
28623 /* We use char because int might match the return type of a gcc2
28624 builtin and then its argument prototype would still apply. */
28625 char tan ();
28627 main ()
28629 tan ();
28631 return 0;
28633 _ACEOF
28634 rm -f conftest.$ac_objext conftest$ac_exeext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28636 (eval $ac_link) 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try='test -z "$ac_c_werror_flag"
28644 || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try='test -s conftest$ac_exeext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28653 ac_status=$?
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 ac_cv_lib_m_tan=yes
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28661 ac_cv_lib_m_tan=no
28663 rm -f conftest.err conftest.$ac_objext \
28664 conftest$ac_exeext conftest.$ac_ext
28665 LIBS=$ac_check_lib_save_LIBS
28667 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28668 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28669 if test $ac_cv_lib_m_tan = yes; then
28671 cat >>confdefs.h <<\_ACEOF
28672 #define HAVE_TAN 1
28673 _ACEOF
28677 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28678 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28679 if test "${ac_cv_lib_m_tanl+set}" = set; then
28680 echo $ECHO_N "(cached) $ECHO_C" >&6
28681 else
28682 ac_check_lib_save_LIBS=$LIBS
28683 LIBS="-lm $LIBS"
28684 if test x$gcc_no_link = xyes; then
28685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28687 { (exit 1); exit 1; }; }
28689 cat >conftest.$ac_ext <<_ACEOF
28690 /* confdefs.h. */
28691 _ACEOF
28692 cat confdefs.h >>conftest.$ac_ext
28693 cat >>conftest.$ac_ext <<_ACEOF
28694 /* end confdefs.h. */
28696 /* Override any gcc2 internal prototype to avoid an error. */
28697 #ifdef __cplusplus
28698 extern "C"
28699 #endif
28700 /* We use char because int might match the return type of a gcc2
28701 builtin and then its argument prototype would still apply. */
28702 char tanl ();
28704 main ()
28706 tanl ();
28708 return 0;
28710 _ACEOF
28711 rm -f conftest.$ac_objext conftest$ac_exeext
28712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28713 (eval $ac_link) 2>conftest.er1
28714 ac_status=$?
28715 grep -v '^ *+' conftest.er1 >conftest.err
28716 rm -f conftest.er1
28717 cat conftest.err >&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); } &&
28720 { ac_try='test -z "$ac_c_werror_flag"
28721 || test ! -s conftest.err'
28722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723 (eval $ac_try) 2>&5
28724 ac_status=$?
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); }; } &&
28727 { ac_try='test -s conftest$ac_exeext'
28728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729 (eval $ac_try) 2>&5
28730 ac_status=$?
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 ac_cv_lib_m_tanl=yes
28734 else
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28738 ac_cv_lib_m_tanl=no
28740 rm -f conftest.err conftest.$ac_objext \
28741 conftest$ac_exeext conftest.$ac_ext
28742 LIBS=$ac_check_lib_save_LIBS
28744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28745 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28746 if test $ac_cv_lib_m_tanl = yes; then
28748 cat >>confdefs.h <<\_ACEOF
28749 #define HAVE_TANL 1
28750 _ACEOF
28754 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28755 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28756 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 else
28759 ac_check_lib_save_LIBS=$LIBS
28760 LIBS="-lm $LIBS"
28761 if test x$gcc_no_link = xyes; then
28762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28764 { (exit 1); exit 1; }; }
28766 cat >conftest.$ac_ext <<_ACEOF
28767 /* confdefs.h. */
28768 _ACEOF
28769 cat confdefs.h >>conftest.$ac_ext
28770 cat >>conftest.$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28773 /* Override any gcc2 internal prototype to avoid an error. */
28774 #ifdef __cplusplus
28775 extern "C"
28776 #endif
28777 /* We use char because int might match the return type of a gcc2
28778 builtin and then its argument prototype would still apply. */
28779 char ctanf ();
28781 main ()
28783 ctanf ();
28785 return 0;
28787 _ACEOF
28788 rm -f conftest.$ac_objext conftest$ac_exeext
28789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28790 (eval $ac_link) 2>conftest.er1
28791 ac_status=$?
28792 grep -v '^ *+' conftest.er1 >conftest.err
28793 rm -f conftest.er1
28794 cat conftest.err >&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); } &&
28797 { ac_try='test -z "$ac_c_werror_flag"
28798 || test ! -s conftest.err'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28801 ac_status=$?
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; } &&
28804 { ac_try='test -s conftest$ac_exeext'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28807 ac_status=$?
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; }; then
28810 ac_cv_lib_m_ctanf=yes
28811 else
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28815 ac_cv_lib_m_ctanf=no
28817 rm -f conftest.err conftest.$ac_objext \
28818 conftest$ac_exeext conftest.$ac_ext
28819 LIBS=$ac_check_lib_save_LIBS
28821 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28822 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28823 if test $ac_cv_lib_m_ctanf = yes; then
28825 cat >>confdefs.h <<\_ACEOF
28826 #define HAVE_CTANF 1
28827 _ACEOF
28831 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28832 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28833 if test "${ac_cv_lib_m_ctan+set}" = set; then
28834 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 else
28836 ac_check_lib_save_LIBS=$LIBS
28837 LIBS="-lm $LIBS"
28838 if test x$gcc_no_link = xyes; then
28839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28841 { (exit 1); exit 1; }; }
28843 cat >conftest.$ac_ext <<_ACEOF
28844 /* confdefs.h. */
28845 _ACEOF
28846 cat confdefs.h >>conftest.$ac_ext
28847 cat >>conftest.$ac_ext <<_ACEOF
28848 /* end confdefs.h. */
28850 /* Override any gcc2 internal prototype to avoid an error. */
28851 #ifdef __cplusplus
28852 extern "C"
28853 #endif
28854 /* We use char because int might match the return type of a gcc2
28855 builtin and then its argument prototype would still apply. */
28856 char ctan ();
28858 main ()
28860 ctan ();
28862 return 0;
28864 _ACEOF
28865 rm -f conftest.$ac_objext conftest$ac_exeext
28866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28867 (eval $ac_link) 2>conftest.er1
28868 ac_status=$?
28869 grep -v '^ *+' conftest.er1 >conftest.err
28870 rm -f conftest.er1
28871 cat conftest.err >&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } &&
28874 { ac_try='test -z "$ac_c_werror_flag"
28875 || test ! -s conftest.err'
28876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28877 (eval $ac_try) 2>&5
28878 ac_status=$?
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; } &&
28881 { ac_try='test -s conftest$ac_exeext'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28884 ac_status=$?
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; }; then
28887 ac_cv_lib_m_ctan=yes
28888 else
28889 echo "$as_me: failed program was:" >&5
28890 sed 's/^/| /' conftest.$ac_ext >&5
28892 ac_cv_lib_m_ctan=no
28894 rm -f conftest.err conftest.$ac_objext \
28895 conftest$ac_exeext conftest.$ac_ext
28896 LIBS=$ac_check_lib_save_LIBS
28898 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28899 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28900 if test $ac_cv_lib_m_ctan = yes; then
28902 cat >>confdefs.h <<\_ACEOF
28903 #define HAVE_CTAN 1
28904 _ACEOF
28908 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28909 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28910 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28911 echo $ECHO_N "(cached) $ECHO_C" >&6
28912 else
28913 ac_check_lib_save_LIBS=$LIBS
28914 LIBS="-lm $LIBS"
28915 if test x$gcc_no_link = xyes; then
28916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28918 { (exit 1); exit 1; }; }
28920 cat >conftest.$ac_ext <<_ACEOF
28921 /* confdefs.h. */
28922 _ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28927 /* Override any gcc2 internal prototype to avoid an error. */
28928 #ifdef __cplusplus
28929 extern "C"
28930 #endif
28931 /* We use char because int might match the return type of a gcc2
28932 builtin and then its argument prototype would still apply. */
28933 char ctanl ();
28935 main ()
28937 ctanl ();
28939 return 0;
28941 _ACEOF
28942 rm -f conftest.$ac_objext conftest$ac_exeext
28943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28944 (eval $ac_link) 2>conftest.er1
28945 ac_status=$?
28946 grep -v '^ *+' conftest.er1 >conftest.err
28947 rm -f conftest.er1
28948 cat conftest.err >&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); } &&
28951 { ac_try='test -z "$ac_c_werror_flag"
28952 || test ! -s conftest.err'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28955 ac_status=$?
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; } &&
28958 { ac_try='test -s conftest$ac_exeext'
28959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960 (eval $ac_try) 2>&5
28961 ac_status=$?
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); }; }; then
28964 ac_cv_lib_m_ctanl=yes
28965 else
28966 echo "$as_me: failed program was:" >&5
28967 sed 's/^/| /' conftest.$ac_ext >&5
28969 ac_cv_lib_m_ctanl=no
28971 rm -f conftest.err conftest.$ac_objext \
28972 conftest$ac_exeext conftest.$ac_ext
28973 LIBS=$ac_check_lib_save_LIBS
28975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28976 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28977 if test $ac_cv_lib_m_ctanl = yes; then
28979 cat >>confdefs.h <<\_ACEOF
28980 #define HAVE_CTANL 1
28981 _ACEOF
28985 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28986 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28987 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28988 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 else
28990 ac_check_lib_save_LIBS=$LIBS
28991 LIBS="-lm $LIBS"
28992 if test x$gcc_no_link = xyes; then
28993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28995 { (exit 1); exit 1; }; }
28997 cat >conftest.$ac_ext <<_ACEOF
28998 /* confdefs.h. */
28999 _ACEOF
29000 cat confdefs.h >>conftest.$ac_ext
29001 cat >>conftest.$ac_ext <<_ACEOF
29002 /* end confdefs.h. */
29004 /* Override any gcc2 internal prototype to avoid an error. */
29005 #ifdef __cplusplus
29006 extern "C"
29007 #endif
29008 /* We use char because int might match the return type of a gcc2
29009 builtin and then its argument prototype would still apply. */
29010 char tanhf ();
29012 main ()
29014 tanhf ();
29016 return 0;
29018 _ACEOF
29019 rm -f conftest.$ac_objext conftest$ac_exeext
29020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29021 (eval $ac_link) 2>conftest.er1
29022 ac_status=$?
29023 grep -v '^ *+' conftest.er1 >conftest.err
29024 rm -f conftest.er1
29025 cat conftest.err >&5
29026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027 (exit $ac_status); } &&
29028 { ac_try='test -z "$ac_c_werror_flag"
29029 || test ! -s conftest.err'
29030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29031 (eval $ac_try) 2>&5
29032 ac_status=$?
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; } &&
29035 { ac_try='test -s conftest$ac_exeext'
29036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 (eval $ac_try) 2>&5
29038 ac_status=$?
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); }; }; then
29041 ac_cv_lib_m_tanhf=yes
29042 else
29043 echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.$ac_ext >&5
29046 ac_cv_lib_m_tanhf=no
29048 rm -f conftest.err conftest.$ac_objext \
29049 conftest$ac_exeext conftest.$ac_ext
29050 LIBS=$ac_check_lib_save_LIBS
29052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29053 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29054 if test $ac_cv_lib_m_tanhf = yes; then
29056 cat >>confdefs.h <<\_ACEOF
29057 #define HAVE_TANHF 1
29058 _ACEOF
29062 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29063 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29064 if test "${ac_cv_lib_m_tanh+set}" = set; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067 ac_check_lib_save_LIBS=$LIBS
29068 LIBS="-lm $LIBS"
29069 if test x$gcc_no_link = xyes; then
29070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29072 { (exit 1); exit 1; }; }
29074 cat >conftest.$ac_ext <<_ACEOF
29075 /* confdefs.h. */
29076 _ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29081 /* Override any gcc2 internal prototype to avoid an error. */
29082 #ifdef __cplusplus
29083 extern "C"
29084 #endif
29085 /* We use char because int might match the return type of a gcc2
29086 builtin and then its argument prototype would still apply. */
29087 char tanh ();
29089 main ()
29091 tanh ();
29093 return 0;
29095 _ACEOF
29096 rm -f conftest.$ac_objext conftest$ac_exeext
29097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29098 (eval $ac_link) 2>conftest.er1
29099 ac_status=$?
29100 grep -v '^ *+' conftest.er1 >conftest.err
29101 rm -f conftest.er1
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } &&
29105 { ac_try='test -z "$ac_c_werror_flag"
29106 || test ! -s conftest.err'
29107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29108 (eval $ac_try) 2>&5
29109 ac_status=$?
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; } &&
29112 { ac_try='test -s conftest$ac_exeext'
29113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29114 (eval $ac_try) 2>&5
29115 ac_status=$?
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); }; }; then
29118 ac_cv_lib_m_tanh=yes
29119 else
29120 echo "$as_me: failed program was:" >&5
29121 sed 's/^/| /' conftest.$ac_ext >&5
29123 ac_cv_lib_m_tanh=no
29125 rm -f conftest.err conftest.$ac_objext \
29126 conftest$ac_exeext conftest.$ac_ext
29127 LIBS=$ac_check_lib_save_LIBS
29129 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29130 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29131 if test $ac_cv_lib_m_tanh = yes; then
29133 cat >>confdefs.h <<\_ACEOF
29134 #define HAVE_TANH 1
29135 _ACEOF
29139 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29140 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29141 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29142 echo $ECHO_N "(cached) $ECHO_C" >&6
29143 else
29144 ac_check_lib_save_LIBS=$LIBS
29145 LIBS="-lm $LIBS"
29146 if test x$gcc_no_link = xyes; then
29147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29149 { (exit 1); exit 1; }; }
29151 cat >conftest.$ac_ext <<_ACEOF
29152 /* confdefs.h. */
29153 _ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29158 /* Override any gcc2 internal prototype to avoid an error. */
29159 #ifdef __cplusplus
29160 extern "C"
29161 #endif
29162 /* We use char because int might match the return type of a gcc2
29163 builtin and then its argument prototype would still apply. */
29164 char tanhl ();
29166 main ()
29168 tanhl ();
29170 return 0;
29172 _ACEOF
29173 rm -f conftest.$ac_objext conftest$ac_exeext
29174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29175 (eval $ac_link) 2>conftest.er1
29176 ac_status=$?
29177 grep -v '^ *+' conftest.er1 >conftest.err
29178 rm -f conftest.er1
29179 cat conftest.err >&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); } &&
29182 { ac_try='test -z "$ac_c_werror_flag"
29183 || test ! -s conftest.err'
29184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29185 (eval $ac_try) 2>&5
29186 ac_status=$?
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); }; } &&
29189 { ac_try='test -s conftest$ac_exeext'
29190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29191 (eval $ac_try) 2>&5
29192 ac_status=$?
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; }; then
29195 ac_cv_lib_m_tanhl=yes
29196 else
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29200 ac_cv_lib_m_tanhl=no
29202 rm -f conftest.err conftest.$ac_objext \
29203 conftest$ac_exeext conftest.$ac_ext
29204 LIBS=$ac_check_lib_save_LIBS
29206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29207 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29208 if test $ac_cv_lib_m_tanhl = yes; then
29210 cat >>confdefs.h <<\_ACEOF
29211 #define HAVE_TANHL 1
29212 _ACEOF
29216 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29217 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29218 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29219 echo $ECHO_N "(cached) $ECHO_C" >&6
29220 else
29221 ac_check_lib_save_LIBS=$LIBS
29222 LIBS="-lm $LIBS"
29223 if test x$gcc_no_link = xyes; then
29224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29226 { (exit 1); exit 1; }; }
29228 cat >conftest.$ac_ext <<_ACEOF
29229 /* confdefs.h. */
29230 _ACEOF
29231 cat confdefs.h >>conftest.$ac_ext
29232 cat >>conftest.$ac_ext <<_ACEOF
29233 /* end confdefs.h. */
29235 /* Override any gcc2 internal prototype to avoid an error. */
29236 #ifdef __cplusplus
29237 extern "C"
29238 #endif
29239 /* We use char because int might match the return type of a gcc2
29240 builtin and then its argument prototype would still apply. */
29241 char ctanhf ();
29243 main ()
29245 ctanhf ();
29247 return 0;
29249 _ACEOF
29250 rm -f conftest.$ac_objext conftest$ac_exeext
29251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29252 (eval $ac_link) 2>conftest.er1
29253 ac_status=$?
29254 grep -v '^ *+' conftest.er1 >conftest.err
29255 rm -f conftest.er1
29256 cat conftest.err >&5
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); } &&
29259 { ac_try='test -z "$ac_c_werror_flag"
29260 || test ! -s conftest.err'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; } &&
29266 { ac_try='test -s conftest$ac_exeext'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29269 ac_status=$?
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; }; then
29272 ac_cv_lib_m_ctanhf=yes
29273 else
29274 echo "$as_me: failed program was:" >&5
29275 sed 's/^/| /' conftest.$ac_ext >&5
29277 ac_cv_lib_m_ctanhf=no
29279 rm -f conftest.err conftest.$ac_objext \
29280 conftest$ac_exeext conftest.$ac_ext
29281 LIBS=$ac_check_lib_save_LIBS
29283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29284 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29285 if test $ac_cv_lib_m_ctanhf = yes; then
29287 cat >>confdefs.h <<\_ACEOF
29288 #define HAVE_CTANHF 1
29289 _ACEOF
29293 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29294 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29295 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29297 else
29298 ac_check_lib_save_LIBS=$LIBS
29299 LIBS="-lm $LIBS"
29300 if test x$gcc_no_link = xyes; then
29301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29303 { (exit 1); exit 1; }; }
29305 cat >conftest.$ac_ext <<_ACEOF
29306 /* confdefs.h. */
29307 _ACEOF
29308 cat confdefs.h >>conftest.$ac_ext
29309 cat >>conftest.$ac_ext <<_ACEOF
29310 /* end confdefs.h. */
29312 /* Override any gcc2 internal prototype to avoid an error. */
29313 #ifdef __cplusplus
29314 extern "C"
29315 #endif
29316 /* We use char because int might match the return type of a gcc2
29317 builtin and then its argument prototype would still apply. */
29318 char ctanh ();
29320 main ()
29322 ctanh ();
29324 return 0;
29326 _ACEOF
29327 rm -f conftest.$ac_objext conftest$ac_exeext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29329 (eval $ac_link) 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try='test -z "$ac_c_werror_flag"
29337 || test ! -s conftest.err'
29338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29339 (eval $ac_try) 2>&5
29340 ac_status=$?
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); }; } &&
29343 { ac_try='test -s conftest$ac_exeext'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; }; then
29349 ac_cv_lib_m_ctanh=yes
29350 else
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29354 ac_cv_lib_m_ctanh=no
29356 rm -f conftest.err conftest.$ac_objext \
29357 conftest$ac_exeext conftest.$ac_ext
29358 LIBS=$ac_check_lib_save_LIBS
29360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29361 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29362 if test $ac_cv_lib_m_ctanh = yes; then
29364 cat >>confdefs.h <<\_ACEOF
29365 #define HAVE_CTANH 1
29366 _ACEOF
29370 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29371 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29372 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29374 else
29375 ac_check_lib_save_LIBS=$LIBS
29376 LIBS="-lm $LIBS"
29377 if test x$gcc_no_link = xyes; then
29378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29380 { (exit 1); exit 1; }; }
29382 cat >conftest.$ac_ext <<_ACEOF
29383 /* confdefs.h. */
29384 _ACEOF
29385 cat confdefs.h >>conftest.$ac_ext
29386 cat >>conftest.$ac_ext <<_ACEOF
29387 /* end confdefs.h. */
29389 /* Override any gcc2 internal prototype to avoid an error. */
29390 #ifdef __cplusplus
29391 extern "C"
29392 #endif
29393 /* We use char because int might match the return type of a gcc2
29394 builtin and then its argument prototype would still apply. */
29395 char ctanhl ();
29397 main ()
29399 ctanhl ();
29401 return 0;
29403 _ACEOF
29404 rm -f conftest.$ac_objext conftest$ac_exeext
29405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29406 (eval $ac_link) 2>conftest.er1
29407 ac_status=$?
29408 grep -v '^ *+' conftest.er1 >conftest.err
29409 rm -f conftest.er1
29410 cat conftest.err >&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } &&
29413 { ac_try='test -z "$ac_c_werror_flag"
29414 || test ! -s conftest.err'
29415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29416 (eval $ac_try) 2>&5
29417 ac_status=$?
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); }; } &&
29420 { ac_try='test -s conftest$ac_exeext'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29423 ac_status=$?
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; }; then
29426 ac_cv_lib_m_ctanhl=yes
29427 else
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.$ac_ext >&5
29431 ac_cv_lib_m_ctanhl=no
29433 rm -f conftest.err conftest.$ac_objext \
29434 conftest$ac_exeext conftest.$ac_ext
29435 LIBS=$ac_check_lib_save_LIBS
29437 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29438 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29439 if test $ac_cv_lib_m_ctanhl = yes; then
29441 cat >>confdefs.h <<\_ACEOF
29442 #define HAVE_CTANHL 1
29443 _ACEOF
29447 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29448 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29449 if test "${ac_cv_lib_m_truncf+set}" = set; then
29450 echo $ECHO_N "(cached) $ECHO_C" >&6
29451 else
29452 ac_check_lib_save_LIBS=$LIBS
29453 LIBS="-lm $LIBS"
29454 if test x$gcc_no_link = xyes; then
29455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29457 { (exit 1); exit 1; }; }
29459 cat >conftest.$ac_ext <<_ACEOF
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29466 /* Override any gcc2 internal prototype to avoid an error. */
29467 #ifdef __cplusplus
29468 extern "C"
29469 #endif
29470 /* We use char because int might match the return type of a gcc2
29471 builtin and then its argument prototype would still apply. */
29472 char truncf ();
29474 main ()
29476 truncf ();
29478 return 0;
29480 _ACEOF
29481 rm -f conftest.$ac_objext conftest$ac_exeext
29482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29483 (eval $ac_link) 2>conftest.er1
29484 ac_status=$?
29485 grep -v '^ *+' conftest.er1 >conftest.err
29486 rm -f conftest.er1
29487 cat conftest.err >&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } &&
29490 { ac_try='test -z "$ac_c_werror_flag"
29491 || test ! -s conftest.err'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29494 ac_status=$?
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; } &&
29497 { ac_try='test -s conftest$ac_exeext'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29500 ac_status=$?
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; }; then
29503 ac_cv_lib_m_truncf=yes
29504 else
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29508 ac_cv_lib_m_truncf=no
29510 rm -f conftest.err conftest.$ac_objext \
29511 conftest$ac_exeext conftest.$ac_ext
29512 LIBS=$ac_check_lib_save_LIBS
29514 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29515 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29516 if test $ac_cv_lib_m_truncf = yes; then
29518 cat >>confdefs.h <<\_ACEOF
29519 #define HAVE_TRUNCF 1
29520 _ACEOF
29524 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29525 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29526 if test "${ac_cv_lib_m_trunc+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 ac_check_lib_save_LIBS=$LIBS
29530 LIBS="-lm $LIBS"
29531 if test x$gcc_no_link = xyes; then
29532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29534 { (exit 1); exit 1; }; }
29536 cat >conftest.$ac_ext <<_ACEOF
29537 /* confdefs.h. */
29538 _ACEOF
29539 cat confdefs.h >>conftest.$ac_ext
29540 cat >>conftest.$ac_ext <<_ACEOF
29541 /* end confdefs.h. */
29543 /* Override any gcc2 internal prototype to avoid an error. */
29544 #ifdef __cplusplus
29545 extern "C"
29546 #endif
29547 /* We use char because int might match the return type of a gcc2
29548 builtin and then its argument prototype would still apply. */
29549 char trunc ();
29551 main ()
29553 trunc ();
29555 return 0;
29557 _ACEOF
29558 rm -f conftest.$ac_objext conftest$ac_exeext
29559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29560 (eval $ac_link) 2>conftest.er1
29561 ac_status=$?
29562 grep -v '^ *+' conftest.er1 >conftest.err
29563 rm -f conftest.er1
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } &&
29567 { ac_try='test -z "$ac_c_werror_flag"
29568 || test ! -s conftest.err'
29569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29570 (eval $ac_try) 2>&5
29571 ac_status=$?
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; } &&
29574 { ac_try='test -s conftest$ac_exeext'
29575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29576 (eval $ac_try) 2>&5
29577 ac_status=$?
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); }; }; then
29580 ac_cv_lib_m_trunc=yes
29581 else
29582 echo "$as_me: failed program was:" >&5
29583 sed 's/^/| /' conftest.$ac_ext >&5
29585 ac_cv_lib_m_trunc=no
29587 rm -f conftest.err conftest.$ac_objext \
29588 conftest$ac_exeext conftest.$ac_ext
29589 LIBS=$ac_check_lib_save_LIBS
29591 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29592 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29593 if test $ac_cv_lib_m_trunc = yes; then
29595 cat >>confdefs.h <<\_ACEOF
29596 #define HAVE_TRUNC 1
29597 _ACEOF
29601 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29602 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29603 if test "${ac_cv_lib_m_truncl+set}" = set; then
29604 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 else
29606 ac_check_lib_save_LIBS=$LIBS
29607 LIBS="-lm $LIBS"
29608 if test x$gcc_no_link = xyes; then
29609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29611 { (exit 1); exit 1; }; }
29613 cat >conftest.$ac_ext <<_ACEOF
29614 /* confdefs.h. */
29615 _ACEOF
29616 cat confdefs.h >>conftest.$ac_ext
29617 cat >>conftest.$ac_ext <<_ACEOF
29618 /* end confdefs.h. */
29620 /* Override any gcc2 internal prototype to avoid an error. */
29621 #ifdef __cplusplus
29622 extern "C"
29623 #endif
29624 /* We use char because int might match the return type of a gcc2
29625 builtin and then its argument prototype would still apply. */
29626 char truncl ();
29628 main ()
29630 truncl ();
29632 return 0;
29634 _ACEOF
29635 rm -f conftest.$ac_objext conftest$ac_exeext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29637 (eval $ac_link) 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } &&
29644 { ac_try='test -z "$ac_c_werror_flag"
29645 || test ! -s conftest.err'
29646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29647 (eval $ac_try) 2>&5
29648 ac_status=$?
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); }; } &&
29651 { ac_try='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 ac_cv_lib_m_truncl=yes
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29662 ac_cv_lib_m_truncl=no
29664 rm -f conftest.err conftest.$ac_objext \
29665 conftest$ac_exeext conftest.$ac_ext
29666 LIBS=$ac_check_lib_save_LIBS
29668 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29669 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29670 if test $ac_cv_lib_m_truncl = yes; then
29672 cat >>confdefs.h <<\_ACEOF
29673 #define HAVE_TRUNCL 1
29674 _ACEOF
29678 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29679 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29680 if test "${ac_cv_lib_m_erff+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29682 else
29683 ac_check_lib_save_LIBS=$LIBS
29684 LIBS="-lm $LIBS"
29685 if test x$gcc_no_link = xyes; then
29686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29688 { (exit 1); exit 1; }; }
29690 cat >conftest.$ac_ext <<_ACEOF
29691 /* confdefs.h. */
29692 _ACEOF
29693 cat confdefs.h >>conftest.$ac_ext
29694 cat >>conftest.$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29697 /* Override any gcc2 internal prototype to avoid an error. */
29698 #ifdef __cplusplus
29699 extern "C"
29700 #endif
29701 /* We use char because int might match the return type of a gcc2
29702 builtin and then its argument prototype would still apply. */
29703 char erff ();
29705 main ()
29707 erff ();
29709 return 0;
29711 _ACEOF
29712 rm -f conftest.$ac_objext conftest$ac_exeext
29713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29714 (eval $ac_link) 2>conftest.er1
29715 ac_status=$?
29716 grep -v '^ *+' conftest.er1 >conftest.err
29717 rm -f conftest.er1
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } &&
29721 { ac_try='test -z "$ac_c_werror_flag"
29722 || test ! -s conftest.err'
29723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724 (eval $ac_try) 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; } &&
29728 { ac_try='test -s conftest$ac_exeext'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29731 ac_status=$?
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; }; then
29734 ac_cv_lib_m_erff=yes
29735 else
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.$ac_ext >&5
29739 ac_cv_lib_m_erff=no
29741 rm -f conftest.err conftest.$ac_objext \
29742 conftest$ac_exeext conftest.$ac_ext
29743 LIBS=$ac_check_lib_save_LIBS
29745 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29746 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29747 if test $ac_cv_lib_m_erff = yes; then
29749 cat >>confdefs.h <<\_ACEOF
29750 #define HAVE_ERFF 1
29751 _ACEOF
29755 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29756 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29757 if test "${ac_cv_lib_m_erf+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29760 ac_check_lib_save_LIBS=$LIBS
29761 LIBS="-lm $LIBS"
29762 if test x$gcc_no_link = xyes; then
29763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29765 { (exit 1); exit 1; }; }
29767 cat >conftest.$ac_ext <<_ACEOF
29768 /* confdefs.h. */
29769 _ACEOF
29770 cat confdefs.h >>conftest.$ac_ext
29771 cat >>conftest.$ac_ext <<_ACEOF
29772 /* end confdefs.h. */
29774 /* Override any gcc2 internal prototype to avoid an error. */
29775 #ifdef __cplusplus
29776 extern "C"
29777 #endif
29778 /* We use char because int might match the return type of a gcc2
29779 builtin and then its argument prototype would still apply. */
29780 char erf ();
29782 main ()
29784 erf ();
29786 return 0;
29788 _ACEOF
29789 rm -f conftest.$ac_objext conftest$ac_exeext
29790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29791 (eval $ac_link) 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } &&
29798 { ac_try='test -z "$ac_c_werror_flag"
29799 || test ! -s conftest.err'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; } &&
29805 { ac_try='test -s conftest$ac_exeext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 ac_cv_lib_m_erf=yes
29812 else
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.$ac_ext >&5
29816 ac_cv_lib_m_erf=no
29818 rm -f conftest.err conftest.$ac_objext \
29819 conftest$ac_exeext conftest.$ac_ext
29820 LIBS=$ac_check_lib_save_LIBS
29822 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29823 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29824 if test $ac_cv_lib_m_erf = yes; then
29826 cat >>confdefs.h <<\_ACEOF
29827 #define HAVE_ERF 1
29828 _ACEOF
29832 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29833 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29834 if test "${ac_cv_lib_m_erfl+set}" = set; then
29835 echo $ECHO_N "(cached) $ECHO_C" >&6
29836 else
29837 ac_check_lib_save_LIBS=$LIBS
29838 LIBS="-lm $LIBS"
29839 if test x$gcc_no_link = xyes; then
29840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29842 { (exit 1); exit 1; }; }
29844 cat >conftest.$ac_ext <<_ACEOF
29845 /* confdefs.h. */
29846 _ACEOF
29847 cat confdefs.h >>conftest.$ac_ext
29848 cat >>conftest.$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29851 /* Override any gcc2 internal prototype to avoid an error. */
29852 #ifdef __cplusplus
29853 extern "C"
29854 #endif
29855 /* We use char because int might match the return type of a gcc2
29856 builtin and then its argument prototype would still apply. */
29857 char erfl ();
29859 main ()
29861 erfl ();
29863 return 0;
29865 _ACEOF
29866 rm -f conftest.$ac_objext conftest$ac_exeext
29867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29868 (eval $ac_link) 2>conftest.er1
29869 ac_status=$?
29870 grep -v '^ *+' conftest.er1 >conftest.err
29871 rm -f conftest.er1
29872 cat conftest.err >&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } &&
29875 { ac_try='test -z "$ac_c_werror_flag"
29876 || test ! -s conftest.err'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; } &&
29882 { ac_try='test -s conftest$ac_exeext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29888 ac_cv_lib_m_erfl=yes
29889 else
29890 echo "$as_me: failed program was:" >&5
29891 sed 's/^/| /' conftest.$ac_ext >&5
29893 ac_cv_lib_m_erfl=no
29895 rm -f conftest.err conftest.$ac_objext \
29896 conftest$ac_exeext conftest.$ac_ext
29897 LIBS=$ac_check_lib_save_LIBS
29899 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29900 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29901 if test $ac_cv_lib_m_erfl = yes; then
29903 cat >>confdefs.h <<\_ACEOF
29904 #define HAVE_ERFL 1
29905 _ACEOF
29909 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29910 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29911 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29913 else
29914 ac_check_lib_save_LIBS=$LIBS
29915 LIBS="-lm $LIBS"
29916 if test x$gcc_no_link = xyes; then
29917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29919 { (exit 1); exit 1; }; }
29921 cat >conftest.$ac_ext <<_ACEOF
29922 /* confdefs.h. */
29923 _ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29928 /* Override any gcc2 internal prototype to avoid an error. */
29929 #ifdef __cplusplus
29930 extern "C"
29931 #endif
29932 /* We use char because int might match the return type of a gcc2
29933 builtin and then its argument prototype would still apply. */
29934 char erfcf ();
29936 main ()
29938 erfcf ();
29940 return 0;
29942 _ACEOF
29943 rm -f conftest.$ac_objext conftest$ac_exeext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>conftest.er1
29946 ac_status=$?
29947 grep -v '^ *+' conftest.er1 >conftest.err
29948 rm -f conftest.er1
29949 cat conftest.err >&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); } &&
29952 { ac_try='test -z "$ac_c_werror_flag"
29953 || test ! -s conftest.err'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; } &&
29959 { ac_try='test -s conftest$ac_exeext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29962 ac_status=$?
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965 ac_cv_lib_m_erfcf=yes
29966 else
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.$ac_ext >&5
29970 ac_cv_lib_m_erfcf=no
29972 rm -f conftest.err conftest.$ac_objext \
29973 conftest$ac_exeext conftest.$ac_ext
29974 LIBS=$ac_check_lib_save_LIBS
29976 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29977 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29978 if test $ac_cv_lib_m_erfcf = yes; then
29980 cat >>confdefs.h <<\_ACEOF
29981 #define HAVE_ERFCF 1
29982 _ACEOF
29986 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29987 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29988 if test "${ac_cv_lib_m_erfc+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29990 else
29991 ac_check_lib_save_LIBS=$LIBS
29992 LIBS="-lm $LIBS"
29993 if test x$gcc_no_link = xyes; then
29994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29996 { (exit 1); exit 1; }; }
29998 cat >conftest.$ac_ext <<_ACEOF
29999 /* confdefs.h. */
30000 _ACEOF
30001 cat confdefs.h >>conftest.$ac_ext
30002 cat >>conftest.$ac_ext <<_ACEOF
30003 /* end confdefs.h. */
30005 /* Override any gcc2 internal prototype to avoid an error. */
30006 #ifdef __cplusplus
30007 extern "C"
30008 #endif
30009 /* We use char because int might match the return type of a gcc2
30010 builtin and then its argument prototype would still apply. */
30011 char erfc ();
30013 main ()
30015 erfc ();
30017 return 0;
30019 _ACEOF
30020 rm -f conftest.$ac_objext conftest$ac_exeext
30021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30022 (eval $ac_link) 2>conftest.er1
30023 ac_status=$?
30024 grep -v '^ *+' conftest.er1 >conftest.err
30025 rm -f conftest.er1
30026 cat conftest.err >&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); } &&
30029 { ac_try='test -z "$ac_c_werror_flag"
30030 || test ! -s conftest.err'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30033 ac_status=$?
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; } &&
30036 { ac_try='test -s conftest$ac_exeext'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30039 ac_status=$?
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; }; then
30042 ac_cv_lib_m_erfc=yes
30043 else
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.$ac_ext >&5
30047 ac_cv_lib_m_erfc=no
30049 rm -f conftest.err conftest.$ac_objext \
30050 conftest$ac_exeext conftest.$ac_ext
30051 LIBS=$ac_check_lib_save_LIBS
30053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30054 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30055 if test $ac_cv_lib_m_erfc = yes; then
30057 cat >>confdefs.h <<\_ACEOF
30058 #define HAVE_ERFC 1
30059 _ACEOF
30063 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30064 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30065 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30066 echo $ECHO_N "(cached) $ECHO_C" >&6
30067 else
30068 ac_check_lib_save_LIBS=$LIBS
30069 LIBS="-lm $LIBS"
30070 if test x$gcc_no_link = xyes; then
30071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30073 { (exit 1); exit 1; }; }
30075 cat >conftest.$ac_ext <<_ACEOF
30076 /* confdefs.h. */
30077 _ACEOF
30078 cat confdefs.h >>conftest.$ac_ext
30079 cat >>conftest.$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30082 /* Override any gcc2 internal prototype to avoid an error. */
30083 #ifdef __cplusplus
30084 extern "C"
30085 #endif
30086 /* We use char because int might match the return type of a gcc2
30087 builtin and then its argument prototype would still apply. */
30088 char erfcl ();
30090 main ()
30092 erfcl ();
30094 return 0;
30096 _ACEOF
30097 rm -f conftest.$ac_objext conftest$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099 (eval $ac_link) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_c_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest$ac_exeext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 ac_cv_lib_m_erfcl=yes
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 ac_cv_lib_m_erfcl=no
30126 rm -f conftest.err conftest.$ac_objext \
30127 conftest$ac_exeext conftest.$ac_ext
30128 LIBS=$ac_check_lib_save_LIBS
30130 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30131 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30132 if test $ac_cv_lib_m_erfcl = yes; then
30134 cat >>confdefs.h <<\_ACEOF
30135 #define HAVE_ERFCL 1
30136 _ACEOF
30140 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30141 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30142 if test "${ac_cv_lib_m_j0f+set}" = set; then
30143 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 else
30145 ac_check_lib_save_LIBS=$LIBS
30146 LIBS="-lm $LIBS"
30147 if test x$gcc_no_link = xyes; then
30148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30150 { (exit 1); exit 1; }; }
30152 cat >conftest.$ac_ext <<_ACEOF
30153 /* confdefs.h. */
30154 _ACEOF
30155 cat confdefs.h >>conftest.$ac_ext
30156 cat >>conftest.$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30159 /* Override any gcc2 internal prototype to avoid an error. */
30160 #ifdef __cplusplus
30161 extern "C"
30162 #endif
30163 /* We use char because int might match the return type of a gcc2
30164 builtin and then its argument prototype would still apply. */
30165 char j0f ();
30167 main ()
30169 j0f ();
30171 return 0;
30173 _ACEOF
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30176 (eval $ac_link) 2>conftest.er1
30177 ac_status=$?
30178 grep -v '^ *+' conftest.er1 >conftest.err
30179 rm -f conftest.er1
30180 cat conftest.err >&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } &&
30183 { ac_try='test -z "$ac_c_werror_flag"
30184 || test ! -s conftest.err'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30187 ac_status=$?
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try='test -s conftest$ac_exeext'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30193 ac_status=$?
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; }; then
30196 ac_cv_lib_m_j0f=yes
30197 else
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30201 ac_cv_lib_m_j0f=no
30203 rm -f conftest.err conftest.$ac_objext \
30204 conftest$ac_exeext conftest.$ac_ext
30205 LIBS=$ac_check_lib_save_LIBS
30207 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30208 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30209 if test $ac_cv_lib_m_j0f = yes; then
30211 cat >>confdefs.h <<\_ACEOF
30212 #define HAVE_J0F 1
30213 _ACEOF
30217 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30218 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30219 if test "${ac_cv_lib_m_j0+set}" = set; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30221 else
30222 ac_check_lib_save_LIBS=$LIBS
30223 LIBS="-lm $LIBS"
30224 if test x$gcc_no_link = xyes; then
30225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30227 { (exit 1); exit 1; }; }
30229 cat >conftest.$ac_ext <<_ACEOF
30230 /* confdefs.h. */
30231 _ACEOF
30232 cat confdefs.h >>conftest.$ac_ext
30233 cat >>conftest.$ac_ext <<_ACEOF
30234 /* end confdefs.h. */
30236 /* Override any gcc2 internal prototype to avoid an error. */
30237 #ifdef __cplusplus
30238 extern "C"
30239 #endif
30240 /* We use char because int might match the return type of a gcc2
30241 builtin and then its argument prototype would still apply. */
30242 char j0 ();
30244 main ()
30246 j0 ();
30248 return 0;
30250 _ACEOF
30251 rm -f conftest.$ac_objext conftest$ac_exeext
30252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30253 (eval $ac_link) 2>conftest.er1
30254 ac_status=$?
30255 grep -v '^ *+' conftest.er1 >conftest.err
30256 rm -f conftest.er1
30257 cat conftest.err >&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } &&
30260 { ac_try='test -z "$ac_c_werror_flag"
30261 || test ! -s conftest.err'
30262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30263 (eval $ac_try) 2>&5
30264 ac_status=$?
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); }; } &&
30267 { ac_try='test -s conftest$ac_exeext'
30268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30269 (eval $ac_try) 2>&5
30270 ac_status=$?
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; }; then
30273 ac_cv_lib_m_j0=yes
30274 else
30275 echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30278 ac_cv_lib_m_j0=no
30280 rm -f conftest.err conftest.$ac_objext \
30281 conftest$ac_exeext conftest.$ac_ext
30282 LIBS=$ac_check_lib_save_LIBS
30284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30285 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30286 if test $ac_cv_lib_m_j0 = yes; then
30288 cat >>confdefs.h <<\_ACEOF
30289 #define HAVE_J0 1
30290 _ACEOF
30294 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30295 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30296 if test "${ac_cv_lib_m_j0l+set}" = set; then
30297 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 else
30299 ac_check_lib_save_LIBS=$LIBS
30300 LIBS="-lm $LIBS"
30301 if test x$gcc_no_link = xyes; then
30302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30304 { (exit 1); exit 1; }; }
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30313 /* Override any gcc2 internal prototype to avoid an error. */
30314 #ifdef __cplusplus
30315 extern "C"
30316 #endif
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30319 char j0l ();
30321 main ()
30323 j0l ();
30325 return 0;
30327 _ACEOF
30328 rm -f conftest.$ac_objext conftest$ac_exeext
30329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30330 (eval $ac_link) 2>conftest.er1
30331 ac_status=$?
30332 grep -v '^ *+' conftest.er1 >conftest.err
30333 rm -f conftest.er1
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } &&
30337 { ac_try='test -z "$ac_c_werror_flag"
30338 || test ! -s conftest.err'
30339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30340 (eval $ac_try) 2>&5
30341 ac_status=$?
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); }; } &&
30344 { ac_try='test -s conftest$ac_exeext'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30347 ac_status=$?
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; }; then
30350 ac_cv_lib_m_j0l=yes
30351 else
30352 echo "$as_me: failed program was:" >&5
30353 sed 's/^/| /' conftest.$ac_ext >&5
30355 ac_cv_lib_m_j0l=no
30357 rm -f conftest.err conftest.$ac_objext \
30358 conftest$ac_exeext conftest.$ac_ext
30359 LIBS=$ac_check_lib_save_LIBS
30361 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30362 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30363 if test $ac_cv_lib_m_j0l = yes; then
30365 cat >>confdefs.h <<\_ACEOF
30366 #define HAVE_J0L 1
30367 _ACEOF
30371 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30372 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30373 if test "${ac_cv_lib_m_j1f+set}" = set; then
30374 echo $ECHO_N "(cached) $ECHO_C" >&6
30375 else
30376 ac_check_lib_save_LIBS=$LIBS
30377 LIBS="-lm $LIBS"
30378 if test x$gcc_no_link = xyes; then
30379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30381 { (exit 1); exit 1; }; }
30383 cat >conftest.$ac_ext <<_ACEOF
30384 /* confdefs.h. */
30385 _ACEOF
30386 cat confdefs.h >>conftest.$ac_ext
30387 cat >>conftest.$ac_ext <<_ACEOF
30388 /* end confdefs.h. */
30390 /* Override any gcc2 internal prototype to avoid an error. */
30391 #ifdef __cplusplus
30392 extern "C"
30393 #endif
30394 /* We use char because int might match the return type of a gcc2
30395 builtin and then its argument prototype would still apply. */
30396 char j1f ();
30398 main ()
30400 j1f ();
30402 return 0;
30404 _ACEOF
30405 rm -f conftest.$ac_objext conftest$ac_exeext
30406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30407 (eval $ac_link) 2>conftest.er1
30408 ac_status=$?
30409 grep -v '^ *+' conftest.er1 >conftest.err
30410 rm -f conftest.er1
30411 cat conftest.err >&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); } &&
30414 { ac_try='test -z "$ac_c_werror_flag"
30415 || test ! -s conftest.err'
30416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30417 (eval $ac_try) 2>&5
30418 ac_status=$?
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); }; } &&
30421 { ac_try='test -s conftest$ac_exeext'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30424 ac_status=$?
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; }; then
30427 ac_cv_lib_m_j1f=yes
30428 else
30429 echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.$ac_ext >&5
30432 ac_cv_lib_m_j1f=no
30434 rm -f conftest.err conftest.$ac_objext \
30435 conftest$ac_exeext conftest.$ac_ext
30436 LIBS=$ac_check_lib_save_LIBS
30438 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30439 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30440 if test $ac_cv_lib_m_j1f = yes; then
30442 cat >>confdefs.h <<\_ACEOF
30443 #define HAVE_J1F 1
30444 _ACEOF
30448 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30449 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30450 if test "${ac_cv_lib_m_j1+set}" = set; then
30451 echo $ECHO_N "(cached) $ECHO_C" >&6
30452 else
30453 ac_check_lib_save_LIBS=$LIBS
30454 LIBS="-lm $LIBS"
30455 if test x$gcc_no_link = xyes; then
30456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30458 { (exit 1); exit 1; }; }
30460 cat >conftest.$ac_ext <<_ACEOF
30461 /* confdefs.h. */
30462 _ACEOF
30463 cat confdefs.h >>conftest.$ac_ext
30464 cat >>conftest.$ac_ext <<_ACEOF
30465 /* end confdefs.h. */
30467 /* Override any gcc2 internal prototype to avoid an error. */
30468 #ifdef __cplusplus
30469 extern "C"
30470 #endif
30471 /* We use char because int might match the return type of a gcc2
30472 builtin and then its argument prototype would still apply. */
30473 char j1 ();
30475 main ()
30477 j1 ();
30479 return 0;
30481 _ACEOF
30482 rm -f conftest.$ac_objext conftest$ac_exeext
30483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30484 (eval $ac_link) 2>conftest.er1
30485 ac_status=$?
30486 grep -v '^ *+' conftest.er1 >conftest.err
30487 rm -f conftest.er1
30488 cat conftest.err >&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); } &&
30491 { ac_try='test -z "$ac_c_werror_flag"
30492 || test ! -s conftest.err'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30495 ac_status=$?
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try='test -s conftest$ac_exeext'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30501 ac_status=$?
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30504 ac_cv_lib_m_j1=yes
30505 else
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.$ac_ext >&5
30509 ac_cv_lib_m_j1=no
30511 rm -f conftest.err conftest.$ac_objext \
30512 conftest$ac_exeext conftest.$ac_ext
30513 LIBS=$ac_check_lib_save_LIBS
30515 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30516 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30517 if test $ac_cv_lib_m_j1 = yes; then
30519 cat >>confdefs.h <<\_ACEOF
30520 #define HAVE_J1 1
30521 _ACEOF
30525 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30526 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30527 if test "${ac_cv_lib_m_j1l+set}" = set; then
30528 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 else
30530 ac_check_lib_save_LIBS=$LIBS
30531 LIBS="-lm $LIBS"
30532 if test x$gcc_no_link = xyes; then
30533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30535 { (exit 1); exit 1; }; }
30537 cat >conftest.$ac_ext <<_ACEOF
30538 /* confdefs.h. */
30539 _ACEOF
30540 cat confdefs.h >>conftest.$ac_ext
30541 cat >>conftest.$ac_ext <<_ACEOF
30542 /* end confdefs.h. */
30544 /* Override any gcc2 internal prototype to avoid an error. */
30545 #ifdef __cplusplus
30546 extern "C"
30547 #endif
30548 /* We use char because int might match the return type of a gcc2
30549 builtin and then its argument prototype would still apply. */
30550 char j1l ();
30552 main ()
30554 j1l ();
30556 return 0;
30558 _ACEOF
30559 rm -f conftest.$ac_objext conftest$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>conftest.er1
30562 ac_status=$?
30563 grep -v '^ *+' conftest.er1 >conftest.err
30564 rm -f conftest.er1
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try='test -z "$ac_c_werror_flag"
30569 || test ! -s conftest.err'
30570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30571 (eval $ac_try) 2>&5
30572 ac_status=$?
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); }; } &&
30575 { ac_try='test -s conftest$ac_exeext'
30576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30577 (eval $ac_try) 2>&5
30578 ac_status=$?
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); }; }; then
30581 ac_cv_lib_m_j1l=yes
30582 else
30583 echo "$as_me: failed program was:" >&5
30584 sed 's/^/| /' conftest.$ac_ext >&5
30586 ac_cv_lib_m_j1l=no
30588 rm -f conftest.err conftest.$ac_objext \
30589 conftest$ac_exeext conftest.$ac_ext
30590 LIBS=$ac_check_lib_save_LIBS
30592 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30593 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30594 if test $ac_cv_lib_m_j1l = yes; then
30596 cat >>confdefs.h <<\_ACEOF
30597 #define HAVE_J1L 1
30598 _ACEOF
30602 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30603 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30604 if test "${ac_cv_lib_m_jnf+set}" = set; then
30605 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 else
30607 ac_check_lib_save_LIBS=$LIBS
30608 LIBS="-lm $LIBS"
30609 if test x$gcc_no_link = xyes; then
30610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30612 { (exit 1); exit 1; }; }
30614 cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h. */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30621 /* Override any gcc2 internal prototype to avoid an error. */
30622 #ifdef __cplusplus
30623 extern "C"
30624 #endif
30625 /* We use char because int might match the return type of a gcc2
30626 builtin and then its argument prototype would still apply. */
30627 char jnf ();
30629 main ()
30631 jnf ();
30633 return 0;
30635 _ACEOF
30636 rm -f conftest.$ac_objext conftest$ac_exeext
30637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30638 (eval $ac_link) 2>conftest.er1
30639 ac_status=$?
30640 grep -v '^ *+' conftest.er1 >conftest.err
30641 rm -f conftest.er1
30642 cat conftest.err >&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); } &&
30645 { ac_try='test -z "$ac_c_werror_flag"
30646 || test ! -s conftest.err'
30647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30648 (eval $ac_try) 2>&5
30649 ac_status=$?
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; } &&
30652 { ac_try='test -s conftest$ac_exeext'
30653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30654 (eval $ac_try) 2>&5
30655 ac_status=$?
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); }; }; then
30658 ac_cv_lib_m_jnf=yes
30659 else
30660 echo "$as_me: failed program was:" >&5
30661 sed 's/^/| /' conftest.$ac_ext >&5
30663 ac_cv_lib_m_jnf=no
30665 rm -f conftest.err conftest.$ac_objext \
30666 conftest$ac_exeext conftest.$ac_ext
30667 LIBS=$ac_check_lib_save_LIBS
30669 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30670 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30671 if test $ac_cv_lib_m_jnf = yes; then
30673 cat >>confdefs.h <<\_ACEOF
30674 #define HAVE_JNF 1
30675 _ACEOF
30679 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30680 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30681 if test "${ac_cv_lib_m_jn+set}" = set; then
30682 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 else
30684 ac_check_lib_save_LIBS=$LIBS
30685 LIBS="-lm $LIBS"
30686 if test x$gcc_no_link = xyes; then
30687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30689 { (exit 1); exit 1; }; }
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30698 /* Override any gcc2 internal prototype to avoid an error. */
30699 #ifdef __cplusplus
30700 extern "C"
30701 #endif
30702 /* We use char because int might match the return type of a gcc2
30703 builtin and then its argument prototype would still apply. */
30704 char jn ();
30706 main ()
30708 jn ();
30710 return 0;
30712 _ACEOF
30713 rm -f conftest.$ac_objext conftest$ac_exeext
30714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30715 (eval $ac_link) 2>conftest.er1
30716 ac_status=$?
30717 grep -v '^ *+' conftest.er1 >conftest.err
30718 rm -f conftest.er1
30719 cat conftest.err >&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } &&
30722 { ac_try='test -z "$ac_c_werror_flag"
30723 || test ! -s conftest.err'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30726 ac_status=$?
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; } &&
30729 { ac_try='test -s conftest$ac_exeext'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30732 ac_status=$?
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; }; then
30735 ac_cv_lib_m_jn=yes
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30740 ac_cv_lib_m_jn=no
30742 rm -f conftest.err conftest.$ac_objext \
30743 conftest$ac_exeext conftest.$ac_ext
30744 LIBS=$ac_check_lib_save_LIBS
30746 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30747 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30748 if test $ac_cv_lib_m_jn = yes; then
30750 cat >>confdefs.h <<\_ACEOF
30751 #define HAVE_JN 1
30752 _ACEOF
30756 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30757 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30758 if test "${ac_cv_lib_m_jnl+set}" = set; then
30759 echo $ECHO_N "(cached) $ECHO_C" >&6
30760 else
30761 ac_check_lib_save_LIBS=$LIBS
30762 LIBS="-lm $LIBS"
30763 if test x$gcc_no_link = xyes; then
30764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30766 { (exit 1); exit 1; }; }
30768 cat >conftest.$ac_ext <<_ACEOF
30769 /* confdefs.h. */
30770 _ACEOF
30771 cat confdefs.h >>conftest.$ac_ext
30772 cat >>conftest.$ac_ext <<_ACEOF
30773 /* end confdefs.h. */
30775 /* Override any gcc2 internal prototype to avoid an error. */
30776 #ifdef __cplusplus
30777 extern "C"
30778 #endif
30779 /* We use char because int might match the return type of a gcc2
30780 builtin and then its argument prototype would still apply. */
30781 char jnl ();
30783 main ()
30785 jnl ();
30787 return 0;
30789 _ACEOF
30790 rm -f conftest.$ac_objext conftest$ac_exeext
30791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30792 (eval $ac_link) 2>conftest.er1
30793 ac_status=$?
30794 grep -v '^ *+' conftest.er1 >conftest.err
30795 rm -f conftest.er1
30796 cat conftest.err >&5
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); } &&
30799 { ac_try='test -z "$ac_c_werror_flag"
30800 || test ! -s conftest.err'
30801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30802 (eval $ac_try) 2>&5
30803 ac_status=$?
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); }; } &&
30806 { ac_try='test -s conftest$ac_exeext'
30807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30808 (eval $ac_try) 2>&5
30809 ac_status=$?
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); }; }; then
30812 ac_cv_lib_m_jnl=yes
30813 else
30814 echo "$as_me: failed program was:" >&5
30815 sed 's/^/| /' conftest.$ac_ext >&5
30817 ac_cv_lib_m_jnl=no
30819 rm -f conftest.err conftest.$ac_objext \
30820 conftest$ac_exeext conftest.$ac_ext
30821 LIBS=$ac_check_lib_save_LIBS
30823 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30824 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30825 if test $ac_cv_lib_m_jnl = yes; then
30827 cat >>confdefs.h <<\_ACEOF
30828 #define HAVE_JNL 1
30829 _ACEOF
30833 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30834 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30835 if test "${ac_cv_lib_m_y0f+set}" = set; then
30836 echo $ECHO_N "(cached) $ECHO_C" >&6
30837 else
30838 ac_check_lib_save_LIBS=$LIBS
30839 LIBS="-lm $LIBS"
30840 if test x$gcc_no_link = xyes; then
30841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30843 { (exit 1); exit 1; }; }
30845 cat >conftest.$ac_ext <<_ACEOF
30846 /* confdefs.h. */
30847 _ACEOF
30848 cat confdefs.h >>conftest.$ac_ext
30849 cat >>conftest.$ac_ext <<_ACEOF
30850 /* end confdefs.h. */
30852 /* Override any gcc2 internal prototype to avoid an error. */
30853 #ifdef __cplusplus
30854 extern "C"
30855 #endif
30856 /* We use char because int might match the return type of a gcc2
30857 builtin and then its argument prototype would still apply. */
30858 char y0f ();
30860 main ()
30862 y0f ();
30864 return 0;
30866 _ACEOF
30867 rm -f conftest.$ac_objext conftest$ac_exeext
30868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30869 (eval $ac_link) 2>conftest.er1
30870 ac_status=$?
30871 grep -v '^ *+' conftest.er1 >conftest.err
30872 rm -f conftest.er1
30873 cat conftest.err >&5
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); } &&
30876 { ac_try='test -z "$ac_c_werror_flag"
30877 || test ! -s conftest.err'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30880 ac_status=$?
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; } &&
30883 { ac_try='test -s conftest$ac_exeext'
30884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30885 (eval $ac_try) 2>&5
30886 ac_status=$?
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); }; }; then
30889 ac_cv_lib_m_y0f=yes
30890 else
30891 echo "$as_me: failed program was:" >&5
30892 sed 's/^/| /' conftest.$ac_ext >&5
30894 ac_cv_lib_m_y0f=no
30896 rm -f conftest.err conftest.$ac_objext \
30897 conftest$ac_exeext conftest.$ac_ext
30898 LIBS=$ac_check_lib_save_LIBS
30900 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30901 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30902 if test $ac_cv_lib_m_y0f = yes; then
30904 cat >>confdefs.h <<\_ACEOF
30905 #define HAVE_Y0F 1
30906 _ACEOF
30910 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30911 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30912 if test "${ac_cv_lib_m_y0+set}" = set; then
30913 echo $ECHO_N "(cached) $ECHO_C" >&6
30914 else
30915 ac_check_lib_save_LIBS=$LIBS
30916 LIBS="-lm $LIBS"
30917 if test x$gcc_no_link = xyes; then
30918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30920 { (exit 1); exit 1; }; }
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30929 /* Override any gcc2 internal prototype to avoid an error. */
30930 #ifdef __cplusplus
30931 extern "C"
30932 #endif
30933 /* We use char because int might match the return type of a gcc2
30934 builtin and then its argument prototype would still apply. */
30935 char y0 ();
30937 main ()
30939 y0 ();
30941 return 0;
30943 _ACEOF
30944 rm -f conftest.$ac_objext conftest$ac_exeext
30945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30946 (eval $ac_link) 2>conftest.er1
30947 ac_status=$?
30948 grep -v '^ *+' conftest.er1 >conftest.err
30949 rm -f conftest.er1
30950 cat conftest.err >&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); } &&
30953 { ac_try='test -z "$ac_c_werror_flag"
30954 || test ! -s conftest.err'
30955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30956 (eval $ac_try) 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; } &&
30960 { ac_try='test -s conftest$ac_exeext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30963 ac_status=$?
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 ac_cv_lib_m_y0=yes
30967 else
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30971 ac_cv_lib_m_y0=no
30973 rm -f conftest.err conftest.$ac_objext \
30974 conftest$ac_exeext conftest.$ac_ext
30975 LIBS=$ac_check_lib_save_LIBS
30977 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30978 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30979 if test $ac_cv_lib_m_y0 = yes; then
30981 cat >>confdefs.h <<\_ACEOF
30982 #define HAVE_Y0 1
30983 _ACEOF
30987 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30988 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30989 if test "${ac_cv_lib_m_y0l+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30992 ac_check_lib_save_LIBS=$LIBS
30993 LIBS="-lm $LIBS"
30994 if test x$gcc_no_link = xyes; then
30995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30997 { (exit 1); exit 1; }; }
30999 cat >conftest.$ac_ext <<_ACEOF
31000 /* confdefs.h. */
31001 _ACEOF
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31006 /* Override any gcc2 internal prototype to avoid an error. */
31007 #ifdef __cplusplus
31008 extern "C"
31009 #endif
31010 /* We use char because int might match the return type of a gcc2
31011 builtin and then its argument prototype would still apply. */
31012 char y0l ();
31014 main ()
31016 y0l ();
31018 return 0;
31020 _ACEOF
31021 rm -f conftest.$ac_objext conftest$ac_exeext
31022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31023 (eval $ac_link) 2>conftest.er1
31024 ac_status=$?
31025 grep -v '^ *+' conftest.er1 >conftest.err
31026 rm -f conftest.er1
31027 cat conftest.err >&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } &&
31030 { ac_try='test -z "$ac_c_werror_flag"
31031 || test ! -s conftest.err'
31032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31033 (eval $ac_try) 2>&5
31034 ac_status=$?
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); }; } &&
31037 { ac_try='test -s conftest$ac_exeext'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; }; then
31043 ac_cv_lib_m_y0l=yes
31044 else
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.$ac_ext >&5
31048 ac_cv_lib_m_y0l=no
31050 rm -f conftest.err conftest.$ac_objext \
31051 conftest$ac_exeext conftest.$ac_ext
31052 LIBS=$ac_check_lib_save_LIBS
31054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31055 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31056 if test $ac_cv_lib_m_y0l = yes; then
31058 cat >>confdefs.h <<\_ACEOF
31059 #define HAVE_Y0L 1
31060 _ACEOF
31064 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31065 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31066 if test "${ac_cv_lib_m_y1f+set}" = set; then
31067 echo $ECHO_N "(cached) $ECHO_C" >&6
31068 else
31069 ac_check_lib_save_LIBS=$LIBS
31070 LIBS="-lm $LIBS"
31071 if test x$gcc_no_link = xyes; then
31072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31074 { (exit 1); exit 1; }; }
31076 cat >conftest.$ac_ext <<_ACEOF
31077 /* confdefs.h. */
31078 _ACEOF
31079 cat confdefs.h >>conftest.$ac_ext
31080 cat >>conftest.$ac_ext <<_ACEOF
31081 /* end confdefs.h. */
31083 /* Override any gcc2 internal prototype to avoid an error. */
31084 #ifdef __cplusplus
31085 extern "C"
31086 #endif
31087 /* We use char because int might match the return type of a gcc2
31088 builtin and then its argument prototype would still apply. */
31089 char y1f ();
31091 main ()
31093 y1f ();
31095 return 0;
31097 _ACEOF
31098 rm -f conftest.$ac_objext conftest$ac_exeext
31099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31100 (eval $ac_link) 2>conftest.er1
31101 ac_status=$?
31102 grep -v '^ *+' conftest.er1 >conftest.err
31103 rm -f conftest.er1
31104 cat conftest.err >&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } &&
31107 { ac_try='test -z "$ac_c_werror_flag"
31108 || test ! -s conftest.err'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; } &&
31114 { ac_try='test -s conftest$ac_exeext'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31117 ac_status=$?
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; }; then
31120 ac_cv_lib_m_y1f=yes
31121 else
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.$ac_ext >&5
31125 ac_cv_lib_m_y1f=no
31127 rm -f conftest.err conftest.$ac_objext \
31128 conftest$ac_exeext conftest.$ac_ext
31129 LIBS=$ac_check_lib_save_LIBS
31131 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31132 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31133 if test $ac_cv_lib_m_y1f = yes; then
31135 cat >>confdefs.h <<\_ACEOF
31136 #define HAVE_Y1F 1
31137 _ACEOF
31141 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31142 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31143 if test "${ac_cv_lib_m_y1+set}" = set; then
31144 echo $ECHO_N "(cached) $ECHO_C" >&6
31145 else
31146 ac_check_lib_save_LIBS=$LIBS
31147 LIBS="-lm $LIBS"
31148 if test x$gcc_no_link = xyes; then
31149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31151 { (exit 1); exit 1; }; }
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31160 /* Override any gcc2 internal prototype to avoid an error. */
31161 #ifdef __cplusplus
31162 extern "C"
31163 #endif
31164 /* We use char because int might match the return type of a gcc2
31165 builtin and then its argument prototype would still apply. */
31166 char y1 ();
31168 main ()
31170 y1 ();
31172 return 0;
31174 _ACEOF
31175 rm -f conftest.$ac_objext conftest$ac_exeext
31176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31177 (eval $ac_link) 2>conftest.er1
31178 ac_status=$?
31179 grep -v '^ *+' conftest.er1 >conftest.err
31180 rm -f conftest.er1
31181 cat conftest.err >&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try='test -z "$ac_c_werror_flag"
31185 || test ! -s conftest.err'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31188 ac_status=$?
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; } &&
31191 { ac_try='test -s conftest$ac_exeext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 ac_cv_lib_m_y1=yes
31198 else
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31202 ac_cv_lib_m_y1=no
31204 rm -f conftest.err conftest.$ac_objext \
31205 conftest$ac_exeext conftest.$ac_ext
31206 LIBS=$ac_check_lib_save_LIBS
31208 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31209 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31210 if test $ac_cv_lib_m_y1 = yes; then
31212 cat >>confdefs.h <<\_ACEOF
31213 #define HAVE_Y1 1
31214 _ACEOF
31218 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31219 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31220 if test "${ac_cv_lib_m_y1l+set}" = set; then
31221 echo $ECHO_N "(cached) $ECHO_C" >&6
31222 else
31223 ac_check_lib_save_LIBS=$LIBS
31224 LIBS="-lm $LIBS"
31225 if test x$gcc_no_link = xyes; then
31226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31228 { (exit 1); exit 1; }; }
31230 cat >conftest.$ac_ext <<_ACEOF
31231 /* confdefs.h. */
31232 _ACEOF
31233 cat confdefs.h >>conftest.$ac_ext
31234 cat >>conftest.$ac_ext <<_ACEOF
31235 /* end confdefs.h. */
31237 /* Override any gcc2 internal prototype to avoid an error. */
31238 #ifdef __cplusplus
31239 extern "C"
31240 #endif
31241 /* We use char because int might match the return type of a gcc2
31242 builtin and then its argument prototype would still apply. */
31243 char y1l ();
31245 main ()
31247 y1l ();
31249 return 0;
31251 _ACEOF
31252 rm -f conftest.$ac_objext conftest$ac_exeext
31253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31254 (eval $ac_link) 2>conftest.er1
31255 ac_status=$?
31256 grep -v '^ *+' conftest.er1 >conftest.err
31257 rm -f conftest.er1
31258 cat conftest.err >&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); } &&
31261 { ac_try='test -z "$ac_c_werror_flag"
31262 || test ! -s conftest.err'
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31265 ac_status=$?
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; } &&
31268 { ac_try='test -s conftest$ac_exeext'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31271 ac_status=$?
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; }; then
31274 ac_cv_lib_m_y1l=yes
31275 else
31276 echo "$as_me: failed program was:" >&5
31277 sed 's/^/| /' conftest.$ac_ext >&5
31279 ac_cv_lib_m_y1l=no
31281 rm -f conftest.err conftest.$ac_objext \
31282 conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31286 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31287 if test $ac_cv_lib_m_y1l = yes; then
31289 cat >>confdefs.h <<\_ACEOF
31290 #define HAVE_Y1L 1
31291 _ACEOF
31295 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31296 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31297 if test "${ac_cv_lib_m_ynf+set}" = set; then
31298 echo $ECHO_N "(cached) $ECHO_C" >&6
31299 else
31300 ac_check_lib_save_LIBS=$LIBS
31301 LIBS="-lm $LIBS"
31302 if test x$gcc_no_link = xyes; then
31303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31305 { (exit 1); exit 1; }; }
31307 cat >conftest.$ac_ext <<_ACEOF
31308 /* confdefs.h. */
31309 _ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31314 /* Override any gcc2 internal prototype to avoid an error. */
31315 #ifdef __cplusplus
31316 extern "C"
31317 #endif
31318 /* We use char because int might match the return type of a gcc2
31319 builtin and then its argument prototype would still apply. */
31320 char ynf ();
31322 main ()
31324 ynf ();
31326 return 0;
31328 _ACEOF
31329 rm -f conftest.$ac_objext conftest$ac_exeext
31330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31331 (eval $ac_link) 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } &&
31338 { ac_try='test -z "$ac_c_werror_flag"
31339 || test ! -s conftest.err'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; } &&
31345 { ac_try='test -s conftest$ac_exeext'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31348 ac_status=$?
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; }; then
31351 ac_cv_lib_m_ynf=yes
31352 else
31353 echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.$ac_ext >&5
31356 ac_cv_lib_m_ynf=no
31358 rm -f conftest.err conftest.$ac_objext \
31359 conftest$ac_exeext conftest.$ac_ext
31360 LIBS=$ac_check_lib_save_LIBS
31362 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31363 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31364 if test $ac_cv_lib_m_ynf = yes; then
31366 cat >>confdefs.h <<\_ACEOF
31367 #define HAVE_YNF 1
31368 _ACEOF
31372 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31373 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31374 if test "${ac_cv_lib_m_yn+set}" = set; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 else
31377 ac_check_lib_save_LIBS=$LIBS
31378 LIBS="-lm $LIBS"
31379 if test x$gcc_no_link = xyes; then
31380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31382 { (exit 1); exit 1; }; }
31384 cat >conftest.$ac_ext <<_ACEOF
31385 /* confdefs.h. */
31386 _ACEOF
31387 cat confdefs.h >>conftest.$ac_ext
31388 cat >>conftest.$ac_ext <<_ACEOF
31389 /* end confdefs.h. */
31391 /* Override any gcc2 internal prototype to avoid an error. */
31392 #ifdef __cplusplus
31393 extern "C"
31394 #endif
31395 /* We use char because int might match the return type of a gcc2
31396 builtin and then its argument prototype would still apply. */
31397 char yn ();
31399 main ()
31401 yn ();
31403 return 0;
31405 _ACEOF
31406 rm -f conftest.$ac_objext conftest$ac_exeext
31407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31408 (eval $ac_link) 2>conftest.er1
31409 ac_status=$?
31410 grep -v '^ *+' conftest.er1 >conftest.err
31411 rm -f conftest.er1
31412 cat conftest.err >&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); } &&
31415 { ac_try='test -z "$ac_c_werror_flag"
31416 || test ! -s conftest.err'
31417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31418 (eval $ac_try) 2>&5
31419 ac_status=$?
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; } &&
31422 { ac_try='test -s conftest$ac_exeext'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; }; then
31428 ac_cv_lib_m_yn=yes
31429 else
31430 echo "$as_me: failed program was:" >&5
31431 sed 's/^/| /' conftest.$ac_ext >&5
31433 ac_cv_lib_m_yn=no
31435 rm -f conftest.err conftest.$ac_objext \
31436 conftest$ac_exeext conftest.$ac_ext
31437 LIBS=$ac_check_lib_save_LIBS
31439 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31440 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31441 if test $ac_cv_lib_m_yn = yes; then
31443 cat >>confdefs.h <<\_ACEOF
31444 #define HAVE_YN 1
31445 _ACEOF
31449 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31450 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31451 if test "${ac_cv_lib_m_ynl+set}" = set; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 else
31454 ac_check_lib_save_LIBS=$LIBS
31455 LIBS="-lm $LIBS"
31456 if test x$gcc_no_link = xyes; then
31457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31459 { (exit 1); exit 1; }; }
31461 cat >conftest.$ac_ext <<_ACEOF
31462 /* confdefs.h. */
31463 _ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31468 /* Override any gcc2 internal prototype to avoid an error. */
31469 #ifdef __cplusplus
31470 extern "C"
31471 #endif
31472 /* We use char because int might match the return type of a gcc2
31473 builtin and then its argument prototype would still apply. */
31474 char ynl ();
31476 main ()
31478 ynl ();
31480 return 0;
31482 _ACEOF
31483 rm -f conftest.$ac_objext conftest$ac_exeext
31484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31485 (eval $ac_link) 2>conftest.er1
31486 ac_status=$?
31487 grep -v '^ *+' conftest.er1 >conftest.err
31488 rm -f conftest.er1
31489 cat conftest.err >&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } &&
31492 { ac_try='test -z "$ac_c_werror_flag"
31493 || test ! -s conftest.err'
31494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31495 (eval $ac_try) 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; } &&
31499 { ac_try='test -s conftest$ac_exeext'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31502 ac_status=$?
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; }; then
31505 ac_cv_lib_m_ynl=yes
31506 else
31507 echo "$as_me: failed program was:" >&5
31508 sed 's/^/| /' conftest.$ac_ext >&5
31510 ac_cv_lib_m_ynl=no
31512 rm -f conftest.err conftest.$ac_objext \
31513 conftest$ac_exeext conftest.$ac_ext
31514 LIBS=$ac_check_lib_save_LIBS
31516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31517 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31518 if test $ac_cv_lib_m_ynl = yes; then
31520 cat >>confdefs.h <<\_ACEOF
31521 #define HAVE_YNL 1
31522 _ACEOF
31526 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31527 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31528 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31529 echo $ECHO_N "(cached) $ECHO_C" >&6
31530 else
31531 ac_check_lib_save_LIBS=$LIBS
31532 LIBS="-lm $LIBS"
31533 if test x$gcc_no_link = xyes; then
31534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31536 { (exit 1); exit 1; }; }
31538 cat >conftest.$ac_ext <<_ACEOF
31539 /* confdefs.h. */
31540 _ACEOF
31541 cat confdefs.h >>conftest.$ac_ext
31542 cat >>conftest.$ac_ext <<_ACEOF
31543 /* end confdefs.h. */
31545 /* Override any gcc2 internal prototype to avoid an error. */
31546 #ifdef __cplusplus
31547 extern "C"
31548 #endif
31549 /* We use char because int might match the return type of a gcc2
31550 builtin and then its argument prototype would still apply. */
31551 char tgamma ();
31553 main ()
31555 tgamma ();
31557 return 0;
31559 _ACEOF
31560 rm -f conftest.$ac_objext conftest$ac_exeext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31562 (eval $ac_link) 2>conftest.er1
31563 ac_status=$?
31564 grep -v '^ *+' conftest.er1 >conftest.err
31565 rm -f conftest.er1
31566 cat conftest.err >&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); } &&
31569 { ac_try='test -z "$ac_c_werror_flag"
31570 || test ! -s conftest.err'
31571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31572 (eval $ac_try) 2>&5
31573 ac_status=$?
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); }; } &&
31576 { ac_try='test -s conftest$ac_exeext'
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31579 ac_status=$?
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; }; then
31582 ac_cv_lib_m_tgamma=yes
31583 else
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.$ac_ext >&5
31587 ac_cv_lib_m_tgamma=no
31589 rm -f conftest.err conftest.$ac_objext \
31590 conftest$ac_exeext conftest.$ac_ext
31591 LIBS=$ac_check_lib_save_LIBS
31593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31594 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31595 if test $ac_cv_lib_m_tgamma = yes; then
31597 cat >>confdefs.h <<\_ACEOF
31598 #define HAVE_TGAMMA 1
31599 _ACEOF
31603 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31604 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31605 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31607 else
31608 ac_check_lib_save_LIBS=$LIBS
31609 LIBS="-lm $LIBS"
31610 if test x$gcc_no_link = xyes; then
31611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31613 { (exit 1); exit 1; }; }
31615 cat >conftest.$ac_ext <<_ACEOF
31616 /* confdefs.h. */
31617 _ACEOF
31618 cat confdefs.h >>conftest.$ac_ext
31619 cat >>conftest.$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31622 /* Override any gcc2 internal prototype to avoid an error. */
31623 #ifdef __cplusplus
31624 extern "C"
31625 #endif
31626 /* We use char because int might match the return type of a gcc2
31627 builtin and then its argument prototype would still apply. */
31628 char tgammaf ();
31630 main ()
31632 tgammaf ();
31634 return 0;
31636 _ACEOF
31637 rm -f conftest.$ac_objext conftest$ac_exeext
31638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31639 (eval $ac_link) 2>conftest.er1
31640 ac_status=$?
31641 grep -v '^ *+' conftest.er1 >conftest.err
31642 rm -f conftest.er1
31643 cat conftest.err >&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } &&
31646 { ac_try='test -z "$ac_c_werror_flag"
31647 || test ! -s conftest.err'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; } &&
31653 { ac_try='test -s conftest$ac_exeext'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31656 ac_status=$?
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }; then
31659 ac_cv_lib_m_tgammaf=yes
31660 else
31661 echo "$as_me: failed program was:" >&5
31662 sed 's/^/| /' conftest.$ac_ext >&5
31664 ac_cv_lib_m_tgammaf=no
31666 rm -f conftest.err conftest.$ac_objext \
31667 conftest$ac_exeext conftest.$ac_ext
31668 LIBS=$ac_check_lib_save_LIBS
31670 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31671 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31672 if test $ac_cv_lib_m_tgammaf = yes; then
31674 cat >>confdefs.h <<\_ACEOF
31675 #define HAVE_TGAMMAF 1
31676 _ACEOF
31680 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31681 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31682 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31683 echo $ECHO_N "(cached) $ECHO_C" >&6
31684 else
31685 ac_check_lib_save_LIBS=$LIBS
31686 LIBS="-lm $LIBS"
31687 if test x$gcc_no_link = xyes; then
31688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31690 { (exit 1); exit 1; }; }
31692 cat >conftest.$ac_ext <<_ACEOF
31693 /* confdefs.h. */
31694 _ACEOF
31695 cat confdefs.h >>conftest.$ac_ext
31696 cat >>conftest.$ac_ext <<_ACEOF
31697 /* end confdefs.h. */
31699 /* Override any gcc2 internal prototype to avoid an error. */
31700 #ifdef __cplusplus
31701 extern "C"
31702 #endif
31703 /* We use char because int might match the return type of a gcc2
31704 builtin and then its argument prototype would still apply. */
31705 char tgammal ();
31707 main ()
31709 tgammal ();
31711 return 0;
31713 _ACEOF
31714 rm -f conftest.$ac_objext conftest$ac_exeext
31715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31716 (eval $ac_link) 2>conftest.er1
31717 ac_status=$?
31718 grep -v '^ *+' conftest.er1 >conftest.err
31719 rm -f conftest.er1
31720 cat conftest.err >&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); } &&
31723 { ac_try='test -z "$ac_c_werror_flag"
31724 || test ! -s conftest.err'
31725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 (eval $ac_try) 2>&5
31727 ac_status=$?
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; } &&
31730 { ac_try='test -s conftest$ac_exeext'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31733 ac_status=$?
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; }; then
31736 ac_cv_lib_m_tgammal=yes
31737 else
31738 echo "$as_me: failed program was:" >&5
31739 sed 's/^/| /' conftest.$ac_ext >&5
31741 ac_cv_lib_m_tgammal=no
31743 rm -f conftest.err conftest.$ac_objext \
31744 conftest$ac_exeext conftest.$ac_ext
31745 LIBS=$ac_check_lib_save_LIBS
31747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31748 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31749 if test $ac_cv_lib_m_tgammal = yes; then
31751 cat >>confdefs.h <<\_ACEOF
31752 #define HAVE_TGAMMAL 1
31753 _ACEOF
31757 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31758 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31759 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31760 echo $ECHO_N "(cached) $ECHO_C" >&6
31761 else
31762 ac_check_lib_save_LIBS=$LIBS
31763 LIBS="-lm $LIBS"
31764 if test x$gcc_no_link = xyes; then
31765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31767 { (exit 1); exit 1; }; }
31769 cat >conftest.$ac_ext <<_ACEOF
31770 /* confdefs.h. */
31771 _ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h. */
31776 /* Override any gcc2 internal prototype to avoid an error. */
31777 #ifdef __cplusplus
31778 extern "C"
31779 #endif
31780 /* We use char because int might match the return type of a gcc2
31781 builtin and then its argument prototype would still apply. */
31782 char lgamma ();
31784 main ()
31786 lgamma ();
31788 return 0;
31790 _ACEOF
31791 rm -f conftest.$ac_objext conftest$ac_exeext
31792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31793 (eval $ac_link) 2>conftest.er1
31794 ac_status=$?
31795 grep -v '^ *+' conftest.er1 >conftest.err
31796 rm -f conftest.er1
31797 cat conftest.err >&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); } &&
31800 { ac_try='test -z "$ac_c_werror_flag"
31801 || test ! -s conftest.err'
31802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31803 (eval $ac_try) 2>&5
31804 ac_status=$?
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; } &&
31807 { ac_try='test -s conftest$ac_exeext'
31808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31809 (eval $ac_try) 2>&5
31810 ac_status=$?
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); }; }; then
31813 ac_cv_lib_m_lgamma=yes
31814 else
31815 echo "$as_me: failed program was:" >&5
31816 sed 's/^/| /' conftest.$ac_ext >&5
31818 ac_cv_lib_m_lgamma=no
31820 rm -f conftest.err conftest.$ac_objext \
31821 conftest$ac_exeext conftest.$ac_ext
31822 LIBS=$ac_check_lib_save_LIBS
31824 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31825 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31826 if test $ac_cv_lib_m_lgamma = yes; then
31828 cat >>confdefs.h <<\_ACEOF
31829 #define HAVE_LGAMMA 1
31830 _ACEOF
31834 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31835 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31836 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31838 else
31839 ac_check_lib_save_LIBS=$LIBS
31840 LIBS="-lm $LIBS"
31841 if test x$gcc_no_link = xyes; then
31842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31844 { (exit 1); exit 1; }; }
31846 cat >conftest.$ac_ext <<_ACEOF
31847 /* confdefs.h. */
31848 _ACEOF
31849 cat confdefs.h >>conftest.$ac_ext
31850 cat >>conftest.$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31853 /* Override any gcc2 internal prototype to avoid an error. */
31854 #ifdef __cplusplus
31855 extern "C"
31856 #endif
31857 /* We use char because int might match the return type of a gcc2
31858 builtin and then its argument prototype would still apply. */
31859 char lgammaf ();
31861 main ()
31863 lgammaf ();
31865 return 0;
31867 _ACEOF
31868 rm -f conftest.$ac_objext conftest$ac_exeext
31869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31870 (eval $ac_link) 2>conftest.er1
31871 ac_status=$?
31872 grep -v '^ *+' conftest.er1 >conftest.err
31873 rm -f conftest.er1
31874 cat conftest.err >&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } &&
31877 { ac_try='test -z "$ac_c_werror_flag"
31878 || test ! -s conftest.err'
31879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31880 (eval $ac_try) 2>&5
31881 ac_status=$?
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); }; } &&
31884 { ac_try='test -s conftest$ac_exeext'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31887 ac_status=$?
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; }; then
31890 ac_cv_lib_m_lgammaf=yes
31891 else
31892 echo "$as_me: failed program was:" >&5
31893 sed 's/^/| /' conftest.$ac_ext >&5
31895 ac_cv_lib_m_lgammaf=no
31897 rm -f conftest.err conftest.$ac_objext \
31898 conftest$ac_exeext conftest.$ac_ext
31899 LIBS=$ac_check_lib_save_LIBS
31901 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31902 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31903 if test $ac_cv_lib_m_lgammaf = yes; then
31905 cat >>confdefs.h <<\_ACEOF
31906 #define HAVE_LGAMMAF 1
31907 _ACEOF
31911 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31912 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31913 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31914 echo $ECHO_N "(cached) $ECHO_C" >&6
31915 else
31916 ac_check_lib_save_LIBS=$LIBS
31917 LIBS="-lm $LIBS"
31918 if test x$gcc_no_link = xyes; then
31919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31921 { (exit 1); exit 1; }; }
31923 cat >conftest.$ac_ext <<_ACEOF
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31930 /* Override any gcc2 internal prototype to avoid an error. */
31931 #ifdef __cplusplus
31932 extern "C"
31933 #endif
31934 /* We use char because int might match the return type of a gcc2
31935 builtin and then its argument prototype would still apply. */
31936 char lgammal ();
31938 main ()
31940 lgammal ();
31942 return 0;
31944 _ACEOF
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31947 (eval $ac_link) 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try='test -s conftest$ac_exeext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 ac_cv_lib_m_lgammal=yes
31968 else
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31972 ac_cv_lib_m_lgammal=no
31974 rm -f conftest.err conftest.$ac_objext \
31975 conftest$ac_exeext conftest.$ac_ext
31976 LIBS=$ac_check_lib_save_LIBS
31978 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
31979 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
31980 if test $ac_cv_lib_m_lgammal = yes; then
31982 cat >>confdefs.h <<\_ACEOF
31983 #define HAVE_LGAMMAL 1
31984 _ACEOF
31989 # On AIX, clog is present in libm as __clog
31990 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31991 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31992 if test "${ac_cv_lib_m___clog+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lm $LIBS"
31997 if test x$gcc_no_link = xyes; then
31998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32000 { (exit 1); exit 1; }; }
32002 cat >conftest.$ac_ext <<_ACEOF
32003 /* confdefs.h. */
32004 _ACEOF
32005 cat confdefs.h >>conftest.$ac_ext
32006 cat >>conftest.$ac_ext <<_ACEOF
32007 /* end confdefs.h. */
32009 /* Override any gcc2 internal prototype to avoid an error. */
32010 #ifdef __cplusplus
32011 extern "C"
32012 #endif
32013 /* We use char because int might match the return type of a gcc2
32014 builtin and then its argument prototype would still apply. */
32015 char __clog ();
32017 main ()
32019 __clog ();
32021 return 0;
32023 _ACEOF
32024 rm -f conftest.$ac_objext conftest$ac_exeext
32025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32026 (eval $ac_link) 2>conftest.er1
32027 ac_status=$?
32028 grep -v '^ *+' conftest.er1 >conftest.err
32029 rm -f conftest.er1
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } &&
32033 { ac_try='test -z "$ac_c_werror_flag"
32034 || test ! -s conftest.err'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; } &&
32040 { ac_try='test -s conftest$ac_exeext'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; }; then
32046 ac_cv_lib_m___clog=yes
32047 else
32048 echo "$as_me: failed program was:" >&5
32049 sed 's/^/| /' conftest.$ac_ext >&5
32051 ac_cv_lib_m___clog=no
32053 rm -f conftest.err conftest.$ac_objext \
32054 conftest$ac_exeext conftest.$ac_ext
32055 LIBS=$ac_check_lib_save_LIBS
32057 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32058 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32059 if test $ac_cv_lib_m___clog = yes; then
32061 cat >>confdefs.h <<\_ACEOF
32062 #define HAVE_CLOG 1
32063 _ACEOF
32068 # Check for a isfinite macro that works on long doubles.
32070 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32071 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32072 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32074 else
32076 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32077 LIBS="$LIBS -lm"
32078 if test "$cross_compiling" = yes; then
32080 case "${target}" in
32081 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32082 *) libgfor_cv_have_broken_isfinite=no ;;
32083 esac
32084 else
32085 cat >conftest.$ac_ext <<_ACEOF
32086 /* confdefs.h. */
32087 _ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32092 #include <math.h>
32093 #include <float.h>
32094 int main ()
32096 #ifdef isfinite
32097 #ifdef LDBL_MAX
32098 if (!isfinite(LDBL_MAX)) return 1;
32099 #endif
32100 #ifdef DBL_MAX
32101 if (!isfinite(DBL_MAX)) return 1;
32102 #endif
32103 #endif
32104 return 0;
32106 _ACEOF
32107 rm -f conftest$ac_exeext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32109 (eval $ac_link) 2>&5
32110 ac_status=$?
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32115 ac_status=$?
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; }; then
32118 libgfor_cv_have_broken_isfinite=no
32119 else
32120 echo "$as_me: program exited with status $ac_status" >&5
32121 echo "$as_me: failed program was:" >&5
32122 sed 's/^/| /' conftest.$ac_ext >&5
32124 ( exit $ac_status )
32125 libgfor_cv_have_broken_isfinite=yes
32127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32129 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32131 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32132 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32133 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32135 cat >>confdefs.h <<\_ACEOF
32136 #define HAVE_BROKEN_ISFINITE 1
32137 _ACEOF
32141 # Check for a isnan macro that works on long doubles.
32143 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32144 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32145 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32146 echo $ECHO_N "(cached) $ECHO_C" >&6
32147 else
32149 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32150 LIBS="$LIBS -lm"
32151 if test "$cross_compiling" = yes; then
32153 case "${target}" in
32154 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32155 *) libgfor_cv_have_broken_isnan=no ;;
32156 esac
32157 else
32158 cat >conftest.$ac_ext <<_ACEOF
32159 /* confdefs.h. */
32160 _ACEOF
32161 cat confdefs.h >>conftest.$ac_ext
32162 cat >>conftest.$ac_ext <<_ACEOF
32163 /* end confdefs.h. */
32165 #include <math.h>
32166 #include <float.h>
32167 int main ()
32169 #ifdef isnan
32170 #ifdef LDBL_MAX
32172 long double x;
32173 x = __builtin_nanl ("");
32174 if (!isnan(x)) return 1;
32175 if (isnan(LDBL_MAX)) return 1;
32176 #ifdef NAN
32177 x = (long double) NAN;
32178 if (!isnan(x)) return 1;
32179 #endif
32181 #endif
32182 #ifdef DBL_MAX
32184 double y;
32185 y = __builtin_nan ("");
32186 if (!isnan(y)) return 1;
32187 if (isnan(DBL_MAX)) return 1;
32188 #ifdef NAN
32189 y = (double) NAN;
32190 if (!isnan(y)) return 1;
32191 #endif
32193 #endif
32194 #endif
32195 return 0;
32197 _ACEOF
32198 rm -f conftest$ac_exeext
32199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32200 (eval $ac_link) 2>&5
32201 ac_status=$?
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; }; then
32209 libgfor_cv_have_broken_isnan=no
32210 else
32211 echo "$as_me: program exited with status $ac_status" >&5
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.$ac_ext >&5
32215 ( exit $ac_status )
32216 libgfor_cv_have_broken_isnan=yes
32218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32220 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32222 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
32223 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
32224 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
32226 cat >>confdefs.h <<\_ACEOF
32227 #define HAVE_BROKEN_ISNAN 1
32228 _ACEOF
32232 # Check for a fpclassify macro that works on long doubles.
32234 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32235 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32236 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 else
32240 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32241 LIBS="$LIBS -lm"
32242 if test "$cross_compiling" = yes; then
32244 case "${target}" in
32245 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
32246 *) libgfor_cv_have_broken_fpclassify=no ;;
32247 esac
32248 else
32249 cat >conftest.$ac_ext <<_ACEOF
32250 /* confdefs.h. */
32251 _ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h. */
32256 #include <math.h>
32257 #include <float.h>
32258 int main ()
32260 #ifdef fpclassify
32261 #ifdef LDBL_MAX
32262 if (fpclassify(LDBL_MAX) == FP_NAN
32263 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32264 #endif
32265 #ifdef DBL_MAX
32266 if (fpclassify(DBL_MAX) == FP_NAN
32267 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32268 #endif
32269 #endif
32270 return 0;
32272 _ACEOF
32273 rm -f conftest$ac_exeext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32275 (eval $ac_link) 2>&5
32276 ac_status=$?
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280 (eval $ac_try) 2>&5
32281 ac_status=$?
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; }; then
32284 libgfor_cv_have_broken_fpclassify=no
32285 else
32286 echo "$as_me: program exited with status $ac_status" >&5
32287 echo "$as_me: failed program was:" >&5
32288 sed 's/^/| /' conftest.$ac_ext >&5
32290 ( exit $ac_status )
32291 libgfor_cv_have_broken_fpclassify=yes
32293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32295 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32297 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
32298 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
32299 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
32301 cat >>confdefs.h <<\_ACEOF
32302 #define HAVE_BROKEN_FPCLASSIFY 1
32303 _ACEOF
32307 # Check whether the system has a working stat()
32309 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32310 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32311 if test "${libgfor_cv_have_working_stat+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32315 if test "$cross_compiling" = yes; then
32317 case "${target}" in
32318 *mingw*) libgfor_cv_have_working_stat=no ;;
32319 *) libgfor_cv_have_working_stat=yes;;
32320 esac
32321 else
32322 cat >conftest.$ac_ext <<_ACEOF
32323 /* confdefs.h. */
32324 _ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32329 #include <stdio.h>
32330 #include <sys/types.h>
32331 #include <sys/stat.h>
32332 #include <unistd.h>
32334 int main ()
32336 FILE *f, *g;
32337 struct stat st1, st2;
32339 f = fopen ("foo", "w");
32340 g = fopen ("bar", "w");
32341 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32342 return 1;
32343 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32344 return 1;
32345 fclose(f);
32346 fclose(g);
32347 return 0;
32349 _ACEOF
32350 rm -f conftest$ac_exeext
32351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32352 (eval $ac_link) 2>&5
32353 ac_status=$?
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; }; then
32361 libgfor_cv_have_working_stat=yes
32362 else
32363 echo "$as_me: program exited with status $ac_status" >&5
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.$ac_ext >&5
32367 ( exit $ac_status )
32368 libgfor_cv_have_working_stat=no
32370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32373 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
32374 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
32375 if test x"$libgfor_cv_have_working_stat" = xyes; then
32377 cat >>confdefs.h <<\_ACEOF
32378 #define HAVE_WORKING_STAT 1
32379 _ACEOF
32383 # Check whether __mingw_snprintf() is present
32385 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32386 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32387 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
32388 echo $ECHO_N "(cached) $ECHO_C" >&6
32389 else
32391 if test x$gcc_no_link = xyes; then
32392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32394 { (exit 1); exit 1; }; }
32396 cat >conftest.$ac_ext <<_ACEOF
32397 /* confdefs.h. */
32398 _ACEOF
32399 cat confdefs.h >>conftest.$ac_ext
32400 cat >>conftest.$ac_ext <<_ACEOF
32401 /* end confdefs.h. */
32403 #include <stdio.h>
32404 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32407 main ()
32410 __mingw_snprintf (NULL, 0, "%d\n", 1);
32413 return 0;
32415 _ACEOF
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418 (eval $ac_link) 2>conftest.er1
32419 ac_status=$?
32420 grep -v '^ *+' conftest.er1 >conftest.err
32421 rm -f conftest.er1
32422 cat conftest.err >&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try='test -z "$ac_c_werror_flag"
32426 || test ! -s conftest.err'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32429 ac_status=$?
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; } &&
32432 { ac_try='test -s conftest$ac_exeext'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; }; then
32438 eval "libgfor_cv_have_mingw_snprintf=yes"
32439 else
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32443 eval "libgfor_cv_have_mingw_snprintf=no"
32445 rm -f conftest.err conftest.$ac_objext \
32446 conftest$ac_exeext conftest.$ac_ext
32449 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
32450 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
32451 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
32453 cat >>confdefs.h <<\_ACEOF
32454 #define HAVE_MINGW_SNPRINTF 1
32455 _ACEOF
32460 # Check for GNU libc feenableexcept
32461 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32462 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32463 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32464 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 else
32466 ac_check_lib_save_LIBS=$LIBS
32467 LIBS="-lm $LIBS"
32468 if test x$gcc_no_link = xyes; then
32469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32471 { (exit 1); exit 1; }; }
32473 cat >conftest.$ac_ext <<_ACEOF
32474 /* confdefs.h. */
32475 _ACEOF
32476 cat confdefs.h >>conftest.$ac_ext
32477 cat >>conftest.$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32480 /* Override any gcc2 internal prototype to avoid an error. */
32481 #ifdef __cplusplus
32482 extern "C"
32483 #endif
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char feenableexcept ();
32488 main ()
32490 feenableexcept ();
32492 return 0;
32494 _ACEOF
32495 rm -f conftest.$ac_objext conftest$ac_exeext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32497 (eval $ac_link) 2>conftest.er1
32498 ac_status=$?
32499 grep -v '^ *+' conftest.er1 >conftest.err
32500 rm -f conftest.er1
32501 cat conftest.err >&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try='test -z "$ac_c_werror_flag"
32505 || test ! -s conftest.err'
32506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32507 (eval $ac_try) 2>&5
32508 ac_status=$?
32509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32510 (exit $ac_status); }; } &&
32511 { ac_try='test -s conftest$ac_exeext'
32512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32513 (eval $ac_try) 2>&5
32514 ac_status=$?
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); }; }; then
32517 ac_cv_lib_m_feenableexcept=yes
32518 else
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.$ac_ext >&5
32522 ac_cv_lib_m_feenableexcept=no
32524 rm -f conftest.err conftest.$ac_objext \
32525 conftest$ac_exeext conftest.$ac_ext
32526 LIBS=$ac_check_lib_save_LIBS
32528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32529 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32530 if test $ac_cv_lib_m_feenableexcept = yes; then
32531 have_feenableexcept=yes
32532 cat >>confdefs.h <<\_ACEOF
32533 #define HAVE_FEENABLEEXCEPT 1
32534 _ACEOF
32539 # Check for SysV fpsetmask
32541 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32542 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32543 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
32544 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 else
32547 if test x$gcc_no_link = xyes; then
32548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32550 { (exit 1); exit 1; }; }
32552 cat >conftest.$ac_ext <<_ACEOF
32553 /* confdefs.h. */
32554 _ACEOF
32555 cat confdefs.h >>conftest.$ac_ext
32556 cat >>conftest.$ac_ext <<_ACEOF
32557 /* end confdefs.h. */
32559 #if HAVE_FLOATINGPOINT_H
32560 # include <floatingpoint.h>
32561 #endif /* HAVE_FLOATINGPOINT_H */
32562 #if HAVE_IEEEFP_H
32563 # include <ieeefp.h>
32564 #endif /* HAVE_IEEEFP_H */
32566 main ()
32568 fpsetmask(0);
32570 return 0;
32572 _ACEOF
32573 rm -f conftest.$ac_objext conftest$ac_exeext
32574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32575 (eval $ac_link) 2>conftest.er1
32576 ac_status=$?
32577 grep -v '^ *+' conftest.er1 >conftest.err
32578 rm -f conftest.er1
32579 cat conftest.err >&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } &&
32582 { ac_try='test -z "$ac_c_werror_flag"
32583 || test ! -s conftest.err'
32584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585 (eval $ac_try) 2>&5
32586 ac_status=$?
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); }; } &&
32589 { ac_try='test -s conftest$ac_exeext'
32590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32591 (eval $ac_try) 2>&5
32592 ac_status=$?
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); }; }; then
32595 eval "libgfor_cv_have_fpsetmask=yes"
32596 else
32597 echo "$as_me: failed program was:" >&5
32598 sed 's/^/| /' conftest.$ac_ext >&5
32600 eval "libgfor_cv_have_fpsetmask=no"
32602 rm -f conftest.err conftest.$ac_objext \
32603 conftest$ac_exeext conftest.$ac_ext
32606 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
32607 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
32608 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
32610 cat >>confdefs.h <<\_ACEOF
32611 #define HAVE_FPSETMASK 1
32612 _ACEOF
32617 # Check for AIX fp_trap and fp_enable
32618 echo "$as_me:$LINENO: checking for fp_trap" >&5
32619 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32620 if test "${ac_cv_func_fp_trap+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32623 if test x$gcc_no_link = xyes; then
32624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32626 { (exit 1); exit 1; }; }
32628 cat >conftest.$ac_ext <<_ACEOF
32629 /* confdefs.h. */
32630 _ACEOF
32631 cat confdefs.h >>conftest.$ac_ext
32632 cat >>conftest.$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32634 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32636 #define fp_trap innocuous_fp_trap
32638 /* System header to define __stub macros and hopefully few prototypes,
32639 which can conflict with char fp_trap (); below.
32640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32641 <limits.h> exists even on freestanding compilers. */
32643 #ifdef __STDC__
32644 # include <limits.h>
32645 #else
32646 # include <assert.h>
32647 #endif
32649 #undef fp_trap
32651 /* Override any gcc2 internal prototype to avoid an error. */
32652 #ifdef __cplusplus
32653 extern "C"
32655 #endif
32656 /* We use char because int might match the return type of a gcc2
32657 builtin and then its argument prototype would still apply. */
32658 char fp_trap ();
32659 /* The GNU C library defines this for functions which it implements
32660 to always fail with ENOSYS. Some functions are actually named
32661 something starting with __ and the normal name is an alias. */
32662 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32663 choke me
32664 #else
32665 char (*f) () = fp_trap;
32666 #endif
32667 #ifdef __cplusplus
32669 #endif
32672 main ()
32674 return f != fp_trap;
32676 return 0;
32678 _ACEOF
32679 rm -f conftest.$ac_objext conftest$ac_exeext
32680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32681 (eval $ac_link) 2>conftest.er1
32682 ac_status=$?
32683 grep -v '^ *+' conftest.er1 >conftest.err
32684 rm -f conftest.er1
32685 cat conftest.err >&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); } &&
32688 { ac_try='test -z "$ac_c_werror_flag"
32689 || test ! -s conftest.err'
32690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32691 (eval $ac_try) 2>&5
32692 ac_status=$?
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); }; } &&
32695 { ac_try='test -s conftest$ac_exeext'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32698 ac_status=$?
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; }; then
32701 ac_cv_func_fp_trap=yes
32702 else
32703 echo "$as_me: failed program was:" >&5
32704 sed 's/^/| /' conftest.$ac_ext >&5
32706 ac_cv_func_fp_trap=no
32708 rm -f conftest.err conftest.$ac_objext \
32709 conftest$ac_exeext conftest.$ac_ext
32711 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32712 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32713 if test $ac_cv_func_fp_trap = yes; then
32714 have_fp_trap=yes
32715 cat >>confdefs.h <<\_ACEOF
32716 #define HAVE_FP_TRAP 1
32717 _ACEOF
32721 echo "$as_me:$LINENO: checking for fp_enable" >&5
32722 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32723 if test "${ac_cv_func_fp_enable+set}" = set; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 else
32726 if test x$gcc_no_link = xyes; then
32727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32729 { (exit 1); exit 1; }; }
32731 cat >conftest.$ac_ext <<_ACEOF
32732 /* confdefs.h. */
32733 _ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32737 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32739 #define fp_enable innocuous_fp_enable
32741 /* System header to define __stub macros and hopefully few prototypes,
32742 which can conflict with char fp_enable (); below.
32743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32744 <limits.h> exists even on freestanding compilers. */
32746 #ifdef __STDC__
32747 # include <limits.h>
32748 #else
32749 # include <assert.h>
32750 #endif
32752 #undef fp_enable
32754 /* Override any gcc2 internal prototype to avoid an error. */
32755 #ifdef __cplusplus
32756 extern "C"
32758 #endif
32759 /* We use char because int might match the return type of a gcc2
32760 builtin and then its argument prototype would still apply. */
32761 char fp_enable ();
32762 /* The GNU C library defines this for functions which it implements
32763 to always fail with ENOSYS. Some functions are actually named
32764 something starting with __ and the normal name is an alias. */
32765 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32766 choke me
32767 #else
32768 char (*f) () = fp_enable;
32769 #endif
32770 #ifdef __cplusplus
32772 #endif
32775 main ()
32777 return f != fp_enable;
32779 return 0;
32781 _ACEOF
32782 rm -f conftest.$ac_objext conftest$ac_exeext
32783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32784 (eval $ac_link) 2>conftest.er1
32785 ac_status=$?
32786 grep -v '^ *+' conftest.er1 >conftest.err
32787 rm -f conftest.er1
32788 cat conftest.err >&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); } &&
32791 { ac_try='test -z "$ac_c_werror_flag"
32792 || test ! -s conftest.err'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; } &&
32798 { ac_try='test -s conftest$ac_exeext'
32799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32800 (eval $ac_try) 2>&5
32801 ac_status=$?
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); }; }; then
32804 ac_cv_func_fp_enable=yes
32805 else
32806 echo "$as_me: failed program was:" >&5
32807 sed 's/^/| /' conftest.$ac_ext >&5
32809 ac_cv_func_fp_enable=no
32811 rm -f conftest.err conftest.$ac_objext \
32812 conftest$ac_exeext conftest.$ac_ext
32814 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32815 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32816 if test $ac_cv_func_fp_enable = yes; then
32817 have_fp_enable=yes
32818 cat >>confdefs.h <<\_ACEOF
32819 #define HAVE_FP_ENABLE 1
32820 _ACEOF
32825 # Runs configure.host to set up necessary host-dependent shell variables.
32826 # We then display a message about it, and propagate them through the
32827 # build chain.
32828 . ${srcdir}/configure.host
32829 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32830 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32831 FPU_HOST_HEADER=config/${fpu_host}.h
32834 # Check out attribute support.
32836 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32837 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32838 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32840 else
32842 save_CFLAGS="$CFLAGS"
32843 CFLAGS="$CFLAGS -Werror"
32844 cat >conftest.$ac_ext <<_ACEOF
32845 /* confdefs.h. */
32846 _ACEOF
32847 cat confdefs.h >>conftest.$ac_ext
32848 cat >>conftest.$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32850 void __attribute__((visibility("hidden"))) foo(void) { }
32852 main ()
32856 return 0;
32858 _ACEOF
32859 rm -f conftest.$ac_objext
32860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32861 (eval $ac_compile) 2>conftest.er1
32862 ac_status=$?
32863 grep -v '^ *+' conftest.er1 >conftest.err
32864 rm -f conftest.er1
32865 cat conftest.err >&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); } &&
32868 { ac_try='test -z "$ac_c_werror_flag"
32869 || test ! -s conftest.err'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32872 ac_status=$?
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; } &&
32875 { ac_try='test -s conftest.$ac_objext'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; }; then
32881 libgfor_cv_have_attribute_visibility=yes
32882 else
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32886 libgfor_cv_have_attribute_visibility=no
32888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32889 CFLAGS="$save_CFLAGS"
32891 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
32892 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
32893 if test $libgfor_cv_have_attribute_visibility = yes; then
32895 cat >>confdefs.h <<\_ACEOF
32896 #define HAVE_ATTRIBUTE_VISIBILITY 1
32897 _ACEOF
32901 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32902 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32903 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 else
32907 save_CFLAGS="$CFLAGS"
32908 CFLAGS="$CFLAGS -Werror"
32909 cat >conftest.$ac_ext <<_ACEOF
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 void __attribute__((dllexport)) foo(void) { }
32917 main ()
32921 return 0;
32923 _ACEOF
32924 rm -f conftest.$ac_objext
32925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32926 (eval $ac_compile) 2>conftest.er1
32927 ac_status=$?
32928 grep -v '^ *+' conftest.er1 >conftest.err
32929 rm -f conftest.er1
32930 cat conftest.err >&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); } &&
32933 { ac_try='test -z "$ac_c_werror_flag"
32934 || test ! -s conftest.err'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32937 ac_status=$?
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } &&
32940 { ac_try='test -s conftest.$ac_objext'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 libgfor_cv_have_attribute_dllexport=yes
32947 else
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.$ac_ext >&5
32951 libgfor_cv_have_attribute_dllexport=no
32953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32954 CFLAGS="$save_CFLAGS"
32956 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
32957 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
32958 if test $libgfor_cv_have_attribute_dllexport = yes; then
32960 cat >>confdefs.h <<\_ACEOF
32961 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32962 _ACEOF
32966 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32967 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32968 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
32969 echo $ECHO_N "(cached) $ECHO_C" >&6
32970 else
32972 if test x$gcc_no_link = xyes; then
32973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32975 { (exit 1); exit 1; }; }
32977 cat >conftest.$ac_ext <<_ACEOF
32978 /* confdefs.h. */
32979 _ACEOF
32980 cat confdefs.h >>conftest.$ac_ext
32981 cat >>conftest.$ac_ext <<_ACEOF
32982 /* end confdefs.h. */
32984 void foo(void) { }
32985 extern void bar(void) __attribute__((alias("foo")));
32987 main ()
32989 bar();
32991 return 0;
32993 _ACEOF
32994 rm -f conftest.$ac_objext conftest$ac_exeext
32995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32996 (eval $ac_link) 2>conftest.er1
32997 ac_status=$?
32998 grep -v '^ *+' conftest.er1 >conftest.err
32999 rm -f conftest.er1
33000 cat conftest.err >&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } &&
33003 { ac_try='test -z "$ac_c_werror_flag"
33004 || test ! -s conftest.err'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33007 ac_status=$?
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; } &&
33010 { ac_try='test -s conftest$ac_exeext'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33013 ac_status=$?
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; }; then
33016 libgfor_cv_have_attribute_alias=yes
33017 else
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33021 libgfor_cv_have_attribute_alias=no
33023 rm -f conftest.err conftest.$ac_objext \
33024 conftest$ac_exeext conftest.$ac_ext
33026 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33027 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33028 if test $libgfor_cv_have_attribute_alias = yes; then
33030 cat >>confdefs.h <<\_ACEOF
33031 #define HAVE_ATTRIBUTE_ALIAS 1
33032 _ACEOF
33036 # Check out sync builtins support.
33038 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33039 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33040 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 else
33044 if test x$gcc_no_link = xyes; then
33045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33047 { (exit 1); exit 1; }; }
33049 cat >conftest.$ac_ext <<_ACEOF
33050 /* confdefs.h. */
33051 _ACEOF
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33055 int foovar = 0;
33057 main ()
33060 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33061 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33063 return 0;
33065 _ACEOF
33066 rm -f conftest.$ac_objext conftest$ac_exeext
33067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33068 (eval $ac_link) 2>conftest.er1
33069 ac_status=$?
33070 grep -v '^ *+' conftest.er1 >conftest.err
33071 rm -f conftest.er1
33072 cat conftest.err >&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } &&
33075 { ac_try='test -z "$ac_c_werror_flag"
33076 || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33079 ac_status=$?
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try='test -s conftest$ac_exeext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33085 ac_status=$?
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 libgfor_cv_have_sync_fetch_and_add=yes
33089 else
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.$ac_ext >&5
33093 libgfor_cv_have_sync_fetch_and_add=no
33095 rm -f conftest.err conftest.$ac_objext \
33096 conftest$ac_exeext conftest.$ac_ext
33098 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33099 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33100 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33102 cat >>confdefs.h <<\_ACEOF
33103 #define HAVE_SYNC_FETCH_AND_ADD 1
33104 _ACEOF
33108 # Check out thread support.
33110 echo "$as_me:$LINENO: checking configured target thread model" >&5
33111 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33112 if test "${target_thread_file+set}" = set; then
33113 echo $ECHO_N "(cached) $ECHO_C" >&6
33114 else
33116 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33118 echo "$as_me:$LINENO: result: $target_thread_file" >&5
33119 echo "${ECHO_T}$target_thread_file" >&6
33121 if test $target_thread_file != single; then
33123 cat >>confdefs.h <<\_ACEOF
33124 #define HAVE_GTHR_DEFAULT 1
33125 _ACEOF
33129 # Check out #pragma weak.
33131 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33132 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33133 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 else
33137 gfor_save_CFLAGS="$CFLAGS"
33138 CFLAGS="$CFLAGS -Wunknown-pragmas"
33139 cat >conftest.$ac_ext <<_ACEOF
33140 /* confdefs.h. */
33141 _ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 void foo (void);
33146 #pragma weak foo
33148 main ()
33150 if (foo) foo ();
33152 return 0;
33154 _ACEOF
33155 rm -f conftest.$ac_objext
33156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33157 (eval $ac_compile) 2>conftest.er1
33158 ac_status=$?
33159 grep -v '^ *+' conftest.er1 >conftest.err
33160 rm -f conftest.er1
33161 cat conftest.err >&5
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); } &&
33164 { ac_try='test -z "$ac_c_werror_flag"
33165 || test ! -s conftest.err'
33166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33167 (eval $ac_try) 2>&5
33168 ac_status=$?
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); }; } &&
33171 { ac_try='test -s conftest.$ac_objext'
33172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33173 (eval $ac_try) 2>&5
33174 ac_status=$?
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); }; }; then
33177 libgfor_cv_have_pragma_weak=yes
33178 else
33179 echo "$as_me: failed program was:" >&5
33180 sed 's/^/| /' conftest.$ac_ext >&5
33182 libgfor_cv_have_pragma_weak=no
33184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33186 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33187 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33188 if test $libgfor_cv_have_pragma_weak = yes; then
33190 cat >>confdefs.h <<\_ACEOF
33191 #define SUPPORTS_WEAK 1
33192 _ACEOF
33195 case "$host" in
33196 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33198 cat >>confdefs.h <<\_ACEOF
33199 #define GTHREAD_USE_WEAK 0
33200 _ACEOF
33203 esac
33205 # Various other checks on target
33207 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33208 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33209 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33210 echo $ECHO_N "(cached) $ECHO_C" >&6
33211 else
33213 if test "$cross_compiling" = yes; then
33215 case "${target}" in
33216 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
33217 *) libgfor_cv_have_unlink_open_file=yes;;
33218 esac
33219 else
33220 cat >conftest.$ac_ext <<_ACEOF
33221 /* confdefs.h. */
33222 _ACEOF
33223 cat confdefs.h >>conftest.$ac_ext
33224 cat >>conftest.$ac_ext <<_ACEOF
33225 /* end confdefs.h. */
33227 #include <errno.h>
33228 #include <fcntl.h>
33229 #include <unistd.h>
33230 #include <sys/stat.h>
33232 int main ()
33234 int fd;
33236 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33237 if (fd <= 0)
33238 return 0;
33239 if (unlink ("testfile") == -1)
33240 return 1;
33241 write (fd, "This is a test\n", 15);
33242 close (fd);
33244 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33245 return 0;
33246 else
33247 return 1;
33249 _ACEOF
33250 rm -f conftest$ac_exeext
33251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33252 (eval $ac_link) 2>&5
33253 ac_status=$?
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33257 (eval $ac_try) 2>&5
33258 ac_status=$?
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); }; }; then
33261 libgfor_cv_have_unlink_open_file=yes
33262 else
33263 echo "$as_me: program exited with status $ac_status" >&5
33264 echo "$as_me: failed program was:" >&5
33265 sed 's/^/| /' conftest.$ac_ext >&5
33267 ( exit $ac_status )
33268 libgfor_cv_have_unlink_open_file=no
33270 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33273 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
33274 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
33275 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
33277 cat >>confdefs.h <<\_ACEOF
33278 #define HAVE_UNLINK_OPEN_FILE 1
33279 _ACEOF
33283 # Check whether line terminator is LF or CRLF
33285 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33286 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33287 if test "${libgfor_cv_have_crlf+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33289 else
33291 if test "$cross_compiling" = yes; then
33293 case "${target}" in
33294 *mingw*) libgfor_cv_have_crlf=yes ;;
33295 *) libgfor_cv_have_crlf=no;;
33296 esac
33297 else
33298 cat >conftest.$ac_ext <<_ACEOF
33299 /* confdefs.h. */
33300 _ACEOF
33301 cat confdefs.h >>conftest.$ac_ext
33302 cat >>conftest.$ac_ext <<_ACEOF
33303 /* end confdefs.h. */
33305 /* This test program should exit with status 0 if system uses a CRLF as
33306 line terminator, and status 1 otherwise.
33307 Since it is used to check for mingw systems, and should return 0 in any
33308 other case, in case of a failure we will not use CRLF. */
33309 #include <sys/stat.h>
33310 #include <stdlib.h>
33311 #include <fcntl.h>
33312 #include <stdio.h>
33314 int main ()
33316 #ifndef O_BINARY
33317 exit(1);
33318 #else
33319 int fd, bytes;
33320 char buff[5];
33322 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33323 if (fd < 0)
33324 exit(1);
33325 if (write (fd, "\n", 1) < 0)
33326 perror ("write");
33328 close (fd);
33330 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33331 exit(1);
33332 bytes = read (fd, buff, 5);
33333 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33334 exit(0);
33335 else
33336 exit(1);
33337 #endif
33339 _ACEOF
33340 rm -f conftest$ac_exeext
33341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33342 (eval $ac_link) 2>&5
33343 ac_status=$?
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33347 (eval $ac_try) 2>&5
33348 ac_status=$?
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); }; }; then
33351 libgfor_cv_have_crlf=yes
33352 else
33353 echo "$as_me: program exited with status $ac_status" >&5
33354 echo "$as_me: failed program was:" >&5
33355 sed 's/^/| /' conftest.$ac_ext >&5
33357 ( exit $ac_status )
33358 libgfor_cv_have_crlf=no
33360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33363 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
33364 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
33365 if test x"$libgfor_cv_have_crlf" = xyes; then
33367 cat >>confdefs.h <<\_ACEOF
33368 #define HAVE_CRLF 1
33369 _ACEOF
33373 cat >confcache <<\_ACEOF
33374 # This file is a shell script that caches the results of configure
33375 # tests run on this system so they can be shared between configure
33376 # scripts and configure runs, see configure's option --config-cache.
33377 # It is not useful on other systems. If it contains results you don't
33378 # want to keep, you may remove or edit it.
33380 # config.status only pays attention to the cache file if you give it
33381 # the --recheck option to rerun configure.
33383 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33384 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33385 # following values.
33387 _ACEOF
33389 # The following way of writing the cache mishandles newlines in values,
33390 # but we know of no workaround that is simple, portable, and efficient.
33391 # So, don't put newlines in cache variables' values.
33392 # Ultrix sh set writes to stderr and can't be redirected directly,
33393 # and sets the high bit in the cache file unless we assign to the vars.
33395 (set) 2>&1 |
33396 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33397 *ac_space=\ *)
33398 # `set' does not quote correctly, so add quotes (double-quote
33399 # substitution turns \\\\ into \\, and sed turns \\ into \).
33400 sed -n \
33401 "s/'/'\\\\''/g;
33402 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33405 # `set' quotes correctly as required by POSIX, so do not add quotes.
33406 sed -n \
33407 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33409 esac;
33411 sed '
33412 t clear
33413 : clear
33414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33415 t end
33416 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33417 : end' >>confcache
33418 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33419 if test -w $cache_file; then
33420 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33421 cat confcache >$cache_file
33422 else
33423 echo "not updating unwritable cache $cache_file"
33426 rm -f confcache
33428 if test ${multilib} = yes; then
33429 multilib_arg="--enable-multilib"
33430 else
33431 multilib_arg=
33434 # Write our Makefile.
33435 ac_config_files="$ac_config_files Makefile"
33437 cat >confcache <<\_ACEOF
33438 # This file is a shell script that caches the results of configure
33439 # tests run on this system so they can be shared between configure
33440 # scripts and configure runs, see configure's option --config-cache.
33441 # It is not useful on other systems. If it contains results you don't
33442 # want to keep, you may remove or edit it.
33444 # config.status only pays attention to the cache file if you give it
33445 # the --recheck option to rerun configure.
33447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33449 # following values.
33451 _ACEOF
33453 # The following way of writing the cache mishandles newlines in values,
33454 # but we know of no workaround that is simple, portable, and efficient.
33455 # So, don't put newlines in cache variables' values.
33456 # Ultrix sh set writes to stderr and can't be redirected directly,
33457 # and sets the high bit in the cache file unless we assign to the vars.
33459 (set) 2>&1 |
33460 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33461 *ac_space=\ *)
33462 # `set' does not quote correctly, so add quotes (double-quote
33463 # substitution turns \\\\ into \\, and sed turns \\ into \).
33464 sed -n \
33465 "s/'/'\\\\''/g;
33466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33469 # `set' quotes correctly as required by POSIX, so do not add quotes.
33470 sed -n \
33471 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33473 esac;
33475 sed '
33476 t clear
33477 : clear
33478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33479 t end
33480 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33481 : end' >>confcache
33482 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33483 if test -w $cache_file; then
33484 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33485 cat confcache >$cache_file
33486 else
33487 echo "not updating unwritable cache $cache_file"
33490 rm -f confcache
33492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33493 # Let make expand exec_prefix.
33494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33496 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33497 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33498 # trailing colons and then remove the whole line if VPATH becomes empty
33499 # (actually we leave an empty line to preserve line numbers).
33500 if test "x$srcdir" = x.; then
33501 ac_vpsub='/^[ ]*VPATH[ ]*=/{
33502 s/:*\$(srcdir):*/:/;
33503 s/:*\${srcdir}:*/:/;
33504 s/:*@srcdir@:*/:/;
33505 s/^\([^=]*=[ ]*\):*/\1/;
33506 s/:*$//;
33507 s/^[^=]*=[ ]*$//;
33511 DEFS=-DHAVE_CONFIG_H
33513 ac_libobjs=
33514 ac_ltlibobjs=
33515 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33516 # 1. Remove the extension, and $U if already installed.
33517 ac_i=`echo "$ac_i" |
33518 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33519 # 2. Add them.
33520 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33521 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33522 done
33523 LIBOBJS=$ac_libobjs
33525 LTLIBOBJS=$ac_ltlibobjs
33528 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33529 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33530 Usually this means the macro was only invoked conditionally." >&5
33531 echo "$as_me: error: conditional \"onestep\" was never defined.
33532 Usually this means the macro was only invoked conditionally." >&2;}
33533 { (exit 1); exit 1; }; }
33535 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33536 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33537 Usually this means the macro was only invoked conditionally." >&5
33538 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33539 Usually this means the macro was only invoked conditionally." >&2;}
33540 { (exit 1); exit 1; }; }
33542 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33543 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33544 Usually this means the macro was only invoked conditionally." >&5
33545 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33546 Usually this means the macro was only invoked conditionally." >&2;}
33547 { (exit 1); exit 1; }; }
33549 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33550 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33551 Usually this means the macro was only invoked conditionally." >&5
33552 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33553 Usually this means the macro was only invoked conditionally." >&2;}
33554 { (exit 1); exit 1; }; }
33556 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33557 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33558 Usually this means the macro was only invoked conditionally." >&5
33559 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33560 Usually this means the macro was only invoked conditionally." >&2;}
33561 { (exit 1); exit 1; }; }
33564 : ${CONFIG_STATUS=./config.status}
33565 ac_clean_files_save=$ac_clean_files
33566 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33567 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33568 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33569 cat >$CONFIG_STATUS <<_ACEOF
33570 #! $SHELL
33571 # Generated by $as_me.
33572 # Run this file to recreate the current configuration.
33573 # Compiler output produced by configure, useful for debugging
33574 # configure, is in config.log if it exists.
33576 debug=false
33577 ac_cs_recheck=false
33578 ac_cs_silent=false
33579 SHELL=\${CONFIG_SHELL-$SHELL}
33580 _ACEOF
33582 cat >>$CONFIG_STATUS <<\_ACEOF
33583 ## --------------------- ##
33584 ## M4sh Initialization. ##
33585 ## --------------------- ##
33587 # Be Bourne compatible
33588 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33589 emulate sh
33590 NULLCMD=:
33591 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33592 # is contrary to our usage. Disable this feature.
33593 alias -g '${1+"$@"}'='"$@"'
33594 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33595 set -o posix
33597 DUALCASE=1; export DUALCASE # for MKS sh
33599 # Support unset when possible.
33600 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33601 as_unset=unset
33602 else
33603 as_unset=false
33607 # Work around bugs in pre-3.0 UWIN ksh.
33608 $as_unset ENV MAIL MAILPATH
33609 PS1='$ '
33610 PS2='> '
33611 PS4='+ '
33613 # NLS nuisances.
33614 for as_var in \
33615 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33616 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33617 LC_TELEPHONE LC_TIME
33619 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33620 eval $as_var=C; export $as_var
33621 else
33622 $as_unset $as_var
33624 done
33626 # Required to use basename.
33627 if expr a : '\(a\)' >/dev/null 2>&1; then
33628 as_expr=expr
33629 else
33630 as_expr=false
33633 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33634 as_basename=basename
33635 else
33636 as_basename=false
33640 # Name of the executable.
33641 as_me=`$as_basename "$0" ||
33642 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33643 X"$0" : 'X\(//\)$' \| \
33644 X"$0" : 'X\(/\)$' \| \
33645 . : '\(.\)' 2>/dev/null ||
33646 echo X/"$0" |
33647 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33648 /^X\/\(\/\/\)$/{ s//\1/; q; }
33649 /^X\/\(\/\).*/{ s//\1/; q; }
33650 s/.*/./; q'`
33653 # PATH needs CR, and LINENO needs CR and PATH.
33654 # Avoid depending upon Character Ranges.
33655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33658 as_cr_digits='0123456789'
33659 as_cr_alnum=$as_cr_Letters$as_cr_digits
33661 # The user is always right.
33662 if test "${PATH_SEPARATOR+set}" != set; then
33663 echo "#! /bin/sh" >conf$$.sh
33664 echo "exit 0" >>conf$$.sh
33665 chmod +x conf$$.sh
33666 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33667 PATH_SEPARATOR=';'
33668 else
33669 PATH_SEPARATOR=:
33671 rm -f conf$$.sh
33675 as_lineno_1=$LINENO
33676 as_lineno_2=$LINENO
33677 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33678 test "x$as_lineno_1" != "x$as_lineno_2" &&
33679 test "x$as_lineno_3" = "x$as_lineno_2" || {
33680 # Find who we are. Look in the path if we contain no path at all
33681 # relative or not.
33682 case $0 in
33683 *[\\/]* ) as_myself=$0 ;;
33684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33685 for as_dir in $PATH
33687 IFS=$as_save_IFS
33688 test -z "$as_dir" && as_dir=.
33689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33690 done
33693 esac
33694 # We did not find ourselves, most probably we were run as `sh COMMAND'
33695 # in which case we are not to be found in the path.
33696 if test "x$as_myself" = x; then
33697 as_myself=$0
33699 if test ! -f "$as_myself"; then
33700 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33701 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33702 { (exit 1); exit 1; }; }
33704 case $CONFIG_SHELL in
33706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33707 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33709 IFS=$as_save_IFS
33710 test -z "$as_dir" && as_dir=.
33711 for as_base in sh bash ksh sh5; do
33712 case $as_dir in
33714 if ("$as_dir/$as_base" -c '
33715 as_lineno_1=$LINENO
33716 as_lineno_2=$LINENO
33717 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33718 test "x$as_lineno_1" != "x$as_lineno_2" &&
33719 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33720 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33721 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33722 CONFIG_SHELL=$as_dir/$as_base
33723 export CONFIG_SHELL
33724 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33725 fi;;
33726 esac
33727 done
33728 done
33730 esac
33732 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33733 # uniformly replaced by the line number. The first 'sed' inserts a
33734 # line-number line before each line; the second 'sed' does the real
33735 # work. The second script uses 'N' to pair each line-number line
33736 # with the numbered line, and appends trailing '-' during
33737 # substitution so that $LINENO is not a special case at line end.
33738 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33739 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33740 sed '=' <$as_myself |
33741 sed '
33743 s,$,-,
33744 : loop
33745 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33746 t loop
33747 s,-$,,
33748 s,^['$as_cr_digits']*\n,,
33749 ' >$as_me.lineno &&
33750 chmod +x $as_me.lineno ||
33751 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33752 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33753 { (exit 1); exit 1; }; }
33755 # Don't try to exec as it changes $[0], causing all sort of problems
33756 # (the dirname of $[0] is not the place where we might find the
33757 # original and so on. Autoconf is especially sensible to this).
33758 . ./$as_me.lineno
33759 # Exit status is that of the last command.
33760 exit
33764 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33765 *c*,-n*) ECHO_N= ECHO_C='
33766 ' ECHO_T=' ' ;;
33767 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33768 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33769 esac
33771 if expr a : '\(a\)' >/dev/null 2>&1; then
33772 as_expr=expr
33773 else
33774 as_expr=false
33777 rm -f conf$$ conf$$.exe conf$$.file
33778 echo >conf$$.file
33779 if ln -s conf$$.file conf$$ 2>/dev/null; then
33780 # We could just check for DJGPP; but this test a) works b) is more generic
33781 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33782 if test -f conf$$.exe; then
33783 # Don't use ln at all; we don't have any links
33784 as_ln_s='cp -p'
33785 else
33786 as_ln_s='ln -s'
33788 elif ln conf$$.file conf$$ 2>/dev/null; then
33789 as_ln_s=ln
33790 else
33791 as_ln_s='cp -p'
33793 rm -f conf$$ conf$$.exe conf$$.file
33795 if mkdir -p . 2>/dev/null; then
33796 as_mkdir_p=:
33797 else
33798 test -d ./-p && rmdir ./-p
33799 as_mkdir_p=false
33802 as_executable_p="test -f"
33804 # Sed expression to map a string onto a valid CPP name.
33805 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33807 # Sed expression to map a string onto a valid variable name.
33808 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33811 # IFS
33812 # We need space, tab and new line, in precisely that order.
33813 as_nl='
33815 IFS=" $as_nl"
33817 # CDPATH.
33818 $as_unset CDPATH
33820 exec 6>&1
33822 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33823 # report actual input values of CONFIG_FILES etc. instead of their
33824 # values after options handling. Logging --version etc. is OK.
33825 exec 5>>config.log
33827 echo
33828 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33829 ## Running $as_me. ##
33830 _ASBOX
33831 } >&5
33832 cat >&5 <<_CSEOF
33834 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33835 generated by GNU Autoconf 2.59. Invocation command line was
33837 CONFIG_FILES = $CONFIG_FILES
33838 CONFIG_HEADERS = $CONFIG_HEADERS
33839 CONFIG_LINKS = $CONFIG_LINKS
33840 CONFIG_COMMANDS = $CONFIG_COMMANDS
33841 $ $0 $@
33843 _CSEOF
33844 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33845 echo >&5
33846 _ACEOF
33848 # Files that config.status was made for.
33849 if test -n "$ac_config_files"; then
33850 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33853 if test -n "$ac_config_headers"; then
33854 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33857 if test -n "$ac_config_links"; then
33858 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33861 if test -n "$ac_config_commands"; then
33862 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33865 cat >>$CONFIG_STATUS <<\_ACEOF
33867 ac_cs_usage="\
33868 \`$as_me' instantiates files from templates according to the
33869 current configuration.
33871 Usage: $0 [OPTIONS] [FILE]...
33873 -h, --help print this help, then exit
33874 -V, --version print version number, then exit
33875 -q, --quiet do not print progress messages
33876 -d, --debug don't remove temporary files
33877 --recheck update $as_me by reconfiguring in the same conditions
33878 --file=FILE[:TEMPLATE]
33879 instantiate the configuration file FILE
33880 --header=FILE[:TEMPLATE]
33881 instantiate the configuration header FILE
33883 Configuration files:
33884 $config_files
33886 Configuration headers:
33887 $config_headers
33889 Configuration commands:
33890 $config_commands
33892 Report bugs to <bug-autoconf@gnu.org>."
33893 _ACEOF
33895 cat >>$CONFIG_STATUS <<_ACEOF
33896 ac_cs_version="\\
33897 GNU Fortran Runtime Library config.status 0.3
33898 configured by $0, generated by GNU Autoconf 2.59,
33899 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33901 Copyright (C) 2003 Free Software Foundation, Inc.
33902 This config.status script is free software; the Free Software Foundation
33903 gives unlimited permission to copy, distribute and modify it."
33904 srcdir=$srcdir
33905 INSTALL="$INSTALL"
33906 _ACEOF
33908 cat >>$CONFIG_STATUS <<\_ACEOF
33909 # If no file are specified by the user, then we need to provide default
33910 # value. By we need to know if files were specified by the user.
33911 ac_need_defaults=:
33912 while test $# != 0
33914 case $1 in
33915 --*=*)
33916 ac_option=`expr "x$1" : 'x\([^=]*\)='`
33917 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33918 ac_shift=:
33921 ac_option=$1
33922 ac_optarg=$2
33923 ac_shift=shift
33925 *) # This is not an option, so the user has probably given explicit
33926 # arguments.
33927 ac_option=$1
33928 ac_need_defaults=false;;
33929 esac
33931 case $ac_option in
33932 # Handling of the options.
33933 _ACEOF
33934 cat >>$CONFIG_STATUS <<\_ACEOF
33935 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33936 ac_cs_recheck=: ;;
33937 --version | --vers* | -V )
33938 echo "$ac_cs_version"; exit 0 ;;
33939 --he | --h)
33940 # Conflict between --help and --header
33941 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33942 Try \`$0 --help' for more information." >&5
33943 echo "$as_me: error: ambiguous option: $1
33944 Try \`$0 --help' for more information." >&2;}
33945 { (exit 1); exit 1; }; };;
33946 --help | --hel | -h )
33947 echo "$ac_cs_usage"; exit 0 ;;
33948 --debug | --d* | -d )
33949 debug=: ;;
33950 --file | --fil | --fi | --f )
33951 $ac_shift
33952 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33953 ac_need_defaults=false;;
33954 --header | --heade | --head | --hea )
33955 $ac_shift
33956 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33957 ac_need_defaults=false;;
33958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33959 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33960 ac_cs_silent=: ;;
33962 # This is an error.
33963 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33964 Try \`$0 --help' for more information." >&5
33965 echo "$as_me: error: unrecognized option: $1
33966 Try \`$0 --help' for more information." >&2;}
33967 { (exit 1); exit 1; }; } ;;
33969 *) ac_config_targets="$ac_config_targets $1" ;;
33971 esac
33972 shift
33973 done
33975 ac_configure_extra_args=
33977 if $ac_cs_silent; then
33978 exec 6>/dev/null
33979 ac_configure_extra_args="$ac_configure_extra_args --silent"
33982 _ACEOF
33983 cat >>$CONFIG_STATUS <<_ACEOF
33984 if \$ac_cs_recheck; then
33985 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33986 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33989 _ACEOF
33991 cat >>$CONFIG_STATUS <<_ACEOF
33993 # INIT-COMMANDS section.
33997 srcdir="$srcdir"
33998 host="$host"
33999 target="$target"
34000 with_multisubdir="$with_multisubdir"
34001 with_multisrctop="$with_multisrctop"
34002 with_target_subdir="$with_target_subdir"
34003 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34004 multi_basedir="$multi_basedir"
34005 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34006 CC="$CC"
34007 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34010 # The HP-UX ksh and POSIX shell print the target directory to stdout
34011 # if CDPATH is set.
34012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34014 sed_quote_subst='$sed_quote_subst'
34015 double_quote_subst='$double_quote_subst'
34016 delay_variable_subst='$delay_variable_subst'
34017 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34018 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34019 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34020 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34021 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34022 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34023 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34024 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34025 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34026 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34027 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34028 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34029 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34030 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34031 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34032 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34033 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34034 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34035 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34036 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34037 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34038 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34039 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34040 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34041 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34042 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34043 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34044 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34045 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34046 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34047 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34048 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34049 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34050 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34051 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34052 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34053 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34054 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34055 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34056 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34057 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34058 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34059 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34060 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"`'
34061 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34062 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34063 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34064 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34065 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34066 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34067 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34068 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34069 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34070 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34071 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34072 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34073 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34074 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34075 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34076 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34077 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34078 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34079 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34080 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34081 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34082 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34083 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34084 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34085 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34086 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34087 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34088 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34089 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34090 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34091 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34092 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34093 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34094 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34095 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34096 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34097 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34098 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34099 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34100 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34101 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34102 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34103 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34104 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34105 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34106 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34107 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34108 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34109 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34110 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34111 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34112 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34113 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34114 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34115 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34116 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34117 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34118 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34119 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34120 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34121 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34122 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34123 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34124 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34125 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34126 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34127 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34128 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34129 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34130 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34131 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34132 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34133 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34134 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34135 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34136 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34137 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34138 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34139 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34140 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34141 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34142 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34143 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34144 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34145 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34146 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34147 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34148 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34149 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34150 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34151 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34152 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34153 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34154 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34155 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34156 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34157 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34158 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34159 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34160 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34161 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34162 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34163 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34164 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34165 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34166 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34167 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34168 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34169 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34170 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34171 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34172 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34173 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34174 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34175 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34176 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34177 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34178 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34180 LTCC='$LTCC'
34181 LTCFLAGS='$LTCFLAGS'
34182 compiler='$compiler_DEFAULT'
34184 # Quote evaled strings.
34185 for var in SED \
34186 GREP \
34187 EGREP \
34188 FGREP \
34189 LD \
34190 NM \
34191 LN_S \
34192 lt_SP2NL \
34193 lt_NL2SP \
34194 reload_flag \
34195 deplibs_check_method \
34196 file_magic_cmd \
34197 AR \
34198 AR_FLAGS \
34199 STRIP \
34200 RANLIB \
34201 CC \
34202 CFLAGS \
34203 compiler \
34204 lt_cv_sys_global_symbol_pipe \
34205 lt_cv_sys_global_symbol_to_cdecl \
34206 lt_cv_sys_global_symbol_to_c_name_address \
34207 SHELL \
34208 ECHO \
34209 lt_prog_compiler_no_builtin_flag \
34210 lt_prog_compiler_wl \
34211 lt_prog_compiler_pic \
34212 lt_prog_compiler_static \
34213 lt_cv_prog_compiler_c_o \
34214 need_locks \
34215 shrext_cmds \
34216 export_dynamic_flag_spec \
34217 whole_archive_flag_spec \
34218 compiler_needs_object \
34219 with_gnu_ld \
34220 allow_undefined_flag \
34221 no_undefined_flag \
34222 hardcode_libdir_flag_spec \
34223 hardcode_libdir_flag_spec_ld \
34224 hardcode_libdir_separator \
34225 fix_srcfile_path \
34226 exclude_expsyms \
34227 include_expsyms \
34228 file_list_spec \
34229 variables_saved_for_relink \
34230 libname_spec \
34231 library_names_spec \
34232 soname_spec \
34233 finish_eval \
34234 old_striplib \
34235 striplib \
34236 predep_objects \
34237 postdep_objects \
34238 predeps \
34239 postdeps \
34240 compiler_lib_search_path \
34241 LD_FC \
34242 compiler_FC \
34243 lt_prog_compiler_no_builtin_flag_FC \
34244 lt_prog_compiler_wl_FC \
34245 lt_prog_compiler_pic_FC \
34246 lt_prog_compiler_static_FC \
34247 lt_cv_prog_compiler_c_o_FC \
34248 export_dynamic_flag_spec_FC \
34249 whole_archive_flag_spec_FC \
34250 compiler_needs_object_FC \
34251 with_gnu_ld_FC \
34252 allow_undefined_flag_FC \
34253 no_undefined_flag_FC \
34254 hardcode_libdir_flag_spec_FC \
34255 hardcode_libdir_flag_spec_ld_FC \
34256 hardcode_libdir_separator_FC \
34257 fix_srcfile_path_FC \
34258 exclude_expsyms_FC \
34259 include_expsyms_FC \
34260 file_list_spec_FC \
34261 predep_objects_FC \
34262 postdep_objects_FC \
34263 predeps_FC \
34264 postdeps_FC \
34265 compiler_lib_search_path_FC; do
34266 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34267 *[\\\\\\\`\\"\\\$]*)
34268 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34271 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34273 esac
34274 done
34276 # Double-quote double-evaled strings.
34277 for var in reload_cmds \
34278 old_postinstall_cmds \
34279 old_postuninstall_cmds \
34280 old_archive_cmds \
34281 extract_expsyms_cmds \
34282 old_archive_from_new_cmds \
34283 old_archive_from_expsyms_cmds \
34284 archive_cmds \
34285 archive_expsym_cmds \
34286 module_cmds \
34287 module_expsym_cmds \
34288 export_symbols_cmds \
34289 prelink_cmds \
34290 postinstall_cmds \
34291 postuninstall_cmds \
34292 finish_cmds \
34293 sys_lib_search_path_spec \
34294 sys_lib_dlsearch_path_spec \
34295 old_archive_cmds_FC \
34296 old_archive_from_new_cmds_FC \
34297 old_archive_from_expsyms_cmds_FC \
34298 archive_cmds_FC \
34299 archive_expsym_cmds_FC \
34300 module_cmds_FC \
34301 module_expsym_cmds_FC \
34302 export_symbols_cmds_FC \
34303 prelink_cmds_FC; do
34304 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34305 *[\\\\\\\`\\"\\\$]*)
34306 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34309 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34311 esac
34312 done
34314 # Fix-up fallback echo if it was mangled by the above quoting rules.
34315 case \$lt_ECHO in
34316 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34318 esac
34320 ac_aux_dir='$ac_aux_dir'
34321 xsi_shell='$xsi_shell'
34322 lt_shell_append='$lt_shell_append'
34324 # See if we are running on zsh, and set the options which allow our
34325 # commands through without removal of \ escapes INIT.
34326 if test -n "\${ZSH_VERSION+set}" ; then
34327 setopt NO_GLOB_SUBST
34331 PACKAGE='$PACKAGE'
34332 VERSION='$VERSION'
34333 TIMESTAMP='$TIMESTAMP'
34334 RM='$RM'
34335 ofile='$ofile'
34342 GCC="$GCC"
34343 CC="$CC"
34344 acx_cv_header_stdint="$acx_cv_header_stdint"
34345 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34346 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34347 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34348 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34349 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34350 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34351 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34352 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34353 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34354 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34355 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34356 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34357 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34360 _ACEOF
34364 cat >>$CONFIG_STATUS <<\_ACEOF
34365 for ac_config_target in $ac_config_targets
34367 case "$ac_config_target" in
34368 # Handling of arguments.
34369 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34370 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34371 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34372 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34373 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34374 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34375 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34376 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34377 { (exit 1); exit 1; }; };;
34378 esac
34379 done
34381 # If the user did not use the arguments to specify the items to instantiate,
34382 # then the envvar interface is used. Set only those that are not.
34383 # We use the long form for the default assignment because of an extremely
34384 # bizarre bug on SunOS 4.1.3.
34385 if $ac_need_defaults; then
34386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34391 # Have a temporary directory for convenience. Make it in the build tree
34392 # simply because there is no reason to put it here, and in addition,
34393 # creating and moving files from /tmp can sometimes cause problems.
34394 # Create a temporary directory, and hook for its removal unless debugging.
34395 $debug ||
34397 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34398 trap '{ (exit 1); exit 1; }' 1 2 13 15
34401 # Create a (secure) tmp directory for tmp files.
34404 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34405 test -n "$tmp" && test -d "$tmp"
34406 } ||
34408 tmp=./confstat$$-$RANDOM
34409 (umask 077 && mkdir $tmp)
34410 } ||
34412 echo "$me: cannot create a temporary directory in ." >&2
34413 { (exit 1); exit 1; }
34416 _ACEOF
34418 cat >>$CONFIG_STATUS <<_ACEOF
34421 # CONFIG_FILES section.
34424 # No need to generate the scripts if there are no CONFIG_FILES.
34425 # This happens for instance when ./config.status config.h
34426 if test -n "\$CONFIG_FILES"; then
34427 # Protect against being on the right side of a sed subst in config.status.
34428 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34429 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34430 s,@SHELL@,$SHELL,;t t
34431 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34432 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34433 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34434 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34435 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34436 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34437 s,@exec_prefix@,$exec_prefix,;t t
34438 s,@prefix@,$prefix,;t t
34439 s,@program_transform_name@,$program_transform_name,;t t
34440 s,@bindir@,$bindir,;t t
34441 s,@sbindir@,$sbindir,;t t
34442 s,@libexecdir@,$libexecdir,;t t
34443 s,@datadir@,$datadir,;t t
34444 s,@sysconfdir@,$sysconfdir,;t t
34445 s,@sharedstatedir@,$sharedstatedir,;t t
34446 s,@localstatedir@,$localstatedir,;t t
34447 s,@libdir@,$libdir,;t t
34448 s,@includedir@,$includedir,;t t
34449 s,@oldincludedir@,$oldincludedir,;t t
34450 s,@infodir@,$infodir,;t t
34451 s,@mandir@,$mandir,;t t
34452 s,@build_alias@,$build_alias,;t t
34453 s,@host_alias@,$host_alias,;t t
34454 s,@target_alias@,$target_alias,;t t
34455 s,@DEFS@,$DEFS,;t t
34456 s,@ECHO_C@,$ECHO_C,;t t
34457 s,@ECHO_N@,$ECHO_N,;t t
34458 s,@ECHO_T@,$ECHO_T,;t t
34459 s,@LIBS@,$LIBS,;t t
34460 s,@build@,$build,;t t
34461 s,@build_cpu@,$build_cpu,;t t
34462 s,@build_vendor@,$build_vendor,;t t
34463 s,@build_os@,$build_os,;t t
34464 s,@build_libsubdir@,$build_libsubdir,;t t
34465 s,@build_subdir@,$build_subdir,;t t
34466 s,@host_subdir@,$host_subdir,;t t
34467 s,@target_subdir@,$target_subdir,;t t
34468 s,@onestep_TRUE@,$onestep_TRUE,;t t
34469 s,@onestep_FALSE@,$onestep_FALSE,;t t
34470 s,@onestep@,$onestep,;t t
34471 s,@host@,$host,;t t
34472 s,@host_cpu@,$host_cpu,;t t
34473 s,@host_vendor@,$host_vendor,;t t
34474 s,@host_os@,$host_os,;t t
34475 s,@target@,$target,;t t
34476 s,@target_cpu@,$target_cpu,;t t
34477 s,@target_vendor@,$target_vendor,;t t
34478 s,@target_os@,$target_os,;t t
34479 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34480 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34481 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34482 s,@CYGPATH_W@,$CYGPATH_W,;t t
34483 s,@PACKAGE@,$PACKAGE,;t t
34484 s,@VERSION@,$VERSION,;t t
34485 s,@ACLOCAL@,$ACLOCAL,;t t
34486 s,@AUTOCONF@,$AUTOCONF,;t t
34487 s,@AUTOMAKE@,$AUTOMAKE,;t t
34488 s,@AUTOHEADER@,$AUTOHEADER,;t t
34489 s,@MAKEINFO@,$MAKEINFO,;t t
34490 s,@install_sh@,$install_sh,;t t
34491 s,@STRIP@,$STRIP,;t t
34492 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34493 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34494 s,@mkdir_p@,$mkdir_p,;t t
34495 s,@AWK@,$AWK,;t t
34496 s,@SET_MAKE@,$SET_MAKE,;t t
34497 s,@am__leading_dot@,$am__leading_dot,;t t
34498 s,@AMTAR@,$AMTAR,;t t
34499 s,@am__tar@,$am__tar,;t t
34500 s,@am__untar@,$am__untar,;t t
34501 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34502 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34503 s,@MAINT@,$MAINT,;t t
34504 s,@multi_basedir@,$multi_basedir,;t t
34505 s,@toolexecdir@,$toolexecdir,;t t
34506 s,@toolexeclibdir@,$toolexeclibdir,;t t
34507 s,@CC@,$CC,;t t
34508 s,@ac_ct_CC@,$ac_ct_CC,;t t
34509 s,@EXEEXT@,$EXEEXT,;t t
34510 s,@OBJEXT@,$OBJEXT,;t t
34511 s,@DEPDIR@,$DEPDIR,;t t
34512 s,@am__include@,$am__include,;t t
34513 s,@am__quote@,$am__quote,;t t
34514 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34515 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34516 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34517 s,@CCDEPMODE@,$CCDEPMODE,;t t
34518 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34519 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34520 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34521 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34522 s,@CFLAGS@,$CFLAGS,;t t
34523 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34524 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34525 s,@AS@,$AS,;t t
34526 s,@ac_ct_AS@,$ac_ct_AS,;t t
34527 s,@AR@,$AR,;t t
34528 s,@ac_ct_AR@,$ac_ct_AR,;t t
34529 s,@RANLIB@,$RANLIB,;t t
34530 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34531 s,@LIBTOOL@,$LIBTOOL,;t t
34532 s,@SED@,$SED,;t t
34533 s,@EGREP@,$EGREP,;t t
34534 s,@FGREP@,$FGREP,;t t
34535 s,@GREP@,$GREP,;t t
34536 s,@LD@,$LD,;t t
34537 s,@DUMPBIN@,$DUMPBIN,;t t
34538 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34539 s,@NM@,$NM,;t t
34540 s,@LN_S@,$LN_S,;t t
34541 s,@lt_ECHO@,$lt_ECHO,;t t
34542 s,@CPP@,$CPP,;t t
34543 s,@CPPFLAGS@,$CPPFLAGS,;t t
34544 s,@enable_shared@,$enable_shared,;t t
34545 s,@enable_static@,$enable_static,;t t
34546 s,@FC@,$FC,;t t
34547 s,@FCFLAGS@,$FCFLAGS,;t t
34548 s,@LDFLAGS@,$LDFLAGS,;t t
34549 s,@ac_ct_FC@,$ac_ct_FC,;t t
34550 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34551 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34552 s,@LIBOBJS@,$LIBOBJS,;t t
34553 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34554 CEOF
34556 _ACEOF
34558 cat >>$CONFIG_STATUS <<\_ACEOF
34559 # Split the substitutions into bite-sized pieces for seds with
34560 # small command number limits, like on Digital OSF/1 and HP-UX.
34561 ac_max_sed_lines=48
34562 ac_sed_frag=1 # Number of current file.
34563 ac_beg=1 # First line for current file.
34564 ac_end=$ac_max_sed_lines # Line after last line for current file.
34565 ac_more_lines=:
34566 ac_sed_cmds=
34567 while $ac_more_lines; do
34568 if test $ac_beg -gt 1; then
34569 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34570 else
34571 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34573 if test ! -s $tmp/subs.frag; then
34574 ac_more_lines=false
34575 else
34576 # The purpose of the label and of the branching condition is to
34577 # speed up the sed processing (if there are no `@' at all, there
34578 # is no need to browse any of the substitutions).
34579 # These are the two extra sed commands mentioned above.
34580 (echo ':t
34581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34582 if test -z "$ac_sed_cmds"; then
34583 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34584 else
34585 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34587 ac_sed_frag=`expr $ac_sed_frag + 1`
34588 ac_beg=$ac_end
34589 ac_end=`expr $ac_end + $ac_max_sed_lines`
34591 done
34592 if test -z "$ac_sed_cmds"; then
34593 ac_sed_cmds=cat
34595 fi # test -n "$CONFIG_FILES"
34597 _ACEOF
34598 cat >>$CONFIG_STATUS <<\_ACEOF
34599 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34600 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34601 case $ac_file in
34602 - | *:- | *:-:* ) # input from stdin
34603 cat >$tmp/stdin
34604 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34605 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34606 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34607 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34608 * ) ac_file_in=$ac_file.in ;;
34609 esac
34611 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34612 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34614 X"$ac_file" : 'X\(//\)[^/]' \| \
34615 X"$ac_file" : 'X\(//\)$' \| \
34616 X"$ac_file" : 'X\(/\)' \| \
34617 . : '\(.\)' 2>/dev/null ||
34618 echo X"$ac_file" |
34619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34621 /^X\(\/\/\)$/{ s//\1/; q; }
34622 /^X\(\/\).*/{ s//\1/; q; }
34623 s/.*/./; q'`
34624 { if $as_mkdir_p; then
34625 mkdir -p "$ac_dir"
34626 else
34627 as_dir="$ac_dir"
34628 as_dirs=
34629 while test ! -d "$as_dir"; do
34630 as_dirs="$as_dir $as_dirs"
34631 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34633 X"$as_dir" : 'X\(//\)[^/]' \| \
34634 X"$as_dir" : 'X\(//\)$' \| \
34635 X"$as_dir" : 'X\(/\)' \| \
34636 . : '\(.\)' 2>/dev/null ||
34637 echo X"$as_dir" |
34638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34640 /^X\(\/\/\)$/{ s//\1/; q; }
34641 /^X\(\/\).*/{ s//\1/; q; }
34642 s/.*/./; q'`
34643 done
34644 test ! -n "$as_dirs" || mkdir $as_dirs
34645 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34646 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34647 { (exit 1); exit 1; }; }; }
34649 ac_builddir=.
34651 if test "$ac_dir" != .; then
34652 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34653 # A "../" for each directory in $ac_dir_suffix.
34654 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34655 else
34656 ac_dir_suffix= ac_top_builddir=
34659 case $srcdir in
34660 .) # No --srcdir option. We are building in place.
34661 ac_srcdir=.
34662 if test -z "$ac_top_builddir"; then
34663 ac_top_srcdir=.
34664 else
34665 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34666 fi ;;
34667 [\\/]* | ?:[\\/]* ) # Absolute path.
34668 ac_srcdir=$srcdir$ac_dir_suffix;
34669 ac_top_srcdir=$srcdir ;;
34670 *) # Relative path.
34671 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34672 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34673 esac
34675 # Do not use `cd foo && pwd` to compute absolute paths, because
34676 # the directories may not exist.
34677 case `pwd` in
34678 .) ac_abs_builddir="$ac_dir";;
34680 case "$ac_dir" in
34681 .) ac_abs_builddir=`pwd`;;
34682 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34683 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34684 esac;;
34685 esac
34686 case $ac_abs_builddir in
34687 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34689 case ${ac_top_builddir}. in
34690 .) ac_abs_top_builddir=$ac_abs_builddir;;
34691 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34692 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34693 esac;;
34694 esac
34695 case $ac_abs_builddir in
34696 .) ac_abs_srcdir=$ac_srcdir;;
34698 case $ac_srcdir in
34699 .) ac_abs_srcdir=$ac_abs_builddir;;
34700 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34701 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34702 esac;;
34703 esac
34704 case $ac_abs_builddir in
34705 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34707 case $ac_top_srcdir in
34708 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34709 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34710 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34711 esac;;
34712 esac
34715 case $INSTALL in
34716 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34717 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34718 esac
34720 if test x"$ac_file" != x-; then
34721 { echo "$as_me:$LINENO: creating $ac_file" >&5
34722 echo "$as_me: creating $ac_file" >&6;}
34723 rm -f "$ac_file"
34725 # Let's still pretend it is `configure' which instantiates (i.e., don't
34726 # use $as_me), people would be surprised to read:
34727 # /* config.h. Generated by config.status. */
34728 if test x"$ac_file" = x-; then
34729 configure_input=
34730 else
34731 configure_input="$ac_file. "
34733 configure_input=$configure_input"Generated from `echo $ac_file_in |
34734 sed 's,.*/,,'` by configure."
34736 # First look for the input files in the build tree, otherwise in the
34737 # src tree.
34738 ac_file_inputs=`IFS=:
34739 for f in $ac_file_in; do
34740 case $f in
34741 -) echo $tmp/stdin ;;
34742 [\\/$]*)
34743 # Absolute (can't be DOS-style, as IFS=:)
34744 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34745 echo "$as_me: error: cannot find input file: $f" >&2;}
34746 { (exit 1); exit 1; }; }
34747 echo "$f";;
34748 *) # Relative
34749 if test -f "$f"; then
34750 # Build tree
34751 echo "$f"
34752 elif test -f "$srcdir/$f"; then
34753 # Source tree
34754 echo "$srcdir/$f"
34755 else
34756 # /dev/null tree
34757 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34758 echo "$as_me: error: cannot find input file: $f" >&2;}
34759 { (exit 1); exit 1; }; }
34760 fi;;
34761 esac
34762 done` || { (exit 1); exit 1; }
34763 _ACEOF
34764 cat >>$CONFIG_STATUS <<_ACEOF
34765 sed "$ac_vpsub
34766 $extrasub
34767 _ACEOF
34768 cat >>$CONFIG_STATUS <<\_ACEOF
34770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34771 s,@configure_input@,$configure_input,;t t
34772 s,@srcdir@,$ac_srcdir,;t t
34773 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34774 s,@top_srcdir@,$ac_top_srcdir,;t t
34775 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34776 s,@builddir@,$ac_builddir,;t t
34777 s,@abs_builddir@,$ac_abs_builddir,;t t
34778 s,@top_builddir@,$ac_top_builddir,;t t
34779 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34780 s,@INSTALL@,$ac_INSTALL,;t t
34781 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34782 rm -f $tmp/stdin
34783 if test x"$ac_file" != x-; then
34784 mv $tmp/out $ac_file
34785 else
34786 cat $tmp/out
34787 rm -f $tmp/out
34790 done
34791 _ACEOF
34792 cat >>$CONFIG_STATUS <<\_ACEOF
34795 # CONFIG_HEADER section.
34798 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34799 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34801 # ac_d sets the value in "#define NAME VALUE" lines.
34802 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34803 ac_dB='[ ].*$,\1#\2'
34804 ac_dC=' '
34805 ac_dD=',;t'
34806 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34807 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34808 ac_uB='$,\1#\2define\3'
34809 ac_uC=' '
34810 ac_uD=',;t'
34812 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34813 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34814 case $ac_file in
34815 - | *:- | *:-:* ) # input from stdin
34816 cat >$tmp/stdin
34817 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34818 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34819 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34820 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34821 * ) ac_file_in=$ac_file.in ;;
34822 esac
34824 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34825 echo "$as_me: creating $ac_file" >&6;}
34827 # First look for the input files in the build tree, otherwise in the
34828 # src tree.
34829 ac_file_inputs=`IFS=:
34830 for f in $ac_file_in; do
34831 case $f in
34832 -) echo $tmp/stdin ;;
34833 [\\/$]*)
34834 # Absolute (can't be DOS-style, as IFS=:)
34835 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34836 echo "$as_me: error: cannot find input file: $f" >&2;}
34837 { (exit 1); exit 1; }; }
34838 # Do quote $f, to prevent DOS paths from being IFS'd.
34839 echo "$f";;
34840 *) # Relative
34841 if test -f "$f"; then
34842 # Build tree
34843 echo "$f"
34844 elif test -f "$srcdir/$f"; then
34845 # Source tree
34846 echo "$srcdir/$f"
34847 else
34848 # /dev/null tree
34849 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34850 echo "$as_me: error: cannot find input file: $f" >&2;}
34851 { (exit 1); exit 1; }; }
34852 fi;;
34853 esac
34854 done` || { (exit 1); exit 1; }
34855 # Remove the trailing spaces.
34856 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34858 _ACEOF
34860 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34861 # `conftest.undefs', that substitutes the proper values into
34862 # config.h.in to produce config.h. The first handles `#define'
34863 # templates, and the second `#undef' templates.
34864 # And first: Protect against being on the right side of a sed subst in
34865 # config.status. Protect against being in an unquoted here document
34866 # in config.status.
34867 rm -f conftest.defines conftest.undefs
34868 # Using a here document instead of a string reduces the quoting nightmare.
34869 # Putting comments in sed scripts is not portable.
34871 # `end' is used to avoid that the second main sed command (meant for
34872 # 0-ary CPP macros) applies to n-ary macro definitions.
34873 # See the Autoconf documentation for `clear'.
34874 cat >confdef2sed.sed <<\_ACEOF
34875 s/[\\&,]/\\&/g
34876 s,[\\$`],\\&,g
34877 t clear
34878 : clear
34879 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34880 t end
34881 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34882 : end
34883 _ACEOF
34884 # If some macros were called several times there might be several times
34885 # the same #defines, which is useless. Nevertheless, we may not want to
34886 # sort them, since we want the *last* AC-DEFINE to be honored.
34887 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34888 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34889 rm -f confdef2sed.sed
34891 # This sed command replaces #undef with comments. This is necessary, for
34892 # example, in the case of _POSIX_SOURCE, which is predefined and required
34893 # on some systems where configure will not decide to define it.
34894 cat >>conftest.undefs <<\_ACEOF
34895 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34896 _ACEOF
34898 # Break up conftest.defines because some shells have a limit on the size
34899 # of here documents, and old seds have small limits too (100 cmds).
34900 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34901 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34902 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34903 echo ' :' >>$CONFIG_STATUS
34904 rm -f conftest.tail
34905 while grep . conftest.defines >/dev/null
34907 # Write a limited-size here document to $tmp/defines.sed.
34908 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34909 # Speed up: don't consider the non `#define' lines.
34910 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34911 # Work around the forget-to-reset-the-flag bug.
34912 echo 't clr' >>$CONFIG_STATUS
34913 echo ': clr' >>$CONFIG_STATUS
34914 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34915 echo 'CEOF
34916 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34917 rm -f $tmp/in
34918 mv $tmp/out $tmp/in
34919 ' >>$CONFIG_STATUS
34920 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34921 rm -f conftest.defines
34922 mv conftest.tail conftest.defines
34923 done
34924 rm -f conftest.defines
34925 echo ' fi # grep' >>$CONFIG_STATUS
34926 echo >>$CONFIG_STATUS
34928 # Break up conftest.undefs because some shells have a limit on the size
34929 # of here documents, and old seds have small limits too (100 cmds).
34930 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34931 rm -f conftest.tail
34932 while grep . conftest.undefs >/dev/null
34934 # Write a limited-size here document to $tmp/undefs.sed.
34935 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34936 # Speed up: don't consider the non `#undef'
34937 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34938 # Work around the forget-to-reset-the-flag bug.
34939 echo 't clr' >>$CONFIG_STATUS
34940 echo ': clr' >>$CONFIG_STATUS
34941 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34942 echo 'CEOF
34943 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34944 rm -f $tmp/in
34945 mv $tmp/out $tmp/in
34946 ' >>$CONFIG_STATUS
34947 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34948 rm -f conftest.undefs
34949 mv conftest.tail conftest.undefs
34950 done
34951 rm -f conftest.undefs
34953 cat >>$CONFIG_STATUS <<\_ACEOF
34954 # Let's still pretend it is `configure' which instantiates (i.e., don't
34955 # use $as_me), people would be surprised to read:
34956 # /* config.h. Generated by config.status. */
34957 if test x"$ac_file" = x-; then
34958 echo "/* Generated by configure. */" >$tmp/config.h
34959 else
34960 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34962 cat $tmp/in >>$tmp/config.h
34963 rm -f $tmp/in
34964 if test x"$ac_file" != x-; then
34965 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34966 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34967 echo "$as_me: $ac_file is unchanged" >&6;}
34968 else
34969 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34970 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34971 X"$ac_file" : 'X\(//\)[^/]' \| \
34972 X"$ac_file" : 'X\(//\)$' \| \
34973 X"$ac_file" : 'X\(/\)' \| \
34974 . : '\(.\)' 2>/dev/null ||
34975 echo X"$ac_file" |
34976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34978 /^X\(\/\/\)$/{ s//\1/; q; }
34979 /^X\(\/\).*/{ s//\1/; q; }
34980 s/.*/./; q'`
34981 { if $as_mkdir_p; then
34982 mkdir -p "$ac_dir"
34983 else
34984 as_dir="$ac_dir"
34985 as_dirs=
34986 while test ! -d "$as_dir"; do
34987 as_dirs="$as_dir $as_dirs"
34988 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34990 X"$as_dir" : 'X\(//\)[^/]' \| \
34991 X"$as_dir" : 'X\(//\)$' \| \
34992 X"$as_dir" : 'X\(/\)' \| \
34993 . : '\(.\)' 2>/dev/null ||
34994 echo X"$as_dir" |
34995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34997 /^X\(\/\/\)$/{ s//\1/; q; }
34998 /^X\(\/\).*/{ s//\1/; q; }
34999 s/.*/./; q'`
35000 done
35001 test ! -n "$as_dirs" || mkdir $as_dirs
35002 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35003 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35004 { (exit 1); exit 1; }; }; }
35006 rm -f $ac_file
35007 mv $tmp/config.h $ac_file
35009 else
35010 cat $tmp/config.h
35011 rm -f $tmp/config.h
35013 # Compute $ac_file's index in $config_headers.
35014 _am_stamp_count=1
35015 for _am_header in $config_headers :; do
35016 case $_am_header in
35017 $ac_file | $ac_file:* )
35018 break ;;
35020 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35021 esac
35022 done
35023 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35024 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35025 X$ac_file : 'X\(//\)[^/]' \| \
35026 X$ac_file : 'X\(//\)$' \| \
35027 X$ac_file : 'X\(/\)' \| \
35028 . : '\(.\)' 2>/dev/null ||
35029 echo X$ac_file |
35030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35032 /^X\(\/\/\)$/{ s//\1/; q; }
35033 /^X\(\/\).*/{ s//\1/; q; }
35034 s/.*/./; q'`/stamp-h$_am_stamp_count
35035 done
35036 _ACEOF
35037 cat >>$CONFIG_STATUS <<\_ACEOF
35040 # CONFIG_COMMANDS section.
35042 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35043 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35044 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35045 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35046 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35047 X"$ac_dest" : 'X\(//\)[^/]' \| \
35048 X"$ac_dest" : 'X\(//\)$' \| \
35049 X"$ac_dest" : 'X\(/\)' \| \
35050 . : '\(.\)' 2>/dev/null ||
35051 echo X"$ac_dest" |
35052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35054 /^X\(\/\/\)$/{ s//\1/; q; }
35055 /^X\(\/\).*/{ s//\1/; q; }
35056 s/.*/./; q'`
35057 { if $as_mkdir_p; then
35058 mkdir -p "$ac_dir"
35059 else
35060 as_dir="$ac_dir"
35061 as_dirs=
35062 while test ! -d "$as_dir"; do
35063 as_dirs="$as_dir $as_dirs"
35064 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35066 X"$as_dir" : 'X\(//\)[^/]' \| \
35067 X"$as_dir" : 'X\(//\)$' \| \
35068 X"$as_dir" : 'X\(/\)' \| \
35069 . : '\(.\)' 2>/dev/null ||
35070 echo X"$as_dir" |
35071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35073 /^X\(\/\/\)$/{ s//\1/; q; }
35074 /^X\(\/\).*/{ s//\1/; q; }
35075 s/.*/./; q'`
35076 done
35077 test ! -n "$as_dirs" || mkdir $as_dirs
35078 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35079 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35080 { (exit 1); exit 1; }; }; }
35082 ac_builddir=.
35084 if test "$ac_dir" != .; then
35085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35086 # A "../" for each directory in $ac_dir_suffix.
35087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35088 else
35089 ac_dir_suffix= ac_top_builddir=
35092 case $srcdir in
35093 .) # No --srcdir option. We are building in place.
35094 ac_srcdir=.
35095 if test -z "$ac_top_builddir"; then
35096 ac_top_srcdir=.
35097 else
35098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35099 fi ;;
35100 [\\/]* | ?:[\\/]* ) # Absolute path.
35101 ac_srcdir=$srcdir$ac_dir_suffix;
35102 ac_top_srcdir=$srcdir ;;
35103 *) # Relative path.
35104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35106 esac
35108 # Do not use `cd foo && pwd` to compute absolute paths, because
35109 # the directories may not exist.
35110 case `pwd` in
35111 .) ac_abs_builddir="$ac_dir";;
35113 case "$ac_dir" in
35114 .) ac_abs_builddir=`pwd`;;
35115 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35116 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35117 esac;;
35118 esac
35119 case $ac_abs_builddir in
35120 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35122 case ${ac_top_builddir}. in
35123 .) ac_abs_top_builddir=$ac_abs_builddir;;
35124 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35125 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35126 esac;;
35127 esac
35128 case $ac_abs_builddir in
35129 .) ac_abs_srcdir=$ac_srcdir;;
35131 case $ac_srcdir in
35132 .) ac_abs_srcdir=$ac_abs_builddir;;
35133 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35134 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35135 esac;;
35136 esac
35137 case $ac_abs_builddir in
35138 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35140 case $ac_top_srcdir in
35141 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35142 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35143 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35144 esac;;
35145 esac
35148 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35149 echo "$as_me: executing $ac_dest commands" >&6;}
35150 case $ac_dest in
35151 default-1 )
35152 # Only add multilib support code if we just rebuilt the top-level
35153 # Makefile.
35154 case " $CONFIG_FILES " in
35155 *" Makefile "*)
35156 ac_file=Makefile . ${multi_basedir}/config-ml.in
35158 esac ;;
35159 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35160 # Strip MF so we end up with the name of the file.
35161 mf=`echo "$mf" | sed -e 's/:.*$//'`
35162 # Check whether this is an Automake generated Makefile or not.
35163 # We used to match only the files named `Makefile.in', but
35164 # some people rename them; so instead we look at the file content.
35165 # Grep'ing the first line is not enough: some people post-process
35166 # each Makefile.in and add a new line on top of each file to say so.
35167 # So let's grep whole file.
35168 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35169 dirpart=`(dirname "$mf") 2>/dev/null ||
35170 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35171 X"$mf" : 'X\(//\)[^/]' \| \
35172 X"$mf" : 'X\(//\)$' \| \
35173 X"$mf" : 'X\(/\)' \| \
35174 . : '\(.\)' 2>/dev/null ||
35175 echo X"$mf" |
35176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35178 /^X\(\/\/\)$/{ s//\1/; q; }
35179 /^X\(\/\).*/{ s//\1/; q; }
35180 s/.*/./; q'`
35181 else
35182 continue
35184 # Extract the definition of DEPDIR, am__include, and am__quote
35185 # from the Makefile without running `make'.
35186 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35187 test -z "$DEPDIR" && continue
35188 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35189 test -z "am__include" && continue
35190 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35191 # When using ansi2knr, U may be empty or an underscore; expand it
35192 U=`sed -n 's/^U = //p' < "$mf"`
35193 # Find all dependency output files, they are included files with
35194 # $(DEPDIR) in their names. We invoke sed twice because it is the
35195 # simplest approach to changing $(DEPDIR) to its actual value in the
35196 # expansion.
35197 for file in `sed -n "
35198 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35199 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35200 # Make sure the directory exists.
35201 test -f "$dirpart/$file" && continue
35202 fdir=`(dirname "$file") 2>/dev/null ||
35203 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35204 X"$file" : 'X\(//\)[^/]' \| \
35205 X"$file" : 'X\(//\)$' \| \
35206 X"$file" : 'X\(/\)' \| \
35207 . : '\(.\)' 2>/dev/null ||
35208 echo X"$file" |
35209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35211 /^X\(\/\/\)$/{ s//\1/; q; }
35212 /^X\(\/\).*/{ s//\1/; q; }
35213 s/.*/./; q'`
35214 { if $as_mkdir_p; then
35215 mkdir -p $dirpart/$fdir
35216 else
35217 as_dir=$dirpart/$fdir
35218 as_dirs=
35219 while test ! -d "$as_dir"; do
35220 as_dirs="$as_dir $as_dirs"
35221 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35223 X"$as_dir" : 'X\(//\)[^/]' \| \
35224 X"$as_dir" : 'X\(//\)$' \| \
35225 X"$as_dir" : 'X\(/\)' \| \
35226 . : '\(.\)' 2>/dev/null ||
35227 echo X"$as_dir" |
35228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35230 /^X\(\/\/\)$/{ s//\1/; q; }
35231 /^X\(\/\).*/{ s//\1/; q; }
35232 s/.*/./; q'`
35233 done
35234 test ! -n "$as_dirs" || mkdir $as_dirs
35235 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35236 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35237 { (exit 1); exit 1; }; }; }
35239 # echo "creating $dirpart/$file"
35240 echo '# dummy' > "$dirpart/$file"
35241 done
35242 done
35244 libtool )
35246 # See if we are running on zsh, and set the options which allow our
35247 # commands through without removal of \ escapes.
35248 if test -n "${ZSH_VERSION+set}" ; then
35249 setopt NO_GLOB_SUBST
35252 cfgfile="${ofile}T"
35253 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35254 $RM "$cfgfile"
35256 cat <<_LT_EOF >> "$cfgfile"
35257 #! $SHELL
35259 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35260 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35261 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35262 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35264 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35265 # 2006, 2007 Free Software Foundation, Inc.
35267 # This file is part of GNU Libtool:
35268 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35270 # This program is free software; you can redistribute it and/or modify
35271 # it under the terms of the GNU General Public License as published by
35272 # the Free Software Foundation; either version 2 of the License, or
35273 # (at your option) any later version.
35275 # This program is distributed in the hope that it will be useful, but
35276 # WITHOUT ANY WARRANTY; without even the implied warranty of
35277 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35278 # General Public License for more details.
35280 # You should have received a copy of the GNU General Public License
35281 # along with this program; if not, a copy can be downloaded from
35282 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35283 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35284 # MA 02110-1301, USA.
35286 # As a special exception to the GNU General Public License, if you
35287 # distribute this file as part of a program that contains a
35288 # configuration script generated by Autoconf, you may include it under
35289 # the same distribution terms that you use for the rest of that program.
35292 # The names of the tagged configurations supported by this script.
35293 available_tags="FC "
35295 # ### BEGIN LIBTOOL CONFIG
35297 # Which release of libtool.m4 was used?
35298 macro_version=$macro_version
35299 macro_revision=$macro_revision
35301 # Whether or not to build shared libraries.
35302 build_libtool_libs=$enable_shared
35304 # Whether or not to build static libraries.
35305 build_old_libs=$enable_static
35307 # What type of objects to build.
35308 pic_mode=$pic_mode
35310 # Whether or not to optimize for fast installation.
35311 fast_install=$enable_fast_install
35313 # The host system.
35314 host_alias=$host_alias
35315 host=$host
35316 host_os=$host_os
35318 # The build system.
35319 build_alias=$build_alias
35320 build=$build
35321 build_os=$build_os
35323 # A sed program that does not truncate output.
35324 SED=$lt_SED
35326 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35327 Xsed="\$SED -e 1s/^X//"
35329 # A grep program that handles long lines.
35330 GREP=$lt_GREP
35332 # An ERE matcher.
35333 EGREP=$lt_EGREP
35335 # A literal string matcher.
35336 FGREP=$lt_FGREP
35338 # A BSD- or MS-compatible name lister.
35339 NM=$lt_NM
35341 # Whether we need soft or hard links.
35342 LN_S=$lt_LN_S
35344 # What is the maximum length of a command?
35345 max_cmd_len=$max_cmd_len
35347 # Object file suffix (normally "o").
35348 objext=$ac_objext
35350 # Executable file suffix (normally "").
35351 exeext=$exeext
35353 # whether the shell understands "unset".
35354 lt_unset=$lt_unset
35356 # turn spaces into newlines.
35357 SP2NL=$lt_lt_SP2NL
35359 # turn newlines into spaces.
35360 NL2SP=$lt_lt_NL2SP
35362 # How to create reloadable object files.
35363 reload_flag=$lt_reload_flag
35364 reload_cmds=$lt_reload_cmds
35366 # Method to check whether dependent libraries are shared objects.
35367 deplibs_check_method=$lt_deplibs_check_method
35369 # Command to use when deplibs_check_method == "file_magic".
35370 file_magic_cmd=$lt_file_magic_cmd
35372 # The archiver.
35373 AR=$lt_AR
35374 AR_FLAGS=$lt_AR_FLAGS
35376 # A symbol stripping program.
35377 STRIP=$lt_STRIP
35379 # Commands used to install an old-style archive.
35380 RANLIB=$lt_RANLIB
35381 old_postinstall_cmds=$lt_old_postinstall_cmds
35382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35384 # A C compiler.
35385 LTCC=$lt_CC
35387 # LTCC compiler flags.
35388 LTCFLAGS=$lt_CFLAGS
35390 # Take the output of nm and produce a listing of raw symbols and C names.
35391 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35393 # Transform the output of nm in a proper C declaration.
35394 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35396 # Transform the output of nm in a C name address pair.
35397 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35399 # The name of the directory that contains temporary libtool files.
35400 objdir=$objdir
35402 # Shell to use when invoking shell scripts.
35403 SHELL=$lt_SHELL
35405 # An echo program that does not interpret backslashes.
35406 ECHO=$lt_ECHO
35408 # Used to examine libraries when file_magic_cmd begins with "file".
35409 MAGIC_CMD=$MAGIC_CMD
35411 # Must we lock files when doing compilation?
35412 need_locks=$lt_need_locks
35414 # Old archive suffix (normally "a").
35415 libext=$libext
35417 # Shared library suffix (normally ".so").
35418 shrext_cmds=$lt_shrext_cmds
35420 # The commands to extract the exported symbol list from a shared archive.
35421 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35423 # Variables whose values should be saved in libtool wrapper scripts and
35424 # restored at link time.
35425 variables_saved_for_relink=$lt_variables_saved_for_relink
35427 # Do we need the "lib" prefix for modules?
35428 need_lib_prefix=$need_lib_prefix
35430 # Do we need a version for libraries?
35431 need_version=$need_version
35433 # Library versioning type.
35434 version_type=$version_type
35436 # Shared library runtime path variable.
35437 runpath_var=$runpath_var
35439 # Shared library path variable.
35440 shlibpath_var=$shlibpath_var
35442 # Is shlibpath searched before the hard-coded library search path?
35443 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35445 # Format of library name prefix.
35446 libname_spec=$lt_libname_spec
35448 # List of archive names. First name is the real one, the rest are links.
35449 # The last name is the one that the linker finds with -lNAME
35450 library_names_spec=$lt_library_names_spec
35452 # The coded name of the library, if different from the real name.
35453 soname_spec=$lt_soname_spec
35455 # Command to use after installation of a shared archive.
35456 postinstall_cmds=$lt_postinstall_cmds
35458 # Command to use after uninstallation of a shared archive.
35459 postuninstall_cmds=$lt_postuninstall_cmds
35461 # Commands used to finish a libtool library installation in a directory.
35462 finish_cmds=$lt_finish_cmds
35464 # As "finish_cmds", except a single script fragment to be evaled but
35465 # not shown.
35466 finish_eval=$lt_finish_eval
35468 # Whether we should hardcode library paths into libraries.
35469 hardcode_into_libs=$hardcode_into_libs
35471 # Compile-time system search path for libraries.
35472 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35474 # Run-time system search path for libraries.
35475 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35477 # Whether dlopen is supported.
35478 dlopen_support=$enable_dlopen
35480 # Whether dlopen of programs is supported.
35481 dlopen_self=$enable_dlopen_self
35483 # Whether dlopen of statically linked programs is supported.
35484 dlopen_self_static=$enable_dlopen_self_static
35486 # Commands to strip libraries.
35487 old_striplib=$lt_old_striplib
35488 striplib=$lt_striplib
35491 # The linker used to build libraries.
35492 LD=$lt_LD
35494 # Commands used to build an old-style archive.
35495 old_archive_cmds=$lt_old_archive_cmds
35497 # A language specific compiler.
35498 CC=$lt_compiler
35500 # Is the compiler the GNU compiler?
35501 with_gcc=$GCC
35503 # Compiler flag to turn off builtin functions.
35504 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35506 # How to pass a linker flag through the compiler.
35507 wl=$lt_lt_prog_compiler_wl
35509 # Additional compiler flags for building library objects.
35510 pic_flag=$lt_lt_prog_compiler_pic
35512 # Compiler flag to prevent dynamic linking.
35513 link_static_flag=$lt_lt_prog_compiler_static
35515 # Does compiler simultaneously support -c and -o options?
35516 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35518 # Whether or not to add -lc for building shared libraries.
35519 build_libtool_need_lc=$archive_cmds_need_lc
35521 # Whether or not to disallow shared libs when runtime libs are static.
35522 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35524 # Compiler flag to allow reflexive dlopens.
35525 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35527 # Compiler flag to generate shared objects directly from archives.
35528 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35530 # Whether the compiler copes with passing no objects directly.
35531 compiler_needs_object=$lt_compiler_needs_object
35533 # Create an old-style archive from a shared archive.
35534 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35536 # Create a temporary old-style archive to link instead of a shared archive.
35537 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35539 # Commands used to build a shared archive.
35540 archive_cmds=$lt_archive_cmds
35541 archive_expsym_cmds=$lt_archive_expsym_cmds
35543 # Commands used to build a loadable module if different from building
35544 # a shared archive.
35545 module_cmds=$lt_module_cmds
35546 module_expsym_cmds=$lt_module_expsym_cmds
35548 # Whether we are building with GNU ld or not.
35549 with_gnu_ld=$lt_with_gnu_ld
35551 # Flag that allows shared libraries with undefined symbols to be built.
35552 allow_undefined_flag=$lt_allow_undefined_flag
35554 # Flag that enforces no undefined symbols.
35555 no_undefined_flag=$lt_no_undefined_flag
35557 # Flag to hardcode \$libdir into a binary during linking.
35558 # This must work even if \$libdir does not exist
35559 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35561 # If ld is used when linking, flag to hardcode \$libdir into a binary
35562 # during linking. This must work even if \$libdir does not exist.
35563 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35565 # Whether we need a single "-rpath" flag with a separated argument.
35566 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35568 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35569 # DIR into the resulting binary.
35570 hardcode_direct=$hardcode_direct
35572 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35573 # DIR into the resulting binary and the resulting library dependency is
35574 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35575 # library is relocated.
35576 hardcode_direct_absolute=$hardcode_direct_absolute
35578 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35579 # into the resulting binary.
35580 hardcode_minus_L=$hardcode_minus_L
35582 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35583 # into the resulting binary.
35584 hardcode_shlibpath_var=$hardcode_shlibpath_var
35586 # Set to "yes" if building a shared library automatically hardcodes DIR
35587 # into the library and all subsequent libraries and executables linked
35588 # against it.
35589 hardcode_automatic=$hardcode_automatic
35591 # Set to yes if linker adds runtime paths of dependent libraries
35592 # to runtime path list.
35593 inherit_rpath=$inherit_rpath
35595 # Whether libtool must link a program against all its dependency libraries.
35596 link_all_deplibs=$link_all_deplibs
35598 # Fix the shell variable \$srcfile for the compiler.
35599 fix_srcfile_path=$lt_fix_srcfile_path
35601 # Set to "yes" if exported symbols are required.
35602 always_export_symbols=$always_export_symbols
35604 # The commands to list exported symbols.
35605 export_symbols_cmds=$lt_export_symbols_cmds
35607 # Symbols that should not be listed in the preloaded symbols.
35608 exclude_expsyms=$lt_exclude_expsyms
35610 # Symbols that must always be exported.
35611 include_expsyms=$lt_include_expsyms
35613 # Commands necessary for linking programs (against libraries) with templates.
35614 prelink_cmds=$lt_prelink_cmds
35616 # Specify filename containing input files.
35617 file_list_spec=$lt_file_list_spec
35619 # How to hardcode a shared library path into an executable.
35620 hardcode_action=$hardcode_action
35622 # Dependencies to place before and after the objects being linked to
35623 # create a shared library.
35624 predep_objects=$lt_predep_objects
35625 postdep_objects=$lt_postdep_objects
35626 predeps=$lt_predeps
35627 postdeps=$lt_postdeps
35629 # The library search path used internally by the compiler when linking
35630 # a shared library.
35631 compiler_lib_search_path=$lt_compiler_lib_search_path
35633 # ### END LIBTOOL CONFIG
35635 _LT_EOF
35637 case $host_os in
35638 aix3*)
35639 cat <<\_LT_EOF >> "$cfgfile"
35640 # AIX sometimes has problems with the GCC collect2 program. For some
35641 # reason, if we set the COLLECT_NAMES environment variable, the problems
35642 # vanish in a puff of smoke.
35643 if test "X${COLLECT_NAMES+set}" != Xset; then
35644 COLLECT_NAMES=
35645 export COLLECT_NAMES
35647 _LT_EOF
35649 esac
35652 ltmain="$ac_aux_dir/ltmain.sh"
35655 # We use sed instead of cat because bash on DJGPP gets confused if
35656 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35657 # text mode, it properly converts lines to CR/LF. This bash problem
35658 # is reportedly fixed, but why not run on old versions too?
35659 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35660 || (rm -f "$cfgfile"; exit 1)
35662 case $xsi_shell in
35663 yes)
35664 cat << \_LT_EOF >> "$cfgfile"
35665 # func_dirname file append nondir_replacement
35666 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35667 # otherwise set result to NONDIR_REPLACEMENT.
35668 func_dirname ()
35670 case ${1} in
35671 */*) func_dirname_result="${1%/*}${2}" ;;
35672 * ) func_dirname_result="${3}" ;;
35673 esac
35676 # func_basename file
35677 func_basename ()
35679 func_basename_result="${1##*/}"
35682 # func_stripname prefix suffix name
35683 # strip PREFIX and SUFFIX off of NAME.
35684 # PREFIX and SUFFIX must not contain globbing or regex special
35685 # characters, hashes, percent signs, but SUFFIX may contain a leading
35686 # dot (in which case that matches only a dot).
35687 func_stripname ()
35689 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35690 # positional parameters, so assign one to ordinary parameter first.
35691 func_stripname_result=${3}
35692 func_stripname_result=${func_stripname_result#"${1}"}
35693 func_stripname_result=${func_stripname_result%"${2}"}
35696 # func_opt_split
35697 func_opt_split ()
35699 func_opt_split_opt=${1%%=*}
35700 func_opt_split_arg=${1#*=}
35703 # func_lo2o object
35704 func_lo2o ()
35706 case ${1} in
35707 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35708 *) func_lo2o_result=${1} ;;
35709 esac
35711 _LT_EOF
35713 *) # Bourne compatible functions.
35714 cat << \_LT_EOF >> "$cfgfile"
35715 # func_dirname file append nondir_replacement
35716 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35717 # otherwise set result to NONDIR_REPLACEMENT.
35718 func_dirname ()
35720 # Extract subdirectory from the argument.
35721 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35722 if test "X$func_dirname_result" = "X${1}"; then
35723 func_dirname_result="${3}"
35724 else
35725 func_dirname_result="$func_dirname_result${2}"
35729 # func_basename file
35730 func_basename ()
35732 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35735 # func_stripname prefix suffix name
35736 # strip PREFIX and SUFFIX off of NAME.
35737 # PREFIX and SUFFIX must not contain globbing or regex special
35738 # characters, hashes, percent signs, but SUFFIX may contain a leading
35739 # dot (in which case that matches only a dot).
35740 # func_strip_suffix prefix name
35741 func_stripname ()
35743 case ${2} in
35744 .*) func_stripname_result=`$ECHO "X${3}" \
35745 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35746 *) func_stripname_result=`$ECHO "X${3}" \
35747 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35748 esac
35751 # sed scripts:
35752 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35753 my_sed_long_arg='1s/^-[^=]*=//'
35755 # func_opt_split
35756 func_opt_split ()
35758 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35759 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35762 # func_lo2o object
35763 func_lo2o ()
35765 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35767 _LT_EOF
35768 esac
35770 case $lt_shell_append in
35771 yes)
35772 cat << \_LT_EOF >> "$cfgfile"
35774 # func_append var value
35775 # Append VALUE to the end of shell variable VAR.
35776 func_append ()
35778 eval "$1+=\$2"
35780 _LT_EOF
35783 cat << \_LT_EOF >> "$cfgfile"
35785 # func_append var value
35786 # Append VALUE to the end of shell variable VAR.
35787 func_append ()
35789 eval "$1=\$$1\$2"
35791 _LT_EOF
35793 esac
35796 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35797 || (rm -f "$cfgfile"; exit 1)
35799 mv -f "$cfgfile" "$ofile" ||
35800 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35801 chmod +x "$ofile"
35804 cat <<_LT_EOF >> "$ofile"
35806 # ### BEGIN LIBTOOL TAG CONFIG: FC
35808 # The linker used to build libraries.
35809 LD=$lt_LD_FC
35811 # Commands used to build an old-style archive.
35812 old_archive_cmds=$lt_old_archive_cmds_FC
35814 # A language specific compiler.
35815 CC=$lt_compiler_FC
35817 # Is the compiler the GNU compiler?
35818 with_gcc=$GCC_FC
35820 # Compiler flag to turn off builtin functions.
35821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35823 # How to pass a linker flag through the compiler.
35824 wl=$lt_lt_prog_compiler_wl_FC
35826 # Additional compiler flags for building library objects.
35827 pic_flag=$lt_lt_prog_compiler_pic_FC
35829 # Compiler flag to prevent dynamic linking.
35830 link_static_flag=$lt_lt_prog_compiler_static_FC
35832 # Does compiler simultaneously support -c and -o options?
35833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35835 # Whether or not to add -lc for building shared libraries.
35836 build_libtool_need_lc=$archive_cmds_need_lc_FC
35838 # Whether or not to disallow shared libs when runtime libs are static.
35839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35841 # Compiler flag to allow reflexive dlopens.
35842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35844 # Compiler flag to generate shared objects directly from archives.
35845 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35847 # Whether the compiler copes with passing no objects directly.
35848 compiler_needs_object=$lt_compiler_needs_object_FC
35850 # Create an old-style archive from a shared archive.
35851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35853 # Create a temporary old-style archive to link instead of a shared archive.
35854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35856 # Commands used to build a shared archive.
35857 archive_cmds=$lt_archive_cmds_FC
35858 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35860 # Commands used to build a loadable module if different from building
35861 # a shared archive.
35862 module_cmds=$lt_module_cmds_FC
35863 module_expsym_cmds=$lt_module_expsym_cmds_FC
35865 # Whether we are building with GNU ld or not.
35866 with_gnu_ld=$lt_with_gnu_ld_FC
35868 # Flag that allows shared libraries with undefined symbols to be built.
35869 allow_undefined_flag=$lt_allow_undefined_flag_FC
35871 # Flag that enforces no undefined symbols.
35872 no_undefined_flag=$lt_no_undefined_flag_FC
35874 # Flag to hardcode \$libdir into a binary during linking.
35875 # This must work even if \$libdir does not exist
35876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35878 # If ld is used when linking, flag to hardcode \$libdir into a binary
35879 # during linking. This must work even if \$libdir does not exist.
35880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35882 # Whether we need a single "-rpath" flag with a separated argument.
35883 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35886 # DIR into the resulting binary.
35887 hardcode_direct=$hardcode_direct_FC
35889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35890 # DIR into the resulting binary and the resulting library dependency is
35891 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35892 # library is relocated.
35893 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35895 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35896 # into the resulting binary.
35897 hardcode_minus_L=$hardcode_minus_L_FC
35899 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35900 # into the resulting binary.
35901 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35903 # Set to "yes" if building a shared library automatically hardcodes DIR
35904 # into the library and all subsequent libraries and executables linked
35905 # against it.
35906 hardcode_automatic=$hardcode_automatic_FC
35908 # Set to yes if linker adds runtime paths of dependent libraries
35909 # to runtime path list.
35910 inherit_rpath=$inherit_rpath_FC
35912 # Whether libtool must link a program against all its dependency libraries.
35913 link_all_deplibs=$link_all_deplibs_FC
35915 # Fix the shell variable \$srcfile for the compiler.
35916 fix_srcfile_path=$lt_fix_srcfile_path_FC
35918 # Set to "yes" if exported symbols are required.
35919 always_export_symbols=$always_export_symbols_FC
35921 # The commands to list exported symbols.
35922 export_symbols_cmds=$lt_export_symbols_cmds_FC
35924 # Symbols that should not be listed in the preloaded symbols.
35925 exclude_expsyms=$lt_exclude_expsyms_FC
35927 # Symbols that must always be exported.
35928 include_expsyms=$lt_include_expsyms_FC
35930 # Commands necessary for linking programs (against libraries) with templates.
35931 prelink_cmds=$lt_prelink_cmds_FC
35933 # Specify filename containing input files.
35934 file_list_spec=$lt_file_list_spec_FC
35936 # How to hardcode a shared library path into an executable.
35937 hardcode_action=$hardcode_action_FC
35939 # Dependencies to place before and after the objects being linked to
35940 # create a shared library.
35941 predep_objects=$lt_predep_objects_FC
35942 postdep_objects=$lt_postdep_objects_FC
35943 predeps=$lt_predeps_FC
35944 postdeps=$lt_postdeps_FC
35946 # The library search path used internally by the compiler when linking
35947 # a shared library.
35948 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35950 # ### END LIBTOOL TAG CONFIG: FC
35951 _LT_EOF
35954 gstdint.h )
35955 if test "$GCC" = yes; then
35956 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35957 else
35958 echo "/* generated for $CC */" > tmp-stdint.h
35961 sed 's/^ *//' >> tmp-stdint.h <<EOF
35963 #ifndef GCC_GENERATED_STDINT_H
35964 #define GCC_GENERATED_STDINT_H 1
35966 #include <sys/types.h>
35969 if test "$acx_cv_header_stdint" != stdint.h; then
35970 echo "#include <stddef.h>" >> tmp-stdint.h
35972 if test "$acx_cv_header_stdint" != stddef.h; then
35973 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35976 sed 's/^ *//' >> tmp-stdint.h <<EOF
35977 /* glibc uses these symbols as guards to prevent redefinitions. */
35978 #ifdef __int8_t_defined
35979 #define _INT8_T
35980 #define _INT16_T
35981 #define _INT32_T
35982 #endif
35983 #ifdef __uint32_t_defined
35984 #define _UINT32_T
35985 #endif
35989 # ----------------- done header, emit basic int types -------------
35990 if test "$acx_cv_header_stdint" = stddef.h; then
35991 sed 's/^ *//' >> tmp-stdint.h <<EOF
35993 #ifndef _UINT8_T
35994 #define _UINT8_T
35995 #ifndef __uint8_t_defined
35996 #define __uint8_t_defined
35997 typedef unsigned $acx_cv_type_int8_t uint8_t;
35998 #endif
35999 #endif
36001 #ifndef _UINT16_T
36002 #define _UINT16_T
36003 #ifndef __uint16_t_defined
36004 #define __uint16_t_defined
36005 typedef unsigned $acx_cv_type_int16_t uint16_t;
36006 #endif
36007 #endif
36009 #ifndef _UINT32_T
36010 #define _UINT32_T
36011 #ifndef __uint32_t_defined
36012 #define __uint32_t_defined
36013 typedef unsigned $acx_cv_type_int32_t uint32_t;
36014 #endif
36015 #endif
36017 #ifndef _INT8_T
36018 #define _INT8_T
36019 #ifndef __int8_t_defined
36020 #define __int8_t_defined
36021 typedef $acx_cv_type_int8_t int8_t;
36022 #endif
36023 #endif
36025 #ifndef _INT16_T
36026 #define _INT16_T
36027 #ifndef __int16_t_defined
36028 #define __int16_t_defined
36029 typedef $acx_cv_type_int16_t int16_t;
36030 #endif
36031 #endif
36033 #ifndef _INT32_T
36034 #define _INT32_T
36035 #ifndef __int32_t_defined
36036 #define __int32_t_defined
36037 typedef $acx_cv_type_int32_t int32_t;
36038 #endif
36039 #endif
36041 elif test "$ac_cv_type_u_int32_t" = yes; then
36042 sed 's/^ *//' >> tmp-stdint.h <<EOF
36044 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36045 #ifndef _INT8_T
36046 #define _INT8_T
36047 #endif
36048 #ifndef _INT16_T
36049 #define _INT16_T
36050 #endif
36051 #ifndef _INT32_T
36052 #define _INT32_T
36053 #endif
36055 #ifndef _UINT8_T
36056 #define _UINT8_T
36057 #ifndef __uint8_t_defined
36058 #define __uint8_t_defined
36059 typedef u_int8_t uint8_t;
36060 #endif
36061 #endif
36063 #ifndef _UINT16_T
36064 #define _UINT16_T
36065 #ifndef __uint16_t_defined
36066 #define __uint16_t_defined
36067 typedef u_int16_t uint16_t;
36068 #endif
36069 #endif
36071 #ifndef _UINT32_T
36072 #define _UINT32_T
36073 #ifndef __uint32_t_defined
36074 #define __uint32_t_defined
36075 typedef u_int32_t uint32_t;
36076 #endif
36077 #endif
36079 else
36080 sed 's/^ *//' >> tmp-stdint.h <<EOF
36082 /* Some systems have guard macros to prevent redefinitions, define them. */
36083 #ifndef _INT8_T
36084 #define _INT8_T
36085 #endif
36086 #ifndef _INT16_T
36087 #define _INT16_T
36088 #endif
36089 #ifndef _INT32_T
36090 #define _INT32_T
36091 #endif
36092 #ifndef _UINT8_T
36093 #define _UINT8_T
36094 #endif
36095 #ifndef _UINT16_T
36096 #define _UINT16_T
36097 #endif
36098 #ifndef _UINT32_T
36099 #define _UINT32_T
36100 #endif
36104 # ------------- done basic int types, emit int64_t types ------------
36105 if test "$ac_cv_type_uint64_t" = yes; then
36106 sed 's/^ *//' >> tmp-stdint.h <<EOF
36108 /* system headers have good uint64_t and int64_t */
36109 #ifndef _INT64_T
36110 #define _INT64_T
36111 #endif
36112 #ifndef _UINT64_T
36113 #define _UINT64_T
36114 #endif
36116 elif test "$ac_cv_type_u_int64_t" = yes; then
36117 sed 's/^ *//' >> tmp-stdint.h <<EOF
36119 /* system headers have an u_int64_t (and int64_t) */
36120 #ifndef _INT64_T
36121 #define _INT64_T
36122 #endif
36123 #ifndef _UINT64_T
36124 #define _UINT64_T
36125 #ifndef __uint64_t_defined
36126 #define __uint64_t_defined
36127 typedef u_int64_t uint64_t;
36128 #endif
36129 #endif
36131 elif test -n "$acx_cv_type_int64_t"; then
36132 sed 's/^ *//' >> tmp-stdint.h <<EOF
36134 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36135 #ifndef _INT64_T
36136 #define _INT64_T
36137 typedef $acx_cv_type_int64_t int64_t;
36138 #endif
36139 #ifndef _UINT64_T
36140 #define _UINT64_T
36141 #ifndef __uint64_t_defined
36142 #define __uint64_t_defined
36143 typedef unsigned $acx_cv_type_int64_t uint64_t;
36144 #endif
36145 #endif
36147 else
36148 sed 's/^ *//' >> tmp-stdint.h <<EOF
36150 /* some common heuristics for int64_t, using compiler-specific tests */
36151 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36152 #ifndef _INT64_T
36153 #define _INT64_T
36154 #ifndef __int64_t_defined
36155 typedef long long int64_t;
36156 #endif
36157 #endif
36158 #ifndef _UINT64_T
36159 #define _UINT64_T
36160 typedef unsigned long long uint64_t;
36161 #endif
36163 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36164 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36165 does not implement __extension__. But that compiler doesn't define
36166 __GNUC_MINOR__. */
36167 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36168 # define __extension__
36169 # endif
36171 # ifndef _INT64_T
36172 # define _INT64_T
36173 __extension__ typedef long long int64_t;
36174 # endif
36175 # ifndef _UINT64_T
36176 # define _UINT64_T
36177 __extension__ typedef unsigned long long uint64_t;
36178 # endif
36180 #elif !defined __STRICT_ANSI__
36181 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36183 # ifndef _INT64_T
36184 # define _INT64_T
36185 typedef __int64 int64_t;
36186 # endif
36187 # ifndef _UINT64_T
36188 # define _UINT64_T
36189 typedef unsigned __int64 uint64_t;
36190 # endif
36191 # endif /* compiler */
36193 #endif /* ANSI version */
36197 # ------------- done int64_t types, emit intptr types ------------
36198 if test "$ac_cv_type_uintptr_t" != yes; then
36199 sed 's/^ *//' >> tmp-stdint.h <<EOF
36201 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36202 #ifndef __uintptr_t_defined
36203 typedef u$acx_cv_type_intptr_t uintptr_t;
36204 #endif
36205 #ifndef __intptr_t_defined
36206 typedef $acx_cv_type_intptr_t intptr_t;
36207 #endif
36211 # ------------- done intptr types, emit int_least types ------------
36212 if test "$ac_cv_type_int_least32_t" != yes; then
36213 sed 's/^ *//' >> tmp-stdint.h <<EOF
36215 /* Define int_least types */
36216 typedef int8_t int_least8_t;
36217 typedef int16_t int_least16_t;
36218 typedef int32_t int_least32_t;
36219 #ifdef _INT64_T
36220 typedef int64_t int_least64_t;
36221 #endif
36223 typedef uint8_t uint_least8_t;
36224 typedef uint16_t uint_least16_t;
36225 typedef uint32_t uint_least32_t;
36226 #ifdef _UINT64_T
36227 typedef uint64_t uint_least64_t;
36228 #endif
36232 # ------------- done intptr types, emit int_fast types ------------
36233 if test "$ac_cv_type_int_fast32_t" != yes; then
36234 sed 's/^ *//' >> tmp-stdint.h <<EOF
36236 /* Define int_fast types. short is often slow */
36237 typedef int8_t int_fast8_t;
36238 typedef int int_fast16_t;
36239 typedef int32_t int_fast32_t;
36240 #ifdef _INT64_T
36241 typedef int64_t int_fast64_t;
36242 #endif
36244 typedef uint8_t uint_fast8_t;
36245 typedef unsigned int uint_fast16_t;
36246 typedef uint32_t uint_fast32_t;
36247 #ifdef _UINT64_T
36248 typedef uint64_t uint_fast64_t;
36249 #endif
36253 if test "$ac_cv_type_uintmax_t" != yes; then
36254 sed 's/^ *//' >> tmp-stdint.h <<EOF
36256 /* Define intmax based on what we found */
36257 #ifdef _INT64_T
36258 typedef int64_t intmax_t;
36259 #else
36260 typedef long intmax_t;
36261 #endif
36262 #ifdef _UINT64_T
36263 typedef uint64_t uintmax_t;
36264 #else
36265 typedef unsigned long uintmax_t;
36266 #endif
36270 sed 's/^ *//' >> tmp-stdint.h <<EOF
36272 #endif /* GCC_GENERATED_STDINT_H */
36275 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36276 rm -f tmp-stdint.h
36277 else
36278 mv -f tmp-stdint.h gstdint.h
36282 esac
36283 done
36284 _ACEOF
36286 cat >>$CONFIG_STATUS <<\_ACEOF
36288 { (exit 0); exit 0; }
36289 _ACEOF
36290 chmod +x $CONFIG_STATUS
36291 ac_clean_files=$ac_clean_files_save
36294 # configure is writing to config.log, and then calls config.status.
36295 # config.status does its own redirection, appending to config.log.
36296 # Unfortunately, on DOS this fails, as config.log is still kept open
36297 # by configure, so config.status won't be able to write to it; its
36298 # output is simply discarded. So we exec the FD to /dev/null,
36299 # effectively closing config.log, so it can be properly (re)opened and
36300 # appended to by config.status. When coming back to configure, we
36301 # need to make the FD available again.
36302 if test "$no_create" != yes; then
36303 ac_cs_success=:
36304 ac_config_status_args=
36305 test "$silent" = yes &&
36306 ac_config_status_args="$ac_config_status_args --quiet"
36307 exec 5>/dev/null
36308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36309 exec 5>>config.log
36310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36311 # would make configure fail if this is the last instruction.
36312 $ac_cs_success || { (exit 1); exit 1; }