]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/configure
re PR libfortran/32972 (performance of pack/unpack)
[thirdparty/gcc.git] / libgfortran / configure
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.
4 #
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 ## --------------------- ##
11
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
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
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
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
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
43 do
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
48 fi
49 done
50
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
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
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'`
76
77
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
85
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=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
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
111 do
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
116
117 ;;
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
123 fi
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; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
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
137 /*)
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
153 ;;
154 esac
155
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 '
166 N
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; }; }
177
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
184 }
185
186
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
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
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'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
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
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
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','`
252 ;;
253 esac
254
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
261 :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
264 :
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
274 $*
275 _LT_EOF
276 exit 0
277 fi
278
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
282
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
292 fi
293 done
294 fi
295
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
299 :
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'
304 #
305 # So, first we look for a working echo in the user's PATH.
306
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
316 fi
317 done
318 IFS="$lt_save_ifs"
319
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
342 :
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=:
360
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
365 fi
366 prev="$cmd"
367 done
368
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
376 fi
377 fi
378 fi
379 fi
380 fi
381 fi
382
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"
388 fi
389
390
391
392
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`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
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}
410
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}
415
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=''
422
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"
459
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=''
462
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
482
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'
500
501 ac_prev=
502 for ac_option
503 do
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
509 fi
510
511 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
512
513 # Accept the important Cygnus configure options, so we can diagnose typos.
514
515 case $ac_option in
516
517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
518 ac_prev=bindir ;;
519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520 bindir=$ac_optarg ;;
521
522 -build | --build | --buil | --bui | --bu)
523 ac_prev=build_alias ;;
524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525 build_alias=$ac_optarg ;;
526
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 ;;
533
534 --config-cache | -C)
535 cache_file=config.cache ;;
536
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 ;;
542
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" ;;
551
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'" ;;
564
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 ;;
573
574 -gas | --gas | --ga | --g)
575 # Obsolete; use --with-gas.
576 with_gas=yes ;;
577
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 ;;
584
585 -host | --host | --hos | --ho)
586 ac_prev=host_alias ;;
587 -host=* | --host=* | --hos=* | --ho=*)
588 host_alias=$ac_optarg ;;
589
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 ;;
596
597 -infodir | --infodir | --infodi | --infod | --info | --inf)
598 ac_prev=infodir ;;
599 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600 infodir=$ac_optarg ;;
601
602 -libdir | --libdir | --libdi | --libd)
603 ac_prev=libdir ;;
604 -libdir=* | --libdir=* | --libdi=* | --libd=*)
605 libdir=$ac_optarg ;;
606
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 ;;
613
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 ;;
622
623 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
624 ac_prev=mandir ;;
625 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
626 mandir=$ac_optarg ;;
627
628 -nfp | --nfp | --nf)
629 # Obsolete; use --without-fp.
630 with_fp=no ;;
631
632 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633 | --no-cr | --no-c | -n)
634 no_create=yes ;;
635
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 ;;
639
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 ;;
648
649 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
650 ac_prev=prefix ;;
651 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
652 prefix=$ac_optarg ;;
653
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 ;;
660
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 ;;
667
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 ;;
684
685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
686 | -silent | --silent | --silen | --sile | --sil)
687 silent=yes ;;
688
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 ;;
694
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 ;;
705
706 -site | --site | --sit)
707 ac_prev=site ;;
708 -site=* | --site=* | --sit=*)
709 site=$ac_optarg ;;
710
711 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
712 ac_prev=srcdir ;;
713 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
714 srcdir=$ac_optarg ;;
715
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 ;;
722
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 ;;
727
728 -v | -verbose | --verbose | --verbos | --verbo | --verb)
729 verbose=yes ;;
730
731 -version | --version | --versio | --versi | --vers | -V)
732 ac_init_version=: ;;
733
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'" ;;
746
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" ;;
755
756 --x)
757 # Obsolete; use --with-x.
758 with_x=yes ;;
759
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 ;;
766
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 ;;
773
774 -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776 { (exit 1); exit 1; }; }
777 ;;
778
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 ;;
788
789 *)
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}
795 ;;
796
797 esac
798 done
799
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; }; }
804 fi
805
806 # Be sure to have absolute paths.
807 for ac_var in exec_prefix prefix
808 do
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
816
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
820 do
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
828
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
835
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
844 fi
845 fi
846
847 ac_tool_prefix=
848 test -n "$host_alias" && ac_tool_prefix=$host_alias-
849
850 test "$silent" = yes && exec 6>/dev/null
851
852
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=..
872 fi
873 else
874 ac_srcdir_defaulted=no
875 fi
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; }; }
883 fi
884 fi
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
921
922 #
923 # Report the --help message.
924 #
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.
930
931 Usage: $0 [OPTION]... [VAR=VALUE]...
932
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.
935
936 Defaults for the options are specified in brackets.
937
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 \`..']
948
949 _ACEOF
950
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]
957
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'.
962
963 For better control, use the options below.
964
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
979
980 cat <<\_ACEOF
981
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
986
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
992 fi
993
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
999
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
1018
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]
1026
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
1037
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.
1040
1041 _ACEOF
1042 fi
1043
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=.
1050
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=
1057 fi
1058
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
1074
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";;
1079 *)
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}.;;
1088 *)
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;;
1097 *)
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;;
1106 *)
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
1113
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
1128 fi
1129 cd $ac_popdir
1130 done
1131 fi
1132
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
1138
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
1144 fi
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.
1149
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
1152
1153 $ $0 $@
1154
1155 _ACEOF
1156 {
1157 cat <<_ASUNAME
1158 ## --------- ##
1159 ## Platform. ##
1160 ## --------- ##
1161
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`
1167
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`
1170
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`
1178
1179 _ASUNAME
1180
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 for as_dir in $PATH
1183 do
1184 IFS=$as_save_IFS
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1187 done
1188
1189 } >&5
1190
1191 cat >&5 <<_ACEOF
1192
1193
1194 ## ----------- ##
1195 ## Core tests. ##
1196 ## ----------- ##
1197
1198 _ACEOF
1199
1200
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
1212 do
1213 for ac_arg
1214 do
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'" ;;
1225 2)
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
1238 ;;
1239 -* ) ac_must_keep_next=true ;;
1240 esac
1241 fi
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1244 ac_sep=" "
1245 ;;
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; }
1251
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.
1259 {
1260 echo
1261
1262 cat <<\_ASBOX
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1266 _ASBOX
1267 echo
1268 # The following way of writing the cache mishandles newlines in values,
1269 {
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"
1276 ;;
1277 *)
1278 sed -n \
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 ;;
1281 esac;
1282 }
1283 echo
1284
1285 cat <<\_ASBOX
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1289 _ASBOX
1290 echo
1291 for ac_var in $ac_subst_vars
1292 do
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1295 done | sort
1296 echo
1297
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
1306 do
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1309 done | sort
1310 echo
1311 fi
1312
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
1322 fi
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
1330 ' 0
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
1335
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
1340
1341 # Predefined preprocessor variables.
1342
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 _ACEOF
1346
1347
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 _ACEOF
1351
1352
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 _ACEOF
1356
1357
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 _ACEOF
1361
1362
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 _ACEOF
1366
1367
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"
1375 fi
1376 fi
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"
1383 fi
1384 done
1385
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
1396 fi
1397 else
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1400 >$cache_file
1401 fi
1402
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 ,);;
1422 *)
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1431 fi;;
1432 esac
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1435 case $ac_new_val in
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1439 esac
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443 esac
1444 fi
1445 done
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1452 fi
1453
1454 ac_ext=c
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486 ac_config_headers="$ac_config_headers config.h"
1487
1488 ac_aux_dir=
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1491 ac_aux_dir=$ac_dir
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 break
1494 elif test -f $ac_dir/install.sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 break
1498 elif test -f $ac_dir/shtool; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 break
1502 fi
1503 done
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1508 fi
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1518
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524 ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1535
1536 fi
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1539 build=$ac_cv_build
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545 case ${build_alias} in
1546 "") build_noncanonical=${build} ;;
1547 *) build_noncanonical=${build_alias} ;;
1548 esac
1549
1550 case ${host_alias} in
1551 "") host_noncanonical=${build_noncanonical} ;;
1552 *) host_noncanonical=${host_alias} ;;
1553 esac
1554
1555 case ${target_alias} in
1556 "") target_noncanonical=${host_noncanonical} ;;
1557 *) target_noncanonical=${target_alias} ;;
1558 esac
1559
1560
1561 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1562 # have matching libraries, they should use host libraries: Makefile.tpl
1563 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1564 # However, they still use the build modules, because the corresponding
1565 # host modules (e.g. bison) are only built for the host when bootstrap
1566 # finishes. So:
1567 # - build_subdir is where we find build modules, and never changes.
1568 # - build_libsubdir is where we find build libraries, and can be overridden.
1569
1570 # Prefix 'build-' so this never conflicts with target_subdir.
1571 build_subdir="build-${build_noncanonical}"
1572
1573 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1574 if test "${with_build_libsubdir+set}" = set; then
1575 withval="$with_build_libsubdir"
1576 build_libsubdir="$withval"
1577 else
1578 build_libsubdir="$build_subdir"
1579 fi;
1580 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1581 if ( test $srcdir = . && test -d gcc ) \
1582 || test -d $srcdir/../host-${host_noncanonical}; then
1583 host_subdir="host-${host_noncanonical}"
1584 else
1585 host_subdir=.
1586 fi
1587 # No prefix.
1588 target_subdir=${target_noncanonical}
1589
1590
1591 # -------
1592 # Options
1593 # -------
1594
1595 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1596 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1597 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1598 if test "${enable_version_specific_runtime_libs+set}" = set; then
1599 enableval="$enable_version_specific_runtime_libs"
1600 case "$enableval" in
1601 yes) version_specific_libs=yes ;;
1602 no) version_specific_libs=no ;;
1603 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1604 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1605 { (exit 1); exit 1; }; };;
1606 esac
1607 else
1608 version_specific_libs=no
1609 fi;
1610 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1611 echo "${ECHO_T}$version_specific_libs" >&6
1612
1613 # Build with intermodule optimisations
1614 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1615 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1616 # Check whether --enable-intermodule or --disable-intermodule was given.
1617 if test "${enable_intermodule+set}" = set; then
1618 enableval="$enable_intermodule"
1619 case "$enable_intermodule" in
1620 yes) onestep="-onestep";;
1621 *) onestep="";;
1622 esac
1623 else
1624 onestep=""
1625 fi;
1626 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1627 echo "${ECHO_T}$enable_intermodule" >&6
1628
1629
1630 if test x$onestep = x-onestep; then
1631 onestep_TRUE=
1632 onestep_FALSE='#'
1633 else
1634 onestep_TRUE='#'
1635 onestep_FALSE=
1636 fi
1637
1638
1639
1640 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1641 #
1642 # You will slowly go insane if you do not grok the following fact: when
1643 # building this library, the top-level /target/ becomes the library's /host/.
1644 #
1645 # configure then causes --target to default to --host, exactly like any
1646 # other package using autoconf. Therefore, 'target' and 'host' will
1647 # always be the same. This makes sense both for native and cross compilers
1648 # just think about it for a little while. :-)
1649 #
1650 # Also, if this library is being configured as part of a cross compiler, the
1651 # top-level configure script will pass the "real" host as $with_cross_host.
1652 #
1653 # Do not delete or change the following two lines. For why, see
1654 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1655 echo "$as_me:$LINENO: checking host system type" >&5
1656 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1657 if test "${ac_cv_host+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660 ac_cv_host_alias=$host_alias
1661 test -z "$ac_cv_host_alias" &&
1662 ac_cv_host_alias=$ac_cv_build_alias
1663 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1664 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1665 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1666 { (exit 1); exit 1; }; }
1667
1668 fi
1669 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1670 echo "${ECHO_T}$ac_cv_host" >&6
1671 host=$ac_cv_host
1672 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1673 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1674 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675
1676
1677 echo "$as_me:$LINENO: checking target system type" >&5
1678 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1679 if test "${ac_cv_target+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 else
1682 ac_cv_target_alias=$target_alias
1683 test "x$ac_cv_target_alias" = "x" &&
1684 ac_cv_target_alias=$ac_cv_host_alias
1685 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1686 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1687 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1688 { (exit 1); exit 1; }; }
1689
1690 fi
1691 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1692 echo "${ECHO_T}$ac_cv_target" >&6
1693 target=$ac_cv_target
1694 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1695 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1696 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1697
1698
1699 # The aliases save the names the user supplied, while $host etc.
1700 # will get canonicalized.
1701 test -n "$target_alias" &&
1702 test "$program_prefix$program_suffix$program_transform_name" = \
1703 NONENONEs,x,x, &&
1704 program_prefix=${target_alias}-
1705 target_alias=${target_alias-$host_alias}
1706
1707 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1708 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1709 # 1.9.6: minimum required version
1710 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1711 # of other PACKAGE_* variables will, however, and there's nothing
1712 # we can do about that; they come from AC_INIT).
1713 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1714 # file in the top srcdir, etc, etc), so stop complaining.
1715 # -Wall: turns on all automake warnings...
1716 # -Wno-portability: ...except this one, since GNU make is required.
1717 am__api_version="1.9"
1718 # Find a good install program. We prefer a C program (faster),
1719 # so one script is as good as another. But avoid the broken or
1720 # incompatible versions:
1721 # SysV /etc/install, /usr/sbin/install
1722 # SunOS /usr/etc/install
1723 # IRIX /sbin/install
1724 # AIX /bin/install
1725 # AmigaOS /C/install, which installs bootblocks on floppy discs
1726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1729 # OS/2's system install, which has a completely different semantic
1730 # ./install, which can be erroneously created by make from ./install.sh.
1731 # Reject install programs that cannot install multiple files.
1732 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1733 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1734 if test -z "$INSTALL"; then
1735 if test "${ac_cv_path_install+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 else
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 for as_dir in $PATH
1740 do
1741 IFS=$as_save_IFS
1742 test -z "$as_dir" && as_dir=.
1743 # Account for people who put trailing slashes in PATH elements.
1744 case $as_dir/ in
1745 ./ | .// | /cC/* | \
1746 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1747 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1748 /usr/ucb/* ) ;;
1749 *)
1750 # OSF1 and SCO ODT 3.0 have their own names for install.
1751 # Don't use installbsd from OSF since it installs stuff as root
1752 # by default.
1753 for ac_prog in ginstall scoinst install; do
1754 for ac_exec_ext in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1756 if test $ac_prog = install &&
1757 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1758 # AIX install. It has an incompatible calling convention.
1759 :
1760 elif test $ac_prog = install &&
1761 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1762 # program-specific install script used by HP pwplus--don't use.
1763 :
1764 else
1765 rm -rf conftest.one conftest.two conftest.dir
1766 echo one > conftest.one
1767 echo two > conftest.two
1768 mkdir conftest.dir
1769 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1770 test -s conftest.one && test -s conftest.two &&
1771 test -s conftest.dir/conftest.one &&
1772 test -s conftest.dir/conftest.two
1773 then
1774 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1775 break 3
1776 fi
1777 fi
1778 fi
1779 done
1780 done
1781 ;;
1782 esac
1783 done
1784
1785 rm -rf conftest.one conftest.two conftest.dir
1786
1787 fi
1788 if test "${ac_cv_path_install+set}" = set; then
1789 INSTALL=$ac_cv_path_install
1790 else
1791 # As a last resort, use the slow shell script. Don't cache a
1792 # value for INSTALL within a source directory, because that will
1793 # break other packages using the cache if that directory is
1794 # removed, or if the value is a relative name.
1795 INSTALL=$ac_install_sh
1796 fi
1797 fi
1798 echo "$as_me:$LINENO: result: $INSTALL" >&5
1799 echo "${ECHO_T}$INSTALL" >&6
1800
1801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1802 # It thinks the first close brace ends the variable substitution.
1803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1804
1805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1806
1807 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1808
1809 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1810 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1811 # Just in case
1812 sleep 1
1813 echo timestamp > conftest.file
1814 # Do `set' in a subshell so we don't clobber the current shell's
1815 # arguments. Must try -L first in case configure is actually a
1816 # symlink; some systems play weird games with the mod time of symlinks
1817 # (eg FreeBSD returns the mod time of the symlink's containing
1818 # directory).
1819 if (
1820 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1821 if test "$*" = "X"; then
1822 # -L didn't work.
1823 set X `ls -t $srcdir/configure conftest.file`
1824 fi
1825 rm -f conftest.file
1826 if test "$*" != "X $srcdir/configure conftest.file" \
1827 && test "$*" != "X conftest.file $srcdir/configure"; then
1828
1829 # If neither matched, then we have a broken ls. This can happen
1830 # if, for instance, CONFIG_SHELL is bash and it inherits a
1831 # broken ls alias from the environment. This has actually
1832 # happened. Such a system could not be considered "sane".
1833 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1834 alias in your environment" >&5
1835 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1836 alias in your environment" >&2;}
1837 { (exit 1); exit 1; }; }
1838 fi
1839
1840 test "$2" = conftest.file
1841 )
1842 then
1843 # Ok.
1844 :
1845 else
1846 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1847 Check your system clock" >&5
1848 echo "$as_me: error: newly created file is older than distributed files!
1849 Check your system clock" >&2;}
1850 { (exit 1); exit 1; }; }
1851 fi
1852 echo "$as_me:$LINENO: result: yes" >&5
1853 echo "${ECHO_T}yes" >&6
1854 test "$program_prefix" != NONE &&
1855 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1856 # Use a double $ so make ignores it.
1857 test "$program_suffix" != NONE &&
1858 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1859 # Double any \ or $. echo might interpret backslashes.
1860 # By default was `s,x,x', remove it if useless.
1861 cat <<\_ACEOF >conftest.sed
1862 s/[\\$]/&&/g;s/;s,x,x,$//
1863 _ACEOF
1864 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1865 rm conftest.sed
1866
1867 # expand $ac_aux_dir to an absolute path
1868 am_aux_dir=`cd $ac_aux_dir && pwd`
1869
1870 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1871 # Use eval to expand $SHELL
1872 if eval "$MISSING --run true"; then
1873 am_missing_run="$MISSING --run "
1874 else
1875 am_missing_run=
1876 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1877 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1878 fi
1879
1880 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1881 # We used to keeping the `.' as first argument, in order to
1882 # allow $(mkdir_p) to be used without argument. As in
1883 # $(mkdir_p) $(somedir)
1884 # where $(somedir) is conditionally defined. However this is wrong
1885 # for two reasons:
1886 # 1. if the package is installed by a user who cannot write `.'
1887 # make install will fail,
1888 # 2. the above comment should most certainly read
1889 # $(mkdir_p) $(DESTDIR)$(somedir)
1890 # so it does not work when $(somedir) is undefined and
1891 # $(DESTDIR) is not.
1892 # To support the latter case, we have to write
1893 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1894 # so the `.' trick is pointless.
1895 mkdir_p='mkdir -p --'
1896 else
1897 # On NextStep and OpenStep, the `mkdir' command does not
1898 # recognize any option. It will interpret all options as
1899 # directories to create, and then abort because `.' already
1900 # exists.
1901 for d in ./-p ./--version;
1902 do
1903 test -d $d && rmdir $d
1904 done
1905 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1906 if test -f "$ac_aux_dir/mkinstalldirs"; then
1907 mkdir_p='$(mkinstalldirs)'
1908 else
1909 mkdir_p='$(install_sh) -d'
1910 fi
1911 fi
1912
1913 for ac_prog in gawk mawk nawk awk
1914 do
1915 # Extract the first word of "$ac_prog", so it can be a program name with args.
1916 set dummy $ac_prog; ac_word=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_AWK+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 else
1922 if test -n "$AWK"; then
1923 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1924 else
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 for as_dir in $PATH
1927 do
1928 IFS=$as_save_IFS
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_AWK="$ac_prog"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934 break 2
1935 fi
1936 done
1937 done
1938
1939 fi
1940 fi
1941 AWK=$ac_cv_prog_AWK
1942 if test -n "$AWK"; then
1943 echo "$as_me:$LINENO: result: $AWK" >&5
1944 echo "${ECHO_T}$AWK" >&6
1945 else
1946 echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6
1948 fi
1949
1950 test -n "$AWK" && break
1951 done
1952
1953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1955 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 else
1959 cat >conftest.make <<\_ACEOF
1960 all:
1961 @echo 'ac_maketemp="$(MAKE)"'
1962 _ACEOF
1963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1965 if test -n "$ac_maketemp"; then
1966 eval ac_cv_prog_make_${ac_make}_set=yes
1967 else
1968 eval ac_cv_prog_make_${ac_make}_set=no
1969 fi
1970 rm -f conftest.make
1971 fi
1972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1973 echo "$as_me:$LINENO: result: yes" >&5
1974 echo "${ECHO_T}yes" >&6
1975 SET_MAKE=
1976 else
1977 echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6
1979 SET_MAKE="MAKE=${MAKE-make}"
1980 fi
1981
1982 rm -rf .tst 2>/dev/null
1983 mkdir .tst 2>/dev/null
1984 if test -d .tst; then
1985 am__leading_dot=.
1986 else
1987 am__leading_dot=_
1988 fi
1989 rmdir .tst 2>/dev/null
1990
1991 # test to see if srcdir already configured
1992 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1993 test -f $srcdir/config.status; then
1994 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1995 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1996 { (exit 1); exit 1; }; }
1997 fi
1998
1999 # test whether we have cygpath
2000 if test -z "$CYGPATH_W"; then
2001 if (cygpath --version) >/dev/null 2>/dev/null; then
2002 CYGPATH_W='cygpath -w'
2003 else
2004 CYGPATH_W=echo
2005 fi
2006 fi
2007
2008
2009 # Define the identity of the package.
2010 PACKAGE='libgfortran'
2011 VERSION='0.3'
2012
2013
2014 # Some tools Automake needs.
2015
2016 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2017
2018
2019 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2020
2021
2022 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2023
2024
2025 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2026
2027
2028 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2029
2030 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2031
2032 # Installed binaries are usually stripped using `strip' when the user
2033 # run `make install-strip'. However `strip' might not be the right
2034 # tool to use in cross-compilation environments, therefore Automake
2035 # will honor the `STRIP' environment variable to overrule this program.
2036 if test "$cross_compiling" != no; then
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}strip; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_STRIP+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$STRIP"; then
2046 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2050 do
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2058 fi
2059 done
2060 done
2061
2062 fi
2063 fi
2064 STRIP=$ac_cv_prog_STRIP
2065 if test -n "$STRIP"; then
2066 echo "$as_me:$LINENO: result: $STRIP" >&5
2067 echo "${ECHO_T}$STRIP" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 fi
2072
2073 fi
2074 if test -z "$ac_cv_prog_STRIP"; then
2075 ac_ct_STRIP=$STRIP
2076 # Extract the first word of "strip", so it can be a program name with args.
2077 set dummy strip; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_STRIP"; then
2084 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2088 do
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_STRIP="strip"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2096 fi
2097 done
2098 done
2099
2100 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2101 fi
2102 fi
2103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2104 if test -n "$ac_ct_STRIP"; then
2105 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2106 echo "${ECHO_T}$ac_ct_STRIP" >&6
2107 else
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2110 fi
2111
2112 STRIP=$ac_ct_STRIP
2113 else
2114 STRIP="$ac_cv_prog_STRIP"
2115 fi
2116
2117 fi
2118 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2119
2120 # We need awk for the "check" target. The system "awk" is bad on
2121 # some platforms.
2122 # Always define AMTAR for backward compatibility.
2123
2124 AMTAR=${AMTAR-"${am_missing_run}tar"}
2125
2126 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2127
2128
2129
2130
2131
2132
2133 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2134 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2135 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2136 if test "${enable_maintainer_mode+set}" = set; then
2137 enableval="$enable_maintainer_mode"
2138 USE_MAINTAINER_MODE=$enableval
2139 else
2140 USE_MAINTAINER_MODE=no
2141 fi;
2142 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2143 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2144
2145
2146 if test $USE_MAINTAINER_MODE = yes; then
2147 MAINTAINER_MODE_TRUE=
2148 MAINTAINER_MODE_FALSE='#'
2149 else
2150 MAINTAINER_MODE_TRUE='#'
2151 MAINTAINER_MODE_FALSE=
2152 fi
2153
2154 MAINT=$MAINTAINER_MODE_TRUE
2155
2156
2157 # Default to --enable-multilib
2158 # Check whether --enable-multilib or --disable-multilib was given.
2159 if test "${enable_multilib+set}" = set; then
2160 enableval="$enable_multilib"
2161 case "$enableval" in
2162 yes) multilib=yes ;;
2163 no) multilib=no ;;
2164 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2165 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2166 { (exit 1); exit 1; }; } ;;
2167 esac
2168 else
2169 multilib=yes
2170 fi;
2171
2172 # We may get other options which we leave undocumented:
2173 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2174 # See config-ml.in if you want the gory details.
2175
2176 if test "$srcdir" = "."; then
2177 if test "$with_target_subdir" != "."; then
2178 multi_basedir="$srcdir/$with_multisrctop../.."
2179 else
2180 multi_basedir="$srcdir/$with_multisrctop.."
2181 fi
2182 else
2183 multi_basedir="$srcdir/.."
2184 fi
2185
2186
2187 # Even if the default multilib is not a cross compilation,
2188 # it may be that some of the other multilibs are.
2189 if test $cross_compiling = no && test $multilib = yes \
2190 && test "x${with_multisubdir}" != x ; then
2191 cross_compiling=maybe
2192 fi
2193
2194 ac_config_commands="$ac_config_commands default-1"
2195
2196
2197 # Handy for debugging:
2198 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2199
2200 # Are we being configured with some form of cross compiler?
2201 # NB: We don't actually need to know this just now, but when, say, a test
2202 # suite is included, we'll have to know.
2203 if test "$build" != "$host"; then
2204 LIBGFOR_IS_NATIVE=false
2205
2206 else
2207 LIBGFOR_IS_NATIVE=true
2208 fi
2209
2210 # Calculate toolexeclibdir
2211 # Also toolexecdir, though it's only used in toolexeclibdir
2212 case ${version_specific_libs} in
2213 yes)
2214 # Need the gcc compiler version to know where to install libraries
2215 # and header files if --enable-version-specific-runtime-libs option
2216 # is selected.
2217 toolexecdir='$(libdir)/gcc/$(target_alias)'
2218 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2219 ;;
2220 no)
2221 if test -n "$with_cross_host" &&
2222 test x"$with_cross_host" != x"no"; then
2223 # Install a library built with a cross compiler in tooldir, not libdir.
2224 toolexecdir='$(exec_prefix)/$(target_alias)'
2225 toolexeclibdir='$(toolexecdir)/lib'
2226 else
2227 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2228 toolexeclibdir='$(libdir)'
2229 fi
2230 multi_os_directory=`$CC -print-multi-os-directory`
2231 case $multi_os_directory in
2232 .) ;; # Avoid trailing /.
2233 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2234 esac
2235 ;;
2236 esac
2237
2238
2239
2240 # Check the compiler.
2241 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2242 # We must force CC to /not/ be precious variables; otherwise
2243 # the wrong, non-multilib-adjusted value will be used in multilibs.
2244 # As a side effect, we have to subst CFLAGS ourselves.
2245
2246
2247
2248 ac_ext=c
2249 ac_cpp='$CPP $CPPFLAGS'
2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253 if test -n "$ac_tool_prefix"; then
2254 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2256 echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2258 if test "${ac_cv_prog_CC+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 else
2261 if test -n "$CC"; then
2262 ac_cv_prog_CC="$CC" # Let the user override the test.
2263 else
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 for as_dir in $PATH
2266 do
2267 IFS=$as_save_IFS
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2271 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273 break 2
2274 fi
2275 done
2276 done
2277
2278 fi
2279 fi
2280 CC=$ac_cv_prog_CC
2281 if test -n "$CC"; then
2282 echo "$as_me:$LINENO: result: $CC" >&5
2283 echo "${ECHO_T}$CC" >&6
2284 else
2285 echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2287 fi
2288
2289 fi
2290 if test -z "$ac_cv_prog_CC"; then
2291 ac_ct_CC=$CC
2292 # Extract the first word of "gcc", so it can be a program name with args.
2293 set dummy gcc; ac_word=$2
2294 echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299 if test -n "$ac_ct_CC"; then
2300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2304 do
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 ac_cv_prog_ac_ct_CC="gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2312 fi
2313 done
2314 done
2315
2316 fi
2317 fi
2318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2319 if test -n "$ac_ct_CC"; then
2320 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2321 echo "${ECHO_T}$ac_ct_CC" >&6
2322 else
2323 echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6
2325 fi
2326
2327 CC=$ac_ct_CC
2328 else
2329 CC="$ac_cv_prog_CC"
2330 fi
2331
2332 if test -z "$CC"; then
2333 if test -n "$ac_tool_prefix"; then
2334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2335 set dummy ${ac_tool_prefix}cc; ac_word=$2
2336 echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2338 if test "${ac_cv_prog_CC+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 else
2341 if test -n "$CC"; then
2342 ac_cv_prog_CC="$CC" # Let the user override the test.
2343 else
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 for as_dir in $PATH
2346 do
2347 IFS=$as_save_IFS
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351 ac_cv_prog_CC="${ac_tool_prefix}cc"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 break 2
2354 fi
2355 done
2356 done
2357
2358 fi
2359 fi
2360 CC=$ac_cv_prog_CC
2361 if test -n "$CC"; then
2362 echo "$as_me:$LINENO: result: $CC" >&5
2363 echo "${ECHO_T}$CC" >&6
2364 else
2365 echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2367 fi
2368
2369 fi
2370 if test -z "$ac_cv_prog_CC"; then
2371 ac_ct_CC=$CC
2372 # Extract the first word of "cc", so it can be a program name with args.
2373 set dummy cc; ac_word=$2
2374 echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 else
2379 if test -n "$ac_ct_CC"; then
2380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2384 do
2385 IFS=$as_save_IFS
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2389 ac_cv_prog_ac_ct_CC="cc"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 break 2
2392 fi
2393 done
2394 done
2395
2396 fi
2397 fi
2398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2399 if test -n "$ac_ct_CC"; then
2400 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2401 echo "${ECHO_T}$ac_ct_CC" >&6
2402 else
2403 echo "$as_me:$LINENO: result: no" >&5
2404 echo "${ECHO_T}no" >&6
2405 fi
2406
2407 CC=$ac_ct_CC
2408 else
2409 CC="$ac_cv_prog_CC"
2410 fi
2411
2412 fi
2413 if test -z "$CC"; then
2414 # Extract the first word of "cc", so it can be a program name with args.
2415 set dummy cc; ac_word=$2
2416 echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2418 if test "${ac_cv_prog_CC+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421 if test -n "$CC"; then
2422 ac_cv_prog_CC="$CC" # Let the user override the test.
2423 else
2424 ac_prog_rejected=no
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH
2427 do
2428 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2433 ac_prog_rejected=yes
2434 continue
2435 fi
2436 ac_cv_prog_CC="cc"
2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 break 2
2439 fi
2440 done
2441 done
2442
2443 if test $ac_prog_rejected = yes; then
2444 # We found a bogon in the path, so make sure we never use it.
2445 set dummy $ac_cv_prog_CC
2446 shift
2447 if test $# != 0; then
2448 # We chose a different compiler from the bogus one.
2449 # However, it has the same basename, so the bogon will be chosen
2450 # first if we set CC to just the basename; use the full file name.
2451 shift
2452 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2453 fi
2454 fi
2455 fi
2456 fi
2457 CC=$ac_cv_prog_CC
2458 if test -n "$CC"; then
2459 echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6
2461 else
2462 echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6
2464 fi
2465
2466 fi
2467 if test -z "$CC"; then
2468 if test -n "$ac_tool_prefix"; then
2469 for ac_prog in cl
2470 do
2471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2473 echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2475 if test "${ac_cv_prog_CC+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC="$CC" # Let the user override the test.
2480 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484 IFS=$as_save_IFS
2485 test -z "$as_dir" && as_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2488 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 break 2
2491 fi
2492 done
2493 done
2494
2495 fi
2496 fi
2497 CC=$ac_cv_prog_CC
2498 if test -n "$CC"; then
2499 echo "$as_me:$LINENO: result: $CC" >&5
2500 echo "${ECHO_T}$CC" >&6
2501 else
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2504 fi
2505
2506 test -n "$CC" && break
2507 done
2508 fi
2509 if test -z "$CC"; then
2510 ac_ct_CC=$CC
2511 for ac_prog in cl
2512 do
2513 # Extract the first word of "$ac_prog", so it can be a program name with args.
2514 set dummy $ac_prog; ac_word=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520 if test -n "$ac_ct_CC"; then
2521 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2522 else
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 for as_dir in $PATH
2525 do
2526 IFS=$as_save_IFS
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_CC="$ac_prog"
2531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 break 2
2533 fi
2534 done
2535 done
2536
2537 fi
2538 fi
2539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2540 if test -n "$ac_ct_CC"; then
2541 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2542 echo "${ECHO_T}$ac_ct_CC" >&6
2543 else
2544 echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6
2546 fi
2547
2548 test -n "$ac_ct_CC" && break
2549 done
2550
2551 CC=$ac_ct_CC
2552 fi
2553
2554 fi
2555
2556
2557 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: no acceptable C compiler found in \$PATH
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2562
2563 # Provide some information about the compiler.
2564 echo "$as_me:$LINENO:" \
2565 "checking for C compiler version" >&5
2566 ac_compiler=`set X $ac_compile; echo $2`
2567 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2568 (eval $ac_compiler --version </dev/null >&5) 2>&5
2569 ac_status=$?
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }
2572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2573 (eval $ac_compiler -v </dev/null >&5) 2>&5
2574 ac_status=$?
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }
2577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2578 (eval $ac_compiler -V </dev/null >&5) 2>&5
2579 ac_status=$?
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }
2582
2583 cat >conftest.$ac_ext <<_ACEOF
2584 /* confdefs.h. */
2585 _ACEOF
2586 cat confdefs.h >>conftest.$ac_ext
2587 cat >>conftest.$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2589
2590 int
2591 main ()
2592 {
2593
2594 ;
2595 return 0;
2596 }
2597 _ACEOF
2598 # FIXME: Cleanup?
2599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2600 (eval $ac_link) 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; then
2604 gcc_no_link=no
2605 else
2606 gcc_no_link=yes
2607 fi
2608
2609 if test x$gcc_no_link = xyes; then
2610 # Setting cross_compile will disable run tests; it will
2611 # also disable AC_CHECK_FILE but that's generally
2612 # correct if we can't link.
2613 cross_compiling=yes
2614 EXEEXT=
2615 else
2616 cat >conftest.$ac_ext <<_ACEOF
2617 /* confdefs.h. */
2618 _ACEOF
2619 cat confdefs.h >>conftest.$ac_ext
2620 cat >>conftest.$ac_ext <<_ACEOF
2621 /* end confdefs.h. */
2622
2623 int
2624 main ()
2625 {
2626
2627 ;
2628 return 0;
2629 }
2630 _ACEOF
2631 ac_clean_files_save=$ac_clean_files
2632 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2633 # Try to create an executable without -o first, disregard a.out.
2634 # It will help us diagnose broken compilers, and finding out an intuition
2635 # of exeext.
2636 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2637 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2638 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2639 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2640 (eval $ac_link_default) 2>&5
2641 ac_status=$?
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; then
2644 # Find the output, starting from the most likely. This scheme is
2645 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2646 # resort.
2647
2648 # Be careful to initialize this variable, since it used to be cached.
2649 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2650 ac_cv_exeext=
2651 # b.out is created by i960 compilers.
2652 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2653 do
2654 test -f "$ac_file" || continue
2655 case $ac_file in
2656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2657 ;;
2658 conftest.$ac_ext )
2659 # This is the source file.
2660 ;;
2661 [ab].out )
2662 # We found the default executable, but exeext='' is most
2663 # certainly right.
2664 break;;
2665 *.* )
2666 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667 # FIXME: I believe we export ac_cv_exeext for Libtool,
2668 # but it would be cool to find out if it's true. Does anybody
2669 # maintain Libtool? --akim.
2670 export ac_cv_exeext
2671 break;;
2672 * )
2673 break;;
2674 esac
2675 done
2676 else
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2679
2680 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2681 See \`config.log' for more details." >&5
2682 echo "$as_me: error: C compiler cannot create executables
2683 See \`config.log' for more details." >&2;}
2684 { (exit 77); exit 77; }; }
2685 fi
2686
2687 ac_exeext=$ac_cv_exeext
2688 echo "$as_me:$LINENO: result: $ac_file" >&5
2689 echo "${ECHO_T}$ac_file" >&6
2690
2691 # Check the compiler produces executables we can run. If not, either
2692 # the compiler is broken, or we cross compile.
2693 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2694 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2695 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2696 # If not cross compiling, check that we can run a simple program.
2697 if test "$cross_compiling" != yes; then
2698 if { ac_try='./$ac_file'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 (eval $ac_try) 2>&5
2701 ac_status=$?
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2704 cross_compiling=no
2705 else
2706 if test "$cross_compiling" = maybe; then
2707 cross_compiling=yes
2708 else
2709 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2710 If you meant to cross compile, use \`--host'.
2711 See \`config.log' for more details." >&5
2712 echo "$as_me: error: cannot run C compiled programs.
2713 If you meant to cross compile, use \`--host'.
2714 See \`config.log' for more details." >&2;}
2715 { (exit 1); exit 1; }; }
2716 fi
2717 fi
2718 fi
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2721
2722 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2723 ac_clean_files=$ac_clean_files_save
2724 # Check the compiler produces executables we can run. If not, either
2725 # the compiler is broken, or we cross compile.
2726 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2727 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2728 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2729 echo "${ECHO_T}$cross_compiling" >&6
2730
2731 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2732 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2734 (eval $ac_link) 2>&5
2735 ac_status=$?
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; then
2738 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2739 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2740 # work properly (i.e., refer to `conftest.exe'), while it won't with
2741 # `rm'.
2742 for ac_file in conftest.exe conftest conftest.*; do
2743 test -f "$ac_file" || continue
2744 case $ac_file in
2745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2746 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 export ac_cv_exeext
2748 break;;
2749 * ) break;;
2750 esac
2751 done
2752 else
2753 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2754 See \`config.log' for more details." >&5
2755 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2756 See \`config.log' for more details." >&2;}
2757 { (exit 1); exit 1; }; }
2758 fi
2759
2760 rm -f conftest$ac_cv_exeext
2761 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2762 echo "${ECHO_T}$ac_cv_exeext" >&6
2763
2764 rm -f conftest.$ac_ext
2765 EXEEXT=$ac_cv_exeext
2766 ac_exeext=$EXEEXT
2767 fi
2768 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2769 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2770 if test "${ac_cv_objext+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2772 else
2773 cat >conftest.$ac_ext <<_ACEOF
2774 /* confdefs.h. */
2775 _ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2779
2780 int
2781 main ()
2782 {
2783
2784 ;
2785 return 0;
2786 }
2787 _ACEOF
2788 rm -f conftest.o conftest.obj
2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790 (eval $ac_compile) 2>&5
2791 ac_status=$?
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; then
2794 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2795 case $ac_file in
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2797 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2798 break;;
2799 esac
2800 done
2801 else
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2804
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2810 fi
2811
2812 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 fi
2814 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2815 echo "${ECHO_T}$ac_cv_objext" >&6
2816 OBJEXT=$ac_cv_objext
2817 ac_objext=$OBJEXT
2818 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2819 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2820 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 else
2823 cat >conftest.$ac_ext <<_ACEOF
2824 /* confdefs.h. */
2825 _ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2829
2830 int
2831 main ()
2832 {
2833 #ifndef __GNUC__
2834 choke me
2835 #endif
2836
2837 ;
2838 return 0;
2839 }
2840 _ACEOF
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2844 ac_status=$?
2845 grep -v '^ *+' conftest.er1 >conftest.err
2846 rm -f conftest.er1
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 (eval $ac_try) 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 (eval $ac_try) 2>&5
2860 ac_status=$?
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2863 ac_compiler_gnu=yes
2864 else
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2867
2868 ac_compiler_gnu=no
2869 fi
2870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2871 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2872
2873 fi
2874 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2875 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2876 GCC=`test $ac_compiler_gnu = yes && echo yes`
2877 ac_test_CFLAGS=${CFLAGS+set}
2878 ac_save_CFLAGS=$CFLAGS
2879 CFLAGS="-g"
2880 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2881 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2882 if test "${ac_cv_prog_cc_g+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 else
2885 cat >conftest.$ac_ext <<_ACEOF
2886 /* confdefs.h. */
2887 _ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2891
2892 int
2893 main ()
2894 {
2895
2896 ;
2897 return 0;
2898 }
2899 _ACEOF
2900 rm -f conftest.$ac_objext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2902 (eval $ac_compile) 2>conftest.er1
2903 ac_status=$?
2904 grep -v '^ *+' conftest.er1 >conftest.err
2905 rm -f conftest.er1
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try='test -z "$ac_c_werror_flag"
2910 || test ! -s conftest.err'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912 (eval $ac_try) 2>&5
2913 ac_status=$?
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; } &&
2916 { ac_try='test -s conftest.$ac_objext'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5
2919 ac_status=$?
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2922 ac_cv_prog_cc_g=yes
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2926
2927 ac_cv_prog_cc_g=no
2928 fi
2929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2930 fi
2931 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2932 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2933 if test "$ac_test_CFLAGS" = set; then
2934 CFLAGS=$ac_save_CFLAGS
2935 elif test $ac_cv_prog_cc_g = yes; then
2936 if test "$GCC" = yes; then
2937 CFLAGS="-g -O2"
2938 else
2939 CFLAGS="-g"
2940 fi
2941 else
2942 if test "$GCC" = yes; then
2943 CFLAGS="-O2"
2944 else
2945 CFLAGS=
2946 fi
2947 fi
2948 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2949 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else
2953 ac_cv_prog_cc_stdc=no
2954 ac_save_CC=$CC
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2961 #include <stdarg.h>
2962 #include <stdio.h>
2963 #include <sys/types.h>
2964 #include <sys/stat.h>
2965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2966 struct buf { int x; };
2967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2968 static char *e (p, i)
2969 char **p;
2970 int i;
2971 {
2972 return p[i];
2973 }
2974 static char *f (char * (*g) (char **, int), char **p, ...)
2975 {
2976 char *s;
2977 va_list v;
2978 va_start (v,p);
2979 s = g (p, va_arg (v,int));
2980 va_end (v);
2981 return s;
2982 }
2983
2984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2985 function prototypes and stuff, but not '\xHH' hex character constants.
2986 These don't provoke an error unfortunately, instead are silently treated
2987 as 'x'. The following induces an error, until -std1 is added to get
2988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2989 array size at least. It's necessary to write '\x00'==0 to get something
2990 that's true only with -std1. */
2991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992
2993 int test (int i, double x);
2994 struct s1 {int (*f) (int a);};
2995 struct s2 {int (*f) (double a);};
2996 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2997 int argc;
2998 char **argv;
2999 int
3000 main ()
3001 {
3002 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3003 ;
3004 return 0;
3005 }
3006 _ACEOF
3007 # Don't try gcc -ansi; that turns off useful extensions and
3008 # breaks some systems' header files.
3009 # AIX -qlanglvl=ansi
3010 # Ultrix and OSF/1 -std1
3011 # HP-UX 10.20 and later -Ae
3012 # HP-UX older versions -Aa -D_HPUX_SOURCE
3013 # SVR4 -Xc -D__EXTENSIONS__
3014 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3015 do
3016 CC="$ac_save_CC $ac_arg"
3017 rm -f conftest.$ac_objext
3018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3019 (eval $ac_compile) 2>conftest.er1
3020 ac_status=$?
3021 grep -v '^ *+' conftest.er1 >conftest.err
3022 rm -f conftest.er1
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } &&
3026 { ac_try='test -z "$ac_c_werror_flag"
3027 || test ! -s conftest.err'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029 (eval $ac_try) 2>&5
3030 ac_status=$?
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; } &&
3033 { ac_try='test -s conftest.$ac_objext'
3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035 (eval $ac_try) 2>&5
3036 ac_status=$?
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }; }; then
3039 ac_cv_prog_cc_stdc=$ac_arg
3040 break
3041 else
3042 echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.$ac_ext >&5
3044
3045 fi
3046 rm -f conftest.err conftest.$ac_objext
3047 done
3048 rm -f conftest.$ac_ext conftest.$ac_objext
3049 CC=$ac_save_CC
3050
3051 fi
3052
3053 case "x$ac_cv_prog_cc_stdc" in
3054 x|xno)
3055 echo "$as_me:$LINENO: result: none needed" >&5
3056 echo "${ECHO_T}none needed" >&6 ;;
3057 *)
3058 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3059 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3060 CC="$CC $ac_cv_prog_cc_stdc" ;;
3061 esac
3062
3063 # Some people use a C++ compiler to compile C. Since we use `exit',
3064 # in C++ we need to declare it. In case someone uses the same compiler
3065 # for both compiling C and C++ we need to have the C++ compiler decide
3066 # the declaration of exit, since it's the most demanding environment.
3067 cat >conftest.$ac_ext <<_ACEOF
3068 #ifndef __cplusplus
3069 choke me
3070 #endif
3071 _ACEOF
3072 rm -f conftest.$ac_objext
3073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074 (eval $ac_compile) 2>conftest.er1
3075 ac_status=$?
3076 grep -v '^ *+' conftest.er1 >conftest.err
3077 rm -f conftest.er1
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try='test -z "$ac_c_werror_flag"
3082 || test ! -s conftest.err'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084 (eval $ac_try) 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; } &&
3088 { ac_try='test -s conftest.$ac_objext'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090 (eval $ac_try) 2>&5
3091 ac_status=$?
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; }; then
3094 for ac_declaration in \
3095 '' \
3096 'extern "C" void std::exit (int) throw (); using std::exit;' \
3097 'extern "C" void std::exit (int); using std::exit;' \
3098 'extern "C" void exit (int) throw ();' \
3099 'extern "C" void exit (int);' \
3100 'void exit (int);'
3101 do
3102 cat >conftest.$ac_ext <<_ACEOF
3103 /* confdefs.h. */
3104 _ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3108 $ac_declaration
3109 #include <stdlib.h>
3110 int
3111 main ()
3112 {
3113 exit (42);
3114 ;
3115 return 0;
3116 }
3117 _ACEOF
3118 rm -f conftest.$ac_objext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120 (eval $ac_compile) 2>conftest.er1
3121 ac_status=$?
3122 grep -v '^ *+' conftest.er1 >conftest.err
3123 rm -f conftest.er1
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try='test -z "$ac_c_werror_flag"
3128 || test ! -s conftest.err'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 (eval $ac_try) 2>&5
3131 ac_status=$?
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; } &&
3134 { ac_try='test -s conftest.$ac_objext'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 (eval $ac_try) 2>&5
3137 ac_status=$?
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3140 :
3141 else
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3144
3145 continue
3146 fi
3147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3148 cat >conftest.$ac_ext <<_ACEOF
3149 /* confdefs.h. */
3150 _ACEOF
3151 cat confdefs.h >>conftest.$ac_ext
3152 cat >>conftest.$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3154 $ac_declaration
3155 int
3156 main ()
3157 {
3158 exit (42);
3159 ;
3160 return 0;
3161 }
3162 _ACEOF
3163 rm -f conftest.$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165 (eval $ac_compile) 2>conftest.er1
3166 ac_status=$?
3167 grep -v '^ *+' conftest.er1 >conftest.err
3168 rm -f conftest.er1
3169 cat conftest.err >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } &&
3172 { ac_try='test -z "$ac_c_werror_flag"
3173 || test ! -s conftest.err'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 (eval $ac_try) 2>&5
3176 ac_status=$?
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; } &&
3179 { ac_try='test -s conftest.$ac_objext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 (eval $ac_try) 2>&5
3182 ac_status=$?
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3185 break
3186 else
3187 echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3189
3190 fi
3191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3192 done
3193 rm -f conftest*
3194 if test -n "$ac_declaration"; then
3195 echo '#ifdef __cplusplus' >>confdefs.h
3196 echo $ac_declaration >>confdefs.h
3197 echo '#endif' >>confdefs.h
3198 fi
3199
3200 else
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3203
3204 fi
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_ext=c
3207 ac_cpp='$CPP $CPPFLAGS'
3208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211 DEPDIR="${am__leading_dot}deps"
3212
3213 ac_config_commands="$ac_config_commands depfiles"
3214
3215
3216 am_make=${MAKE-make}
3217 cat > confinc << 'END'
3218 am__doit:
3219 @echo done
3220 .PHONY: am__doit
3221 END
3222 # If we don't find an include directive, just comment out the code.
3223 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3224 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3225 am__include="#"
3226 am__quote=
3227 _am_result=none
3228 # First try GNU make style include.
3229 echo "include confinc" > confmf
3230 # We grep out `Entering directory' and `Leaving directory'
3231 # messages which can occur if `w' ends up in MAKEFLAGS.
3232 # In particular we don't look at `^make:' because GNU make might
3233 # be invoked under some other name (usually "gmake"), in which
3234 # case it prints its new name instead of `make'.
3235 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3236 am__include=include
3237 am__quote=
3238 _am_result=GNU
3239 fi
3240 # Now try BSD make style include.
3241 if test "$am__include" = "#"; then
3242 echo '.include "confinc"' > confmf
3243 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3244 am__include=.include
3245 am__quote="\""
3246 _am_result=BSD
3247 fi
3248 fi
3249
3250
3251 echo "$as_me:$LINENO: result: $_am_result" >&5
3252 echo "${ECHO_T}$_am_result" >&6
3253 rm -f confinc confmf
3254
3255 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3256 if test "${enable_dependency_tracking+set}" = set; then
3257 enableval="$enable_dependency_tracking"
3258
3259 fi;
3260 if test "x$enable_dependency_tracking" != xno; then
3261 am_depcomp="$ac_aux_dir/depcomp"
3262 AMDEPBACKSLASH='\'
3263 fi
3264
3265
3266 if test "x$enable_dependency_tracking" != xno; then
3267 AMDEP_TRUE=
3268 AMDEP_FALSE='#'
3269 else
3270 AMDEP_TRUE='#'
3271 AMDEP_FALSE=
3272 fi
3273
3274
3275
3276
3277 depcc="$CC" am_compiler_list=
3278
3279 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3280 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3281 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 else
3284 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3285 # We make a subdir and do the tests there. Otherwise we can end up
3286 # making bogus files that we don't know about and never remove. For
3287 # instance it was reported that on HP-UX the gcc test will end up
3288 # making a dummy file named `D' -- because `-MD' means `put the output
3289 # in D'.
3290 mkdir conftest.dir
3291 # Copy depcomp to subdir because otherwise we won't find it if we're
3292 # using a relative directory.
3293 cp "$am_depcomp" conftest.dir
3294 cd conftest.dir
3295 # We will build objects and dependencies in a subdirectory because
3296 # it helps to detect inapplicable dependency modes. For instance
3297 # both Tru64's cc and ICC support -MD to output dependencies as a
3298 # side effect of compilation, but ICC will put the dependencies in
3299 # the current directory while Tru64 will put them in the object
3300 # directory.
3301 mkdir sub
3302
3303 am_cv_CC_dependencies_compiler_type=none
3304 if test "$am_compiler_list" = ""; then
3305 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3306 fi
3307 for depmode in $am_compiler_list; do
3308 # Setup a source with many dependencies, because some compilers
3309 # like to wrap large dependency lists on column 80 (with \), and
3310 # we should not choose a depcomp mode which is confused by this.
3311 #
3312 # We need to recreate these files for each test, as the compiler may
3313 # overwrite some of them when testing with obscure command lines.
3314 # This happens at least with the AIX C compiler.
3315 : > sub/conftest.c
3316 for i in 1 2 3 4 5 6; do
3317 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3318 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3319 # Solaris 8's {/usr,}/bin/sh.
3320 touch sub/conftst$i.h
3321 done
3322 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3323
3324 case $depmode in
3325 nosideeffect)
3326 # after this tag, mechanisms are not by side-effect, so they'll
3327 # only be used when explicitly requested
3328 if test "x$enable_dependency_tracking" = xyes; then
3329 continue
3330 else
3331 break
3332 fi
3333 ;;
3334 none) break ;;
3335 esac
3336 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3337 # mode. It turns out that the SunPro C++ compiler does not properly
3338 # handle `-M -o', and we need to detect this.
3339 if depmode=$depmode \
3340 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3341 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3342 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3343 >/dev/null 2>conftest.err &&
3344 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3345 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3346 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3347 # icc doesn't choke on unknown options, it will just issue warnings
3348 # or remarks (even with -Werror). So we grep stderr for any message
3349 # that says an option was ignored or not supported.
3350 # When given -MP, icc 7.0 and 7.1 complain thusly:
3351 # icc: Command line warning: ignoring option '-M'; no argument required
3352 # The diagnosis changed in icc 8.0:
3353 # icc: Command line remark: option '-MP' not supported
3354 if (grep 'ignoring option' conftest.err ||
3355 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3356 am_cv_CC_dependencies_compiler_type=$depmode
3357 break
3358 fi
3359 fi
3360 done
3361
3362 cd ..
3363 rm -rf conftest.dir
3364 else
3365 am_cv_CC_dependencies_compiler_type=none
3366 fi
3367
3368 fi
3369 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3370 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3371 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3372
3373
3374
3375 if
3376 test "x$enable_dependency_tracking" != xno \
3377 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3378 am__fastdepCC_TRUE=
3379 am__fastdepCC_FALSE='#'
3380 else
3381 am__fastdepCC_TRUE='#'
3382 am__fastdepCC_FALSE=
3383 fi
3384
3385
3386
3387
3388 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3389 if test "x$GCC" = "xyes"; then
3390 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3391 ## We like to use C99 routines when available. This makes sure that
3392 ## __STDC_VERSION__ is set such that libc includes make them available.
3393 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3394 ## Compile the following tests with the same system header contents
3395 ## that we'll encounter when compiling our own source files.
3396 CFLAGS="-std=gnu99 $CFLAGS"
3397 fi
3398
3399
3400
3401
3402 # Check for symbol versioning (copied from libssp).
3403 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3404 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3405 cat > conftest.map <<EOF
3406 FOO_1.0 {
3407 global: *foo*; bar; local: *;
3408 };
3409 EOF
3410 save_LDFLAGS="$LDFLAGS"
3411 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3412
3413 if test x$gcc_no_link = xyes; then
3414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3416 { (exit 1); exit 1; }; }
3417 fi
3418 cat >conftest.$ac_ext <<_ACEOF
3419 /* confdefs.h. */
3420 _ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3424 int foo;
3425 int
3426 main ()
3427 {
3428
3429 ;
3430 return 0;
3431 }
3432 _ACEOF
3433 rm -f conftest.$ac_objext conftest$ac_exeext
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435 (eval $ac_link) 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try='test -z "$ac_c_werror_flag"
3443 || test ! -s conftest.err'
3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3445 (eval $ac_try) 2>&5
3446 ac_status=$?
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); }; } &&
3449 { ac_try='test -s conftest$ac_exeext'
3450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451 (eval $ac_try) 2>&5
3452 ac_status=$?
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); }; }; then
3455 gfortran_use_symver=yes
3456 else
3457 echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3459
3460 gfortran_use_symver=no
3461 fi
3462 rm -f conftest.err conftest.$ac_objext \
3463 conftest$ac_exeext conftest.$ac_ext
3464 LDFLAGS="$save_LDFLAGS"
3465 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3466 echo "${ECHO_T}$gfortran_use_symver" >&6
3467
3468
3469 if test "x$gfortran_use_symver" = xyes; then
3470 LIBGFOR_USE_SYMVER_TRUE=
3471 LIBGFOR_USE_SYMVER_FALSE='#'
3472 else
3473 LIBGFOR_USE_SYMVER_TRUE='#'
3474 LIBGFOR_USE_SYMVER_FALSE=
3475 fi
3476
3477
3478 # Find other programs we need.
3479 if test -n "$ac_tool_prefix"; then
3480 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3481 set dummy ${ac_tool_prefix}as; ac_word=$2
3482 echo "$as_me:$LINENO: checking for $ac_word" >&5
3483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3484 if test "${ac_cv_prog_AS+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 else
3487 if test -n "$AS"; then
3488 ac_cv_prog_AS="$AS" # Let the user override the test.
3489 else
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 for as_dir in $PATH
3492 do
3493 IFS=$as_save_IFS
3494 test -z "$as_dir" && as_dir=.
3495 for ac_exec_ext in '' $ac_executable_extensions; do
3496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_AS="${ac_tool_prefix}as"
3498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 break 2
3500 fi
3501 done
3502 done
3503
3504 fi
3505 fi
3506 AS=$ac_cv_prog_AS
3507 if test -n "$AS"; then
3508 echo "$as_me:$LINENO: result: $AS" >&5
3509 echo "${ECHO_T}$AS" >&6
3510 else
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3513 fi
3514
3515 fi
3516 if test -z "$ac_cv_prog_AS"; then
3517 ac_ct_AS=$AS
3518 # Extract the first word of "as", so it can be a program name with args.
3519 set dummy as; ac_word=$2
3520 echo "$as_me:$LINENO: checking for $ac_word" >&5
3521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3522 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 else
3525 if test -n "$ac_ct_AS"; then
3526 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3527 else
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in $PATH
3530 do
3531 IFS=$as_save_IFS
3532 test -z "$as_dir" && as_dir=.
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535 ac_cv_prog_ac_ct_AS="as"
3536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 break 2
3538 fi
3539 done
3540 done
3541
3542 fi
3543 fi
3544 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3545 if test -n "$ac_ct_AS"; then
3546 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3547 echo "${ECHO_T}$ac_ct_AS" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553 AS=$ac_ct_AS
3554 else
3555 AS="$ac_cv_prog_AS"
3556 fi
3557
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3560 set dummy ${ac_tool_prefix}ar; ac_word=$2
3561 echo "$as_me:$LINENO: checking for $ac_word" >&5
3562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3563 if test "${ac_cv_prog_AR+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3565 else
3566 if test -n "$AR"; then
3567 ac_cv_prog_AR="$AR" # Let the user override the test.
3568 else
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3571 do
3572 IFS=$as_save_IFS
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_AR="${ac_tool_prefix}ar"
3577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 break 2
3579 fi
3580 done
3581 done
3582
3583 fi
3584 fi
3585 AR=$ac_cv_prog_AR
3586 if test -n "$AR"; then
3587 echo "$as_me:$LINENO: result: $AR" >&5
3588 echo "${ECHO_T}$AR" >&6
3589 else
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 fi
3593
3594 fi
3595 if test -z "$ac_cv_prog_AR"; then
3596 ac_ct_AR=$AR
3597 # Extract the first word of "ar", so it can be a program name with args.
3598 set dummy ar; ac_word=$2
3599 echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3601 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 else
3604 if test -n "$ac_ct_AR"; then
3605 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_AR="ar"
3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618 done
3619 done
3620
3621 fi
3622 fi
3623 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3624 if test -n "$ac_ct_AR"; then
3625 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3626 echo "${ECHO_T}$ac_ct_AR" >&6
3627 else
3628 echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6
3630 fi
3631
3632 AR=$ac_ct_AR
3633 else
3634 AR="$ac_cv_prog_AR"
3635 fi
3636
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3640 echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3642 if test "${ac_cv_prog_RANLIB+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 else
3645 if test -n "$RANLIB"; then
3646 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3650 do
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 break 2
3658 fi
3659 done
3660 done
3661
3662 fi
3663 fi
3664 RANLIB=$ac_cv_prog_RANLIB
3665 if test -n "$RANLIB"; then
3666 echo "$as_me:$LINENO: result: $RANLIB" >&5
3667 echo "${ECHO_T}$RANLIB" >&6
3668 else
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 fi
3672
3673 fi
3674 if test -z "$ac_cv_prog_RANLIB"; then
3675 ac_ct_RANLIB=$RANLIB
3676 # Extract the first word of "ranlib", so it can be a program name with args.
3677 set dummy ranlib; ac_word=$2
3678 echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3682 else
3683 if test -n "$ac_ct_RANLIB"; then
3684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689 IFS=$as_save_IFS
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_ac_ct_RANLIB="ranlib"
3694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 break 2
3696 fi
3697 done
3698 done
3699
3700 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3701 fi
3702 fi
3703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3704 if test -n "$ac_ct_RANLIB"; then
3705 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3706 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3707 else
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3710 fi
3711
3712 RANLIB=$ac_ct_RANLIB
3713 else
3714 RANLIB="$ac_cv_prog_RANLIB"
3715 fi
3716
3717 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3719 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3720 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 else
3723 cat >conftest.make <<\_ACEOF
3724 all:
3725 @echo 'ac_maketemp="$(MAKE)"'
3726 _ACEOF
3727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3728 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3729 if test -n "$ac_maketemp"; then
3730 eval ac_cv_prog_make_${ac_make}_set=yes
3731 else
3732 eval ac_cv_prog_make_${ac_make}_set=no
3733 fi
3734 rm -f conftest.make
3735 fi
3736 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3739 SET_MAKE=
3740 else
3741 echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6
3743 SET_MAKE="MAKE=${MAKE-make}"
3744 fi
3745
3746 # Find a good install program. We prefer a C program (faster),
3747 # so one script is as good as another. But avoid the broken or
3748 # incompatible versions:
3749 # SysV /etc/install, /usr/sbin/install
3750 # SunOS /usr/etc/install
3751 # IRIX /sbin/install
3752 # AIX /bin/install
3753 # AmigaOS /C/install, which installs bootblocks on floppy discs
3754 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3755 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3757 # OS/2's system install, which has a completely different semantic
3758 # ./install, which can be erroneously created by make from ./install.sh.
3759 # Reject install programs that cannot install multiple files.
3760 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3761 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3762 if test -z "$INSTALL"; then
3763 if test "${ac_cv_path_install+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 # Account for people who put trailing slashes in PATH elements.
3772 case $as_dir/ in
3773 ./ | .// | /cC/* | \
3774 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3775 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3776 /usr/ucb/* ) ;;
3777 *)
3778 # OSF1 and SCO ODT 3.0 have their own names for install.
3779 # Don't use installbsd from OSF since it installs stuff as root
3780 # by default.
3781 for ac_prog in ginstall scoinst install; do
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3784 if test $ac_prog = install &&
3785 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3786 # AIX install. It has an incompatible calling convention.
3787 :
3788 elif test $ac_prog = install &&
3789 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3790 # program-specific install script used by HP pwplus--don't use.
3791 :
3792 else
3793 rm -rf conftest.one conftest.two conftest.dir
3794 echo one > conftest.one
3795 echo two > conftest.two
3796 mkdir conftest.dir
3797 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3798 test -s conftest.one && test -s conftest.two &&
3799 test -s conftest.dir/conftest.one &&
3800 test -s conftest.dir/conftest.two
3801 then
3802 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3803 break 3
3804 fi
3805 fi
3806 fi
3807 done
3808 done
3809 ;;
3810 esac
3811 done
3812
3813 rm -rf conftest.one conftest.two conftest.dir
3814
3815 fi
3816 if test "${ac_cv_path_install+set}" = set; then
3817 INSTALL=$ac_cv_path_install
3818 else
3819 # As a last resort, use the slow shell script. Don't cache a
3820 # value for INSTALL within a source directory, because that will
3821 # break other packages using the cache if that directory is
3822 # removed, or if the value is a relative name.
3823 INSTALL=$ac_install_sh
3824 fi
3825 fi
3826 echo "$as_me:$LINENO: result: $INSTALL" >&5
3827 echo "${ECHO_T}$INSTALL" >&6
3828
3829 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3830 # It thinks the first close brace ends the variable substitution.
3831 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3832
3833 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3834
3835 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3836
3837
3838 # Configure libtool
3839 #AC_MSG_NOTICE([====== Starting libtool configuration])
3840 enable_dlopen=yes
3841
3842
3843
3844
3845
3846 macro_version='2.1a'
3847 macro_revision='1.2435'
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860 ltmain="$ac_aux_dir/ltmain.sh"
3861
3862 # Set options
3863
3864
3865 enable_win32_dll=no
3866
3867
3868 # Check whether --enable-shared or --disable-shared was given.
3869 if test "${enable_shared+set}" = set; then
3870 enableval="$enable_shared"
3871 p=${PACKAGE-default}
3872 case $enableval in
3873 yes) enable_shared=yes ;;
3874 no) enable_shared=no ;;
3875 *)
3876 enable_shared=no
3877 # Look at the argument we got. We use all the common list separators.
3878 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3879 for pkg in $enableval; do
3880 IFS="$lt_save_ifs"
3881 if test "X$pkg" = "X$p"; then
3882 enable_shared=yes
3883 fi
3884 done
3885 IFS="$lt_save_ifs"
3886 ;;
3887 esac
3888 else
3889 enable_shared=yes
3890 fi;
3891
3892
3893
3894
3895
3896
3897
3898
3899 # Check whether --enable-static or --disable-static was given.
3900 if test "${enable_static+set}" = set; then
3901 enableval="$enable_static"
3902 p=${PACKAGE-default}
3903 case $enableval in
3904 yes) enable_static=yes ;;
3905 no) enable_static=no ;;
3906 *)
3907 enable_static=no
3908 # Look at the argument we got. We use all the common list separators.
3909 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3910 for pkg in $enableval; do
3911 IFS="$lt_save_ifs"
3912 if test "X$pkg" = "X$p"; then
3913 enable_static=yes
3914 fi
3915 done
3916 IFS="$lt_save_ifs"
3917 ;;
3918 esac
3919 else
3920 enable_static=yes
3921 fi;
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931 # Check whether --with-pic or --without-pic was given.
3932 if test "${with_pic+set}" = set; then
3933 withval="$with_pic"
3934 pic_mode="$withval"
3935 else
3936 pic_mode=default
3937 fi;
3938
3939 test -z "$pic_mode" && pic_mode=default
3940
3941
3942
3943
3944
3945
3946
3947 # Check whether --enable-fast-install or --disable-fast-install was given.
3948 if test "${enable_fast_install+set}" = set; then
3949 enableval="$enable_fast_install"
3950 p=${PACKAGE-default}
3951 case $enableval in
3952 yes) enable_fast_install=yes ;;
3953 no) enable_fast_install=no ;;
3954 *)
3955 enable_fast_install=no
3956 # Look at the argument we got. We use all the common list separators.
3957 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3958 for pkg in $enableval; do
3959 IFS="$lt_save_ifs"
3960 if test "X$pkg" = "X$p"; then
3961 enable_fast_install=yes
3962 fi
3963 done
3964 IFS="$lt_save_ifs"
3965 ;;
3966 esac
3967 else
3968 enable_fast_install=yes
3969 fi;
3970
3971
3972
3973
3974
3975
3976
3977
3978 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3979 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3980 if test "${lt_cv_path_SED+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 else
3983 # Loop through the user's path and test for sed and gsed.
3984 # Then use that list of sed's as ones to test for truncation.
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3987 do
3988 IFS=$as_save_IFS
3989 test -z "$as_dir" && as_dir=.
3990 for lt_ac_prog in sed gsed; do
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3993 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3994 fi
3995 done
3996 done
3997 done
3998 IFS=$as_save_IFS
3999 lt_ac_max=0
4000 lt_ac_count=0
4001 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4002 # along with /bin/sed that truncates output.
4003 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4004 test ! -f $lt_ac_sed && continue
4005 cat /dev/null > conftest.in
4006 lt_ac_count=0
4007 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4008 # Check for GNU sed and select it if it is found.
4009 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4010 lt_cv_path_SED=$lt_ac_sed
4011 break
4012 fi
4013 while true; do
4014 cat conftest.in conftest.in >conftest.tmp
4015 mv conftest.tmp conftest.in
4016 cp conftest.in conftest.nl
4017 echo >>conftest.nl
4018 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4019 cmp -s conftest.out conftest.nl || break
4020 # 10000 chars as input seems more than enough
4021 test $lt_ac_count -gt 10 && break
4022 lt_ac_count=`expr $lt_ac_count + 1`
4023 if test $lt_ac_count -gt $lt_ac_max; then
4024 lt_ac_max=$lt_ac_count
4025 lt_cv_path_SED=$lt_ac_sed
4026 fi
4027 done
4028 done
4029
4030 fi
4031
4032 SED=$lt_cv_path_SED
4033
4034 echo "$as_me:$LINENO: result: $SED" >&5
4035 echo "${ECHO_T}$SED" >&6
4036
4037 test -z "$SED" && SED=sed
4038 Xsed="$SED -e 1s/^X//"
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050 echo "$as_me:$LINENO: checking for egrep" >&5
4051 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4052 if test "${ac_cv_prog_egrep+set}" = set; then
4053 echo $ECHO_N "(cached) $ECHO_C" >&6
4054 else
4055 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4056 then ac_cv_prog_egrep='grep -E'
4057 else ac_cv_prog_egrep='egrep'
4058 fi
4059 fi
4060 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4061 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4062 EGREP=$ac_cv_prog_egrep
4063
4064
4065 echo "$as_me:$LINENO: checking for fgrep" >&5
4066 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4067 if test "${ac_cv_prog_fgrep+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 else
4070 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4071 then ac_cv_prog_fgrep='grep -F'
4072 else ac_cv_prog_fgrep='fgrep'
4073 fi
4074 fi
4075 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4076 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4077 FGREP=$ac_cv_prog_fgrep
4078
4079
4080 test -z "$GREP" && GREP=grep
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4101 if test "${with_gnu_ld+set}" = set; then
4102 withval="$with_gnu_ld"
4103 test "$withval" = no || with_gnu_ld=yes
4104 else
4105 with_gnu_ld=no
4106 fi;
4107 ac_prog=ld
4108 if test "$GCC" = yes; then
4109 # Check if gcc -print-prog-name=ld gives a path.
4110 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4111 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4112 case $host in
4113 *-*-mingw*)
4114 # gcc leaves a trailing carriage return which upsets mingw
4115 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4116 *)
4117 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4118 esac
4119 case $ac_prog in
4120 # Accept absolute paths.
4121 [\\/]* | ?:[\\/]*)
4122 re_direlt='/[^/][^/]*/\.\./'
4123 # Canonicalize the pathname of ld
4124 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4125 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4126 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4127 done
4128 test -z "$LD" && LD="$ac_prog"
4129 ;;
4130 "")
4131 # If it fails, then pretend we aren't using GCC.
4132 ac_prog=ld
4133 ;;
4134 *)
4135 # If it is relative, then search for the first ld in PATH.
4136 with_gnu_ld=unknown
4137 ;;
4138 esac
4139 elif test "$with_gnu_ld" = yes; then
4140 echo "$as_me:$LINENO: checking for GNU ld" >&5
4141 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4142 else
4143 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4144 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4145 fi
4146 if test "${lt_cv_path_LD+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 else
4149 if test -z "$LD"; then
4150 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4151 for ac_dir in $PATH; do
4152 IFS="$lt_save_ifs"
4153 test -z "$ac_dir" && ac_dir=.
4154 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4155 lt_cv_path_LD="$ac_dir/$ac_prog"
4156 # Check to see if the program is GNU ld. I'd rather use --version,
4157 # but apparently some variants of GNU ld only accept -v.
4158 # Break only if it was the GNU/non-GNU ld that we prefer.
4159 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4160 *GNU* | *'with BFD'*)
4161 test "$with_gnu_ld" != no && break
4162 ;;
4163 *)
4164 test "$with_gnu_ld" != yes && break
4165 ;;
4166 esac
4167 fi
4168 done
4169 IFS="$lt_save_ifs"
4170 else
4171 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4172 fi
4173 fi
4174
4175 LD="$lt_cv_path_LD"
4176 if test -n "$LD"; then
4177 echo "$as_me:$LINENO: result: $LD" >&5
4178 echo "${ECHO_T}$LD" >&6
4179 else
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4182 fi
4183 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4184 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4185 { (exit 1); exit 1; }; }
4186 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4187 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4188 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 else
4191 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4192 case `$LD -v 2>&1 </dev/null` in
4193 *GNU* | *'with BFD'*)
4194 lt_cv_prog_gnu_ld=yes
4195 ;;
4196 *)
4197 lt_cv_prog_gnu_ld=no
4198 ;;
4199 esac
4200 fi
4201 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4202 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4203 with_gnu_ld=$lt_cv_prog_gnu_ld
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4215 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4216 if test "${lt_cv_path_NM+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 else
4219 if test -n "$NM"; then
4220 # Let the user override the test.
4221 lt_cv_path_NM="$NM"
4222 else
4223 lt_nm_to_check="${ac_tool_prefix}nm"
4224 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4225 lt_nm_to_check="$lt_nm_to_check nm"
4226 fi
4227 for lt_tmp_nm in $lt_nm_to_check; do
4228 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4229 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4230 IFS="$lt_save_ifs"
4231 test -z "$ac_dir" && ac_dir=.
4232 tmp_nm="$ac_dir/$lt_tmp_nm"
4233 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4234 # Check to see if the nm accepts a BSD-compat flag.
4235 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4236 # nm: unknown option "B" ignored
4237 # Tru64's nm complains that /dev/null is an invalid object file
4238 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4239 */dev/null* | *'Invalid file or object type'*)
4240 lt_cv_path_NM="$tmp_nm -B"
4241 break
4242 ;;
4243 *)
4244 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4245 */dev/null*)
4246 lt_cv_path_NM="$tmp_nm -p"
4247 break
4248 ;;
4249 *)
4250 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4251 continue # so that we can try to find one that supports BSD flags
4252 ;;
4253 esac
4254 ;;
4255 esac
4256 fi
4257 done
4258 IFS="$lt_save_ifs"
4259 done
4260 : ${lt_cv_path_NM=no}
4261 fi
4262 fi
4263 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4264 echo "${ECHO_T}$lt_cv_path_NM" >&6
4265 if test "$lt_cv_path_NM" != "no"; then
4266 NM="$lt_cv_path_NM"
4267 else
4268 # Didn't find any BSD compatible name lister, look for dumpbin.
4269 if test -n "$ac_tool_prefix"; then
4270 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4271 do
4272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4274 echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279 if test -n "$DUMPBIN"; then
4280 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4284 do
4285 IFS=$as_save_IFS
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 break 2
4292 fi
4293 done
4294 done
4295
4296 fi
4297 fi
4298 DUMPBIN=$ac_cv_prog_DUMPBIN
4299 if test -n "$DUMPBIN"; then
4300 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4301 echo "${ECHO_T}$DUMPBIN" >&6
4302 else
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4305 fi
4306
4307 test -n "$DUMPBIN" && break
4308 done
4309 fi
4310 if test -z "$DUMPBIN"; then
4311 ac_ct_DUMPBIN=$DUMPBIN
4312 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4313 do
4314 # Extract the first word of "$ac_prog", so it can be a program name with args.
4315 set dummy $ac_prog; ac_word=$2
4316 echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4318 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 else
4321 if test -n "$ac_ct_DUMPBIN"; then
4322 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4323 else
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH
4326 do
4327 IFS=$as_save_IFS
4328 test -z "$as_dir" && as_dir=.
4329 for ac_exec_ext in '' $ac_executable_extensions; do
4330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4331 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 break 2
4334 fi
4335 done
4336 done
4337
4338 fi
4339 fi
4340 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4341 if test -n "$ac_ct_DUMPBIN"; then
4342 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4343 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4344 else
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4347 fi
4348
4349 test -n "$ac_ct_DUMPBIN" && break
4350 done
4351 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4352
4353 DUMPBIN=$ac_ct_DUMPBIN
4354 fi
4355
4356
4357 if test "$DUMPBIN" != ":"; then
4358 NM="$DUMPBIN"
4359 fi
4360 fi
4361 test -z "$NM" && NM=nm
4362
4363
4364
4365
4366
4367
4368 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4369 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4370 if test "${lt_cv_nm_interface+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373 lt_cv_nm_interface="BSD nm"
4374 echo "int some_variable = 0;" > conftest.$ac_ext
4375 (eval echo "\"\$as_me:4375: $ac_compile\"" >&5)
4376 (eval "$ac_compile" 2>conftest.err)
4377 cat conftest.err >&5
4378 (eval echo "\"\$as_me:4378: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4379 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4380 cat conftest.err >&5
4381 (eval echo "\"\$as_me:4381: output\"" >&5)
4382 cat conftest.out >&5
4383 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4384 lt_cv_nm_interface="MS dumpbin"
4385 fi
4386 rm -f conftest*
4387 fi
4388 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4389 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4390
4391 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4393 LN_S=$as_ln_s
4394 if test "$LN_S" = "ln -s"; then
4395 echo "$as_me:$LINENO: result: yes" >&5
4396 echo "${ECHO_T}yes" >&6
4397 else
4398 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4399 echo "${ECHO_T}no, using $LN_S" >&6
4400 fi
4401
4402 # find the maximum length of command line arguments
4403 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4404 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4405 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 else
4408 i=0
4409 teststring="ABCD"
4410
4411 case $build_os in
4412 msdosdjgpp*)
4413 # On DJGPP, this test can blow up pretty badly due to problems in libc
4414 # (any single argument exceeding 2000 bytes causes a buffer overrun
4415 # during glob expansion). Even if it were fixed, the result of this
4416 # check would be larger than it should be.
4417 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4418 ;;
4419
4420 gnu*)
4421 # Under GNU Hurd, this test is not required because there is
4422 # no limit to the length of command line arguments.
4423 # Libtool will interpret -1 as no limit whatsoever
4424 lt_cv_sys_max_cmd_len=-1;
4425 ;;
4426
4427 cygwin* | mingw*)
4428 # On Win9x/ME, this test blows up -- it succeeds, but takes
4429 # about 5 minutes as the teststring grows exponentially.
4430 # Worse, since 9x/ME are not pre-emptively multitasking,
4431 # you end up with a "frozen" computer, even though with patience
4432 # the test eventually succeeds (with a max line length of 256k).
4433 # Instead, let's just punt: use the minimum linelength reported by
4434 # all of the supported platforms: 8192 (on NT/2K/XP).
4435 lt_cv_sys_max_cmd_len=8192;
4436 ;;
4437
4438 amigaos*)
4439 # On AmigaOS with pdksh, this test takes hours, literally.
4440 # So we just punt and use a minimum line length of 8192.
4441 lt_cv_sys_max_cmd_len=8192;
4442 ;;
4443
4444 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4445 # This has been around since 386BSD, at least. Likely further.
4446 if test -x /sbin/sysctl; then
4447 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4448 elif test -x /usr/sbin/sysctl; then
4449 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4450 else
4451 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4452 fi
4453 # And add a safety zone
4454 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4455 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4456 ;;
4457
4458 interix*)
4459 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4460 lt_cv_sys_max_cmd_len=196608
4461 ;;
4462
4463 osf*)
4464 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4465 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4466 # nice to cause kernel panics so lets avoid the loop below.
4467 # First set a reasonable default.
4468 lt_cv_sys_max_cmd_len=16384
4469 #
4470 if test -x /sbin/sysconfig; then
4471 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4472 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4473 esac
4474 fi
4475 ;;
4476 sco3.2v5*)
4477 lt_cv_sys_max_cmd_len=102400
4478 ;;
4479 sysv5* | sco5v6* | sysv4.2uw2*)
4480 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4481 if test -n "$kargmax"; then
4482 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4483 else
4484 lt_cv_sys_max_cmd_len=32768
4485 fi
4486 ;;
4487 *)
4488 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4489 if test -n $lt_cv_sys_max_cmd_len; then
4490 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4491 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4492 else
4493 # Make teststring a little bigger before we do anything with it.
4494 # a 1K string should be a reasonable start.
4495 for i in 1 2 3 4 5 6 7 8 ; do
4496 teststring=$teststring$teststring
4497 done
4498 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4499 # If test is not a shell built-in, we'll probably end up computing a
4500 # maximum length that is only half of the actual maximum length, but
4501 # we can't tell.
4502 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4503 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4504 test $i != 17 # 1/2 MB should be enough
4505 do
4506 i=`expr $i + 1`
4507 teststring=$teststring$teststring
4508 done
4509 # Only check the string length outside the loop.
4510 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4511 teststring=
4512 # Add a significant safety factor because C++ compilers can tack on
4513 # massive amounts of additional arguments before passing them to the
4514 # linker. It appears as though 1/2 is a usable value.
4515 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4516 fi
4517 ;;
4518 esac
4519
4520 fi
4521
4522 if test -n $lt_cv_sys_max_cmd_len ; then
4523 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4524 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4525 else
4526 echo "$as_me:$LINENO: result: none" >&5
4527 echo "${ECHO_T}none" >&6
4528 fi
4529 max_cmd_len=$lt_cv_sys_max_cmd_len
4530
4531
4532
4533
4534
4535
4536
4537 : ${CP="cp -f"}
4538 : ${MV="mv -f"}
4539 : ${RM="rm -f"}
4540
4541 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4542 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4543 # Try some XSI features
4544 xsi_shell=no
4545 ( _lt_dummy="a/b/c"
4546 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4547 = c,a/b,, ) >/dev/null 2>&1 \
4548 && xsi_shell=yes
4549 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4550 echo "${ECHO_T}$xsi_shell" >&6
4551
4552
4553 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4554 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4555 lt_shell_append=no
4556 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4557 >/dev/null 2>&1 \
4558 && lt_shell_append=yes
4559 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4560 echo "${ECHO_T}$lt_shell_append" >&6
4561
4562
4563 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4564 lt_unset=unset
4565 else
4566 lt_unset=false
4567 fi
4568
4569
4570
4571
4572
4573 # test EBCDIC or ASCII
4574 case `echo X|tr X '\101'` in
4575 A) # ASCII based system
4576 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4577 lt_SP2NL='tr \040 \012'
4578 lt_NL2SP='tr \015\012 \040\040'
4579 ;;
4580 *) # EBCDIC based system
4581 lt_SP2NL='tr \100 \n'
4582 lt_NL2SP='tr \r\n \100\100'
4583 ;;
4584 esac
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4595 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4596 if test "${lt_cv_ld_reload_flag+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 else
4599 lt_cv_ld_reload_flag='-r'
4600 fi
4601 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4602 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4603 reload_flag=$lt_cv_ld_reload_flag
4604 case $reload_flag in
4605 "" | " "*) ;;
4606 *) reload_flag=" $reload_flag" ;;
4607 esac
4608 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4609 case $host_os in
4610 darwin*)
4611 if test "$GCC" = yes; then
4612 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4613 else
4614 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4615 fi
4616 ;;
4617 esac
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4629 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4630 if test "${lt_cv_deplibs_check_method+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else
4633 lt_cv_file_magic_cmd='$MAGIC_CMD'
4634 lt_cv_file_magic_test_file=
4635 lt_cv_deplibs_check_method='unknown'
4636 # Need to set the preceding variable on all platforms that support
4637 # interlibrary dependencies.
4638 # 'none' -- dependencies not supported.
4639 # `unknown' -- same as none, but documents that we really don't know.
4640 # 'pass_all' -- all dependencies passed with no checks.
4641 # 'test_compile' -- check by making test program.
4642 # 'file_magic [[regex]]' -- check by looking for files in library path
4643 # which responds to the $file_magic_cmd with a given extended regex.
4644 # If you have `file' or equivalent on your system and you're not sure
4645 # whether `pass_all' will *always* work, you probably want this one.
4646
4647 case $host_os in
4648 aix[4-9]*)
4649 lt_cv_deplibs_check_method=pass_all
4650 ;;
4651
4652 beos*)
4653 lt_cv_deplibs_check_method=pass_all
4654 ;;
4655
4656 bsdi[45]*)
4657 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4658 lt_cv_file_magic_cmd='/usr/bin/file -L'
4659 lt_cv_file_magic_test_file=/shlib/libc.so
4660 ;;
4661
4662 cygwin*)
4663 # func_win32_libid is a shell function defined in ltmain.sh
4664 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4665 lt_cv_file_magic_cmd='func_win32_libid'
4666 ;;
4667
4668 mingw* | pw32*)
4669 # Base MSYS/MinGW do not provide the 'file' command needed by
4670 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4671 # unless we find 'file', for example because we are cross-compiling.
4672 if ( file / ) >/dev/null 2>&1; then
4673 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4674 lt_cv_file_magic_cmd='func_win32_libid'
4675 else
4676 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4677 lt_cv_file_magic_cmd='$OBJDUMP -f'
4678 fi
4679 ;;
4680
4681 darwin* | rhapsody*)
4682 lt_cv_deplibs_check_method=pass_all
4683 ;;
4684
4685 freebsd* | dragonfly*)
4686 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4687 case $host_cpu in
4688 i*86 )
4689 # Not sure whether the presence of OpenBSD here was a mistake.
4690 # Let's accept both of them until this is cleared up.
4691 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4692 lt_cv_file_magic_cmd=/usr/bin/file
4693 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4694 ;;
4695 esac
4696 else
4697 lt_cv_deplibs_check_method=pass_all
4698 fi
4699 ;;
4700
4701 gnu*)
4702 lt_cv_deplibs_check_method=pass_all
4703 ;;
4704
4705 hpux10.20* | hpux11*)
4706 lt_cv_file_magic_cmd=/usr/bin/file
4707 case $host_cpu in
4708 ia64*)
4709 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4710 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4711 ;;
4712 hppa*64*)
4713 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]'
4714 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4715 ;;
4716 *)
4717 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4718 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4719 ;;
4720 esac
4721 ;;
4722
4723 interix[3-9]*)
4724 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4725 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4726 ;;
4727
4728 irix5* | irix6* | nonstopux*)
4729 case $LD in
4730 *-32|*"-32 ") libmagic=32-bit;;
4731 *-n32|*"-n32 ") libmagic=N32;;
4732 *-64|*"-64 ") libmagic=64-bit;;
4733 *) libmagic=never-match;;
4734 esac
4735 lt_cv_deplibs_check_method=pass_all
4736 ;;
4737
4738 # This must be Linux ELF.
4739 linux* | k*bsd*-gnu)
4740 lt_cv_deplibs_check_method=pass_all
4741 ;;
4742
4743 netbsd*)
4744 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4745 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4746 else
4747 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4748 fi
4749 ;;
4750
4751 newos6*)
4752 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4753 lt_cv_file_magic_cmd=/usr/bin/file
4754 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4755 ;;
4756
4757 *nto* | *qnx*)
4758 lt_cv_deplibs_check_method=pass_all
4759 ;;
4760
4761 openbsd*)
4762 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4763 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4764 else
4765 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4766 fi
4767 ;;
4768
4769 osf3* | osf4* | osf5*)
4770 lt_cv_deplibs_check_method=pass_all
4771 ;;
4772
4773 rdos*)
4774 lt_cv_deplibs_check_method=pass_all
4775 ;;
4776
4777 solaris*)
4778 lt_cv_deplibs_check_method=pass_all
4779 ;;
4780
4781 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4782 lt_cv_deplibs_check_method=pass_all
4783 ;;
4784
4785 sysv4 | sysv4.3*)
4786 case $host_vendor in
4787 motorola)
4788 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]'
4789 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4790 ;;
4791 ncr)
4792 lt_cv_deplibs_check_method=pass_all
4793 ;;
4794 sequent)
4795 lt_cv_file_magic_cmd='/bin/file'
4796 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4797 ;;
4798 sni)
4799 lt_cv_file_magic_cmd='/bin/file'
4800 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4801 lt_cv_file_magic_test_file=/lib/libc.so
4802 ;;
4803 siemens)
4804 lt_cv_deplibs_check_method=pass_all
4805 ;;
4806 pc)
4807 lt_cv_deplibs_check_method=pass_all
4808 ;;
4809 esac
4810 ;;
4811
4812 tpf*)
4813 lt_cv_deplibs_check_method=pass_all
4814 ;;
4815 esac
4816
4817 fi
4818 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4819 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4820 file_magic_cmd=$lt_cv_file_magic_cmd
4821 deplibs_check_method=$lt_cv_deplibs_check_method
4822 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4837 set dummy ${ac_tool_prefix}ar; ac_word=$2
4838 echo "$as_me:$LINENO: checking for $ac_word" >&5
4839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4840 if test "${ac_cv_prog_AR+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 else
4843 if test -n "$AR"; then
4844 ac_cv_prog_AR="$AR" # Let the user override the test.
4845 else
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4848 do
4849 IFS=$as_save_IFS
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_AR="${ac_tool_prefix}ar"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 break 2
4856 fi
4857 done
4858 done
4859
4860 fi
4861 fi
4862 AR=$ac_cv_prog_AR
4863 if test -n "$AR"; then
4864 echo "$as_me:$LINENO: result: $AR" >&5
4865 echo "${ECHO_T}$AR" >&6
4866 else
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4869 fi
4870
4871 fi
4872 if test -z "$ac_cv_prog_AR"; then
4873 ac_ct_AR=$AR
4874 # Extract the first word of "ar", so it can be a program name with args.
4875 set dummy ar; ac_word=$2
4876 echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4878 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 else
4881 if test -n "$ac_ct_AR"; then
4882 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4886 do
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_AR="ar"
4892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4894 fi
4895 done
4896 done
4897
4898 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4899 fi
4900 fi
4901 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4902 if test -n "$ac_ct_AR"; then
4903 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4904 echo "${ECHO_T}$ac_ct_AR" >&6
4905 else
4906 echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6
4908 fi
4909
4910 AR=$ac_ct_AR
4911 else
4912 AR="$ac_cv_prog_AR"
4913 fi
4914
4915 test -z "$AR" && AR=ar
4916 test -z "$AR_FLAGS" && AR_FLAGS=cru
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}strip; ac_word=$2
4931 echo "$as_me:$LINENO: checking for $ac_word" >&5
4932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4933 if test "${ac_cv_prog_STRIP+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936 if test -n "$STRIP"; then
4937 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4949 fi
4950 done
4951 done
4952
4953 fi
4954 fi
4955 STRIP=$ac_cv_prog_STRIP
4956 if test -n "$STRIP"; then
4957 echo "$as_me:$LINENO: result: $STRIP" >&5
4958 echo "${ECHO_T}$STRIP" >&6
4959 else
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4962 fi
4963
4964 fi
4965 if test -z "$ac_cv_prog_STRIP"; then
4966 ac_ct_STRIP=$STRIP
4967 # Extract the first word of "strip", so it can be a program name with args.
4968 set dummy strip; ac_word=$2
4969 echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4971 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 else
4974 if test -n "$ac_ct_STRIP"; then
4975 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4979 do
4980 IFS=$as_save_IFS
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_ac_ct_STRIP="strip"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 break 2
4987 fi
4988 done
4989 done
4990
4991 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4992 fi
4993 fi
4994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4995 if test -n "$ac_ct_STRIP"; then
4996 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4997 echo "${ECHO_T}$ac_ct_STRIP" >&6
4998 else
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5001 fi
5002
5003 STRIP=$ac_ct_STRIP
5004 else
5005 STRIP="$ac_cv_prog_STRIP"
5006 fi
5007
5008 test -z "$STRIP" && STRIP=:
5009
5010
5011
5012
5013
5014
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5018 echo "$as_me:$LINENO: checking for $ac_word" >&5
5019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5020 if test "${ac_cv_prog_RANLIB+set}" = set; then
5021 echo $ECHO_N "(cached) $ECHO_C" >&6
5022 else
5023 if test -n "$RANLIB"; then
5024 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5036 fi
5037 done
5038 done
5039
5040 fi
5041 fi
5042 RANLIB=$ac_cv_prog_RANLIB
5043 if test -n "$RANLIB"; then
5044 echo "$as_me:$LINENO: result: $RANLIB" >&5
5045 echo "${ECHO_T}$RANLIB" >&6
5046 else
5047 echo "$as_me:$LINENO: result: no" >&5
5048 echo "${ECHO_T}no" >&6
5049 fi
5050
5051 fi
5052 if test -z "$ac_cv_prog_RANLIB"; then
5053 ac_ct_RANLIB=$RANLIB
5054 # Extract the first word of "ranlib", so it can be a program name with args.
5055 set dummy ranlib; ac_word=$2
5056 echo "$as_me:$LINENO: checking for $ac_word" >&5
5057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5058 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 else
5061 if test -n "$ac_ct_RANLIB"; then
5062 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5066 do
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_ac_ct_RANLIB="ranlib"
5072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5074 fi
5075 done
5076 done
5077
5078 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5079 fi
5080 fi
5081 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5082 if test -n "$ac_ct_RANLIB"; then
5083 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5084 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5085 else
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5088 fi
5089
5090 RANLIB=$ac_ct_RANLIB
5091 else
5092 RANLIB="$ac_cv_prog_RANLIB"
5093 fi
5094
5095 test -z "$RANLIB" && RANLIB=:
5096
5097
5098
5099
5100
5101
5102 # Determine commands to create old-style static archives.
5103 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5104 old_postinstall_cmds='chmod 644 $oldlib'
5105 old_postuninstall_cmds=
5106
5107 if test -n "$RANLIB"; then
5108 case $host_os in
5109 openbsd*)
5110 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5111 ;;
5112 *)
5113 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5114 ;;
5115 esac
5116 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5117 fi
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152 # If no C compiler was specified, use CC.
5153 LTCC=${LTCC-"$CC"}
5154
5155 # If no C compiler flags were specified, use CFLAGS.
5156 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5157
5158 # Allow CC to be a program name with arguments.
5159 compiler=$CC
5160
5161
5162 # Check for command to grab the raw symbol name followed by C symbol from nm.
5163 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5164 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5165 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 else
5168
5169 # These are sane defaults that work on at least a few old systems.
5170 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5171
5172 # Character class describing NM global symbol codes.
5173 symcode='[BCDEGRST]'
5174
5175 # Regexp to match symbols that can be accessed directly from C.
5176 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5177
5178 # Define system-specific variables.
5179 case $host_os in
5180 aix*)
5181 symcode='[BCDT]'
5182 ;;
5183 cygwin* | mingw* | pw32*)
5184 symcode='[ABCDGISTW]'
5185 ;;
5186 hpux*)
5187 if test "$host_cpu" = ia64; then
5188 symcode='[ABCDEGRST]'
5189 fi
5190 ;;
5191 irix* | nonstopux*)
5192 symcode='[BCDEGRST]'
5193 ;;
5194 osf*)
5195 symcode='[BCDEGQRST]'
5196 ;;
5197 solaris*)
5198 symcode='[BDRT]'
5199 ;;
5200 sco3.2v5*)
5201 symcode='[DT]'
5202 ;;
5203 sysv4.2uw2*)
5204 symcode='[DT]'
5205 ;;
5206 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5207 symcode='[ABDT]'
5208 ;;
5209 sysv4)
5210 symcode='[DFNSTU]'
5211 ;;
5212 esac
5213
5214 # If we're using GNU nm, then use its standard symbol codes.
5215 case `$NM -V 2>&1` in
5216 *GNU* | *'with BFD'*)
5217 symcode='[ABCDGIRSTW]' ;;
5218 esac
5219
5220 # Transform an extracted symbol line into a proper C declaration.
5221 # Some systems (esp. on ia64) link data and code symbols differently,
5222 # so use this general approach.
5223 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5224
5225 # Transform an extracted symbol line into symbol name and symbol address
5226 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5227
5228 # Handle CRLF in mingw tool chain
5229 opt_cr=
5230 case $build_os in
5231 mingw*)
5232 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5233 ;;
5234 esac
5235
5236 # Try without a prefix underscore, then with it.
5237 for ac_symprfx in "" "_"; do
5238
5239 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5240 symxfrm="\\1 $ac_symprfx\\2 \\2"
5241
5242 # Write the raw and C identifiers.
5243 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5244 # Fake it for dumpbin and say T for any non-static function
5245 # and D for any global variable.
5246 # Also find C++ and __fastcall symbols from MSVC++,
5247 # which start with @ or ?.
5248 lt_cv_sys_global_symbol_pipe="$AWK '"\
5249 " {last_section=section; section=\$ 3};"\
5250 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5251 " \$ 0!~/External *\|/{next};"\
5252 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5253 " {if(hide[section]) next};"\
5254 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5255 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5256 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5257 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5258 " ' prfx=^$ac_symprfx"
5259 else
5260 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5261 fi
5262
5263 # Check to see that the pipe works correctly.
5264 pipe_works=no
5265
5266 rm -f conftest*
5267 cat > conftest.$ac_ext <<_LT_EOF
5268 #ifdef __cplusplus
5269 extern "C" {
5270 #endif
5271 char nm_test_var;
5272 void nm_test_func(void);
5273 void nm_test_func(void){}
5274 #ifdef __cplusplus
5275 }
5276 #endif
5277 int main(){nm_test_var='a';nm_test_func();return(0);}
5278 _LT_EOF
5279
5280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5281 (eval $ac_compile) 2>&5
5282 ac_status=$?
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; then
5285 # Now try to grab the symbols.
5286 nlist=conftest.nm
5287 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5288 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5289 ac_status=$?
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } && test -s "$nlist"; then
5292 # Try sorting and uniquifying the output.
5293 if sort "$nlist" | uniq > "$nlist"T; then
5294 mv -f "$nlist"T "$nlist"
5295 else
5296 rm -f "$nlist"T
5297 fi
5298
5299 # Make sure that we snagged all the symbols we need.
5300 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5301 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5302 cat <<_LT_EOF > conftest.$ac_ext
5303 #ifdef __cplusplus
5304 extern "C" {
5305 #endif
5306
5307 _LT_EOF
5308 # Now generate the symbol file.
5309 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5310
5311 cat <<_LT_EOF >> conftest.$ac_ext
5312
5313 /* The mapping between symbol names and symbols. */
5314 const struct {
5315 const char *name;
5316 void *address;
5317 }
5318 lt__PROGRAM__LTX_preloaded_symbols[] =
5319 {
5320 { "@PROGRAM@", (void *) 0 },
5321 _LT_EOF
5322 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5323 cat <<\_LT_EOF >> conftest.$ac_ext
5324 {0, (void *) 0}
5325 };
5326
5327 /* This works around a problem in FreeBSD linker */
5328 #ifdef FREEBSD_WORKAROUND
5329 static const void *lt_preloaded_setup() {
5330 return lt__PROGRAM__LTX_preloaded_symbols;
5331 }
5332 #endif
5333
5334 #ifdef __cplusplus
5335 }
5336 #endif
5337 _LT_EOF
5338 # Now try linking the two files.
5339 mv conftest.$ac_objext conftstm.$ac_objext
5340 lt_save_LIBS="$LIBS"
5341 lt_save_CFLAGS="$CFLAGS"
5342 LIBS="conftstm.$ac_objext"
5343 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5345 (eval $ac_link) 2>&5
5346 ac_status=$?
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5349 pipe_works=yes
5350 fi
5351 LIBS="$lt_save_LIBS"
5352 CFLAGS="$lt_save_CFLAGS"
5353 else
5354 echo "cannot find nm_test_func in $nlist" >&5
5355 fi
5356 else
5357 echo "cannot find nm_test_var in $nlist" >&5
5358 fi
5359 else
5360 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5361 fi
5362 else
5363 echo "$progname: failed program was:" >&5
5364 cat conftest.$ac_ext >&5
5365 fi
5366 rm -f conftest* conftst*
5367
5368 # Do not use the global_symbol_pipe unless it works.
5369 if test "$pipe_works" = yes; then
5370 break
5371 else
5372 lt_cv_sys_global_symbol_pipe=
5373 fi
5374 done
5375
5376 fi
5377
5378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5379 lt_cv_sys_global_symbol_to_cdecl=
5380 fi
5381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5382 echo "$as_me:$LINENO: result: failed" >&5
5383 echo "${ECHO_T}failed" >&6
5384 else
5385 echo "$as_me:$LINENO: result: ok" >&5
5386 echo "${ECHO_T}ok" >&6
5387 fi
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5406 if test "${enable_libtool_lock+set}" = set; then
5407 enableval="$enable_libtool_lock"
5408
5409 fi;
5410 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5411
5412 # Some flags need to be propagated to the compiler or linker for good
5413 # libtool support.
5414 case $host in
5415 ia64-*-hpux*)
5416 # Find out which ABI we are using.
5417 echo 'int i;' > conftest.$ac_ext
5418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419 (eval $ac_compile) 2>&5
5420 ac_status=$?
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; then
5423 case `/usr/bin/file conftest.$ac_objext` in
5424 *ELF-32*)
5425 HPUX_IA64_MODE="32"
5426 ;;
5427 *ELF-64*)
5428 HPUX_IA64_MODE="64"
5429 ;;
5430 esac
5431 fi
5432 rm -rf conftest*
5433 ;;
5434 *-*-irix6*)
5435 # Find out which ABI we are using.
5436 echo '#line 5436 "configure"' > conftest.$ac_ext
5437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5438 (eval $ac_compile) 2>&5
5439 ac_status=$?
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; then
5442 if test "$lt_cv_prog_gnu_ld" = yes; then
5443 case `/usr/bin/file conftest.$ac_objext` in
5444 *32-bit*)
5445 LD="${LD-ld} -melf32bsmip"
5446 ;;
5447 *N32*)
5448 LD="${LD-ld} -melf32bmipn32"
5449 ;;
5450 *64-bit*)
5451 LD="${LD-ld} -melf64bmip"
5452 ;;
5453 esac
5454 else
5455 case `/usr/bin/file conftest.$ac_objext` in
5456 *32-bit*)
5457 LD="${LD-ld} -32"
5458 ;;
5459 *N32*)
5460 LD="${LD-ld} -n32"
5461 ;;
5462 *64-bit*)
5463 LD="${LD-ld} -64"
5464 ;;
5465 esac
5466 fi
5467 fi
5468 rm -rf conftest*
5469 ;;
5470
5471 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5472 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5473 # Find out which ABI we are using.
5474 echo 'int i;' > conftest.$ac_ext
5475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5476 (eval $ac_compile) 2>&5
5477 ac_status=$?
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; then
5480 case `/usr/bin/file conftest.o` in
5481 *32-bit*)
5482 case $host in
5483 x86_64-*kfreebsd*-gnu)
5484 LD="${LD-ld} -m elf_i386_fbsd"
5485 ;;
5486 x86_64-*linux*)
5487 LD="${LD-ld} -m elf_i386"
5488 ;;
5489 ppc64-*linux*|powerpc64-*linux*)
5490 LD="${LD-ld} -m elf32ppclinux"
5491 ;;
5492 s390x-*linux*)
5493 LD="${LD-ld} -m elf_s390"
5494 ;;
5495 sparc64-*linux*)
5496 LD="${LD-ld} -m elf32_sparc"
5497 ;;
5498 esac
5499 ;;
5500 *64-bit*)
5501 case $host in
5502 x86_64-*kfreebsd*-gnu)
5503 LD="${LD-ld} -m elf_x86_64_fbsd"
5504 ;;
5505 x86_64-*linux*)
5506 LD="${LD-ld} -m elf_x86_64"
5507 ;;
5508 ppc*-*linux*|powerpc*-*linux*)
5509 LD="${LD-ld} -m elf64ppc"
5510 ;;
5511 s390*-*linux*|s390*-*tpf*)
5512 LD="${LD-ld} -m elf64_s390"
5513 ;;
5514 sparc*-*linux*)
5515 LD="${LD-ld} -m elf64_sparc"
5516 ;;
5517 esac
5518 ;;
5519 esac
5520 fi
5521 rm -rf conftest*
5522 ;;
5523
5524 *-*-sco3.2v5*)
5525 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5526 SAVE_CFLAGS="$CFLAGS"
5527 CFLAGS="$CFLAGS -belf"
5528 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5529 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5530 if test "${lt_cv_cc_needs_belf+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5532 else
5533 ac_ext=c
5534 ac_cpp='$CPP $CPPFLAGS'
5535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5538
5539 if test x$gcc_no_link = xyes; then
5540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5542 { (exit 1); exit 1; }; }
5543 fi
5544 cat >conftest.$ac_ext <<_ACEOF
5545 /* confdefs.h. */
5546 _ACEOF
5547 cat confdefs.h >>conftest.$ac_ext
5548 cat >>conftest.$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5550
5551 int
5552 main ()
5553 {
5554
5555 ;
5556 return 0;
5557 }
5558 _ACEOF
5559 rm -f conftest.$ac_objext conftest$ac_exeext
5560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5561 (eval $ac_link) 2>conftest.er1
5562 ac_status=$?
5563 grep -v '^ *+' conftest.er1 >conftest.err
5564 rm -f conftest.er1
5565 cat conftest.err >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } &&
5568 { ac_try='test -z "$ac_c_werror_flag"
5569 || test ! -s conftest.err'
5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571 (eval $ac_try) 2>&5
5572 ac_status=$?
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); }; } &&
5575 { ac_try='test -s conftest$ac_exeext'
5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577 (eval $ac_try) 2>&5
5578 ac_status=$?
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; }; then
5581 lt_cv_cc_needs_belf=yes
5582 else
5583 echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.$ac_ext >&5
5585
5586 lt_cv_cc_needs_belf=no
5587 fi
5588 rm -f conftest.err conftest.$ac_objext \
5589 conftest$ac_exeext conftest.$ac_ext
5590 ac_ext=c
5591 ac_cpp='$CPP $CPPFLAGS'
5592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5595
5596 fi
5597 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5598 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5599 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5600 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5601 CFLAGS="$SAVE_CFLAGS"
5602 fi
5603 ;;
5604 sparc*-*solaris*)
5605 # Find out which ABI we are using.
5606 echo 'int i;' > conftest.$ac_ext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608 (eval $ac_compile) 2>&5
5609 ac_status=$?
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; then
5612 case `/usr/bin/file conftest.o` in
5613 *64-bit*)
5614 case $lt_cv_prog_gnu_ld in
5615 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5616 *) LD="${LD-ld} -64" ;;
5617 esac
5618 ;;
5619 esac
5620 fi
5621 rm -rf conftest*
5622 ;;
5623 esac
5624
5625 need_locks="$enable_libtool_lock"
5626
5627 ac_ext=c
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5632 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5633 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5634 # On Suns, sometimes $CPP names a directory.
5635 if test -n "$CPP" && test -d "$CPP"; then
5636 CPP=
5637 fi
5638 if test -z "$CPP"; then
5639 if test "${ac_cv_prog_CPP+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642 # Double quotes because CPP needs to be expanded
5643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5644 do
5645 ac_preproc_ok=false
5646 for ac_c_preproc_warn_flag in '' yes
5647 do
5648 # Use a header file that comes with gcc, so configuring glibc
5649 # with a fresh cross-compiler works.
5650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5651 # <limits.h> exists even on freestanding compilers.
5652 # On the NeXT, cc -E runs the code through the compiler's parser,
5653 # not just through cpp. "Syntax error" is here to catch this case.
5654 cat >conftest.$ac_ext <<_ACEOF
5655 /* confdefs.h. */
5656 _ACEOF
5657 cat confdefs.h >>conftest.$ac_ext
5658 cat >>conftest.$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5660 #ifdef __STDC__
5661 # include <limits.h>
5662 #else
5663 # include <assert.h>
5664 #endif
5665 Syntax error
5666 _ACEOF
5667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5669 ac_status=$?
5670 grep -v '^ *+' conftest.er1 >conftest.err
5671 rm -f conftest.er1
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } >/dev/null; then
5675 if test -s conftest.err; then
5676 ac_cpp_err=$ac_c_preproc_warn_flag
5677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5678 else
5679 ac_cpp_err=
5680 fi
5681 else
5682 ac_cpp_err=yes
5683 fi
5684 if test -z "$ac_cpp_err"; then
5685 :
5686 else
5687 echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.$ac_ext >&5
5689
5690 # Broken: fails on valid input.
5691 continue
5692 fi
5693 rm -f conftest.err conftest.$ac_ext
5694
5695 # OK, works on sane cases. Now check whether non-existent headers
5696 # can be detected and how.
5697 cat >conftest.$ac_ext <<_ACEOF
5698 /* confdefs.h. */
5699 _ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703 #include <ac_nonexistent.h>
5704 _ACEOF
5705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5707 ac_status=$?
5708 grep -v '^ *+' conftest.er1 >conftest.err
5709 rm -f conftest.er1
5710 cat conftest.err >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); } >/dev/null; then
5713 if test -s conftest.err; then
5714 ac_cpp_err=$ac_c_preproc_warn_flag
5715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5716 else
5717 ac_cpp_err=
5718 fi
5719 else
5720 ac_cpp_err=yes
5721 fi
5722 if test -z "$ac_cpp_err"; then
5723 # Broken: success on invalid input.
5724 continue
5725 else
5726 echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5
5728
5729 # Passes both tests.
5730 ac_preproc_ok=:
5731 break
5732 fi
5733 rm -f conftest.err conftest.$ac_ext
5734
5735 done
5736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5737 rm -f conftest.err conftest.$ac_ext
5738 if $ac_preproc_ok; then
5739 break
5740 fi
5741
5742 done
5743 ac_cv_prog_CPP=$CPP
5744
5745 fi
5746 CPP=$ac_cv_prog_CPP
5747 else
5748 ac_cv_prog_CPP=$CPP
5749 fi
5750 echo "$as_me:$LINENO: result: $CPP" >&5
5751 echo "${ECHO_T}$CPP" >&6
5752 ac_preproc_ok=false
5753 for ac_c_preproc_warn_flag in '' yes
5754 do
5755 # Use a header file that comes with gcc, so configuring glibc
5756 # with a fresh cross-compiler works.
5757 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5758 # <limits.h> exists even on freestanding compilers.
5759 # On the NeXT, cc -E runs the code through the compiler's parser,
5760 # not just through cpp. "Syntax error" is here to catch this case.
5761 cat >conftest.$ac_ext <<_ACEOF
5762 /* confdefs.h. */
5763 _ACEOF
5764 cat confdefs.h >>conftest.$ac_ext
5765 cat >>conftest.$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5767 #ifdef __STDC__
5768 # include <limits.h>
5769 #else
5770 # include <assert.h>
5771 #endif
5772 Syntax error
5773 _ACEOF
5774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5776 ac_status=$?
5777 grep -v '^ *+' conftest.er1 >conftest.err
5778 rm -f conftest.er1
5779 cat conftest.err >&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); } >/dev/null; then
5782 if test -s conftest.err; then
5783 ac_cpp_err=$ac_c_preproc_warn_flag
5784 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5785 else
5786 ac_cpp_err=
5787 fi
5788 else
5789 ac_cpp_err=yes
5790 fi
5791 if test -z "$ac_cpp_err"; then
5792 :
5793 else
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.$ac_ext >&5
5796
5797 # Broken: fails on valid input.
5798 continue
5799 fi
5800 rm -f conftest.err conftest.$ac_ext
5801
5802 # OK, works on sane cases. Now check whether non-existent headers
5803 # can be detected and how.
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 #include <ac_nonexistent.h>
5811 _ACEOF
5812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5814 ac_status=$?
5815 grep -v '^ *+' conftest.er1 >conftest.err
5816 rm -f conftest.er1
5817 cat conftest.err >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); } >/dev/null; then
5820 if test -s conftest.err; then
5821 ac_cpp_err=$ac_c_preproc_warn_flag
5822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5823 else
5824 ac_cpp_err=
5825 fi
5826 else
5827 ac_cpp_err=yes
5828 fi
5829 if test -z "$ac_cpp_err"; then
5830 # Broken: success on invalid input.
5831 continue
5832 else
5833 echo "$as_me: failed program was:" >&5
5834 sed 's/^/| /' conftest.$ac_ext >&5
5835
5836 # Passes both tests.
5837 ac_preproc_ok=:
5838 break
5839 fi
5840 rm -f conftest.err conftest.$ac_ext
5841
5842 done
5843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5844 rm -f conftest.err conftest.$ac_ext
5845 if $ac_preproc_ok; then
5846 :
5847 else
5848 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5849 See \`config.log' for more details." >&5
5850 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5851 See \`config.log' for more details." >&2;}
5852 { (exit 1); exit 1; }; }
5853 fi
5854
5855 ac_ext=c
5856 ac_cpp='$CPP $CPPFLAGS'
5857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5860
5861
5862 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5863 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5864 if test "${ac_cv_header_stdc+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 else
5867 cat >conftest.$ac_ext <<_ACEOF
5868 /* confdefs.h. */
5869 _ACEOF
5870 cat confdefs.h >>conftest.$ac_ext
5871 cat >>conftest.$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 #include <stdlib.h>
5874 #include <stdarg.h>
5875 #include <string.h>
5876 #include <float.h>
5877
5878 int
5879 main ()
5880 {
5881
5882 ;
5883 return 0;
5884 }
5885 _ACEOF
5886 rm -f conftest.$ac_objext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5888 (eval $ac_compile) 2>conftest.er1
5889 ac_status=$?
5890 grep -v '^ *+' conftest.er1 >conftest.err
5891 rm -f conftest.er1
5892 cat conftest.err >&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } &&
5895 { ac_try='test -z "$ac_c_werror_flag"
5896 || test ! -s conftest.err'
5897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 (eval $ac_try) 2>&5
5899 ac_status=$?
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); }; } &&
5902 { ac_try='test -s conftest.$ac_objext'
5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 (eval $ac_try) 2>&5
5905 ac_status=$?
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; }; then
5908 ac_cv_header_stdc=yes
5909 else
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5912
5913 ac_cv_header_stdc=no
5914 fi
5915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5916
5917 if test $ac_cv_header_stdc = yes; then
5918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5919 cat >conftest.$ac_ext <<_ACEOF
5920 /* confdefs.h. */
5921 _ACEOF
5922 cat confdefs.h >>conftest.$ac_ext
5923 cat >>conftest.$ac_ext <<_ACEOF
5924 /* end confdefs.h. */
5925 #include <string.h>
5926
5927 _ACEOF
5928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5929 $EGREP "memchr" >/dev/null 2>&1; then
5930 :
5931 else
5932 ac_cv_header_stdc=no
5933 fi
5934 rm -f conftest*
5935
5936 fi
5937
5938 if test $ac_cv_header_stdc = yes; then
5939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5940 cat >conftest.$ac_ext <<_ACEOF
5941 /* confdefs.h. */
5942 _ACEOF
5943 cat confdefs.h >>conftest.$ac_ext
5944 cat >>conftest.$ac_ext <<_ACEOF
5945 /* end confdefs.h. */
5946 #include <stdlib.h>
5947
5948 _ACEOF
5949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5950 $EGREP "free" >/dev/null 2>&1; then
5951 :
5952 else
5953 ac_cv_header_stdc=no
5954 fi
5955 rm -f conftest*
5956
5957 fi
5958
5959 if test $ac_cv_header_stdc = yes; then
5960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5961 if test "$cross_compiling" = yes; then
5962 :
5963 else
5964 cat >conftest.$ac_ext <<_ACEOF
5965 /* confdefs.h. */
5966 _ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h. */
5970 #include <ctype.h>
5971 #if ((' ' & 0x0FF) == 0x020)
5972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5974 #else
5975 # define ISLOWER(c) \
5976 (('a' <= (c) && (c) <= 'i') \
5977 || ('j' <= (c) && (c) <= 'r') \
5978 || ('s' <= (c) && (c) <= 'z'))
5979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5980 #endif
5981
5982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5983 int
5984 main ()
5985 {
5986 int i;
5987 for (i = 0; i < 256; i++)
5988 if (XOR (islower (i), ISLOWER (i))
5989 || toupper (i) != TOUPPER (i))
5990 exit(2);
5991 exit (0);
5992 }
5993 _ACEOF
5994 rm -f conftest$ac_exeext
5995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5996 (eval $ac_link) 2>&5
5997 ac_status=$?
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 (eval $ac_try) 2>&5
6002 ac_status=$?
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
6005 :
6006 else
6007 echo "$as_me: program exited with status $ac_status" >&5
6008 echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.$ac_ext >&5
6010
6011 ( exit $ac_status )
6012 ac_cv_header_stdc=no
6013 fi
6014 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6015 fi
6016 fi
6017 fi
6018 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6019 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6020 if test $ac_cv_header_stdc = yes; then
6021
6022 cat >>confdefs.h <<\_ACEOF
6023 #define STDC_HEADERS 1
6024 _ACEOF
6025
6026 fi
6027
6028 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6039 inttypes.h stdint.h unistd.h
6040 do
6041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 echo "$as_me:$LINENO: checking for $ac_header" >&5
6043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 else
6047 cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h. */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 $ac_includes_default
6054
6055 #include <$ac_header>
6056 _ACEOF
6057 rm -f conftest.$ac_objext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6059 (eval $ac_compile) 2>conftest.er1
6060 ac_status=$?
6061 grep -v '^ *+' conftest.er1 >conftest.err
6062 rm -f conftest.er1
6063 cat conftest.err >&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try='test -z "$ac_c_werror_flag"
6067 || test ! -s conftest.err'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 (eval $ac_try) 2>&5
6070 ac_status=$?
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; } &&
6073 { ac_try='test -s conftest.$ac_objext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 (eval $ac_try) 2>&5
6076 ac_status=$?
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6079 eval "$as_ac_Header=yes"
6080 else
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.$ac_ext >&5
6083
6084 eval "$as_ac_Header=no"
6085 fi
6086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6087 fi
6088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6091 cat >>confdefs.h <<_ACEOF
6092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6093 _ACEOF
6094
6095 fi
6096
6097 done
6098
6099
6100
6101 for ac_header in dlfcn.h
6102 do
6103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6104 echo "$as_me:$LINENO: checking for $ac_header" >&5
6105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6107 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 else
6109 cat >conftest.$ac_ext <<_ACEOF
6110 /* confdefs.h. */
6111 _ACEOF
6112 cat confdefs.h >>conftest.$ac_ext
6113 cat >>conftest.$ac_ext <<_ACEOF
6114 /* end confdefs.h. */
6115 $ac_includes_default
6116
6117 #include <$ac_header>
6118 _ACEOF
6119 rm -f conftest.$ac_objext
6120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6121 (eval $ac_compile) 2>conftest.er1
6122 ac_status=$?
6123 grep -v '^ *+' conftest.er1 >conftest.err
6124 rm -f conftest.er1
6125 cat conftest.err >&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } &&
6128 { ac_try='test -z "$ac_c_werror_flag"
6129 || test ! -s conftest.err'
6130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131 (eval $ac_try) 2>&5
6132 ac_status=$?
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); }; } &&
6135 { ac_try='test -s conftest.$ac_objext'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 (eval $ac_try) 2>&5
6138 ac_status=$?
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; }; then
6141 eval "$as_ac_Header=yes"
6142 else
6143 echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.$ac_ext >&5
6145
6146 eval "$as_ac_Header=no"
6147 fi
6148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6149 fi
6150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6153 cat >>confdefs.h <<_ACEOF
6154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6155 _ACEOF
6156
6157 fi
6158
6159 done
6160
6161
6162
6163 # This can be used to rebuild libtool when needed
6164 LIBTOOL_DEPS="$ltmain"
6165
6166 # Always use our own libtool.
6167 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193 test -z "$LN_S" && LN_S="ln -s"
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208 if test -n "${ZSH_VERSION+set}" ; then
6209 setopt NO_GLOB_SUBST
6210 fi
6211
6212 echo "$as_me:$LINENO: checking for objdir" >&5
6213 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6214 if test "${lt_cv_objdir+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 rm -f .libs 2>/dev/null
6218 mkdir .libs 2>/dev/null
6219 if test -d .libs; then
6220 lt_cv_objdir=.libs
6221 else
6222 # MS-DOS does not allow filenames that begin with a dot.
6223 lt_cv_objdir=_libs
6224 fi
6225 rmdir .libs 2>/dev/null
6226 fi
6227 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6228 echo "${ECHO_T}$lt_cv_objdir" >&6
6229 objdir=$lt_cv_objdir
6230
6231
6232
6233
6234
6235 cat >>confdefs.h <<_ACEOF
6236 #define LT_OBJDIR "$lt_cv_objdir/"
6237 _ACEOF
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255 case $host_os in
6256 aix3*)
6257 # AIX sometimes has problems with the GCC collect2 program. For some
6258 # reason, if we set the COLLECT_NAMES environment variable, the problems
6259 # vanish in a puff of smoke.
6260 if test "X${COLLECT_NAMES+set}" != Xset; then
6261 COLLECT_NAMES=
6262 export COLLECT_NAMES
6263 fi
6264 ;;
6265 esac
6266
6267 # Sed substitution that helps us do robust quoting. It backslashifies
6268 # metacharacters that are still active within double-quoted strings.
6269 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6270
6271 # Same as above, but do not quote variable references.
6272 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6273
6274 # Sed substitution to delay expansion of an escaped shell variable in a
6275 # double_quote_subst'ed string.
6276 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6277
6278 # Sed substitution to delay expansion of an escaped single quote.
6279 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6280
6281 # Sed substitution to avoid accidental globbing in evaled expressions
6282 no_glob_subst='s/\*/\\\*/g'
6283
6284 # Global variables:
6285 ofile=libtool
6286 can_build_shared=yes
6287
6288 # All known linkers require a `.a' archive for static linking (except MSVC,
6289 # which needs '.lib').
6290 libext=a
6291
6292 with_gnu_ld="$lt_cv_prog_gnu_ld"
6293
6294 old_CC="$CC"
6295 old_CFLAGS="$CFLAGS"
6296
6297 # Set sane defaults for various variables
6298 test -z "$CC" && CC=cc
6299 test -z "$LTCC" && LTCC=$CC
6300 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6301 test -z "$LD" && LD=ld
6302 test -z "$ac_objext" && ac_objext=o
6303
6304 for cc_temp in $compiler""; do
6305 case $cc_temp in
6306 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6307 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6308 \-*) ;;
6309 *) break;;
6310 esac
6311 done
6312 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6313
6314
6315 # Only perform the check for file, if the check method requires it
6316 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6317 case $deplibs_check_method in
6318 file_magic*)
6319 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6320 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6321 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6322 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 case $MAGIC_CMD in
6326 [\\/*] | ?:[\\/]*)
6327 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6328 ;;
6329 *)
6330 lt_save_MAGIC_CMD="$MAGIC_CMD"
6331 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6332 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6333 for ac_dir in $ac_dummy; do
6334 IFS="$lt_save_ifs"
6335 test -z "$ac_dir" && ac_dir=.
6336 if test -f $ac_dir/${ac_tool_prefix}file; then
6337 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6338 if test -n "$file_magic_test_file"; then
6339 case $deplibs_check_method in
6340 "file_magic "*)
6341 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6342 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6343 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6344 $EGREP "$file_magic_regex" > /dev/null; then
6345 :
6346 else
6347 cat <<_LT_EOF 1>&2
6348
6349 *** Warning: the command libtool uses to detect shared libraries,
6350 *** $file_magic_cmd, produces output that libtool cannot recognize.
6351 *** The result is that libtool may fail to recognize shared libraries
6352 *** as such. This will affect the creation of libtool libraries that
6353 *** depend on shared libraries, but programs linked with such libtool
6354 *** libraries will work regardless of this problem. Nevertheless, you
6355 *** may want to report the problem to your system manager and/or to
6356 *** bug-libtool@gnu.org
6357
6358 _LT_EOF
6359 fi ;;
6360 esac
6361 fi
6362 break
6363 fi
6364 done
6365 IFS="$lt_save_ifs"
6366 MAGIC_CMD="$lt_save_MAGIC_CMD"
6367 ;;
6368 esac
6369 fi
6370
6371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6372 if test -n "$MAGIC_CMD"; then
6373 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6374 echo "${ECHO_T}$MAGIC_CMD" >&6
6375 else
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6378 fi
6379
6380
6381
6382
6383
6384 if test -z "$lt_cv_path_MAGIC_CMD"; then
6385 if test -n "$ac_tool_prefix"; then
6386 echo "$as_me:$LINENO: checking for file" >&5
6387 echo $ECHO_N "checking for file... $ECHO_C" >&6
6388 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391 case $MAGIC_CMD in
6392 [\\/*] | ?:[\\/]*)
6393 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6394 ;;
6395 *)
6396 lt_save_MAGIC_CMD="$MAGIC_CMD"
6397 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6398 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6399 for ac_dir in $ac_dummy; do
6400 IFS="$lt_save_ifs"
6401 test -z "$ac_dir" && ac_dir=.
6402 if test -f $ac_dir/file; then
6403 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6404 if test -n "$file_magic_test_file"; then
6405 case $deplibs_check_method in
6406 "file_magic "*)
6407 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6408 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6409 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6410 $EGREP "$file_magic_regex" > /dev/null; then
6411 :
6412 else
6413 cat <<_LT_EOF 1>&2
6414
6415 *** Warning: the command libtool uses to detect shared libraries,
6416 *** $file_magic_cmd, produces output that libtool cannot recognize.
6417 *** The result is that libtool may fail to recognize shared libraries
6418 *** as such. This will affect the creation of libtool libraries that
6419 *** depend on shared libraries, but programs linked with such libtool
6420 *** libraries will work regardless of this problem. Nevertheless, you
6421 *** may want to report the problem to your system manager and/or to
6422 *** bug-libtool@gnu.org
6423
6424 _LT_EOF
6425 fi ;;
6426 esac
6427 fi
6428 break
6429 fi
6430 done
6431 IFS="$lt_save_ifs"
6432 MAGIC_CMD="$lt_save_MAGIC_CMD"
6433 ;;
6434 esac
6435 fi
6436
6437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6438 if test -n "$MAGIC_CMD"; then
6439 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6440 echo "${ECHO_T}$MAGIC_CMD" >&6
6441 else
6442 echo "$as_me:$LINENO: result: no" >&5
6443 echo "${ECHO_T}no" >&6
6444 fi
6445
6446
6447 else
6448 MAGIC_CMD=:
6449 fi
6450 fi
6451
6452 fi
6453 ;;
6454 esac
6455
6456 # Use C for the default configuration in the libtool script
6457
6458 lt_save_CC="$CC"
6459 ac_ext=c
6460 ac_cpp='$CPP $CPPFLAGS'
6461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464
6465
6466 # Source file extension for C test sources.
6467 ac_ext=c
6468
6469 # Object file extension for compiled C test sources.
6470 objext=o
6471 objext=$objext
6472
6473 # Code to be used in simple compile tests
6474 lt_simple_compile_test_code="int some_variable = 0;"
6475
6476 # Code to be used in simple link tests
6477 lt_simple_link_test_code='int main(){return(0);}'
6478
6479
6480
6481
6482
6483
6484
6485 # If no C compiler was specified, use CC.
6486 LTCC=${LTCC-"$CC"}
6487
6488 # If no C compiler flags were specified, use CFLAGS.
6489 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6490
6491 # Allow CC to be a program name with arguments.
6492 compiler=$CC
6493
6494 # Save the default compiler, since it gets overwritten when the other
6495 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6496 compiler_DEFAULT=$CC
6497
6498 # save warnings/boilerplate of simple test code
6499 ac_outfile=conftest.$ac_objext
6500 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6501 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6502 _lt_compiler_boilerplate=`cat conftest.err`
6503 $RM conftest*
6504
6505 ac_outfile=conftest.$ac_objext
6506 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6507 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6508 _lt_linker_boilerplate=`cat conftest.err`
6509 $RM conftest*
6510
6511
6512 ## CAVEAT EMPTOR:
6513 ## There is no encapsulation within the following macros, do not change
6514 ## the running order or otherwise move them around unless you know exactly
6515 ## what you are doing...
6516 if test -n "$compiler"; then
6517
6518 lt_prog_compiler_no_builtin_flag=
6519
6520 if test "$GCC" = yes; then
6521 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6522
6523 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6524 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6525 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 else
6528 lt_cv_prog_compiler_rtti_exceptions=no
6529 ac_outfile=conftest.$ac_objext
6530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6531 lt_compiler_flag="-fno-rtti -fno-exceptions"
6532 # Insert the option either (1) after the last *FLAGS variable, or
6533 # (2) before a word containing "conftest.", or (3) at the end.
6534 # Note that $ac_compile itself does not contain backslashes and begins
6535 # with a dollar sign (not a hyphen), so the echo should work correctly.
6536 # The option is referenced via a variable to avoid confusing sed.
6537 lt_compile=`echo "$ac_compile" | $SED \
6538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6540 -e 's:$: $lt_compiler_flag:'`
6541 (eval echo "\"\$as_me:6541: $lt_compile\"" >&5)
6542 (eval "$lt_compile" 2>conftest.err)
6543 ac_status=$?
6544 cat conftest.err >&5
6545 echo "$as_me:6545: \$? = $ac_status" >&5
6546 if (exit $ac_status) && test -s "$ac_outfile"; then
6547 # The compiler can only warn and ignore the option if not recognized
6548 # So say no if there are warnings other than the usual output.
6549 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6550 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6551 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6552 lt_cv_prog_compiler_rtti_exceptions=yes
6553 fi
6554 fi
6555 $RM conftest*
6556
6557 fi
6558 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6559 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6560
6561 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6562 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6563 else
6564 :
6565 fi
6566
6567 fi
6568
6569
6570
6571
6572
6573
6574 lt_prog_compiler_wl=
6575 lt_prog_compiler_pic=
6576 lt_prog_compiler_static=
6577
6578 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6579 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6580
6581 if test "$GCC" = yes; then
6582 lt_prog_compiler_wl='-Wl,'
6583 lt_prog_compiler_static='-static'
6584
6585 case $host_os in
6586 aix*)
6587 # All AIX code is PIC.
6588 if test "$host_cpu" = ia64; then
6589 # AIX 5 now supports IA64 processor
6590 lt_prog_compiler_static='-Bstatic'
6591 fi
6592 ;;
6593
6594 amigaos*)
6595 if test "$host_cpu" = m68k; then
6596 # FIXME: we need at least 68020 code to build shared libraries, but
6597 # adding the `-m68020' flag to GCC prevents building anything better,
6598 # like `-m68040'.
6599 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6600 fi
6601 ;;
6602
6603 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6604 # PIC is the default for these OSes.
6605 ;;
6606
6607 mingw* | cygwin* | pw32* | os2*)
6608 # This hack is so that the source file can tell whether it is being
6609 # built for inclusion in a dll (and should export symbols for example).
6610 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6611 # (--disable-auto-import) libraries
6612 lt_prog_compiler_pic='-DDLL_EXPORT'
6613 ;;
6614
6615 darwin* | rhapsody*)
6616 # PIC is the default on this platform
6617 # Common symbols not allowed in MH_DYLIB files
6618 lt_prog_compiler_pic='-fno-common'
6619 ;;
6620
6621 hpux*)
6622 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6623 # not for PA HP-UX.
6624 case $host_cpu in
6625 hppa*64*|ia64*)
6626 # +Z the default
6627 ;;
6628 *)
6629 lt_prog_compiler_pic='-fPIC'
6630 ;;
6631 esac
6632 ;;
6633
6634 interix[3-9]*)
6635 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6636 # Instead, we relocate shared libraries at runtime.
6637 ;;
6638
6639 msdosdjgpp*)
6640 # Just because we use GCC doesn't mean we suddenly get shared libraries
6641 # on systems that don't support them.
6642 lt_prog_compiler_can_build_shared=no
6643 enable_shared=no
6644 ;;
6645
6646 *nto* | *qnx*)
6647 # QNX uses GNU C++, but need to define -shared option too, otherwise
6648 # it will coredump.
6649 lt_prog_compiler_pic='-fPIC -shared'
6650 ;;
6651
6652 sysv4*MP*)
6653 if test -d /usr/nec; then
6654 lt_prog_compiler_pic=-Kconform_pic
6655 fi
6656 ;;
6657
6658 *)
6659 lt_prog_compiler_pic='-fPIC'
6660 ;;
6661 esac
6662 else
6663 # PORTME Check for flag to pass linker flags through the system compiler.
6664 case $host_os in
6665 aix*)
6666 lt_prog_compiler_wl='-Wl,'
6667 if test "$host_cpu" = ia64; then
6668 # AIX 5 now supports IA64 processor
6669 lt_prog_compiler_static='-Bstatic'
6670 else
6671 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6672 fi
6673 ;;
6674 darwin*)
6675 # PIC is the default on this platform
6676 # Common symbols not allowed in MH_DYLIB files
6677 case $cc_basename in
6678 xlc*)
6679 lt_prog_compiler_pic='-qnocommon'
6680 lt_prog_compiler_wl='-Wl,'
6681 ;;
6682 esac
6683 ;;
6684
6685 mingw* | cygwin* | pw32* | os2*)
6686 # This hack is so that the source file can tell whether it is being
6687 # built for inclusion in a dll (and should export symbols for example).
6688 lt_prog_compiler_pic='-DDLL_EXPORT'
6689 ;;
6690
6691 hpux9* | hpux10* | hpux11*)
6692 lt_prog_compiler_wl='-Wl,'
6693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6694 # not for PA HP-UX.
6695 case $host_cpu in
6696 hppa*64*|ia64*)
6697 # +Z the default
6698 ;;
6699 *)
6700 lt_prog_compiler_pic='+Z'
6701 ;;
6702 esac
6703 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6704 lt_prog_compiler_static='${wl}-a ${wl}archive'
6705 ;;
6706
6707 irix5* | irix6* | nonstopux*)
6708 lt_prog_compiler_wl='-Wl,'
6709 # PIC (with -KPIC) is the default.
6710 lt_prog_compiler_static='-non_shared'
6711 ;;
6712
6713 linux* | k*bsd*-gnu)
6714 case $cc_basename in
6715 icc* | ecc*)
6716 lt_prog_compiler_wl='-Wl,'
6717 lt_prog_compiler_pic='-KPIC'
6718 lt_prog_compiler_static='-static'
6719 ;;
6720 pgcc* | pgf77* | pgf90* | pgf95*)
6721 # Portland Group compilers (*not* the Pentium gcc compiler,
6722 # which looks to be a dead project)
6723 lt_prog_compiler_wl='-Wl,'
6724 lt_prog_compiler_pic='-fpic'
6725 lt_prog_compiler_static='-Bstatic'
6726 ;;
6727 ccc*)
6728 lt_prog_compiler_wl='-Wl,'
6729 # All Alpha code is PIC.
6730 lt_prog_compiler_static='-non_shared'
6731 ;;
6732 *)
6733 case `$CC -V 2>&1 | sed 5q` in
6734 *Sun\ C*)
6735 # Sun C 5.9
6736 lt_prog_compiler_pic='-KPIC'
6737 lt_prog_compiler_static='-Bstatic'
6738 lt_prog_compiler_wl='-Wl,'
6739 ;;
6740 *Sun\ F*)
6741 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6742 lt_prog_compiler_pic='-KPIC'
6743 lt_prog_compiler_static='-Bstatic'
6744 lt_prog_compiler_wl=''
6745 ;;
6746 esac
6747 ;;
6748 esac
6749 ;;
6750
6751 newsos6)
6752 lt_prog_compiler_pic='-KPIC'
6753 lt_prog_compiler_static='-Bstatic'
6754 ;;
6755
6756 *nto* | *qnx*)
6757 # QNX uses GNU C++, but need to define -shared option too, otherwise
6758 # it will coredump.
6759 lt_prog_compiler_pic='-fPIC -shared'
6760 ;;
6761
6762 osf3* | osf4* | osf5*)
6763 lt_prog_compiler_wl='-Wl,'
6764 # All OSF/1 code is PIC.
6765 lt_prog_compiler_static='-non_shared'
6766 ;;
6767
6768 rdos*)
6769 lt_prog_compiler_static='-non_shared'
6770 ;;
6771
6772 solaris*)
6773 lt_prog_compiler_pic='-KPIC'
6774 lt_prog_compiler_static='-Bstatic'
6775 case $cc_basename in
6776 f77* | f90* | f95*)
6777 lt_prog_compiler_wl='-Qoption ld ';;
6778 *)
6779 lt_prog_compiler_wl='-Wl,';;
6780 esac
6781 ;;
6782
6783 sunos4*)
6784 lt_prog_compiler_wl='-Qoption ld '
6785 lt_prog_compiler_pic='-PIC'
6786 lt_prog_compiler_static='-Bstatic'
6787 ;;
6788
6789 sysv4 | sysv4.2uw2* | sysv4.3*)
6790 lt_prog_compiler_wl='-Wl,'
6791 lt_prog_compiler_pic='-KPIC'
6792 lt_prog_compiler_static='-Bstatic'
6793 ;;
6794
6795 sysv4*MP*)
6796 if test -d /usr/nec ;then
6797 lt_prog_compiler_pic='-Kconform_pic'
6798 lt_prog_compiler_static='-Bstatic'
6799 fi
6800 ;;
6801
6802 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6803 lt_prog_compiler_wl='-Wl,'
6804 lt_prog_compiler_pic='-KPIC'
6805 lt_prog_compiler_static='-Bstatic'
6806 ;;
6807
6808 unicos*)
6809 lt_prog_compiler_wl='-Wl,'
6810 lt_prog_compiler_can_build_shared=no
6811 ;;
6812
6813 uts4*)
6814 lt_prog_compiler_pic='-pic'
6815 lt_prog_compiler_static='-Bstatic'
6816 ;;
6817
6818 *)
6819 lt_prog_compiler_can_build_shared=no
6820 ;;
6821 esac
6822 fi
6823
6824 case $host_os in
6825 # For platforms which do not support PIC, -DPIC is meaningless:
6826 *djgpp*)
6827 lt_prog_compiler_pic=
6828 ;;
6829 *)
6830 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6831 ;;
6832 esac
6833 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6834 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6835
6836
6837
6838
6839
6840
6841 #
6842 # Check to make sure the PIC flag actually works.
6843 #
6844 if test -n "$lt_prog_compiler_pic"; then
6845 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6846 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6847 if test "${lt_prog_compiler_pic_works+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 else
6850 lt_prog_compiler_pic_works=no
6851 ac_outfile=conftest.$ac_objext
6852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6853 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6854 # Insert the option either (1) after the last *FLAGS variable, or
6855 # (2) before a word containing "conftest.", or (3) at the end.
6856 # Note that $ac_compile itself does not contain backslashes and begins
6857 # with a dollar sign (not a hyphen), so the echo should work correctly.
6858 # The option is referenced via a variable to avoid confusing sed.
6859 lt_compile=`echo "$ac_compile" | $SED \
6860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6862 -e 's:$: $lt_compiler_flag:'`
6863 (eval echo "\"\$as_me:6863: $lt_compile\"" >&5)
6864 (eval "$lt_compile" 2>conftest.err)
6865 ac_status=$?
6866 cat conftest.err >&5
6867 echo "$as_me:6867: \$? = $ac_status" >&5
6868 if (exit $ac_status) && test -s "$ac_outfile"; then
6869 # The compiler can only warn and ignore the option if not recognized
6870 # So say no if there are warnings other than the usual output.
6871 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6872 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6873 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6874 lt_prog_compiler_pic_works=yes
6875 fi
6876 fi
6877 $RM conftest*
6878
6879 fi
6880 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6881 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6882
6883 if test x"$lt_prog_compiler_pic_works" = xyes; then
6884 case $lt_prog_compiler_pic in
6885 "" | " "*) ;;
6886 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6887 esac
6888 else
6889 lt_prog_compiler_pic=
6890 lt_prog_compiler_can_build_shared=no
6891 fi
6892
6893 fi
6894
6895
6896
6897
6898
6899
6900 #
6901 # Check to make sure the static flag actually works.
6902 #
6903 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6904 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6905 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6906 if test "${lt_prog_compiler_static_works+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6908 else
6909 lt_prog_compiler_static_works=no
6910 save_LDFLAGS="$LDFLAGS"
6911 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6912 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6913 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6914 # The linker can only warn and ignore the option if not recognized
6915 # So say no if there are warnings
6916 if test -s conftest.err; then
6917 # Append any errors to the config.log.
6918 cat conftest.err 1>&5
6919 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6920 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6921 if diff conftest.exp conftest.er2 >/dev/null; then
6922 lt_prog_compiler_static_works=yes
6923 fi
6924 else
6925 lt_prog_compiler_static_works=yes
6926 fi
6927 fi
6928 $RM conftest*
6929 LDFLAGS="$save_LDFLAGS"
6930
6931 fi
6932 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6933 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6934
6935 if test x"$lt_prog_compiler_static_works" = xyes; then
6936 :
6937 else
6938 lt_prog_compiler_static=
6939 fi
6940
6941
6942
6943
6944
6945
6946
6947 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6948 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6949 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6950 echo $ECHO_N "(cached) $ECHO_C" >&6
6951 else
6952 lt_cv_prog_compiler_c_o=no
6953 $RM -r conftest 2>/dev/null
6954 mkdir conftest
6955 cd conftest
6956 mkdir out
6957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6958
6959 lt_compiler_flag="-o out/conftest2.$ac_objext"
6960 # Insert the option either (1) after the last *FLAGS variable, or
6961 # (2) before a word containing "conftest.", or (3) at the end.
6962 # Note that $ac_compile itself does not contain backslashes and begins
6963 # with a dollar sign (not a hyphen), so the echo should work correctly.
6964 lt_compile=`echo "$ac_compile" | $SED \
6965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6967 -e 's:$: $lt_compiler_flag:'`
6968 (eval echo "\"\$as_me:6968: $lt_compile\"" >&5)
6969 (eval "$lt_compile" 2>out/conftest.err)
6970 ac_status=$?
6971 cat out/conftest.err >&5
6972 echo "$as_me:6972: \$? = $ac_status" >&5
6973 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6974 then
6975 # The compiler can only warn and ignore the option if not recognized
6976 # So say no if there are warnings
6977 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6978 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6979 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6980 lt_cv_prog_compiler_c_o=yes
6981 fi
6982 fi
6983 chmod u+w . 2>&5
6984 $RM conftest*
6985 # SGI C++ compiler will create directory out/ii_files/ for
6986 # template instantiation
6987 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6988 $RM out/* && rmdir out
6989 cd ..
6990 $RM -r conftest
6991 $RM conftest*
6992
6993 fi
6994 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6995 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6996
6997
6998
6999
7000
7001
7002 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7003 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7004 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7005 echo $ECHO_N "(cached) $ECHO_C" >&6
7006 else
7007 lt_cv_prog_compiler_c_o=no
7008 $RM -r conftest 2>/dev/null
7009 mkdir conftest
7010 cd conftest
7011 mkdir out
7012 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7013
7014 lt_compiler_flag="-o out/conftest2.$ac_objext"
7015 # Insert the option either (1) after the last *FLAGS variable, or
7016 # (2) before a word containing "conftest.", or (3) at the end.
7017 # Note that $ac_compile itself does not contain backslashes and begins
7018 # with a dollar sign (not a hyphen), so the echo should work correctly.
7019 lt_compile=`echo "$ac_compile" | $SED \
7020 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7022 -e 's:$: $lt_compiler_flag:'`
7023 (eval echo "\"\$as_me:7023: $lt_compile\"" >&5)
7024 (eval "$lt_compile" 2>out/conftest.err)
7025 ac_status=$?
7026 cat out/conftest.err >&5
7027 echo "$as_me:7027: \$? = $ac_status" >&5
7028 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7029 then
7030 # The compiler can only warn and ignore the option if not recognized
7031 # So say no if there are warnings
7032 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7033 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7034 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7035 lt_cv_prog_compiler_c_o=yes
7036 fi
7037 fi
7038 chmod u+w . 2>&5
7039 $RM conftest*
7040 # SGI C++ compiler will create directory out/ii_files/ for
7041 # template instantiation
7042 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7043 $RM out/* && rmdir out
7044 cd ..
7045 $RM -r conftest
7046 $RM conftest*
7047
7048 fi
7049 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7050 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7051
7052
7053
7054
7055 hard_links="nottested"
7056 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7057 # do not overwrite the value of need_locks provided by the user
7058 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7059 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7060 hard_links=yes
7061 $RM conftest*
7062 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7063 touch conftest.a
7064 ln conftest.a conftest.b 2>&5 || hard_links=no
7065 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7066 echo "$as_me:$LINENO: result: $hard_links" >&5
7067 echo "${ECHO_T}$hard_links" >&6
7068 if test "$hard_links" = no; then
7069 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7070 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7071 need_locks=warn
7072 fi
7073 else
7074 need_locks=no
7075 fi
7076
7077
7078
7079
7080
7081
7082 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7083 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7084
7085 runpath_var=
7086 allow_undefined_flag=
7087 always_export_symbols=no
7088 archive_cmds=
7089 archive_expsym_cmds=
7090 compiler_needs_object=no
7091 enable_shared_with_static_runtimes=no
7092 export_dynamic_flag_spec=
7093 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7094 hardcode_automatic=no
7095 hardcode_direct=no
7096 hardcode_direct_absolute=no
7097 hardcode_libdir_flag_spec=
7098 hardcode_libdir_flag_spec_ld=
7099 hardcode_libdir_separator=
7100 hardcode_minus_L=no
7101 hardcode_shlibpath_var=unsupported
7102 inherit_rpath=no
7103 link_all_deplibs=unknown
7104 module_cmds=
7105 module_expsym_cmds=
7106 old_archive_from_new_cmds=
7107 old_archive_from_expsyms_cmds=
7108 thread_safe_flag_spec=
7109 whole_archive_flag_spec=
7110 # include_expsyms should be a list of space-separated symbols to be *always*
7111 # included in the symbol list
7112 include_expsyms=
7113 # exclude_expsyms can be an extended regexp of symbols to exclude
7114 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7115 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7116 # as well as any symbol that contains `d'.
7117 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7118 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7119 # platforms (ab)use it in PIC code, but their linkers get confused if
7120 # the symbol is explicitly referenced. Since portable code cannot
7121 # rely on this symbol name, it's probably fine to never include it in
7122 # preloaded symbol tables.
7123 extract_expsyms_cmds=
7124
7125 case $host_os in
7126 cygwin* | mingw* | pw32*)
7127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7128 # When not using gcc, we currently assume that we are using
7129 # Microsoft Visual C++.
7130 if test "$GCC" != yes; then
7131 with_gnu_ld=no
7132 fi
7133 ;;
7134 interix*)
7135 # we just hope/assume this is gcc and not c89 (= MSVC++)
7136 with_gnu_ld=yes
7137 ;;
7138 openbsd*)
7139 with_gnu_ld=no
7140 ;;
7141 esac
7142
7143 ld_shlibs=yes
7144 if test "$with_gnu_ld" = yes; then
7145 # If archive_cmds runs LD, not CC, wlarc should be empty
7146 wlarc='${wl}'
7147
7148 # Set some defaults for GNU ld with shared library support. These
7149 # are reset later if shared libraries are not supported. Putting them
7150 # here allows them to be overridden if necessary.
7151 runpath_var=LD_RUN_PATH
7152 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7153 export_dynamic_flag_spec='${wl}--export-dynamic'
7154 # ancient GNU ld didn't support --whole-archive et. al.
7155 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7156 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7157 else
7158 whole_archive_flag_spec=
7159 fi
7160 supports_anon_versioning=no
7161 case `$LD -v 2>&1` in
7162 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7163 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7164 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7165 *\ 2.11.*) ;; # other 2.11 versions
7166 *) supports_anon_versioning=yes ;;
7167 esac
7168
7169 # See if GNU ld supports shared libraries.
7170 case $host_os in
7171 aix[3-9]*)
7172 # On AIX/PPC, the GNU linker is very broken
7173 if test "$host_cpu" != ia64; then
7174 ld_shlibs=no
7175 cat <<_LT_EOF 1>&2
7176
7177 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7178 *** to be unable to reliably create shared libraries on AIX.
7179 *** Therefore, libtool is disabling shared libraries support. If you
7180 *** really care for shared libraries, you may want to modify your PATH
7181 *** so that a non-GNU linker is found, and then restart.
7182
7183 _LT_EOF
7184 fi
7185 ;;
7186
7187 amigaos*)
7188 if test "$host_cpu" = m68k; then
7189 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)'
7190 hardcode_libdir_flag_spec='-L$libdir'
7191 hardcode_minus_L=yes
7192 fi
7193
7194 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7195 # that the semantics of dynamic libraries on AmigaOS, at least up
7196 # to version 4, is to share data among multiple programs linked
7197 # with the same dynamic library. Since this doesn't match the
7198 # behavior of shared libraries on other platforms, we can't use
7199 # them.
7200 ld_shlibs=no
7201 ;;
7202
7203 beos*)
7204 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7205 allow_undefined_flag=unsupported
7206 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7207 # support --undefined. This deserves some investigation. FIXME
7208 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7209 else
7210 ld_shlibs=no
7211 fi
7212 ;;
7213
7214 cygwin* | mingw* | pw32*)
7215 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7216 # as there is no search path for DLLs.
7217 hardcode_libdir_flag_spec='-L$libdir'
7218 allow_undefined_flag=unsupported
7219 always_export_symbols=no
7220 enable_shared_with_static_runtimes=yes
7221 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7222
7223 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7225 # If the export-symbols file already is a .def file (1st line
7226 # is EXPORTS), use it as is; otherwise, prepend...
7227 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7228 cp $export_symbols $output_objdir/$soname.def;
7229 else
7230 echo EXPORTS > $output_objdir/$soname.def;
7231 cat $export_symbols >> $output_objdir/$soname.def;
7232 fi~
7233 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7234 else
7235 ld_shlibs=no
7236 fi
7237 ;;
7238
7239 interix[3-9]*)
7240 hardcode_direct=no
7241 hardcode_shlibpath_var=no
7242 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7243 export_dynamic_flag_spec='${wl}-E'
7244 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7245 # Instead, shared libraries are loaded at an image base (0x10000000 by
7246 # default) and relocated if they conflict, which is a slow very memory
7247 # consuming and fragmenting process. To avoid this, we pick a random,
7248 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7249 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7250 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7251 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'
7252 ;;
7253
7254 gnu* | linux* | tpf* | k*bsd*-gnu)
7255 tmp_diet=no
7256 if test "$host_os" = linux-dietlibc; then
7257 case $cc_basename in
7258 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7259 esac
7260 fi
7261 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7262 && test "$tmp_diet" = no
7263 then
7264 tmp_addflag=
7265 case $cc_basename,$host_cpu in
7266 pgcc*) # Portland Group C compiler
7267 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'
7268 tmp_addflag=' $pic_flag'
7269 ;;
7270 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7271 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'
7272 tmp_addflag=' $pic_flag -Mnomain' ;;
7273 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7274 tmp_addflag=' -i_dynamic' ;;
7275 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7276 tmp_addflag=' -i_dynamic -nofor_main' ;;
7277 ifc* | ifort*) # Intel Fortran compiler
7278 tmp_addflag=' -nofor_main' ;;
7279 esac
7280 case `$CC -V 2>&1 | sed 5q` in
7281 *Sun\ C*) # Sun C 5.9
7282 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'
7283 compiler_needs_object=yes
7284 tmp_sharedflag='-G' ;;
7285 *Sun\ F*) # Sun Fortran 8.3
7286 tmp_sharedflag='-G' ;;
7287 *)
7288 tmp_sharedflag='-shared' ;;
7289 esac
7290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7291
7292 if test "x$supports_anon_versioning" = xyes; then
7293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7295 echo "local: *; };" >> $output_objdir/$libname.ver~
7296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7297 fi
7298 else
7299 ld_shlibs=no
7300 fi
7301 ;;
7302
7303 netbsd*)
7304 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7305 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7306 wlarc=
7307 else
7308 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7309 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7310 fi
7311 ;;
7312
7313 solaris*)
7314 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7315 ld_shlibs=no
7316 cat <<_LT_EOF 1>&2
7317
7318 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7319 *** create shared libraries on Solaris systems. Therefore, libtool
7320 *** is disabling shared libraries support. We urge you to upgrade GNU
7321 *** binutils to release 2.9.1 or newer. Another option is to modify
7322 *** your PATH or compiler configuration so that the native linker is
7323 *** used, and then restart.
7324
7325 _LT_EOF
7326 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7327 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7328 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7329 else
7330 ld_shlibs=no
7331 fi
7332 ;;
7333
7334 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7335 case `$LD -v 2>&1` in
7336 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7337 ld_shlibs=no
7338 cat <<_LT_EOF 1>&2
7339
7340 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7341 *** reliably create shared libraries on SCO systems. Therefore, libtool
7342 *** is disabling shared libraries support. We urge you to upgrade GNU
7343 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7344 *** your PATH or compiler configuration so that the native linker is
7345 *** used, and then restart.
7346
7347 _LT_EOF
7348 ;;
7349 *)
7350 # For security reasons, it is highly recommended that you always
7351 # use absolute paths for naming shared libraries, and exclude the
7352 # DT_RUNPATH tag from executables and libraries. But doing so
7353 # requires that you compile everything twice, which is a pain.
7354 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7355 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7357 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7358 else
7359 ld_shlibs=no
7360 fi
7361 ;;
7362 esac
7363 ;;
7364
7365 sunos4*)
7366 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7367 wlarc=
7368 hardcode_direct=yes
7369 hardcode_shlibpath_var=no
7370 ;;
7371
7372 *)
7373 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7374 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7375 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7376 else
7377 ld_shlibs=no
7378 fi
7379 ;;
7380 esac
7381
7382 if test "$ld_shlibs" = no; then
7383 runpath_var=
7384 hardcode_libdir_flag_spec=
7385 export_dynamic_flag_spec=
7386 whole_archive_flag_spec=
7387 fi
7388 else
7389 # PORTME fill in a description of your system's linker (not GNU ld)
7390 case $host_os in
7391 aix3*)
7392 allow_undefined_flag=unsupported
7393 always_export_symbols=yes
7394 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'
7395 # Note: this linker hardcodes the directories in LIBPATH if there
7396 # are no directories specified by -L.
7397 hardcode_minus_L=yes
7398 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7399 # Neither direct hardcoding nor static linking is supported with a
7400 # broken collect2.
7401 hardcode_direct=unsupported
7402 fi
7403 ;;
7404
7405 aix[4-9]*)
7406 if test "$host_cpu" = ia64; then
7407 # On IA64, the linker does run time linking by default, so we don't
7408 # have to do anything special.
7409 aix_use_runtimelinking=no
7410 exp_sym_flag='-Bexport'
7411 no_entry_flag=""
7412 else
7413 # If we're using GNU nm, then we don't want the "-C" option.
7414 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7415 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7416 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'
7417 else
7418 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'
7419 fi
7420 aix_use_runtimelinking=no
7421
7422 # Test if we are trying to use run time linking or normal
7423 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7424 # need to do runtime linking.
7425 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7426 for ld_flag in $LDFLAGS; do
7427 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7428 aix_use_runtimelinking=yes
7429 break
7430 fi
7431 done
7432 ;;
7433 esac
7434
7435 exp_sym_flag='-bexport'
7436 no_entry_flag='-bnoentry'
7437 fi
7438
7439 # When large executables or shared objects are built, AIX ld can
7440 # have problems creating the table of contents. If linking a library
7441 # or program results in "error TOC overflow" add -mminimal-toc to
7442 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7443 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7444
7445 archive_cmds=''
7446 hardcode_direct=yes
7447 hardcode_direct_absolute=yes
7448 hardcode_libdir_separator=':'
7449 link_all_deplibs=yes
7450 file_list_spec='${wl}-f,'
7451
7452 if test "$GCC" = yes; then
7453 case $host_os in aix4.[012]|aix4.[012].*)
7454 # We only want to do this on AIX 4.2 and lower, the check
7455 # below for broken collect2 doesn't work under 4.3+
7456 collect2name=`${CC} -print-prog-name=collect2`
7457 if test -f "$collect2name" &&
7458 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7459 then
7460 # We have reworked collect2
7461 :
7462 else
7463 # We have old collect2
7464 hardcode_direct=unsupported
7465 # It fails to find uninstalled libraries when the uninstalled
7466 # path is not listed in the libpath. Setting hardcode_minus_L
7467 # to unsupported forces relinking
7468 hardcode_minus_L=yes
7469 hardcode_libdir_flag_spec='-L$libdir'
7470 hardcode_libdir_separator=
7471 fi
7472 ;;
7473 esac
7474 shared_flag='-shared'
7475 if test "$aix_use_runtimelinking" = yes; then
7476 shared_flag="$shared_flag "'${wl}-G'
7477 fi
7478 else
7479 # not using gcc
7480 if test "$host_cpu" = ia64; then
7481 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7482 # chokes on -Wl,-G. The following line is correct:
7483 shared_flag='-G'
7484 else
7485 if test "$aix_use_runtimelinking" = yes; then
7486 shared_flag='${wl}-G'
7487 else
7488 shared_flag='${wl}-bM:SRE'
7489 fi
7490 fi
7491 fi
7492
7493 # It seems that -bexpall does not export symbols beginning with
7494 # underscore (_), so it is better to generate a list of symbols to export.
7495 always_export_symbols=yes
7496 if test "$aix_use_runtimelinking" = yes; then
7497 # Warning - without using the other runtime loading flags (-brtl),
7498 # -berok will link without error, but may produce a broken library.
7499 allow_undefined_flag='-berok'
7500 # Determine the default libpath from the value encoded in an
7501 # empty executable.
7502 if test x$gcc_no_link = xyes; then
7503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7505 { (exit 1); exit 1; }; }
7506 fi
7507 cat >conftest.$ac_ext <<_ACEOF
7508 /* confdefs.h. */
7509 _ACEOF
7510 cat confdefs.h >>conftest.$ac_ext
7511 cat >>conftest.$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513
7514 int
7515 main ()
7516 {
7517
7518 ;
7519 return 0;
7520 }
7521 _ACEOF
7522 rm -f conftest.$ac_objext conftest$ac_exeext
7523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7524 (eval $ac_link) 2>conftest.er1
7525 ac_status=$?
7526 grep -v '^ *+' conftest.er1 >conftest.err
7527 rm -f conftest.er1
7528 cat conftest.err >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } &&
7531 { ac_try='test -z "$ac_c_werror_flag"
7532 || test ! -s conftest.err'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534 (eval $ac_try) 2>&5
7535 ac_status=$?
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; } &&
7538 { ac_try='test -s conftest$ac_exeext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7540 (eval $ac_try) 2>&5
7541 ac_status=$?
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544
7545 lt_aix_libpath_sed='
7546 /Import File Strings/,/^$/ {
7547 /^0/ {
7548 s/^0 *\(.*\)$/\1/
7549 p
7550 }
7551 }'
7552 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7553 # Check for a 64-bit object if we didn't find anything.
7554 if test -z "$aix_libpath"; then
7555 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7556 fi
7557 else
7558 echo "$as_me: failed program was:" >&5
7559 sed 's/^/| /' conftest.$ac_ext >&5
7560
7561 fi
7562 rm -f conftest.err conftest.$ac_objext \
7563 conftest$ac_exeext conftest.$ac_ext
7564 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7565
7566 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7567 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"
7568 else
7569 if test "$host_cpu" = ia64; then
7570 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7571 allow_undefined_flag="-z nodefs"
7572 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"
7573 else
7574 # Determine the default libpath from the value encoded in an
7575 # empty executable.
7576 if test x$gcc_no_link = xyes; then
7577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7579 { (exit 1); exit 1; }; }
7580 fi
7581 cat >conftest.$ac_ext <<_ACEOF
7582 /* confdefs.h. */
7583 _ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7587
7588 int
7589 main ()
7590 {
7591
7592 ;
7593 return 0;
7594 }
7595 _ACEOF
7596 rm -f conftest.$ac_objext conftest$ac_exeext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7598 (eval $ac_link) 2>conftest.er1
7599 ac_status=$?
7600 grep -v '^ *+' conftest.er1 >conftest.err
7601 rm -f conftest.er1
7602 cat conftest.err >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } &&
7605 { ac_try='test -z "$ac_c_werror_flag"
7606 || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5
7609 ac_status=$?
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try='test -s conftest$ac_exeext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 (eval $ac_try) 2>&5
7615 ac_status=$?
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618
7619 lt_aix_libpath_sed='
7620 /Import File Strings/,/^$/ {
7621 /^0/ {
7622 s/^0 *\(.*\)$/\1/
7623 p
7624 }
7625 }'
7626 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7627 # Check for a 64-bit object if we didn't find anything.
7628 if test -z "$aix_libpath"; then
7629 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7630 fi
7631 else
7632 echo "$as_me: failed program was:" >&5
7633 sed 's/^/| /' conftest.$ac_ext >&5
7634
7635 fi
7636 rm -f conftest.err conftest.$ac_objext \
7637 conftest$ac_exeext conftest.$ac_ext
7638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7639
7640 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7641 # Warning - without using the other run time loading flags,
7642 # -berok will link without error, but may produce a broken library.
7643 no_undefined_flag=' ${wl}-bernotok'
7644 allow_undefined_flag=' ${wl}-berok'
7645 # Exported symbols can be pulled into shared objects from archives
7646 whole_archive_flag_spec='$convenience'
7647 archive_cmds_need_lc=yes
7648 # This is similar to how AIX traditionally builds its shared libraries.
7649 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'
7650 fi
7651 fi
7652 ;;
7653
7654 amigaos*)
7655 if test "$host_cpu" = m68k; then
7656 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)'
7657 hardcode_libdir_flag_spec='-L$libdir'
7658 hardcode_minus_L=yes
7659 fi
7660 # see comment about different semantics on the GNU ld section
7661 ld_shlibs=no
7662 ;;
7663
7664 bsdi[45]*)
7665 export_dynamic_flag_spec=-rdynamic
7666 ;;
7667
7668 cygwin* | mingw* | pw32*)
7669 # When not using gcc, we currently assume that we are using
7670 # Microsoft Visual C++.
7671 # hardcode_libdir_flag_spec is actually meaningless, as there is
7672 # no search path for DLLs.
7673 hardcode_libdir_flag_spec=' '
7674 allow_undefined_flag=unsupported
7675 # Tell ltmain to make .lib files, not .a files.
7676 libext=lib
7677 # Tell ltmain to make .dll files, not .so files.
7678 shrext_cmds=".dll"
7679 # FIXME: Setting linknames here is a bad hack.
7680 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7681 # The linker will automatically build a .lib file if we build a DLL.
7682 old_archive_from_new_cmds='true'
7683 # FIXME: Should let the user specify the lib program.
7684 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7685 fix_srcfile_path='`cygpath -w "$srcfile"`'
7686 enable_shared_with_static_runtimes=yes
7687 ;;
7688
7689 darwin* | rhapsody*)
7690 case $host_os in
7691 rhapsody* | darwin1.[012])
7692 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7693 ;;
7694 *) # Darwin 1.3 on
7695 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7696 10.[012])
7697 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7698 ;;
7699 10.*)
7700 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7701 ;;
7702 esac
7703 ;;
7704 esac
7705 archive_cmds_need_lc=no
7706 hardcode_direct=no
7707 hardcode_automatic=yes
7708 hardcode_shlibpath_var=unsupported
7709 whole_archive_flag_spec=''
7710 link_all_deplibs=yes
7711 if test "$GCC" = yes ; then
7712 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7713 echo $ECHO_N "(cached) $ECHO_C" >&6
7714 else
7715 lt_cv_apple_cc_single_mod=no
7716 if test -z "${LT_MULTI_MODULE}"; then
7717 # By default we will add the -single_module flag. You can override
7718 # by either setting the environment variable LT_MULTI_MODULE
7719 # non-empty at configure time, or by adding -multi-module to the
7720 # link flags.
7721 echo "int foo(void){return 1;}" > conftest.c
7722 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7723 -dynamiclib ${wl}-single_module conftest.c
7724 if test -f libconftest.dylib; then
7725 lt_cv_apple_cc_single_mod=yes
7726 rm libconftest.dylib
7727 fi
7728 rm conftest.$ac_ext
7729 fi
7730 fi
7731
7732 output_verbose_link_cmd=echo
7733 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7734 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7735 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}'
7736 else
7737 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7738 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}'
7739 fi
7740 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7741 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}'
7742 else
7743 case $cc_basename in
7744 xlc*)
7745 output_verbose_link_cmd=echo
7746 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7747 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7748 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7749 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}'
7750 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}'
7751 ;;
7752 *)
7753 ld_shlibs=no
7754 ;;
7755 esac
7756 fi
7757 ;;
7758
7759 dgux*)
7760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7761 hardcode_libdir_flag_spec='-L$libdir'
7762 hardcode_shlibpath_var=no
7763 ;;
7764
7765 freebsd1*)
7766 ld_shlibs=no
7767 ;;
7768
7769 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7770 # support. Future versions do this automatically, but an explicit c++rt0.o
7771 # does not break anything, and helps significantly (at the cost of a little
7772 # extra space).
7773 freebsd2.2*)
7774 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7775 hardcode_libdir_flag_spec='-R$libdir'
7776 hardcode_direct=yes
7777 hardcode_shlibpath_var=no
7778 ;;
7779
7780 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7781 freebsd2*)
7782 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7783 hardcode_direct=yes
7784 hardcode_minus_L=yes
7785 hardcode_shlibpath_var=no
7786 ;;
7787
7788 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7789 freebsd* | dragonfly*)
7790 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7791 hardcode_libdir_flag_spec='-R$libdir'
7792 hardcode_direct=yes
7793 hardcode_shlibpath_var=no
7794 ;;
7795
7796 hpux9*)
7797 if test "$GCC" = yes; then
7798 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'
7799 else
7800 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'
7801 fi
7802 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7803 hardcode_libdir_separator=:
7804 hardcode_direct=yes
7805
7806 # hardcode_minus_L: Not really in the search PATH,
7807 # but as the default location of the library.
7808 hardcode_minus_L=yes
7809 export_dynamic_flag_spec='${wl}-E'
7810 ;;
7811
7812 hpux10*)
7813 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7814 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7815 else
7816 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7817 fi
7818 if test "$with_gnu_ld" = no; then
7819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7820 hardcode_libdir_flag_spec_ld='+b $libdir'
7821 hardcode_libdir_separator=:
7822 hardcode_direct=yes
7823 hardcode_direct_absolute=yes
7824 export_dynamic_flag_spec='${wl}-E'
7825 # hardcode_minus_L: Not really in the search PATH,
7826 # but as the default location of the library.
7827 hardcode_minus_L=yes
7828 fi
7829 ;;
7830
7831 hpux11*)
7832 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7833 case $host_cpu in
7834 hppa*64*)
7835 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7836 ;;
7837 ia64*)
7838 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7839 ;;
7840 *)
7841 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7842 ;;
7843 esac
7844 else
7845 case $host_cpu in
7846 hppa*64*)
7847 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7848 ;;
7849 ia64*)
7850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7851 ;;
7852 *)
7853 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7854 ;;
7855 esac
7856 fi
7857 if test "$with_gnu_ld" = no; then
7858 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7859 hardcode_libdir_separator=:
7860
7861 case $host_cpu in
7862 hppa*64*|ia64*)
7863 hardcode_direct=no
7864 hardcode_shlibpath_var=no
7865 ;;
7866 *)
7867 hardcode_direct=yes
7868 hardcode_direct_absolute=yes
7869 export_dynamic_flag_spec='${wl}-E'
7870
7871 # hardcode_minus_L: Not really in the search PATH,
7872 # but as the default location of the library.
7873 hardcode_minus_L=yes
7874 ;;
7875 esac
7876 fi
7877 ;;
7878
7879 irix5* | irix6* | nonstopux*)
7880 if test "$GCC" = yes; then
7881 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'
7882 # Try to use the -exported_symbol ld option, if it does not
7883 # work, assume that -exports_file does not work either and
7884 # implicitly export all symbols.
7885 save_LDFLAGS="$LDFLAGS"
7886 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7887 if test x$gcc_no_link = xyes; then
7888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7890 { (exit 1); exit 1; }; }
7891 fi
7892 cat >conftest.$ac_ext <<_ACEOF
7893 int foo(void) {}
7894 _ACEOF
7895 rm -f conftest.$ac_objext conftest$ac_exeext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7897 (eval $ac_link) 2>conftest.er1
7898 ac_status=$?
7899 grep -v '^ *+' conftest.er1 >conftest.err
7900 rm -f conftest.er1
7901 cat conftest.err >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try='test -z "$ac_c_werror_flag"
7905 || test ! -s conftest.err'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 (eval $ac_try) 2>&5
7908 ac_status=$?
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; } &&
7911 { ac_try='test -s conftest$ac_exeext'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 (eval $ac_try) 2>&5
7914 ac_status=$?
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then
7917 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'
7918
7919 else
7920 echo "$as_me: failed program was:" >&5
7921 sed 's/^/| /' conftest.$ac_ext >&5
7922
7923 fi
7924 rm -f conftest.err conftest.$ac_objext \
7925 conftest$ac_exeext conftest.$ac_ext
7926 LDFLAGS="$save_LDFLAGS"
7927 else
7928 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'
7929 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'
7930 fi
7931 archive_cmds_need_lc='no'
7932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7933 hardcode_libdir_separator=:
7934 inherit_rpath=yes
7935 link_all_deplibs=yes
7936 ;;
7937
7938 netbsd*)
7939 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7940 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7941 else
7942 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7943 fi
7944 hardcode_libdir_flag_spec='-R$libdir'
7945 hardcode_direct=yes
7946 hardcode_shlibpath_var=no
7947 ;;
7948
7949 newsos6)
7950 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7951 hardcode_direct=yes
7952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7953 hardcode_libdir_separator=:
7954 hardcode_shlibpath_var=no
7955 ;;
7956
7957 *nto* | *qnx*)
7958 ;;
7959
7960 openbsd*)
7961 hardcode_direct=yes
7962 hardcode_shlibpath_var=no
7963 hardcode_direct_absolute=yes
7964 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7965 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7966 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7967 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7968 export_dynamic_flag_spec='${wl}-E'
7969 else
7970 case $host_os in
7971 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7972 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7973 hardcode_libdir_flag_spec='-R$libdir'
7974 ;;
7975 *)
7976 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7977 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7978 ;;
7979 esac
7980 fi
7981 ;;
7982
7983 os2*)
7984 hardcode_libdir_flag_spec='-L$libdir'
7985 hardcode_minus_L=yes
7986 allow_undefined_flag=unsupported
7987 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'
7988 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7989 ;;
7990
7991 osf3*)
7992 if test "$GCC" = yes; then
7993 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7994 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'
7995 else
7996 allow_undefined_flag=' -expect_unresolved \*'
7997 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'
7998 fi
7999 archive_cmds_need_lc='no'
8000 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8001 hardcode_libdir_separator=:
8002 ;;
8003
8004 osf4* | osf5*) # as osf3* with the addition of -msym flag
8005 if test "$GCC" = yes; then
8006 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8007 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'
8008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8009 else
8010 allow_undefined_flag=' -expect_unresolved \*'
8011 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'
8012 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~
8013 $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'
8014
8015 # Both c and cxx compiler support -rpath directly
8016 hardcode_libdir_flag_spec='-rpath $libdir'
8017 fi
8018 archive_cmds_need_lc='no'
8019 hardcode_libdir_separator=:
8020 ;;
8021
8022 solaris*)
8023 no_undefined_flag=' -z defs'
8024 if test "$GCC" = yes; then
8025 wlarc='${wl}'
8026 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8027 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8028 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8029 else
8030 case `$CC -V 2>&1` in
8031 *"Compilers 5.0"*)
8032 wlarc=''
8033 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8034 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8035 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8036 ;;
8037 *)
8038 wlarc='${wl}'
8039 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8040 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8041 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8042 ;;
8043 esac
8044 fi
8045 hardcode_libdir_flag_spec='-R$libdir'
8046 hardcode_shlibpath_var=no
8047 case $host_os in
8048 solaris2.[0-5] | solaris2.[0-5].*) ;;
8049 *)
8050 # The compiler driver will combine and reorder linker options,
8051 # but understands `-z linker_flag'. GCC discards it without `$wl',
8052 # but is careful enough not to reorder.
8053 # Supported since Solaris 2.6 (maybe 2.5.1?)
8054 if test "$GCC" = yes; then
8055 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8056 else
8057 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8058 fi
8059 ;;
8060 esac
8061 link_all_deplibs=yes
8062 ;;
8063
8064 sunos4*)
8065 if test "x$host_vendor" = xsequent; then
8066 # Use $CC to link under sequent, because it throws in some extra .o
8067 # files that make .init and .fini sections work.
8068 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8069 else
8070 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8071 fi
8072 hardcode_libdir_flag_spec='-L$libdir'
8073 hardcode_direct=yes
8074 hardcode_minus_L=yes
8075 hardcode_shlibpath_var=no
8076 ;;
8077
8078 sysv4)
8079 case $host_vendor in
8080 sni)
8081 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8082 hardcode_direct=yes # is this really true???
8083 ;;
8084 siemens)
8085 ## LD is ld it makes a PLAMLIB
8086 ## CC just makes a GrossModule.
8087 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8088 reload_cmds='$CC -r -o $output$reload_objs'
8089 hardcode_direct=no
8090 ;;
8091 motorola)
8092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8093 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8094 ;;
8095 esac
8096 runpath_var='LD_RUN_PATH'
8097 hardcode_shlibpath_var=no
8098 ;;
8099
8100 sysv4.3*)
8101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8102 hardcode_shlibpath_var=no
8103 export_dynamic_flag_spec='-Bexport'
8104 ;;
8105
8106 sysv4*MP*)
8107 if test -d /usr/nec; then
8108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8109 hardcode_shlibpath_var=no
8110 runpath_var=LD_RUN_PATH
8111 hardcode_runpath_var=yes
8112 ld_shlibs=yes
8113 fi
8114 ;;
8115
8116 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8117 no_undefined_flag='${wl}-z,text'
8118 archive_cmds_need_lc=no
8119 hardcode_shlibpath_var=no
8120 runpath_var='LD_RUN_PATH'
8121
8122 if test "$GCC" = yes; then
8123 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8124 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8125 else
8126 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8127 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8128 fi
8129 ;;
8130
8131 sysv5* | sco3.2v5* | sco5v6*)
8132 # Note: We can NOT use -z defs as we might desire, because we do not
8133 # link with -lc, and that would cause any symbols used from libc to
8134 # always be unresolved, which means just about no library would
8135 # ever link correctly. If we're not using GNU ld we use -z text
8136 # though, which does catch some bad symbols but isn't as heavy-handed
8137 # as -z defs.
8138 no_undefined_flag='${wl}-z,text'
8139 allow_undefined_flag='${wl}-z,nodefs'
8140 archive_cmds_need_lc=no
8141 hardcode_shlibpath_var=no
8142 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8143 hardcode_libdir_separator=':'
8144 link_all_deplibs=yes
8145 export_dynamic_flag_spec='${wl}-Bexport'
8146 runpath_var='LD_RUN_PATH'
8147
8148 if test "$GCC" = yes; then
8149 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8150 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8151 else
8152 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8153 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8154 fi
8155 ;;
8156
8157 uts4*)
8158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8159 hardcode_libdir_flag_spec='-L$libdir'
8160 hardcode_shlibpath_var=no
8161 ;;
8162
8163 *)
8164 ld_shlibs=no
8165 ;;
8166 esac
8167
8168 if test x$host_vendor = xsni; then
8169 case $host in
8170 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8171 export_dynamic_flag_spec='${wl}-Blargedynsym'
8172 ;;
8173 esac
8174 fi
8175 fi
8176
8177 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8178 echo "${ECHO_T}$ld_shlibs" >&6
8179 test "$ld_shlibs" = no && can_build_shared=no
8180
8181 with_gnu_ld=$with_gnu_ld
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197 #
8198 # Do we need to explicitly link libc?
8199 #
8200 case "x$archive_cmds_need_lc" in
8201 x|xyes)
8202 # Assume -lc should be added
8203 archive_cmds_need_lc=yes
8204
8205 if test "$enable_shared" = yes && test "$GCC" = yes; then
8206 case $archive_cmds in
8207 *'~'*)
8208 # FIXME: we may have to deal with multi-command sequences.
8209 ;;
8210 '$CC '*)
8211 # Test whether the compiler implicitly links with -lc since on some
8212 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8213 # to ld, don't add -lc before -lgcc.
8214 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8215 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8216 $RM conftest*
8217 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218
8219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8220 (eval $ac_compile) 2>&5
8221 ac_status=$?
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); } 2>conftest.err; then
8224 soname=conftest
8225 lib=conftest
8226 libobjs=conftest.$ac_objext
8227 deplibs=
8228 wl=$lt_prog_compiler_wl
8229 pic_flag=$lt_prog_compiler_pic
8230 compiler_flags=-v
8231 linker_flags=-v
8232 verstring=
8233 output_objdir=.
8234 libname=conftest
8235 lt_save_allow_undefined_flag=$allow_undefined_flag
8236 allow_undefined_flag=
8237 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8238 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8239 ac_status=$?
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); }
8242 then
8243 archive_cmds_need_lc=no
8244 else
8245 archive_cmds_need_lc=yes
8246 fi
8247 allow_undefined_flag=$lt_save_allow_undefined_flag
8248 else
8249 cat conftest.err 1>&5
8250 fi
8251 $RM conftest*
8252 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8253 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8254 ;;
8255 esac
8256 fi
8257 ;;
8258 esac
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8417 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8418 withGCC=$GCC
8419 if test "$withGCC" = yes; then
8420 case $host_os in
8421 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8422 *) lt_awk_arg="/^libraries:/" ;;
8423 esac
8424 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8425 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8426 # if the path contains ";" then we assume it to be the separator
8427 # otherwise default to the standard path separator (i.e. ":") - it is
8428 # assumed that no part of a normal pathname contains ";" but that should
8429 # okay in the real world where ";" in dirpaths is itself problematic.
8430 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8431 else
8432 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8433 fi
8434 # Ok, now we have the path, separated by spaces, we can step through it
8435 # and add multilib dir if necessary.
8436 lt_tmp_lt_search_path_spec=
8437 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8438 for lt_sys_path in $lt_search_path_spec; do
8439 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8440 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8441 else
8442 test -d "$lt_sys_path" && \
8443 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8444 fi
8445 done
8446 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8447 BEGIN {RS=" "; FS="/|\n";} {
8448 lt_foo="";
8449 lt_count=0;
8450 for (lt_i = NF; lt_i > 0; lt_i--) {
8451 if ($lt_i != "" && $lt_i != ".") {
8452 if ($lt_i == "..") {
8453 lt_count++;
8454 } else {
8455 if (lt_count == 0) {
8456 lt_foo="/" $lt_i lt_foo;
8457 } else {
8458 lt_count--;
8459 }
8460 }
8461 }
8462 }
8463 if (lt_foo != "") { lt_freq[lt_foo]++; }
8464 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8465 }'`
8466 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8467 else
8468 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8469 fi
8470 library_names_spec=
8471 libname_spec='lib$name'
8472 soname_spec=
8473 shrext_cmds=".so"
8474 postinstall_cmds=
8475 postuninstall_cmds=
8476 finish_cmds=
8477 finish_eval=
8478 shlibpath_var=
8479 shlibpath_overrides_runpath=unknown
8480 version_type=none
8481 dynamic_linker="$host_os ld.so"
8482 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8483 need_lib_prefix=unknown
8484 hardcode_into_libs=no
8485
8486 # when you set need_version to no, make sure it does not cause -set_version
8487 # flags to be left without arguments
8488 need_version=unknown
8489
8490 case $host_os in
8491 aix3*)
8492 version_type=linux
8493 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8494 shlibpath_var=LIBPATH
8495
8496 # AIX 3 has no versioning support, so we append a major version to the name.
8497 soname_spec='${libname}${release}${shared_ext}$major'
8498 ;;
8499
8500 aix[4-9]*)
8501 version_type=linux
8502 need_lib_prefix=no
8503 need_version=no
8504 hardcode_into_libs=yes
8505 if test "$host_cpu" = ia64; then
8506 # AIX 5 supports IA64
8507 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8508 shlibpath_var=LD_LIBRARY_PATH
8509 else
8510 # With GCC up to 2.95.x, collect2 would create an import file
8511 # for dependence libraries. The import file would start with
8512 # the line `#! .'. This would cause the generated library to
8513 # depend on `.', always an invalid library. This was fixed in
8514 # development snapshots of GCC prior to 3.0.
8515 case $host_os in
8516 aix4 | aix4.[01] | aix4.[01].*)
8517 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8518 echo ' yes '
8519 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8520 :
8521 else
8522 can_build_shared=no
8523 fi
8524 ;;
8525 esac
8526 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8527 # soname into executable. Probably we can add versioning support to
8528 # collect2, so additional links can be useful in future.
8529 if test "$aix_use_runtimelinking" = yes; then
8530 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8531 # instead of lib<name>.a to let people know that these are not
8532 # typical AIX shared libraries.
8533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8534 else
8535 # We preserve .a as extension for shared libraries through AIX4.2
8536 # and later when we are not doing run time linking.
8537 library_names_spec='${libname}${release}.a $libname.a'
8538 soname_spec='${libname}${release}${shared_ext}$major'
8539 fi
8540 shlibpath_var=LIBPATH
8541 fi
8542 ;;
8543
8544 amigaos*)
8545 if test "$host_cpu" = m68k; then
8546 library_names_spec='$libname.ixlibrary $libname.a'
8547 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8548 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'
8549 else
8550 dynamic_linker=no
8551 fi
8552 ;;
8553
8554 beos*)
8555 library_names_spec='${libname}${shared_ext}'
8556 dynamic_linker="$host_os ld.so"
8557 shlibpath_var=LIBRARY_PATH
8558 ;;
8559
8560 bsdi[45]*)
8561 version_type=linux
8562 need_version=no
8563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8564 soname_spec='${libname}${release}${shared_ext}$major'
8565 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8566 shlibpath_var=LD_LIBRARY_PATH
8567 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8568 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8569 # the default ld.so.conf also contains /usr/contrib/lib and
8570 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8571 # libtool to hard-code these into programs
8572 ;;
8573
8574 cygwin* | mingw* | pw32*)
8575 version_type=windows
8576 shrext_cmds=".dll"
8577 need_version=no
8578 need_lib_prefix=no
8579
8580 case $withGCC,$host_os in
8581 yes,cygwin* | yes,mingw* | yes,pw32*)
8582 library_names_spec='$libname.dll.a'
8583 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8584 postinstall_cmds='base_file=`basename \${file}`~
8585 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8586 dldir=$destdir/`dirname \$dlpath`~
8587 test -d \$dldir || mkdir -p \$dldir~
8588 $install_prog $dir/$dlname \$dldir/$dlname~
8589 chmod a+x \$dldir/$dlname~
8590 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8591 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8592 fi'
8593 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8594 dlpath=$dir/\$dldll~
8595 $RM \$dlpath'
8596 shlibpath_overrides_runpath=yes
8597
8598 case $host_os in
8599 cygwin*)
8600 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8601 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8602 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8603 ;;
8604 mingw*)
8605 # MinGW DLLs use traditional 'lib' prefix
8606 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8607 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8608 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8609 # It is most probably a Windows format PATH printed by
8610 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8611 # path with ; separators, and with drive letters. We can handle the
8612 # drive letters (cygwin fileutils understands them), so leave them,
8613 # especially as we might pass files found there to a mingw objdump,
8614 # which wouldn't understand a cygwinified path. Ahh.
8615 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8616 else
8617 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8618 fi
8619 ;;
8620 pw32*)
8621 # pw32 DLLs use 'pw' prefix rather than 'lib'
8622 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8623 ;;
8624 esac
8625 ;;
8626
8627 *)
8628 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8629 ;;
8630 esac
8631 dynamic_linker='Win32 ld.exe'
8632 # FIXME: first we should search . and the directory the executable is in
8633 shlibpath_var=PATH
8634 ;;
8635
8636 darwin* | rhapsody*)
8637 dynamic_linker="$host_os dyld"
8638 version_type=darwin
8639 need_lib_prefix=no
8640 need_version=no
8641 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8642 soname_spec='${libname}${release}${major}$shared_ext'
8643 shlibpath_overrides_runpath=yes
8644 shlibpath_var=DYLD_LIBRARY_PATH
8645 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8646
8647 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8648 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8649 ;;
8650
8651 dgux*)
8652 version_type=linux
8653 need_lib_prefix=no
8654 need_version=no
8655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8656 soname_spec='${libname}${release}${shared_ext}$major'
8657 shlibpath_var=LD_LIBRARY_PATH
8658 ;;
8659
8660 freebsd1*)
8661 dynamic_linker=no
8662 ;;
8663
8664 freebsd* | dragonfly*)
8665 # DragonFly does not have aout. When/if they implement a new
8666 # versioning mechanism, adjust this.
8667 if test -x /usr/bin/objformat; then
8668 objformat=`/usr/bin/objformat`
8669 else
8670 case $host_os in
8671 freebsd[123]*) objformat=aout ;;
8672 *) objformat=elf ;;
8673 esac
8674 fi
8675 version_type=freebsd-$objformat
8676 case $version_type in
8677 freebsd-elf*)
8678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8679 need_version=no
8680 need_lib_prefix=no
8681 ;;
8682 freebsd-*)
8683 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8684 need_version=yes
8685 ;;
8686 esac
8687 shlibpath_var=LD_LIBRARY_PATH
8688 case $host_os in
8689 freebsd2*)
8690 shlibpath_overrides_runpath=yes
8691 ;;
8692 freebsd3.[01]* | freebsdelf3.[01]*)
8693 shlibpath_overrides_runpath=yes
8694 hardcode_into_libs=yes
8695 ;;
8696 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8697 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8698 shlibpath_overrides_runpath=no
8699 hardcode_into_libs=yes
8700 ;;
8701 *) # from 4.6 on, and DragonFly
8702 shlibpath_overrides_runpath=yes
8703 hardcode_into_libs=yes
8704 ;;
8705 esac
8706 ;;
8707
8708 gnu*)
8709 version_type=linux
8710 need_lib_prefix=no
8711 need_version=no
8712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8713 soname_spec='${libname}${release}${shared_ext}$major'
8714 shlibpath_var=LD_LIBRARY_PATH
8715 hardcode_into_libs=yes
8716 ;;
8717
8718 hpux9* | hpux10* | hpux11*)
8719 # Give a soname corresponding to the major version so that dld.sl refuses to
8720 # link against other versions.
8721 version_type=sunos
8722 need_lib_prefix=no
8723 need_version=no
8724 case $host_cpu in
8725 ia64*)
8726 shrext_cmds='.so'
8727 hardcode_into_libs=yes
8728 dynamic_linker="$host_os dld.so"
8729 shlibpath_var=LD_LIBRARY_PATH
8730 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8732 soname_spec='${libname}${release}${shared_ext}$major'
8733 if test "X$HPUX_IA64_MODE" = X32; then
8734 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8735 else
8736 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8737 fi
8738 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8739 ;;
8740 hppa*64*)
8741 shrext_cmds='.sl'
8742 hardcode_into_libs=yes
8743 dynamic_linker="$host_os dld.sl"
8744 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8745 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8747 soname_spec='${libname}${release}${shared_ext}$major'
8748 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8749 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8750 ;;
8751 *)
8752 shrext_cmds='.sl'
8753 dynamic_linker="$host_os dld.sl"
8754 shlibpath_var=SHLIB_PATH
8755 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8757 soname_spec='${libname}${release}${shared_ext}$major'
8758 ;;
8759 esac
8760 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8761 postinstall_cmds='chmod 555 $lib'
8762 ;;
8763
8764 interix[3-9]*)
8765 version_type=linux
8766 need_lib_prefix=no
8767 need_version=no
8768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8769 soname_spec='${libname}${release}${shared_ext}$major'
8770 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8771 shlibpath_var=LD_LIBRARY_PATH
8772 shlibpath_overrides_runpath=no
8773 hardcode_into_libs=yes
8774 ;;
8775
8776 irix5* | irix6* | nonstopux*)
8777 case $host_os in
8778 nonstopux*) version_type=nonstopux ;;
8779 *)
8780 if test "$lt_cv_prog_gnu_ld" = yes; then
8781 version_type=linux
8782 else
8783 version_type=irix
8784 fi ;;
8785 esac
8786 need_lib_prefix=no
8787 need_version=no
8788 soname_spec='${libname}${release}${shared_ext}$major'
8789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8790 case $host_os in
8791 irix5* | nonstopux*)
8792 libsuff= shlibsuff=
8793 ;;
8794 *)
8795 case $LD in # libtool.m4 will add one of these switches to LD
8796 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8797 libsuff= shlibsuff= libmagic=32-bit;;
8798 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8799 libsuff=32 shlibsuff=N32 libmagic=N32;;
8800 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8801 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8802 *) libsuff= shlibsuff= libmagic=never-match;;
8803 esac
8804 ;;
8805 esac
8806 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8807 shlibpath_overrides_runpath=no
8808 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8809 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8810 hardcode_into_libs=yes
8811 ;;
8812
8813 # No shared lib support for Linux oldld, aout, or coff.
8814 linux*oldld* | linux*aout* | linux*coff*)
8815 dynamic_linker=no
8816 ;;
8817
8818 # This must be Linux ELF.
8819 linux* | k*bsd*-gnu)
8820 version_type=linux
8821 need_lib_prefix=no
8822 need_version=no
8823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8824 soname_spec='${libname}${release}${shared_ext}$major'
8825 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8826 shlibpath_var=LD_LIBRARY_PATH
8827 shlibpath_overrides_runpath=no
8828 # Some binutils ld are patched to set DT_RUNPATH
8829 save_LDFLAGS=$LDFLAGS
8830 save_libdir=$libdir
8831 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8832 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8833 if test x$gcc_no_link = xyes; then
8834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8836 { (exit 1); exit 1; }; }
8837 fi
8838 cat >conftest.$ac_ext <<_ACEOF
8839 /* confdefs.h. */
8840 _ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8844
8845 int
8846 main ()
8847 {
8848
8849 ;
8850 return 0;
8851 }
8852 _ACEOF
8853 rm -f conftest.$ac_objext conftest$ac_exeext
8854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8855 (eval $ac_link) 2>conftest.er1
8856 ac_status=$?
8857 grep -v '^ *+' conftest.er1 >conftest.err
8858 rm -f conftest.er1
8859 cat conftest.err >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } &&
8862 { ac_try='test -z "$ac_c_werror_flag"
8863 || test ! -s conftest.err'
8864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8865 (eval $ac_try) 2>&5
8866 ac_status=$?
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); }; } &&
8869 { ac_try='test -s conftest$ac_exeext'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871 (eval $ac_try) 2>&5
8872 ac_status=$?
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8875 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8876 shlibpath_overrides_runpath=yes
8877 fi
8878
8879 else
8880 echo "$as_me: failed program was:" >&5
8881 sed 's/^/| /' conftest.$ac_ext >&5
8882
8883 fi
8884 rm -f conftest.err conftest.$ac_objext \
8885 conftest$ac_exeext conftest.$ac_ext
8886 LDFLAGS=$save_LDFLAGS
8887 libdir=$save_libdir
8888
8889 # This implies no fast_install, which is unacceptable.
8890 # Some rework will be needed to allow for fast_install
8891 # before this can be enabled.
8892 hardcode_into_libs=yes
8893
8894 # Append ld.so.conf contents to the search path
8895 if test -f /etc/ld.so.conf; then
8896 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' ' '`
8897 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8898 fi
8899
8900 # We used to test for /lib/ld.so.1 and disable shared libraries on
8901 # powerpc, because MkLinux only supported shared libraries with the
8902 # GNU dynamic linker. Since this was broken with cross compilers,
8903 # most powerpc-linux boxes support dynamic linking these days and
8904 # people can always --disable-shared, the test was removed, and we
8905 # assume the GNU/Linux dynamic linker is in use.
8906 dynamic_linker='GNU/Linux ld.so'
8907 ;;
8908
8909 netbsd*)
8910 version_type=sunos
8911 need_lib_prefix=no
8912 need_version=no
8913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8915 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8916 dynamic_linker='NetBSD (a.out) ld.so'
8917 else
8918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8919 soname_spec='${libname}${release}${shared_ext}$major'
8920 dynamic_linker='NetBSD ld.elf_so'
8921 fi
8922 shlibpath_var=LD_LIBRARY_PATH
8923 shlibpath_overrides_runpath=yes
8924 hardcode_into_libs=yes
8925 ;;
8926
8927 newsos6)
8928 version_type=linux
8929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8930 shlibpath_var=LD_LIBRARY_PATH
8931 shlibpath_overrides_runpath=yes
8932 ;;
8933
8934 *nto* | *qnx*)
8935 version_type=qnx
8936 need_lib_prefix=no
8937 need_version=no
8938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939 soname_spec='${libname}${release}${shared_ext}$major'
8940 shlibpath_var=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath=no
8942 hardcode_into_libs=yes
8943 dynamic_linker='ldqnx.so'
8944 ;;
8945
8946 openbsd*)
8947 version_type=sunos
8948 sys_lib_dlsearch_path_spec="/usr/lib"
8949 need_lib_prefix=no
8950 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8951 case $host_os in
8952 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8953 *) need_version=no ;;
8954 esac
8955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8956 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8957 shlibpath_var=LD_LIBRARY_PATH
8958 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8959 case $host_os in
8960 openbsd2.[89] | openbsd2.[89].*)
8961 shlibpath_overrides_runpath=no
8962 ;;
8963 *)
8964 shlibpath_overrides_runpath=yes
8965 ;;
8966 esac
8967 else
8968 shlibpath_overrides_runpath=yes
8969 fi
8970 ;;
8971
8972 os2*)
8973 libname_spec='$name'
8974 shrext_cmds=".dll"
8975 need_lib_prefix=no
8976 library_names_spec='$libname${shared_ext} $libname.a'
8977 dynamic_linker='OS/2 ld.exe'
8978 shlibpath_var=LIBPATH
8979 ;;
8980
8981 osf3* | osf4* | osf5*)
8982 version_type=osf
8983 need_lib_prefix=no
8984 need_version=no
8985 soname_spec='${libname}${release}${shared_ext}$major'
8986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8987 shlibpath_var=LD_LIBRARY_PATH
8988 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8989 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8990 ;;
8991
8992 rdos*)
8993 dynamic_linker=no
8994 ;;
8995
8996 solaris*)
8997 version_type=linux
8998 need_lib_prefix=no
8999 need_version=no
9000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9001 soname_spec='${libname}${release}${shared_ext}$major'
9002 shlibpath_var=LD_LIBRARY_PATH
9003 shlibpath_overrides_runpath=yes
9004 hardcode_into_libs=yes
9005 # ldd complains unless libraries are executable
9006 postinstall_cmds='chmod +x $lib'
9007 ;;
9008
9009 sunos4*)
9010 version_type=sunos
9011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9012 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9013 shlibpath_var=LD_LIBRARY_PATH
9014 shlibpath_overrides_runpath=yes
9015 if test "$with_gnu_ld" = yes; then
9016 need_lib_prefix=no
9017 fi
9018 need_version=yes
9019 ;;
9020
9021 sysv4 | sysv4.3*)
9022 version_type=linux
9023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9024 soname_spec='${libname}${release}${shared_ext}$major'
9025 shlibpath_var=LD_LIBRARY_PATH
9026 case $host_vendor in
9027 sni)
9028 shlibpath_overrides_runpath=no
9029 need_lib_prefix=no
9030 runpath_var=LD_RUN_PATH
9031 ;;
9032 siemens)
9033 need_lib_prefix=no
9034 ;;
9035 motorola)
9036 need_lib_prefix=no
9037 need_version=no
9038 shlibpath_overrides_runpath=no
9039 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9040 ;;
9041 esac
9042 ;;
9043
9044 sysv4*MP*)
9045 if test -d /usr/nec ;then
9046 version_type=linux
9047 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9048 soname_spec='$libname${shared_ext}.$major'
9049 shlibpath_var=LD_LIBRARY_PATH
9050 fi
9051 ;;
9052
9053 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9054 version_type=freebsd-elf
9055 need_lib_prefix=no
9056 need_version=no
9057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9058 soname_spec='${libname}${release}${shared_ext}$major'
9059 shlibpath_var=LD_LIBRARY_PATH
9060 shlibpath_overrides_runpath=yes
9061 hardcode_into_libs=yes
9062 if test "$with_gnu_ld" = yes; then
9063 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9064 else
9065 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9066 case $host_os in
9067 sco3.2v5*)
9068 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9069 ;;
9070 esac
9071 fi
9072 sys_lib_dlsearch_path_spec='/usr/lib'
9073 ;;
9074
9075 tpf*)
9076 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9077 version_type=linux
9078 need_lib_prefix=no
9079 need_version=no
9080 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9081 shlibpath_var=LD_LIBRARY_PATH
9082 shlibpath_overrides_runpath=no
9083 hardcode_into_libs=yes
9084 ;;
9085
9086 uts4*)
9087 version_type=linux
9088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9089 soname_spec='${libname}${release}${shared_ext}$major'
9090 shlibpath_var=LD_LIBRARY_PATH
9091 ;;
9092
9093 *)
9094 dynamic_linker=no
9095 ;;
9096 esac
9097 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9098 echo "${ECHO_T}$dynamic_linker" >&6
9099 test "$dynamic_linker" = no && can_build_shared=no
9100
9101 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9102 if test "$GCC" = yes; then
9103 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9104 fi
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9193 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9194 hardcode_action=
9195 if test -n "$hardcode_libdir_flag_spec" ||
9196 test -n "$runpath_var" ||
9197 test "X$hardcode_automatic" = "Xyes" ; then
9198
9199 # We can hardcode non-existent directories.
9200 if test "$hardcode_direct" != no &&
9201 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9202 # have to relink, otherwise we might link with an installed library
9203 # when we should be linking with a yet-to-be-installed one
9204 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9205 test "$hardcode_minus_L" != no; then
9206 # Linking always hardcodes the temporary library directory.
9207 hardcode_action=relink
9208 else
9209 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9210 hardcode_action=immediate
9211 fi
9212 else
9213 # We cannot hardcode anything, or else we can only hardcode existing
9214 # directories.
9215 hardcode_action=unsupported
9216 fi
9217 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9218 echo "${ECHO_T}$hardcode_action" >&6
9219
9220 if test "$hardcode_action" = relink ||
9221 test "$inherit_rpath" = yes; then
9222 # Fast installation is not supported
9223 enable_fast_install=no
9224 elif test "$shlibpath_overrides_runpath" = yes ||
9225 test "$enable_shared" = no; then
9226 # Fast installation is not necessary
9227 enable_fast_install=needless
9228 fi
9229
9230
9231
9232
9233
9234
9235 if test "x$enable_dlopen" != xyes; then
9236 enable_dlopen=unknown
9237 enable_dlopen_self=unknown
9238 enable_dlopen_self_static=unknown
9239 else
9240 lt_cv_dlopen=no
9241 lt_cv_dlopen_libs=
9242
9243 case $host_os in
9244 beos*)
9245 lt_cv_dlopen="load_add_on"
9246 lt_cv_dlopen_libs=
9247 lt_cv_dlopen_self=yes
9248 ;;
9249
9250 mingw* | pw32*)
9251 lt_cv_dlopen="LoadLibrary"
9252 lt_cv_dlopen_libs=
9253 ;;
9254
9255 cygwin*)
9256 lt_cv_dlopen="dlopen"
9257 lt_cv_dlopen_libs=
9258 ;;
9259
9260 darwin*)
9261 # if libdl is installed we need to link against it
9262 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9263 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9264 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 else
9267 ac_check_lib_save_LIBS=$LIBS
9268 LIBS="-ldl $LIBS"
9269 if test x$gcc_no_link = xyes; then
9270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9272 { (exit 1); exit 1; }; }
9273 fi
9274 cat >conftest.$ac_ext <<_ACEOF
9275 /* confdefs.h. */
9276 _ACEOF
9277 cat confdefs.h >>conftest.$ac_ext
9278 cat >>conftest.$ac_ext <<_ACEOF
9279 /* end confdefs.h. */
9280
9281 /* Override any gcc2 internal prototype to avoid an error. */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 /* We use char because int might match the return type of a gcc2
9286 builtin and then its argument prototype would still apply. */
9287 char dlopen ();
9288 int
9289 main ()
9290 {
9291 dlopen ();
9292 ;
9293 return 0;
9294 }
9295 _ACEOF
9296 rm -f conftest.$ac_objext conftest$ac_exeext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9298 (eval $ac_link) 2>conftest.er1
9299 ac_status=$?
9300 grep -v '^ *+' conftest.er1 >conftest.err
9301 rm -f conftest.er1
9302 cat conftest.err >&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } &&
9305 { ac_try='test -z "$ac_c_werror_flag"
9306 || test ! -s conftest.err'
9307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308 (eval $ac_try) 2>&5
9309 ac_status=$?
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); }; } &&
9312 { ac_try='test -s conftest$ac_exeext'
9313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314 (eval $ac_try) 2>&5
9315 ac_status=$?
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); }; }; then
9318 ac_cv_lib_dl_dlopen=yes
9319 else
9320 echo "$as_me: failed program was:" >&5
9321 sed 's/^/| /' conftest.$ac_ext >&5
9322
9323 ac_cv_lib_dl_dlopen=no
9324 fi
9325 rm -f conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 LIBS=$ac_check_lib_save_LIBS
9328 fi
9329 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9330 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9331 if test $ac_cv_lib_dl_dlopen = yes; then
9332 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9333 else
9334
9335 lt_cv_dlopen="dyld"
9336 lt_cv_dlopen_libs=
9337 lt_cv_dlopen_self=yes
9338
9339 fi
9340
9341 ;;
9342
9343 *)
9344 echo "$as_me:$LINENO: checking for shl_load" >&5
9345 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9346 if test "${ac_cv_func_shl_load+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9349 if test x$gcc_no_link = xyes; then
9350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9352 { (exit 1); exit 1; }; }
9353 fi
9354 cat >conftest.$ac_ext <<_ACEOF
9355 /* confdefs.h. */
9356 _ACEOF
9357 cat confdefs.h >>conftest.$ac_ext
9358 cat >>conftest.$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9360 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9362 #define shl_load innocuous_shl_load
9363
9364 /* System header to define __stub macros and hopefully few prototypes,
9365 which can conflict with char shl_load (); below.
9366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9367 <limits.h> exists even on freestanding compilers. */
9368
9369 #ifdef __STDC__
9370 # include <limits.h>
9371 #else
9372 # include <assert.h>
9373 #endif
9374
9375 #undef shl_load
9376
9377 /* Override any gcc2 internal prototype to avoid an error. */
9378 #ifdef __cplusplus
9379 extern "C"
9380 {
9381 #endif
9382 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */
9384 char shl_load ();
9385 /* The GNU C library defines this for functions which it implements
9386 to always fail with ENOSYS. Some functions are actually named
9387 something starting with __ and the normal name is an alias. */
9388 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9389 choke me
9390 #else
9391 char (*f) () = shl_load;
9392 #endif
9393 #ifdef __cplusplus
9394 }
9395 #endif
9396
9397 int
9398 main ()
9399 {
9400 return f != shl_load;
9401 ;
9402 return 0;
9403 }
9404 _ACEOF
9405 rm -f conftest.$ac_objext conftest$ac_exeext
9406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9407 (eval $ac_link) 2>conftest.er1
9408 ac_status=$?
9409 grep -v '^ *+' conftest.er1 >conftest.err
9410 rm -f conftest.er1
9411 cat conftest.err >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); } &&
9414 { ac_try='test -z "$ac_c_werror_flag"
9415 || test ! -s conftest.err'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 (eval $ac_try) 2>&5
9418 ac_status=$?
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; } &&
9421 { ac_try='test -s conftest$ac_exeext'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423 (eval $ac_try) 2>&5
9424 ac_status=$?
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; }; then
9427 ac_cv_func_shl_load=yes
9428 else
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9431
9432 ac_cv_func_shl_load=no
9433 fi
9434 rm -f conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 fi
9437 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9438 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9439 if test $ac_cv_func_shl_load = yes; then
9440 lt_cv_dlopen="shl_load"
9441 else
9442 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9443 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9444 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9445 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 else
9447 ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-ldld $LIBS"
9449 if test x$gcc_no_link = xyes; then
9450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9452 { (exit 1); exit 1; }; }
9453 fi
9454 cat >conftest.$ac_ext <<_ACEOF
9455 /* confdefs.h. */
9456 _ACEOF
9457 cat confdefs.h >>conftest.$ac_ext
9458 cat >>conftest.$ac_ext <<_ACEOF
9459 /* end confdefs.h. */
9460
9461 /* Override any gcc2 internal prototype to avoid an error. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 /* We use char because int might match the return type of a gcc2
9466 builtin and then its argument prototype would still apply. */
9467 char shl_load ();
9468 int
9469 main ()
9470 {
9471 shl_load ();
9472 ;
9473 return 0;
9474 }
9475 _ACEOF
9476 rm -f conftest.$ac_objext conftest$ac_exeext
9477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9478 (eval $ac_link) 2>conftest.er1
9479 ac_status=$?
9480 grep -v '^ *+' conftest.er1 >conftest.err
9481 rm -f conftest.er1
9482 cat conftest.err >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } &&
9485 { ac_try='test -z "$ac_c_werror_flag"
9486 || test ! -s conftest.err'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; } &&
9492 { ac_try='test -s conftest$ac_exeext'
9493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 (eval $ac_try) 2>&5
9495 ac_status=$?
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); }; }; then
9498 ac_cv_lib_dld_shl_load=yes
9499 else
9500 echo "$as_me: failed program was:" >&5
9501 sed 's/^/| /' conftest.$ac_ext >&5
9502
9503 ac_cv_lib_dld_shl_load=no
9504 fi
9505 rm -f conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 LIBS=$ac_check_lib_save_LIBS
9508 fi
9509 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9510 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9511 if test $ac_cv_lib_dld_shl_load = yes; then
9512 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9513 else
9514 echo "$as_me:$LINENO: checking for dlopen" >&5
9515 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9516 if test "${ac_cv_func_dlopen+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9519 if test x$gcc_no_link = xyes; then
9520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9522 { (exit 1); exit 1; }; }
9523 fi
9524 cat >conftest.$ac_ext <<_ACEOF
9525 /* confdefs.h. */
9526 _ACEOF
9527 cat confdefs.h >>conftest.$ac_ext
9528 cat >>conftest.$ac_ext <<_ACEOF
9529 /* end confdefs.h. */
9530 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9532 #define dlopen innocuous_dlopen
9533
9534 /* System header to define __stub macros and hopefully few prototypes,
9535 which can conflict with char dlopen (); below.
9536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9537 <limits.h> exists even on freestanding compilers. */
9538
9539 #ifdef __STDC__
9540 # include <limits.h>
9541 #else
9542 # include <assert.h>
9543 #endif
9544
9545 #undef dlopen
9546
9547 /* Override any gcc2 internal prototype to avoid an error. */
9548 #ifdef __cplusplus
9549 extern "C"
9550 {
9551 #endif
9552 /* We use char because int might match the return type of a gcc2
9553 builtin and then its argument prototype would still apply. */
9554 char dlopen ();
9555 /* The GNU C library defines this for functions which it implements
9556 to always fail with ENOSYS. Some functions are actually named
9557 something starting with __ and the normal name is an alias. */
9558 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9559 choke me
9560 #else
9561 char (*f) () = dlopen;
9562 #endif
9563 #ifdef __cplusplus
9564 }
9565 #endif
9566
9567 int
9568 main ()
9569 {
9570 return f != dlopen;
9571 ;
9572 return 0;
9573 }
9574 _ACEOF
9575 rm -f conftest.$ac_objext conftest$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577 (eval $ac_link) 2>conftest.er1
9578 ac_status=$?
9579 grep -v '^ *+' conftest.er1 >conftest.err
9580 rm -f conftest.er1
9581 cat conftest.err >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try='test -z "$ac_c_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 (eval $ac_try) 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 (eval $ac_try) 2>&5
9594 ac_status=$?
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 ac_cv_func_dlopen=yes
9598 else
9599 echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.$ac_ext >&5
9601
9602 ac_cv_func_dlopen=no
9603 fi
9604 rm -f conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 fi
9607 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9608 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9609 if test $ac_cv_func_dlopen = yes; then
9610 lt_cv_dlopen="dlopen"
9611 else
9612 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9613 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9614 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 else
9617 ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-ldl $LIBS"
9619 if test x$gcc_no_link = xyes; then
9620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9622 { (exit 1); exit 1; }; }
9623 fi
9624 cat >conftest.$ac_ext <<_ACEOF
9625 /* confdefs.h. */
9626 _ACEOF
9627 cat confdefs.h >>conftest.$ac_ext
9628 cat >>conftest.$ac_ext <<_ACEOF
9629 /* end confdefs.h. */
9630
9631 /* Override any gcc2 internal prototype to avoid an error. */
9632 #ifdef __cplusplus
9633 extern "C"
9634 #endif
9635 /* We use char because int might match the return type of a gcc2
9636 builtin and then its argument prototype would still apply. */
9637 char dlopen ();
9638 int
9639 main ()
9640 {
9641 dlopen ();
9642 ;
9643 return 0;
9644 }
9645 _ACEOF
9646 rm -f conftest.$ac_objext conftest$ac_exeext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9648 (eval $ac_link) 2>conftest.er1
9649 ac_status=$?
9650 grep -v '^ *+' conftest.er1 >conftest.err
9651 rm -f conftest.er1
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } &&
9655 { ac_try='test -z "$ac_c_werror_flag"
9656 || test ! -s conftest.err'
9657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 (eval $ac_try) 2>&5
9659 ac_status=$?
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); }; } &&
9662 { ac_try='test -s conftest$ac_exeext'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 (eval $ac_try) 2>&5
9665 ac_status=$?
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; }; then
9668 ac_cv_lib_dl_dlopen=yes
9669 else
9670 echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9672
9673 ac_cv_lib_dl_dlopen=no
9674 fi
9675 rm -f conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9678 fi
9679 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9680 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9681 if test $ac_cv_lib_dl_dlopen = yes; then
9682 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9683 else
9684 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9685 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9686 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 else
9689 ac_check_lib_save_LIBS=$LIBS
9690 LIBS="-lsvld $LIBS"
9691 if test x$gcc_no_link = xyes; then
9692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9694 { (exit 1); exit 1; }; }
9695 fi
9696 cat >conftest.$ac_ext <<_ACEOF
9697 /* confdefs.h. */
9698 _ACEOF
9699 cat confdefs.h >>conftest.$ac_ext
9700 cat >>conftest.$ac_ext <<_ACEOF
9701 /* end confdefs.h. */
9702
9703 /* Override any gcc2 internal prototype to avoid an error. */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9709 char dlopen ();
9710 int
9711 main ()
9712 {
9713 dlopen ();
9714 ;
9715 return 0;
9716 }
9717 _ACEOF
9718 rm -f conftest.$ac_objext conftest$ac_exeext
9719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9720 (eval $ac_link) 2>conftest.er1
9721 ac_status=$?
9722 grep -v '^ *+' conftest.er1 >conftest.err
9723 rm -f conftest.er1
9724 cat conftest.err >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } &&
9727 { ac_try='test -z "$ac_c_werror_flag"
9728 || test ! -s conftest.err'
9729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 (eval $ac_try) 2>&5
9731 ac_status=$?
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try='test -s conftest$ac_exeext'
9735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736 (eval $ac_try) 2>&5
9737 ac_status=$?
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; }; then
9740 ac_cv_lib_svld_dlopen=yes
9741 else
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9744
9745 ac_cv_lib_svld_dlopen=no
9746 fi
9747 rm -f conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9750 fi
9751 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9752 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9753 if test $ac_cv_lib_svld_dlopen = yes; then
9754 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9755 else
9756 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9757 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9758 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 else
9761 ac_check_lib_save_LIBS=$LIBS
9762 LIBS="-ldld $LIBS"
9763 if test x$gcc_no_link = xyes; then
9764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9766 { (exit 1); exit 1; }; }
9767 fi
9768 cat >conftest.$ac_ext <<_ACEOF
9769 /* confdefs.h. */
9770 _ACEOF
9771 cat confdefs.h >>conftest.$ac_ext
9772 cat >>conftest.$ac_ext <<_ACEOF
9773 /* end confdefs.h. */
9774
9775 /* Override any gcc2 internal prototype to avoid an error. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 /* We use char because int might match the return type of a gcc2
9780 builtin and then its argument prototype would still apply. */
9781 char dld_link ();
9782 int
9783 main ()
9784 {
9785 dld_link ();
9786 ;
9787 return 0;
9788 }
9789 _ACEOF
9790 rm -f conftest.$ac_objext conftest$ac_exeext
9791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9792 (eval $ac_link) 2>conftest.er1
9793 ac_status=$?
9794 grep -v '^ *+' conftest.er1 >conftest.err
9795 rm -f conftest.er1
9796 cat conftest.err >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } &&
9799 { ac_try='test -z "$ac_c_werror_flag"
9800 || test ! -s conftest.err'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 (eval $ac_try) 2>&5
9803 ac_status=$?
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; } &&
9806 { ac_try='test -s conftest$ac_exeext'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 (eval $ac_try) 2>&5
9809 ac_status=$?
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; }; then
9812 ac_cv_lib_dld_dld_link=yes
9813 else
9814 echo "$as_me: failed program was:" >&5
9815 sed 's/^/| /' conftest.$ac_ext >&5
9816
9817 ac_cv_lib_dld_dld_link=no
9818 fi
9819 rm -f conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 LIBS=$ac_check_lib_save_LIBS
9822 fi
9823 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9824 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9825 if test $ac_cv_lib_dld_dld_link = yes; then
9826 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9827 fi
9828
9829
9830 fi
9831
9832
9833 fi
9834
9835
9836 fi
9837
9838
9839 fi
9840
9841
9842 fi
9843
9844 ;;
9845 esac
9846
9847 if test "x$lt_cv_dlopen" != xno; then
9848 enable_dlopen=yes
9849 else
9850 enable_dlopen=no
9851 fi
9852
9853 case $lt_cv_dlopen in
9854 dlopen)
9855 save_CPPFLAGS="$CPPFLAGS"
9856 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9857
9858 save_LDFLAGS="$LDFLAGS"
9859 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9860
9861 save_LIBS="$LIBS"
9862 LIBS="$lt_cv_dlopen_libs $LIBS"
9863
9864 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9865 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9866 if test "${lt_cv_dlopen_self+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 else
9869 if test "$cross_compiling" = yes; then :
9870 lt_cv_dlopen_self=cross
9871 else
9872 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9873 lt_status=$lt_dlunknown
9874 cat > conftest.$ac_ext <<_LT_EOF
9875 #line 9875 "configure"
9876 #include "confdefs.h"
9877
9878 #if HAVE_DLFCN_H
9879 #include <dlfcn.h>
9880 #endif
9881
9882 #include <stdio.h>
9883
9884 #ifdef RTLD_GLOBAL
9885 # define LT_DLGLOBAL RTLD_GLOBAL
9886 #else
9887 # ifdef DL_GLOBAL
9888 # define LT_DLGLOBAL DL_GLOBAL
9889 # else
9890 # define LT_DLGLOBAL 0
9891 # endif
9892 #endif
9893
9894 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9895 find out it does not work in some platform. */
9896 #ifndef LT_DLLAZY_OR_NOW
9897 # ifdef RTLD_LAZY
9898 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9899 # else
9900 # ifdef DL_LAZY
9901 # define LT_DLLAZY_OR_NOW DL_LAZY
9902 # else
9903 # ifdef RTLD_NOW
9904 # define LT_DLLAZY_OR_NOW RTLD_NOW
9905 # else
9906 # ifdef DL_NOW
9907 # define LT_DLLAZY_OR_NOW DL_NOW
9908 # else
9909 # define LT_DLLAZY_OR_NOW 0
9910 # endif
9911 # endif
9912 # endif
9913 # endif
9914 #endif
9915
9916 #ifdef __cplusplus
9917 extern "C" void exit (int);
9918 #endif
9919
9920 void fnord() { int i=42;}
9921 int main ()
9922 {
9923 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9924 int status = $lt_dlunknown;
9925
9926 if (self)
9927 {
9928 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9929 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9930 /* dlclose (self); */
9931 }
9932 else
9933 puts (dlerror ());
9934
9935 exit (status);
9936 }
9937 _LT_EOF
9938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9939 (eval $ac_link) 2>&5
9940 ac_status=$?
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9943 (./conftest; exit; ) >&5 2>/dev/null
9944 lt_status=$?
9945 case x$lt_status in
9946 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9947 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9948 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9949 esac
9950 else :
9951 # compilation failed
9952 lt_cv_dlopen_self=no
9953 fi
9954 fi
9955 rm -fr conftest*
9956
9957
9958 fi
9959 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9960 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9961
9962 if test "x$lt_cv_dlopen_self" = xyes; then
9963 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9964 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9965 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9966 if test "${lt_cv_dlopen_self_static+set}" = set; then
9967 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 else
9969 if test "$cross_compiling" = yes; then :
9970 lt_cv_dlopen_self_static=cross
9971 else
9972 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9973 lt_status=$lt_dlunknown
9974 cat > conftest.$ac_ext <<_LT_EOF
9975 #line 9975 "configure"
9976 #include "confdefs.h"
9977
9978 #if HAVE_DLFCN_H
9979 #include <dlfcn.h>
9980 #endif
9981
9982 #include <stdio.h>
9983
9984 #ifdef RTLD_GLOBAL
9985 # define LT_DLGLOBAL RTLD_GLOBAL
9986 #else
9987 # ifdef DL_GLOBAL
9988 # define LT_DLGLOBAL DL_GLOBAL
9989 # else
9990 # define LT_DLGLOBAL 0
9991 # endif
9992 #endif
9993
9994 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9995 find out it does not work in some platform. */
9996 #ifndef LT_DLLAZY_OR_NOW
9997 # ifdef RTLD_LAZY
9998 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9999 # else
10000 # ifdef DL_LAZY
10001 # define LT_DLLAZY_OR_NOW DL_LAZY
10002 # else
10003 # ifdef RTLD_NOW
10004 # define LT_DLLAZY_OR_NOW RTLD_NOW
10005 # else
10006 # ifdef DL_NOW
10007 # define LT_DLLAZY_OR_NOW DL_NOW
10008 # else
10009 # define LT_DLLAZY_OR_NOW 0
10010 # endif
10011 # endif
10012 # endif
10013 # endif
10014 #endif
10015
10016 #ifdef __cplusplus
10017 extern "C" void exit (int);
10018 #endif
10019
10020 void fnord() { int i=42;}
10021 int main ()
10022 {
10023 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10024 int status = $lt_dlunknown;
10025
10026 if (self)
10027 {
10028 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10029 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10030 /* dlclose (self); */
10031 }
10032 else
10033 puts (dlerror ());
10034
10035 exit (status);
10036 }
10037 _LT_EOF
10038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10039 (eval $ac_link) 2>&5
10040 ac_status=$?
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10043 (./conftest; exit; ) >&5 2>/dev/null
10044 lt_status=$?
10045 case x$lt_status in
10046 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10047 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10048 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10049 esac
10050 else :
10051 # compilation failed
10052 lt_cv_dlopen_self_static=no
10053 fi
10054 fi
10055 rm -fr conftest*
10056
10057
10058 fi
10059 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10060 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10061 fi
10062
10063 CPPFLAGS="$save_CPPFLAGS"
10064 LDFLAGS="$save_LDFLAGS"
10065 LIBS="$save_LIBS"
10066 ;;
10067 esac
10068
10069 case $lt_cv_dlopen_self in
10070 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10071 *) enable_dlopen_self=unknown ;;
10072 esac
10073
10074 case $lt_cv_dlopen_self_static in
10075 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10076 *) enable_dlopen_self_static=unknown ;;
10077 esac
10078 fi
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096 striplib=
10097 old_striplib=
10098 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10099 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10100 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10101 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10102 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10103 echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6
10105 else
10106 # FIXME - insert some real tests, host_os isn't really good enough
10107 case $host_os in
10108 darwin*)
10109 if test -n "$STRIP" ; then
10110 striplib="$STRIP -x"
10111 old_striplib="$STRIP -S"
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118 ;;
10119 *)
10120 echo "$as_me:$LINENO: result: no" >&5
10121 echo "${ECHO_T}no" >&6
10122 ;;
10123 esac
10124 fi
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137 # Report which library types will actually be built
10138 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10139 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10140 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10141 echo "${ECHO_T}$can_build_shared" >&6
10142
10143 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10144 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10145 test "$can_build_shared" = "no" && enable_shared=no
10146
10147 # On AIX, shared libraries and static libraries use the same namespace, and
10148 # are all built from PIC.
10149 case $host_os in
10150 aix3*)
10151 test "$enable_shared" = yes && enable_static=no
10152 if test -n "$RANLIB"; then
10153 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10154 postinstall_cmds='$RANLIB $lib'
10155 fi
10156 ;;
10157
10158 aix[4-9]*)
10159 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10160 test "$enable_shared" = yes && enable_static=no
10161 fi
10162 ;;
10163 esac
10164 echo "$as_me:$LINENO: result: $enable_shared" >&5
10165 echo "${ECHO_T}$enable_shared" >&6
10166
10167 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10168 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10169 # Make sure either enable_shared or enable_static is yes.
10170 test "$enable_shared" = yes || enable_static=yes
10171 echo "$as_me:$LINENO: result: $enable_static" >&5
10172 echo "${ECHO_T}$enable_static" >&6
10173
10174
10175
10176
10177 fi
10178 ac_ext=c
10179 ac_cpp='$CPP $CPPFLAGS'
10180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10183
10184 CC="$lt_save_CC"
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198 ac_config_commands="$ac_config_commands libtool"
10199
10200
10201
10202
10203 # Only expand once:
10204
10205
10206
10207
10208 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10209
10210 # We need gfortran to compile parts of the library
10211 #AC_PROG_FC(gfortran)
10212 FC="$GFORTRAN"
10213 ac_ext=${FC_SRCEXT-f}
10214 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10215 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10216 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10217 if test -n "$ac_tool_prefix"; then
10218 for ac_prog in gfortran
10219 do
10220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10222 echo "$as_me:$LINENO: checking for $ac_word" >&5
10223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10224 if test "${ac_cv_prog_FC+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227 if test -n "$FC"; then
10228 ac_cv_prog_FC="$FC" # Let the user override the test.
10229 else
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $PATH
10232 do
10233 IFS=$as_save_IFS
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 break 2
10240 fi
10241 done
10242 done
10243
10244 fi
10245 fi
10246 FC=$ac_cv_prog_FC
10247 if test -n "$FC"; then
10248 echo "$as_me:$LINENO: result: $FC" >&5
10249 echo "${ECHO_T}$FC" >&6
10250 else
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10253 fi
10254
10255 test -n "$FC" && break
10256 done
10257 fi
10258 if test -z "$FC"; then
10259 ac_ct_FC=$FC
10260 for ac_prog in gfortran
10261 do
10262 # Extract the first word of "$ac_prog", so it can be a program name with args.
10263 set dummy $ac_prog; ac_word=$2
10264 echo "$as_me:$LINENO: checking for $ac_word" >&5
10265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10266 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10267 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 else
10269 if test -n "$ac_ct_FC"; then
10270 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10271 else
10272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10273 for as_dir in $PATH
10274 do
10275 IFS=$as_save_IFS
10276 test -z "$as_dir" && as_dir=.
10277 for ac_exec_ext in '' $ac_executable_extensions; do
10278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10279 ac_cv_prog_ac_ct_FC="$ac_prog"
10280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10281 break 2
10282 fi
10283 done
10284 done
10285
10286 fi
10287 fi
10288 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10289 if test -n "$ac_ct_FC"; then
10290 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10291 echo "${ECHO_T}$ac_ct_FC" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297 test -n "$ac_ct_FC" && break
10298 done
10299
10300 FC=$ac_ct_FC
10301 fi
10302
10303
10304 # Provide some information about the compiler.
10305 echo "$as_me:10305:" \
10306 "checking for Fortran compiler version" >&5
10307 ac_compiler=`set X $ac_compile; echo $2`
10308 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10309 (eval $ac_compiler --version </dev/null >&5) 2>&5
10310 ac_status=$?
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }
10313 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10314 (eval $ac_compiler -v </dev/null >&5) 2>&5
10315 ac_status=$?
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }
10318 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10319 (eval $ac_compiler -V </dev/null >&5) 2>&5
10320 ac_status=$?
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }
10323 rm -f a.out
10324
10325 # If we don't use `.F' as extension, the preprocessor is not run on the
10326 # input file. (Note that this only needs to work for GNU compilers.)
10327 ac_save_ext=$ac_ext
10328 ac_ext=F
10329 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10330 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10331 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10332 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 else
10334 cat >conftest.$ac_ext <<_ACEOF
10335 program main
10336 #ifndef __GNUC__
10337 choke me
10338 #endif
10339
10340 end
10341 _ACEOF
10342 rm -f conftest.$ac_objext
10343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10344 (eval $ac_compile) 2>conftest.er1
10345 ac_status=$?
10346 grep -v '^ *+' conftest.er1 >conftest.err
10347 rm -f conftest.er1
10348 cat conftest.err >&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); } &&
10351 { ac_try='test -z "$ac_fc_werror_flag"
10352 || test ! -s conftest.err'
10353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354 (eval $ac_try) 2>&5
10355 ac_status=$?
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; } &&
10358 { ac_try='test -s conftest.$ac_objext'
10359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360 (eval $ac_try) 2>&5
10361 ac_status=$?
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; }; then
10364 ac_compiler_gnu=yes
10365 else
10366 echo "$as_me: failed program was:" >&5
10367 sed 's/^/| /' conftest.$ac_ext >&5
10368
10369 ac_compiler_gnu=no
10370 fi
10371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10372 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10373
10374 fi
10375 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10376 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10377 ac_ext=$ac_save_ext
10378 ac_test_FFLAGS=${FCFLAGS+set}
10379 ac_save_FFLAGS=$FCFLAGS
10380 FCFLAGS=
10381 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10382 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10383 if test "${ac_cv_prog_fc_g+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else
10386 FCFLAGS=-g
10387 cat >conftest.$ac_ext <<_ACEOF
10388 program main
10389
10390 end
10391 _ACEOF
10392 rm -f conftest.$ac_objext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10394 (eval $ac_compile) 2>conftest.er1
10395 ac_status=$?
10396 grep -v '^ *+' conftest.er1 >conftest.err
10397 rm -f conftest.er1
10398 cat conftest.err >&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try='test -z "$ac_fc_werror_flag"
10402 || test ! -s conftest.err'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10405 ac_status=$?
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; } &&
10408 { ac_try='test -s conftest.$ac_objext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10411 ac_status=$?
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 ac_cv_prog_fc_g=yes
10415 else
10416 echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.$ac_ext >&5
10418
10419 ac_cv_prog_fc_g=no
10420 fi
10421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10422
10423 fi
10424 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10425 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10426 if test "$ac_test_FFLAGS" = set; then
10427 FCFLAGS=$ac_save_FFLAGS
10428 elif test $ac_cv_prog_fc_g = yes; then
10429 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10430 FCFLAGS="-g -O2"
10431 else
10432 FCFLAGS="-g"
10433 fi
10434 else
10435 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10436 FCFLAGS="-O2"
10437 else
10438 FCFLAGS=
10439 fi
10440 fi
10441
10442 ac_ext=c
10443 ac_cpp='$CPP $CPPFLAGS'
10444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10447
10448
10449 ac_ext=${FC_SRCEXT-f}
10450 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10451 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10452 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10453 if test -n "$ac_tool_prefix"; then
10454 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10455 do
10456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10458 echo "$as_me:$LINENO: checking for $ac_word" >&5
10459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10460 if test "${ac_cv_prog_FC+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10462 else
10463 if test -n "$FC"; then
10464 ac_cv_prog_FC="$FC" # Let the user override the test.
10465 else
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10468 do
10469 IFS=$as_save_IFS
10470 test -z "$as_dir" && as_dir=.
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 break 2
10476 fi
10477 done
10478 done
10479
10480 fi
10481 fi
10482 FC=$ac_cv_prog_FC
10483 if test -n "$FC"; then
10484 echo "$as_me:$LINENO: result: $FC" >&5
10485 echo "${ECHO_T}$FC" >&6
10486 else
10487 echo "$as_me:$LINENO: result: no" >&5
10488 echo "${ECHO_T}no" >&6
10489 fi
10490
10491 test -n "$FC" && break
10492 done
10493 fi
10494 if test -z "$FC"; then
10495 ac_ct_FC=$FC
10496 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10497 do
10498 # Extract the first word of "$ac_prog", so it can be a program name with args.
10499 set dummy $ac_prog; ac_word=$2
10500 echo "$as_me:$LINENO: checking for $ac_word" >&5
10501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10502 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 else
10505 if test -n "$ac_ct_FC"; then
10506 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10507 else
10508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10509 for as_dir in $PATH
10510 do
10511 IFS=$as_save_IFS
10512 test -z "$as_dir" && as_dir=.
10513 for ac_exec_ext in '' $ac_executable_extensions; do
10514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10515 ac_cv_prog_ac_ct_FC="$ac_prog"
10516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10517 break 2
10518 fi
10519 done
10520 done
10521
10522 fi
10523 fi
10524 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10525 if test -n "$ac_ct_FC"; then
10526 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10527 echo "${ECHO_T}$ac_ct_FC" >&6
10528 else
10529 echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6
10531 fi
10532
10533 test -n "$ac_ct_FC" && break
10534 done
10535
10536 FC=$ac_ct_FC
10537 fi
10538
10539
10540 # Provide some information about the compiler.
10541 echo "$as_me:10541:" \
10542 "checking for Fortran compiler version" >&5
10543 ac_compiler=`set X $ac_compile; echo $2`
10544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10545 (eval $ac_compiler --version </dev/null >&5) 2>&5
10546 ac_status=$?
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }
10549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10550 (eval $ac_compiler -v </dev/null >&5) 2>&5
10551 ac_status=$?
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }
10554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10555 (eval $ac_compiler -V </dev/null >&5) 2>&5
10556 ac_status=$?
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }
10559 rm -f a.out
10560
10561 # If we don't use `.F' as extension, the preprocessor is not run on the
10562 # input file. (Note that this only needs to work for GNU compilers.)
10563 ac_save_ext=$ac_ext
10564 ac_ext=F
10565 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10566 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10567 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10568 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 else
10570 cat >conftest.$ac_ext <<_ACEOF
10571 program main
10572 #ifndef __GNUC__
10573 choke me
10574 #endif
10575
10576 end
10577 _ACEOF
10578 rm -f conftest.$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>conftest.er1
10581 ac_status=$?
10582 grep -v '^ *+' conftest.er1 >conftest.err
10583 rm -f conftest.er1
10584 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } &&
10587 { ac_try='test -z "$ac_fc_werror_flag"
10588 || test ! -s conftest.err'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10591 ac_status=$?
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; } &&
10594 { ac_try='test -s conftest.$ac_objext'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10597 ac_status=$?
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10600 ac_compiler_gnu=yes
10601 else
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10604
10605 ac_compiler_gnu=no
10606 fi
10607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10608 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10609
10610 fi
10611 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10612 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10613 ac_ext=$ac_save_ext
10614 ac_test_FFLAGS=${FCFLAGS+set}
10615 ac_save_FFLAGS=$FCFLAGS
10616 FCFLAGS=
10617 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10618 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10619 if test "${ac_cv_prog_fc_g+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10622 FCFLAGS=-g
10623 cat >conftest.$ac_ext <<_ACEOF
10624 program main
10625
10626 end
10627 _ACEOF
10628 rm -f conftest.$ac_objext
10629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10630 (eval $ac_compile) 2>conftest.er1
10631 ac_status=$?
10632 grep -v '^ *+' conftest.er1 >conftest.err
10633 rm -f conftest.er1
10634 cat conftest.err >&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } &&
10637 { ac_try='test -z "$ac_fc_werror_flag"
10638 || test ! -s conftest.err'
10639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640 (eval $ac_try) 2>&5
10641 ac_status=$?
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); }; } &&
10644 { ac_try='test -s conftest.$ac_objext'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10647 ac_status=$?
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; }; then
10650 ac_cv_prog_fc_g=yes
10651 else
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10654
10655 ac_cv_prog_fc_g=no
10656 fi
10657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10658
10659 fi
10660 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10661 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10662 if test "$ac_test_FFLAGS" = set; then
10663 FCFLAGS=$ac_save_FFLAGS
10664 elif test $ac_cv_prog_fc_g = yes; then
10665 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10666 FCFLAGS="-g -O2"
10667 else
10668 FCFLAGS="-g"
10669 fi
10670 else
10671 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10672 FCFLAGS="-O2"
10673 else
10674 FCFLAGS=
10675 fi
10676 fi
10677
10678 ac_ext=c
10679 ac_cpp='$CPP $CPPFLAGS'
10680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10683
10684 if test -z "$FC" || test "X$FC" = "Xno"; then
10685 _lt_disable_FC=yes
10686 fi
10687
10688
10689
10690 ac_ext=${FC_SRCEXT-f}
10691 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10692 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10693 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10694
10695
10696 archive_cmds_need_lc_FC=no
10697 allow_undefined_flag_FC=
10698 always_export_symbols_FC=no
10699 archive_expsym_cmds_FC=
10700 export_dynamic_flag_spec_FC=
10701 hardcode_direct_FC=no
10702 hardcode_direct_absolute_FC=no
10703 hardcode_libdir_flag_spec_FC=
10704 hardcode_libdir_flag_spec_ld_FC=
10705 hardcode_libdir_separator_FC=
10706 hardcode_minus_L_FC=no
10707 hardcode_automatic_FC=no
10708 inherit_rpath_FC=no
10709 module_cmds_FC=
10710 module_expsym_cmds_FC=
10711 link_all_deplibs_FC=unknown
10712 old_archive_cmds_FC=$old_archive_cmds
10713 no_undefined_flag_FC=
10714 whole_archive_flag_spec_FC=
10715 enable_shared_with_static_runtimes_FC=no
10716
10717 # Source file extension for fc test sources.
10718 ac_ext=${ac_fc_srcext-f}
10719
10720 # Object file extension for compiled fc test sources.
10721 objext=o
10722 objext_FC=$objext
10723
10724 # No sense in running all these tests if we already determined that
10725 # the FC compiler isn't working. Some variables (like enable_shared)
10726 # are currently assumed to apply to all compilers on this platform,
10727 # and will be corrupted by setting them based on a non-working compiler.
10728 if test "$_lt_disable_FC" != yes; then
10729 # Code to be used in simple compile tests
10730 lt_simple_compile_test_code="\
10731 subroutine t
10732 return
10733 end
10734 "
10735
10736 # Code to be used in simple link tests
10737 lt_simple_link_test_code="\
10738 program t
10739 end
10740 "
10741
10742 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10743
10744
10745
10746
10747
10748
10749 # If no C compiler was specified, use CC.
10750 LTCC=${LTCC-"$CC"}
10751
10752 # If no C compiler flags were specified, use CFLAGS.
10753 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10754
10755 # Allow CC to be a program name with arguments.
10756 compiler=$CC
10757
10758
10759 # save warnings/boilerplate of simple test code
10760 ac_outfile=conftest.$ac_objext
10761 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10762 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10763 _lt_compiler_boilerplate=`cat conftest.err`
10764 $RM conftest*
10765
10766 ac_outfile=conftest.$ac_objext
10767 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10768 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10769 _lt_linker_boilerplate=`cat conftest.err`
10770 $RM conftest*
10771
10772
10773 # Allow CC to be a program name with arguments.
10774 lt_save_CC="$CC"
10775 CC=${FC-"f95"}
10776 compiler=$CC
10777 compiler_FC=$CC
10778 for cc_temp in $compiler""; do
10779 case $cc_temp in
10780 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10781 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10782 \-*) ;;
10783 *) break;;
10784 esac
10785 done
10786 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10787
10788
10789 if test -n "$compiler"; then
10790 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10791 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10792 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10793 echo "${ECHO_T}$can_build_shared" >&6
10794
10795 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10796 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10797 test "$can_build_shared" = "no" && enable_shared=no
10798
10799 # On AIX, shared libraries and static libraries use the same namespace, and
10800 # are all built from PIC.
10801 case $host_os in
10802 aix3*)
10803 test "$enable_shared" = yes && enable_static=no
10804 if test -n "$RANLIB"; then
10805 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10806 postinstall_cmds='$RANLIB $lib'
10807 fi
10808 ;;
10809 aix[4-9]*)
10810 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10811 test "$enable_shared" = yes && enable_static=no
10812 fi
10813 ;;
10814 esac
10815 echo "$as_me:$LINENO: result: $enable_shared" >&5
10816 echo "${ECHO_T}$enable_shared" >&6
10817
10818 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10819 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10820 # Make sure either enable_shared or enable_static is yes.
10821 test "$enable_shared" = yes || enable_static=yes
10822 echo "$as_me:$LINENO: result: $enable_static" >&5
10823 echo "${ECHO_T}$enable_static" >&6
10824
10825 GCC_FC="$ac_cv_fc_compiler_gnu"
10826 LD_FC="$LD"
10827
10828 ## CAVEAT EMPTOR:
10829 ## There is no encapsulation within the following macros, do not change
10830 ## the running order or otherwise move them around unless you know exactly
10831 ## what you are doing...
10832 # Dependencies to place before and after the object being linked:
10833 predep_objects_FC=
10834 postdep_objects_FC=
10835 predeps_FC=
10836 postdeps_FC=
10837 compiler_lib_search_path_FC=
10838
10839 cat > conftest.$ac_ext <<_LT_EOF
10840 subroutine foo
10841 implicit none
10842 integer a
10843 a=0
10844 return
10845 end
10846 _LT_EOF
10847
10848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10849 (eval $ac_compile) 2>&5
10850 ac_status=$?
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; then
10853 # Parse the compiler output and extract the necessary
10854 # objects, libraries and library flags.
10855
10856 # Sentinel used to keep track of whether or not we are before
10857 # the conftest object file.
10858 pre_test_object_deps_done=no
10859
10860 # The `*' in the case matches for architectures that use `case' in
10861 # $output_verbose_cmd can trigger glob expansion during the loop
10862 # eval without this substitution.
10863 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10864
10865 for p in `eval $output_verbose_link_cmd`; do
10866 case $p in
10867
10868 -L* | -R* | -l*)
10869 # Some compilers place space between "-{L,R}" and the path.
10870 # Remove the space.
10871 if test $p = "-L" ||
10872 test $p = "-R"; then
10873 prev=$p
10874 continue
10875 else
10876 prev=
10877 fi
10878
10879 if test "$pre_test_object_deps_done" = no; then
10880 case $p in
10881 -L* | -R*)
10882 # Internal compiler library paths should come after those
10883 # provided the user. The postdeps already come after the
10884 # user supplied libs so there is no need to process them.
10885 if test -z "$compiler_lib_search_path_FC"; then
10886 compiler_lib_search_path_FC="${prev}${p}"
10887 else
10888 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10889 fi
10890 ;;
10891 # The "-l" case would never come before the object being
10892 # linked, so don't bother handling this case.
10893 esac
10894 else
10895 if test -z "$postdeps_FC"; then
10896 postdeps_FC="${prev}${p}"
10897 else
10898 postdeps_FC="${postdeps_FC} ${prev}${p}"
10899 fi
10900 fi
10901 ;;
10902
10903 *.$objext)
10904 # This assumes that the test object file only shows up
10905 # once in the compiler output.
10906 if test "$p" = "conftest.$objext"; then
10907 pre_test_object_deps_done=yes
10908 continue
10909 fi
10910
10911 if test "$pre_test_object_deps_done" = no; then
10912 if test -z "$predep_objects_FC"; then
10913 predep_objects_FC="$p"
10914 else
10915 predep_objects_FC="$predep_objects_FC $p"
10916 fi
10917 else
10918 if test -z "$postdep_objects_FC"; then
10919 postdep_objects_FC="$p"
10920 else
10921 postdep_objects_FC="$postdep_objects_FC $p"
10922 fi
10923 fi
10924 ;;
10925
10926 *) ;; # Ignore the rest.
10927
10928 esac
10929 done
10930
10931 # Clean up.
10932 rm -f a.out a.exe
10933 else
10934 echo "libtool.m4: error: problem compiling FC test program"
10935 fi
10936
10937 $RM -f confest.$objext
10938
10939 # PORTME: override above test on systems where it is broken
10940
10941
10942 case " $postdeps_FC " in
10943 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10944 esac
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971 lt_prog_compiler_wl_FC=
10972 lt_prog_compiler_pic_FC=
10973 lt_prog_compiler_static_FC=
10974
10975 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10976 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10977
10978 if test "$GCC" = yes; then
10979 lt_prog_compiler_wl_FC='-Wl,'
10980 lt_prog_compiler_static_FC='-static'
10981
10982 case $host_os in
10983 aix*)
10984 # All AIX code is PIC.
10985 if test "$host_cpu" = ia64; then
10986 # AIX 5 now supports IA64 processor
10987 lt_prog_compiler_static_FC='-Bstatic'
10988 fi
10989 ;;
10990
10991 amigaos*)
10992 if test "$host_cpu" = m68k; then
10993 # FIXME: we need at least 68020 code to build shared libraries, but
10994 # adding the `-m68020' flag to GCC prevents building anything better,
10995 # like `-m68040'.
10996 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10997 fi
10998 ;;
10999
11000 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11001 # PIC is the default for these OSes.
11002 ;;
11003
11004 mingw* | cygwin* | pw32* | os2*)
11005 # This hack is so that the source file can tell whether it is being
11006 # built for inclusion in a dll (and should export symbols for example).
11007 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11008 # (--disable-auto-import) libraries
11009 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11010 ;;
11011
11012 darwin* | rhapsody*)
11013 # PIC is the default on this platform
11014 # Common symbols not allowed in MH_DYLIB files
11015 lt_prog_compiler_pic_FC='-fno-common'
11016 ;;
11017
11018 hpux*)
11019 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11020 # not for PA HP-UX.
11021 case $host_cpu in
11022 hppa*64*|ia64*)
11023 # +Z the default
11024 ;;
11025 *)
11026 lt_prog_compiler_pic_FC='-fPIC'
11027 ;;
11028 esac
11029 ;;
11030
11031 interix[3-9]*)
11032 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11033 # Instead, we relocate shared libraries at runtime.
11034 ;;
11035
11036 msdosdjgpp*)
11037 # Just because we use GCC doesn't mean we suddenly get shared libraries
11038 # on systems that don't support them.
11039 lt_prog_compiler_can_build_shared_FC=no
11040 enable_shared=no
11041 ;;
11042
11043 *nto* | *qnx*)
11044 # QNX uses GNU C++, but need to define -shared option too, otherwise
11045 # it will coredump.
11046 lt_prog_compiler_pic_FC='-fPIC -shared'
11047 ;;
11048
11049 sysv4*MP*)
11050 if test -d /usr/nec; then
11051 lt_prog_compiler_pic_FC=-Kconform_pic
11052 fi
11053 ;;
11054
11055 *)
11056 lt_prog_compiler_pic_FC='-fPIC'
11057 ;;
11058 esac
11059 else
11060 # PORTME Check for flag to pass linker flags through the system compiler.
11061 case $host_os in
11062 aix*)
11063 lt_prog_compiler_wl_FC='-Wl,'
11064 if test "$host_cpu" = ia64; then
11065 # AIX 5 now supports IA64 processor
11066 lt_prog_compiler_static_FC='-Bstatic'
11067 else
11068 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11069 fi
11070 ;;
11071 darwin*)
11072 # PIC is the default on this platform
11073 # Common symbols not allowed in MH_DYLIB files
11074 case $cc_basename in
11075 xlc*)
11076 lt_prog_compiler_pic_FC='-qnocommon'
11077 lt_prog_compiler_wl_FC='-Wl,'
11078 ;;
11079 esac
11080 ;;
11081
11082 mingw* | cygwin* | pw32* | os2*)
11083 # This hack is so that the source file can tell whether it is being
11084 # built for inclusion in a dll (and should export symbols for example).
11085 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11086 ;;
11087
11088 hpux9* | hpux10* | hpux11*)
11089 lt_prog_compiler_wl_FC='-Wl,'
11090 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11091 # not for PA HP-UX.
11092 case $host_cpu in
11093 hppa*64*|ia64*)
11094 # +Z the default
11095 ;;
11096 *)
11097 lt_prog_compiler_pic_FC='+Z'
11098 ;;
11099 esac
11100 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11101 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11102 ;;
11103
11104 irix5* | irix6* | nonstopux*)
11105 lt_prog_compiler_wl_FC='-Wl,'
11106 # PIC (with -KPIC) is the default.
11107 lt_prog_compiler_static_FC='-non_shared'
11108 ;;
11109
11110 linux* | k*bsd*-gnu)
11111 case $cc_basename in
11112 icc* | ecc*)
11113 lt_prog_compiler_wl_FC='-Wl,'
11114 lt_prog_compiler_pic_FC='-KPIC'
11115 lt_prog_compiler_static_FC='-static'
11116 ;;
11117 pgcc* | pgf77* | pgf90* | pgf95*)
11118 # Portland Group compilers (*not* the Pentium gcc compiler,
11119 # which looks to be a dead project)
11120 lt_prog_compiler_wl_FC='-Wl,'
11121 lt_prog_compiler_pic_FC='-fpic'
11122 lt_prog_compiler_static_FC='-Bstatic'
11123 ;;
11124 ccc*)
11125 lt_prog_compiler_wl_FC='-Wl,'
11126 # All Alpha code is PIC.
11127 lt_prog_compiler_static_FC='-non_shared'
11128 ;;
11129 *)
11130 case `$CC -V 2>&1 | sed 5q` in
11131 *Sun\ C*)
11132 # Sun C 5.9
11133 lt_prog_compiler_pic_FC='-KPIC'
11134 lt_prog_compiler_static_FC='-Bstatic'
11135 lt_prog_compiler_wl_FC='-Wl,'
11136 ;;
11137 *Sun\ F*)
11138 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11139 lt_prog_compiler_pic_FC='-KPIC'
11140 lt_prog_compiler_static_FC='-Bstatic'
11141 lt_prog_compiler_wl_FC=''
11142 ;;
11143 esac
11144 ;;
11145 esac
11146 ;;
11147
11148 newsos6)
11149 lt_prog_compiler_pic_FC='-KPIC'
11150 lt_prog_compiler_static_FC='-Bstatic'
11151 ;;
11152
11153 *nto* | *qnx*)
11154 # QNX uses GNU C++, but need to define -shared option too, otherwise
11155 # it will coredump.
11156 lt_prog_compiler_pic_FC='-fPIC -shared'
11157 ;;
11158
11159 osf3* | osf4* | osf5*)
11160 lt_prog_compiler_wl_FC='-Wl,'
11161 # All OSF/1 code is PIC.
11162 lt_prog_compiler_static_FC='-non_shared'
11163 ;;
11164
11165 rdos*)
11166 lt_prog_compiler_static_FC='-non_shared'
11167 ;;
11168
11169 solaris*)
11170 lt_prog_compiler_pic_FC='-KPIC'
11171 lt_prog_compiler_static_FC='-Bstatic'
11172 case $cc_basename in
11173 f77* | f90* | f95*)
11174 lt_prog_compiler_wl_FC='-Qoption ld ';;
11175 *)
11176 lt_prog_compiler_wl_FC='-Wl,';;
11177 esac
11178 ;;
11179
11180 sunos4*)
11181 lt_prog_compiler_wl_FC='-Qoption ld '
11182 lt_prog_compiler_pic_FC='-PIC'
11183 lt_prog_compiler_static_FC='-Bstatic'
11184 ;;
11185
11186 sysv4 | sysv4.2uw2* | sysv4.3*)
11187 lt_prog_compiler_wl_FC='-Wl,'
11188 lt_prog_compiler_pic_FC='-KPIC'
11189 lt_prog_compiler_static_FC='-Bstatic'
11190 ;;
11191
11192 sysv4*MP*)
11193 if test -d /usr/nec ;then
11194 lt_prog_compiler_pic_FC='-Kconform_pic'
11195 lt_prog_compiler_static_FC='-Bstatic'
11196 fi
11197 ;;
11198
11199 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11200 lt_prog_compiler_wl_FC='-Wl,'
11201 lt_prog_compiler_pic_FC='-KPIC'
11202 lt_prog_compiler_static_FC='-Bstatic'
11203 ;;
11204
11205 unicos*)
11206 lt_prog_compiler_wl_FC='-Wl,'
11207 lt_prog_compiler_can_build_shared_FC=no
11208 ;;
11209
11210 uts4*)
11211 lt_prog_compiler_pic_FC='-pic'
11212 lt_prog_compiler_static_FC='-Bstatic'
11213 ;;
11214
11215 *)
11216 lt_prog_compiler_can_build_shared_FC=no
11217 ;;
11218 esac
11219 fi
11220
11221 case $host_os in
11222 # For platforms which do not support PIC, -DPIC is meaningless:
11223 *djgpp*)
11224 lt_prog_compiler_pic_FC=
11225 ;;
11226 *)
11227 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11228 ;;
11229 esac
11230 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11231 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11232
11233
11234
11235 #
11236 # Check to make sure the PIC flag actually works.
11237 #
11238 if test -n "$lt_prog_compiler_pic_FC"; then
11239 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11240 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11241 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244 lt_prog_compiler_pic_works_FC=no
11245 ac_outfile=conftest.$ac_objext
11246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11247 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11248 # Insert the option either (1) after the last *FLAGS variable, or
11249 # (2) before a word containing "conftest.", or (3) at the end.
11250 # Note that $ac_compile itself does not contain backslashes and begins
11251 # with a dollar sign (not a hyphen), so the echo should work correctly.
11252 # The option is referenced via a variable to avoid confusing sed.
11253 lt_compile=`echo "$ac_compile" | $SED \
11254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11256 -e 's:$: $lt_compiler_flag:'`
11257 (eval echo "\"\$as_me:11257: $lt_compile\"" >&5)
11258 (eval "$lt_compile" 2>conftest.err)
11259 ac_status=$?
11260 cat conftest.err >&5
11261 echo "$as_me:11261: \$? = $ac_status" >&5
11262 if (exit $ac_status) && test -s "$ac_outfile"; then
11263 # The compiler can only warn and ignore the option if not recognized
11264 # So say no if there are warnings other than the usual output.
11265 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11266 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11267 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11268 lt_prog_compiler_pic_works_FC=yes
11269 fi
11270 fi
11271 $RM conftest*
11272
11273 fi
11274 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11275 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11276
11277 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11278 case $lt_prog_compiler_pic_FC in
11279 "" | " "*) ;;
11280 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11281 esac
11282 else
11283 lt_prog_compiler_pic_FC=
11284 lt_prog_compiler_can_build_shared_FC=no
11285 fi
11286
11287 fi
11288
11289
11290
11291 #
11292 # Check to make sure the static flag actually works.
11293 #
11294 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11295 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11296 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11297 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11298 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 else
11300 lt_prog_compiler_static_works_FC=no
11301 save_LDFLAGS="$LDFLAGS"
11302 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11303 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11304 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11305 # The linker can only warn and ignore the option if not recognized
11306 # So say no if there are warnings
11307 if test -s conftest.err; then
11308 # Append any errors to the config.log.
11309 cat conftest.err 1>&5
11310 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11311 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11312 if diff conftest.exp conftest.er2 >/dev/null; then
11313 lt_prog_compiler_static_works_FC=yes
11314 fi
11315 else
11316 lt_prog_compiler_static_works_FC=yes
11317 fi
11318 fi
11319 $RM conftest*
11320 LDFLAGS="$save_LDFLAGS"
11321
11322 fi
11323 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11324 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11325
11326 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11327 :
11328 else
11329 lt_prog_compiler_static_FC=
11330 fi
11331
11332
11333
11334
11335 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11336 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11337 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 else
11340 lt_cv_prog_compiler_c_o_FC=no
11341 $RM -r conftest 2>/dev/null
11342 mkdir conftest
11343 cd conftest
11344 mkdir out
11345 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11346
11347 lt_compiler_flag="-o out/conftest2.$ac_objext"
11348 # Insert the option either (1) after the last *FLAGS variable, or
11349 # (2) before a word containing "conftest.", or (3) at the end.
11350 # Note that $ac_compile itself does not contain backslashes and begins
11351 # with a dollar sign (not a hyphen), so the echo should work correctly.
11352 lt_compile=`echo "$ac_compile" | $SED \
11353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11355 -e 's:$: $lt_compiler_flag:'`
11356 (eval echo "\"\$as_me:11356: $lt_compile\"" >&5)
11357 (eval "$lt_compile" 2>out/conftest.err)
11358 ac_status=$?
11359 cat out/conftest.err >&5
11360 echo "$as_me:11360: \$? = $ac_status" >&5
11361 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11362 then
11363 # The compiler can only warn and ignore the option if not recognized
11364 # So say no if there are warnings
11365 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11366 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11367 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11368 lt_cv_prog_compiler_c_o_FC=yes
11369 fi
11370 fi
11371 chmod u+w . 2>&5
11372 $RM conftest*
11373 # SGI C++ compiler will create directory out/ii_files/ for
11374 # template instantiation
11375 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11376 $RM out/* && rmdir out
11377 cd ..
11378 $RM -r conftest
11379 $RM conftest*
11380
11381 fi
11382 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11383 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11384
11385
11386
11387 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11388 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11389 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392 lt_cv_prog_compiler_c_o_FC=no
11393 $RM -r conftest 2>/dev/null
11394 mkdir conftest
11395 cd conftest
11396 mkdir out
11397 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11398
11399 lt_compiler_flag="-o out/conftest2.$ac_objext"
11400 # Insert the option either (1) after the last *FLAGS variable, or
11401 # (2) before a word containing "conftest.", or (3) at the end.
11402 # Note that $ac_compile itself does not contain backslashes and begins
11403 # with a dollar sign (not a hyphen), so the echo should work correctly.
11404 lt_compile=`echo "$ac_compile" | $SED \
11405 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11406 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11407 -e 's:$: $lt_compiler_flag:'`
11408 (eval echo "\"\$as_me:11408: $lt_compile\"" >&5)
11409 (eval "$lt_compile" 2>out/conftest.err)
11410 ac_status=$?
11411 cat out/conftest.err >&5
11412 echo "$as_me:11412: \$? = $ac_status" >&5
11413 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11414 then
11415 # The compiler can only warn and ignore the option if not recognized
11416 # So say no if there are warnings
11417 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11418 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11419 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11420 lt_cv_prog_compiler_c_o_FC=yes
11421 fi
11422 fi
11423 chmod u+w . 2>&5
11424 $RM conftest*
11425 # SGI C++ compiler will create directory out/ii_files/ for
11426 # template instantiation
11427 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11428 $RM out/* && rmdir out
11429 cd ..
11430 $RM -r conftest
11431 $RM conftest*
11432
11433 fi
11434 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11435 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11436
11437
11438
11439
11440 hard_links="nottested"
11441 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11442 # do not overwrite the value of need_locks provided by the user
11443 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11444 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11445 hard_links=yes
11446 $RM conftest*
11447 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11448 touch conftest.a
11449 ln conftest.a conftest.b 2>&5 || hard_links=no
11450 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11451 echo "$as_me:$LINENO: result: $hard_links" >&5
11452 echo "${ECHO_T}$hard_links" >&6
11453 if test "$hard_links" = no; then
11454 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11455 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11456 need_locks=warn
11457 fi
11458 else
11459 need_locks=no
11460 fi
11461
11462
11463
11464 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11465 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11466
11467 runpath_var=
11468 allow_undefined_flag_FC=
11469 always_export_symbols_FC=no
11470 archive_cmds_FC=
11471 archive_expsym_cmds_FC=
11472 compiler_needs_object_FC=no
11473 enable_shared_with_static_runtimes_FC=no
11474 export_dynamic_flag_spec_FC=
11475 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11476 hardcode_automatic_FC=no
11477 hardcode_direct_FC=no
11478 hardcode_direct_absolute_FC=no
11479 hardcode_libdir_flag_spec_FC=
11480 hardcode_libdir_flag_spec_ld_FC=
11481 hardcode_libdir_separator_FC=
11482 hardcode_minus_L_FC=no
11483 hardcode_shlibpath_var_FC=unsupported
11484 inherit_rpath_FC=no
11485 link_all_deplibs_FC=unknown
11486 module_cmds_FC=
11487 module_expsym_cmds_FC=
11488 old_archive_from_new_cmds_FC=
11489 old_archive_from_expsyms_cmds_FC=
11490 thread_safe_flag_spec_FC=
11491 whole_archive_flag_spec_FC=
11492 # include_expsyms should be a list of space-separated symbols to be *always*
11493 # included in the symbol list
11494 include_expsyms_FC=
11495 # exclude_expsyms can be an extended regexp of symbols to exclude
11496 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11497 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11498 # as well as any symbol that contains `d'.
11499 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11500 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11501 # platforms (ab)use it in PIC code, but their linkers get confused if
11502 # the symbol is explicitly referenced. Since portable code cannot
11503 # rely on this symbol name, it's probably fine to never include it in
11504 # preloaded symbol tables.
11505 extract_expsyms_cmds=
11506
11507 case $host_os in
11508 cygwin* | mingw* | pw32*)
11509 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11510 # When not using gcc, we currently assume that we are using
11511 # Microsoft Visual C++.
11512 if test "$GCC" != yes; then
11513 with_gnu_ld=no
11514 fi
11515 ;;
11516 interix*)
11517 # we just hope/assume this is gcc and not c89 (= MSVC++)
11518 with_gnu_ld=yes
11519 ;;
11520 openbsd*)
11521 with_gnu_ld=no
11522 ;;
11523 esac
11524
11525 ld_shlibs_FC=yes
11526 if test "$with_gnu_ld" = yes; then
11527 # If archive_cmds runs LD, not CC, wlarc should be empty
11528 wlarc='${wl}'
11529
11530 # Set some defaults for GNU ld with shared library support. These
11531 # are reset later if shared libraries are not supported. Putting them
11532 # here allows them to be overridden if necessary.
11533 runpath_var=LD_RUN_PATH
11534 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11535 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11536 # ancient GNU ld didn't support --whole-archive et. al.
11537 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11538 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11539 else
11540 whole_archive_flag_spec_FC=
11541 fi
11542 supports_anon_versioning=no
11543 case `$LD -v 2>&1` in
11544 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11545 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11546 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11547 *\ 2.11.*) ;; # other 2.11 versions
11548 *) supports_anon_versioning=yes ;;
11549 esac
11550
11551 # See if GNU ld supports shared libraries.
11552 case $host_os in
11553 aix[3-9]*)
11554 # On AIX/PPC, the GNU linker is very broken
11555 if test "$host_cpu" != ia64; then
11556 ld_shlibs_FC=no
11557 cat <<_LT_EOF 1>&2
11558
11559 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11560 *** to be unable to reliably create shared libraries on AIX.
11561 *** Therefore, libtool is disabling shared libraries support. If you
11562 *** really care for shared libraries, you may want to modify your PATH
11563 *** so that a non-GNU linker is found, and then restart.
11564
11565 _LT_EOF
11566 fi
11567 ;;
11568
11569 amigaos*)
11570 if test "$host_cpu" = m68k; then
11571 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)'
11572 hardcode_libdir_flag_spec_FC='-L$libdir'
11573 hardcode_minus_L_FC=yes
11574 fi
11575
11576 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11577 # that the semantics of dynamic libraries on AmigaOS, at least up
11578 # to version 4, is to share data among multiple programs linked
11579 # with the same dynamic library. Since this doesn't match the
11580 # behavior of shared libraries on other platforms, we can't use
11581 # them.
11582 ld_shlibs_FC=no
11583 ;;
11584
11585 beos*)
11586 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11587 allow_undefined_flag_FC=unsupported
11588 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11589 # support --undefined. This deserves some investigation. FIXME
11590 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11591 else
11592 ld_shlibs_FC=no
11593 fi
11594 ;;
11595
11596 cygwin* | mingw* | pw32*)
11597 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11598 # as there is no search path for DLLs.
11599 hardcode_libdir_flag_spec_FC='-L$libdir'
11600 allow_undefined_flag_FC=unsupported
11601 always_export_symbols_FC=no
11602 enable_shared_with_static_runtimes_FC=yes
11603 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11604
11605 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11606 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11607 # If the export-symbols file already is a .def file (1st line
11608 # is EXPORTS), use it as is; otherwise, prepend...
11609 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11610 cp $export_symbols $output_objdir/$soname.def;
11611 else
11612 echo EXPORTS > $output_objdir/$soname.def;
11613 cat $export_symbols >> $output_objdir/$soname.def;
11614 fi~
11615 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11616 else
11617 ld_shlibs_FC=no
11618 fi
11619 ;;
11620
11621 interix[3-9]*)
11622 hardcode_direct_FC=no
11623 hardcode_shlibpath_var_FC=no
11624 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11625 export_dynamic_flag_spec_FC='${wl}-E'
11626 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11627 # Instead, shared libraries are loaded at an image base (0x10000000 by
11628 # default) and relocated if they conflict, which is a slow very memory
11629 # consuming and fragmenting process. To avoid this, we pick a random,
11630 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11631 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11632 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'
11633 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'
11634 ;;
11635
11636 gnu* | linux* | tpf* | k*bsd*-gnu)
11637 tmp_diet=no
11638 if test "$host_os" = linux-dietlibc; then
11639 case $cc_basename in
11640 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11641 esac
11642 fi
11643 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11644 && test "$tmp_diet" = no
11645 then
11646 tmp_addflag=
11647 case $cc_basename,$host_cpu in
11648 pgcc*) # Portland Group C compiler
11649 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'
11650 tmp_addflag=' $pic_flag'
11651 ;;
11652 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11653 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'
11654 tmp_addflag=' $pic_flag -Mnomain' ;;
11655 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11656 tmp_addflag=' -i_dynamic' ;;
11657 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11658 tmp_addflag=' -i_dynamic -nofor_main' ;;
11659 ifc* | ifort*) # Intel Fortran compiler
11660 tmp_addflag=' -nofor_main' ;;
11661 esac
11662 case `$CC -V 2>&1 | sed 5q` in
11663 *Sun\ C*) # Sun C 5.9
11664 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'
11665 compiler_needs_object_FC=yes
11666 tmp_sharedflag='-G' ;;
11667 *Sun\ F*) # Sun Fortran 8.3
11668 tmp_sharedflag='-G' ;;
11669 *)
11670 tmp_sharedflag='-shared' ;;
11671 esac
11672 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11673
11674 if test "x$supports_anon_versioning" = xyes; then
11675 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11676 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11677 echo "local: *; };" >> $output_objdir/$libname.ver~
11678 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11679 fi
11680 else
11681 ld_shlibs_FC=no
11682 fi
11683 ;;
11684
11685 netbsd*)
11686 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11687 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11688 wlarc=
11689 else
11690 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11691 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11692 fi
11693 ;;
11694
11695 solaris*)
11696 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11697 ld_shlibs_FC=no
11698 cat <<_LT_EOF 1>&2
11699
11700 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11701 *** create shared libraries on Solaris systems. Therefore, libtool
11702 *** is disabling shared libraries support. We urge you to upgrade GNU
11703 *** binutils to release 2.9.1 or newer. Another option is to modify
11704 *** your PATH or compiler configuration so that the native linker is
11705 *** used, and then restart.
11706
11707 _LT_EOF
11708 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11709 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11710 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11711 else
11712 ld_shlibs_FC=no
11713 fi
11714 ;;
11715
11716 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11717 case `$LD -v 2>&1` in
11718 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11719 ld_shlibs_FC=no
11720 cat <<_LT_EOF 1>&2
11721
11722 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11723 *** reliably create shared libraries on SCO systems. Therefore, libtool
11724 *** is disabling shared libraries support. We urge you to upgrade GNU
11725 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11726 *** your PATH or compiler configuration so that the native linker is
11727 *** used, and then restart.
11728
11729 _LT_EOF
11730 ;;
11731 *)
11732 # For security reasons, it is highly recommended that you always
11733 # use absolute paths for naming shared libraries, and exclude the
11734 # DT_RUNPATH tag from executables and libraries. But doing so
11735 # requires that you compile everything twice, which is a pain.
11736 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11737 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11738 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11739 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11740 else
11741 ld_shlibs_FC=no
11742 fi
11743 ;;
11744 esac
11745 ;;
11746
11747 sunos4*)
11748 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11749 wlarc=
11750 hardcode_direct_FC=yes
11751 hardcode_shlibpath_var_FC=no
11752 ;;
11753
11754 *)
11755 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11756 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11757 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11758 else
11759 ld_shlibs_FC=no
11760 fi
11761 ;;
11762 esac
11763
11764 if test "$ld_shlibs_FC" = no; then
11765 runpath_var=
11766 hardcode_libdir_flag_spec_FC=
11767 export_dynamic_flag_spec_FC=
11768 whole_archive_flag_spec_FC=
11769 fi
11770 else
11771 # PORTME fill in a description of your system's linker (not GNU ld)
11772 case $host_os in
11773 aix3*)
11774 allow_undefined_flag_FC=unsupported
11775 always_export_symbols_FC=yes
11776 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'
11777 # Note: this linker hardcodes the directories in LIBPATH if there
11778 # are no directories specified by -L.
11779 hardcode_minus_L_FC=yes
11780 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11781 # Neither direct hardcoding nor static linking is supported with a
11782 # broken collect2.
11783 hardcode_direct_FC=unsupported
11784 fi
11785 ;;
11786
11787 aix[4-9]*)
11788 if test "$host_cpu" = ia64; then
11789 # On IA64, the linker does run time linking by default, so we don't
11790 # have to do anything special.
11791 aix_use_runtimelinking=no
11792 exp_sym_flag='-Bexport'
11793 no_entry_flag=""
11794 else
11795 # If we're using GNU nm, then we don't want the "-C" option.
11796 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11797 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11798 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'
11799 else
11800 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'
11801 fi
11802 aix_use_runtimelinking=no
11803
11804 # Test if we are trying to use run time linking or normal
11805 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11806 # need to do runtime linking.
11807 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11808 for ld_flag in $LDFLAGS; do
11809 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11810 aix_use_runtimelinking=yes
11811 break
11812 fi
11813 done
11814 ;;
11815 esac
11816
11817 exp_sym_flag='-bexport'
11818 no_entry_flag='-bnoentry'
11819 fi
11820
11821 # When large executables or shared objects are built, AIX ld can
11822 # have problems creating the table of contents. If linking a library
11823 # or program results in "error TOC overflow" add -mminimal-toc to
11824 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11825 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11826
11827 archive_cmds_FC=''
11828 hardcode_direct_FC=yes
11829 hardcode_direct_absolute_FC=yes
11830 hardcode_libdir_separator_FC=':'
11831 link_all_deplibs_FC=yes
11832 file_list_spec_FC='${wl}-f,'
11833
11834 if test "$GCC" = yes; then
11835 case $host_os in aix4.[012]|aix4.[012].*)
11836 # We only want to do this on AIX 4.2 and lower, the check
11837 # below for broken collect2 doesn't work under 4.3+
11838 collect2name=`${CC} -print-prog-name=collect2`
11839 if test -f "$collect2name" &&
11840 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11841 then
11842 # We have reworked collect2
11843 :
11844 else
11845 # We have old collect2
11846 hardcode_direct_FC=unsupported
11847 # It fails to find uninstalled libraries when the uninstalled
11848 # path is not listed in the libpath. Setting hardcode_minus_L
11849 # to unsupported forces relinking
11850 hardcode_minus_L_FC=yes
11851 hardcode_libdir_flag_spec_FC='-L$libdir'
11852 hardcode_libdir_separator_FC=
11853 fi
11854 ;;
11855 esac
11856 shared_flag='-shared'
11857 if test "$aix_use_runtimelinking" = yes; then
11858 shared_flag="$shared_flag "'${wl}-G'
11859 fi
11860 else
11861 # not using gcc
11862 if test "$host_cpu" = ia64; then
11863 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11864 # chokes on -Wl,-G. The following line is correct:
11865 shared_flag='-G'
11866 else
11867 if test "$aix_use_runtimelinking" = yes; then
11868 shared_flag='${wl}-G'
11869 else
11870 shared_flag='${wl}-bM:SRE'
11871 fi
11872 fi
11873 fi
11874
11875 # It seems that -bexpall does not export symbols beginning with
11876 # underscore (_), so it is better to generate a list of symbols to export.
11877 always_export_symbols_FC=yes
11878 if test "$aix_use_runtimelinking" = yes; then
11879 # Warning - without using the other runtime loading flags (-brtl),
11880 # -berok will link without error, but may produce a broken library.
11881 allow_undefined_flag_FC='-berok'
11882 # Determine the default libpath from the value encoded in an
11883 # empty executable.
11884 if test x$gcc_no_link = xyes; then
11885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11887 { (exit 1); exit 1; }; }
11888 fi
11889 cat >conftest.$ac_ext <<_ACEOF
11890 program main
11891
11892 end
11893 _ACEOF
11894 rm -f conftest.$ac_objext conftest$ac_exeext
11895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11896 (eval $ac_link) 2>conftest.er1
11897 ac_status=$?
11898 grep -v '^ *+' conftest.er1 >conftest.err
11899 rm -f conftest.er1
11900 cat conftest.err >&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } &&
11903 { ac_try='test -z "$ac_fc_werror_flag"
11904 || test ! -s conftest.err'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11907 ac_status=$?
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; } &&
11910 { ac_try='test -s conftest$ac_exeext'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11913 ac_status=$?
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; }; then
11916
11917 lt_aix_libpath_sed='
11918 /Import File Strings/,/^$/ {
11919 /^0/ {
11920 s/^0 *\(.*\)$/\1/
11921 p
11922 }
11923 }'
11924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11925 # Check for a 64-bit object if we didn't find anything.
11926 if test -z "$aix_libpath"; then
11927 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11928 fi
11929 else
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.$ac_ext >&5
11932
11933 fi
11934 rm -f conftest.err conftest.$ac_objext \
11935 conftest$ac_exeext conftest.$ac_ext
11936 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11937
11938 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11939 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"
11940 else
11941 if test "$host_cpu" = ia64; then
11942 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11943 allow_undefined_flag_FC="-z nodefs"
11944 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"
11945 else
11946 # Determine the default libpath from the value encoded in an
11947 # empty executable.
11948 if test x$gcc_no_link = xyes; then
11949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11951 { (exit 1); exit 1; }; }
11952 fi
11953 cat >conftest.$ac_ext <<_ACEOF
11954 program main
11955
11956 end
11957 _ACEOF
11958 rm -f conftest.$ac_objext conftest$ac_exeext
11959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11960 (eval $ac_link) 2>conftest.er1
11961 ac_status=$?
11962 grep -v '^ *+' conftest.er1 >conftest.err
11963 rm -f conftest.er1
11964 cat conftest.err >&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } &&
11967 { ac_try='test -z "$ac_fc_werror_flag"
11968 || test ! -s conftest.err'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11971 ac_status=$?
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; } &&
11974 { ac_try='test -s conftest$ac_exeext'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; }; then
11980
11981 lt_aix_libpath_sed='
11982 /Import File Strings/,/^$/ {
11983 /^0/ {
11984 s/^0 *\(.*\)$/\1/
11985 p
11986 }
11987 }'
11988 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11989 # Check for a 64-bit object if we didn't find anything.
11990 if test -z "$aix_libpath"; then
11991 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11992 fi
11993 else
11994 echo "$as_me: failed program was:" >&5
11995 sed 's/^/| /' conftest.$ac_ext >&5
11996
11997 fi
11998 rm -f conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12001
12002 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12003 # Warning - without using the other run time loading flags,
12004 # -berok will link without error, but may produce a broken library.
12005 no_undefined_flag_FC=' ${wl}-bernotok'
12006 allow_undefined_flag_FC=' ${wl}-berok'
12007 # Exported symbols can be pulled into shared objects from archives
12008 whole_archive_flag_spec_FC='$convenience'
12009 archive_cmds_need_lc_FC=yes
12010 # This is similar to how AIX traditionally builds its shared libraries.
12011 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'
12012 fi
12013 fi
12014 ;;
12015
12016 amigaos*)
12017 if test "$host_cpu" = m68k; then
12018 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)'
12019 hardcode_libdir_flag_spec_FC='-L$libdir'
12020 hardcode_minus_L_FC=yes
12021 fi
12022 # see comment about different semantics on the GNU ld section
12023 ld_shlibs_FC=no
12024 ;;
12025
12026 bsdi[45]*)
12027 export_dynamic_flag_spec_FC=-rdynamic
12028 ;;
12029
12030 cygwin* | mingw* | pw32*)
12031 # When not using gcc, we currently assume that we are using
12032 # Microsoft Visual C++.
12033 # hardcode_libdir_flag_spec is actually meaningless, as there is
12034 # no search path for DLLs.
12035 hardcode_libdir_flag_spec_FC=' '
12036 allow_undefined_flag_FC=unsupported
12037 # Tell ltmain to make .lib files, not .a files.
12038 libext=lib
12039 # Tell ltmain to make .dll files, not .so files.
12040 shrext_cmds=".dll"
12041 # FIXME: Setting linknames here is a bad hack.
12042 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12043 # The linker will automatically build a .lib file if we build a DLL.
12044 old_archive_from_new_cmds_FC='true'
12045 # FIXME: Should let the user specify the lib program.
12046 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12047 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12048 enable_shared_with_static_runtimes_FC=yes
12049 ;;
12050
12051 darwin* | rhapsody*)
12052 case $host_os in
12053 rhapsody* | darwin1.[012])
12054 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12055 ;;
12056 *) # Darwin 1.3 on
12057 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12058 10.[012])
12059 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12060 ;;
12061 10.*)
12062 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12063 ;;
12064 esac
12065 ;;
12066 esac
12067 archive_cmds_need_lc_FC=no
12068 hardcode_direct_FC=no
12069 hardcode_automatic_FC=yes
12070 hardcode_shlibpath_var_FC=unsupported
12071 whole_archive_flag_spec_FC=''
12072 link_all_deplibs_FC=yes
12073 if test "$GCC" = yes ; then
12074 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077 lt_cv_apple_cc_single_mod=no
12078 if test -z "${LT_MULTI_MODULE}"; then
12079 # By default we will add the -single_module flag. You can override
12080 # by either setting the environment variable LT_MULTI_MODULE
12081 # non-empty at configure time, or by adding -multi-module to the
12082 # link flags.
12083 echo "int foo(void){return 1;}" > conftest.c
12084 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12085 -dynamiclib ${wl}-single_module conftest.c
12086 if test -f libconftest.dylib; then
12087 lt_cv_apple_cc_single_mod=yes
12088 rm libconftest.dylib
12089 fi
12090 rm conftest.$ac_ext
12091 fi
12092 fi
12093
12094 output_verbose_link_cmd=echo
12095 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12096 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12097 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}'
12098 else
12099 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12100 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}'
12101 fi
12102 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12103 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}'
12104 else
12105 case $cc_basename in
12106 xlc*)
12107 output_verbose_link_cmd=echo
12108 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12109 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12110 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12111 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}'
12112 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}'
12113 ;;
12114 *)
12115 ld_shlibs_FC=no
12116 ;;
12117 esac
12118 fi
12119 ;;
12120
12121 dgux*)
12122 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12123 hardcode_libdir_flag_spec_FC='-L$libdir'
12124 hardcode_shlibpath_var_FC=no
12125 ;;
12126
12127 freebsd1*)
12128 ld_shlibs_FC=no
12129 ;;
12130
12131 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12132 # support. Future versions do this automatically, but an explicit c++rt0.o
12133 # does not break anything, and helps significantly (at the cost of a little
12134 # extra space).
12135 freebsd2.2*)
12136 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12137 hardcode_libdir_flag_spec_FC='-R$libdir'
12138 hardcode_direct_FC=yes
12139 hardcode_shlibpath_var_FC=no
12140 ;;
12141
12142 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12143 freebsd2*)
12144 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12145 hardcode_direct_FC=yes
12146 hardcode_minus_L_FC=yes
12147 hardcode_shlibpath_var_FC=no
12148 ;;
12149
12150 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12151 freebsd* | dragonfly*)
12152 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12153 hardcode_libdir_flag_spec_FC='-R$libdir'
12154 hardcode_direct_FC=yes
12155 hardcode_shlibpath_var_FC=no
12156 ;;
12157
12158 hpux9*)
12159 if test "$GCC" = yes; then
12160 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'
12161 else
12162 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'
12163 fi
12164 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12165 hardcode_libdir_separator_FC=:
12166 hardcode_direct_FC=yes
12167
12168 # hardcode_minus_L: Not really in the search PATH,
12169 # but as the default location of the library.
12170 hardcode_minus_L_FC=yes
12171 export_dynamic_flag_spec_FC='${wl}-E'
12172 ;;
12173
12174 hpux10*)
12175 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12176 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12177 else
12178 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12179 fi
12180 if test "$with_gnu_ld" = no; then
12181 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12182 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12183 hardcode_libdir_separator_FC=:
12184 hardcode_direct_FC=yes
12185 hardcode_direct_absolute_FC=yes
12186 export_dynamic_flag_spec_FC='${wl}-E'
12187 # hardcode_minus_L: Not really in the search PATH,
12188 # but as the default location of the library.
12189 hardcode_minus_L_FC=yes
12190 fi
12191 ;;
12192
12193 hpux11*)
12194 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12195 case $host_cpu in
12196 hppa*64*)
12197 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12198 ;;
12199 ia64*)
12200 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12201 ;;
12202 *)
12203 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12204 ;;
12205 esac
12206 else
12207 case $host_cpu in
12208 hppa*64*)
12209 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12210 ;;
12211 ia64*)
12212 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12213 ;;
12214 *)
12215 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12216 ;;
12217 esac
12218 fi
12219 if test "$with_gnu_ld" = no; then
12220 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12221 hardcode_libdir_separator_FC=:
12222
12223 case $host_cpu in
12224 hppa*64*|ia64*)
12225 hardcode_direct_FC=no
12226 hardcode_shlibpath_var_FC=no
12227 ;;
12228 *)
12229 hardcode_direct_FC=yes
12230 hardcode_direct_absolute_FC=yes
12231 export_dynamic_flag_spec_FC='${wl}-E'
12232
12233 # hardcode_minus_L: Not really in the search PATH,
12234 # but as the default location of the library.
12235 hardcode_minus_L_FC=yes
12236 ;;
12237 esac
12238 fi
12239 ;;
12240
12241 irix5* | irix6* | nonstopux*)
12242 if test "$GCC" = yes; then
12243 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'
12244 # Try to use the -exported_symbol ld option, if it does not
12245 # work, assume that -exports_file does not work either and
12246 # implicitly export all symbols.
12247 save_LDFLAGS="$LDFLAGS"
12248 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12249 if test x$gcc_no_link = xyes; then
12250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12252 { (exit 1); exit 1; }; }
12253 fi
12254 cat >conftest.$ac_ext <<_ACEOF
12255 int foo(void) {}
12256 _ACEOF
12257 rm -f conftest.$ac_objext conftest$ac_exeext
12258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12259 (eval $ac_link) 2>conftest.er1
12260 ac_status=$?
12261 grep -v '^ *+' conftest.er1 >conftest.err
12262 rm -f conftest.er1
12263 cat conftest.err >&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
12266 { ac_try='test -z "$ac_fc_werror_flag"
12267 || test ! -s conftest.err'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; } &&
12273 { ac_try='test -s conftest$ac_exeext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12276 ac_status=$?
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12279 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'
12280
12281 else
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12284
12285 fi
12286 rm -f conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LDFLAGS="$save_LDFLAGS"
12289 else
12290 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'
12291 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'
12292 fi
12293 archive_cmds_need_lc_FC='no'
12294 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12295 hardcode_libdir_separator_FC=:
12296 inherit_rpath_FC=yes
12297 link_all_deplibs_FC=yes
12298 ;;
12299
12300 netbsd*)
12301 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12302 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12303 else
12304 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12305 fi
12306 hardcode_libdir_flag_spec_FC='-R$libdir'
12307 hardcode_direct_FC=yes
12308 hardcode_shlibpath_var_FC=no
12309 ;;
12310
12311 newsos6)
12312 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12313 hardcode_direct_FC=yes
12314 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12315 hardcode_libdir_separator_FC=:
12316 hardcode_shlibpath_var_FC=no
12317 ;;
12318
12319 *nto* | *qnx*)
12320 ;;
12321
12322 openbsd*)
12323 hardcode_direct_FC=yes
12324 hardcode_shlibpath_var_FC=no
12325 hardcode_direct_absolute_FC=yes
12326 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12327 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12328 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12329 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12330 export_dynamic_flag_spec_FC='${wl}-E'
12331 else
12332 case $host_os in
12333 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12334 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12335 hardcode_libdir_flag_spec_FC='-R$libdir'
12336 ;;
12337 *)
12338 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12339 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12340 ;;
12341 esac
12342 fi
12343 ;;
12344
12345 os2*)
12346 hardcode_libdir_flag_spec_FC='-L$libdir'
12347 hardcode_minus_L_FC=yes
12348 allow_undefined_flag_FC=unsupported
12349 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'
12350 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12351 ;;
12352
12353 osf3*)
12354 if test "$GCC" = yes; then
12355 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12356 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'
12357 else
12358 allow_undefined_flag_FC=' -expect_unresolved \*'
12359 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'
12360 fi
12361 archive_cmds_need_lc_FC='no'
12362 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12363 hardcode_libdir_separator_FC=:
12364 ;;
12365
12366 osf4* | osf5*) # as osf3* with the addition of -msym flag
12367 if test "$GCC" = yes; then
12368 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12369 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'
12370 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12371 else
12372 allow_undefined_flag_FC=' -expect_unresolved \*'
12373 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'
12374 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~
12375 $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'
12376
12377 # Both c and cxx compiler support -rpath directly
12378 hardcode_libdir_flag_spec_FC='-rpath $libdir'
12379 fi
12380 archive_cmds_need_lc_FC='no'
12381 hardcode_libdir_separator_FC=:
12382 ;;
12383
12384 solaris*)
12385 no_undefined_flag_FC=' -z defs'
12386 if test "$GCC" = yes; then
12387 wlarc='${wl}'
12388 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12389 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12390 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12391 else
12392 case `$CC -V 2>&1` in
12393 *"Compilers 5.0"*)
12394 wlarc=''
12395 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12396 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12397 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12398 ;;
12399 *)
12400 wlarc='${wl}'
12401 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12402 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12403 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12404 ;;
12405 esac
12406 fi
12407 hardcode_libdir_flag_spec_FC='-R$libdir'
12408 hardcode_shlibpath_var_FC=no
12409 case $host_os in
12410 solaris2.[0-5] | solaris2.[0-5].*) ;;
12411 *)
12412 # The compiler driver will combine and reorder linker options,
12413 # but understands `-z linker_flag'. GCC discards it without `$wl',
12414 # but is careful enough not to reorder.
12415 # Supported since Solaris 2.6 (maybe 2.5.1?)
12416 if test "$GCC" = yes; then
12417 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12418 else
12419 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12420 fi
12421 ;;
12422 esac
12423 link_all_deplibs_FC=yes
12424 ;;
12425
12426 sunos4*)
12427 if test "x$host_vendor" = xsequent; then
12428 # Use $CC to link under sequent, because it throws in some extra .o
12429 # files that make .init and .fini sections work.
12430 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12431 else
12432 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12433 fi
12434 hardcode_libdir_flag_spec_FC='-L$libdir'
12435 hardcode_direct_FC=yes
12436 hardcode_minus_L_FC=yes
12437 hardcode_shlibpath_var_FC=no
12438 ;;
12439
12440 sysv4)
12441 case $host_vendor in
12442 sni)
12443 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12444 hardcode_direct_FC=yes # is this really true???
12445 ;;
12446 siemens)
12447 ## LD is ld it makes a PLAMLIB
12448 ## CC just makes a GrossModule.
12449 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12450 reload_cmds_FC='$CC -r -o $output$reload_objs'
12451 hardcode_direct_FC=no
12452 ;;
12453 motorola)
12454 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12455 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12456 ;;
12457 esac
12458 runpath_var='LD_RUN_PATH'
12459 hardcode_shlibpath_var_FC=no
12460 ;;
12461
12462 sysv4.3*)
12463 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12464 hardcode_shlibpath_var_FC=no
12465 export_dynamic_flag_spec_FC='-Bexport'
12466 ;;
12467
12468 sysv4*MP*)
12469 if test -d /usr/nec; then
12470 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12471 hardcode_shlibpath_var_FC=no
12472 runpath_var=LD_RUN_PATH
12473 hardcode_runpath_var=yes
12474 ld_shlibs_FC=yes
12475 fi
12476 ;;
12477
12478 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12479 no_undefined_flag_FC='${wl}-z,text'
12480 archive_cmds_need_lc_FC=no
12481 hardcode_shlibpath_var_FC=no
12482 runpath_var='LD_RUN_PATH'
12483
12484 if test "$GCC" = yes; then
12485 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12486 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12487 else
12488 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12489 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12490 fi
12491 ;;
12492
12493 sysv5* | sco3.2v5* | sco5v6*)
12494 # Note: We can NOT use -z defs as we might desire, because we do not
12495 # link with -lc, and that would cause any symbols used from libc to
12496 # always be unresolved, which means just about no library would
12497 # ever link correctly. If we're not using GNU ld we use -z text
12498 # though, which does catch some bad symbols but isn't as heavy-handed
12499 # as -z defs.
12500 no_undefined_flag_FC='${wl}-z,text'
12501 allow_undefined_flag_FC='${wl}-z,nodefs'
12502 archive_cmds_need_lc_FC=no
12503 hardcode_shlibpath_var_FC=no
12504 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12505 hardcode_libdir_separator_FC=':'
12506 link_all_deplibs_FC=yes
12507 export_dynamic_flag_spec_FC='${wl}-Bexport'
12508 runpath_var='LD_RUN_PATH'
12509
12510 if test "$GCC" = yes; then
12511 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12512 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12513 else
12514 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12515 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12516 fi
12517 ;;
12518
12519 uts4*)
12520 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12521 hardcode_libdir_flag_spec_FC='-L$libdir'
12522 hardcode_shlibpath_var_FC=no
12523 ;;
12524
12525 *)
12526 ld_shlibs_FC=no
12527 ;;
12528 esac
12529
12530 if test x$host_vendor = xsni; then
12531 case $host in
12532 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12533 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12534 ;;
12535 esac
12536 fi
12537 fi
12538
12539 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12540 echo "${ECHO_T}$ld_shlibs_FC" >&6
12541 test "$ld_shlibs_FC" = no && can_build_shared=no
12542
12543 with_gnu_ld_FC=$with_gnu_ld
12544
12545
12546
12547
12548
12549
12550 #
12551 # Do we need to explicitly link libc?
12552 #
12553 case "x$archive_cmds_need_lc_FC" in
12554 x|xyes)
12555 # Assume -lc should be added
12556 archive_cmds_need_lc_FC=yes
12557
12558 if test "$enable_shared" = yes && test "$GCC" = yes; then
12559 case $archive_cmds_FC in
12560 *'~'*)
12561 # FIXME: we may have to deal with multi-command sequences.
12562 ;;
12563 '$CC '*)
12564 # Test whether the compiler implicitly links with -lc since on some
12565 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12566 # to ld, don't add -lc before -lgcc.
12567 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12568 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12569 $RM conftest*
12570 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12571
12572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12573 (eval $ac_compile) 2>&5
12574 ac_status=$?
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); } 2>conftest.err; then
12577 soname=conftest
12578 lib=conftest
12579 libobjs=conftest.$ac_objext
12580 deplibs=
12581 wl=$lt_prog_compiler_wl_FC
12582 pic_flag=$lt_prog_compiler_pic_FC
12583 compiler_flags=-v
12584 linker_flags=-v
12585 verstring=
12586 output_objdir=.
12587 libname=conftest
12588 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12589 allow_undefined_flag_FC=
12590 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12591 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12592 ac_status=$?
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }
12595 then
12596 archive_cmds_need_lc_FC=no
12597 else
12598 archive_cmds_need_lc_FC=yes
12599 fi
12600 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12601 else
12602 cat conftest.err 1>&5
12603 fi
12604 $RM conftest*
12605 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12606 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12607 ;;
12608 esac
12609 fi
12610 ;;
12611 esac
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12677 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12678 withGCC=$ac_cv_fc_compiler_gnu
12679 library_names_spec=
12680 libname_spec='lib$name'
12681 soname_spec=
12682 shrext_cmds=".so"
12683 postinstall_cmds=
12684 postuninstall_cmds=
12685 finish_cmds=
12686 finish_eval=
12687 shlibpath_var=
12688 shlibpath_overrides_runpath=unknown
12689 version_type=none
12690 dynamic_linker="$host_os ld.so"
12691 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12692 need_lib_prefix=unknown
12693 hardcode_into_libs=no
12694
12695 # when you set need_version to no, make sure it does not cause -set_version
12696 # flags to be left without arguments
12697 need_version=unknown
12698
12699 case $host_os in
12700 aix3*)
12701 version_type=linux
12702 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12703 shlibpath_var=LIBPATH
12704
12705 # AIX 3 has no versioning support, so we append a major version to the name.
12706 soname_spec='${libname}${release}${shared_ext}$major'
12707 ;;
12708
12709 aix[4-9]*)
12710 version_type=linux
12711 need_lib_prefix=no
12712 need_version=no
12713 hardcode_into_libs=yes
12714 if test "$host_cpu" = ia64; then
12715 # AIX 5 supports IA64
12716 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12717 shlibpath_var=LD_LIBRARY_PATH
12718 else
12719 # With GCC up to 2.95.x, collect2 would create an import file
12720 # for dependence libraries. The import file would start with
12721 # the line `#! .'. This would cause the generated library to
12722 # depend on `.', always an invalid library. This was fixed in
12723 # development snapshots of GCC prior to 3.0.
12724 case $host_os in
12725 aix4 | aix4.[01] | aix4.[01].*)
12726 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12727 echo ' yes '
12728 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12729 :
12730 else
12731 can_build_shared=no
12732 fi
12733 ;;
12734 esac
12735 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12736 # soname into executable. Probably we can add versioning support to
12737 # collect2, so additional links can be useful in future.
12738 if test "$aix_use_runtimelinking" = yes; then
12739 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12740 # instead of lib<name>.a to let people know that these are not
12741 # typical AIX shared libraries.
12742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12743 else
12744 # We preserve .a as extension for shared libraries through AIX4.2
12745 # and later when we are not doing run time linking.
12746 library_names_spec='${libname}${release}.a $libname.a'
12747 soname_spec='${libname}${release}${shared_ext}$major'
12748 fi
12749 shlibpath_var=LIBPATH
12750 fi
12751 ;;
12752
12753 amigaos*)
12754 if test "$host_cpu" = m68k; then
12755 library_names_spec='$libname.ixlibrary $libname.a'
12756 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12757 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'
12758 else
12759 dynamic_linker=no
12760 fi
12761 ;;
12762
12763 beos*)
12764 library_names_spec='${libname}${shared_ext}'
12765 dynamic_linker="$host_os ld.so"
12766 shlibpath_var=LIBRARY_PATH
12767 ;;
12768
12769 bsdi[45]*)
12770 version_type=linux
12771 need_version=no
12772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12773 soname_spec='${libname}${release}${shared_ext}$major'
12774 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12775 shlibpath_var=LD_LIBRARY_PATH
12776 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12777 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12778 # the default ld.so.conf also contains /usr/contrib/lib and
12779 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12780 # libtool to hard-code these into programs
12781 ;;
12782
12783 cygwin* | mingw* | pw32*)
12784 version_type=windows
12785 shrext_cmds=".dll"
12786 need_version=no
12787 need_lib_prefix=no
12788
12789 case $withGCC,$host_os in
12790 yes,cygwin* | yes,mingw* | yes,pw32*)
12791 library_names_spec='$libname.dll.a'
12792 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12793 postinstall_cmds='base_file=`basename \${file}`~
12794 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12795 dldir=$destdir/`dirname \$dlpath`~
12796 test -d \$dldir || mkdir -p \$dldir~
12797 $install_prog $dir/$dlname \$dldir/$dlname~
12798 chmod a+x \$dldir/$dlname~
12799 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12800 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12801 fi'
12802 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12803 dlpath=$dir/\$dldll~
12804 $RM \$dlpath'
12805 shlibpath_overrides_runpath=yes
12806
12807 case $host_os in
12808 cygwin*)
12809 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12810 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12811 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12812 ;;
12813 mingw*)
12814 # MinGW DLLs use traditional 'lib' prefix
12815 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12816 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12817 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12818 # It is most probably a Windows format PATH printed by
12819 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12820 # path with ; separators, and with drive letters. We can handle the
12821 # drive letters (cygwin fileutils understands them), so leave them,
12822 # especially as we might pass files found there to a mingw objdump,
12823 # which wouldn't understand a cygwinified path. Ahh.
12824 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12825 else
12826 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12827 fi
12828 ;;
12829 pw32*)
12830 # pw32 DLLs use 'pw' prefix rather than 'lib'
12831 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12832 ;;
12833 esac
12834 ;;
12835
12836 *)
12837 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12838 ;;
12839 esac
12840 dynamic_linker='Win32 ld.exe'
12841 # FIXME: first we should search . and the directory the executable is in
12842 shlibpath_var=PATH
12843 ;;
12844
12845 darwin* | rhapsody*)
12846 dynamic_linker="$host_os dyld"
12847 version_type=darwin
12848 need_lib_prefix=no
12849 need_version=no
12850 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12851 soname_spec='${libname}${release}${major}$shared_ext'
12852 shlibpath_overrides_runpath=yes
12853 shlibpath_var=DYLD_LIBRARY_PATH
12854 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12855
12856 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12857 ;;
12858
12859 dgux*)
12860 version_type=linux
12861 need_lib_prefix=no
12862 need_version=no
12863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12864 soname_spec='${libname}${release}${shared_ext}$major'
12865 shlibpath_var=LD_LIBRARY_PATH
12866 ;;
12867
12868 freebsd1*)
12869 dynamic_linker=no
12870 ;;
12871
12872 freebsd* | dragonfly*)
12873 # DragonFly does not have aout. When/if they implement a new
12874 # versioning mechanism, adjust this.
12875 if test -x /usr/bin/objformat; then
12876 objformat=`/usr/bin/objformat`
12877 else
12878 case $host_os in
12879 freebsd[123]*) objformat=aout ;;
12880 *) objformat=elf ;;
12881 esac
12882 fi
12883 version_type=freebsd-$objformat
12884 case $version_type in
12885 freebsd-elf*)
12886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12887 need_version=no
12888 need_lib_prefix=no
12889 ;;
12890 freebsd-*)
12891 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12892 need_version=yes
12893 ;;
12894 esac
12895 shlibpath_var=LD_LIBRARY_PATH
12896 case $host_os in
12897 freebsd2*)
12898 shlibpath_overrides_runpath=yes
12899 ;;
12900 freebsd3.[01]* | freebsdelf3.[01]*)
12901 shlibpath_overrides_runpath=yes
12902 hardcode_into_libs=yes
12903 ;;
12904 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12905 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12906 shlibpath_overrides_runpath=no
12907 hardcode_into_libs=yes
12908 ;;
12909 *) # from 4.6 on, and DragonFly
12910 shlibpath_overrides_runpath=yes
12911 hardcode_into_libs=yes
12912 ;;
12913 esac
12914 ;;
12915
12916 gnu*)
12917 version_type=linux
12918 need_lib_prefix=no
12919 need_version=no
12920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12921 soname_spec='${libname}${release}${shared_ext}$major'
12922 shlibpath_var=LD_LIBRARY_PATH
12923 hardcode_into_libs=yes
12924 ;;
12925
12926 hpux9* | hpux10* | hpux11*)
12927 # Give a soname corresponding to the major version so that dld.sl refuses to
12928 # link against other versions.
12929 version_type=sunos
12930 need_lib_prefix=no
12931 need_version=no
12932 case $host_cpu in
12933 ia64*)
12934 shrext_cmds='.so'
12935 hardcode_into_libs=yes
12936 dynamic_linker="$host_os dld.so"
12937 shlibpath_var=LD_LIBRARY_PATH
12938 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12940 soname_spec='${libname}${release}${shared_ext}$major'
12941 if test "X$HPUX_IA64_MODE" = X32; then
12942 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12943 else
12944 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12945 fi
12946 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12947 ;;
12948 hppa*64*)
12949 shrext_cmds='.sl'
12950 hardcode_into_libs=yes
12951 dynamic_linker="$host_os dld.sl"
12952 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12953 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12955 soname_spec='${libname}${release}${shared_ext}$major'
12956 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12957 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12958 ;;
12959 *)
12960 shrext_cmds='.sl'
12961 dynamic_linker="$host_os dld.sl"
12962 shlibpath_var=SHLIB_PATH
12963 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12965 soname_spec='${libname}${release}${shared_ext}$major'
12966 ;;
12967 esac
12968 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12969 postinstall_cmds='chmod 555 $lib'
12970 ;;
12971
12972 interix[3-9]*)
12973 version_type=linux
12974 need_lib_prefix=no
12975 need_version=no
12976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12977 soname_spec='${libname}${release}${shared_ext}$major'
12978 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12979 shlibpath_var=LD_LIBRARY_PATH
12980 shlibpath_overrides_runpath=no
12981 hardcode_into_libs=yes
12982 ;;
12983
12984 irix5* | irix6* | nonstopux*)
12985 case $host_os in
12986 nonstopux*) version_type=nonstopux ;;
12987 *)
12988 if test "$lt_cv_prog_gnu_ld" = yes; then
12989 version_type=linux
12990 else
12991 version_type=irix
12992 fi ;;
12993 esac
12994 need_lib_prefix=no
12995 need_version=no
12996 soname_spec='${libname}${release}${shared_ext}$major'
12997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12998 case $host_os in
12999 irix5* | nonstopux*)
13000 libsuff= shlibsuff=
13001 ;;
13002 *)
13003 case $LD in # libtool.m4 will add one of these switches to LD
13004 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13005 libsuff= shlibsuff= libmagic=32-bit;;
13006 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13007 libsuff=32 shlibsuff=N32 libmagic=N32;;
13008 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13009 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13010 *) libsuff= shlibsuff= libmagic=never-match;;
13011 esac
13012 ;;
13013 esac
13014 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13015 shlibpath_overrides_runpath=no
13016 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13017 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13018 hardcode_into_libs=yes
13019 ;;
13020
13021 # No shared lib support for Linux oldld, aout, or coff.
13022 linux*oldld* | linux*aout* | linux*coff*)
13023 dynamic_linker=no
13024 ;;
13025
13026 # This must be Linux ELF.
13027 linux* | k*bsd*-gnu)
13028 version_type=linux
13029 need_lib_prefix=no
13030 need_version=no
13031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13032 soname_spec='${libname}${release}${shared_ext}$major'
13033 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13034 shlibpath_var=LD_LIBRARY_PATH
13035 shlibpath_overrides_runpath=no
13036 # Some binutils ld are patched to set DT_RUNPATH
13037 save_LDFLAGS=$LDFLAGS
13038 save_libdir=$libdir
13039 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13040 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13041 if test x$gcc_no_link = xyes; then
13042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13044 { (exit 1); exit 1; }; }
13045 fi
13046 cat >conftest.$ac_ext <<_ACEOF
13047 program main
13048
13049 end
13050 _ACEOF
13051 rm -f conftest.$ac_objext conftest$ac_exeext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13053 (eval $ac_link) 2>conftest.er1
13054 ac_status=$?
13055 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_fc_werror_flag"
13061 || test ! -s conftest.err'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13064 ac_status=$?
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; } &&
13067 { ac_try='test -s conftest$ac_exeext'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13070 ac_status=$?
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then
13073 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13074 shlibpath_overrides_runpath=yes
13075 fi
13076
13077 else
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13080
13081 fi
13082 rm -f conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13084 LDFLAGS=$save_LDFLAGS
13085 libdir=$save_libdir
13086
13087 # This implies no fast_install, which is unacceptable.
13088 # Some rework will be needed to allow for fast_install
13089 # before this can be enabled.
13090 hardcode_into_libs=yes
13091
13092 # Append ld.so.conf contents to the search path
13093 if test -f /etc/ld.so.conf; then
13094 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' ' '`
13095 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13096 fi
13097
13098 # We used to test for /lib/ld.so.1 and disable shared libraries on
13099 # powerpc, because MkLinux only supported shared libraries with the
13100 # GNU dynamic linker. Since this was broken with cross compilers,
13101 # most powerpc-linux boxes support dynamic linking these days and
13102 # people can always --disable-shared, the test was removed, and we
13103 # assume the GNU/Linux dynamic linker is in use.
13104 dynamic_linker='GNU/Linux ld.so'
13105 ;;
13106
13107 netbsd*)
13108 version_type=sunos
13109 need_lib_prefix=no
13110 need_version=no
13111 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13113 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13114 dynamic_linker='NetBSD (a.out) ld.so'
13115 else
13116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13117 soname_spec='${libname}${release}${shared_ext}$major'
13118 dynamic_linker='NetBSD ld.elf_so'
13119 fi
13120 shlibpath_var=LD_LIBRARY_PATH
13121 shlibpath_overrides_runpath=yes
13122 hardcode_into_libs=yes
13123 ;;
13124
13125 newsos6)
13126 version_type=linux
13127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13128 shlibpath_var=LD_LIBRARY_PATH
13129 shlibpath_overrides_runpath=yes
13130 ;;
13131
13132 *nto* | *qnx*)
13133 version_type=qnx
13134 need_lib_prefix=no
13135 need_version=no
13136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13137 soname_spec='${libname}${release}${shared_ext}$major'
13138 shlibpath_var=LD_LIBRARY_PATH
13139 shlibpath_overrides_runpath=no
13140 hardcode_into_libs=yes
13141 dynamic_linker='ldqnx.so'
13142 ;;
13143
13144 openbsd*)
13145 version_type=sunos
13146 sys_lib_dlsearch_path_spec="/usr/lib"
13147 need_lib_prefix=no
13148 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13149 case $host_os in
13150 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13151 *) need_version=no ;;
13152 esac
13153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13154 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13155 shlibpath_var=LD_LIBRARY_PATH
13156 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13157 case $host_os in
13158 openbsd2.[89] | openbsd2.[89].*)
13159 shlibpath_overrides_runpath=no
13160 ;;
13161 *)
13162 shlibpath_overrides_runpath=yes
13163 ;;
13164 esac
13165 else
13166 shlibpath_overrides_runpath=yes
13167 fi
13168 ;;
13169
13170 os2*)
13171 libname_spec='$name'
13172 shrext_cmds=".dll"
13173 need_lib_prefix=no
13174 library_names_spec='$libname${shared_ext} $libname.a'
13175 dynamic_linker='OS/2 ld.exe'
13176 shlibpath_var=LIBPATH
13177 ;;
13178
13179 osf3* | osf4* | osf5*)
13180 version_type=osf
13181 need_lib_prefix=no
13182 need_version=no
13183 soname_spec='${libname}${release}${shared_ext}$major'
13184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13185 shlibpath_var=LD_LIBRARY_PATH
13186 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13187 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13188 ;;
13189
13190 rdos*)
13191 dynamic_linker=no
13192 ;;
13193
13194 solaris*)
13195 version_type=linux
13196 need_lib_prefix=no
13197 need_version=no
13198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13199 soname_spec='${libname}${release}${shared_ext}$major'
13200 shlibpath_var=LD_LIBRARY_PATH
13201 shlibpath_overrides_runpath=yes
13202 hardcode_into_libs=yes
13203 # ldd complains unless libraries are executable
13204 postinstall_cmds='chmod +x $lib'
13205 ;;
13206
13207 sunos4*)
13208 version_type=sunos
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13210 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13211 shlibpath_var=LD_LIBRARY_PATH
13212 shlibpath_overrides_runpath=yes
13213 if test "$with_gnu_ld" = yes; then
13214 need_lib_prefix=no
13215 fi
13216 need_version=yes
13217 ;;
13218
13219 sysv4 | sysv4.3*)
13220 version_type=linux
13221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13222 soname_spec='${libname}${release}${shared_ext}$major'
13223 shlibpath_var=LD_LIBRARY_PATH
13224 case $host_vendor in
13225 sni)
13226 shlibpath_overrides_runpath=no
13227 need_lib_prefix=no
13228 runpath_var=LD_RUN_PATH
13229 ;;
13230 siemens)
13231 need_lib_prefix=no
13232 ;;
13233 motorola)
13234 need_lib_prefix=no
13235 need_version=no
13236 shlibpath_overrides_runpath=no
13237 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13238 ;;
13239 esac
13240 ;;
13241
13242 sysv4*MP*)
13243 if test -d /usr/nec ;then
13244 version_type=linux
13245 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13246 soname_spec='$libname${shared_ext}.$major'
13247 shlibpath_var=LD_LIBRARY_PATH
13248 fi
13249 ;;
13250
13251 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13252 version_type=freebsd-elf
13253 need_lib_prefix=no
13254 need_version=no
13255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13256 soname_spec='${libname}${release}${shared_ext}$major'
13257 shlibpath_var=LD_LIBRARY_PATH
13258 shlibpath_overrides_runpath=yes
13259 hardcode_into_libs=yes
13260 if test "$with_gnu_ld" = yes; then
13261 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13262 else
13263 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13264 case $host_os in
13265 sco3.2v5*)
13266 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13267 ;;
13268 esac
13269 fi
13270 sys_lib_dlsearch_path_spec='/usr/lib'
13271 ;;
13272
13273 tpf*)
13274 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13275 version_type=linux
13276 need_lib_prefix=no
13277 need_version=no
13278 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13279 shlibpath_var=LD_LIBRARY_PATH
13280 shlibpath_overrides_runpath=no
13281 hardcode_into_libs=yes
13282 ;;
13283
13284 uts4*)
13285 version_type=linux
13286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13287 soname_spec='${libname}${release}${shared_ext}$major'
13288 shlibpath_var=LD_LIBRARY_PATH
13289 ;;
13290
13291 *)
13292 dynamic_linker=no
13293 ;;
13294 esac
13295 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13296 echo "${ECHO_T}$dynamic_linker" >&6
13297 test "$dynamic_linker" = no && can_build_shared=no
13298
13299 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13300 if test "$GCC" = yes; then
13301 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13302 fi
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13340 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13341 hardcode_action_FC=
13342 if test -n "$hardcode_libdir_flag_spec_FC" ||
13343 test -n "$runpath_var_FC" ||
13344 test "X$hardcode_automatic_FC" = "Xyes" ; then
13345
13346 # We can hardcode non-existent directories.
13347 if test "$hardcode_direct_FC" != no &&
13348 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13349 # have to relink, otherwise we might link with an installed library
13350 # when we should be linking with a yet-to-be-installed one
13351 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13352 test "$hardcode_minus_L_FC" != no; then
13353 # Linking always hardcodes the temporary library directory.
13354 hardcode_action_FC=relink
13355 else
13356 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13357 hardcode_action_FC=immediate
13358 fi
13359 else
13360 # We cannot hardcode anything, or else we can only hardcode existing
13361 # directories.
13362 hardcode_action_FC=unsupported
13363 fi
13364 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13365 echo "${ECHO_T}$hardcode_action_FC" >&6
13366
13367 if test "$hardcode_action_FC" = relink ||
13368 test "$inherit_rpath_FC" = yes; then
13369 # Fast installation is not supported
13370 enable_fast_install=no
13371 elif test "$shlibpath_overrides_runpath" = yes ||
13372 test "$enable_shared" = no; then
13373 # Fast installation is not necessary
13374 enable_fast_install=needless
13375 fi
13376
13377
13378
13379
13380
13381
13382
13383 fi # test -n "$compiler"
13384
13385 CC="$lt_save_CC"
13386 fi # test "$_lt_disable_FC" != yes
13387
13388 ac_ext=c
13389 ac_cpp='$CPP $CPPFLAGS'
13390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13393
13394
13395
13396 # extra LD Flags which are required for targets
13397 case "${host}" in
13398 *-darwin*)
13399 # Darwin needs -single_module when linking libgfortran
13400 extra_ldflags_libgfortran=-Wl,-single_module
13401 ;;
13402 esac
13403
13404
13405 # We need a working compiler at that point, otherwise give a clear
13406 # error message and bail out.
13407
13408 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13409 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13410 ac_ext=${FC_SRCEXT-f}
13411 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13412 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13413 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13414
13415 cat >conftest.$ac_ext <<_ACEOF
13416
13417 program foo
13418 real, parameter :: bar = sin (12.34 / 2.5)
13419 end program foo
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13423 (eval $ac_compile) 2>conftest.er1
13424 ac_status=$?
13425 grep -v '^ *+' conftest.er1 >conftest.err
13426 rm -f conftest.er1
13427 cat conftest.err >&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); } &&
13430 { ac_try='test -z "$ac_fc_werror_flag"
13431 || test ! -s conftest.err'
13432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433 (eval $ac_try) 2>&5
13434 ac_status=$?
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; } &&
13437 { ac_try='test -s conftest.$ac_objext'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13440 ac_status=$?
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; }; then
13443 echo "$as_me:$LINENO: result: yes" >&5
13444 echo "${ECHO_T}yes" >&6
13445 else
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13448
13449 echo "$as_me:$LINENO: result: no" >&5
13450 echo "${ECHO_T}no" >&6
13451 { { 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
13452 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13453 { (exit 1); exit 1; }; }
13454
13455 fi
13456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13457 ac_ext=c
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462
13463
13464
13465 # Check whether --enable-largefile or --disable-largefile was given.
13466 if test "${enable_largefile+set}" = set; then
13467 enableval="$enable_largefile"
13468
13469 fi;
13470 if test "$enable_largefile" != no; then
13471
13472 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13473 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13474 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 ac_cv_sys_largefile_CC=no
13478 if test "$GCC" != yes; then
13479 ac_save_CC=$CC
13480 while :; do
13481 # IRIX 6.2 and later do not support large files by default,
13482 # so use the C compiler's -n32 option if that helps.
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489 #include <sys/types.h>
13490 /* Check that off_t can represent 2**63 - 1 correctly.
13491 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13492 since some C++ compilers masquerading as C compilers
13493 incorrectly reject 9223372036854775807. */
13494 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13495 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13496 && LARGE_OFF_T % 2147483647 == 1)
13497 ? 1 : -1];
13498 int
13499 main ()
13500 {
13501
13502 ;
13503 return 0;
13504 }
13505 _ACEOF
13506 rm -f conftest.$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>conftest.er1
13509 ac_status=$?
13510 grep -v '^ *+' conftest.er1 >conftest.err
13511 rm -f conftest.er1
13512 cat conftest.err >&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try='test -z "$ac_c_werror_flag"
13516 || test ! -s conftest.err'
13517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518 (eval $ac_try) 2>&5
13519 ac_status=$?
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; } &&
13522 { ac_try='test -s conftest.$ac_objext'
13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524 (eval $ac_try) 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; }; then
13528 break
13529 else
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13532
13533 fi
13534 rm -f conftest.err conftest.$ac_objext
13535 CC="$CC -n32"
13536 rm -f conftest.$ac_objext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538 (eval $ac_compile) 2>conftest.er1
13539 ac_status=$?
13540 grep -v '^ *+' conftest.er1 >conftest.err
13541 rm -f conftest.er1
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try='test -z "$ac_c_werror_flag"
13546 || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13549 ac_status=$?
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try='test -s conftest.$ac_objext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 ac_cv_sys_largefile_CC=' -n32'; break
13559 else
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13562
13563 fi
13564 rm -f conftest.err conftest.$ac_objext
13565 break
13566 done
13567 CC=$ac_save_CC
13568 rm -f conftest.$ac_ext
13569 fi
13570 fi
13571 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13572 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13573 if test "$ac_cv_sys_largefile_CC" != no; then
13574 CC=$CC$ac_cv_sys_largefile_CC
13575 fi
13576
13577 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13578 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13579 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 else
13582 while :; do
13583 ac_cv_sys_file_offset_bits=no
13584 cat >conftest.$ac_ext <<_ACEOF
13585 /* confdefs.h. */
13586 _ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590 #include <sys/types.h>
13591 /* Check that off_t can represent 2**63 - 1 correctly.
13592 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13593 since some C++ compilers masquerading as C compilers
13594 incorrectly reject 9223372036854775807. */
13595 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13596 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13597 && LARGE_OFF_T % 2147483647 == 1)
13598 ? 1 : -1];
13599 int
13600 main ()
13601 {
13602
13603 ;
13604 return 0;
13605 }
13606 _ACEOF
13607 rm -f conftest.$ac_objext
13608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13609 (eval $ac_compile) 2>conftest.er1
13610 ac_status=$?
13611 grep -v '^ *+' conftest.er1 >conftest.err
13612 rm -f conftest.er1
13613 cat conftest.err >&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try='test -z "$ac_c_werror_flag"
13617 || test ! -s conftest.err'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13620 ac_status=$?
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; } &&
13623 { ac_try='test -s conftest.$ac_objext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13626 ac_status=$?
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 break
13630 else
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13633
13634 fi
13635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13636 cat >conftest.$ac_ext <<_ACEOF
13637 /* confdefs.h. */
13638 _ACEOF
13639 cat confdefs.h >>conftest.$ac_ext
13640 cat >>conftest.$ac_ext <<_ACEOF
13641 /* end confdefs.h. */
13642 #define _FILE_OFFSET_BITS 64
13643 #include <sys/types.h>
13644 /* Check that off_t can represent 2**63 - 1 correctly.
13645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13646 since some C++ compilers masquerading as C compilers
13647 incorrectly reject 9223372036854775807. */
13648 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13650 && LARGE_OFF_T % 2147483647 == 1)
13651 ? 1 : -1];
13652 int
13653 main ()
13654 {
13655
13656 ;
13657 return 0;
13658 }
13659 _ACEOF
13660 rm -f conftest.$ac_objext
13661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13662 (eval $ac_compile) 2>conftest.er1
13663 ac_status=$?
13664 grep -v '^ *+' conftest.er1 >conftest.err
13665 rm -f conftest.er1
13666 cat conftest.err >&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -z "$ac_c_werror_flag"
13670 || test ! -s conftest.err'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13673 ac_status=$?
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; } &&
13676 { ac_try='test -s conftest.$ac_objext'
13677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678 (eval $ac_try) 2>&5
13679 ac_status=$?
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); }; }; then
13682 ac_cv_sys_file_offset_bits=64; break
13683 else
13684 echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.$ac_ext >&5
13686
13687 fi
13688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13689 break
13690 done
13691 fi
13692 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13693 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13694 if test "$ac_cv_sys_file_offset_bits" != no; then
13695
13696 cat >>confdefs.h <<_ACEOF
13697 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13698 _ACEOF
13699
13700 fi
13701 rm -f conftest*
13702 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13703 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13704 if test "${ac_cv_sys_large_files+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707 while :; do
13708 ac_cv_sys_large_files=no
13709 cat >conftest.$ac_ext <<_ACEOF
13710 /* confdefs.h. */
13711 _ACEOF
13712 cat confdefs.h >>conftest.$ac_ext
13713 cat >>conftest.$ac_ext <<_ACEOF
13714 /* end confdefs.h. */
13715 #include <sys/types.h>
13716 /* Check that off_t can represent 2**63 - 1 correctly.
13717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13718 since some C++ compilers masquerading as C compilers
13719 incorrectly reject 9223372036854775807. */
13720 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13722 && LARGE_OFF_T % 2147483647 == 1)
13723 ? 1 : -1];
13724 int
13725 main ()
13726 {
13727
13728 ;
13729 return 0;
13730 }
13731 _ACEOF
13732 rm -f conftest.$ac_objext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734 (eval $ac_compile) 2>conftest.er1
13735 ac_status=$?
13736 grep -v '^ *+' conftest.er1 >conftest.err
13737 rm -f conftest.er1
13738 cat conftest.err >&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } &&
13741 { ac_try='test -z "$ac_c_werror_flag"
13742 || test ! -s conftest.err'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; } &&
13748 { ac_try='test -s conftest.$ac_objext'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13751 ac_status=$?
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; }; then
13754 break
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 fi
13760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13761 cat >conftest.$ac_ext <<_ACEOF
13762 /* confdefs.h. */
13763 _ACEOF
13764 cat confdefs.h >>conftest.$ac_ext
13765 cat >>conftest.$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13767 #define _LARGE_FILES 1
13768 #include <sys/types.h>
13769 /* Check that off_t can represent 2**63 - 1 correctly.
13770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13771 since some C++ compilers masquerading as C compilers
13772 incorrectly reject 9223372036854775807. */
13773 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13775 && LARGE_OFF_T % 2147483647 == 1)
13776 ? 1 : -1];
13777 int
13778 main ()
13779 {
13780
13781 ;
13782 return 0;
13783 }
13784 _ACEOF
13785 rm -f conftest.$ac_objext
13786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13787 (eval $ac_compile) 2>conftest.er1
13788 ac_status=$?
13789 grep -v '^ *+' conftest.er1 >conftest.err
13790 rm -f conftest.er1
13791 cat conftest.err >&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); } &&
13794 { ac_try='test -z "$ac_c_werror_flag"
13795 || test ! -s conftest.err'
13796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797 (eval $ac_try) 2>&5
13798 ac_status=$?
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); }; } &&
13801 { ac_try='test -s conftest.$ac_objext'
13802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803 (eval $ac_try) 2>&5
13804 ac_status=$?
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; }; then
13807 ac_cv_sys_large_files=1; break
13808 else
13809 echo "$as_me: failed program was:" >&5
13810 sed 's/^/| /' conftest.$ac_ext >&5
13811
13812 fi
13813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13814 break
13815 done
13816 fi
13817 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13818 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13819 if test "$ac_cv_sys_large_files" != no; then
13820
13821 cat >>confdefs.h <<_ACEOF
13822 #define _LARGE_FILES $ac_cv_sys_large_files
13823 _ACEOF
13824
13825 fi
13826 rm -f conftest*
13827 fi
13828
13829 echo "$as_me:$LINENO: checking for off_t" >&5
13830 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13831 if test "${ac_cv_type_off_t+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834 cat >conftest.$ac_ext <<_ACEOF
13835 /* confdefs.h. */
13836 _ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 $ac_includes_default
13841 int
13842 main ()
13843 {
13844 if ((off_t *) 0)
13845 return 0;
13846 if (sizeof (off_t))
13847 return 0;
13848 ;
13849 return 0;
13850 }
13851 _ACEOF
13852 rm -f conftest.$ac_objext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13854 (eval $ac_compile) 2>conftest.er1
13855 ac_status=$?
13856 grep -v '^ *+' conftest.er1 >conftest.err
13857 rm -f conftest.er1
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try='test -z "$ac_c_werror_flag"
13862 || test ! -s conftest.err'
13863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864 (eval $ac_try) 2>&5
13865 ac_status=$?
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; } &&
13868 { ac_try='test -s conftest.$ac_objext'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13871 ac_status=$?
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; }; then
13874 ac_cv_type_off_t=yes
13875 else
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13878
13879 ac_cv_type_off_t=no
13880 fi
13881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13882 fi
13883 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13884 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13885 if test $ac_cv_type_off_t = yes; then
13886 :
13887 else
13888
13889 cat >>confdefs.h <<_ACEOF
13890 #define off_t long
13891 _ACEOF
13892
13893 fi
13894
13895
13896 # check header files
13897 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13898 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13899 if test "${ac_cv_header_stdc+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 else
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <stdlib.h>
13909 #include <stdarg.h>
13910 #include <string.h>
13911 #include <float.h>
13912
13913 int
13914 main ()
13915 {
13916
13917 ;
13918 return 0;
13919 }
13920 _ACEOF
13921 rm -f conftest.$ac_objext
13922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13923 (eval $ac_compile) 2>conftest.er1
13924 ac_status=$?
13925 grep -v '^ *+' conftest.er1 >conftest.err
13926 rm -f conftest.er1
13927 cat conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); } &&
13930 { ac_try='test -z "$ac_c_werror_flag"
13931 || test ! -s conftest.err'
13932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 (eval $ac_try) 2>&5
13934 ac_status=$?
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; } &&
13937 { ac_try='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13940 ac_status=$?
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 ac_cv_header_stdc=yes
13944 else
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13947
13948 ac_cv_header_stdc=no
13949 fi
13950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13951
13952 if test $ac_cv_header_stdc = yes; then
13953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13954 cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <string.h>
13961
13962 _ACEOF
13963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13964 $EGREP "memchr" >/dev/null 2>&1; then
13965 :
13966 else
13967 ac_cv_header_stdc=no
13968 fi
13969 rm -f conftest*
13970
13971 fi
13972
13973 if test $ac_cv_header_stdc = yes; then
13974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13975 cat >conftest.$ac_ext <<_ACEOF
13976 /* confdefs.h. */
13977 _ACEOF
13978 cat confdefs.h >>conftest.$ac_ext
13979 cat >>conftest.$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 #include <stdlib.h>
13982
13983 _ACEOF
13984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13985 $EGREP "free" >/dev/null 2>&1; then
13986 :
13987 else
13988 ac_cv_header_stdc=no
13989 fi
13990 rm -f conftest*
13991
13992 fi
13993
13994 if test $ac_cv_header_stdc = yes; then
13995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13996 if test "$cross_compiling" = yes; then
13997 :
13998 else
13999 cat >conftest.$ac_ext <<_ACEOF
14000 /* confdefs.h. */
14001 _ACEOF
14002 cat confdefs.h >>conftest.$ac_ext
14003 cat >>conftest.$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14005 #include <ctype.h>
14006 #if ((' ' & 0x0FF) == 0x020)
14007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14009 #else
14010 # define ISLOWER(c) \
14011 (('a' <= (c) && (c) <= 'i') \
14012 || ('j' <= (c) && (c) <= 'r') \
14013 || ('s' <= (c) && (c) <= 'z'))
14014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14015 #endif
14016
14017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14018 int
14019 main ()
14020 {
14021 int i;
14022 for (i = 0; i < 256; i++)
14023 if (XOR (islower (i), ISLOWER (i))
14024 || toupper (i) != TOUPPER (i))
14025 exit(2);
14026 exit (0);
14027 }
14028 _ACEOF
14029 rm -f conftest$ac_exeext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14031 (eval $ac_link) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14037 ac_status=$?
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14040 :
14041 else
14042 echo "$as_me: program exited with status $ac_status" >&5
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14045
14046 ( exit $ac_status )
14047 ac_cv_header_stdc=no
14048 fi
14049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14050 fi
14051 fi
14052 fi
14053 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14054 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14055 if test $ac_cv_header_stdc = yes; then
14056
14057 cat >>confdefs.h <<\_ACEOF
14058 #define STDC_HEADERS 1
14059 _ACEOF
14060
14061 fi
14062
14063 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14064 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14065 if test "${ac_cv_header_time+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 else
14068 cat >conftest.$ac_ext <<_ACEOF
14069 /* confdefs.h. */
14070 _ACEOF
14071 cat confdefs.h >>conftest.$ac_ext
14072 cat >>conftest.$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074 #include <sys/types.h>
14075 #include <sys/time.h>
14076 #include <time.h>
14077
14078 int
14079 main ()
14080 {
14081 if ((struct tm *) 0)
14082 return 0;
14083 ;
14084 return 0;
14085 }
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_c_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_cv_header_time=yes
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 ac_cv_header_time=no
14115 fi
14116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14117 fi
14118 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14119 echo "${ECHO_T}$ac_cv_header_time" >&6
14120 if test $ac_cv_header_time = yes; then
14121
14122 cat >>confdefs.h <<\_ACEOF
14123 #define TIME_WITH_SYS_TIME 1
14124 _ACEOF
14125
14126 fi
14127
14128
14129
14130
14131
14132
14133
14134 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14135 do
14136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14138 echo "$as_me:$LINENO: checking for $ac_header" >&5
14139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 fi
14143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14145 else
14146 # Is the header compilable?
14147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14156 #include <$ac_header>
14157 _ACEOF
14158 rm -f conftest.$ac_objext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 (eval $ac_compile) 2>conftest.er1
14161 ac_status=$?
14162 grep -v '^ *+' conftest.er1 >conftest.err
14163 rm -f conftest.er1
14164 cat conftest.err >&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try='test -z "$ac_c_werror_flag"
14168 || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler=yes
14181 else
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 ac_header_compiler=no
14186 fi
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14190
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14201 _ACEOF
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14204 ac_status=$?
14205 grep -v '^ *+' conftest.er1 >conftest.err
14206 rm -f conftest.er1
14207 cat conftest.err >&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev/null; then
14210 if test -s conftest.err; then
14211 ac_cpp_err=$ac_c_preproc_warn_flag
14212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14213 else
14214 ac_cpp_err=
14215 fi
14216 else
14217 ac_cpp_err=yes
14218 fi
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14224
14225 ac_header_preproc=no
14226 fi
14227 rm -f conftest.err conftest.$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14230
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14233 yes:no: )
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc=yes
14239 ;;
14240 no:yes:* )
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14253 (
14254 cat <<\_ASBOX
14255 ## ------------------------------------------------------ ##
14256 ## Report this to the GNU Fortran Runtime Library lists. ##
14257 ## ------------------------------------------------------ ##
14258 _ASBOX
14259 ) |
14260 sed "s/^/$as_me: WARNING: /" >&2
14261 ;;
14262 esac
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 else
14268 eval "$as_ac_Header=\$ac_header_preproc"
14269 fi
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14272
14273 fi
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h <<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14277 _ACEOF
14278
14279 fi
14280
14281 done
14282
14283
14284
14285
14286
14287 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14288 do
14289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14291 echo "$as_me:$LINENO: checking for $ac_header" >&5
14292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 fi
14296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14298 else
14299 # Is the header compilable?
14300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14302 cat >conftest.$ac_ext <<_ACEOF
14303 /* confdefs.h. */
14304 _ACEOF
14305 cat confdefs.h >>conftest.$ac_ext
14306 cat >>conftest.$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 $ac_includes_default
14309 #include <$ac_header>
14310 _ACEOF
14311 rm -f conftest.$ac_objext
14312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14313 (eval $ac_compile) 2>conftest.er1
14314 ac_status=$?
14315 grep -v '^ *+' conftest.er1 >conftest.err
14316 rm -f conftest.er1
14317 cat conftest.err >&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); } &&
14320 { ac_try='test -z "$ac_c_werror_flag"
14321 || test ! -s conftest.err'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14324 ac_status=$?
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; } &&
14327 { ac_try='test -s conftest.$ac_objext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14330 ac_status=$?
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 ac_header_compiler=yes
14334 else
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.$ac_ext >&5
14337
14338 ac_header_compiler=no
14339 fi
14340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14342 echo "${ECHO_T}$ac_header_compiler" >&6
14343
14344 # Is the header present?
14345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14347 cat >conftest.$ac_ext <<_ACEOF
14348 /* confdefs.h. */
14349 _ACEOF
14350 cat confdefs.h >>conftest.$ac_ext
14351 cat >>conftest.$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 #include <$ac_header>
14354 _ACEOF
14355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14357 ac_status=$?
14358 grep -v '^ *+' conftest.er1 >conftest.err
14359 rm -f conftest.er1
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } >/dev/null; then
14363 if test -s conftest.err; then
14364 ac_cpp_err=$ac_c_preproc_warn_flag
14365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14366 else
14367 ac_cpp_err=
14368 fi
14369 else
14370 ac_cpp_err=yes
14371 fi
14372 if test -z "$ac_cpp_err"; then
14373 ac_header_preproc=yes
14374 else
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14377
14378 ac_header_preproc=no
14379 fi
14380 rm -f conftest.err conftest.$ac_ext
14381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14382 echo "${ECHO_T}$ac_header_preproc" >&6
14383
14384 # So? What about this header?
14385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14386 yes:no: )
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14391 ac_header_preproc=yes
14392 ;;
14393 no:yes:* )
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14406 (
14407 cat <<\_ASBOX
14408 ## ------------------------------------------------------ ##
14409 ## Report this to the GNU Fortran Runtime Library lists. ##
14410 ## ------------------------------------------------------ ##
14411 _ASBOX
14412 ) |
14413 sed "s/^/$as_me: WARNING: /" >&2
14414 ;;
14415 esac
14416 echo "$as_me:$LINENO: checking for $ac_header" >&5
14417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 else
14421 eval "$as_ac_Header=\$ac_header_preproc"
14422 fi
14423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14425
14426 fi
14427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14428 cat >>confdefs.h <<_ACEOF
14429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14430 _ACEOF
14431
14432 fi
14433
14434 done
14435
14436
14437
14438
14439
14440
14441 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14442 do
14443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14445 echo "$as_me:$LINENO: checking for $ac_header" >&5
14446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14449 fi
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14452 else
14453 # Is the header compilable?
14454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h. */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 $ac_includes_default
14463 #include <$ac_header>
14464 _ACEOF
14465 rm -f conftest.$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14468 ac_status=$?
14469 grep -v '^ *+' conftest.er1 >conftest.err
14470 rm -f conftest.er1
14471 cat conftest.err >&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try='test -z "$ac_c_werror_flag"
14475 || test ! -s conftest.err'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14478 ac_status=$?
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try='test -s conftest.$ac_objext'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; }; then
14487 ac_header_compiler=yes
14488 else
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.$ac_ext >&5
14491
14492 ac_header_compiler=no
14493 fi
14494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14496 echo "${ECHO_T}$ac_header_compiler" >&6
14497
14498 # Is the header present?
14499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14501 cat >conftest.$ac_ext <<_ACEOF
14502 /* confdefs.h. */
14503 _ACEOF
14504 cat confdefs.h >>conftest.$ac_ext
14505 cat >>conftest.$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14507 #include <$ac_header>
14508 _ACEOF
14509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14511 ac_status=$?
14512 grep -v '^ *+' conftest.er1 >conftest.err
14513 rm -f conftest.er1
14514 cat conftest.err >&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } >/dev/null; then
14517 if test -s conftest.err; then
14518 ac_cpp_err=$ac_c_preproc_warn_flag
14519 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14520 else
14521 ac_cpp_err=
14522 fi
14523 else
14524 ac_cpp_err=yes
14525 fi
14526 if test -z "$ac_cpp_err"; then
14527 ac_header_preproc=yes
14528 else
14529 echo "$as_me: failed program was:" >&5
14530 sed 's/^/| /' conftest.$ac_ext >&5
14531
14532 ac_header_preproc=no
14533 fi
14534 rm -f conftest.err conftest.$ac_ext
14535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14536 echo "${ECHO_T}$ac_header_preproc" >&6
14537
14538 # So? What about this header?
14539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14540 yes:no: )
14541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14545 ac_header_preproc=yes
14546 ;;
14547 no:yes:* )
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14560 (
14561 cat <<\_ASBOX
14562 ## ------------------------------------------------------ ##
14563 ## Report this to the GNU Fortran Runtime Library lists. ##
14564 ## ------------------------------------------------------ ##
14565 _ASBOX
14566 ) |
14567 sed "s/^/$as_me: WARNING: /" >&2
14568 ;;
14569 esac
14570 echo "$as_me:$LINENO: checking for $ac_header" >&5
14571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 else
14575 eval "$as_ac_Header=\$ac_header_preproc"
14576 fi
14577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14579
14580 fi
14581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14582 cat >>confdefs.h <<_ACEOF
14583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14584 _ACEOF
14585
14586 fi
14587
14588 done
14589
14590
14591
14592
14593
14594
14595 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14596 do
14597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599 echo "$as_me:$LINENO: checking for $ac_header" >&5
14600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14602 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 fi
14604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14606 else
14607 # Is the header compilable?
14608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616 $ac_includes_default
14617 #include <$ac_header>
14618 _ACEOF
14619 rm -f conftest.$ac_objext
14620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14621 (eval $ac_compile) 2>conftest.er1
14622 ac_status=$?
14623 grep -v '^ *+' conftest.er1 >conftest.err
14624 rm -f conftest.er1
14625 cat conftest.err >&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try='test -z "$ac_c_werror_flag"
14629 || test ! -s conftest.err'
14630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14631 (eval $ac_try) 2>&5
14632 ac_status=$?
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; } &&
14635 { ac_try='test -s conftest.$ac_objext'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14638 ac_status=$?
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; }; then
14641 ac_header_compiler=yes
14642 else
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14645
14646 ac_header_compiler=no
14647 fi
14648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14650 echo "${ECHO_T}$ac_header_compiler" >&6
14651
14652 # Is the header present?
14653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14655 cat >conftest.$ac_ext <<_ACEOF
14656 /* confdefs.h. */
14657 _ACEOF
14658 cat confdefs.h >>conftest.$ac_ext
14659 cat >>conftest.$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14661 #include <$ac_header>
14662 _ACEOF
14663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14665 ac_status=$?
14666 grep -v '^ *+' conftest.er1 >conftest.err
14667 rm -f conftest.er1
14668 cat conftest.err >&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } >/dev/null; then
14671 if test -s conftest.err; then
14672 ac_cpp_err=$ac_c_preproc_warn_flag
14673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14674 else
14675 ac_cpp_err=
14676 fi
14677 else
14678 ac_cpp_err=yes
14679 fi
14680 if test -z "$ac_cpp_err"; then
14681 ac_header_preproc=yes
14682 else
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14685
14686 ac_header_preproc=no
14687 fi
14688 rm -f conftest.err conftest.$ac_ext
14689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14690 echo "${ECHO_T}$ac_header_preproc" >&6
14691
14692 # So? What about this header?
14693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14694 yes:no: )
14695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14699 ac_header_preproc=yes
14700 ;;
14701 no:yes:* )
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14714 (
14715 cat <<\_ASBOX
14716 ## ------------------------------------------------------ ##
14717 ## Report this to the GNU Fortran Runtime Library lists. ##
14718 ## ------------------------------------------------------ ##
14719 _ASBOX
14720 ) |
14721 sed "s/^/$as_me: WARNING: /" >&2
14722 ;;
14723 esac
14724 echo "$as_me:$LINENO: checking for $ac_header" >&5
14725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14727 echo $ECHO_N "(cached) $ECHO_C" >&6
14728 else
14729 eval "$as_ac_Header=\$ac_header_preproc"
14730 fi
14731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14733
14734 fi
14735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14736 cat >>confdefs.h <<_ACEOF
14737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14738 _ACEOF
14739
14740 fi
14741
14742 done
14743
14744 if test "${ac_cv_header_complex_h+set}" = set; then
14745 echo "$as_me:$LINENO: checking for complex.h" >&5
14746 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14747 if test "${ac_cv_header_complex_h+set}" = set; then
14748 echo $ECHO_N "(cached) $ECHO_C" >&6
14749 fi
14750 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14751 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14752 else
14753 # Is the header compilable?
14754 echo "$as_me:$LINENO: checking complex.h usability" >&5
14755 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14763 #include <complex.h>
14764 _ACEOF
14765 rm -f conftest.$ac_objext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14767 (eval $ac_compile) 2>conftest.er1
14768 ac_status=$?
14769 grep -v '^ *+' conftest.er1 >conftest.err
14770 rm -f conftest.er1
14771 cat conftest.err >&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } &&
14774 { ac_try='test -z "$ac_c_werror_flag"
14775 || test ! -s conftest.err'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14778 ac_status=$?
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; } &&
14781 { ac_try='test -s conftest.$ac_objext'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14784 ac_status=$?
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; }; then
14787 ac_header_compiler=yes
14788 else
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14791
14792 ac_header_compiler=no
14793 fi
14794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14796 echo "${ECHO_T}$ac_header_compiler" >&6
14797
14798 # Is the header present?
14799 echo "$as_me:$LINENO: checking complex.h presence" >&5
14800 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14801 cat >conftest.$ac_ext <<_ACEOF
14802 /* confdefs.h. */
14803 _ACEOF
14804 cat confdefs.h >>conftest.$ac_ext
14805 cat >>conftest.$ac_ext <<_ACEOF
14806 /* end confdefs.h. */
14807 #include <complex.h>
14808 _ACEOF
14809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14811 ac_status=$?
14812 grep -v '^ *+' conftest.er1 >conftest.err
14813 rm -f conftest.er1
14814 cat conftest.err >&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); } >/dev/null; then
14817 if test -s conftest.err; then
14818 ac_cpp_err=$ac_c_preproc_warn_flag
14819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14820 else
14821 ac_cpp_err=
14822 fi
14823 else
14824 ac_cpp_err=yes
14825 fi
14826 if test -z "$ac_cpp_err"; then
14827 ac_header_preproc=yes
14828 else
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14831
14832 ac_header_preproc=no
14833 fi
14834 rm -f conftest.err conftest.$ac_ext
14835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14836 echo "${ECHO_T}$ac_header_preproc" >&6
14837
14838 # So? What about this header?
14839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14840 yes:no: )
14841 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14842 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14843 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14844 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14845 ac_header_preproc=yes
14846 ;;
14847 no:yes:* )
14848 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14849 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14850 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
14851 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
14852 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14853 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14854 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
14855 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
14856 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14857 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14858 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14859 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14860 (
14861 cat <<\_ASBOX
14862 ## ------------------------------------------------------ ##
14863 ## Report this to the GNU Fortran Runtime Library lists. ##
14864 ## ------------------------------------------------------ ##
14865 _ASBOX
14866 ) |
14867 sed "s/^/$as_me: WARNING: /" >&2
14868 ;;
14869 esac
14870 echo "$as_me:$LINENO: checking for complex.h" >&5
14871 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14872 if test "${ac_cv_header_complex_h+set}" = set; then
14873 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 else
14875 ac_cv_header_complex_h=$ac_header_preproc
14876 fi
14877 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14878 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14879
14880 fi
14881 if test $ac_cv_header_complex_h = yes; then
14882
14883 cat >>confdefs.h <<\_ACEOF
14884 #define HAVE_COMPLEX_H 1
14885 _ACEOF
14886
14887 fi
14888
14889
14890
14891
14892 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14893
14894 acx_cv_header_stdint=stddef.h
14895 acx_cv_header_stdint_kind="(already complete)"
14896 for i in stdint.h $inttype_headers; do
14897 unset ac_cv_type_uintptr_t
14898 unset ac_cv_type_uintmax_t
14899 unset ac_cv_type_int_least32_t
14900 unset ac_cv_type_int_fast32_t
14901 unset ac_cv_type_uint64_t
14902 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14903 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14904 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14905 if test "${ac_cv_type_uintmax_t+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 cat >conftest.$ac_ext <<_ACEOF
14909 /* confdefs.h. */
14910 _ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14914 #include <sys/types.h>
14915 #include <$i>
14916
14917 int
14918 main ()
14919 {
14920 if ((uintmax_t *) 0)
14921 return 0;
14922 if (sizeof (uintmax_t))
14923 return 0;
14924 ;
14925 return 0;
14926 }
14927 _ACEOF
14928 rm -f conftest.$ac_objext
14929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14930 (eval $ac_compile) 2>conftest.er1
14931 ac_status=$?
14932 grep -v '^ *+' conftest.er1 >conftest.err
14933 rm -f conftest.er1
14934 cat conftest.err >&5
14935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); } &&
14937 { ac_try='test -z "$ac_c_werror_flag"
14938 || test ! -s conftest.err'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14941 ac_status=$?
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; } &&
14944 { ac_try='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14947 ac_status=$?
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14950 ac_cv_type_uintmax_t=yes
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955 ac_cv_type_uintmax_t=no
14956 fi
14957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14958 fi
14959 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14960 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14961 if test $ac_cv_type_uintmax_t = yes; then
14962 acx_cv_header_stdint=$i
14963 else
14964 continue
14965 fi
14966
14967 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14968 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14969 if test "${ac_cv_type_uintptr_t+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 #include <sys/types.h>
14979 #include <$i>
14980
14981 int
14982 main ()
14983 {
14984 if ((uintptr_t *) 0)
14985 return 0;
14986 if (sizeof (uintptr_t))
14987 return 0;
14988 ;
14989 return 0;
14990 }
14991 _ACEOF
14992 rm -f conftest.$ac_objext
14993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14994 (eval $ac_compile) 2>conftest.er1
14995 ac_status=$?
14996 grep -v '^ *+' conftest.er1 >conftest.err
14997 rm -f conftest.er1
14998 cat conftest.err >&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try='test -z "$ac_c_werror_flag"
15002 || test ! -s conftest.err'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15005 ac_status=$?
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; } &&
15008 { ac_try='test -s conftest.$ac_objext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15011 ac_status=$?
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 ac_cv_type_uintptr_t=yes
15015 else
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15018
15019 ac_cv_type_uintptr_t=no
15020 fi
15021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15022 fi
15023 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15024 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15025 if test $ac_cv_type_uintptr_t = yes; then
15026 :
15027 else
15028 acx_cv_header_stdint_kind="(mostly complete)"
15029 fi
15030
15031 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15032 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15033 if test "${ac_cv_type_int_least32_t+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042 #include <sys/types.h>
15043 #include <$i>
15044
15045 int
15046 main ()
15047 {
15048 if ((int_least32_t *) 0)
15049 return 0;
15050 if (sizeof (int_least32_t))
15051 return 0;
15052 ;
15053 return 0;
15054 }
15055 _ACEOF
15056 rm -f conftest.$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058 (eval $ac_compile) 2>conftest.er1
15059 ac_status=$?
15060 grep -v '^ *+' conftest.er1 >conftest.err
15061 rm -f conftest.er1
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } &&
15065 { ac_try='test -z "$ac_c_werror_flag"
15066 || test ! -s conftest.err'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15069 ac_status=$?
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; } &&
15072 { ac_try='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15078 ac_cv_type_int_least32_t=yes
15079 else
15080 echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.$ac_ext >&5
15082
15083 ac_cv_type_int_least32_t=no
15084 fi
15085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15086 fi
15087 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15088 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15089 if test $ac_cv_type_int_least32_t = yes; then
15090 :
15091 else
15092 acx_cv_header_stdint_kind="(mostly complete)"
15093 fi
15094
15095 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15096 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15097 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 else
15100 cat >conftest.$ac_ext <<_ACEOF
15101 /* confdefs.h. */
15102 _ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15106 #include <sys/types.h>
15107 #include <$i>
15108
15109 int
15110 main ()
15111 {
15112 if ((int_fast32_t *) 0)
15113 return 0;
15114 if (sizeof (int_fast32_t))
15115 return 0;
15116 ;
15117 return 0;
15118 }
15119 _ACEOF
15120 rm -f conftest.$ac_objext
15121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15122 (eval $ac_compile) 2>conftest.er1
15123 ac_status=$?
15124 grep -v '^ *+' conftest.er1 >conftest.err
15125 rm -f conftest.er1
15126 cat conftest.err >&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } &&
15129 { ac_try='test -z "$ac_c_werror_flag"
15130 || test ! -s conftest.err'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; } &&
15136 { ac_try='test -s conftest.$ac_objext'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15139 ac_status=$?
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; }; then
15142 ac_cv_type_int_fast32_t=yes
15143 else
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.$ac_ext >&5
15146
15147 ac_cv_type_int_fast32_t=no
15148 fi
15149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15150 fi
15151 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15152 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15153 if test $ac_cv_type_int_fast32_t = yes; then
15154 :
15155 else
15156 acx_cv_header_stdint_kind="(mostly complete)"
15157 fi
15158
15159 echo "$as_me:$LINENO: checking for uint64_t" >&5
15160 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15161 if test "${ac_cv_type_uint64_t+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 cat >conftest.$ac_ext <<_ACEOF
15165 /* confdefs.h. */
15166 _ACEOF
15167 cat confdefs.h >>conftest.$ac_ext
15168 cat >>conftest.$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15170 #include <sys/types.h>
15171 #include <$i>
15172
15173 int
15174 main ()
15175 {
15176 if ((uint64_t *) 0)
15177 return 0;
15178 if (sizeof (uint64_t))
15179 return 0;
15180 ;
15181 return 0;
15182 }
15183 _ACEOF
15184 rm -f conftest.$ac_objext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15186 (eval $ac_compile) 2>conftest.er1
15187 ac_status=$?
15188 grep -v '^ *+' conftest.er1 >conftest.err
15189 rm -f conftest.er1
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } &&
15193 { ac_try='test -z "$ac_c_werror_flag"
15194 || test ! -s conftest.err'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15197 ac_status=$?
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; } &&
15200 { ac_try='test -s conftest.$ac_objext'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15203 ac_status=$?
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; }; then
15206 ac_cv_type_uint64_t=yes
15207 else
15208 echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.$ac_ext >&5
15210
15211 ac_cv_type_uint64_t=no
15212 fi
15213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15214 fi
15215 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15216 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15217 if test $ac_cv_type_uint64_t = yes; then
15218 :
15219 else
15220 acx_cv_header_stdint_kind="(lacks uint64_t)"
15221 fi
15222
15223 break
15224 done
15225 if test "$acx_cv_header_stdint" = stddef.h; then
15226 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15227 for i in stdint.h $inttype_headers; do
15228 unset ac_cv_type_uintptr_t
15229 unset ac_cv_type_uint32_t
15230 unset ac_cv_type_uint64_t
15231 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15232 echo "$as_me:$LINENO: checking for uint32_t" >&5
15233 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15234 if test "${ac_cv_type_uint32_t+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 else
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 #include <sys/types.h>
15244 #include <$i>
15245
15246 int
15247 main ()
15248 {
15249 if ((uint32_t *) 0)
15250 return 0;
15251 if (sizeof (uint32_t))
15252 return 0;
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest.$ac_objext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15259 (eval $ac_compile) 2>conftest.er1
15260 ac_status=$?
15261 grep -v '^ *+' conftest.er1 >conftest.err
15262 rm -f conftest.er1
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try='test -z "$ac_c_werror_flag"
15267 || test ! -s conftest.err'
15268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 (eval $ac_try) 2>&5
15270 ac_status=$?
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try='test -s conftest.$ac_objext'
15274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275 (eval $ac_try) 2>&5
15276 ac_status=$?
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); }; }; then
15279 ac_cv_type_uint32_t=yes
15280 else
15281 echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15283
15284 ac_cv_type_uint32_t=no
15285 fi
15286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15287 fi
15288 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15289 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15290 if test $ac_cv_type_uint32_t = yes; then
15291 acx_cv_header_stdint=$i
15292 else
15293 continue
15294 fi
15295
15296 echo "$as_me:$LINENO: checking for uint64_t" >&5
15297 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15298 if test "${ac_cv_type_uint64_t+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301 cat >conftest.$ac_ext <<_ACEOF
15302 /* confdefs.h. */
15303 _ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 #include <sys/types.h>
15308 #include <$i>
15309
15310 int
15311 main ()
15312 {
15313 if ((uint64_t *) 0)
15314 return 0;
15315 if (sizeof (uint64_t))
15316 return 0;
15317 ;
15318 return 0;
15319 }
15320 _ACEOF
15321 rm -f conftest.$ac_objext
15322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15323 (eval $ac_compile) 2>conftest.er1
15324 ac_status=$?
15325 grep -v '^ *+' conftest.er1 >conftest.err
15326 rm -f conftest.er1
15327 cat conftest.err >&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try='test -z "$ac_c_werror_flag"
15331 || test ! -s conftest.err'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15334 ac_status=$?
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; } &&
15337 { ac_try='test -s conftest.$ac_objext'
15338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339 (eval $ac_try) 2>&5
15340 ac_status=$?
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); }; }; then
15343 ac_cv_type_uint64_t=yes
15344 else
15345 echo "$as_me: failed program was:" >&5
15346 sed 's/^/| /' conftest.$ac_ext >&5
15347
15348 ac_cv_type_uint64_t=no
15349 fi
15350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15351 fi
15352 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15353 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15354
15355 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15356 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15357 if test "${ac_cv_type_uintptr_t+set}" = set; then
15358 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 else
15360 cat >conftest.$ac_ext <<_ACEOF
15361 /* confdefs.h. */
15362 _ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 #include <sys/types.h>
15367 #include <$i>
15368
15369 int
15370 main ()
15371 {
15372 if ((uintptr_t *) 0)
15373 return 0;
15374 if (sizeof (uintptr_t))
15375 return 0;
15376 ;
15377 return 0;
15378 }
15379 _ACEOF
15380 rm -f conftest.$ac_objext
15381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15382 (eval $ac_compile) 2>conftest.er1
15383 ac_status=$?
15384 grep -v '^ *+' conftest.er1 >conftest.err
15385 rm -f conftest.er1
15386 cat conftest.err >&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } &&
15389 { ac_try='test -z "$ac_c_werror_flag"
15390 || test ! -s conftest.err'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15393 ac_status=$?
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; } &&
15396 { ac_try='test -s conftest.$ac_objext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 ac_cv_type_uintptr_t=yes
15403 else
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15406
15407 ac_cv_type_uintptr_t=no
15408 fi
15409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15410 fi
15411 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15412 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15413
15414 break
15415 done
15416 fi
15417 if test "$acx_cv_header_stdint" = stddef.h; then
15418 acx_cv_header_stdint_kind="(u_intXX_t style)"
15419 for i in sys/types.h $inttype_headers; do
15420 unset ac_cv_type_u_int32_t
15421 unset ac_cv_type_u_int64_t
15422 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15423 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15424 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15425 if test "${ac_cv_type_u_int32_t+set}" = set; then
15426 echo $ECHO_N "(cached) $ECHO_C" >&6
15427 else
15428 cat >conftest.$ac_ext <<_ACEOF
15429 /* confdefs.h. */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 #include <sys/types.h>
15435 #include <$i>
15436
15437 int
15438 main ()
15439 {
15440 if ((u_int32_t *) 0)
15441 return 0;
15442 if (sizeof (u_int32_t))
15443 return 0;
15444 ;
15445 return 0;
15446 }
15447 _ACEOF
15448 rm -f conftest.$ac_objext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15450 (eval $ac_compile) 2>conftest.er1
15451 ac_status=$?
15452 grep -v '^ *+' conftest.er1 >conftest.err
15453 rm -f conftest.er1
15454 cat conftest.err >&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try='test -z "$ac_c_werror_flag"
15458 || test ! -s conftest.err'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15461 ac_status=$?
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; } &&
15464 { ac_try='test -s conftest.$ac_objext'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; }; then
15470 ac_cv_type_u_int32_t=yes
15471 else
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15474
15475 ac_cv_type_u_int32_t=no
15476 fi
15477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15478 fi
15479 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15480 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15481 if test $ac_cv_type_u_int32_t = yes; then
15482 acx_cv_header_stdint=$i
15483 else
15484 continue
15485 fi
15486
15487 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15488 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15489 if test "${ac_cv_type_u_int64_t+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 cat >conftest.$ac_ext <<_ACEOF
15493 /* confdefs.h. */
15494 _ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15498 #include <sys/types.h>
15499 #include <$i>
15500
15501 int
15502 main ()
15503 {
15504 if ((u_int64_t *) 0)
15505 return 0;
15506 if (sizeof (u_int64_t))
15507 return 0;
15508 ;
15509 return 0;
15510 }
15511 _ACEOF
15512 rm -f conftest.$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>conftest.er1
15515 ac_status=$?
15516 grep -v '^ *+' conftest.er1 >conftest.err
15517 rm -f conftest.er1
15518 cat conftest.err >&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); } &&
15521 { ac_try='test -z "$ac_c_werror_flag"
15522 || test ! -s conftest.err'
15523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524 (eval $ac_try) 2>&5
15525 ac_status=$?
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); }; } &&
15528 { ac_try='test -s conftest.$ac_objext'
15529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15530 (eval $ac_try) 2>&5
15531 ac_status=$?
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); }; }; then
15534 ac_cv_type_u_int64_t=yes
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 ac_cv_type_u_int64_t=no
15540 fi
15541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15542 fi
15543 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15544 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15545
15546 break
15547 done
15548 fi
15549 if test "$acx_cv_header_stdint" = stddef.h; then
15550 acx_cv_header_stdint_kind="(using manual detection)"
15551 fi
15552
15553 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15554 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15555 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15556 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15557 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15558
15559 # ----------------- Summarize what we found so far
15560
15561 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15562 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15563
15564 case `$as_basename gstdint.h ||
15565 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15566 Xgstdint.h : 'X\(//\)$' \| \
15567 Xgstdint.h : 'X\(/\)$' \| \
15568 . : '\(.\)' 2>/dev/null ||
15569 echo X/gstdint.h |
15570 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15571 /^X\/\(\/\/\)$/{ s//\1/; q; }
15572 /^X\/\(\/\).*/{ s//\1/; q; }
15573 s/.*/./; q'` in
15574 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15575 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15576 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15577 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15578 *) ;;
15579 esac
15580
15581 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15582 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15583
15584 # ----------------- done included file, check C basic types --------
15585
15586 # Lacking an uintptr_t? Test size of void *
15587 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15588 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15589 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15590 if test "${ac_cv_type_void_p+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 else
15593 cat >conftest.$ac_ext <<_ACEOF
15594 /* confdefs.h. */
15595 _ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15599 $ac_includes_default
15600 int
15601 main ()
15602 {
15603 if ((void * *) 0)
15604 return 0;
15605 if (sizeof (void *))
15606 return 0;
15607 ;
15608 return 0;
15609 }
15610 _ACEOF
15611 rm -f conftest.$ac_objext
15612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613 (eval $ac_compile) 2>conftest.er1
15614 ac_status=$?
15615 grep -v '^ *+' conftest.er1 >conftest.err
15616 rm -f conftest.er1
15617 cat conftest.err >&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try='test -z "$ac_c_werror_flag"
15621 || test ! -s conftest.err'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15624 ac_status=$?
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; } &&
15627 { ac_try='test -s conftest.$ac_objext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 ac_cv_type_void_p=yes
15634 else
15635 echo "$as_me: failed program was:" >&5
15636 sed 's/^/| /' conftest.$ac_ext >&5
15637
15638 ac_cv_type_void_p=no
15639 fi
15640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15641 fi
15642 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15643 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15644
15645 echo "$as_me:$LINENO: checking size of void *" >&5
15646 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15647 if test "${ac_cv_sizeof_void_p+set}" = set; then
15648 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 else
15650 if test "$ac_cv_type_void_p" = yes; then
15651 # The cast to unsigned long works around a bug in the HP C Compiler
15652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15654 # This bug is HP SR number 8606223364.
15655 if test "$cross_compiling" = yes; then
15656 # Depending upon the size, compute the lo and hi bounds.
15657 cat >conftest.$ac_ext <<_ACEOF
15658 /* confdefs.h. */
15659 _ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663 $ac_includes_default
15664 int
15665 main ()
15666 {
15667 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15668 test_array [0] = 0
15669
15670 ;
15671 return 0;
15672 }
15673 _ACEOF
15674 rm -f conftest.$ac_objext
15675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15676 (eval $ac_compile) 2>conftest.er1
15677 ac_status=$?
15678 grep -v '^ *+' conftest.er1 >conftest.err
15679 rm -f conftest.er1
15680 cat conftest.err >&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); } &&
15683 { ac_try='test -z "$ac_c_werror_flag"
15684 || test ! -s conftest.err'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15687 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15696 ac_lo=0 ac_mid=0
15697 while :; do
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 $ac_includes_default
15705 int
15706 main ()
15707 {
15708 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15709 test_array [0] = 0
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -z "$ac_c_werror_flag"
15725 || test ! -s conftest.err'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try='test -s conftest.$ac_objext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15734 ac_status=$?
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_hi=$ac_mid; break
15738 else
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15741
15742 ac_lo=`expr $ac_mid + 1`
15743 if test $ac_lo -le $ac_mid; then
15744 ac_lo= ac_hi=
15745 break
15746 fi
15747 ac_mid=`expr 2 '*' $ac_mid + 1`
15748 fi
15749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15750 done
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15754
15755 cat >conftest.$ac_ext <<_ACEOF
15756 /* confdefs.h. */
15757 _ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15761 $ac_includes_default
15762 int
15763 main ()
15764 {
15765 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15766 test_array [0] = 0
15767
15768 ;
15769 return 0;
15770 }
15771 _ACEOF
15772 rm -f conftest.$ac_objext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15774 (eval $ac_compile) 2>conftest.er1
15775 ac_status=$?
15776 grep -v '^ *+' conftest.er1 >conftest.err
15777 rm -f conftest.er1
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } &&
15781 { ac_try='test -z "$ac_c_werror_flag"
15782 || test ! -s conftest.err'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15785 ac_status=$?
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; } &&
15788 { ac_try='test -s conftest.$ac_objext'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; }; then
15794 ac_hi=-1 ac_mid=-1
15795 while :; do
15796 cat >conftest.$ac_ext <<_ACEOF
15797 /* confdefs.h. */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15803 int
15804 main ()
15805 {
15806 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15807 test_array [0] = 0
15808
15809 ;
15810 return 0;
15811 }
15812 _ACEOF
15813 rm -f conftest.$ac_objext
15814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815 (eval $ac_compile) 2>conftest.er1
15816 ac_status=$?
15817 grep -v '^ *+' conftest.er1 >conftest.err
15818 rm -f conftest.er1
15819 cat conftest.err >&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); } &&
15822 { ac_try='test -z "$ac_c_werror_flag"
15823 || test ! -s conftest.err'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15826 ac_status=$?
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; } &&
15829 { ac_try='test -s conftest.$ac_objext'
15830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831 (eval $ac_try) 2>&5
15832 ac_status=$?
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); }; }; then
15835 ac_lo=$ac_mid; break
15836 else
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.$ac_ext >&5
15839
15840 ac_hi=`expr '(' $ac_mid ')' - 1`
15841 if test $ac_mid -le $ac_hi; then
15842 ac_lo= ac_hi=
15843 break
15844 fi
15845 ac_mid=`expr 2 '*' $ac_mid`
15846 fi
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15848 done
15849 else
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 ac_lo= ac_hi=
15854 fi
15855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15856 fi
15857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15858 # Binary search between lo and hi bounds.
15859 while test "x$ac_lo" != "x$ac_hi"; do
15860 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 $ac_includes_default
15868 int
15869 main ()
15870 {
15871 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15872 test_array [0] = 0
15873
15874 ;
15875 return 0;
15876 }
15877 _ACEOF
15878 rm -f conftest.$ac_objext
15879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15880 (eval $ac_compile) 2>conftest.er1
15881 ac_status=$?
15882 grep -v '^ *+' conftest.er1 >conftest.err
15883 rm -f conftest.er1
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } &&
15887 { ac_try='test -z "$ac_c_werror_flag"
15888 || test ! -s conftest.err'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; } &&
15894 { ac_try='test -s conftest.$ac_objext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_hi=$ac_mid
15901 else
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 ac_lo=`expr '(' $ac_mid ')' + 1`
15906 fi
15907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15908 done
15909 case $ac_lo in
15910 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15912 See \`config.log' for more details." >&5
15913 echo "$as_me: error: cannot compute sizeof (void *), 77
15914 See \`config.log' for more details." >&2;}
15915 { (exit 1); exit 1; }; } ;;
15916 esac
15917 else
15918 if test "$cross_compiling" = yes; then
15919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15920 See \`config.log' for more details." >&5
15921 echo "$as_me: error: cannot run test program while cross compiling
15922 See \`config.log' for more details." >&2;}
15923 { (exit 1); exit 1; }; }
15924 else
15925 cat >conftest.$ac_ext <<_ACEOF
15926 /* confdefs.h. */
15927 _ACEOF
15928 cat confdefs.h >>conftest.$ac_ext
15929 cat >>conftest.$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 $ac_includes_default
15932 long longval () { return (long) (sizeof (void *)); }
15933 unsigned long ulongval () { return (long) (sizeof (void *)); }
15934 #include <stdio.h>
15935 #include <stdlib.h>
15936 int
15937 main ()
15938 {
15939
15940 FILE *f = fopen ("conftest.val", "w");
15941 if (! f)
15942 exit (1);
15943 if (((long) (sizeof (void *))) < 0)
15944 {
15945 long i = longval ();
15946 if (i != ((long) (sizeof (void *))))
15947 exit (1);
15948 fprintf (f, "%ld\n", i);
15949 }
15950 else
15951 {
15952 unsigned long i = ulongval ();
15953 if (i != ((long) (sizeof (void *))))
15954 exit (1);
15955 fprintf (f, "%lu\n", i);
15956 }
15957 exit (ferror (f) || fclose (f) != 0);
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest$ac_exeext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15965 (eval $ac_link) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 ac_cv_sizeof_void_p=`cat conftest.val`
15975 else
15976 echo "$as_me: program exited with status $ac_status" >&5
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.$ac_ext >&5
15979
15980 ( exit $ac_status )
15981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15982 See \`config.log' for more details." >&5
15983 echo "$as_me: error: cannot compute sizeof (void *), 77
15984 See \`config.log' for more details." >&2;}
15985 { (exit 1); exit 1; }; }
15986 fi
15987 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15988 fi
15989 fi
15990 rm -f conftest.val
15991 else
15992 ac_cv_sizeof_void_p=0
15993 fi
15994 fi
15995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15997 cat >>confdefs.h <<_ACEOF
15998 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15999 _ACEOF
16000
16001 ;;
16002 esac
16003
16004 # Lacking an uint64_t? Test size of long
16005 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16006 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16007 echo $ECHO_N "checking for long... $ECHO_C" >&6
16008 if test "${ac_cv_type_long+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16018 int
16019 main ()
16020 {
16021 if ((long *) 0)
16022 return 0;
16023 if (sizeof (long))
16024 return 0;
16025 ;
16026 return 0;
16027 }
16028 _ACEOF
16029 rm -f conftest.$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>conftest.er1
16032 ac_status=$?
16033 grep -v '^ *+' conftest.er1 >conftest.err
16034 rm -f conftest.er1
16035 cat conftest.err >&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); } &&
16038 { ac_try='test -z "$ac_c_werror_flag"
16039 || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16042 ac_status=$?
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16048 ac_status=$?
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16051 ac_cv_type_long=yes
16052 else
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16055
16056 ac_cv_type_long=no
16057 fi
16058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16059 fi
16060 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16061 echo "${ECHO_T}$ac_cv_type_long" >&6
16062
16063 echo "$as_me:$LINENO: checking size of long" >&5
16064 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16065 if test "${ac_cv_sizeof_long+set}" = set; then
16066 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 else
16068 if test "$ac_cv_type_long" = yes; then
16069 # The cast to unsigned long works around a bug in the HP C Compiler
16070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16072 # This bug is HP SR number 8606223364.
16073 if test "$cross_compiling" = yes; then
16074 # Depending upon the size, compute the lo and hi bounds.
16075 cat >conftest.$ac_ext <<_ACEOF
16076 /* confdefs.h. */
16077 _ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16081 $ac_includes_default
16082 int
16083 main ()
16084 {
16085 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16086 test_array [0] = 0
16087
16088 ;
16089 return 0;
16090 }
16091 _ACEOF
16092 rm -f conftest.$ac_objext
16093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16094 (eval $ac_compile) 2>conftest.er1
16095 ac_status=$?
16096 grep -v '^ *+' conftest.er1 >conftest.err
16097 rm -f conftest.er1
16098 cat conftest.err >&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } &&
16101 { ac_try='test -z "$ac_c_werror_flag"
16102 || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try='test -s conftest.$ac_objext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16111 ac_status=$?
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_lo=0 ac_mid=0
16115 while :; do
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 $ac_includes_default
16123 int
16124 main ()
16125 {
16126 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16127 test_array [0] = 0
16128
16129 ;
16130 return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest.$ac_objext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16135 (eval $ac_compile) 2>conftest.er1
16136 ac_status=$?
16137 grep -v '^ *+' conftest.er1 >conftest.err
16138 rm -f conftest.er1
16139 cat conftest.err >&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try='test -z "$ac_c_werror_flag"
16143 || test ! -s conftest.err'
16144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145 (eval $ac_try) 2>&5
16146 ac_status=$?
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); }; } &&
16149 { ac_try='test -s conftest.$ac_objext'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; }; then
16155 ac_hi=$ac_mid; break
16156 else
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16159
16160 ac_lo=`expr $ac_mid + 1`
16161 if test $ac_lo -le $ac_mid; then
16162 ac_lo= ac_hi=
16163 break
16164 fi
16165 ac_mid=`expr 2 '*' $ac_mid + 1`
16166 fi
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16168 done
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173 cat >conftest.$ac_ext <<_ACEOF
16174 /* confdefs.h. */
16175 _ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16180 int
16181 main ()
16182 {
16183 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16184 test_array [0] = 0
16185
16186 ;
16187 return 0;
16188 }
16189 _ACEOF
16190 rm -f conftest.$ac_objext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16192 (eval $ac_compile) 2>conftest.er1
16193 ac_status=$?
16194 grep -v '^ *+' conftest.er1 >conftest.err
16195 rm -f conftest.er1
16196 cat conftest.err >&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try='test -z "$ac_c_werror_flag"
16200 || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_hi=-1 ac_mid=-1
16213 while :; do
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 $ac_includes_default
16221 int
16222 main ()
16223 {
16224 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16225 test_array [0] = 0
16226
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>conftest.er1
16234 ac_status=$?
16235 grep -v '^ *+' conftest.er1 >conftest.err
16236 rm -f conftest.er1
16237 cat conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try='test -z "$ac_c_werror_flag"
16241 || test ! -s conftest.err'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 ac_lo=$ac_mid; break
16254 else
16255 echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16257
16258 ac_hi=`expr '(' $ac_mid ')' - 1`
16259 if test $ac_mid -le $ac_hi; then
16260 ac_lo= ac_hi=
16261 break
16262 fi
16263 ac_mid=`expr 2 '*' $ac_mid`
16264 fi
16265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16266 done
16267 else
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 ac_lo= ac_hi=
16272 fi
16273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16274 fi
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16276 # Binary search between lo and hi bounds.
16277 while test "x$ac_lo" != "x$ac_hi"; do
16278 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 $ac_includes_default
16286 int
16287 main ()
16288 {
16289 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16290 test_array [0] = 0
16291
16292 ;
16293 return 0;
16294 }
16295 _ACEOF
16296 rm -f conftest.$ac_objext
16297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16298 (eval $ac_compile) 2>conftest.er1
16299 ac_status=$?
16300 grep -v '^ *+' conftest.er1 >conftest.err
16301 rm -f conftest.er1
16302 cat conftest.err >&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } &&
16305 { ac_try='test -z "$ac_c_werror_flag"
16306 || test ! -s conftest.err'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; } &&
16312 { ac_try='test -s conftest.$ac_objext'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; }; then
16318 ac_hi=$ac_mid
16319 else
16320 echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16322
16323 ac_lo=`expr '(' $ac_mid ')' + 1`
16324 fi
16325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16326 done
16327 case $ac_lo in
16328 ?*) ac_cv_sizeof_long=$ac_lo;;
16329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16330 See \`config.log' for more details." >&5
16331 echo "$as_me: error: cannot compute sizeof (long), 77
16332 See \`config.log' for more details." >&2;}
16333 { (exit 1); exit 1; }; } ;;
16334 esac
16335 else
16336 if test "$cross_compiling" = yes; then
16337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16338 See \`config.log' for more details." >&5
16339 echo "$as_me: error: cannot run test program while cross compiling
16340 See \`config.log' for more details." >&2;}
16341 { (exit 1); exit 1; }; }
16342 else
16343 cat >conftest.$ac_ext <<_ACEOF
16344 /* confdefs.h. */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16349 $ac_includes_default
16350 long longval () { return (long) (sizeof (long)); }
16351 unsigned long ulongval () { return (long) (sizeof (long)); }
16352 #include <stdio.h>
16353 #include <stdlib.h>
16354 int
16355 main ()
16356 {
16357
16358 FILE *f = fopen ("conftest.val", "w");
16359 if (! f)
16360 exit (1);
16361 if (((long) (sizeof (long))) < 0)
16362 {
16363 long i = longval ();
16364 if (i != ((long) (sizeof (long))))
16365 exit (1);
16366 fprintf (f, "%ld\n", i);
16367 }
16368 else
16369 {
16370 unsigned long i = ulongval ();
16371 if (i != ((long) (sizeof (long))))
16372 exit (1);
16373 fprintf (f, "%lu\n", i);
16374 }
16375 exit (ferror (f) || fclose (f) != 0);
16376
16377 ;
16378 return 0;
16379 }
16380 _ACEOF
16381 rm -f conftest$ac_exeext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16383 (eval $ac_link) 2>&5
16384 ac_status=$?
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_sizeof_long=`cat conftest.val`
16393 else
16394 echo "$as_me: program exited with status $ac_status" >&5
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.$ac_ext >&5
16397
16398 ( exit $ac_status )
16399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16400 See \`config.log' for more details." >&5
16401 echo "$as_me: error: cannot compute sizeof (long), 77
16402 See \`config.log' for more details." >&2;}
16403 { (exit 1); exit 1; }; }
16404 fi
16405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16406 fi
16407 fi
16408 rm -f conftest.val
16409 else
16410 ac_cv_sizeof_long=0
16411 fi
16412 fi
16413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16414 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16415 cat >>confdefs.h <<_ACEOF
16416 #define SIZEOF_LONG $ac_cv_sizeof_long
16417 _ACEOF
16418
16419 ;;
16420 esac
16421
16422 if test $acx_cv_header_stdint = stddef.h; then
16423 # Lacking a good header? Test size of everything and deduce all types.
16424 echo "$as_me:$LINENO: checking for int" >&5
16425 echo $ECHO_N "checking for int... $ECHO_C" >&6
16426 if test "${ac_cv_type_int+set}" = set; then
16427 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 else
16429 cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h. */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435 $ac_includes_default
16436 int
16437 main ()
16438 {
16439 if ((int *) 0)
16440 return 0;
16441 if (sizeof (int))
16442 return 0;
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>conftest.er1
16450 ac_status=$?
16451 grep -v '^ *+' conftest.er1 >conftest.err
16452 rm -f conftest.er1
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try='test -z "$ac_c_werror_flag"
16457 || test ! -s conftest.err'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } &&
16463 { ac_try='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_cv_type_int=yes
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 ac_cv_type_int=no
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 fi
16478 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16479 echo "${ECHO_T}$ac_cv_type_int" >&6
16480
16481 echo "$as_me:$LINENO: checking size of int" >&5
16482 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16483 if test "${ac_cv_sizeof_int+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 else
16486 if test "$ac_cv_type_int" = yes; then
16487 # The cast to unsigned long works around a bug in the HP C Compiler
16488 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16489 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16490 # This bug is HP SR number 8606223364.
16491 if test "$cross_compiling" = yes; then
16492 # Depending upon the size, compute the lo and hi bounds.
16493 cat >conftest.$ac_ext <<_ACEOF
16494 /* confdefs.h. */
16495 _ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16499 $ac_includes_default
16500 int
16501 main ()
16502 {
16503 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16504 test_array [0] = 0
16505
16506 ;
16507 return 0;
16508 }
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512 (eval $ac_compile) 2>conftest.er1
16513 ac_status=$?
16514 grep -v '^ *+' conftest.er1 >conftest.err
16515 rm -f conftest.er1
16516 cat conftest.err >&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } &&
16519 { ac_try='test -z "$ac_c_werror_flag"
16520 || test ! -s conftest.err'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; } &&
16526 { ac_try='test -s conftest.$ac_objext'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; }; then
16532 ac_lo=0 ac_mid=0
16533 while :; do
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16541 int
16542 main ()
16543 {
16544 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16545 test_array [0] = 0
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16554 ac_status=$?
16555 grep -v '^ *+' conftest.er1 >conftest.err
16556 rm -f conftest.er1
16557 cat conftest.err >&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try='test -z "$ac_c_werror_flag"
16561 || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try='test -s conftest.$ac_objext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16570 ac_status=$?
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16573 ac_hi=$ac_mid; break
16574 else
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16577
16578 ac_lo=`expr $ac_mid + 1`
16579 if test $ac_lo -le $ac_mid; then
16580 ac_lo= ac_hi=
16581 break
16582 fi
16583 ac_mid=`expr 2 '*' $ac_mid + 1`
16584 fi
16585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16586 done
16587 else
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16590
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h. */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 $ac_includes_default
16598 int
16599 main ()
16600 {
16601 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16602 test_array [0] = 0
16603
16604 ;
16605 return 0;
16606 }
16607 _ACEOF
16608 rm -f conftest.$ac_objext
16609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16610 (eval $ac_compile) 2>conftest.er1
16611 ac_status=$?
16612 grep -v '^ *+' conftest.er1 >conftest.err
16613 rm -f conftest.er1
16614 cat conftest.err >&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } &&
16617 { ac_try='test -z "$ac_c_werror_flag"
16618 || test ! -s conftest.err'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; } &&
16624 { ac_try='test -s conftest.$ac_objext'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16630 ac_hi=-1 ac_mid=-1
16631 while :; do
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h. */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 $ac_includes_default
16639 int
16640 main ()
16641 {
16642 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16643 test_array [0] = 0
16644
16645 ;
16646 return 0;
16647 }
16648 _ACEOF
16649 rm -f conftest.$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16652 ac_status=$?
16653 grep -v '^ *+' conftest.er1 >conftest.err
16654 rm -f conftest.er1
16655 cat conftest.err >&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try='test -z "$ac_c_werror_flag"
16659 || test ! -s conftest.err'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; } &&
16665 { ac_try='test -s conftest.$ac_objext'
16666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667 (eval $ac_try) 2>&5
16668 ac_status=$?
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); }; }; then
16671 ac_lo=$ac_mid; break
16672 else
16673 echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.$ac_ext >&5
16675
16676 ac_hi=`expr '(' $ac_mid ')' - 1`
16677 if test $ac_mid -le $ac_hi; then
16678 ac_lo= ac_hi=
16679 break
16680 fi
16681 ac_mid=`expr 2 '*' $ac_mid`
16682 fi
16683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16684 done
16685 else
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16688
16689 ac_lo= ac_hi=
16690 fi
16691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16692 fi
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16694 # Binary search between lo and hi bounds.
16695 while test "x$ac_lo" != "x$ac_hi"; do
16696 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16697 cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h. */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 $ac_includes_default
16704 int
16705 main ()
16706 {
16707 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16708 test_array [0] = 0
16709
16710 ;
16711 return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try='test -z "$ac_c_werror_flag"
16724 || test ! -s conftest.err'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; } &&
16730 { ac_try='test -s conftest.$ac_objext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_hi=$ac_mid
16737 else
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16740
16741 ac_lo=`expr '(' $ac_mid ')' + 1`
16742 fi
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16744 done
16745 case $ac_lo in
16746 ?*) ac_cv_sizeof_int=$ac_lo;;
16747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16748 See \`config.log' for more details." >&5
16749 echo "$as_me: error: cannot compute sizeof (int), 77
16750 See \`config.log' for more details." >&2;}
16751 { (exit 1); exit 1; }; } ;;
16752 esac
16753 else
16754 if test "$cross_compiling" = yes; then
16755 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16756 See \`config.log' for more details." >&5
16757 echo "$as_me: error: cannot run test program while cross compiling
16758 See \`config.log' for more details." >&2;}
16759 { (exit 1); exit 1; }; }
16760 else
16761 cat >conftest.$ac_ext <<_ACEOF
16762 /* confdefs.h. */
16763 _ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 long longval () { return (long) (sizeof (int)); }
16769 unsigned long ulongval () { return (long) (sizeof (int)); }
16770 #include <stdio.h>
16771 #include <stdlib.h>
16772 int
16773 main ()
16774 {
16775
16776 FILE *f = fopen ("conftest.val", "w");
16777 if (! f)
16778 exit (1);
16779 if (((long) (sizeof (int))) < 0)
16780 {
16781 long i = longval ();
16782 if (i != ((long) (sizeof (int))))
16783 exit (1);
16784 fprintf (f, "%ld\n", i);
16785 }
16786 else
16787 {
16788 unsigned long i = ulongval ();
16789 if (i != ((long) (sizeof (int))))
16790 exit (1);
16791 fprintf (f, "%lu\n", i);
16792 }
16793 exit (ferror (f) || fclose (f) != 0);
16794
16795 ;
16796 return 0;
16797 }
16798 _ACEOF
16799 rm -f conftest$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801 (eval $ac_link) 2>&5
16802 ac_status=$?
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16807 ac_status=$?
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_cv_sizeof_int=`cat conftest.val`
16811 else
16812 echo "$as_me: program exited with status $ac_status" >&5
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16815
16816 ( exit $ac_status )
16817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16818 See \`config.log' for more details." >&5
16819 echo "$as_me: error: cannot compute sizeof (int), 77
16820 See \`config.log' for more details." >&2;}
16821 { (exit 1); exit 1; }; }
16822 fi
16823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16824 fi
16825 fi
16826 rm -f conftest.val
16827 else
16828 ac_cv_sizeof_int=0
16829 fi
16830 fi
16831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16832 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16833 cat >>confdefs.h <<_ACEOF
16834 #define SIZEOF_INT $ac_cv_sizeof_int
16835 _ACEOF
16836
16837
16838 echo "$as_me:$LINENO: checking for short" >&5
16839 echo $ECHO_N "checking for short... $ECHO_C" >&6
16840 if test "${ac_cv_type_short+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16842 else
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 $ac_includes_default
16850 int
16851 main ()
16852 {
16853 if ((short *) 0)
16854 return 0;
16855 if (sizeof (short))
16856 return 0;
16857 ;
16858 return 0;
16859 }
16860 _ACEOF
16861 rm -f conftest.$ac_objext
16862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16863 (eval $ac_compile) 2>conftest.er1
16864 ac_status=$?
16865 grep -v '^ *+' conftest.er1 >conftest.err
16866 rm -f conftest.er1
16867 cat conftest.err >&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } &&
16870 { ac_try='test -z "$ac_c_werror_flag"
16871 || test ! -s conftest.err'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16874 ac_status=$?
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; } &&
16877 { ac_try='test -s conftest.$ac_objext'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16880 ac_status=$?
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16883 ac_cv_type_short=yes
16884 else
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.$ac_ext >&5
16887
16888 ac_cv_type_short=no
16889 fi
16890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16891 fi
16892 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16893 echo "${ECHO_T}$ac_cv_type_short" >&6
16894
16895 echo "$as_me:$LINENO: checking size of short" >&5
16896 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16897 if test "${ac_cv_sizeof_short+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 if test "$ac_cv_type_short" = yes; then
16901 # The cast to unsigned long works around a bug in the HP C Compiler
16902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16904 # This bug is HP SR number 8606223364.
16905 if test "$cross_compiling" = yes; then
16906 # Depending upon the size, compute the lo and hi bounds.
16907 cat >conftest.$ac_ext <<_ACEOF
16908 /* confdefs.h. */
16909 _ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16913 $ac_includes_default
16914 int
16915 main ()
16916 {
16917 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16918 test_array [0] = 0
16919
16920 ;
16921 return 0;
16922 }
16923 _ACEOF
16924 rm -f conftest.$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>conftest.er1
16927 ac_status=$?
16928 grep -v '^ *+' conftest.er1 >conftest.err
16929 rm -f conftest.er1
16930 cat conftest.err >&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } &&
16933 { ac_try='test -z "$ac_c_werror_flag"
16934 || test ! -s conftest.err'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16937 ac_status=$?
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; } &&
16940 { ac_try='test -s conftest.$ac_objext'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16943 ac_status=$?
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; }; then
16946 ac_lo=0 ac_mid=0
16947 while :; do
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16955 int
16956 main ()
16957 {
16958 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16959 test_array [0] = 0
16960
16961 ;
16962 return 0;
16963 }
16964 _ACEOF
16965 rm -f conftest.$ac_objext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16967 (eval $ac_compile) 2>conftest.er1
16968 ac_status=$?
16969 grep -v '^ *+' conftest.er1 >conftest.err
16970 rm -f conftest.er1
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } &&
16974 { ac_try='test -z "$ac_c_werror_flag"
16975 || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16978 ac_status=$?
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16984 ac_status=$?
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_hi=$ac_mid; break
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 ac_lo=`expr $ac_mid + 1`
16993 if test $ac_lo -le $ac_mid; then
16994 ac_lo= ac_hi=
16995 break
16996 fi
16997 ac_mid=`expr 2 '*' $ac_mid + 1`
16998 fi
16999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17000 done
17001 else
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17004
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 int
17013 main ()
17014 {
17015 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17016 test_array [0] = 0
17017
17018 ;
17019 return 0;
17020 }
17021 _ACEOF
17022 rm -f conftest.$ac_objext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17024 (eval $ac_compile) 2>conftest.er1
17025 ac_status=$?
17026 grep -v '^ *+' conftest.er1 >conftest.err
17027 rm -f conftest.er1
17028 cat conftest.err >&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try='test -z "$ac_c_werror_flag"
17032 || test ! -s conftest.err'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17035 ac_status=$?
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try='test -s conftest.$ac_objext'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17041 ac_status=$?
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17044 ac_hi=-1 ac_mid=-1
17045 while :; do
17046 cat >conftest.$ac_ext <<_ACEOF
17047 /* confdefs.h. */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 $ac_includes_default
17053 int
17054 main ()
17055 {
17056 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17057 test_array [0] = 0
17058
17059 ;
17060 return 0;
17061 }
17062 _ACEOF
17063 rm -f conftest.$ac_objext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17065 (eval $ac_compile) 2>conftest.er1
17066 ac_status=$?
17067 grep -v '^ *+' conftest.er1 >conftest.err
17068 rm -f conftest.er1
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } &&
17072 { ac_try='test -z "$ac_c_werror_flag"
17073 || test ! -s conftest.err'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_lo=$ac_mid; break
17086 else
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 ac_hi=`expr '(' $ac_mid ')' - 1`
17091 if test $ac_mid -le $ac_hi; then
17092 ac_lo= ac_hi=
17093 break
17094 fi
17095 ac_mid=`expr 2 '*' $ac_mid`
17096 fi
17097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17098 done
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 ac_lo= ac_hi=
17104 fi
17105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 fi
17107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17108 # Binary search between lo and hi bounds.
17109 while test "x$ac_lo" != "x$ac_hi"; do
17110 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17111 cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 $ac_includes_default
17118 int
17119 main ()
17120 {
17121 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17122 test_array [0] = 0
17123
17124 ;
17125 return 0;
17126 }
17127 _ACEOF
17128 rm -f conftest.$ac_objext
17129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17130 (eval $ac_compile) 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } &&
17137 { ac_try='test -z "$ac_c_werror_flag"
17138 || test ! -s conftest.err'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; } &&
17144 { ac_try='test -s conftest.$ac_objext'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17147 ac_status=$?
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; }; then
17150 ac_hi=$ac_mid
17151 else
17152 echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.$ac_ext >&5
17154
17155 ac_lo=`expr '(' $ac_mid ')' + 1`
17156 fi
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17158 done
17159 case $ac_lo in
17160 ?*) ac_cv_sizeof_short=$ac_lo;;
17161 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17162 See \`config.log' for more details." >&5
17163 echo "$as_me: error: cannot compute sizeof (short), 77
17164 See \`config.log' for more details." >&2;}
17165 { (exit 1); exit 1; }; } ;;
17166 esac
17167 else
17168 if test "$cross_compiling" = yes; then
17169 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17170 See \`config.log' for more details." >&5
17171 echo "$as_me: error: cannot run test program while cross compiling
17172 See \`config.log' for more details." >&2;}
17173 { (exit 1); exit 1; }; }
17174 else
17175 cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 $ac_includes_default
17182 long longval () { return (long) (sizeof (short)); }
17183 unsigned long ulongval () { return (long) (sizeof (short)); }
17184 #include <stdio.h>
17185 #include <stdlib.h>
17186 int
17187 main ()
17188 {
17189
17190 FILE *f = fopen ("conftest.val", "w");
17191 if (! f)
17192 exit (1);
17193 if (((long) (sizeof (short))) < 0)
17194 {
17195 long i = longval ();
17196 if (i != ((long) (sizeof (short))))
17197 exit (1);
17198 fprintf (f, "%ld\n", i);
17199 }
17200 else
17201 {
17202 unsigned long i = ulongval ();
17203 if (i != ((long) (sizeof (short))))
17204 exit (1);
17205 fprintf (f, "%lu\n", i);
17206 }
17207 exit (ferror (f) || fclose (f) != 0);
17208
17209 ;
17210 return 0;
17211 }
17212 _ACEOF
17213 rm -f conftest$ac_exeext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17215 (eval $ac_link) 2>&5
17216 ac_status=$?
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_cv_sizeof_short=`cat conftest.val`
17225 else
17226 echo "$as_me: program exited with status $ac_status" >&5
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.$ac_ext >&5
17229
17230 ( exit $ac_status )
17231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17232 See \`config.log' for more details." >&5
17233 echo "$as_me: error: cannot compute sizeof (short), 77
17234 See \`config.log' for more details." >&2;}
17235 { (exit 1); exit 1; }; }
17236 fi
17237 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17238 fi
17239 fi
17240 rm -f conftest.val
17241 else
17242 ac_cv_sizeof_short=0
17243 fi
17244 fi
17245 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17246 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17247 cat >>confdefs.h <<_ACEOF
17248 #define SIZEOF_SHORT $ac_cv_sizeof_short
17249 _ACEOF
17250
17251
17252 echo "$as_me:$LINENO: checking for char" >&5
17253 echo $ECHO_N "checking for char... $ECHO_C" >&6
17254 if test "${ac_cv_type_char+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 else
17257 cat >conftest.$ac_ext <<_ACEOF
17258 /* confdefs.h. */
17259 _ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17263 $ac_includes_default
17264 int
17265 main ()
17266 {
17267 if ((char *) 0)
17268 return 0;
17269 if (sizeof (char))
17270 return 0;
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17278 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17288 ac_status=$?
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_cv_type_char=yes
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 ac_cv_type_char=no
17303 fi
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17305 fi
17306 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17307 echo "${ECHO_T}$ac_cv_type_char" >&6
17308
17309 echo "$as_me:$LINENO: checking size of char" >&5
17310 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17311 if test "${ac_cv_sizeof_char+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314 if test "$ac_cv_type_char" = yes; then
17315 # The cast to unsigned long works around a bug in the HP C Compiler
17316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17318 # This bug is HP SR number 8606223364.
17319 if test "$cross_compiling" = yes; then
17320 # Depending upon the size, compute the lo and hi bounds.
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17328 int
17329 main ()
17330 {
17331 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17332 test_array [0] = 0
17333
17334 ;
17335 return 0;
17336 }
17337 _ACEOF
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_c_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_lo=0 ac_mid=0
17361 while :; do
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 $ac_includes_default
17369 int
17370 main ()
17371 {
17372 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17373 test_array [0] = 0
17374
17375 ;
17376 return 0;
17377 }
17378 _ACEOF
17379 rm -f conftest.$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381 (eval $ac_compile) 2>conftest.er1
17382 ac_status=$?
17383 grep -v '^ *+' conftest.er1 >conftest.err
17384 rm -f conftest.er1
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try='test -s conftest.$ac_objext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 ac_hi=$ac_mid; break
17402 else
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ac_lo=`expr $ac_mid + 1`
17407 if test $ac_lo -le $ac_mid; then
17408 ac_lo= ac_hi=
17409 break
17410 fi
17411 ac_mid=`expr 2 '*' $ac_mid + 1`
17412 fi
17413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17414 done
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17418
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17426 int
17427 main ()
17428 {
17429 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17430 test_array [0] = 0
17431
17432 ;
17433 return 0;
17434 }
17435 _ACEOF
17436 rm -f conftest.$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>conftest.er1
17439 ac_status=$?
17440 grep -v '^ *+' conftest.er1 >conftest.err
17441 rm -f conftest.er1
17442 cat conftest.err >&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try='test -z "$ac_c_werror_flag"
17446 || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_hi=-1 ac_mid=-1
17459 while :; do
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 $ac_includes_default
17467 int
17468 main ()
17469 {
17470 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17471 test_array [0] = 0
17472
17473 ;
17474 return 0;
17475 }
17476 _ACEOF
17477 rm -f conftest.$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479 (eval $ac_compile) 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try='test -z "$ac_c_werror_flag"
17487 || test ! -s conftest.err'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499 ac_lo=$ac_mid; break
17500 else
17501 echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17503
17504 ac_hi=`expr '(' $ac_mid ')' - 1`
17505 if test $ac_mid -le $ac_hi; then
17506 ac_lo= ac_hi=
17507 break
17508 fi
17509 ac_mid=`expr 2 '*' $ac_mid`
17510 fi
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512 done
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ac_lo= ac_hi=
17518 fi
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17520 fi
17521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17522 # Binary search between lo and hi bounds.
17523 while test "x$ac_lo" != "x$ac_hi"; do
17524 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17525 cat >conftest.$ac_ext <<_ACEOF
17526 /* confdefs.h. */
17527 _ACEOF
17528 cat confdefs.h >>conftest.$ac_ext
17529 cat >>conftest.$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 $ac_includes_default
17532 int
17533 main ()
17534 {
17535 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17536 test_array [0] = 0
17537
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try='test -s conftest.$ac_objext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 ac_hi=$ac_mid
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 ac_lo=`expr '(' $ac_mid ')' + 1`
17570 fi
17571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17572 done
17573 case $ac_lo in
17574 ?*) ac_cv_sizeof_char=$ac_lo;;
17575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot compute sizeof (char), 77
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; } ;;
17580 esac
17581 else
17582 if test "$cross_compiling" = yes; then
17583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot run test program while cross compiling
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; }
17588 else
17589 cat >conftest.$ac_ext <<_ACEOF
17590 /* confdefs.h. */
17591 _ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 $ac_includes_default
17596 long longval () { return (long) (sizeof (char)); }
17597 unsigned long ulongval () { return (long) (sizeof (char)); }
17598 #include <stdio.h>
17599 #include <stdlib.h>
17600 int
17601 main ()
17602 {
17603
17604 FILE *f = fopen ("conftest.val", "w");
17605 if (! f)
17606 exit (1);
17607 if (((long) (sizeof (char))) < 0)
17608 {
17609 long i = longval ();
17610 if (i != ((long) (sizeof (char))))
17611 exit (1);
17612 fprintf (f, "%ld\n", i);
17613 }
17614 else
17615 {
17616 unsigned long i = ulongval ();
17617 if (i != ((long) (sizeof (char))))
17618 exit (1);
17619 fprintf (f, "%lu\n", i);
17620 }
17621 exit (ferror (f) || fclose (f) != 0);
17622
17623 ;
17624 return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629 (eval $ac_link) 2>&5
17630 ac_status=$?
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17635 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17638 ac_cv_sizeof_char=`cat conftest.val`
17639 else
17640 echo "$as_me: program exited with status $ac_status" >&5
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 ( exit $ac_status )
17645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17646 See \`config.log' for more details." >&5
17647 echo "$as_me: error: cannot compute sizeof (char), 77
17648 See \`config.log' for more details." >&2;}
17649 { (exit 1); exit 1; }; }
17650 fi
17651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17652 fi
17653 fi
17654 rm -f conftest.val
17655 else
17656 ac_cv_sizeof_char=0
17657 fi
17658 fi
17659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17660 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17661 cat >>confdefs.h <<_ACEOF
17662 #define SIZEOF_CHAR $ac_cv_sizeof_char
17663 _ACEOF
17664
17665
17666
17667 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17668 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17669 case "$ac_cv_sizeof_char" in
17670 1) acx_cv_type_int8_t=char ;;
17671 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17672 echo "$as_me: error: no 8-bit type" >&2;}
17673 { (exit please report a bug); exit please report a bug; }; }
17674 esac
17675 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17676 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17677
17678 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17679 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17680 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17681 2:*) acx_cv_type_int16_t=int ;;
17682 *:2) acx_cv_type_int16_t=short ;;
17683 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17684 echo "$as_me: error: no 16-bit type" >&2;}
17685 { (exit please report a bug); exit please report a bug; }; }
17686 esac
17687 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17688 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17689
17690 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17691 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17692 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17693 4:*) acx_cv_type_int32_t=int ;;
17694 *:4) acx_cv_type_int32_t=long ;;
17695 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17696 echo "$as_me: error: no 32-bit type" >&2;}
17697 { (exit please report a bug); exit please report a bug; }; }
17698 esac
17699 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17700 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17701 fi
17702
17703 # These tests are here to make the output prettier
17704
17705 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17706 case "$ac_cv_sizeof_long" in
17707 8) acx_cv_type_int64_t=long ;;
17708 esac
17709 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17710 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17711 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17712 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17713 fi
17714
17715 # Now we can use the above types
17716
17717 if test "$ac_cv_type_uintptr_t" != yes; then
17718 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17719 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17720 case $ac_cv_sizeof_void_p in
17721 2) acx_cv_type_intptr_t=int16_t ;;
17722 4) acx_cv_type_intptr_t=int32_t ;;
17723 8) acx_cv_type_intptr_t=int64_t ;;
17724 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17725 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17726 { (exit please report a bug); exit please report a bug; }; }
17727 esac
17728 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17729 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17730 fi
17731
17732 # ----------------- done all checks, emit header -------------
17733 ac_config_commands="$ac_config_commands gstdint.h"
17734
17735
17736
17737
17738 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17739 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17740 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17742 else
17743 cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17750 int
17751 main ()
17752 {
17753 static struct stat ac_aggr;
17754 if (ac_aggr.st_blksize)
17755 return 0;
17756 ;
17757 return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try='test -z "$ac_c_werror_flag"
17770 || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17782 ac_cv_member_struct_stat_st_blksize=yes
17783 else
17784 echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.$ac_ext >&5
17786
17787 cat >conftest.$ac_ext <<_ACEOF
17788 /* confdefs.h. */
17789 _ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793 $ac_includes_default
17794 int
17795 main ()
17796 {
17797 static struct stat ac_aggr;
17798 if (sizeof ac_aggr.st_blksize)
17799 return 0;
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try='test -z "$ac_c_werror_flag"
17814 || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17817 ac_status=$?
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_member_struct_stat_st_blksize=yes
17827 else
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17830
17831 ac_cv_member_struct_stat_st_blksize=no
17832 fi
17833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17834 fi
17835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 fi
17837 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17838 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17839 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17840
17841 cat >>confdefs.h <<_ACEOF
17842 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17843 _ACEOF
17844
17845
17846 fi
17847
17848 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17849 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17850 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 else
17853 cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h. */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 $ac_includes_default
17860 int
17861 main ()
17862 {
17863 static struct stat ac_aggr;
17864 if (ac_aggr.st_blocks)
17865 return 0;
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17872 (eval $ac_compile) 2>conftest.er1
17873 ac_status=$?
17874 grep -v '^ *+' conftest.er1 >conftest.err
17875 rm -f conftest.er1
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } &&
17879 { ac_try='test -z "$ac_c_werror_flag"
17880 || test ! -s conftest.err'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17883 ac_status=$?
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; } &&
17886 { ac_try='test -s conftest.$ac_objext'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17889 ac_status=$?
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17892 ac_cv_member_struct_stat_st_blocks=yes
17893 else
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17896
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h. */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 $ac_includes_default
17904 int
17905 main ()
17906 {
17907 static struct stat ac_aggr;
17908 if (sizeof ac_aggr.st_blocks)
17909 return 0;
17910 ;
17911 return 0;
17912 }
17913 _ACEOF
17914 rm -f conftest.$ac_objext
17915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17916 (eval $ac_compile) 2>conftest.er1
17917 ac_status=$?
17918 grep -v '^ *+' conftest.er1 >conftest.err
17919 rm -f conftest.er1
17920 cat conftest.err >&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } &&
17923 { ac_try='test -z "$ac_c_werror_flag"
17924 || test ! -s conftest.err'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; } &&
17930 { ac_try='test -s conftest.$ac_objext'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17933 ac_status=$?
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; }; then
17936 ac_cv_member_struct_stat_st_blocks=yes
17937 else
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17940
17941 ac_cv_member_struct_stat_st_blocks=no
17942 fi
17943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17944 fi
17945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17946 fi
17947 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17948 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17949 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17950
17951 cat >>confdefs.h <<_ACEOF
17952 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17953 _ACEOF
17954
17955
17956 fi
17957
17958 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17959 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17960 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970 int
17971 main ()
17972 {
17973 static struct stat ac_aggr;
17974 if (ac_aggr.st_rdev)
17975 return 0;
17976 ;
17977 return 0;
17978 }
17979 _ACEOF
17980 rm -f conftest.$ac_objext
17981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17982 (eval $ac_compile) 2>conftest.er1
17983 ac_status=$?
17984 grep -v '^ *+' conftest.er1 >conftest.err
17985 rm -f conftest.er1
17986 cat conftest.err >&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } &&
17989 { ac_try='test -z "$ac_c_werror_flag"
17990 || test ! -s conftest.err'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17993 ac_status=$?
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; } &&
17996 { ac_try='test -s conftest.$ac_objext'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; }; then
18002 ac_cv_member_struct_stat_st_rdev=yes
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 $ac_includes_default
18014 int
18015 main ()
18016 {
18017 static struct stat ac_aggr;
18018 if (sizeof ac_aggr.st_rdev)
18019 return 0;
18020 ;
18021 return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18026 (eval $ac_compile) 2>conftest.er1
18027 ac_status=$?
18028 grep -v '^ *+' conftest.er1 >conftest.err
18029 rm -f conftest.er1
18030 cat conftest.err >&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); } &&
18033 { ac_try='test -z "$ac_c_werror_flag"
18034 || test ! -s conftest.err'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036 (eval $ac_try) 2>&5
18037 ac_status=$?
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }; } &&
18040 { ac_try='test -s conftest.$ac_objext'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18043 ac_status=$?
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; }; then
18046 ac_cv_member_struct_stat_st_rdev=yes
18047 else
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18050
18051 ac_cv_member_struct_stat_st_rdev=no
18052 fi
18053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18054 fi
18055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18056 fi
18057 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18058 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18059 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18060
18061 cat >>confdefs.h <<_ACEOF
18062 #define HAVE_STRUCT_STAT_ST_RDEV 1
18063 _ACEOF
18064
18065
18066 fi
18067
18068
18069 # Check for library functions.
18070
18071
18072
18073
18074
18075
18076
18077
18078 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18079 do
18080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18081 echo "$as_me:$LINENO: checking for $ac_func" >&5
18082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18083 if eval "test \"\${$as_ac_var+set}\" = set"; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 else
18086 if test x$gcc_no_link = xyes; then
18087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18089 { (exit 1); exit 1; }; }
18090 fi
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18099 #define $ac_func innocuous_$ac_func
18100
18101 /* System header to define __stub macros and hopefully few prototypes,
18102 which can conflict with char $ac_func (); below.
18103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18104 <limits.h> exists even on freestanding compilers. */
18105
18106 #ifdef __STDC__
18107 # include <limits.h>
18108 #else
18109 # include <assert.h>
18110 #endif
18111
18112 #undef $ac_func
18113
18114 /* Override any gcc2 internal prototype to avoid an error. */
18115 #ifdef __cplusplus
18116 extern "C"
18117 {
18118 #endif
18119 /* We use char because int might match the return type of a gcc2
18120 builtin and then its argument prototype would still apply. */
18121 char $ac_func ();
18122 /* The GNU C library defines this for functions which it implements
18123 to always fail with ENOSYS. Some functions are actually named
18124 something starting with __ and the normal name is an alias. */
18125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18126 choke me
18127 #else
18128 char (*f) () = $ac_func;
18129 #endif
18130 #ifdef __cplusplus
18131 }
18132 #endif
18133
18134 int
18135 main ()
18136 {
18137 return f != $ac_func;
18138 ;
18139 return 0;
18140 }
18141 _ACEOF
18142 rm -f conftest.$ac_objext conftest$ac_exeext
18143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18144 (eval $ac_link) 2>conftest.er1
18145 ac_status=$?
18146 grep -v '^ *+' conftest.er1 >conftest.err
18147 rm -f conftest.er1
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } &&
18151 { ac_try='test -z "$ac_c_werror_flag"
18152 || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18155 ac_status=$?
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try='test -s conftest$ac_exeext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 eval "$as_ac_var=yes"
18165 else
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.$ac_ext >&5
18168
18169 eval "$as_ac_var=no"
18170 fi
18171 rm -f conftest.err conftest.$ac_objext \
18172 conftest$ac_exeext conftest.$ac_ext
18173 fi
18174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18176 if test `eval echo '${'$as_ac_var'}'` = yes; then
18177 cat >>confdefs.h <<_ACEOF
18178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18179 _ACEOF
18180
18181 fi
18182 done
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18193 do
18194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18195 echo "$as_me:$LINENO: checking for $ac_func" >&5
18196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18197 if eval "test \"\${$as_ac_var+set}\" = set"; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 else
18200 if test x$gcc_no_link = xyes; then
18201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18203 { (exit 1); exit 1; }; }
18204 fi
18205 cat >conftest.$ac_ext <<_ACEOF
18206 /* confdefs.h. */
18207 _ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18213 #define $ac_func innocuous_$ac_func
18214
18215 /* System header to define __stub macros and hopefully few prototypes,
18216 which can conflict with char $ac_func (); below.
18217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18218 <limits.h> exists even on freestanding compilers. */
18219
18220 #ifdef __STDC__
18221 # include <limits.h>
18222 #else
18223 # include <assert.h>
18224 #endif
18225
18226 #undef $ac_func
18227
18228 /* Override any gcc2 internal prototype to avoid an error. */
18229 #ifdef __cplusplus
18230 extern "C"
18231 {
18232 #endif
18233 /* We use char because int might match the return type of a gcc2
18234 builtin and then its argument prototype would still apply. */
18235 char $ac_func ();
18236 /* The GNU C library defines this for functions which it implements
18237 to always fail with ENOSYS. Some functions are actually named
18238 something starting with __ and the normal name is an alias. */
18239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18240 choke me
18241 #else
18242 char (*f) () = $ac_func;
18243 #endif
18244 #ifdef __cplusplus
18245 }
18246 #endif
18247
18248 int
18249 main ()
18250 {
18251 return f != $ac_func;
18252 ;
18253 return 0;
18254 }
18255 _ACEOF
18256 rm -f conftest.$ac_objext conftest$ac_exeext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258 (eval $ac_link) 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try='test -z "$ac_c_werror_flag"
18266 || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18269 ac_status=$?
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try='test -s conftest$ac_exeext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 eval "$as_ac_var=yes"
18279 else
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 eval "$as_ac_var=no"
18284 fi
18285 rm -f conftest.err conftest.$ac_objext \
18286 conftest$ac_exeext conftest.$ac_ext
18287 fi
18288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18290 if test `eval echo '${'$as_ac_var'}'` = yes; then
18291 cat >>confdefs.h <<_ACEOF
18292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18293 _ACEOF
18294
18295 fi
18296 done
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18309 do
18310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18311 echo "$as_me:$LINENO: checking for $ac_func" >&5
18312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18313 if eval "test \"\${$as_ac_var+set}\" = set"; then
18314 echo $ECHO_N "(cached) $ECHO_C" >&6
18315 else
18316 if test x$gcc_no_link = xyes; then
18317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18319 { (exit 1); exit 1; }; }
18320 fi
18321 cat >conftest.$ac_ext <<_ACEOF
18322 /* confdefs.h. */
18323 _ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18329 #define $ac_func innocuous_$ac_func
18330
18331 /* System header to define __stub macros and hopefully few prototypes,
18332 which can conflict with char $ac_func (); below.
18333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18334 <limits.h> exists even on freestanding compilers. */
18335
18336 #ifdef __STDC__
18337 # include <limits.h>
18338 #else
18339 # include <assert.h>
18340 #endif
18341
18342 #undef $ac_func
18343
18344 /* Override any gcc2 internal prototype to avoid an error. */
18345 #ifdef __cplusplus
18346 extern "C"
18347 {
18348 #endif
18349 /* We use char because int might match the return type of a gcc2
18350 builtin and then its argument prototype would still apply. */
18351 char $ac_func ();
18352 /* The GNU C library defines this for functions which it implements
18353 to always fail with ENOSYS. Some functions are actually named
18354 something starting with __ and the normal name is an alias. */
18355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18356 choke me
18357 #else
18358 char (*f) () = $ac_func;
18359 #endif
18360 #ifdef __cplusplus
18361 }
18362 #endif
18363
18364 int
18365 main ()
18366 {
18367 return f != $ac_func;
18368 ;
18369 return 0;
18370 }
18371 _ACEOF
18372 rm -f conftest.$ac_objext conftest$ac_exeext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18374 (eval $ac_link) 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try='test -z "$ac_c_werror_flag"
18382 || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18385 ac_status=$?
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest$ac_exeext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18394 eval "$as_ac_var=yes"
18395 else
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18398
18399 eval "$as_ac_var=no"
18400 fi
18401 rm -f conftest.err conftest.$ac_objext \
18402 conftest$ac_exeext conftest.$ac_ext
18403 fi
18404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18406 if test `eval echo '${'$as_ac_var'}'` = yes; then
18407 cat >>confdefs.h <<_ACEOF
18408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18409 _ACEOF
18410
18411 fi
18412 done
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18424 do
18425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18426 echo "$as_me:$LINENO: checking for $ac_func" >&5
18427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18428 if eval "test \"\${$as_ac_var+set}\" = set"; then
18429 echo $ECHO_N "(cached) $ECHO_C" >&6
18430 else
18431 if test x$gcc_no_link = xyes; then
18432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18434 { (exit 1); exit 1; }; }
18435 fi
18436 cat >conftest.$ac_ext <<_ACEOF
18437 /* confdefs.h. */
18438 _ACEOF
18439 cat confdefs.h >>conftest.$ac_ext
18440 cat >>conftest.$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18444 #define $ac_func innocuous_$ac_func
18445
18446 /* System header to define __stub macros and hopefully few prototypes,
18447 which can conflict with char $ac_func (); below.
18448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18449 <limits.h> exists even on freestanding compilers. */
18450
18451 #ifdef __STDC__
18452 # include <limits.h>
18453 #else
18454 # include <assert.h>
18455 #endif
18456
18457 #undef $ac_func
18458
18459 /* Override any gcc2 internal prototype to avoid an error. */
18460 #ifdef __cplusplus
18461 extern "C"
18462 {
18463 #endif
18464 /* We use char because int might match the return type of a gcc2
18465 builtin and then its argument prototype would still apply. */
18466 char $ac_func ();
18467 /* The GNU C library defines this for functions which it implements
18468 to always fail with ENOSYS. Some functions are actually named
18469 something starting with __ and the normal name is an alias. */
18470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18471 choke me
18472 #else
18473 char (*f) () = $ac_func;
18474 #endif
18475 #ifdef __cplusplus
18476 }
18477 #endif
18478
18479 int
18480 main ()
18481 {
18482 return f != $ac_func;
18483 ;
18484 return 0;
18485 }
18486 _ACEOF
18487 rm -f conftest.$ac_objext conftest$ac_exeext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18489 (eval $ac_link) 2>conftest.er1
18490 ac_status=$?
18491 grep -v '^ *+' conftest.er1 >conftest.err
18492 rm -f conftest.er1
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } &&
18496 { ac_try='test -z "$ac_c_werror_flag"
18497 || test ! -s conftest.err'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; } &&
18503 { ac_try='test -s conftest$ac_exeext'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18506 ac_status=$?
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; }; then
18509 eval "$as_ac_var=yes"
18510 else
18511 echo "$as_me: failed program was:" >&5
18512 sed 's/^/| /' conftest.$ac_ext >&5
18513
18514 eval "$as_ac_var=no"
18515 fi
18516 rm -f conftest.err conftest.$ac_objext \
18517 conftest$ac_exeext conftest.$ac_ext
18518 fi
18519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18521 if test `eval echo '${'$as_ac_var'}'` = yes; then
18522 cat >>confdefs.h <<_ACEOF
18523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18524 _ACEOF
18525
18526 fi
18527 done
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18538 do
18539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18540 echo "$as_me:$LINENO: checking for $ac_func" >&5
18541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18542 if eval "test \"\${$as_ac_var+set}\" = set"; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18544 else
18545 if test x$gcc_no_link = xyes; then
18546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18548 { (exit 1); exit 1; }; }
18549 fi
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18558 #define $ac_func innocuous_$ac_func
18559
18560 /* System header to define __stub macros and hopefully few prototypes,
18561 which can conflict with char $ac_func (); below.
18562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18563 <limits.h> exists even on freestanding compilers. */
18564
18565 #ifdef __STDC__
18566 # include <limits.h>
18567 #else
18568 # include <assert.h>
18569 #endif
18570
18571 #undef $ac_func
18572
18573 /* Override any gcc2 internal prototype to avoid an error. */
18574 #ifdef __cplusplus
18575 extern "C"
18576 {
18577 #endif
18578 /* We use char because int might match the return type of a gcc2
18579 builtin and then its argument prototype would still apply. */
18580 char $ac_func ();
18581 /* The GNU C library defines this for functions which it implements
18582 to always fail with ENOSYS. Some functions are actually named
18583 something starting with __ and the normal name is an alias. */
18584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18585 choke me
18586 #else
18587 char (*f) () = $ac_func;
18588 #endif
18589 #ifdef __cplusplus
18590 }
18591 #endif
18592
18593 int
18594 main ()
18595 {
18596 return f != $ac_func;
18597 ;
18598 return 0;
18599 }
18600 _ACEOF
18601 rm -f conftest.$ac_objext conftest$ac_exeext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603 (eval $ac_link) 2>conftest.er1
18604 ac_status=$?
18605 grep -v '^ *+' conftest.er1 >conftest.err
18606 rm -f conftest.er1
18607 cat conftest.err >&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); } &&
18610 { ac_try='test -z "$ac_c_werror_flag"
18611 || test ! -s conftest.err'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try='test -s conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 eval "$as_ac_var=yes"
18624 else
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 eval "$as_ac_var=no"
18629 fi
18630 rm -f conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18632 fi
18633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18635 if test `eval echo '${'$as_ac_var'}'` = yes; then
18636 cat >>confdefs.h <<_ACEOF
18637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18638 _ACEOF
18639
18640 fi
18641 done
18642
18643
18644 # Check for glibc backtrace functions
18645
18646
18647 for ac_func in backtrace backtrace_symbols
18648 do
18649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18650 echo "$as_me:$LINENO: checking for $ac_func" >&5
18651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18652 if eval "test \"\${$as_ac_var+set}\" = set"; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655 if test x$gcc_no_link = xyes; then
18656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18658 { (exit 1); exit 1; }; }
18659 fi
18660 cat >conftest.$ac_ext <<_ACEOF
18661 /* confdefs.h. */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18668 #define $ac_func innocuous_$ac_func
18669
18670 /* System header to define __stub macros and hopefully few prototypes,
18671 which can conflict with char $ac_func (); below.
18672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18673 <limits.h> exists even on freestanding compilers. */
18674
18675 #ifdef __STDC__
18676 # include <limits.h>
18677 #else
18678 # include <assert.h>
18679 #endif
18680
18681 #undef $ac_func
18682
18683 /* Override any gcc2 internal prototype to avoid an error. */
18684 #ifdef __cplusplus
18685 extern "C"
18686 {
18687 #endif
18688 /* We use char because int might match the return type of a gcc2
18689 builtin and then its argument prototype would still apply. */
18690 char $ac_func ();
18691 /* The GNU C library defines this for functions which it implements
18692 to always fail with ENOSYS. Some functions are actually named
18693 something starting with __ and the normal name is an alias. */
18694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18695 choke me
18696 #else
18697 char (*f) () = $ac_func;
18698 #endif
18699 #ifdef __cplusplus
18700 }
18701 #endif
18702
18703 int
18704 main ()
18705 {
18706 return f != $ac_func;
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest.$ac_objext conftest$ac_exeext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18713 (eval $ac_link) 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -z "$ac_c_werror_flag"
18721 || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try='test -s conftest$ac_exeext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 eval "$as_ac_var=yes"
18734 else
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 eval "$as_ac_var=no"
18739 fi
18740 rm -f conftest.err conftest.$ac_objext \
18741 conftest$ac_exeext conftest.$ac_ext
18742 fi
18743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18745 if test `eval echo '${'$as_ac_var'}'` = yes; then
18746 cat >>confdefs.h <<_ACEOF
18747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18748 _ACEOF
18749
18750 fi
18751 done
18752
18753
18754 # Check for types
18755 echo "$as_me:$LINENO: checking for intptr_t" >&5
18756 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18757 if test "${ac_cv_type_intptr_t+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 else
18760 cat >conftest.$ac_ext <<_ACEOF
18761 /* confdefs.h. */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 $ac_includes_default
18767 int
18768 main ()
18769 {
18770 if ((intptr_t *) 0)
18771 return 0;
18772 if (sizeof (intptr_t))
18773 return 0;
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780 (eval $ac_compile) 2>conftest.er1
18781 ac_status=$?
18782 grep -v '^ *+' conftest.er1 >conftest.err
18783 rm -f conftest.er1
18784 cat conftest.err >&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } &&
18787 { ac_try='test -z "$ac_c_werror_flag"
18788 || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_cv_type_intptr_t=yes
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 ac_cv_type_intptr_t=no
18806 fi
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18808 fi
18809 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18810 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18811 if test $ac_cv_type_intptr_t = yes; then
18812
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_INTPTR_T 1
18815 _ACEOF
18816
18817
18818 fi
18819
18820 echo "$as_me:$LINENO: checking for uintptr_t" >&5
18821 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
18822 if test "${ac_cv_type_uintptr_t+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18824 else
18825 cat >conftest.$ac_ext <<_ACEOF
18826 /* confdefs.h. */
18827 _ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18831 $ac_includes_default
18832 int
18833 main ()
18834 {
18835 if ((uintptr_t *) 0)
18836 return 0;
18837 if (sizeof (uintptr_t))
18838 return 0;
18839 ;
18840 return 0;
18841 }
18842 _ACEOF
18843 rm -f conftest.$ac_objext
18844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18845 (eval $ac_compile) 2>conftest.er1
18846 ac_status=$?
18847 grep -v '^ *+' conftest.er1 >conftest.err
18848 rm -f conftest.er1
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } &&
18852 { ac_try='test -z "$ac_c_werror_flag"
18853 || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_cv_type_uintptr_t=yes
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18869
18870 ac_cv_type_uintptr_t=no
18871 fi
18872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18873 fi
18874 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
18875 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
18876 if test $ac_cv_type_uintptr_t = yes; then
18877
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_UINTPTR_T 1
18880 _ACEOF
18881
18882
18883 fi
18884
18885
18886 # Check libc for getgid, getpid, getuid
18887 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18888 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18889 if test "${ac_cv_lib_c_getgid+set}" = set; then
18890 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 else
18892 ac_check_lib_save_LIBS=$LIBS
18893 LIBS="-lc $LIBS"
18894 if test x$gcc_no_link = xyes; then
18895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18897 { (exit 1); exit 1; }; }
18898 fi
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905
18906 /* Override any gcc2 internal prototype to avoid an error. */
18907 #ifdef __cplusplus
18908 extern "C"
18909 #endif
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18912 char getgid ();
18913 int
18914 main ()
18915 {
18916 getgid ();
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 rm -f conftest.$ac_objext conftest$ac_exeext
18922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18923 (eval $ac_link) 2>conftest.er1
18924 ac_status=$?
18925 grep -v '^ *+' conftest.er1 >conftest.err
18926 rm -f conftest.er1
18927 cat conftest.err >&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try='test -z "$ac_c_werror_flag"
18931 || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18934 ac_status=$?
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try='test -s conftest$ac_exeext'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18943 ac_cv_lib_c_getgid=yes
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18947
18948 ac_cv_lib_c_getgid=no
18949 fi
18950 rm -f conftest.err conftest.$ac_objext \
18951 conftest$ac_exeext conftest.$ac_ext
18952 LIBS=$ac_check_lib_save_LIBS
18953 fi
18954 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18955 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18956 if test $ac_cv_lib_c_getgid = yes; then
18957
18958 cat >>confdefs.h <<\_ACEOF
18959 #define HAVE_GETGID 1
18960 _ACEOF
18961
18962 fi
18963
18964 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18965 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18966 if test "${ac_cv_lib_c_getpid+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 ac_check_lib_save_LIBS=$LIBS
18970 LIBS="-lc $LIBS"
18971 if test x$gcc_no_link = xyes; then
18972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18974 { (exit 1); exit 1; }; }
18975 fi
18976 cat >conftest.$ac_ext <<_ACEOF
18977 /* confdefs.h. */
18978 _ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18982
18983 /* Override any gcc2 internal prototype to avoid an error. */
18984 #ifdef __cplusplus
18985 extern "C"
18986 #endif
18987 /* We use char because int might match the return type of a gcc2
18988 builtin and then its argument prototype would still apply. */
18989 char getpid ();
18990 int
18991 main ()
18992 {
18993 getpid ();
18994 ;
18995 return 0;
18996 }
18997 _ACEOF
18998 rm -f conftest.$ac_objext conftest$ac_exeext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19000 (eval $ac_link) 2>conftest.er1
19001 ac_status=$?
19002 grep -v '^ *+' conftest.er1 >conftest.err
19003 rm -f conftest.er1
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -z "$ac_c_werror_flag"
19008 || test ! -s conftest.err'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19011 ac_status=$?
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; } &&
19014 { ac_try='test -s conftest$ac_exeext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19020 ac_cv_lib_c_getpid=yes
19021 else
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19024
19025 ac_cv_lib_c_getpid=no
19026 fi
19027 rm -f conftest.err conftest.$ac_objext \
19028 conftest$ac_exeext conftest.$ac_ext
19029 LIBS=$ac_check_lib_save_LIBS
19030 fi
19031 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19032 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19033 if test $ac_cv_lib_c_getpid = yes; then
19034
19035 cat >>confdefs.h <<\_ACEOF
19036 #define HAVE_GETPID 1
19037 _ACEOF
19038
19039 fi
19040
19041 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19042 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19043 if test "${ac_cv_lib_c_getppid+set}" = set; then
19044 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 else
19046 ac_check_lib_save_LIBS=$LIBS
19047 LIBS="-lc $LIBS"
19048 if test x$gcc_no_link = xyes; then
19049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19051 { (exit 1); exit 1; }; }
19052 fi
19053 cat >conftest.$ac_ext <<_ACEOF
19054 /* confdefs.h. */
19055 _ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059
19060 /* Override any gcc2 internal prototype to avoid an error. */
19061 #ifdef __cplusplus
19062 extern "C"
19063 #endif
19064 /* We use char because int might match the return type of a gcc2
19065 builtin and then its argument prototype would still apply. */
19066 char getppid ();
19067 int
19068 main ()
19069 {
19070 getppid ();
19071 ;
19072 return 0;
19073 }
19074 _ACEOF
19075 rm -f conftest.$ac_objext conftest$ac_exeext
19076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19077 (eval $ac_link) 2>conftest.er1
19078 ac_status=$?
19079 grep -v '^ *+' conftest.er1 >conftest.err
19080 rm -f conftest.er1
19081 cat conftest.err >&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try='test -z "$ac_c_werror_flag"
19085 || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19088 ac_status=$?
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try='test -s conftest$ac_exeext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19097 ac_cv_lib_c_getppid=yes
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19101
19102 ac_cv_lib_c_getppid=no
19103 fi
19104 rm -f conftest.err conftest.$ac_objext \
19105 conftest$ac_exeext conftest.$ac_ext
19106 LIBS=$ac_check_lib_save_LIBS
19107 fi
19108 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19109 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19110 if test $ac_cv_lib_c_getppid = yes; then
19111
19112 cat >>confdefs.h <<\_ACEOF
19113 #define HAVE_GETPPID 1
19114 _ACEOF
19115
19116 fi
19117
19118 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19119 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19120 if test "${ac_cv_lib_c_getuid+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 else
19123 ac_check_lib_save_LIBS=$LIBS
19124 LIBS="-lc $LIBS"
19125 if test x$gcc_no_link = xyes; then
19126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19128 { (exit 1); exit 1; }; }
19129 fi
19130 cat >conftest.$ac_ext <<_ACEOF
19131 /* confdefs.h. */
19132 _ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136
19137 /* Override any gcc2 internal prototype to avoid an error. */
19138 #ifdef __cplusplus
19139 extern "C"
19140 #endif
19141 /* We use char because int might match the return type of a gcc2
19142 builtin and then its argument prototype would still apply. */
19143 char getuid ();
19144 int
19145 main ()
19146 {
19147 getuid ();
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext conftest$ac_exeext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19154 (eval $ac_link) 2>conftest.er1
19155 ac_status=$?
19156 grep -v '^ *+' conftest.er1 >conftest.err
19157 rm -f conftest.er1
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try='test -z "$ac_c_werror_flag"
19162 || test ! -s conftest.err'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19165 ac_status=$?
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try='test -s conftest$ac_exeext'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19171 ac_status=$?
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; }; then
19174 ac_cv_lib_c_getuid=yes
19175 else
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.$ac_ext >&5
19178
19179 ac_cv_lib_c_getuid=no
19180 fi
19181 rm -f conftest.err conftest.$ac_objext \
19182 conftest$ac_exeext conftest.$ac_ext
19183 LIBS=$ac_check_lib_save_LIBS
19184 fi
19185 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19186 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19187 if test $ac_cv_lib_c_getuid = yes; then
19188
19189 cat >>confdefs.h <<\_ACEOF
19190 #define HAVE_GETUID 1
19191 _ACEOF
19192
19193 fi
19194
19195 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19196 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19197 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 ac_check_lib_save_LIBS=$LIBS
19201 LIBS="-lc $LIBS"
19202 if test x$gcc_no_link = xyes; then
19203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19205 { (exit 1); exit 1; }; }
19206 fi
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213
19214 /* Override any gcc2 internal prototype to avoid an error. */
19215 #ifdef __cplusplus
19216 extern "C"
19217 #endif
19218 /* We use char because int might match the return type of a gcc2
19219 builtin and then its argument prototype would still apply. */
19220 char geteuid ();
19221 int
19222 main ()
19223 {
19224 geteuid ();
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 rm -f conftest.$ac_objext conftest$ac_exeext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19231 (eval $ac_link) 2>conftest.er1
19232 ac_status=$?
19233 grep -v '^ *+' conftest.er1 >conftest.err
19234 rm -f conftest.er1
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try='test -z "$ac_c_werror_flag"
19239 || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try='test -s conftest$ac_exeext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_cv_lib_c_geteuid=yes
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19255
19256 ac_cv_lib_c_geteuid=no
19257 fi
19258 rm -f conftest.err conftest.$ac_objext \
19259 conftest$ac_exeext conftest.$ac_ext
19260 LIBS=$ac_check_lib_save_LIBS
19261 fi
19262 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19263 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19264 if test $ac_cv_lib_c_geteuid = yes; then
19265
19266 cat >>confdefs.h <<\_ACEOF
19267 #define HAVE_GETEUID 1
19268 _ACEOF
19269
19270 fi
19271
19272
19273 # Check for C99 (and other IEEE) math functions
19274 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19275 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19276 if test "${ac_cv_lib_m_acosf+set}" = set; then
19277 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 else
19279 ac_check_lib_save_LIBS=$LIBS
19280 LIBS="-lm $LIBS"
19281 if test x$gcc_no_link = xyes; then
19282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19284 { (exit 1); exit 1; }; }
19285 fi
19286 cat >conftest.$ac_ext <<_ACEOF
19287 /* confdefs.h. */
19288 _ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292
19293 /* Override any gcc2 internal prototype to avoid an error. */
19294 #ifdef __cplusplus
19295 extern "C"
19296 #endif
19297 /* We use char because int might match the return type of a gcc2
19298 builtin and then its argument prototype would still apply. */
19299 char acosf ();
19300 int
19301 main ()
19302 {
19303 acosf ();
19304 ;
19305 return 0;
19306 }
19307 _ACEOF
19308 rm -f conftest.$ac_objext conftest$ac_exeext
19309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19310 (eval $ac_link) 2>conftest.er1
19311 ac_status=$?
19312 grep -v '^ *+' conftest.er1 >conftest.err
19313 rm -f conftest.er1
19314 cat conftest.err >&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } &&
19317 { ac_try='test -z "$ac_c_werror_flag"
19318 || test ! -s conftest.err'
19319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19320 (eval $ac_try) 2>&5
19321 ac_status=$?
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }; } &&
19324 { ac_try='test -s conftest$ac_exeext'
19325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19326 (eval $ac_try) 2>&5
19327 ac_status=$?
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); }; }; then
19330 ac_cv_lib_m_acosf=yes
19331 else
19332 echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.$ac_ext >&5
19334
19335 ac_cv_lib_m_acosf=no
19336 fi
19337 rm -f conftest.err conftest.$ac_objext \
19338 conftest$ac_exeext conftest.$ac_ext
19339 LIBS=$ac_check_lib_save_LIBS
19340 fi
19341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19342 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19343 if test $ac_cv_lib_m_acosf = yes; then
19344
19345 cat >>confdefs.h <<\_ACEOF
19346 #define HAVE_ACOSF 1
19347 _ACEOF
19348
19349 fi
19350
19351 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19352 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19353 if test "${ac_cv_lib_m_acos+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 else
19356 ac_check_lib_save_LIBS=$LIBS
19357 LIBS="-lm $LIBS"
19358 if test x$gcc_no_link = xyes; then
19359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19361 { (exit 1); exit 1; }; }
19362 fi
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369
19370 /* Override any gcc2 internal prototype to avoid an error. */
19371 #ifdef __cplusplus
19372 extern "C"
19373 #endif
19374 /* We use char because int might match the return type of a gcc2
19375 builtin and then its argument prototype would still apply. */
19376 char acos ();
19377 int
19378 main ()
19379 {
19380 acos ();
19381 ;
19382 return 0;
19383 }
19384 _ACEOF
19385 rm -f conftest.$ac_objext conftest$ac_exeext
19386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19387 (eval $ac_link) 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } &&
19394 { ac_try='test -z "$ac_c_werror_flag"
19395 || test ! -s conftest.err'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19398 ac_status=$?
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; } &&
19401 { ac_try='test -s conftest$ac_exeext'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; }; then
19407 ac_cv_lib_m_acos=yes
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412 ac_cv_lib_m_acos=no
19413 fi
19414 rm -f conftest.err conftest.$ac_objext \
19415 conftest$ac_exeext conftest.$ac_ext
19416 LIBS=$ac_check_lib_save_LIBS
19417 fi
19418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19419 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19420 if test $ac_cv_lib_m_acos = yes; then
19421
19422 cat >>confdefs.h <<\_ACEOF
19423 #define HAVE_ACOS 1
19424 _ACEOF
19425
19426 fi
19427
19428 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19429 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19430 if test "${ac_cv_lib_m_acosl+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 else
19433 ac_check_lib_save_LIBS=$LIBS
19434 LIBS="-lm $LIBS"
19435 if test x$gcc_no_link = xyes; then
19436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19438 { (exit 1); exit 1; }; }
19439 fi
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446
19447 /* Override any gcc2 internal prototype to avoid an error. */
19448 #ifdef __cplusplus
19449 extern "C"
19450 #endif
19451 /* We use char because int might match the return type of a gcc2
19452 builtin and then its argument prototype would still apply. */
19453 char acosl ();
19454 int
19455 main ()
19456 {
19457 acosl ();
19458 ;
19459 return 0;
19460 }
19461 _ACEOF
19462 rm -f conftest.$ac_objext conftest$ac_exeext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19464 (eval $ac_link) 2>conftest.er1
19465 ac_status=$?
19466 grep -v '^ *+' conftest.er1 >conftest.err
19467 rm -f conftest.er1
19468 cat conftest.err >&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } &&
19471 { ac_try='test -z "$ac_c_werror_flag"
19472 || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19475 ac_status=$?
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try='test -s conftest$ac_exeext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 ac_cv_lib_m_acosl=yes
19485 else
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19488
19489 ac_cv_lib_m_acosl=no
19490 fi
19491 rm -f conftest.err conftest.$ac_objext \
19492 conftest$ac_exeext conftest.$ac_ext
19493 LIBS=$ac_check_lib_save_LIBS
19494 fi
19495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19496 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19497 if test $ac_cv_lib_m_acosl = yes; then
19498
19499 cat >>confdefs.h <<\_ACEOF
19500 #define HAVE_ACOSL 1
19501 _ACEOF
19502
19503 fi
19504
19505 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19506 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19507 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19509 else
19510 ac_check_lib_save_LIBS=$LIBS
19511 LIBS="-lm $LIBS"
19512 if test x$gcc_no_link = xyes; then
19513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19515 { (exit 1); exit 1; }; }
19516 fi
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523
19524 /* Override any gcc2 internal prototype to avoid an error. */
19525 #ifdef __cplusplus
19526 extern "C"
19527 #endif
19528 /* We use char because int might match the return type of a gcc2
19529 builtin and then its argument prototype would still apply. */
19530 char acoshf ();
19531 int
19532 main ()
19533 {
19534 acoshf ();
19535 ;
19536 return 0;
19537 }
19538 _ACEOF
19539 rm -f conftest.$ac_objext conftest$ac_exeext
19540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19541 (eval $ac_link) 2>conftest.er1
19542 ac_status=$?
19543 grep -v '^ *+' conftest.er1 >conftest.err
19544 rm -f conftest.er1
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } &&
19548 { ac_try='test -z "$ac_c_werror_flag"
19549 || test ! -s conftest.err'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try='test -s conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19558 ac_status=$?
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_cv_lib_m_acoshf=yes
19562 else
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.$ac_ext >&5
19565
19566 ac_cv_lib_m_acoshf=no
19567 fi
19568 rm -f conftest.err conftest.$ac_objext \
19569 conftest$ac_exeext conftest.$ac_ext
19570 LIBS=$ac_check_lib_save_LIBS
19571 fi
19572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19573 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19574 if test $ac_cv_lib_m_acoshf = yes; then
19575
19576 cat >>confdefs.h <<\_ACEOF
19577 #define HAVE_ACOSHF 1
19578 _ACEOF
19579
19580 fi
19581
19582 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19583 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19584 if test "${ac_cv_lib_m_acosh+set}" = set; then
19585 echo $ECHO_N "(cached) $ECHO_C" >&6
19586 else
19587 ac_check_lib_save_LIBS=$LIBS
19588 LIBS="-lm $LIBS"
19589 if test x$gcc_no_link = xyes; then
19590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19592 { (exit 1); exit 1; }; }
19593 fi
19594 cat >conftest.$ac_ext <<_ACEOF
19595 /* confdefs.h. */
19596 _ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600
19601 /* Override any gcc2 internal prototype to avoid an error. */
19602 #ifdef __cplusplus
19603 extern "C"
19604 #endif
19605 /* We use char because int might match the return type of a gcc2
19606 builtin and then its argument prototype would still apply. */
19607 char acosh ();
19608 int
19609 main ()
19610 {
19611 acosh ();
19612 ;
19613 return 0;
19614 }
19615 _ACEOF
19616 rm -f conftest.$ac_objext conftest$ac_exeext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19618 (eval $ac_link) 2>conftest.er1
19619 ac_status=$?
19620 grep -v '^ *+' conftest.er1 >conftest.err
19621 rm -f conftest.er1
19622 cat conftest.err >&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
19625 { ac_try='test -z "$ac_c_werror_flag"
19626 || test ! -s conftest.err'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; } &&
19632 { ac_try='test -s conftest$ac_exeext'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; }; then
19638 ac_cv_lib_m_acosh=yes
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 ac_cv_lib_m_acosh=no
19644 fi
19645 rm -f conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19647 LIBS=$ac_check_lib_save_LIBS
19648 fi
19649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19650 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19651 if test $ac_cv_lib_m_acosh = yes; then
19652
19653 cat >>confdefs.h <<\_ACEOF
19654 #define HAVE_ACOSH 1
19655 _ACEOF
19656
19657 fi
19658
19659 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19660 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19661 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19662 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 else
19664 ac_check_lib_save_LIBS=$LIBS
19665 LIBS="-lm $LIBS"
19666 if test x$gcc_no_link = xyes; then
19667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19669 { (exit 1); exit 1; }; }
19670 fi
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h. */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677
19678 /* Override any gcc2 internal prototype to avoid an error. */
19679 #ifdef __cplusplus
19680 extern "C"
19681 #endif
19682 /* We use char because int might match the return type of a gcc2
19683 builtin and then its argument prototype would still apply. */
19684 char acoshl ();
19685 int
19686 main ()
19687 {
19688 acoshl ();
19689 ;
19690 return 0;
19691 }
19692 _ACEOF
19693 rm -f conftest.$ac_objext conftest$ac_exeext
19694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19695 (eval $ac_link) 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } &&
19702 { ac_try='test -z "$ac_c_werror_flag"
19703 || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19706 ac_status=$?
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try='test -s conftest$ac_exeext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 ac_cv_lib_m_acoshl=yes
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 ac_cv_lib_m_acoshl=no
19721 fi
19722 rm -f conftest.err conftest.$ac_objext \
19723 conftest$ac_exeext conftest.$ac_ext
19724 LIBS=$ac_check_lib_save_LIBS
19725 fi
19726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19727 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19728 if test $ac_cv_lib_m_acoshl = yes; then
19729
19730 cat >>confdefs.h <<\_ACEOF
19731 #define HAVE_ACOSHL 1
19732 _ACEOF
19733
19734 fi
19735
19736 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19737 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19738 if test "${ac_cv_lib_m_asinf+set}" = set; then
19739 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 else
19741 ac_check_lib_save_LIBS=$LIBS
19742 LIBS="-lm $LIBS"
19743 if test x$gcc_no_link = xyes; then
19744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19746 { (exit 1); exit 1; }; }
19747 fi
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754
19755 /* Override any gcc2 internal prototype to avoid an error. */
19756 #ifdef __cplusplus
19757 extern "C"
19758 #endif
19759 /* We use char because int might match the return type of a gcc2
19760 builtin and then its argument prototype would still apply. */
19761 char asinf ();
19762 int
19763 main ()
19764 {
19765 asinf ();
19766 ;
19767 return 0;
19768 }
19769 _ACEOF
19770 rm -f conftest.$ac_objext conftest$ac_exeext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19772 (eval $ac_link) 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_c_werror_flag"
19780 || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest$ac_exeext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_cv_lib_m_asinf=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 ac_cv_lib_m_asinf=no
19798 fi
19799 rm -f conftest.err conftest.$ac_objext \
19800 conftest$ac_exeext conftest.$ac_ext
19801 LIBS=$ac_check_lib_save_LIBS
19802 fi
19803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19804 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19805 if test $ac_cv_lib_m_asinf = yes; then
19806
19807 cat >>confdefs.h <<\_ACEOF
19808 #define HAVE_ASINF 1
19809 _ACEOF
19810
19811 fi
19812
19813 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19814 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19815 if test "${ac_cv_lib_m_asin+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 else
19818 ac_check_lib_save_LIBS=$LIBS
19819 LIBS="-lm $LIBS"
19820 if test x$gcc_no_link = xyes; then
19821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19823 { (exit 1); exit 1; }; }
19824 fi
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831
19832 /* Override any gcc2 internal prototype to avoid an error. */
19833 #ifdef __cplusplus
19834 extern "C"
19835 #endif
19836 /* We use char because int might match the return type of a gcc2
19837 builtin and then its argument prototype would still apply. */
19838 char asin ();
19839 int
19840 main ()
19841 {
19842 asin ();
19843 ;
19844 return 0;
19845 }
19846 _ACEOF
19847 rm -f conftest.$ac_objext conftest$ac_exeext
19848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19849 (eval $ac_link) 2>conftest.er1
19850 ac_status=$?
19851 grep -v '^ *+' conftest.er1 >conftest.err
19852 rm -f conftest.er1
19853 cat conftest.err >&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); } &&
19856 { ac_try='test -z "$ac_c_werror_flag"
19857 || test ! -s conftest.err'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19860 ac_status=$?
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; } &&
19863 { ac_try='test -s conftest$ac_exeext'
19864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19865 (eval $ac_try) 2>&5
19866 ac_status=$?
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19869 ac_cv_lib_m_asin=yes
19870 else
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19873
19874 ac_cv_lib_m_asin=no
19875 fi
19876 rm -f conftest.err conftest.$ac_objext \
19877 conftest$ac_exeext conftest.$ac_ext
19878 LIBS=$ac_check_lib_save_LIBS
19879 fi
19880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19881 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19882 if test $ac_cv_lib_m_asin = yes; then
19883
19884 cat >>confdefs.h <<\_ACEOF
19885 #define HAVE_ASIN 1
19886 _ACEOF
19887
19888 fi
19889
19890 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19891 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19892 if test "${ac_cv_lib_m_asinl+set}" = set; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 else
19895 ac_check_lib_save_LIBS=$LIBS
19896 LIBS="-lm $LIBS"
19897 if test x$gcc_no_link = xyes; then
19898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19900 { (exit 1); exit 1; }; }
19901 fi
19902 cat >conftest.$ac_ext <<_ACEOF
19903 /* confdefs.h. */
19904 _ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908
19909 /* Override any gcc2 internal prototype to avoid an error. */
19910 #ifdef __cplusplus
19911 extern "C"
19912 #endif
19913 /* We use char because int might match the return type of a gcc2
19914 builtin and then its argument prototype would still apply. */
19915 char asinl ();
19916 int
19917 main ()
19918 {
19919 asinl ();
19920 ;
19921 return 0;
19922 }
19923 _ACEOF
19924 rm -f conftest.$ac_objext conftest$ac_exeext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19926 (eval $ac_link) 2>conftest.er1
19927 ac_status=$?
19928 grep -v '^ *+' conftest.er1 >conftest.err
19929 rm -f conftest.er1
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_c_werror_flag"
19934 || test ! -s conftest.err'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; } &&
19940 { ac_try='test -s conftest$ac_exeext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_cv_lib_m_asinl=yes
19947 else
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19950
19951 ac_cv_lib_m_asinl=no
19952 fi
19953 rm -f conftest.err conftest.$ac_objext \
19954 conftest$ac_exeext conftest.$ac_ext
19955 LIBS=$ac_check_lib_save_LIBS
19956 fi
19957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19958 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19959 if test $ac_cv_lib_m_asinl = yes; then
19960
19961 cat >>confdefs.h <<\_ACEOF
19962 #define HAVE_ASINL 1
19963 _ACEOF
19964
19965 fi
19966
19967 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19968 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19969 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19970 echo $ECHO_N "(cached) $ECHO_C" >&6
19971 else
19972 ac_check_lib_save_LIBS=$LIBS
19973 LIBS="-lm $LIBS"
19974 if test x$gcc_no_link = xyes; then
19975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19977 { (exit 1); exit 1; }; }
19978 fi
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985
19986 /* Override any gcc2 internal prototype to avoid an error. */
19987 #ifdef __cplusplus
19988 extern "C"
19989 #endif
19990 /* We use char because int might match the return type of a gcc2
19991 builtin and then its argument prototype would still apply. */
19992 char asinhf ();
19993 int
19994 main ()
19995 {
19996 asinhf ();
19997 ;
19998 return 0;
19999 }
20000 _ACEOF
20001 rm -f conftest.$ac_objext conftest$ac_exeext
20002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20003 (eval $ac_link) 2>conftest.er1
20004 ac_status=$?
20005 grep -v '^ *+' conftest.er1 >conftest.err
20006 rm -f conftest.er1
20007 cat conftest.err >&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try='test -z "$ac_c_werror_flag"
20011 || test ! -s conftest.err'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; } &&
20017 { ac_try='test -s conftest$ac_exeext'
20018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20019 (eval $ac_try) 2>&5
20020 ac_status=$?
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); }; }; then
20023 ac_cv_lib_m_asinhf=yes
20024 else
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.$ac_ext >&5
20027
20028 ac_cv_lib_m_asinhf=no
20029 fi
20030 rm -f conftest.err conftest.$ac_objext \
20031 conftest$ac_exeext conftest.$ac_ext
20032 LIBS=$ac_check_lib_save_LIBS
20033 fi
20034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20035 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20036 if test $ac_cv_lib_m_asinhf = yes; then
20037
20038 cat >>confdefs.h <<\_ACEOF
20039 #define HAVE_ASINHF 1
20040 _ACEOF
20041
20042 fi
20043
20044 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20045 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20046 if test "${ac_cv_lib_m_asinh+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049 ac_check_lib_save_LIBS=$LIBS
20050 LIBS="-lm $LIBS"
20051 if test x$gcc_no_link = xyes; then
20052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20054 { (exit 1); exit 1; }; }
20055 fi
20056 cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062
20063 /* Override any gcc2 internal prototype to avoid an error. */
20064 #ifdef __cplusplus
20065 extern "C"
20066 #endif
20067 /* We use char because int might match the return type of a gcc2
20068 builtin and then its argument prototype would still apply. */
20069 char asinh ();
20070 int
20071 main ()
20072 {
20073 asinh ();
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest.$ac_objext conftest$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 2>conftest.er1
20081 ac_status=$?
20082 grep -v '^ *+' conftest.er1 >conftest.err
20083 rm -f conftest.er1
20084 cat conftest.err >&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try='test -z "$ac_c_werror_flag"
20088 || test ! -s conftest.err'
20089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20090 (eval $ac_try) 2>&5
20091 ac_status=$?
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); }; } &&
20094 { ac_try='test -s conftest$ac_exeext'
20095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20096 (eval $ac_try) 2>&5
20097 ac_status=$?
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); }; }; then
20100 ac_cv_lib_m_asinh=yes
20101 else
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20104
20105 ac_cv_lib_m_asinh=no
20106 fi
20107 rm -f conftest.err conftest.$ac_objext \
20108 conftest$ac_exeext conftest.$ac_ext
20109 LIBS=$ac_check_lib_save_LIBS
20110 fi
20111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20112 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20113 if test $ac_cv_lib_m_asinh = yes; then
20114
20115 cat >>confdefs.h <<\_ACEOF
20116 #define HAVE_ASINH 1
20117 _ACEOF
20118
20119 fi
20120
20121 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20122 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20123 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 ac_check_lib_save_LIBS=$LIBS
20127 LIBS="-lm $LIBS"
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20132 fi
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139
20140 /* Override any gcc2 internal prototype to avoid an error. */
20141 #ifdef __cplusplus
20142 extern "C"
20143 #endif
20144 /* We use char because int might match the return type of a gcc2
20145 builtin and then its argument prototype would still apply. */
20146 char asinhl ();
20147 int
20148 main ()
20149 {
20150 asinhl ();
20151 ;
20152 return 0;
20153 }
20154 _ACEOF
20155 rm -f conftest.$ac_objext conftest$ac_exeext
20156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20157 (eval $ac_link) 2>conftest.er1
20158 ac_status=$?
20159 grep -v '^ *+' conftest.er1 >conftest.err
20160 rm -f conftest.er1
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } &&
20164 { ac_try='test -z "$ac_c_werror_flag"
20165 || test ! -s conftest.err'
20166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20167 (eval $ac_try) 2>&5
20168 ac_status=$?
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); }; } &&
20171 { ac_try='test -s conftest$ac_exeext'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20174 ac_status=$?
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; }; then
20177 ac_cv_lib_m_asinhl=yes
20178 else
20179 echo "$as_me: failed program was:" >&5
20180 sed 's/^/| /' conftest.$ac_ext >&5
20181
20182 ac_cv_lib_m_asinhl=no
20183 fi
20184 rm -f conftest.err conftest.$ac_objext \
20185 conftest$ac_exeext conftest.$ac_ext
20186 LIBS=$ac_check_lib_save_LIBS
20187 fi
20188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20189 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20190 if test $ac_cv_lib_m_asinhl = yes; then
20191
20192 cat >>confdefs.h <<\_ACEOF
20193 #define HAVE_ASINHL 1
20194 _ACEOF
20195
20196 fi
20197
20198 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20199 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20200 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203 ac_check_lib_save_LIBS=$LIBS
20204 LIBS="-lm $LIBS"
20205 if test x$gcc_no_link = xyes; then
20206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20208 { (exit 1); exit 1; }; }
20209 fi
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216
20217 /* Override any gcc2 internal prototype to avoid an error. */
20218 #ifdef __cplusplus
20219 extern "C"
20220 #endif
20221 /* We use char because int might match the return type of a gcc2
20222 builtin and then its argument prototype would still apply. */
20223 char atan2f ();
20224 int
20225 main ()
20226 {
20227 atan2f ();
20228 ;
20229 return 0;
20230 }
20231 _ACEOF
20232 rm -f conftest.$ac_objext conftest$ac_exeext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20234 (eval $ac_link) 2>conftest.er1
20235 ac_status=$?
20236 grep -v '^ *+' conftest.er1 >conftest.err
20237 rm -f conftest.er1
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try='test -z "$ac_c_werror_flag"
20242 || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 ac_cv_lib_m_atan2f=yes
20255 else
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20258
20259 ac_cv_lib_m_atan2f=no
20260 fi
20261 rm -f conftest.err conftest.$ac_objext \
20262 conftest$ac_exeext conftest.$ac_ext
20263 LIBS=$ac_check_lib_save_LIBS
20264 fi
20265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20266 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20267 if test $ac_cv_lib_m_atan2f = yes; then
20268
20269 cat >>confdefs.h <<\_ACEOF
20270 #define HAVE_ATAN2F 1
20271 _ACEOF
20272
20273 fi
20274
20275 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20276 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20277 if test "${ac_cv_lib_m_atan2+set}" = set; then
20278 echo $ECHO_N "(cached) $ECHO_C" >&6
20279 else
20280 ac_check_lib_save_LIBS=$LIBS
20281 LIBS="-lm $LIBS"
20282 if test x$gcc_no_link = xyes; then
20283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20285 { (exit 1); exit 1; }; }
20286 fi
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293
20294 /* Override any gcc2 internal prototype to avoid an error. */
20295 #ifdef __cplusplus
20296 extern "C"
20297 #endif
20298 /* We use char because int might match the return type of a gcc2
20299 builtin and then its argument prototype would still apply. */
20300 char atan2 ();
20301 int
20302 main ()
20303 {
20304 atan2 ();
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 rm -f conftest.$ac_objext conftest$ac_exeext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20311 (eval $ac_link) 2>conftest.er1
20312 ac_status=$?
20313 grep -v '^ *+' conftest.er1 >conftest.err
20314 rm -f conftest.er1
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try='test -z "$ac_c_werror_flag"
20319 || test ! -s conftest.err'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; } &&
20325 { ac_try='test -s conftest$ac_exeext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20328 ac_status=$?
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 ac_cv_lib_m_atan2=yes
20332 else
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20335
20336 ac_cv_lib_m_atan2=no
20337 fi
20338 rm -f conftest.err conftest.$ac_objext \
20339 conftest$ac_exeext conftest.$ac_ext
20340 LIBS=$ac_check_lib_save_LIBS
20341 fi
20342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20343 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20344 if test $ac_cv_lib_m_atan2 = yes; then
20345
20346 cat >>confdefs.h <<\_ACEOF
20347 #define HAVE_ATAN2 1
20348 _ACEOF
20349
20350 fi
20351
20352 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20353 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20354 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 else
20357 ac_check_lib_save_LIBS=$LIBS
20358 LIBS="-lm $LIBS"
20359 if test x$gcc_no_link = xyes; then
20360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20362 { (exit 1); exit 1; }; }
20363 fi
20364 cat >conftest.$ac_ext <<_ACEOF
20365 /* confdefs.h. */
20366 _ACEOF
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370
20371 /* Override any gcc2 internal prototype to avoid an error. */
20372 #ifdef __cplusplus
20373 extern "C"
20374 #endif
20375 /* We use char because int might match the return type of a gcc2
20376 builtin and then its argument prototype would still apply. */
20377 char atan2l ();
20378 int
20379 main ()
20380 {
20381 atan2l ();
20382 ;
20383 return 0;
20384 }
20385 _ACEOF
20386 rm -f conftest.$ac_objext conftest$ac_exeext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20388 (eval $ac_link) 2>conftest.er1
20389 ac_status=$?
20390 grep -v '^ *+' conftest.er1 >conftest.err
20391 rm -f conftest.er1
20392 cat conftest.err >&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try='test -z "$ac_c_werror_flag"
20396 || test ! -s conftest.err'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; } &&
20402 { ac_try='test -s conftest$ac_exeext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 ac_cv_lib_m_atan2l=yes
20409 else
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.$ac_ext >&5
20412
20413 ac_cv_lib_m_atan2l=no
20414 fi
20415 rm -f conftest.err conftest.$ac_objext \
20416 conftest$ac_exeext conftest.$ac_ext
20417 LIBS=$ac_check_lib_save_LIBS
20418 fi
20419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20420 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20421 if test $ac_cv_lib_m_atan2l = yes; then
20422
20423 cat >>confdefs.h <<\_ACEOF
20424 #define HAVE_ATAN2L 1
20425 _ACEOF
20426
20427 fi
20428
20429 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20430 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20431 if test "${ac_cv_lib_m_atanf+set}" = set; then
20432 echo $ECHO_N "(cached) $ECHO_C" >&6
20433 else
20434 ac_check_lib_save_LIBS=$LIBS
20435 LIBS="-lm $LIBS"
20436 if test x$gcc_no_link = xyes; then
20437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20439 { (exit 1); exit 1; }; }
20440 fi
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447
20448 /* Override any gcc2 internal prototype to avoid an error. */
20449 #ifdef __cplusplus
20450 extern "C"
20451 #endif
20452 /* We use char because int might match the return type of a gcc2
20453 builtin and then its argument prototype would still apply. */
20454 char atanf ();
20455 int
20456 main ()
20457 {
20458 atanf ();
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 rm -f conftest.$ac_objext conftest$ac_exeext
20464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20465 (eval $ac_link) 2>conftest.er1
20466 ac_status=$?
20467 grep -v '^ *+' conftest.er1 >conftest.err
20468 rm -f conftest.er1
20469 cat conftest.err >&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } &&
20472 { ac_try='test -z "$ac_c_werror_flag"
20473 || test ! -s conftest.err'
20474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475 (eval $ac_try) 2>&5
20476 ac_status=$?
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); }; } &&
20479 { ac_try='test -s conftest$ac_exeext'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; }; then
20485 ac_cv_lib_m_atanf=yes
20486 else
20487 echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.$ac_ext >&5
20489
20490 ac_cv_lib_m_atanf=no
20491 fi
20492 rm -f conftest.err conftest.$ac_objext \
20493 conftest$ac_exeext conftest.$ac_ext
20494 LIBS=$ac_check_lib_save_LIBS
20495 fi
20496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20497 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20498 if test $ac_cv_lib_m_atanf = yes; then
20499
20500 cat >>confdefs.h <<\_ACEOF
20501 #define HAVE_ATANF 1
20502 _ACEOF
20503
20504 fi
20505
20506 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20507 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20508 if test "${ac_cv_lib_m_atan+set}" = set; then
20509 echo $ECHO_N "(cached) $ECHO_C" >&6
20510 else
20511 ac_check_lib_save_LIBS=$LIBS
20512 LIBS="-lm $LIBS"
20513 if test x$gcc_no_link = xyes; then
20514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20516 { (exit 1); exit 1; }; }
20517 fi
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524
20525 /* Override any gcc2 internal prototype to avoid an error. */
20526 #ifdef __cplusplus
20527 extern "C"
20528 #endif
20529 /* We use char because int might match the return type of a gcc2
20530 builtin and then its argument prototype would still apply. */
20531 char atan ();
20532 int
20533 main ()
20534 {
20535 atan ();
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 rm -f conftest.$ac_objext conftest$ac_exeext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20542 (eval $ac_link) 2>conftest.er1
20543 ac_status=$?
20544 grep -v '^ *+' conftest.er1 >conftest.err
20545 rm -f conftest.er1
20546 cat conftest.err >&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try='test -z "$ac_c_werror_flag"
20550 || test ! -s conftest.err'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20553 ac_status=$?
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; } &&
20556 { ac_try='test -s conftest$ac_exeext'
20557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20559 ac_status=$?
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); }; }; then
20562 ac_cv_lib_m_atan=yes
20563 else
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 ac_cv_lib_m_atan=no
20568 fi
20569 rm -f conftest.err conftest.$ac_objext \
20570 conftest$ac_exeext conftest.$ac_ext
20571 LIBS=$ac_check_lib_save_LIBS
20572 fi
20573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20574 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20575 if test $ac_cv_lib_m_atan = yes; then
20576
20577 cat >>confdefs.h <<\_ACEOF
20578 #define HAVE_ATAN 1
20579 _ACEOF
20580
20581 fi
20582
20583 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20584 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20585 if test "${ac_cv_lib_m_atanl+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 else
20588 ac_check_lib_save_LIBS=$LIBS
20589 LIBS="-lm $LIBS"
20590 if test x$gcc_no_link = xyes; then
20591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20593 { (exit 1); exit 1; }; }
20594 fi
20595 cat >conftest.$ac_ext <<_ACEOF
20596 /* confdefs.h. */
20597 _ACEOF
20598 cat confdefs.h >>conftest.$ac_ext
20599 cat >>conftest.$ac_ext <<_ACEOF
20600 /* end confdefs.h. */
20601
20602 /* Override any gcc2 internal prototype to avoid an error. */
20603 #ifdef __cplusplus
20604 extern "C"
20605 #endif
20606 /* We use char because int might match the return type of a gcc2
20607 builtin and then its argument prototype would still apply. */
20608 char atanl ();
20609 int
20610 main ()
20611 {
20612 atanl ();
20613 ;
20614 return 0;
20615 }
20616 _ACEOF
20617 rm -f conftest.$ac_objext conftest$ac_exeext
20618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20619 (eval $ac_link) 2>conftest.er1
20620 ac_status=$?
20621 grep -v '^ *+' conftest.er1 >conftest.err
20622 rm -f conftest.er1
20623 cat conftest.err >&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } &&
20626 { ac_try='test -z "$ac_c_werror_flag"
20627 || test ! -s conftest.err'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20630 ac_status=$?
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; } &&
20633 { ac_try='test -s conftest$ac_exeext'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20636 ac_status=$?
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; }; then
20639 ac_cv_lib_m_atanl=yes
20640 else
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.$ac_ext >&5
20643
20644 ac_cv_lib_m_atanl=no
20645 fi
20646 rm -f conftest.err conftest.$ac_objext \
20647 conftest$ac_exeext conftest.$ac_ext
20648 LIBS=$ac_check_lib_save_LIBS
20649 fi
20650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20651 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20652 if test $ac_cv_lib_m_atanl = yes; then
20653
20654 cat >>confdefs.h <<\_ACEOF
20655 #define HAVE_ATANL 1
20656 _ACEOF
20657
20658 fi
20659
20660 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20661 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20662 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 else
20665 ac_check_lib_save_LIBS=$LIBS
20666 LIBS="-lm $LIBS"
20667 if test x$gcc_no_link = xyes; then
20668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20670 { (exit 1); exit 1; }; }
20671 fi
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678
20679 /* Override any gcc2 internal prototype to avoid an error. */
20680 #ifdef __cplusplus
20681 extern "C"
20682 #endif
20683 /* We use char because int might match the return type of a gcc2
20684 builtin and then its argument prototype would still apply. */
20685 char atanhf ();
20686 int
20687 main ()
20688 {
20689 atanhf ();
20690 ;
20691 return 0;
20692 }
20693 _ACEOF
20694 rm -f conftest.$ac_objext conftest$ac_exeext
20695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20696 (eval $ac_link) 2>conftest.er1
20697 ac_status=$?
20698 grep -v '^ *+' conftest.er1 >conftest.err
20699 rm -f conftest.er1
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try='test -z "$ac_c_werror_flag"
20704 || test ! -s conftest.err'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; } &&
20710 { ac_try='test -s conftest$ac_exeext'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 ac_cv_lib_m_atanhf=yes
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 ac_cv_lib_m_atanhf=no
20722 fi
20723 rm -f conftest.err conftest.$ac_objext \
20724 conftest$ac_exeext conftest.$ac_ext
20725 LIBS=$ac_check_lib_save_LIBS
20726 fi
20727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20728 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20729 if test $ac_cv_lib_m_atanhf = yes; then
20730
20731 cat >>confdefs.h <<\_ACEOF
20732 #define HAVE_ATANHF 1
20733 _ACEOF
20734
20735 fi
20736
20737 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20738 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20739 if test "${ac_cv_lib_m_atanh+set}" = set; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 else
20742 ac_check_lib_save_LIBS=$LIBS
20743 LIBS="-lm $LIBS"
20744 if test x$gcc_no_link = xyes; then
20745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20747 { (exit 1); exit 1; }; }
20748 fi
20749 cat >conftest.$ac_ext <<_ACEOF
20750 /* confdefs.h. */
20751 _ACEOF
20752 cat confdefs.h >>conftest.$ac_ext
20753 cat >>conftest.$ac_ext <<_ACEOF
20754 /* end confdefs.h. */
20755
20756 /* Override any gcc2 internal prototype to avoid an error. */
20757 #ifdef __cplusplus
20758 extern "C"
20759 #endif
20760 /* We use char because int might match the return type of a gcc2
20761 builtin and then its argument prototype would still apply. */
20762 char atanh ();
20763 int
20764 main ()
20765 {
20766 atanh ();
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest.$ac_objext conftest$ac_exeext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20773 (eval $ac_link) 2>conftest.er1
20774 ac_status=$?
20775 grep -v '^ *+' conftest.er1 >conftest.err
20776 rm -f conftest.er1
20777 cat conftest.err >&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try='test -z "$ac_c_werror_flag"
20781 || test ! -s conftest.err'
20782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20783 (eval $ac_try) 2>&5
20784 ac_status=$?
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); }; } &&
20787 { ac_try='test -s conftest$ac_exeext'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20790 ac_status=$?
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; }; then
20793 ac_cv_lib_m_atanh=yes
20794 else
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20797
20798 ac_cv_lib_m_atanh=no
20799 fi
20800 rm -f conftest.err conftest.$ac_objext \
20801 conftest$ac_exeext conftest.$ac_ext
20802 LIBS=$ac_check_lib_save_LIBS
20803 fi
20804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20805 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20806 if test $ac_cv_lib_m_atanh = yes; then
20807
20808 cat >>confdefs.h <<\_ACEOF
20809 #define HAVE_ATANH 1
20810 _ACEOF
20811
20812 fi
20813
20814 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20815 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20816 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20818 else
20819 ac_check_lib_save_LIBS=$LIBS
20820 LIBS="-lm $LIBS"
20821 if test x$gcc_no_link = xyes; then
20822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20824 { (exit 1); exit 1; }; }
20825 fi
20826 cat >conftest.$ac_ext <<_ACEOF
20827 /* confdefs.h. */
20828 _ACEOF
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832
20833 /* Override any gcc2 internal prototype to avoid an error. */
20834 #ifdef __cplusplus
20835 extern "C"
20836 #endif
20837 /* We use char because int might match the return type of a gcc2
20838 builtin and then its argument prototype would still apply. */
20839 char atanhl ();
20840 int
20841 main ()
20842 {
20843 atanhl ();
20844 ;
20845 return 0;
20846 }
20847 _ACEOF
20848 rm -f conftest.$ac_objext conftest$ac_exeext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20850 (eval $ac_link) 2>conftest.er1
20851 ac_status=$?
20852 grep -v '^ *+' conftest.er1 >conftest.err
20853 rm -f conftest.er1
20854 cat conftest.err >&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } &&
20857 { ac_try='test -z "$ac_c_werror_flag"
20858 || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20861 ac_status=$?
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try='test -s conftest$ac_exeext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_cv_lib_m_atanhl=yes
20871 else
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20874
20875 ac_cv_lib_m_atanhl=no
20876 fi
20877 rm -f conftest.err conftest.$ac_objext \
20878 conftest$ac_exeext conftest.$ac_ext
20879 LIBS=$ac_check_lib_save_LIBS
20880 fi
20881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20882 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20883 if test $ac_cv_lib_m_atanhl = yes; then
20884
20885 cat >>confdefs.h <<\_ACEOF
20886 #define HAVE_ATANHL 1
20887 _ACEOF
20888
20889 fi
20890
20891 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20892 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20893 if test "${ac_cv_lib_m_cargf+set}" = set; then
20894 echo $ECHO_N "(cached) $ECHO_C" >&6
20895 else
20896 ac_check_lib_save_LIBS=$LIBS
20897 LIBS="-lm $LIBS"
20898 if test x$gcc_no_link = xyes; then
20899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20901 { (exit 1); exit 1; }; }
20902 fi
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909
20910 /* Override any gcc2 internal prototype to avoid an error. */
20911 #ifdef __cplusplus
20912 extern "C"
20913 #endif
20914 /* We use char because int might match the return type of a gcc2
20915 builtin and then its argument prototype would still apply. */
20916 char cargf ();
20917 int
20918 main ()
20919 {
20920 cargf ();
20921 ;
20922 return 0;
20923 }
20924 _ACEOF
20925 rm -f conftest.$ac_objext conftest$ac_exeext
20926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20927 (eval $ac_link) 2>conftest.er1
20928 ac_status=$?
20929 grep -v '^ *+' conftest.er1 >conftest.err
20930 rm -f conftest.er1
20931 cat conftest.err >&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } &&
20934 { ac_try='test -z "$ac_c_werror_flag"
20935 || test ! -s conftest.err'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20938 ac_status=$?
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; } &&
20941 { ac_try='test -s conftest$ac_exeext'
20942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20943 (eval $ac_try) 2>&5
20944 ac_status=$?
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); }; }; then
20947 ac_cv_lib_m_cargf=yes
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952 ac_cv_lib_m_cargf=no
20953 fi
20954 rm -f conftest.err conftest.$ac_objext \
20955 conftest$ac_exeext conftest.$ac_ext
20956 LIBS=$ac_check_lib_save_LIBS
20957 fi
20958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20959 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20960 if test $ac_cv_lib_m_cargf = yes; then
20961
20962 cat >>confdefs.h <<\_ACEOF
20963 #define HAVE_CARGF 1
20964 _ACEOF
20965
20966 fi
20967
20968 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20969 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20970 if test "${ac_cv_lib_m_carg+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 else
20973 ac_check_lib_save_LIBS=$LIBS
20974 LIBS="-lm $LIBS"
20975 if test x$gcc_no_link = xyes; then
20976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20978 { (exit 1); exit 1; }; }
20979 fi
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986
20987 /* Override any gcc2 internal prototype to avoid an error. */
20988 #ifdef __cplusplus
20989 extern "C"
20990 #endif
20991 /* We use char because int might match the return type of a gcc2
20992 builtin and then its argument prototype would still apply. */
20993 char carg ();
20994 int
20995 main ()
20996 {
20997 carg ();
20998 ;
20999 return 0;
21000 }
21001 _ACEOF
21002 rm -f conftest.$ac_objext conftest$ac_exeext
21003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21004 (eval $ac_link) 2>conftest.er1
21005 ac_status=$?
21006 grep -v '^ *+' conftest.er1 >conftest.err
21007 rm -f conftest.er1
21008 cat conftest.err >&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } &&
21011 { ac_try='test -z "$ac_c_werror_flag"
21012 || test ! -s conftest.err'
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21015 ac_status=$?
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; } &&
21018 { ac_try='test -s conftest$ac_exeext'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; }; then
21024 ac_cv_lib_m_carg=yes
21025 else
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21028
21029 ac_cv_lib_m_carg=no
21030 fi
21031 rm -f conftest.err conftest.$ac_objext \
21032 conftest$ac_exeext conftest.$ac_ext
21033 LIBS=$ac_check_lib_save_LIBS
21034 fi
21035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21036 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21037 if test $ac_cv_lib_m_carg = yes; then
21038
21039 cat >>confdefs.h <<\_ACEOF
21040 #define HAVE_CARG 1
21041 _ACEOF
21042
21043 fi
21044
21045 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21046 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21047 if test "${ac_cv_lib_m_cargl+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21049 else
21050 ac_check_lib_save_LIBS=$LIBS
21051 LIBS="-lm $LIBS"
21052 if test x$gcc_no_link = xyes; then
21053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21055 { (exit 1); exit 1; }; }
21056 fi
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063
21064 /* Override any gcc2 internal prototype to avoid an error. */
21065 #ifdef __cplusplus
21066 extern "C"
21067 #endif
21068 /* We use char because int might match the return type of a gcc2
21069 builtin and then its argument prototype would still apply. */
21070 char cargl ();
21071 int
21072 main ()
21073 {
21074 cargl ();
21075 ;
21076 return 0;
21077 }
21078 _ACEOF
21079 rm -f conftest.$ac_objext conftest$ac_exeext
21080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21081 (eval $ac_link) 2>conftest.er1
21082 ac_status=$?
21083 grep -v '^ *+' conftest.er1 >conftest.err
21084 rm -f conftest.er1
21085 cat conftest.err >&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } &&
21088 { ac_try='test -z "$ac_c_werror_flag"
21089 || test ! -s conftest.err'
21090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091 (eval $ac_try) 2>&5
21092 ac_status=$?
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; } &&
21095 { ac_try='test -s conftest$ac_exeext'
21096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097 (eval $ac_try) 2>&5
21098 ac_status=$?
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); }; }; then
21101 ac_cv_lib_m_cargl=yes
21102 else
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21105
21106 ac_cv_lib_m_cargl=no
21107 fi
21108 rm -f conftest.err conftest.$ac_objext \
21109 conftest$ac_exeext conftest.$ac_ext
21110 LIBS=$ac_check_lib_save_LIBS
21111 fi
21112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21113 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21114 if test $ac_cv_lib_m_cargl = yes; then
21115
21116 cat >>confdefs.h <<\_ACEOF
21117 #define HAVE_CARGL 1
21118 _ACEOF
21119
21120 fi
21121
21122 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21123 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21124 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21126 else
21127 ac_check_lib_save_LIBS=$LIBS
21128 LIBS="-lm $LIBS"
21129 if test x$gcc_no_link = xyes; then
21130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21132 { (exit 1); exit 1; }; }
21133 fi
21134 cat >conftest.$ac_ext <<_ACEOF
21135 /* confdefs.h. */
21136 _ACEOF
21137 cat confdefs.h >>conftest.$ac_ext
21138 cat >>conftest.$ac_ext <<_ACEOF
21139 /* end confdefs.h. */
21140
21141 /* Override any gcc2 internal prototype to avoid an error. */
21142 #ifdef __cplusplus
21143 extern "C"
21144 #endif
21145 /* We use char because int might match the return type of a gcc2
21146 builtin and then its argument prototype would still apply. */
21147 char ceilf ();
21148 int
21149 main ()
21150 {
21151 ceilf ();
21152 ;
21153 return 0;
21154 }
21155 _ACEOF
21156 rm -f conftest.$ac_objext conftest$ac_exeext
21157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21158 (eval $ac_link) 2>conftest.er1
21159 ac_status=$?
21160 grep -v '^ *+' conftest.er1 >conftest.err
21161 rm -f conftest.er1
21162 cat conftest.err >&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } &&
21165 { ac_try='test -z "$ac_c_werror_flag"
21166 || test ! -s conftest.err'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21169 ac_status=$?
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; } &&
21172 { ac_try='test -s conftest$ac_exeext'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21175 ac_status=$?
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21178 ac_cv_lib_m_ceilf=yes
21179 else
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ac_cv_lib_m_ceilf=no
21184 fi
21185 rm -f conftest.err conftest.$ac_objext \
21186 conftest$ac_exeext conftest.$ac_ext
21187 LIBS=$ac_check_lib_save_LIBS
21188 fi
21189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21190 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21191 if test $ac_cv_lib_m_ceilf = yes; then
21192
21193 cat >>confdefs.h <<\_ACEOF
21194 #define HAVE_CEILF 1
21195 _ACEOF
21196
21197 fi
21198
21199 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21200 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21201 if test "${ac_cv_lib_m_ceil+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 else
21204 ac_check_lib_save_LIBS=$LIBS
21205 LIBS="-lm $LIBS"
21206 if test x$gcc_no_link = xyes; then
21207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21209 { (exit 1); exit 1; }; }
21210 fi
21211 cat >conftest.$ac_ext <<_ACEOF
21212 /* confdefs.h. */
21213 _ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217
21218 /* Override any gcc2 internal prototype to avoid an error. */
21219 #ifdef __cplusplus
21220 extern "C"
21221 #endif
21222 /* We use char because int might match the return type of a gcc2
21223 builtin and then its argument prototype would still apply. */
21224 char ceil ();
21225 int
21226 main ()
21227 {
21228 ceil ();
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext conftest$ac_exeext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21235 (eval $ac_link) 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try='test -z "$ac_c_werror_flag"
21243 || test ! -s conftest.err'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; } &&
21249 { ac_try='test -s conftest$ac_exeext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21252 ac_status=$?
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_lib_m_ceil=yes
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_cv_lib_m_ceil=no
21261 fi
21262 rm -f conftest.err conftest.$ac_objext \
21263 conftest$ac_exeext conftest.$ac_ext
21264 LIBS=$ac_check_lib_save_LIBS
21265 fi
21266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21267 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21268 if test $ac_cv_lib_m_ceil = yes; then
21269
21270 cat >>confdefs.h <<\_ACEOF
21271 #define HAVE_CEIL 1
21272 _ACEOF
21273
21274 fi
21275
21276 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21277 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21278 if test "${ac_cv_lib_m_ceill+set}" = set; then
21279 echo $ECHO_N "(cached) $ECHO_C" >&6
21280 else
21281 ac_check_lib_save_LIBS=$LIBS
21282 LIBS="-lm $LIBS"
21283 if test x$gcc_no_link = xyes; then
21284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21286 { (exit 1); exit 1; }; }
21287 fi
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294
21295 /* Override any gcc2 internal prototype to avoid an error. */
21296 #ifdef __cplusplus
21297 extern "C"
21298 #endif
21299 /* We use char because int might match the return type of a gcc2
21300 builtin and then its argument prototype would still apply. */
21301 char ceill ();
21302 int
21303 main ()
21304 {
21305 ceill ();
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext conftest$ac_exeext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21312 (eval $ac_link) 2>conftest.er1
21313 ac_status=$?
21314 grep -v '^ *+' conftest.er1 >conftest.err
21315 rm -f conftest.er1
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try='test -z "$ac_c_werror_flag"
21320 || test ! -s conftest.err'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21323 ac_status=$?
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; } &&
21326 { ac_try='test -s conftest$ac_exeext'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; }; then
21332 ac_cv_lib_m_ceill=yes
21333 else
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.$ac_ext >&5
21336
21337 ac_cv_lib_m_ceill=no
21338 fi
21339 rm -f conftest.err conftest.$ac_objext \
21340 conftest$ac_exeext conftest.$ac_ext
21341 LIBS=$ac_check_lib_save_LIBS
21342 fi
21343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21344 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21345 if test $ac_cv_lib_m_ceill = yes; then
21346
21347 cat >>confdefs.h <<\_ACEOF
21348 #define HAVE_CEILL 1
21349 _ACEOF
21350
21351 fi
21352
21353 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21354 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21355 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21357 else
21358 ac_check_lib_save_LIBS=$LIBS
21359 LIBS="-lm $LIBS"
21360 if test x$gcc_no_link = xyes; then
21361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21363 { (exit 1); exit 1; }; }
21364 fi
21365 cat >conftest.$ac_ext <<_ACEOF
21366 /* confdefs.h. */
21367 _ACEOF
21368 cat confdefs.h >>conftest.$ac_ext
21369 cat >>conftest.$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371
21372 /* Override any gcc2 internal prototype to avoid an error. */
21373 #ifdef __cplusplus
21374 extern "C"
21375 #endif
21376 /* We use char because int might match the return type of a gcc2
21377 builtin and then its argument prototype would still apply. */
21378 char copysignf ();
21379 int
21380 main ()
21381 {
21382 copysignf ();
21383 ;
21384 return 0;
21385 }
21386 _ACEOF
21387 rm -f conftest.$ac_objext conftest$ac_exeext
21388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21389 (eval $ac_link) 2>conftest.er1
21390 ac_status=$?
21391 grep -v '^ *+' conftest.er1 >conftest.err
21392 rm -f conftest.er1
21393 cat conftest.err >&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } &&
21396 { ac_try='test -z "$ac_c_werror_flag"
21397 || test ! -s conftest.err'
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399 (eval $ac_try) 2>&5
21400 ac_status=$?
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; } &&
21403 { ac_try='test -s conftest$ac_exeext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_lib_m_copysignf=yes
21410 else
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.$ac_ext >&5
21413
21414 ac_cv_lib_m_copysignf=no
21415 fi
21416 rm -f conftest.err conftest.$ac_objext \
21417 conftest$ac_exeext conftest.$ac_ext
21418 LIBS=$ac_check_lib_save_LIBS
21419 fi
21420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21421 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21422 if test $ac_cv_lib_m_copysignf = yes; then
21423
21424 cat >>confdefs.h <<\_ACEOF
21425 #define HAVE_COPYSIGNF 1
21426 _ACEOF
21427
21428 fi
21429
21430 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21431 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21432 if test "${ac_cv_lib_m_copysign+set}" = set; then
21433 echo $ECHO_N "(cached) $ECHO_C" >&6
21434 else
21435 ac_check_lib_save_LIBS=$LIBS
21436 LIBS="-lm $LIBS"
21437 if test x$gcc_no_link = xyes; then
21438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21440 { (exit 1); exit 1; }; }
21441 fi
21442 cat >conftest.$ac_ext <<_ACEOF
21443 /* confdefs.h. */
21444 _ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448
21449 /* Override any gcc2 internal prototype to avoid an error. */
21450 #ifdef __cplusplus
21451 extern "C"
21452 #endif
21453 /* We use char because int might match the return type of a gcc2
21454 builtin and then its argument prototype would still apply. */
21455 char copysign ();
21456 int
21457 main ()
21458 {
21459 copysign ();
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext conftest$ac_exeext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21466 (eval $ac_link) 2>conftest.er1
21467 ac_status=$?
21468 grep -v '^ *+' conftest.er1 >conftest.err
21469 rm -f conftest.er1
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try='test -z "$ac_c_werror_flag"
21474 || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21477 ac_status=$?
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try='test -s conftest$ac_exeext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 ac_cv_lib_m_copysign=yes
21487 else
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21490
21491 ac_cv_lib_m_copysign=no
21492 fi
21493 rm -f conftest.err conftest.$ac_objext \
21494 conftest$ac_exeext conftest.$ac_ext
21495 LIBS=$ac_check_lib_save_LIBS
21496 fi
21497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21498 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21499 if test $ac_cv_lib_m_copysign = yes; then
21500
21501 cat >>confdefs.h <<\_ACEOF
21502 #define HAVE_COPYSIGN 1
21503 _ACEOF
21504
21505 fi
21506
21507 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21508 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21509 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21510 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 else
21512 ac_check_lib_save_LIBS=$LIBS
21513 LIBS="-lm $LIBS"
21514 if test x$gcc_no_link = xyes; then
21515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21517 { (exit 1); exit 1; }; }
21518 fi
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525
21526 /* Override any gcc2 internal prototype to avoid an error. */
21527 #ifdef __cplusplus
21528 extern "C"
21529 #endif
21530 /* We use char because int might match the return type of a gcc2
21531 builtin and then its argument prototype would still apply. */
21532 char copysignl ();
21533 int
21534 main ()
21535 {
21536 copysignl ();
21537 ;
21538 return 0;
21539 }
21540 _ACEOF
21541 rm -f conftest.$ac_objext conftest$ac_exeext
21542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21543 (eval $ac_link) 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } &&
21550 { ac_try='test -z "$ac_c_werror_flag"
21551 || test ! -s conftest.err'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try='test -s conftest$ac_exeext'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 ac_cv_lib_m_copysignl=yes
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 ac_cv_lib_m_copysignl=no
21569 fi
21570 rm -f conftest.err conftest.$ac_objext \
21571 conftest$ac_exeext conftest.$ac_ext
21572 LIBS=$ac_check_lib_save_LIBS
21573 fi
21574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21575 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21576 if test $ac_cv_lib_m_copysignl = yes; then
21577
21578 cat >>confdefs.h <<\_ACEOF
21579 #define HAVE_COPYSIGNL 1
21580 _ACEOF
21581
21582 fi
21583
21584 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21585 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21586 if test "${ac_cv_lib_m_cosf+set}" = set; then
21587 echo $ECHO_N "(cached) $ECHO_C" >&6
21588 else
21589 ac_check_lib_save_LIBS=$LIBS
21590 LIBS="-lm $LIBS"
21591 if test x$gcc_no_link = xyes; then
21592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21594 { (exit 1); exit 1; }; }
21595 fi
21596 cat >conftest.$ac_ext <<_ACEOF
21597 /* confdefs.h. */
21598 _ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602
21603 /* Override any gcc2 internal prototype to avoid an error. */
21604 #ifdef __cplusplus
21605 extern "C"
21606 #endif
21607 /* We use char because int might match the return type of a gcc2
21608 builtin and then its argument prototype would still apply. */
21609 char cosf ();
21610 int
21611 main ()
21612 {
21613 cosf ();
21614 ;
21615 return 0;
21616 }
21617 _ACEOF
21618 rm -f conftest.$ac_objext conftest$ac_exeext
21619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21620 (eval $ac_link) 2>conftest.er1
21621 ac_status=$?
21622 grep -v '^ *+' conftest.er1 >conftest.err
21623 rm -f conftest.er1
21624 cat conftest.err >&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try='test -z "$ac_c_werror_flag"
21628 || test ! -s conftest.err'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21631 ac_status=$?
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; } &&
21634 { ac_try='test -s conftest$ac_exeext'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21637 ac_status=$?
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; }; then
21640 ac_cv_lib_m_cosf=yes
21641 else
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21644
21645 ac_cv_lib_m_cosf=no
21646 fi
21647 rm -f conftest.err conftest.$ac_objext \
21648 conftest$ac_exeext conftest.$ac_ext
21649 LIBS=$ac_check_lib_save_LIBS
21650 fi
21651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21652 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21653 if test $ac_cv_lib_m_cosf = yes; then
21654
21655 cat >>confdefs.h <<\_ACEOF
21656 #define HAVE_COSF 1
21657 _ACEOF
21658
21659 fi
21660
21661 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21662 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21663 if test "${ac_cv_lib_m_cos+set}" = set; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 else
21666 ac_check_lib_save_LIBS=$LIBS
21667 LIBS="-lm $LIBS"
21668 if test x$gcc_no_link = xyes; then
21669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21671 { (exit 1); exit 1; }; }
21672 fi
21673 cat >conftest.$ac_ext <<_ACEOF
21674 /* confdefs.h. */
21675 _ACEOF
21676 cat confdefs.h >>conftest.$ac_ext
21677 cat >>conftest.$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679
21680 /* Override any gcc2 internal prototype to avoid an error. */
21681 #ifdef __cplusplus
21682 extern "C"
21683 #endif
21684 /* We use char because int might match the return type of a gcc2
21685 builtin and then its argument prototype would still apply. */
21686 char cos ();
21687 int
21688 main ()
21689 {
21690 cos ();
21691 ;
21692 return 0;
21693 }
21694 _ACEOF
21695 rm -f conftest.$ac_objext conftest$ac_exeext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21697 (eval $ac_link) 2>conftest.er1
21698 ac_status=$?
21699 grep -v '^ *+' conftest.er1 >conftest.err
21700 rm -f conftest.er1
21701 cat conftest.err >&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try='test -z "$ac_c_werror_flag"
21705 || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21708 ac_status=$?
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try='test -s conftest$ac_exeext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21714 ac_status=$?
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 ac_cv_lib_m_cos=yes
21718 else
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21721
21722 ac_cv_lib_m_cos=no
21723 fi
21724 rm -f conftest.err conftest.$ac_objext \
21725 conftest$ac_exeext conftest.$ac_ext
21726 LIBS=$ac_check_lib_save_LIBS
21727 fi
21728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21729 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21730 if test $ac_cv_lib_m_cos = yes; then
21731
21732 cat >>confdefs.h <<\_ACEOF
21733 #define HAVE_COS 1
21734 _ACEOF
21735
21736 fi
21737
21738 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21739 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21740 if test "${ac_cv_lib_m_cosl+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 else
21743 ac_check_lib_save_LIBS=$LIBS
21744 LIBS="-lm $LIBS"
21745 if test x$gcc_no_link = xyes; then
21746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21748 { (exit 1); exit 1; }; }
21749 fi
21750 cat >conftest.$ac_ext <<_ACEOF
21751 /* confdefs.h. */
21752 _ACEOF
21753 cat confdefs.h >>conftest.$ac_ext
21754 cat >>conftest.$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21756
21757 /* Override any gcc2 internal prototype to avoid an error. */
21758 #ifdef __cplusplus
21759 extern "C"
21760 #endif
21761 /* We use char because int might match the return type of a gcc2
21762 builtin and then its argument prototype would still apply. */
21763 char cosl ();
21764 int
21765 main ()
21766 {
21767 cosl ();
21768 ;
21769 return 0;
21770 }
21771 _ACEOF
21772 rm -f conftest.$ac_objext conftest$ac_exeext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21774 (eval $ac_link) 2>conftest.er1
21775 ac_status=$?
21776 grep -v '^ *+' conftest.er1 >conftest.err
21777 rm -f conftest.er1
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try='test -z "$ac_c_werror_flag"
21782 || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest$ac_exeext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 ac_cv_lib_m_cosl=yes
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_cv_lib_m_cosl=no
21800 fi
21801 rm -f conftest.err conftest.$ac_objext \
21802 conftest$ac_exeext conftest.$ac_ext
21803 LIBS=$ac_check_lib_save_LIBS
21804 fi
21805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21806 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21807 if test $ac_cv_lib_m_cosl = yes; then
21808
21809 cat >>confdefs.h <<\_ACEOF
21810 #define HAVE_COSL 1
21811 _ACEOF
21812
21813 fi
21814
21815 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21816 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21817 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 else
21820 ac_check_lib_save_LIBS=$LIBS
21821 LIBS="-lm $LIBS"
21822 if test x$gcc_no_link = xyes; then
21823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21825 { (exit 1); exit 1; }; }
21826 fi
21827 cat >conftest.$ac_ext <<_ACEOF
21828 /* confdefs.h. */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833
21834 /* Override any gcc2 internal prototype to avoid an error. */
21835 #ifdef __cplusplus
21836 extern "C"
21837 #endif
21838 /* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21840 char ccosf ();
21841 int
21842 main ()
21843 {
21844 ccosf ();
21845 ;
21846 return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext conftest$ac_exeext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21851 (eval $ac_link) 2>conftest.er1
21852 ac_status=$?
21853 grep -v '^ *+' conftest.er1 >conftest.err
21854 rm -f conftest.er1
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } &&
21858 { ac_try='test -z "$ac_c_werror_flag"
21859 || test ! -s conftest.err'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try='test -s conftest$ac_exeext'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; }; then
21871 ac_cv_lib_m_ccosf=yes
21872 else
21873 echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.$ac_ext >&5
21875
21876 ac_cv_lib_m_ccosf=no
21877 fi
21878 rm -f conftest.err conftest.$ac_objext \
21879 conftest$ac_exeext conftest.$ac_ext
21880 LIBS=$ac_check_lib_save_LIBS
21881 fi
21882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21883 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21884 if test $ac_cv_lib_m_ccosf = yes; then
21885
21886 cat >>confdefs.h <<\_ACEOF
21887 #define HAVE_CCOSF 1
21888 _ACEOF
21889
21890 fi
21891
21892 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21893 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21894 if test "${ac_cv_lib_m_ccos+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21896 else
21897 ac_check_lib_save_LIBS=$LIBS
21898 LIBS="-lm $LIBS"
21899 if test x$gcc_no_link = xyes; then
21900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21902 { (exit 1); exit 1; }; }
21903 fi
21904 cat >conftest.$ac_ext <<_ACEOF
21905 /* confdefs.h. */
21906 _ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21910
21911 /* Override any gcc2 internal prototype to avoid an error. */
21912 #ifdef __cplusplus
21913 extern "C"
21914 #endif
21915 /* We use char because int might match the return type of a gcc2
21916 builtin and then its argument prototype would still apply. */
21917 char ccos ();
21918 int
21919 main ()
21920 {
21921 ccos ();
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext conftest$ac_exeext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21928 (eval $ac_link) 2>conftest.er1
21929 ac_status=$?
21930 grep -v '^ *+' conftest.er1 >conftest.err
21931 rm -f conftest.er1
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_c_werror_flag"
21936 || test ! -s conftest.err'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21939 ac_status=$?
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; } &&
21942 { ac_try='test -s conftest$ac_exeext'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; }; then
21948 ac_cv_lib_m_ccos=yes
21949 else
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21952
21953 ac_cv_lib_m_ccos=no
21954 fi
21955 rm -f conftest.err conftest.$ac_objext \
21956 conftest$ac_exeext conftest.$ac_ext
21957 LIBS=$ac_check_lib_save_LIBS
21958 fi
21959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21960 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21961 if test $ac_cv_lib_m_ccos = yes; then
21962
21963 cat >>confdefs.h <<\_ACEOF
21964 #define HAVE_CCOS 1
21965 _ACEOF
21966
21967 fi
21968
21969 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21970 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21971 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 else
21974 ac_check_lib_save_LIBS=$LIBS
21975 LIBS="-lm $LIBS"
21976 if test x$gcc_no_link = xyes; then
21977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21979 { (exit 1); exit 1; }; }
21980 fi
21981 cat >conftest.$ac_ext <<_ACEOF
21982 /* confdefs.h. */
21983 _ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987
21988 /* Override any gcc2 internal prototype to avoid an error. */
21989 #ifdef __cplusplus
21990 extern "C"
21991 #endif
21992 /* We use char because int might match the return type of a gcc2
21993 builtin and then its argument prototype would still apply. */
21994 char ccosl ();
21995 int
21996 main ()
21997 {
21998 ccosl ();
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext conftest$ac_exeext
22004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22005 (eval $ac_link) 2>conftest.er1
22006 ac_status=$?
22007 grep -v '^ *+' conftest.er1 >conftest.err
22008 rm -f conftest.er1
22009 cat conftest.err >&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try='test -z "$ac_c_werror_flag"
22013 || test ! -s conftest.err'
22014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22015 (eval $ac_try) 2>&5
22016 ac_status=$?
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); }; } &&
22019 { ac_try='test -s conftest$ac_exeext'
22020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22021 (eval $ac_try) 2>&5
22022 ac_status=$?
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; }; then
22025 ac_cv_lib_m_ccosl=yes
22026 else
22027 echo "$as_me: failed program was:" >&5
22028 sed 's/^/| /' conftest.$ac_ext >&5
22029
22030 ac_cv_lib_m_ccosl=no
22031 fi
22032 rm -f conftest.err conftest.$ac_objext \
22033 conftest$ac_exeext conftest.$ac_ext
22034 LIBS=$ac_check_lib_save_LIBS
22035 fi
22036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22037 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22038 if test $ac_cv_lib_m_ccosl = yes; then
22039
22040 cat >>confdefs.h <<\_ACEOF
22041 #define HAVE_CCOSL 1
22042 _ACEOF
22043
22044 fi
22045
22046 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22047 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22048 if test "${ac_cv_lib_m_coshf+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051 ac_check_lib_save_LIBS=$LIBS
22052 LIBS="-lm $LIBS"
22053 if test x$gcc_no_link = xyes; then
22054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22056 { (exit 1); exit 1; }; }
22057 fi
22058 cat >conftest.$ac_ext <<_ACEOF
22059 /* confdefs.h. */
22060 _ACEOF
22061 cat confdefs.h >>conftest.$ac_ext
22062 cat >>conftest.$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064
22065 /* Override any gcc2 internal prototype to avoid an error. */
22066 #ifdef __cplusplus
22067 extern "C"
22068 #endif
22069 /* We use char because int might match the return type of a gcc2
22070 builtin and then its argument prototype would still apply. */
22071 char coshf ();
22072 int
22073 main ()
22074 {
22075 coshf ();
22076 ;
22077 return 0;
22078 }
22079 _ACEOF
22080 rm -f conftest.$ac_objext conftest$ac_exeext
22081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22082 (eval $ac_link) 2>conftest.er1
22083 ac_status=$?
22084 grep -v '^ *+' conftest.er1 >conftest.err
22085 rm -f conftest.er1
22086 cat conftest.err >&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); } &&
22089 { ac_try='test -z "$ac_c_werror_flag"
22090 || test ! -s conftest.err'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; } &&
22096 { ac_try='test -s conftest$ac_exeext'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_cv_lib_m_coshf=yes
22103 else
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22106
22107 ac_cv_lib_m_coshf=no
22108 fi
22109 rm -f conftest.err conftest.$ac_objext \
22110 conftest$ac_exeext conftest.$ac_ext
22111 LIBS=$ac_check_lib_save_LIBS
22112 fi
22113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22114 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22115 if test $ac_cv_lib_m_coshf = yes; then
22116
22117 cat >>confdefs.h <<\_ACEOF
22118 #define HAVE_COSHF 1
22119 _ACEOF
22120
22121 fi
22122
22123 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22124 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22125 if test "${ac_cv_lib_m_cosh+set}" = set; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22127 else
22128 ac_check_lib_save_LIBS=$LIBS
22129 LIBS="-lm $LIBS"
22130 if test x$gcc_no_link = xyes; then
22131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22133 { (exit 1); exit 1; }; }
22134 fi
22135 cat >conftest.$ac_ext <<_ACEOF
22136 /* confdefs.h. */
22137 _ACEOF
22138 cat confdefs.h >>conftest.$ac_ext
22139 cat >>conftest.$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141
22142 /* Override any gcc2 internal prototype to avoid an error. */
22143 #ifdef __cplusplus
22144 extern "C"
22145 #endif
22146 /* We use char because int might match the return type of a gcc2
22147 builtin and then its argument prototype would still apply. */
22148 char cosh ();
22149 int
22150 main ()
22151 {
22152 cosh ();
22153 ;
22154 return 0;
22155 }
22156 _ACEOF
22157 rm -f conftest.$ac_objext conftest$ac_exeext
22158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22159 (eval $ac_link) 2>conftest.er1
22160 ac_status=$?
22161 grep -v '^ *+' conftest.er1 >conftest.err
22162 rm -f conftest.er1
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } &&
22166 { ac_try='test -z "$ac_c_werror_flag"
22167 || test ! -s conftest.err'
22168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22169 (eval $ac_try) 2>&5
22170 ac_status=$?
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); }; } &&
22173 { ac_try='test -s conftest$ac_exeext'
22174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22175 (eval $ac_try) 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; }; then
22179 ac_cv_lib_m_cosh=yes
22180 else
22181 echo "$as_me: failed program was:" >&5
22182 sed 's/^/| /' conftest.$ac_ext >&5
22183
22184 ac_cv_lib_m_cosh=no
22185 fi
22186 rm -f conftest.err conftest.$ac_objext \
22187 conftest$ac_exeext conftest.$ac_ext
22188 LIBS=$ac_check_lib_save_LIBS
22189 fi
22190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22191 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22192 if test $ac_cv_lib_m_cosh = yes; then
22193
22194 cat >>confdefs.h <<\_ACEOF
22195 #define HAVE_COSH 1
22196 _ACEOF
22197
22198 fi
22199
22200 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22201 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22202 if test "${ac_cv_lib_m_coshl+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22204 else
22205 ac_check_lib_save_LIBS=$LIBS
22206 LIBS="-lm $LIBS"
22207 if test x$gcc_no_link = xyes; then
22208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22210 { (exit 1); exit 1; }; }
22211 fi
22212 cat >conftest.$ac_ext <<_ACEOF
22213 /* confdefs.h. */
22214 _ACEOF
22215 cat confdefs.h >>conftest.$ac_ext
22216 cat >>conftest.$ac_ext <<_ACEOF
22217 /* end confdefs.h. */
22218
22219 /* Override any gcc2 internal prototype to avoid an error. */
22220 #ifdef __cplusplus
22221 extern "C"
22222 #endif
22223 /* We use char because int might match the return type of a gcc2
22224 builtin and then its argument prototype would still apply. */
22225 char coshl ();
22226 int
22227 main ()
22228 {
22229 coshl ();
22230 ;
22231 return 0;
22232 }
22233 _ACEOF
22234 rm -f conftest.$ac_objext conftest$ac_exeext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22236 (eval $ac_link) 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -z "$ac_c_werror_flag"
22244 || test ! -s conftest.err'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22247 ac_status=$?
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; } &&
22250 { ac_try='test -s conftest$ac_exeext'
22251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22252 (eval $ac_try) 2>&5
22253 ac_status=$?
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); }; }; then
22256 ac_cv_lib_m_coshl=yes
22257 else
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.$ac_ext >&5
22260
22261 ac_cv_lib_m_coshl=no
22262 fi
22263 rm -f conftest.err conftest.$ac_objext \
22264 conftest$ac_exeext conftest.$ac_ext
22265 LIBS=$ac_check_lib_save_LIBS
22266 fi
22267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22268 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22269 if test $ac_cv_lib_m_coshl = yes; then
22270
22271 cat >>confdefs.h <<\_ACEOF
22272 #define HAVE_COSHL 1
22273 _ACEOF
22274
22275 fi
22276
22277 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22278 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22279 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22282 ac_check_lib_save_LIBS=$LIBS
22283 LIBS="-lm $LIBS"
22284 if test x$gcc_no_link = xyes; then
22285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22287 { (exit 1); exit 1; }; }
22288 fi
22289 cat >conftest.$ac_ext <<_ACEOF
22290 /* confdefs.h. */
22291 _ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295
22296 /* Override any gcc2 internal prototype to avoid an error. */
22297 #ifdef __cplusplus
22298 extern "C"
22299 #endif
22300 /* We use char because int might match the return type of a gcc2
22301 builtin and then its argument prototype would still apply. */
22302 char ccoshf ();
22303 int
22304 main ()
22305 {
22306 ccoshf ();
22307 ;
22308 return 0;
22309 }
22310 _ACEOF
22311 rm -f conftest.$ac_objext conftest$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try='test -z "$ac_c_werror_flag"
22321 || test ! -s conftest.err'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; } &&
22327 { ac_try='test -s conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 ac_cv_lib_m_ccoshf=yes
22334 else
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22337
22338 ac_cv_lib_m_ccoshf=no
22339 fi
22340 rm -f conftest.err conftest.$ac_objext \
22341 conftest$ac_exeext conftest.$ac_ext
22342 LIBS=$ac_check_lib_save_LIBS
22343 fi
22344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22345 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22346 if test $ac_cv_lib_m_ccoshf = yes; then
22347
22348 cat >>confdefs.h <<\_ACEOF
22349 #define HAVE_CCOSHF 1
22350 _ACEOF
22351
22352 fi
22353
22354 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22355 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22356 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22358 else
22359 ac_check_lib_save_LIBS=$LIBS
22360 LIBS="-lm $LIBS"
22361 if test x$gcc_no_link = xyes; then
22362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22364 { (exit 1); exit 1; }; }
22365 fi
22366 cat >conftest.$ac_ext <<_ACEOF
22367 /* confdefs.h. */
22368 _ACEOF
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372
22373 /* Override any gcc2 internal prototype to avoid an error. */
22374 #ifdef __cplusplus
22375 extern "C"
22376 #endif
22377 /* We use char because int might match the return type of a gcc2
22378 builtin and then its argument prototype would still apply. */
22379 char ccosh ();
22380 int
22381 main ()
22382 {
22383 ccosh ();
22384 ;
22385 return 0;
22386 }
22387 _ACEOF
22388 rm -f conftest.$ac_objext conftest$ac_exeext
22389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22390 (eval $ac_link) 2>conftest.er1
22391 ac_status=$?
22392 grep -v '^ *+' conftest.er1 >conftest.err
22393 rm -f conftest.er1
22394 cat conftest.err >&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try='test -z "$ac_c_werror_flag"
22398 || test ! -s conftest.err'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; } &&
22404 { ac_try='test -s conftest$ac_exeext'
22405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22406 (eval $ac_try) 2>&5
22407 ac_status=$?
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; }; then
22410 ac_cv_lib_m_ccosh=yes
22411 else
22412 echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.$ac_ext >&5
22414
22415 ac_cv_lib_m_ccosh=no
22416 fi
22417 rm -f conftest.err conftest.$ac_objext \
22418 conftest$ac_exeext conftest.$ac_ext
22419 LIBS=$ac_check_lib_save_LIBS
22420 fi
22421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22422 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22423 if test $ac_cv_lib_m_ccosh = yes; then
22424
22425 cat >>confdefs.h <<\_ACEOF
22426 #define HAVE_CCOSH 1
22427 _ACEOF
22428
22429 fi
22430
22431 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22432 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22433 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 else
22436 ac_check_lib_save_LIBS=$LIBS
22437 LIBS="-lm $LIBS"
22438 if test x$gcc_no_link = xyes; then
22439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22441 { (exit 1); exit 1; }; }
22442 fi
22443 cat >conftest.$ac_ext <<_ACEOF
22444 /* confdefs.h. */
22445 _ACEOF
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449
22450 /* Override any gcc2 internal prototype to avoid an error. */
22451 #ifdef __cplusplus
22452 extern "C"
22453 #endif
22454 /* We use char because int might match the return type of a gcc2
22455 builtin and then its argument prototype would still apply. */
22456 char ccoshl ();
22457 int
22458 main ()
22459 {
22460 ccoshl ();
22461 ;
22462 return 0;
22463 }
22464 _ACEOF
22465 rm -f conftest.$ac_objext conftest$ac_exeext
22466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22467 (eval $ac_link) 2>conftest.er1
22468 ac_status=$?
22469 grep -v '^ *+' conftest.er1 >conftest.err
22470 rm -f conftest.er1
22471 cat conftest.err >&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); } &&
22474 { ac_try='test -z "$ac_c_werror_flag"
22475 || test ! -s conftest.err'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22478 ac_status=$?
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; } &&
22481 { ac_try='test -s conftest$ac_exeext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22484 ac_status=$?
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 ac_cv_lib_m_ccoshl=yes
22488 else
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.$ac_ext >&5
22491
22492 ac_cv_lib_m_ccoshl=no
22493 fi
22494 rm -f conftest.err conftest.$ac_objext \
22495 conftest$ac_exeext conftest.$ac_ext
22496 LIBS=$ac_check_lib_save_LIBS
22497 fi
22498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22499 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22500 if test $ac_cv_lib_m_ccoshl = yes; then
22501
22502 cat >>confdefs.h <<\_ACEOF
22503 #define HAVE_CCOSHL 1
22504 _ACEOF
22505
22506 fi
22507
22508 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22509 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22510 if test "${ac_cv_lib_m_expf+set}" = set; then
22511 echo $ECHO_N "(cached) $ECHO_C" >&6
22512 else
22513 ac_check_lib_save_LIBS=$LIBS
22514 LIBS="-lm $LIBS"
22515 if test x$gcc_no_link = xyes; then
22516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22518 { (exit 1); exit 1; }; }
22519 fi
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526
22527 /* Override any gcc2 internal prototype to avoid an error. */
22528 #ifdef __cplusplus
22529 extern "C"
22530 #endif
22531 /* We use char because int might match the return type of a gcc2
22532 builtin and then its argument prototype would still apply. */
22533 char expf ();
22534 int
22535 main ()
22536 {
22537 expf ();
22538 ;
22539 return 0;
22540 }
22541 _ACEOF
22542 rm -f conftest.$ac_objext conftest$ac_exeext
22543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22544 (eval $ac_link) 2>conftest.er1
22545 ac_status=$?
22546 grep -v '^ *+' conftest.er1 >conftest.err
22547 rm -f conftest.er1
22548 cat conftest.err >&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } &&
22551 { ac_try='test -z "$ac_c_werror_flag"
22552 || test ! -s conftest.err'
22553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22554 (eval $ac_try) 2>&5
22555 ac_status=$?
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); }; } &&
22558 { ac_try='test -s conftest$ac_exeext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 ac_cv_lib_m_expf=yes
22565 else
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.$ac_ext >&5
22568
22569 ac_cv_lib_m_expf=no
22570 fi
22571 rm -f conftest.err conftest.$ac_objext \
22572 conftest$ac_exeext conftest.$ac_ext
22573 LIBS=$ac_check_lib_save_LIBS
22574 fi
22575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22576 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22577 if test $ac_cv_lib_m_expf = yes; then
22578
22579 cat >>confdefs.h <<\_ACEOF
22580 #define HAVE_EXPF 1
22581 _ACEOF
22582
22583 fi
22584
22585 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22586 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22587 if test "${ac_cv_lib_m_exp+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 else
22590 ac_check_lib_save_LIBS=$LIBS
22591 LIBS="-lm $LIBS"
22592 if test x$gcc_no_link = xyes; then
22593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22595 { (exit 1); exit 1; }; }
22596 fi
22597 cat >conftest.$ac_ext <<_ACEOF
22598 /* confdefs.h. */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603
22604 /* Override any gcc2 internal prototype to avoid an error. */
22605 #ifdef __cplusplus
22606 extern "C"
22607 #endif
22608 /* We use char because int might match the return type of a gcc2
22609 builtin and then its argument prototype would still apply. */
22610 char exp ();
22611 int
22612 main ()
22613 {
22614 exp ();
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 rm -f conftest.$ac_objext conftest$ac_exeext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22621 (eval $ac_link) 2>conftest.er1
22622 ac_status=$?
22623 grep -v '^ *+' conftest.er1 >conftest.err
22624 rm -f conftest.er1
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -z "$ac_c_werror_flag"
22629 || test ! -s conftest.err'
22630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22631 (eval $ac_try) 2>&5
22632 ac_status=$?
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; } &&
22635 { ac_try='test -s conftest$ac_exeext'
22636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22637 (eval $ac_try) 2>&5
22638 ac_status=$?
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); }; }; then
22641 ac_cv_lib_m_exp=yes
22642 else
22643 echo "$as_me: failed program was:" >&5
22644 sed 's/^/| /' conftest.$ac_ext >&5
22645
22646 ac_cv_lib_m_exp=no
22647 fi
22648 rm -f conftest.err conftest.$ac_objext \
22649 conftest$ac_exeext conftest.$ac_ext
22650 LIBS=$ac_check_lib_save_LIBS
22651 fi
22652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22653 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22654 if test $ac_cv_lib_m_exp = yes; then
22655
22656 cat >>confdefs.h <<\_ACEOF
22657 #define HAVE_EXP 1
22658 _ACEOF
22659
22660 fi
22661
22662 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22663 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22664 if test "${ac_cv_lib_m_expl+set}" = set; then
22665 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 else
22667 ac_check_lib_save_LIBS=$LIBS
22668 LIBS="-lm $LIBS"
22669 if test x$gcc_no_link = xyes; then
22670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22672 { (exit 1); exit 1; }; }
22673 fi
22674 cat >conftest.$ac_ext <<_ACEOF
22675 /* confdefs.h. */
22676 _ACEOF
22677 cat confdefs.h >>conftest.$ac_ext
22678 cat >>conftest.$ac_ext <<_ACEOF
22679 /* end confdefs.h. */
22680
22681 /* Override any gcc2 internal prototype to avoid an error. */
22682 #ifdef __cplusplus
22683 extern "C"
22684 #endif
22685 /* We use char because int might match the return type of a gcc2
22686 builtin and then its argument prototype would still apply. */
22687 char expl ();
22688 int
22689 main ()
22690 {
22691 expl ();
22692 ;
22693 return 0;
22694 }
22695 _ACEOF
22696 rm -f conftest.$ac_objext conftest$ac_exeext
22697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22698 (eval $ac_link) 2>conftest.er1
22699 ac_status=$?
22700 grep -v '^ *+' conftest.er1 >conftest.err
22701 rm -f conftest.er1
22702 cat conftest.err >&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } &&
22705 { ac_try='test -z "$ac_c_werror_flag"
22706 || test ! -s conftest.err'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22709 ac_status=$?
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; } &&
22712 { ac_try='test -s conftest$ac_exeext'
22713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22714 (eval $ac_try) 2>&5
22715 ac_status=$?
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); }; }; then
22718 ac_cv_lib_m_expl=yes
22719 else
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22722
22723 ac_cv_lib_m_expl=no
22724 fi
22725 rm -f conftest.err conftest.$ac_objext \
22726 conftest$ac_exeext conftest.$ac_ext
22727 LIBS=$ac_check_lib_save_LIBS
22728 fi
22729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22730 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22731 if test $ac_cv_lib_m_expl = yes; then
22732
22733 cat >>confdefs.h <<\_ACEOF
22734 #define HAVE_EXPL 1
22735 _ACEOF
22736
22737 fi
22738
22739 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22740 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22741 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22742 echo $ECHO_N "(cached) $ECHO_C" >&6
22743 else
22744 ac_check_lib_save_LIBS=$LIBS
22745 LIBS="-lm $LIBS"
22746 if test x$gcc_no_link = xyes; then
22747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22749 { (exit 1); exit 1; }; }
22750 fi
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757
22758 /* Override any gcc2 internal prototype to avoid an error. */
22759 #ifdef __cplusplus
22760 extern "C"
22761 #endif
22762 /* We use char because int might match the return type of a gcc2
22763 builtin and then its argument prototype would still apply. */
22764 char cexpf ();
22765 int
22766 main ()
22767 {
22768 cexpf ();
22769 ;
22770 return 0;
22771 }
22772 _ACEOF
22773 rm -f conftest.$ac_objext conftest$ac_exeext
22774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22775 (eval $ac_link) 2>conftest.er1
22776 ac_status=$?
22777 grep -v '^ *+' conftest.er1 >conftest.err
22778 rm -f conftest.er1
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try='test -z "$ac_c_werror_flag"
22783 || test ! -s conftest.err'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22786 ac_status=$?
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; } &&
22789 { ac_try='test -s conftest$ac_exeext'
22790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22791 (eval $ac_try) 2>&5
22792 ac_status=$?
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; }; then
22795 ac_cv_lib_m_cexpf=yes
22796 else
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.$ac_ext >&5
22799
22800 ac_cv_lib_m_cexpf=no
22801 fi
22802 rm -f conftest.err conftest.$ac_objext \
22803 conftest$ac_exeext conftest.$ac_ext
22804 LIBS=$ac_check_lib_save_LIBS
22805 fi
22806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22807 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22808 if test $ac_cv_lib_m_cexpf = yes; then
22809
22810 cat >>confdefs.h <<\_ACEOF
22811 #define HAVE_CEXPF 1
22812 _ACEOF
22813
22814 fi
22815
22816 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22817 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22818 if test "${ac_cv_lib_m_cexp+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 else
22821 ac_check_lib_save_LIBS=$LIBS
22822 LIBS="-lm $LIBS"
22823 if test x$gcc_no_link = xyes; then
22824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22826 { (exit 1); exit 1; }; }
22827 fi
22828 cat >conftest.$ac_ext <<_ACEOF
22829 /* confdefs.h. */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834
22835 /* Override any gcc2 internal prototype to avoid an error. */
22836 #ifdef __cplusplus
22837 extern "C"
22838 #endif
22839 /* We use char because int might match the return type of a gcc2
22840 builtin and then its argument prototype would still apply. */
22841 char cexp ();
22842 int
22843 main ()
22844 {
22845 cexp ();
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext conftest$ac_exeext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22852 (eval $ac_link) 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_c_werror_flag"
22860 || test ! -s conftest.err'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; } &&
22866 { ac_try='test -s conftest$ac_exeext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22869 ac_status=$?
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 ac_cv_lib_m_cexp=yes
22873 else
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22876
22877 ac_cv_lib_m_cexp=no
22878 fi
22879 rm -f conftest.err conftest.$ac_objext \
22880 conftest$ac_exeext conftest.$ac_ext
22881 LIBS=$ac_check_lib_save_LIBS
22882 fi
22883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22884 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22885 if test $ac_cv_lib_m_cexp = yes; then
22886
22887 cat >>confdefs.h <<\_ACEOF
22888 #define HAVE_CEXP 1
22889 _ACEOF
22890
22891 fi
22892
22893 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22894 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22895 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6
22897 else
22898 ac_check_lib_save_LIBS=$LIBS
22899 LIBS="-lm $LIBS"
22900 if test x$gcc_no_link = xyes; then
22901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22903 { (exit 1); exit 1; }; }
22904 fi
22905 cat >conftest.$ac_ext <<_ACEOF
22906 /* confdefs.h. */
22907 _ACEOF
22908 cat confdefs.h >>conftest.$ac_ext
22909 cat >>conftest.$ac_ext <<_ACEOF
22910 /* end confdefs.h. */
22911
22912 /* Override any gcc2 internal prototype to avoid an error. */
22913 #ifdef __cplusplus
22914 extern "C"
22915 #endif
22916 /* We use char because int might match the return type of a gcc2
22917 builtin and then its argument prototype would still apply. */
22918 char cexpl ();
22919 int
22920 main ()
22921 {
22922 cexpl ();
22923 ;
22924 return 0;
22925 }
22926 _ACEOF
22927 rm -f conftest.$ac_objext conftest$ac_exeext
22928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22929 (eval $ac_link) 2>conftest.er1
22930 ac_status=$?
22931 grep -v '^ *+' conftest.er1 >conftest.err
22932 rm -f conftest.er1
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -z "$ac_c_werror_flag"
22937 || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try='test -s conftest$ac_exeext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_cv_lib_m_cexpl=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22953
22954 ac_cv_lib_m_cexpl=no
22955 fi
22956 rm -f conftest.err conftest.$ac_objext \
22957 conftest$ac_exeext conftest.$ac_ext
22958 LIBS=$ac_check_lib_save_LIBS
22959 fi
22960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22961 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22962 if test $ac_cv_lib_m_cexpl = yes; then
22963
22964 cat >>confdefs.h <<\_ACEOF
22965 #define HAVE_CEXPL 1
22966 _ACEOF
22967
22968 fi
22969
22970 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22971 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22972 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 else
22975 ac_check_lib_save_LIBS=$LIBS
22976 LIBS="-lm $LIBS"
22977 if test x$gcc_no_link = xyes; then
22978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22980 { (exit 1); exit 1; }; }
22981 fi
22982 cat >conftest.$ac_ext <<_ACEOF
22983 /* confdefs.h. */
22984 _ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988
22989 /* Override any gcc2 internal prototype to avoid an error. */
22990 #ifdef __cplusplus
22991 extern "C"
22992 #endif
22993 /* We use char because int might match the return type of a gcc2
22994 builtin and then its argument prototype would still apply. */
22995 char fabsf ();
22996 int
22997 main ()
22998 {
22999 fabsf ();
23000 ;
23001 return 0;
23002 }
23003 _ACEOF
23004 rm -f conftest.$ac_objext conftest$ac_exeext
23005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23006 (eval $ac_link) 2>conftest.er1
23007 ac_status=$?
23008 grep -v '^ *+' conftest.er1 >conftest.err
23009 rm -f conftest.er1
23010 cat conftest.err >&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } &&
23013 { ac_try='test -z "$ac_c_werror_flag"
23014 || test ! -s conftest.err'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; } &&
23020 { ac_try='test -s conftest$ac_exeext'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23023 ac_status=$?
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 ac_cv_lib_m_fabsf=yes
23027 else
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23030
23031 ac_cv_lib_m_fabsf=no
23032 fi
23033 rm -f conftest.err conftest.$ac_objext \
23034 conftest$ac_exeext conftest.$ac_ext
23035 LIBS=$ac_check_lib_save_LIBS
23036 fi
23037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23038 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23039 if test $ac_cv_lib_m_fabsf = yes; then
23040
23041 cat >>confdefs.h <<\_ACEOF
23042 #define HAVE_FABSF 1
23043 _ACEOF
23044
23045 fi
23046
23047 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23048 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23049 if test "${ac_cv_lib_m_fabs+set}" = set; then
23050 echo $ECHO_N "(cached) $ECHO_C" >&6
23051 else
23052 ac_check_lib_save_LIBS=$LIBS
23053 LIBS="-lm $LIBS"
23054 if test x$gcc_no_link = xyes; then
23055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23057 { (exit 1); exit 1; }; }
23058 fi
23059 cat >conftest.$ac_ext <<_ACEOF
23060 /* confdefs.h. */
23061 _ACEOF
23062 cat confdefs.h >>conftest.$ac_ext
23063 cat >>conftest.$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23065
23066 /* Override any gcc2 internal prototype to avoid an error. */
23067 #ifdef __cplusplus
23068 extern "C"
23069 #endif
23070 /* We use char because int might match the return type of a gcc2
23071 builtin and then its argument prototype would still apply. */
23072 char fabs ();
23073 int
23074 main ()
23075 {
23076 fabs ();
23077 ;
23078 return 0;
23079 }
23080 _ACEOF
23081 rm -f conftest.$ac_objext conftest$ac_exeext
23082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23083 (eval $ac_link) 2>conftest.er1
23084 ac_status=$?
23085 grep -v '^ *+' conftest.er1 >conftest.err
23086 rm -f conftest.er1
23087 cat conftest.err >&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try='test -z "$ac_c_werror_flag"
23091 || test ! -s conftest.err'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; } &&
23097 { ac_try='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_lib_m_fabs=yes
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_cv_lib_m_fabs=no
23109 fi
23110 rm -f conftest.err conftest.$ac_objext \
23111 conftest$ac_exeext conftest.$ac_ext
23112 LIBS=$ac_check_lib_save_LIBS
23113 fi
23114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23115 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23116 if test $ac_cv_lib_m_fabs = yes; then
23117
23118 cat >>confdefs.h <<\_ACEOF
23119 #define HAVE_FABS 1
23120 _ACEOF
23121
23122 fi
23123
23124 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23125 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23126 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23128 else
23129 ac_check_lib_save_LIBS=$LIBS
23130 LIBS="-lm $LIBS"
23131 if test x$gcc_no_link = xyes; then
23132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23134 { (exit 1); exit 1; }; }
23135 fi
23136 cat >conftest.$ac_ext <<_ACEOF
23137 /* confdefs.h. */
23138 _ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142
23143 /* Override any gcc2 internal prototype to avoid an error. */
23144 #ifdef __cplusplus
23145 extern "C"
23146 #endif
23147 /* We use char because int might match the return type of a gcc2
23148 builtin and then its argument prototype would still apply. */
23149 char fabsl ();
23150 int
23151 main ()
23152 {
23153 fabsl ();
23154 ;
23155 return 0;
23156 }
23157 _ACEOF
23158 rm -f conftest.$ac_objext conftest$ac_exeext
23159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23160 (eval $ac_link) 2>conftest.er1
23161 ac_status=$?
23162 grep -v '^ *+' conftest.er1 >conftest.err
23163 rm -f conftest.er1
23164 cat conftest.err >&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try='test -z "$ac_c_werror_flag"
23168 || test ! -s conftest.err'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23171 ac_status=$?
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; } &&
23174 { ac_try='test -s conftest$ac_exeext'
23175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176 (eval $ac_try) 2>&5
23177 ac_status=$?
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); }; }; then
23180 ac_cv_lib_m_fabsl=yes
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 ac_cv_lib_m_fabsl=no
23186 fi
23187 rm -f conftest.err conftest.$ac_objext \
23188 conftest$ac_exeext conftest.$ac_ext
23189 LIBS=$ac_check_lib_save_LIBS
23190 fi
23191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23192 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23193 if test $ac_cv_lib_m_fabsl = yes; then
23194
23195 cat >>confdefs.h <<\_ACEOF
23196 #define HAVE_FABSL 1
23197 _ACEOF
23198
23199 fi
23200
23201 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23202 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23203 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23204 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 else
23206 ac_check_lib_save_LIBS=$LIBS
23207 LIBS="-lm $LIBS"
23208 if test x$gcc_no_link = xyes; then
23209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23211 { (exit 1); exit 1; }; }
23212 fi
23213 cat >conftest.$ac_ext <<_ACEOF
23214 /* confdefs.h. */
23215 _ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219
23220 /* Override any gcc2 internal prototype to avoid an error. */
23221 #ifdef __cplusplus
23222 extern "C"
23223 #endif
23224 /* We use char because int might match the return type of a gcc2
23225 builtin and then its argument prototype would still apply. */
23226 char cabsf ();
23227 int
23228 main ()
23229 {
23230 cabsf ();
23231 ;
23232 return 0;
23233 }
23234 _ACEOF
23235 rm -f conftest.$ac_objext conftest$ac_exeext
23236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23237 (eval $ac_link) 2>conftest.er1
23238 ac_status=$?
23239 grep -v '^ *+' conftest.er1 >conftest.err
23240 rm -f conftest.er1
23241 cat conftest.err >&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } &&
23244 { ac_try='test -z "$ac_c_werror_flag"
23245 || test ! -s conftest.err'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; } &&
23251 { ac_try='test -s conftest$ac_exeext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23254 ac_status=$?
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 ac_cv_lib_m_cabsf=yes
23258 else
23259 echo "$as_me: failed program was:" >&5
23260 sed 's/^/| /' conftest.$ac_ext >&5
23261
23262 ac_cv_lib_m_cabsf=no
23263 fi
23264 rm -f conftest.err conftest.$ac_objext \
23265 conftest$ac_exeext conftest.$ac_ext
23266 LIBS=$ac_check_lib_save_LIBS
23267 fi
23268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23269 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23270 if test $ac_cv_lib_m_cabsf = yes; then
23271
23272 cat >>confdefs.h <<\_ACEOF
23273 #define HAVE_CABSF 1
23274 _ACEOF
23275
23276 fi
23277
23278 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23279 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23280 if test "${ac_cv_lib_m_cabs+set}" = set; then
23281 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 else
23283 ac_check_lib_save_LIBS=$LIBS
23284 LIBS="-lm $LIBS"
23285 if test x$gcc_no_link = xyes; then
23286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23288 { (exit 1); exit 1; }; }
23289 fi
23290 cat >conftest.$ac_ext <<_ACEOF
23291 /* confdefs.h. */
23292 _ACEOF
23293 cat confdefs.h >>conftest.$ac_ext
23294 cat >>conftest.$ac_ext <<_ACEOF
23295 /* end confdefs.h. */
23296
23297 /* Override any gcc2 internal prototype to avoid an error. */
23298 #ifdef __cplusplus
23299 extern "C"
23300 #endif
23301 /* We use char because int might match the return type of a gcc2
23302 builtin and then its argument prototype would still apply. */
23303 char cabs ();
23304 int
23305 main ()
23306 {
23307 cabs ();
23308 ;
23309 return 0;
23310 }
23311 _ACEOF
23312 rm -f conftest.$ac_objext conftest$ac_exeext
23313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23314 (eval $ac_link) 2>conftest.er1
23315 ac_status=$?
23316 grep -v '^ *+' conftest.er1 >conftest.err
23317 rm -f conftest.er1
23318 cat conftest.err >&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); } &&
23321 { ac_try='test -z "$ac_c_werror_flag"
23322 || test ! -s conftest.err'
23323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23324 (eval $ac_try) 2>&5
23325 ac_status=$?
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; } &&
23328 { ac_try='test -s conftest$ac_exeext'
23329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23330 (eval $ac_try) 2>&5
23331 ac_status=$?
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; }; then
23334 ac_cv_lib_m_cabs=yes
23335 else
23336 echo "$as_me: failed program was:" >&5
23337 sed 's/^/| /' conftest.$ac_ext >&5
23338
23339 ac_cv_lib_m_cabs=no
23340 fi
23341 rm -f conftest.err conftest.$ac_objext \
23342 conftest$ac_exeext conftest.$ac_ext
23343 LIBS=$ac_check_lib_save_LIBS
23344 fi
23345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23346 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23347 if test $ac_cv_lib_m_cabs = yes; then
23348
23349 cat >>confdefs.h <<\_ACEOF
23350 #define HAVE_CABS 1
23351 _ACEOF
23352
23353 fi
23354
23355 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23356 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23357 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23358 echo $ECHO_N "(cached) $ECHO_C" >&6
23359 else
23360 ac_check_lib_save_LIBS=$LIBS
23361 LIBS="-lm $LIBS"
23362 if test x$gcc_no_link = xyes; then
23363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23365 { (exit 1); exit 1; }; }
23366 fi
23367 cat >conftest.$ac_ext <<_ACEOF
23368 /* confdefs.h. */
23369 _ACEOF
23370 cat confdefs.h >>conftest.$ac_ext
23371 cat >>conftest.$ac_ext <<_ACEOF
23372 /* end confdefs.h. */
23373
23374 /* Override any gcc2 internal prototype to avoid an error. */
23375 #ifdef __cplusplus
23376 extern "C"
23377 #endif
23378 /* We use char because int might match the return type of a gcc2
23379 builtin and then its argument prototype would still apply. */
23380 char cabsl ();
23381 int
23382 main ()
23383 {
23384 cabsl ();
23385 ;
23386 return 0;
23387 }
23388 _ACEOF
23389 rm -f conftest.$ac_objext conftest$ac_exeext
23390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23391 (eval $ac_link) 2>conftest.er1
23392 ac_status=$?
23393 grep -v '^ *+' conftest.er1 >conftest.err
23394 rm -f conftest.er1
23395 cat conftest.err >&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); } &&
23398 { ac_try='test -z "$ac_c_werror_flag"
23399 || test ! -s conftest.err'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23402 ac_status=$?
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; } &&
23405 { ac_try='test -s conftest$ac_exeext'
23406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23407 (eval $ac_try) 2>&5
23408 ac_status=$?
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); }; }; then
23411 ac_cv_lib_m_cabsl=yes
23412 else
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23415
23416 ac_cv_lib_m_cabsl=no
23417 fi
23418 rm -f conftest.err conftest.$ac_objext \
23419 conftest$ac_exeext conftest.$ac_ext
23420 LIBS=$ac_check_lib_save_LIBS
23421 fi
23422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23423 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23424 if test $ac_cv_lib_m_cabsl = yes; then
23425
23426 cat >>confdefs.h <<\_ACEOF
23427 #define HAVE_CABSL 1
23428 _ACEOF
23429
23430 fi
23431
23432 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23433 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23434 if test "${ac_cv_lib_m_floorf+set}" = set; then
23435 echo $ECHO_N "(cached) $ECHO_C" >&6
23436 else
23437 ac_check_lib_save_LIBS=$LIBS
23438 LIBS="-lm $LIBS"
23439 if test x$gcc_no_link = xyes; then
23440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23442 { (exit 1); exit 1; }; }
23443 fi
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450
23451 /* Override any gcc2 internal prototype to avoid an error. */
23452 #ifdef __cplusplus
23453 extern "C"
23454 #endif
23455 /* We use char because int might match the return type of a gcc2
23456 builtin and then its argument prototype would still apply. */
23457 char floorf ();
23458 int
23459 main ()
23460 {
23461 floorf ();
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 rm -f conftest.$ac_objext conftest$ac_exeext
23467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23468 (eval $ac_link) 2>conftest.er1
23469 ac_status=$?
23470 grep -v '^ *+' conftest.er1 >conftest.err
23471 rm -f conftest.er1
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try='test -z "$ac_c_werror_flag"
23476 || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try='test -s conftest$ac_exeext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 ac_cv_lib_m_floorf=yes
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 ac_cv_lib_m_floorf=no
23494 fi
23495 rm -f conftest.err conftest.$ac_objext \
23496 conftest$ac_exeext conftest.$ac_ext
23497 LIBS=$ac_check_lib_save_LIBS
23498 fi
23499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23500 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23501 if test $ac_cv_lib_m_floorf = yes; then
23502
23503 cat >>confdefs.h <<\_ACEOF
23504 #define HAVE_FLOORF 1
23505 _ACEOF
23506
23507 fi
23508
23509 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23510 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23511 if test "${ac_cv_lib_m_floor+set}" = set; then
23512 echo $ECHO_N "(cached) $ECHO_C" >&6
23513 else
23514 ac_check_lib_save_LIBS=$LIBS
23515 LIBS="-lm $LIBS"
23516 if test x$gcc_no_link = xyes; then
23517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23519 { (exit 1); exit 1; }; }
23520 fi
23521 cat >conftest.$ac_ext <<_ACEOF
23522 /* confdefs.h. */
23523 _ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527
23528 /* Override any gcc2 internal prototype to avoid an error. */
23529 #ifdef __cplusplus
23530 extern "C"
23531 #endif
23532 /* We use char because int might match the return type of a gcc2
23533 builtin and then its argument prototype would still apply. */
23534 char floor ();
23535 int
23536 main ()
23537 {
23538 floor ();
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 rm -f conftest.$ac_objext conftest$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>conftest.er1
23546 ac_status=$?
23547 grep -v '^ *+' conftest.er1 >conftest.err
23548 rm -f conftest.er1
23549 cat conftest.err >&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); } &&
23552 { ac_try='test -z "$ac_c_werror_flag"
23553 || test ! -s conftest.err'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23556 ac_status=$?
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; } &&
23559 { ac_try='test -s conftest$ac_exeext'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23562 ac_status=$?
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; }; then
23565 ac_cv_lib_m_floor=yes
23566 else
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5
23569
23570 ac_cv_lib_m_floor=no
23571 fi
23572 rm -f conftest.err conftest.$ac_objext \
23573 conftest$ac_exeext conftest.$ac_ext
23574 LIBS=$ac_check_lib_save_LIBS
23575 fi
23576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23577 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23578 if test $ac_cv_lib_m_floor = yes; then
23579
23580 cat >>confdefs.h <<\_ACEOF
23581 #define HAVE_FLOOR 1
23582 _ACEOF
23583
23584 fi
23585
23586 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23587 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23588 if test "${ac_cv_lib_m_floorl+set}" = set; then
23589 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23591 ac_check_lib_save_LIBS=$LIBS
23592 LIBS="-lm $LIBS"
23593 if test x$gcc_no_link = xyes; then
23594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23596 { (exit 1); exit 1; }; }
23597 fi
23598 cat >conftest.$ac_ext <<_ACEOF
23599 /* confdefs.h. */
23600 _ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23604
23605 /* Override any gcc2 internal prototype to avoid an error. */
23606 #ifdef __cplusplus
23607 extern "C"
23608 #endif
23609 /* We use char because int might match the return type of a gcc2
23610 builtin and then its argument prototype would still apply. */
23611 char floorl ();
23612 int
23613 main ()
23614 {
23615 floorl ();
23616 ;
23617 return 0;
23618 }
23619 _ACEOF
23620 rm -f conftest.$ac_objext conftest$ac_exeext
23621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23622 (eval $ac_link) 2>conftest.er1
23623 ac_status=$?
23624 grep -v '^ *+' conftest.er1 >conftest.err
23625 rm -f conftest.er1
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } &&
23629 { ac_try='test -z "$ac_c_werror_flag"
23630 || test ! -s conftest.err'
23631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632 (eval $ac_try) 2>&5
23633 ac_status=$?
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); }; } &&
23636 { ac_try='test -s conftest$ac_exeext'
23637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638 (eval $ac_try) 2>&5
23639 ac_status=$?
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; }; then
23642 ac_cv_lib_m_floorl=yes
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647 ac_cv_lib_m_floorl=no
23648 fi
23649 rm -f conftest.err conftest.$ac_objext \
23650 conftest$ac_exeext conftest.$ac_ext
23651 LIBS=$ac_check_lib_save_LIBS
23652 fi
23653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23654 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23655 if test $ac_cv_lib_m_floorl = yes; then
23656
23657 cat >>confdefs.h <<\_ACEOF
23658 #define HAVE_FLOORL 1
23659 _ACEOF
23660
23661 fi
23662
23663 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23664 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23665 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 else
23668 ac_check_lib_save_LIBS=$LIBS
23669 LIBS="-lm $LIBS"
23670 if test x$gcc_no_link = xyes; then
23671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23673 { (exit 1); exit 1; }; }
23674 fi
23675 cat >conftest.$ac_ext <<_ACEOF
23676 /* confdefs.h. */
23677 _ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681
23682 /* Override any gcc2 internal prototype to avoid an error. */
23683 #ifdef __cplusplus
23684 extern "C"
23685 #endif
23686 /* We use char because int might match the return type of a gcc2
23687 builtin and then its argument prototype would still apply. */
23688 char fmodf ();
23689 int
23690 main ()
23691 {
23692 fmodf ();
23693 ;
23694 return 0;
23695 }
23696 _ACEOF
23697 rm -f conftest.$ac_objext conftest$ac_exeext
23698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23699 (eval $ac_link) 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } &&
23706 { ac_try='test -z "$ac_c_werror_flag"
23707 || test ! -s conftest.err'
23708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23709 (eval $ac_try) 2>&5
23710 ac_status=$?
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); }; } &&
23713 { ac_try='test -s conftest$ac_exeext'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23716 ac_status=$?
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; }; then
23719 ac_cv_lib_m_fmodf=yes
23720 else
23721 echo "$as_me: failed program was:" >&5
23722 sed 's/^/| /' conftest.$ac_ext >&5
23723
23724 ac_cv_lib_m_fmodf=no
23725 fi
23726 rm -f conftest.err conftest.$ac_objext \
23727 conftest$ac_exeext conftest.$ac_ext
23728 LIBS=$ac_check_lib_save_LIBS
23729 fi
23730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23731 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23732 if test $ac_cv_lib_m_fmodf = yes; then
23733
23734 cat >>confdefs.h <<\_ACEOF
23735 #define HAVE_FMODF 1
23736 _ACEOF
23737
23738 fi
23739
23740 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23741 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23742 if test "${ac_cv_lib_m_fmod+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 else
23745 ac_check_lib_save_LIBS=$LIBS
23746 LIBS="-lm $LIBS"
23747 if test x$gcc_no_link = xyes; then
23748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23750 { (exit 1); exit 1; }; }
23751 fi
23752 cat >conftest.$ac_ext <<_ACEOF
23753 /* confdefs.h. */
23754 _ACEOF
23755 cat confdefs.h >>conftest.$ac_ext
23756 cat >>conftest.$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758
23759 /* Override any gcc2 internal prototype to avoid an error. */
23760 #ifdef __cplusplus
23761 extern "C"
23762 #endif
23763 /* We use char because int might match the return type of a gcc2
23764 builtin and then its argument prototype would still apply. */
23765 char fmod ();
23766 int
23767 main ()
23768 {
23769 fmod ();
23770 ;
23771 return 0;
23772 }
23773 _ACEOF
23774 rm -f conftest.$ac_objext conftest$ac_exeext
23775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23776 (eval $ac_link) 2>conftest.er1
23777 ac_status=$?
23778 grep -v '^ *+' conftest.er1 >conftest.err
23779 rm -f conftest.er1
23780 cat conftest.err >&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } &&
23783 { ac_try='test -z "$ac_c_werror_flag"
23784 || test ! -s conftest.err'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; } &&
23790 { ac_try='test -s conftest$ac_exeext'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23793 ac_status=$?
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; }; then
23796 ac_cv_lib_m_fmod=yes
23797 else
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.$ac_ext >&5
23800
23801 ac_cv_lib_m_fmod=no
23802 fi
23803 rm -f conftest.err conftest.$ac_objext \
23804 conftest$ac_exeext conftest.$ac_ext
23805 LIBS=$ac_check_lib_save_LIBS
23806 fi
23807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23808 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23809 if test $ac_cv_lib_m_fmod = yes; then
23810
23811 cat >>confdefs.h <<\_ACEOF
23812 #define HAVE_FMOD 1
23813 _ACEOF
23814
23815 fi
23816
23817 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23818 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23819 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 else
23822 ac_check_lib_save_LIBS=$LIBS
23823 LIBS="-lm $LIBS"
23824 if test x$gcc_no_link = xyes; then
23825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23827 { (exit 1); exit 1; }; }
23828 fi
23829 cat >conftest.$ac_ext <<_ACEOF
23830 /* confdefs.h. */
23831 _ACEOF
23832 cat confdefs.h >>conftest.$ac_ext
23833 cat >>conftest.$ac_ext <<_ACEOF
23834 /* end confdefs.h. */
23835
23836 /* Override any gcc2 internal prototype to avoid an error. */
23837 #ifdef __cplusplus
23838 extern "C"
23839 #endif
23840 /* We use char because int might match the return type of a gcc2
23841 builtin and then its argument prototype would still apply. */
23842 char fmodl ();
23843 int
23844 main ()
23845 {
23846 fmodl ();
23847 ;
23848 return 0;
23849 }
23850 _ACEOF
23851 rm -f conftest.$ac_objext conftest$ac_exeext
23852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23853 (eval $ac_link) 2>conftest.er1
23854 ac_status=$?
23855 grep -v '^ *+' conftest.er1 >conftest.err
23856 rm -f conftest.er1
23857 cat conftest.err >&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try='test -z "$ac_c_werror_flag"
23861 || test ! -s conftest.err'
23862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23863 (eval $ac_try) 2>&5
23864 ac_status=$?
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); }; } &&
23867 { ac_try='test -s conftest$ac_exeext'
23868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23869 (eval $ac_try) 2>&5
23870 ac_status=$?
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); }; }; then
23873 ac_cv_lib_m_fmodl=yes
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23877
23878 ac_cv_lib_m_fmodl=no
23879 fi
23880 rm -f conftest.err conftest.$ac_objext \
23881 conftest$ac_exeext conftest.$ac_ext
23882 LIBS=$ac_check_lib_save_LIBS
23883 fi
23884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23885 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23886 if test $ac_cv_lib_m_fmodl = yes; then
23887
23888 cat >>confdefs.h <<\_ACEOF
23889 #define HAVE_FMODL 1
23890 _ACEOF
23891
23892 fi
23893
23894 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23895 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23896 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899 ac_check_lib_save_LIBS=$LIBS
23900 LIBS="-lm $LIBS"
23901 if test x$gcc_no_link = xyes; then
23902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23904 { (exit 1); exit 1; }; }
23905 fi
23906 cat >conftest.$ac_ext <<_ACEOF
23907 /* confdefs.h. */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912
23913 /* Override any gcc2 internal prototype to avoid an error. */
23914 #ifdef __cplusplus
23915 extern "C"
23916 #endif
23917 /* We use char because int might match the return type of a gcc2
23918 builtin and then its argument prototype would still apply. */
23919 char frexpf ();
23920 int
23921 main ()
23922 {
23923 frexpf ();
23924 ;
23925 return 0;
23926 }
23927 _ACEOF
23928 rm -f conftest.$ac_objext conftest$ac_exeext
23929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23930 (eval $ac_link) 2>conftest.er1
23931 ac_status=$?
23932 grep -v '^ *+' conftest.er1 >conftest.err
23933 rm -f conftest.er1
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } &&
23937 { ac_try='test -z "$ac_c_werror_flag"
23938 || test ! -s conftest.err'
23939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23940 (eval $ac_try) 2>&5
23941 ac_status=$?
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); }; } &&
23944 { ac_try='test -s conftest$ac_exeext'
23945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23946 (eval $ac_try) 2>&5
23947 ac_status=$?
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; }; then
23950 ac_cv_lib_m_frexpf=yes
23951 else
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.$ac_ext >&5
23954
23955 ac_cv_lib_m_frexpf=no
23956 fi
23957 rm -f conftest.err conftest.$ac_objext \
23958 conftest$ac_exeext conftest.$ac_ext
23959 LIBS=$ac_check_lib_save_LIBS
23960 fi
23961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23962 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23963 if test $ac_cv_lib_m_frexpf = yes; then
23964
23965 cat >>confdefs.h <<\_ACEOF
23966 #define HAVE_FREXPF 1
23967 _ACEOF
23968
23969 fi
23970
23971 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23972 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23973 if test "${ac_cv_lib_m_frexp+set}" = set; then
23974 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 else
23976 ac_check_lib_save_LIBS=$LIBS
23977 LIBS="-lm $LIBS"
23978 if test x$gcc_no_link = xyes; then
23979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23981 { (exit 1); exit 1; }; }
23982 fi
23983 cat >conftest.$ac_ext <<_ACEOF
23984 /* confdefs.h. */
23985 _ACEOF
23986 cat confdefs.h >>conftest.$ac_ext
23987 cat >>conftest.$ac_ext <<_ACEOF
23988 /* end confdefs.h. */
23989
23990 /* Override any gcc2 internal prototype to avoid an error. */
23991 #ifdef __cplusplus
23992 extern "C"
23993 #endif
23994 /* We use char because int might match the return type of a gcc2
23995 builtin and then its argument prototype would still apply. */
23996 char frexp ();
23997 int
23998 main ()
23999 {
24000 frexp ();
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 rm -f conftest.$ac_objext conftest$ac_exeext
24006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24007 (eval $ac_link) 2>conftest.er1
24008 ac_status=$?
24009 grep -v '^ *+' conftest.er1 >conftest.err
24010 rm -f conftest.er1
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } &&
24014 { ac_try='test -z "$ac_c_werror_flag"
24015 || test ! -s conftest.err'
24016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24017 (eval $ac_try) 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; } &&
24021 { ac_try='test -s conftest$ac_exeext'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027 ac_cv_lib_m_frexp=yes
24028 else
24029 echo "$as_me: failed program was:" >&5
24030 sed 's/^/| /' conftest.$ac_ext >&5
24031
24032 ac_cv_lib_m_frexp=no
24033 fi
24034 rm -f conftest.err conftest.$ac_objext \
24035 conftest$ac_exeext conftest.$ac_ext
24036 LIBS=$ac_check_lib_save_LIBS
24037 fi
24038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24039 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24040 if test $ac_cv_lib_m_frexp = yes; then
24041
24042 cat >>confdefs.h <<\_ACEOF
24043 #define HAVE_FREXP 1
24044 _ACEOF
24045
24046 fi
24047
24048 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24049 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24050 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 else
24053 ac_check_lib_save_LIBS=$LIBS
24054 LIBS="-lm $LIBS"
24055 if test x$gcc_no_link = xyes; then
24056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24058 { (exit 1); exit 1; }; }
24059 fi
24060 cat >conftest.$ac_ext <<_ACEOF
24061 /* confdefs.h. */
24062 _ACEOF
24063 cat confdefs.h >>conftest.$ac_ext
24064 cat >>conftest.$ac_ext <<_ACEOF
24065 /* end confdefs.h. */
24066
24067 /* Override any gcc2 internal prototype to avoid an error. */
24068 #ifdef __cplusplus
24069 extern "C"
24070 #endif
24071 /* We use char because int might match the return type of a gcc2
24072 builtin and then its argument prototype would still apply. */
24073 char frexpl ();
24074 int
24075 main ()
24076 {
24077 frexpl ();
24078 ;
24079 return 0;
24080 }
24081 _ACEOF
24082 rm -f conftest.$ac_objext conftest$ac_exeext
24083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24084 (eval $ac_link) 2>conftest.er1
24085 ac_status=$?
24086 grep -v '^ *+' conftest.er1 >conftest.err
24087 rm -f conftest.er1
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try='test -z "$ac_c_werror_flag"
24092 || test ! -s conftest.err'
24093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094 (eval $ac_try) 2>&5
24095 ac_status=$?
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); }; } &&
24098 { ac_try='test -s conftest$ac_exeext'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 ac_cv_lib_m_frexpl=yes
24105 else
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24108
24109 ac_cv_lib_m_frexpl=no
24110 fi
24111 rm -f conftest.err conftest.$ac_objext \
24112 conftest$ac_exeext conftest.$ac_ext
24113 LIBS=$ac_check_lib_save_LIBS
24114 fi
24115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24116 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24117 if test $ac_cv_lib_m_frexpl = yes; then
24118
24119 cat >>confdefs.h <<\_ACEOF
24120 #define HAVE_FREXPL 1
24121 _ACEOF
24122
24123 fi
24124
24125 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24126 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24127 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24129 else
24130 ac_check_lib_save_LIBS=$LIBS
24131 LIBS="-lm $LIBS"
24132 if test x$gcc_no_link = xyes; then
24133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24135 { (exit 1); exit 1; }; }
24136 fi
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143
24144 /* Override any gcc2 internal prototype to avoid an error. */
24145 #ifdef __cplusplus
24146 extern "C"
24147 #endif
24148 /* We use char because int might match the return type of a gcc2
24149 builtin and then its argument prototype would still apply. */
24150 char hypotf ();
24151 int
24152 main ()
24153 {
24154 hypotf ();
24155 ;
24156 return 0;
24157 }
24158 _ACEOF
24159 rm -f conftest.$ac_objext conftest$ac_exeext
24160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24161 (eval $ac_link) 2>conftest.er1
24162 ac_status=$?
24163 grep -v '^ *+' conftest.er1 >conftest.err
24164 rm -f conftest.er1
24165 cat conftest.err >&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } &&
24168 { ac_try='test -z "$ac_c_werror_flag"
24169 || test ! -s conftest.err'
24170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24171 (eval $ac_try) 2>&5
24172 ac_status=$?
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); }; } &&
24175 { ac_try='test -s conftest$ac_exeext'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24178 ac_status=$?
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; }; then
24181 ac_cv_lib_m_hypotf=yes
24182 else
24183 echo "$as_me: failed program was:" >&5
24184 sed 's/^/| /' conftest.$ac_ext >&5
24185
24186 ac_cv_lib_m_hypotf=no
24187 fi
24188 rm -f conftest.err conftest.$ac_objext \
24189 conftest$ac_exeext conftest.$ac_ext
24190 LIBS=$ac_check_lib_save_LIBS
24191 fi
24192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24193 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24194 if test $ac_cv_lib_m_hypotf = yes; then
24195
24196 cat >>confdefs.h <<\_ACEOF
24197 #define HAVE_HYPOTF 1
24198 _ACEOF
24199
24200 fi
24201
24202 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24203 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24204 if test "${ac_cv_lib_m_hypot+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 else
24207 ac_check_lib_save_LIBS=$LIBS
24208 LIBS="-lm $LIBS"
24209 if test x$gcc_no_link = xyes; then
24210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24212 { (exit 1); exit 1; }; }
24213 fi
24214 cat >conftest.$ac_ext <<_ACEOF
24215 /* confdefs.h. */
24216 _ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h. */
24220
24221 /* Override any gcc2 internal prototype to avoid an error. */
24222 #ifdef __cplusplus
24223 extern "C"
24224 #endif
24225 /* We use char because int might match the return type of a gcc2
24226 builtin and then its argument prototype would still apply. */
24227 char hypot ();
24228 int
24229 main ()
24230 {
24231 hypot ();
24232 ;
24233 return 0;
24234 }
24235 _ACEOF
24236 rm -f conftest.$ac_objext conftest$ac_exeext
24237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24238 (eval $ac_link) 2>conftest.er1
24239 ac_status=$?
24240 grep -v '^ *+' conftest.er1 >conftest.err
24241 rm -f conftest.er1
24242 cat conftest.err >&5
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); } &&
24245 { ac_try='test -z "$ac_c_werror_flag"
24246 || test ! -s conftest.err'
24247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24248 (eval $ac_try) 2>&5
24249 ac_status=$?
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); }; } &&
24252 { ac_try='test -s conftest$ac_exeext'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; }; then
24258 ac_cv_lib_m_hypot=yes
24259 else
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24262
24263 ac_cv_lib_m_hypot=no
24264 fi
24265 rm -f conftest.err conftest.$ac_objext \
24266 conftest$ac_exeext conftest.$ac_ext
24267 LIBS=$ac_check_lib_save_LIBS
24268 fi
24269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24270 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24271 if test $ac_cv_lib_m_hypot = yes; then
24272
24273 cat >>confdefs.h <<\_ACEOF
24274 #define HAVE_HYPOT 1
24275 _ACEOF
24276
24277 fi
24278
24279 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24280 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24281 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24282 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 else
24284 ac_check_lib_save_LIBS=$LIBS
24285 LIBS="-lm $LIBS"
24286 if test x$gcc_no_link = xyes; then
24287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24289 { (exit 1); exit 1; }; }
24290 fi
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297
24298 /* Override any gcc2 internal prototype to avoid an error. */
24299 #ifdef __cplusplus
24300 extern "C"
24301 #endif
24302 /* We use char because int might match the return type of a gcc2
24303 builtin and then its argument prototype would still apply. */
24304 char hypotl ();
24305 int
24306 main ()
24307 {
24308 hypotl ();
24309 ;
24310 return 0;
24311 }
24312 _ACEOF
24313 rm -f conftest.$ac_objext conftest$ac_exeext
24314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24315 (eval $ac_link) 2>conftest.er1
24316 ac_status=$?
24317 grep -v '^ *+' conftest.er1 >conftest.err
24318 rm -f conftest.er1
24319 cat conftest.err >&5
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); } &&
24322 { ac_try='test -z "$ac_c_werror_flag"
24323 || test ! -s conftest.err'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24326 ac_status=$?
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; } &&
24329 { ac_try='test -s conftest$ac_exeext'
24330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24331 (eval $ac_try) 2>&5
24332 ac_status=$?
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); }; }; then
24335 ac_cv_lib_m_hypotl=yes
24336 else
24337 echo "$as_me: failed program was:" >&5
24338 sed 's/^/| /' conftest.$ac_ext >&5
24339
24340 ac_cv_lib_m_hypotl=no
24341 fi
24342 rm -f conftest.err conftest.$ac_objext \
24343 conftest$ac_exeext conftest.$ac_ext
24344 LIBS=$ac_check_lib_save_LIBS
24345 fi
24346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24347 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24348 if test $ac_cv_lib_m_hypotl = yes; then
24349
24350 cat >>confdefs.h <<\_ACEOF
24351 #define HAVE_HYPOTL 1
24352 _ACEOF
24353
24354 fi
24355
24356 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24357 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24358 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24359 echo $ECHO_N "(cached) $ECHO_C" >&6
24360 else
24361 ac_check_lib_save_LIBS=$LIBS
24362 LIBS="-lm $LIBS"
24363 if test x$gcc_no_link = xyes; then
24364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24366 { (exit 1); exit 1; }; }
24367 fi
24368 cat >conftest.$ac_ext <<_ACEOF
24369 /* confdefs.h. */
24370 _ACEOF
24371 cat confdefs.h >>conftest.$ac_ext
24372 cat >>conftest.$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24374
24375 /* Override any gcc2 internal prototype to avoid an error. */
24376 #ifdef __cplusplus
24377 extern "C"
24378 #endif
24379 /* We use char because int might match the return type of a gcc2
24380 builtin and then its argument prototype would still apply. */
24381 char ldexpf ();
24382 int
24383 main ()
24384 {
24385 ldexpf ();
24386 ;
24387 return 0;
24388 }
24389 _ACEOF
24390 rm -f conftest.$ac_objext conftest$ac_exeext
24391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24392 (eval $ac_link) 2>conftest.er1
24393 ac_status=$?
24394 grep -v '^ *+' conftest.er1 >conftest.err
24395 rm -f conftest.er1
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } &&
24399 { ac_try='test -z "$ac_c_werror_flag"
24400 || test ! -s conftest.err'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24403 ac_status=$?
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; } &&
24406 { ac_try='test -s conftest$ac_exeext'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24409 ac_status=$?
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24412 ac_cv_lib_m_ldexpf=yes
24413 else
24414 echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.$ac_ext >&5
24416
24417 ac_cv_lib_m_ldexpf=no
24418 fi
24419 rm -f conftest.err conftest.$ac_objext \
24420 conftest$ac_exeext conftest.$ac_ext
24421 LIBS=$ac_check_lib_save_LIBS
24422 fi
24423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24424 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24425 if test $ac_cv_lib_m_ldexpf = yes; then
24426
24427 cat >>confdefs.h <<\_ACEOF
24428 #define HAVE_LDEXPF 1
24429 _ACEOF
24430
24431 fi
24432
24433 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24434 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24435 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 else
24438 ac_check_lib_save_LIBS=$LIBS
24439 LIBS="-lm $LIBS"
24440 if test x$gcc_no_link = xyes; then
24441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24443 { (exit 1); exit 1; }; }
24444 fi
24445 cat >conftest.$ac_ext <<_ACEOF
24446 /* confdefs.h. */
24447 _ACEOF
24448 cat confdefs.h >>conftest.$ac_ext
24449 cat >>conftest.$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24451
24452 /* Override any gcc2 internal prototype to avoid an error. */
24453 #ifdef __cplusplus
24454 extern "C"
24455 #endif
24456 /* We use char because int might match the return type of a gcc2
24457 builtin and then its argument prototype would still apply. */
24458 char ldexp ();
24459 int
24460 main ()
24461 {
24462 ldexp ();
24463 ;
24464 return 0;
24465 }
24466 _ACEOF
24467 rm -f conftest.$ac_objext conftest$ac_exeext
24468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24469 (eval $ac_link) 2>conftest.er1
24470 ac_status=$?
24471 grep -v '^ *+' conftest.er1 >conftest.err
24472 rm -f conftest.er1
24473 cat conftest.err >&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); } &&
24476 { ac_try='test -z "$ac_c_werror_flag"
24477 || test ! -s conftest.err'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24480 ac_status=$?
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; } &&
24483 { ac_try='test -s conftest$ac_exeext'
24484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24485 (eval $ac_try) 2>&5
24486 ac_status=$?
24487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24488 (exit $ac_status); }; }; then
24489 ac_cv_lib_m_ldexp=yes
24490 else
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.$ac_ext >&5
24493
24494 ac_cv_lib_m_ldexp=no
24495 fi
24496 rm -f conftest.err conftest.$ac_objext \
24497 conftest$ac_exeext conftest.$ac_ext
24498 LIBS=$ac_check_lib_save_LIBS
24499 fi
24500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24501 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24502 if test $ac_cv_lib_m_ldexp = yes; then
24503
24504 cat >>confdefs.h <<\_ACEOF
24505 #define HAVE_LDEXP 1
24506 _ACEOF
24507
24508 fi
24509
24510 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24511 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24512 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 else
24515 ac_check_lib_save_LIBS=$LIBS
24516 LIBS="-lm $LIBS"
24517 if test x$gcc_no_link = xyes; then
24518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24520 { (exit 1); exit 1; }; }
24521 fi
24522 cat >conftest.$ac_ext <<_ACEOF
24523 /* confdefs.h. */
24524 _ACEOF
24525 cat confdefs.h >>conftest.$ac_ext
24526 cat >>conftest.$ac_ext <<_ACEOF
24527 /* end confdefs.h. */
24528
24529 /* Override any gcc2 internal prototype to avoid an error. */
24530 #ifdef __cplusplus
24531 extern "C"
24532 #endif
24533 /* We use char because int might match the return type of a gcc2
24534 builtin and then its argument prototype would still apply. */
24535 char ldexpl ();
24536 int
24537 main ()
24538 {
24539 ldexpl ();
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 rm -f conftest.$ac_objext conftest$ac_exeext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24546 (eval $ac_link) 2>conftest.er1
24547 ac_status=$?
24548 grep -v '^ *+' conftest.er1 >conftest.err
24549 rm -f conftest.er1
24550 cat conftest.err >&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try='test -z "$ac_c_werror_flag"
24554 || test ! -s conftest.err'
24555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556 (eval $ac_try) 2>&5
24557 ac_status=$?
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); }; } &&
24560 { ac_try='test -s conftest$ac_exeext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 ac_cv_lib_m_ldexpl=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 ac_cv_lib_m_ldexpl=no
24572 fi
24573 rm -f conftest.err conftest.$ac_objext \
24574 conftest$ac_exeext conftest.$ac_ext
24575 LIBS=$ac_check_lib_save_LIBS
24576 fi
24577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24578 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24579 if test $ac_cv_lib_m_ldexpl = yes; then
24580
24581 cat >>confdefs.h <<\_ACEOF
24582 #define HAVE_LDEXPL 1
24583 _ACEOF
24584
24585 fi
24586
24587 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24588 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24589 if test "${ac_cv_lib_m_logf+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 else
24592 ac_check_lib_save_LIBS=$LIBS
24593 LIBS="-lm $LIBS"
24594 if test x$gcc_no_link = xyes; then
24595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24597 { (exit 1); exit 1; }; }
24598 fi
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605
24606 /* Override any gcc2 internal prototype to avoid an error. */
24607 #ifdef __cplusplus
24608 extern "C"
24609 #endif
24610 /* We use char because int might match the return type of a gcc2
24611 builtin and then its argument prototype would still apply. */
24612 char logf ();
24613 int
24614 main ()
24615 {
24616 logf ();
24617 ;
24618 return 0;
24619 }
24620 _ACEOF
24621 rm -f conftest.$ac_objext conftest$ac_exeext
24622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24623 (eval $ac_link) 2>conftest.er1
24624 ac_status=$?
24625 grep -v '^ *+' conftest.er1 >conftest.err
24626 rm -f conftest.er1
24627 cat conftest.err >&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); } &&
24630 { ac_try='test -z "$ac_c_werror_flag"
24631 || test ! -s conftest.err'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24634 ac_status=$?
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; } &&
24637 { ac_try='test -s conftest$ac_exeext'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24640 ac_status=$?
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; }; then
24643 ac_cv_lib_m_logf=yes
24644 else
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24647
24648 ac_cv_lib_m_logf=no
24649 fi
24650 rm -f conftest.err conftest.$ac_objext \
24651 conftest$ac_exeext conftest.$ac_ext
24652 LIBS=$ac_check_lib_save_LIBS
24653 fi
24654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24655 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24656 if test $ac_cv_lib_m_logf = yes; then
24657
24658 cat >>confdefs.h <<\_ACEOF
24659 #define HAVE_LOGF 1
24660 _ACEOF
24661
24662 fi
24663
24664 echo "$as_me:$LINENO: checking for log in -lm" >&5
24665 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24666 if test "${ac_cv_lib_m_log+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669 ac_check_lib_save_LIBS=$LIBS
24670 LIBS="-lm $LIBS"
24671 if test x$gcc_no_link = xyes; then
24672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24674 { (exit 1); exit 1; }; }
24675 fi
24676 cat >conftest.$ac_ext <<_ACEOF
24677 /* confdefs.h. */
24678 _ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24682
24683 /* Override any gcc2 internal prototype to avoid an error. */
24684 #ifdef __cplusplus
24685 extern "C"
24686 #endif
24687 /* We use char because int might match the return type of a gcc2
24688 builtin and then its argument prototype would still apply. */
24689 char log ();
24690 int
24691 main ()
24692 {
24693 log ();
24694 ;
24695 return 0;
24696 }
24697 _ACEOF
24698 rm -f conftest.$ac_objext conftest$ac_exeext
24699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24700 (eval $ac_link) 2>conftest.er1
24701 ac_status=$?
24702 grep -v '^ *+' conftest.er1 >conftest.err
24703 rm -f conftest.er1
24704 cat conftest.err >&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } &&
24707 { ac_try='test -z "$ac_c_werror_flag"
24708 || test ! -s conftest.err'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24711 ac_status=$?
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; } &&
24714 { ac_try='test -s conftest$ac_exeext'
24715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24716 (eval $ac_try) 2>&5
24717 ac_status=$?
24718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719 (exit $ac_status); }; }; then
24720 ac_cv_lib_m_log=yes
24721 else
24722 echo "$as_me: failed program was:" >&5
24723 sed 's/^/| /' conftest.$ac_ext >&5
24724
24725 ac_cv_lib_m_log=no
24726 fi
24727 rm -f conftest.err conftest.$ac_objext \
24728 conftest$ac_exeext conftest.$ac_ext
24729 LIBS=$ac_check_lib_save_LIBS
24730 fi
24731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24732 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24733 if test $ac_cv_lib_m_log = yes; then
24734
24735 cat >>confdefs.h <<\_ACEOF
24736 #define HAVE_LOG 1
24737 _ACEOF
24738
24739 fi
24740
24741 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24742 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24743 if test "${ac_cv_lib_m_logl+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 else
24746 ac_check_lib_save_LIBS=$LIBS
24747 LIBS="-lm $LIBS"
24748 if test x$gcc_no_link = xyes; then
24749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24751 { (exit 1); exit 1; }; }
24752 fi
24753 cat >conftest.$ac_ext <<_ACEOF
24754 /* confdefs.h. */
24755 _ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759
24760 /* Override any gcc2 internal prototype to avoid an error. */
24761 #ifdef __cplusplus
24762 extern "C"
24763 #endif
24764 /* We use char because int might match the return type of a gcc2
24765 builtin and then its argument prototype would still apply. */
24766 char logl ();
24767 int
24768 main ()
24769 {
24770 logl ();
24771 ;
24772 return 0;
24773 }
24774 _ACEOF
24775 rm -f conftest.$ac_objext conftest$ac_exeext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24777 (eval $ac_link) 2>conftest.er1
24778 ac_status=$?
24779 grep -v '^ *+' conftest.er1 >conftest.err
24780 rm -f conftest.er1
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } &&
24784 { ac_try='test -z "$ac_c_werror_flag"
24785 || test ! -s conftest.err'
24786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24787 (eval $ac_try) 2>&5
24788 ac_status=$?
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); }; } &&
24791 { ac_try='test -s conftest$ac_exeext'
24792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24793 (eval $ac_try) 2>&5
24794 ac_status=$?
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); }; }; then
24797 ac_cv_lib_m_logl=yes
24798 else
24799 echo "$as_me: failed program was:" >&5
24800 sed 's/^/| /' conftest.$ac_ext >&5
24801
24802 ac_cv_lib_m_logl=no
24803 fi
24804 rm -f conftest.err conftest.$ac_objext \
24805 conftest$ac_exeext conftest.$ac_ext
24806 LIBS=$ac_check_lib_save_LIBS
24807 fi
24808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24809 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24810 if test $ac_cv_lib_m_logl = yes; then
24811
24812 cat >>confdefs.h <<\_ACEOF
24813 #define HAVE_LOGL 1
24814 _ACEOF
24815
24816 fi
24817
24818 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24819 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24820 if test "${ac_cv_lib_m_clogf+set}" = set; then
24821 echo $ECHO_N "(cached) $ECHO_C" >&6
24822 else
24823 ac_check_lib_save_LIBS=$LIBS
24824 LIBS="-lm $LIBS"
24825 if test x$gcc_no_link = xyes; then
24826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24828 { (exit 1); exit 1; }; }
24829 fi
24830 cat >conftest.$ac_ext <<_ACEOF
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836
24837 /* Override any gcc2 internal prototype to avoid an error. */
24838 #ifdef __cplusplus
24839 extern "C"
24840 #endif
24841 /* We use char because int might match the return type of a gcc2
24842 builtin and then its argument prototype would still apply. */
24843 char clogf ();
24844 int
24845 main ()
24846 {
24847 clogf ();
24848 ;
24849 return 0;
24850 }
24851 _ACEOF
24852 rm -f conftest.$ac_objext conftest$ac_exeext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24854 (eval $ac_link) 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try='test -z "$ac_c_werror_flag"
24862 || test ! -s conftest.err'
24863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864 (eval $ac_try) 2>&5
24865 ac_status=$?
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); }; } &&
24868 { ac_try='test -s conftest$ac_exeext'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24871 ac_status=$?
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; }; then
24874 ac_cv_lib_m_clogf=yes
24875 else
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.$ac_ext >&5
24878
24879 ac_cv_lib_m_clogf=no
24880 fi
24881 rm -f conftest.err conftest.$ac_objext \
24882 conftest$ac_exeext conftest.$ac_ext
24883 LIBS=$ac_check_lib_save_LIBS
24884 fi
24885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24886 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24887 if test $ac_cv_lib_m_clogf = yes; then
24888
24889 cat >>confdefs.h <<\_ACEOF
24890 #define HAVE_CLOGF 1
24891 _ACEOF
24892
24893 fi
24894
24895 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24896 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24897 if test "${ac_cv_lib_m_clog+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24899 else
24900 ac_check_lib_save_LIBS=$LIBS
24901 LIBS="-lm $LIBS"
24902 if test x$gcc_no_link = xyes; then
24903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24905 { (exit 1); exit 1; }; }
24906 fi
24907 cat >conftest.$ac_ext <<_ACEOF
24908 /* confdefs.h. */
24909 _ACEOF
24910 cat confdefs.h >>conftest.$ac_ext
24911 cat >>conftest.$ac_ext <<_ACEOF
24912 /* end confdefs.h. */
24913
24914 /* Override any gcc2 internal prototype to avoid an error. */
24915 #ifdef __cplusplus
24916 extern "C"
24917 #endif
24918 /* We use char because int might match the return type of a gcc2
24919 builtin and then its argument prototype would still apply. */
24920 char clog ();
24921 int
24922 main ()
24923 {
24924 clog ();
24925 ;
24926 return 0;
24927 }
24928 _ACEOF
24929 rm -f conftest.$ac_objext conftest$ac_exeext
24930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24931 (eval $ac_link) 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } &&
24938 { ac_try='test -z "$ac_c_werror_flag"
24939 || test ! -s conftest.err'
24940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24941 (eval $ac_try) 2>&5
24942 ac_status=$?
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); }; } &&
24945 { ac_try='test -s conftest$ac_exeext'
24946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947 (eval $ac_try) 2>&5
24948 ac_status=$?
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); }; }; then
24951 ac_cv_lib_m_clog=yes
24952 else
24953 echo "$as_me: failed program was:" >&5
24954 sed 's/^/| /' conftest.$ac_ext >&5
24955
24956 ac_cv_lib_m_clog=no
24957 fi
24958 rm -f conftest.err conftest.$ac_objext \
24959 conftest$ac_exeext conftest.$ac_ext
24960 LIBS=$ac_check_lib_save_LIBS
24961 fi
24962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24963 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24964 if test $ac_cv_lib_m_clog = yes; then
24965
24966 cat >>confdefs.h <<\_ACEOF
24967 #define HAVE_CLOG 1
24968 _ACEOF
24969
24970 fi
24971
24972 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24973 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24974 if test "${ac_cv_lib_m_clogl+set}" = set; then
24975 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 else
24977 ac_check_lib_save_LIBS=$LIBS
24978 LIBS="-lm $LIBS"
24979 if test x$gcc_no_link = xyes; then
24980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24982 { (exit 1); exit 1; }; }
24983 fi
24984 cat >conftest.$ac_ext <<_ACEOF
24985 /* confdefs.h. */
24986 _ACEOF
24987 cat confdefs.h >>conftest.$ac_ext
24988 cat >>conftest.$ac_ext <<_ACEOF
24989 /* end confdefs.h. */
24990
24991 /* Override any gcc2 internal prototype to avoid an error. */
24992 #ifdef __cplusplus
24993 extern "C"
24994 #endif
24995 /* We use char because int might match the return type of a gcc2
24996 builtin and then its argument prototype would still apply. */
24997 char clogl ();
24998 int
24999 main ()
25000 {
25001 clogl ();
25002 ;
25003 return 0;
25004 }
25005 _ACEOF
25006 rm -f conftest.$ac_objext conftest$ac_exeext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25008 (eval $ac_link) 2>conftest.er1
25009 ac_status=$?
25010 grep -v '^ *+' conftest.er1 >conftest.err
25011 rm -f conftest.er1
25012 cat conftest.err >&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try='test -z "$ac_c_werror_flag"
25016 || test ! -s conftest.err'
25017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25018 (eval $ac_try) 2>&5
25019 ac_status=$?
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); }; } &&
25022 { ac_try='test -s conftest$ac_exeext'
25023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25024 (eval $ac_try) 2>&5
25025 ac_status=$?
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); }; }; then
25028 ac_cv_lib_m_clogl=yes
25029 else
25030 echo "$as_me: failed program was:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5
25032
25033 ac_cv_lib_m_clogl=no
25034 fi
25035 rm -f conftest.err conftest.$ac_objext \
25036 conftest$ac_exeext conftest.$ac_ext
25037 LIBS=$ac_check_lib_save_LIBS
25038 fi
25039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25040 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25041 if test $ac_cv_lib_m_clogl = yes; then
25042
25043 cat >>confdefs.h <<\_ACEOF
25044 #define HAVE_CLOGL 1
25045 _ACEOF
25046
25047 fi
25048
25049 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25050 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25051 if test "${ac_cv_lib_m_log10f+set}" = set; then
25052 echo $ECHO_N "(cached) $ECHO_C" >&6
25053 else
25054 ac_check_lib_save_LIBS=$LIBS
25055 LIBS="-lm $LIBS"
25056 if test x$gcc_no_link = xyes; then
25057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25059 { (exit 1); exit 1; }; }
25060 fi
25061 cat >conftest.$ac_ext <<_ACEOF
25062 /* confdefs.h. */
25063 _ACEOF
25064 cat confdefs.h >>conftest.$ac_ext
25065 cat >>conftest.$ac_ext <<_ACEOF
25066 /* end confdefs.h. */
25067
25068 /* Override any gcc2 internal prototype to avoid an error. */
25069 #ifdef __cplusplus
25070 extern "C"
25071 #endif
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25074 char log10f ();
25075 int
25076 main ()
25077 {
25078 log10f ();
25079 ;
25080 return 0;
25081 }
25082 _ACEOF
25083 rm -f conftest.$ac_objext conftest$ac_exeext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 (eval $ac_link) 2>conftest.er1
25086 ac_status=$?
25087 grep -v '^ *+' conftest.er1 >conftest.err
25088 rm -f conftest.er1
25089 cat conftest.err >&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); } &&
25092 { ac_try='test -z "$ac_c_werror_flag"
25093 || test ! -s conftest.err'
25094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25095 (eval $ac_try) 2>&5
25096 ac_status=$?
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); }; } &&
25099 { ac_try='test -s conftest$ac_exeext'
25100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 (eval $ac_try) 2>&5
25102 ac_status=$?
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); }; }; then
25105 ac_cv_lib_m_log10f=yes
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25109
25110 ac_cv_lib_m_log10f=no
25111 fi
25112 rm -f conftest.err conftest.$ac_objext \
25113 conftest$ac_exeext conftest.$ac_ext
25114 LIBS=$ac_check_lib_save_LIBS
25115 fi
25116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25117 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25118 if test $ac_cv_lib_m_log10f = yes; then
25119
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_LOG10F 1
25122 _ACEOF
25123
25124 fi
25125
25126 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25127 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25128 if test "${ac_cv_lib_m_log10+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 else
25131 ac_check_lib_save_LIBS=$LIBS
25132 LIBS="-lm $LIBS"
25133 if test x$gcc_no_link = xyes; then
25134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25136 { (exit 1); exit 1; }; }
25137 fi
25138 cat >conftest.$ac_ext <<_ACEOF
25139 /* confdefs.h. */
25140 _ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25144
25145 /* Override any gcc2 internal prototype to avoid an error. */
25146 #ifdef __cplusplus
25147 extern "C"
25148 #endif
25149 /* We use char because int might match the return type of a gcc2
25150 builtin and then its argument prototype would still apply. */
25151 char log10 ();
25152 int
25153 main ()
25154 {
25155 log10 ();
25156 ;
25157 return 0;
25158 }
25159 _ACEOF
25160 rm -f conftest.$ac_objext conftest$ac_exeext
25161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25162 (eval $ac_link) 2>conftest.er1
25163 ac_status=$?
25164 grep -v '^ *+' conftest.er1 >conftest.err
25165 rm -f conftest.er1
25166 cat conftest.err >&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); } &&
25169 { ac_try='test -z "$ac_c_werror_flag"
25170 || test ! -s conftest.err'
25171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25172 (eval $ac_try) 2>&5
25173 ac_status=$?
25174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175 (exit $ac_status); }; } &&
25176 { ac_try='test -s conftest$ac_exeext'
25177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25178 (eval $ac_try) 2>&5
25179 ac_status=$?
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); }; }; then
25182 ac_cv_lib_m_log10=yes
25183 else
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.$ac_ext >&5
25186
25187 ac_cv_lib_m_log10=no
25188 fi
25189 rm -f conftest.err conftest.$ac_objext \
25190 conftest$ac_exeext conftest.$ac_ext
25191 LIBS=$ac_check_lib_save_LIBS
25192 fi
25193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25194 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25195 if test $ac_cv_lib_m_log10 = yes; then
25196
25197 cat >>confdefs.h <<\_ACEOF
25198 #define HAVE_LOG10 1
25199 _ACEOF
25200
25201 fi
25202
25203 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25204 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25205 if test "${ac_cv_lib_m_log10l+set}" = set; then
25206 echo $ECHO_N "(cached) $ECHO_C" >&6
25207 else
25208 ac_check_lib_save_LIBS=$LIBS
25209 LIBS="-lm $LIBS"
25210 if test x$gcc_no_link = xyes; then
25211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25213 { (exit 1); exit 1; }; }
25214 fi
25215 cat >conftest.$ac_ext <<_ACEOF
25216 /* confdefs.h. */
25217 _ACEOF
25218 cat confdefs.h >>conftest.$ac_ext
25219 cat >>conftest.$ac_ext <<_ACEOF
25220 /* end confdefs.h. */
25221
25222 /* Override any gcc2 internal prototype to avoid an error. */
25223 #ifdef __cplusplus
25224 extern "C"
25225 #endif
25226 /* We use char because int might match the return type of a gcc2
25227 builtin and then its argument prototype would still apply. */
25228 char log10l ();
25229 int
25230 main ()
25231 {
25232 log10l ();
25233 ;
25234 return 0;
25235 }
25236 _ACEOF
25237 rm -f conftest.$ac_objext conftest$ac_exeext
25238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25239 (eval $ac_link) 2>conftest.er1
25240 ac_status=$?
25241 grep -v '^ *+' conftest.er1 >conftest.err
25242 rm -f conftest.er1
25243 cat conftest.err >&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } &&
25246 { ac_try='test -z "$ac_c_werror_flag"
25247 || test ! -s conftest.err'
25248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249 (eval $ac_try) 2>&5
25250 ac_status=$?
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); }; } &&
25253 { ac_try='test -s conftest$ac_exeext'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25256 ac_status=$?
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; }; then
25259 ac_cv_lib_m_log10l=yes
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 ac_cv_lib_m_log10l=no
25265 fi
25266 rm -f conftest.err conftest.$ac_objext \
25267 conftest$ac_exeext conftest.$ac_ext
25268 LIBS=$ac_check_lib_save_LIBS
25269 fi
25270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25271 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25272 if test $ac_cv_lib_m_log10l = yes; then
25273
25274 cat >>confdefs.h <<\_ACEOF
25275 #define HAVE_LOG10L 1
25276 _ACEOF
25277
25278 fi
25279
25280 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25281 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25282 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25283 echo $ECHO_N "(cached) $ECHO_C" >&6
25284 else
25285 ac_check_lib_save_LIBS=$LIBS
25286 LIBS="-lm $LIBS"
25287 if test x$gcc_no_link = xyes; then
25288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25290 { (exit 1); exit 1; }; }
25291 fi
25292 cat >conftest.$ac_ext <<_ACEOF
25293 /* confdefs.h. */
25294 _ACEOF
25295 cat confdefs.h >>conftest.$ac_ext
25296 cat >>conftest.$ac_ext <<_ACEOF
25297 /* end confdefs.h. */
25298
25299 /* Override any gcc2 internal prototype to avoid an error. */
25300 #ifdef __cplusplus
25301 extern "C"
25302 #endif
25303 /* We use char because int might match the return type of a gcc2
25304 builtin and then its argument prototype would still apply. */
25305 char clog10f ();
25306 int
25307 main ()
25308 {
25309 clog10f ();
25310 ;
25311 return 0;
25312 }
25313 _ACEOF
25314 rm -f conftest.$ac_objext conftest$ac_exeext
25315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25316 (eval $ac_link) 2>conftest.er1
25317 ac_status=$?
25318 grep -v '^ *+' conftest.er1 >conftest.err
25319 rm -f conftest.er1
25320 cat conftest.err >&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); } &&
25323 { ac_try='test -z "$ac_c_werror_flag"
25324 || test ! -s conftest.err'
25325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25326 (eval $ac_try) 2>&5
25327 ac_status=$?
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); }; } &&
25330 { ac_try='test -s conftest$ac_exeext'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25333 ac_status=$?
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; }; then
25336 ac_cv_lib_m_clog10f=yes
25337 else
25338 echo "$as_me: failed program was:" >&5
25339 sed 's/^/| /' conftest.$ac_ext >&5
25340
25341 ac_cv_lib_m_clog10f=no
25342 fi
25343 rm -f conftest.err conftest.$ac_objext \
25344 conftest$ac_exeext conftest.$ac_ext
25345 LIBS=$ac_check_lib_save_LIBS
25346 fi
25347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25348 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25349 if test $ac_cv_lib_m_clog10f = yes; then
25350
25351 cat >>confdefs.h <<\_ACEOF
25352 #define HAVE_CLOG10F 1
25353 _ACEOF
25354
25355 fi
25356
25357 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25358 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25359 if test "${ac_cv_lib_m_clog10+set}" = set; then
25360 echo $ECHO_N "(cached) $ECHO_C" >&6
25361 else
25362 ac_check_lib_save_LIBS=$LIBS
25363 LIBS="-lm $LIBS"
25364 if test x$gcc_no_link = xyes; then
25365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25367 { (exit 1); exit 1; }; }
25368 fi
25369 cat >conftest.$ac_ext <<_ACEOF
25370 /* confdefs.h. */
25371 _ACEOF
25372 cat confdefs.h >>conftest.$ac_ext
25373 cat >>conftest.$ac_ext <<_ACEOF
25374 /* end confdefs.h. */
25375
25376 /* Override any gcc2 internal prototype to avoid an error. */
25377 #ifdef __cplusplus
25378 extern "C"
25379 #endif
25380 /* We use char because int might match the return type of a gcc2
25381 builtin and then its argument prototype would still apply. */
25382 char clog10 ();
25383 int
25384 main ()
25385 {
25386 clog10 ();
25387 ;
25388 return 0;
25389 }
25390 _ACEOF
25391 rm -f conftest.$ac_objext conftest$ac_exeext
25392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25393 (eval $ac_link) 2>conftest.er1
25394 ac_status=$?
25395 grep -v '^ *+' conftest.er1 >conftest.err
25396 rm -f conftest.er1
25397 cat conftest.err >&5
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); } &&
25400 { ac_try='test -z "$ac_c_werror_flag"
25401 || test ! -s conftest.err'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; } &&
25407 { ac_try='test -s conftest$ac_exeext'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25410 ac_status=$?
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; }; then
25413 ac_cv_lib_m_clog10=yes
25414 else
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25417
25418 ac_cv_lib_m_clog10=no
25419 fi
25420 rm -f conftest.err conftest.$ac_objext \
25421 conftest$ac_exeext conftest.$ac_ext
25422 LIBS=$ac_check_lib_save_LIBS
25423 fi
25424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25425 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25426 if test $ac_cv_lib_m_clog10 = yes; then
25427
25428 cat >>confdefs.h <<\_ACEOF
25429 #define HAVE_CLOG10 1
25430 _ACEOF
25431
25432 fi
25433
25434 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25435 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25436 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25438 else
25439 ac_check_lib_save_LIBS=$LIBS
25440 LIBS="-lm $LIBS"
25441 if test x$gcc_no_link = xyes; then
25442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25444 { (exit 1); exit 1; }; }
25445 fi
25446 cat >conftest.$ac_ext <<_ACEOF
25447 /* confdefs.h. */
25448 _ACEOF
25449 cat confdefs.h >>conftest.$ac_ext
25450 cat >>conftest.$ac_ext <<_ACEOF
25451 /* end confdefs.h. */
25452
25453 /* Override any gcc2 internal prototype to avoid an error. */
25454 #ifdef __cplusplus
25455 extern "C"
25456 #endif
25457 /* We use char because int might match the return type of a gcc2
25458 builtin and then its argument prototype would still apply. */
25459 char clog10l ();
25460 int
25461 main ()
25462 {
25463 clog10l ();
25464 ;
25465 return 0;
25466 }
25467 _ACEOF
25468 rm -f conftest.$ac_objext conftest$ac_exeext
25469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25470 (eval $ac_link) 2>conftest.er1
25471 ac_status=$?
25472 grep -v '^ *+' conftest.er1 >conftest.err
25473 rm -f conftest.er1
25474 cat conftest.err >&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); } &&
25477 { ac_try='test -z "$ac_c_werror_flag"
25478 || test ! -s conftest.err'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25481 ac_status=$?
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; } &&
25484 { ac_try='test -s conftest$ac_exeext'
25485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25486 (eval $ac_try) 2>&5
25487 ac_status=$?
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); }; }; then
25490 ac_cv_lib_m_clog10l=yes
25491 else
25492 echo "$as_me: failed program was:" >&5
25493 sed 's/^/| /' conftest.$ac_ext >&5
25494
25495 ac_cv_lib_m_clog10l=no
25496 fi
25497 rm -f conftest.err conftest.$ac_objext \
25498 conftest$ac_exeext conftest.$ac_ext
25499 LIBS=$ac_check_lib_save_LIBS
25500 fi
25501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25502 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25503 if test $ac_cv_lib_m_clog10l = yes; then
25504
25505 cat >>confdefs.h <<\_ACEOF
25506 #define HAVE_CLOG10L 1
25507 _ACEOF
25508
25509 fi
25510
25511 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25512 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25513 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25514 echo $ECHO_N "(cached) $ECHO_C" >&6
25515 else
25516 ac_check_lib_save_LIBS=$LIBS
25517 LIBS="-lm $LIBS"
25518 if test x$gcc_no_link = xyes; then
25519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25521 { (exit 1); exit 1; }; }
25522 fi
25523 cat >conftest.$ac_ext <<_ACEOF
25524 /* confdefs.h. */
25525 _ACEOF
25526 cat confdefs.h >>conftest.$ac_ext
25527 cat >>conftest.$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529
25530 /* Override any gcc2 internal prototype to avoid an error. */
25531 #ifdef __cplusplus
25532 extern "C"
25533 #endif
25534 /* We use char because int might match the return type of a gcc2
25535 builtin and then its argument prototype would still apply. */
25536 char nextafterf ();
25537 int
25538 main ()
25539 {
25540 nextafterf ();
25541 ;
25542 return 0;
25543 }
25544 _ACEOF
25545 rm -f conftest.$ac_objext conftest$ac_exeext
25546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25547 (eval $ac_link) 2>conftest.er1
25548 ac_status=$?
25549 grep -v '^ *+' conftest.er1 >conftest.err
25550 rm -f conftest.er1
25551 cat conftest.err >&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } &&
25554 { ac_try='test -z "$ac_c_werror_flag"
25555 || test ! -s conftest.err'
25556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557 (eval $ac_try) 2>&5
25558 ac_status=$?
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); }; } &&
25561 { ac_try='test -s conftest$ac_exeext'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25564 ac_status=$?
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; }; then
25567 ac_cv_lib_m_nextafterf=yes
25568 else
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25571
25572 ac_cv_lib_m_nextafterf=no
25573 fi
25574 rm -f conftest.err conftest.$ac_objext \
25575 conftest$ac_exeext conftest.$ac_ext
25576 LIBS=$ac_check_lib_save_LIBS
25577 fi
25578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25579 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25580 if test $ac_cv_lib_m_nextafterf = yes; then
25581
25582 cat >>confdefs.h <<\_ACEOF
25583 #define HAVE_NEXTAFTERF 1
25584 _ACEOF
25585
25586 fi
25587
25588 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25589 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25590 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 else
25593 ac_check_lib_save_LIBS=$LIBS
25594 LIBS="-lm $LIBS"
25595 if test x$gcc_no_link = xyes; then
25596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25598 { (exit 1); exit 1; }; }
25599 fi
25600 cat >conftest.$ac_ext <<_ACEOF
25601 /* confdefs.h. */
25602 _ACEOF
25603 cat confdefs.h >>conftest.$ac_ext
25604 cat >>conftest.$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25606
25607 /* Override any gcc2 internal prototype to avoid an error. */
25608 #ifdef __cplusplus
25609 extern "C"
25610 #endif
25611 /* We use char because int might match the return type of a gcc2
25612 builtin and then its argument prototype would still apply. */
25613 char nextafter ();
25614 int
25615 main ()
25616 {
25617 nextafter ();
25618 ;
25619 return 0;
25620 }
25621 _ACEOF
25622 rm -f conftest.$ac_objext conftest$ac_exeext
25623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25624 (eval $ac_link) 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } &&
25631 { ac_try='test -z "$ac_c_werror_flag"
25632 || test ! -s conftest.err'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; } &&
25638 { ac_try='test -s conftest$ac_exeext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25641 ac_status=$?
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_lib_m_nextafter=yes
25645 else
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ac_cv_lib_m_nextafter=no
25650 fi
25651 rm -f conftest.err conftest.$ac_objext \
25652 conftest$ac_exeext conftest.$ac_ext
25653 LIBS=$ac_check_lib_save_LIBS
25654 fi
25655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25656 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25657 if test $ac_cv_lib_m_nextafter = yes; then
25658
25659 cat >>confdefs.h <<\_ACEOF
25660 #define HAVE_NEXTAFTER 1
25661 _ACEOF
25662
25663 fi
25664
25665 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25666 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25667 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25669 else
25670 ac_check_lib_save_LIBS=$LIBS
25671 LIBS="-lm $LIBS"
25672 if test x$gcc_no_link = xyes; then
25673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25675 { (exit 1); exit 1; }; }
25676 fi
25677 cat >conftest.$ac_ext <<_ACEOF
25678 /* confdefs.h. */
25679 _ACEOF
25680 cat confdefs.h >>conftest.$ac_ext
25681 cat >>conftest.$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25683
25684 /* Override any gcc2 internal prototype to avoid an error. */
25685 #ifdef __cplusplus
25686 extern "C"
25687 #endif
25688 /* We use char because int might match the return type of a gcc2
25689 builtin and then its argument prototype would still apply. */
25690 char nextafterl ();
25691 int
25692 main ()
25693 {
25694 nextafterl ();
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 rm -f conftest.$ac_objext conftest$ac_exeext
25700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25701 (eval $ac_link) 2>conftest.er1
25702 ac_status=$?
25703 grep -v '^ *+' conftest.er1 >conftest.err
25704 rm -f conftest.er1
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } &&
25708 { ac_try='test -z "$ac_c_werror_flag"
25709 || test ! -s conftest.err'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25712 ac_status=$?
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; } &&
25715 { ac_try='test -s conftest$ac_exeext'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25718 ac_status=$?
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; }; then
25721 ac_cv_lib_m_nextafterl=yes
25722 else
25723 echo "$as_me: failed program was:" >&5
25724 sed 's/^/| /' conftest.$ac_ext >&5
25725
25726 ac_cv_lib_m_nextafterl=no
25727 fi
25728 rm -f conftest.err conftest.$ac_objext \
25729 conftest$ac_exeext conftest.$ac_ext
25730 LIBS=$ac_check_lib_save_LIBS
25731 fi
25732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25733 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25734 if test $ac_cv_lib_m_nextafterl = yes; then
25735
25736 cat >>confdefs.h <<\_ACEOF
25737 #define HAVE_NEXTAFTERL 1
25738 _ACEOF
25739
25740 fi
25741
25742 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25743 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25744 if test "${ac_cv_lib_m_powf+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 else
25747 ac_check_lib_save_LIBS=$LIBS
25748 LIBS="-lm $LIBS"
25749 if test x$gcc_no_link = xyes; then
25750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25752 { (exit 1); exit 1; }; }
25753 fi
25754 cat >conftest.$ac_ext <<_ACEOF
25755 /* confdefs.h. */
25756 _ACEOF
25757 cat confdefs.h >>conftest.$ac_ext
25758 cat >>conftest.$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25760
25761 /* Override any gcc2 internal prototype to avoid an error. */
25762 #ifdef __cplusplus
25763 extern "C"
25764 #endif
25765 /* We use char because int might match the return type of a gcc2
25766 builtin and then its argument prototype would still apply. */
25767 char powf ();
25768 int
25769 main ()
25770 {
25771 powf ();
25772 ;
25773 return 0;
25774 }
25775 _ACEOF
25776 rm -f conftest.$ac_objext conftest$ac_exeext
25777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25778 (eval $ac_link) 2>conftest.er1
25779 ac_status=$?
25780 grep -v '^ *+' conftest.er1 >conftest.err
25781 rm -f conftest.er1
25782 cat conftest.err >&5
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); } &&
25785 { ac_try='test -z "$ac_c_werror_flag"
25786 || test ! -s conftest.err'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25789 ac_status=$?
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; } &&
25792 { ac_try='test -s conftest$ac_exeext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25795 ac_status=$?
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 ac_cv_lib_m_powf=yes
25799 else
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.$ac_ext >&5
25802
25803 ac_cv_lib_m_powf=no
25804 fi
25805 rm -f conftest.err conftest.$ac_objext \
25806 conftest$ac_exeext conftest.$ac_ext
25807 LIBS=$ac_check_lib_save_LIBS
25808 fi
25809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25810 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25811 if test $ac_cv_lib_m_powf = yes; then
25812
25813 cat >>confdefs.h <<\_ACEOF
25814 #define HAVE_POWF 1
25815 _ACEOF
25816
25817 fi
25818
25819 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25820 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25821 if test "${ac_cv_lib_m_pow+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 ac_check_lib_save_LIBS=$LIBS
25825 LIBS="-lm $LIBS"
25826 if test x$gcc_no_link = xyes; then
25827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25829 { (exit 1); exit 1; }; }
25830 fi
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837
25838 /* Override any gcc2 internal prototype to avoid an error. */
25839 #ifdef __cplusplus
25840 extern "C"
25841 #endif
25842 /* We use char because int might match the return type of a gcc2
25843 builtin and then its argument prototype would still apply. */
25844 char pow ();
25845 int
25846 main ()
25847 {
25848 pow ();
25849 ;
25850 return 0;
25851 }
25852 _ACEOF
25853 rm -f conftest.$ac_objext conftest$ac_exeext
25854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25855 (eval $ac_link) 2>conftest.er1
25856 ac_status=$?
25857 grep -v '^ *+' conftest.er1 >conftest.err
25858 rm -f conftest.er1
25859 cat conftest.err >&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); } &&
25862 { ac_try='test -z "$ac_c_werror_flag"
25863 || test ! -s conftest.err'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25866 ac_status=$?
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; } &&
25869 { ac_try='test -s conftest$ac_exeext'
25870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25871 (eval $ac_try) 2>&5
25872 ac_status=$?
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); }; }; then
25875 ac_cv_lib_m_pow=yes
25876 else
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25879
25880 ac_cv_lib_m_pow=no
25881 fi
25882 rm -f conftest.err conftest.$ac_objext \
25883 conftest$ac_exeext conftest.$ac_ext
25884 LIBS=$ac_check_lib_save_LIBS
25885 fi
25886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25887 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25888 if test $ac_cv_lib_m_pow = yes; then
25889
25890 cat >>confdefs.h <<\_ACEOF
25891 #define HAVE_POW 1
25892 _ACEOF
25893
25894 fi
25895
25896 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25897 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25898 if test "${ac_cv_lib_m_powl+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25901 ac_check_lib_save_LIBS=$LIBS
25902 LIBS="-lm $LIBS"
25903 if test x$gcc_no_link = xyes; then
25904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25906 { (exit 1); exit 1; }; }
25907 fi
25908 cat >conftest.$ac_ext <<_ACEOF
25909 /* confdefs.h. */
25910 _ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914
25915 /* Override any gcc2 internal prototype to avoid an error. */
25916 #ifdef __cplusplus
25917 extern "C"
25918 #endif
25919 /* We use char because int might match the return type of a gcc2
25920 builtin and then its argument prototype would still apply. */
25921 char powl ();
25922 int
25923 main ()
25924 {
25925 powl ();
25926 ;
25927 return 0;
25928 }
25929 _ACEOF
25930 rm -f conftest.$ac_objext conftest$ac_exeext
25931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25932 (eval $ac_link) 2>conftest.er1
25933 ac_status=$?
25934 grep -v '^ *+' conftest.er1 >conftest.err
25935 rm -f conftest.er1
25936 cat conftest.err >&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } &&
25939 { ac_try='test -z "$ac_c_werror_flag"
25940 || test ! -s conftest.err'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; } &&
25946 { ac_try='test -s conftest$ac_exeext'
25947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25948 (eval $ac_try) 2>&5
25949 ac_status=$?
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; }; then
25952 ac_cv_lib_m_powl=yes
25953 else
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25956
25957 ac_cv_lib_m_powl=no
25958 fi
25959 rm -f conftest.err conftest.$ac_objext \
25960 conftest$ac_exeext conftest.$ac_ext
25961 LIBS=$ac_check_lib_save_LIBS
25962 fi
25963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25964 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25965 if test $ac_cv_lib_m_powl = yes; then
25966
25967 cat >>confdefs.h <<\_ACEOF
25968 #define HAVE_POWL 1
25969 _ACEOF
25970
25971 fi
25972
25973 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25974 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25975 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25977 else
25978 ac_check_lib_save_LIBS=$LIBS
25979 LIBS="-lm $LIBS"
25980 if test x$gcc_no_link = xyes; then
25981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25983 { (exit 1); exit 1; }; }
25984 fi
25985 cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h. */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991
25992 /* Override any gcc2 internal prototype to avoid an error. */
25993 #ifdef __cplusplus
25994 extern "C"
25995 #endif
25996 /* We use char because int might match the return type of a gcc2
25997 builtin and then its argument prototype would still apply. */
25998 char cpowf ();
25999 int
26000 main ()
26001 {
26002 cpowf ();
26003 ;
26004 return 0;
26005 }
26006 _ACEOF
26007 rm -f conftest.$ac_objext conftest$ac_exeext
26008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26009 (eval $ac_link) 2>conftest.er1
26010 ac_status=$?
26011 grep -v '^ *+' conftest.er1 >conftest.err
26012 rm -f conftest.er1
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } &&
26016 { ac_try='test -z "$ac_c_werror_flag"
26017 || test ! -s conftest.err'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; } &&
26023 { ac_try='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 ac_cv_lib_m_cpowf=yes
26030 else
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 ac_cv_lib_m_cpowf=no
26035 fi
26036 rm -f conftest.err conftest.$ac_objext \
26037 conftest$ac_exeext conftest.$ac_ext
26038 LIBS=$ac_check_lib_save_LIBS
26039 fi
26040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26041 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26042 if test $ac_cv_lib_m_cpowf = yes; then
26043
26044 cat >>confdefs.h <<\_ACEOF
26045 #define HAVE_CPOWF 1
26046 _ACEOF
26047
26048 fi
26049
26050 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26051 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26052 if test "${ac_cv_lib_m_cpow+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26054 else
26055 ac_check_lib_save_LIBS=$LIBS
26056 LIBS="-lm $LIBS"
26057 if test x$gcc_no_link = xyes; then
26058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26060 { (exit 1); exit 1; }; }
26061 fi
26062 cat >conftest.$ac_ext <<_ACEOF
26063 /* confdefs.h. */
26064 _ACEOF
26065 cat confdefs.h >>conftest.$ac_ext
26066 cat >>conftest.$ac_ext <<_ACEOF
26067 /* end confdefs.h. */
26068
26069 /* Override any gcc2 internal prototype to avoid an error. */
26070 #ifdef __cplusplus
26071 extern "C"
26072 #endif
26073 /* We use char because int might match the return type of a gcc2
26074 builtin and then its argument prototype would still apply. */
26075 char cpow ();
26076 int
26077 main ()
26078 {
26079 cpow ();
26080 ;
26081 return 0;
26082 }
26083 _ACEOF
26084 rm -f conftest.$ac_objext conftest$ac_exeext
26085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26086 (eval $ac_link) 2>conftest.er1
26087 ac_status=$?
26088 grep -v '^ *+' conftest.er1 >conftest.err
26089 rm -f conftest.er1
26090 cat conftest.err >&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); } &&
26093 { ac_try='test -z "$ac_c_werror_flag"
26094 || test ! -s conftest.err'
26095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26096 (eval $ac_try) 2>&5
26097 ac_status=$?
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); }; } &&
26100 { ac_try='test -s conftest$ac_exeext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26103 ac_status=$?
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 ac_cv_lib_m_cpow=yes
26107 else
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26110
26111 ac_cv_lib_m_cpow=no
26112 fi
26113 rm -f conftest.err conftest.$ac_objext \
26114 conftest$ac_exeext conftest.$ac_ext
26115 LIBS=$ac_check_lib_save_LIBS
26116 fi
26117 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26118 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26119 if test $ac_cv_lib_m_cpow = yes; then
26120
26121 cat >>confdefs.h <<\_ACEOF
26122 #define HAVE_CPOW 1
26123 _ACEOF
26124
26125 fi
26126
26127 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26128 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26129 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 ac_check_lib_save_LIBS=$LIBS
26133 LIBS="-lm $LIBS"
26134 if test x$gcc_no_link = xyes; then
26135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26137 { (exit 1); exit 1; }; }
26138 fi
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145
26146 /* Override any gcc2 internal prototype to avoid an error. */
26147 #ifdef __cplusplus
26148 extern "C"
26149 #endif
26150 /* We use char because int might match the return type of a gcc2
26151 builtin and then its argument prototype would still apply. */
26152 char cpowl ();
26153 int
26154 main ()
26155 {
26156 cpowl ();
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26163 (eval $ac_link) 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } &&
26170 { ac_try='test -z "$ac_c_werror_flag"
26171 || test ! -s conftest.err'
26172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173 (eval $ac_try) 2>&5
26174 ac_status=$?
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); }; } &&
26177 { ac_try='test -s conftest$ac_exeext'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; }; then
26183 ac_cv_lib_m_cpowl=yes
26184 else
26185 echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26187
26188 ac_cv_lib_m_cpowl=no
26189 fi
26190 rm -f conftest.err conftest.$ac_objext \
26191 conftest$ac_exeext conftest.$ac_ext
26192 LIBS=$ac_check_lib_save_LIBS
26193 fi
26194 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26195 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26196 if test $ac_cv_lib_m_cpowl = yes; then
26197
26198 cat >>confdefs.h <<\_ACEOF
26199 #define HAVE_CPOWL 1
26200 _ACEOF
26201
26202 fi
26203
26204 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26205 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26206 if test "${ac_cv_lib_m_roundf+set}" = set; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 else
26209 ac_check_lib_save_LIBS=$LIBS
26210 LIBS="-lm $LIBS"
26211 if test x$gcc_no_link = xyes; then
26212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26214 { (exit 1); exit 1; }; }
26215 fi
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222
26223 /* Override any gcc2 internal prototype to avoid an error. */
26224 #ifdef __cplusplus
26225 extern "C"
26226 #endif
26227 /* We use char because int might match the return type of a gcc2
26228 builtin and then its argument prototype would still apply. */
26229 char roundf ();
26230 int
26231 main ()
26232 {
26233 roundf ();
26234 ;
26235 return 0;
26236 }
26237 _ACEOF
26238 rm -f conftest.$ac_objext conftest$ac_exeext
26239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26240 (eval $ac_link) 2>conftest.er1
26241 ac_status=$?
26242 grep -v '^ *+' conftest.er1 >conftest.err
26243 rm -f conftest.er1
26244 cat conftest.err >&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); } &&
26247 { ac_try='test -z "$ac_c_werror_flag"
26248 || test ! -s conftest.err'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26251 ac_status=$?
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; } &&
26254 { ac_try='test -s conftest$ac_exeext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26257 ac_status=$?
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 ac_cv_lib_m_roundf=yes
26261 else
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.$ac_ext >&5
26264
26265 ac_cv_lib_m_roundf=no
26266 fi
26267 rm -f conftest.err conftest.$ac_objext \
26268 conftest$ac_exeext conftest.$ac_ext
26269 LIBS=$ac_check_lib_save_LIBS
26270 fi
26271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26272 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26273 if test $ac_cv_lib_m_roundf = yes; then
26274
26275 cat >>confdefs.h <<\_ACEOF
26276 #define HAVE_ROUNDF 1
26277 _ACEOF
26278
26279 fi
26280
26281 echo "$as_me:$LINENO: checking for round in -lm" >&5
26282 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26283 if test "${ac_cv_lib_m_round+set}" = set; then
26284 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 else
26286 ac_check_lib_save_LIBS=$LIBS
26287 LIBS="-lm $LIBS"
26288 if test x$gcc_no_link = xyes; then
26289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26291 { (exit 1); exit 1; }; }
26292 fi
26293 cat >conftest.$ac_ext <<_ACEOF
26294 /* confdefs.h. */
26295 _ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299
26300 /* Override any gcc2 internal prototype to avoid an error. */
26301 #ifdef __cplusplus
26302 extern "C"
26303 #endif
26304 /* We use char because int might match the return type of a gcc2
26305 builtin and then its argument prototype would still apply. */
26306 char round ();
26307 int
26308 main ()
26309 {
26310 round ();
26311 ;
26312 return 0;
26313 }
26314 _ACEOF
26315 rm -f conftest.$ac_objext conftest$ac_exeext
26316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26317 (eval $ac_link) 2>conftest.er1
26318 ac_status=$?
26319 grep -v '^ *+' conftest.er1 >conftest.err
26320 rm -f conftest.er1
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } &&
26324 { ac_try='test -z "$ac_c_werror_flag"
26325 || test ! -s conftest.err'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26328 ac_status=$?
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; } &&
26331 { ac_try='test -s conftest$ac_exeext'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337 ac_cv_lib_m_round=yes
26338 else
26339 echo "$as_me: failed program was:" >&5
26340 sed 's/^/| /' conftest.$ac_ext >&5
26341
26342 ac_cv_lib_m_round=no
26343 fi
26344 rm -f conftest.err conftest.$ac_objext \
26345 conftest$ac_exeext conftest.$ac_ext
26346 LIBS=$ac_check_lib_save_LIBS
26347 fi
26348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26349 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26350 if test $ac_cv_lib_m_round = yes; then
26351
26352 cat >>confdefs.h <<\_ACEOF
26353 #define HAVE_ROUND 1
26354 _ACEOF
26355
26356 fi
26357
26358 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26359 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26360 if test "${ac_cv_lib_m_roundl+set}" = set; then
26361 echo $ECHO_N "(cached) $ECHO_C" >&6
26362 else
26363 ac_check_lib_save_LIBS=$LIBS
26364 LIBS="-lm $LIBS"
26365 if test x$gcc_no_link = xyes; then
26366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26368 { (exit 1); exit 1; }; }
26369 fi
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376
26377 /* Override any gcc2 internal prototype to avoid an error. */
26378 #ifdef __cplusplus
26379 extern "C"
26380 #endif
26381 /* We use char because int might match the return type of a gcc2
26382 builtin and then its argument prototype would still apply. */
26383 char roundl ();
26384 int
26385 main ()
26386 {
26387 roundl ();
26388 ;
26389 return 0;
26390 }
26391 _ACEOF
26392 rm -f conftest.$ac_objext conftest$ac_exeext
26393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26394 (eval $ac_link) 2>conftest.er1
26395 ac_status=$?
26396 grep -v '^ *+' conftest.er1 >conftest.err
26397 rm -f conftest.er1
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } &&
26401 { ac_try='test -z "$ac_c_werror_flag"
26402 || test ! -s conftest.err'
26403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26404 (eval $ac_try) 2>&5
26405 ac_status=$?
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); }; } &&
26408 { ac_try='test -s conftest$ac_exeext'
26409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26410 (eval $ac_try) 2>&5
26411 ac_status=$?
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); }; }; then
26414 ac_cv_lib_m_roundl=yes
26415 else
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26418
26419 ac_cv_lib_m_roundl=no
26420 fi
26421 rm -f conftest.err conftest.$ac_objext \
26422 conftest$ac_exeext conftest.$ac_ext
26423 LIBS=$ac_check_lib_save_LIBS
26424 fi
26425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26426 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26427 if test $ac_cv_lib_m_roundl = yes; then
26428
26429 cat >>confdefs.h <<\_ACEOF
26430 #define HAVE_ROUNDL 1
26431 _ACEOF
26432
26433 fi
26434
26435 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26436 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26437 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440 ac_check_lib_save_LIBS=$LIBS
26441 LIBS="-lm $LIBS"
26442 if test x$gcc_no_link = xyes; then
26443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26445 { (exit 1); exit 1; }; }
26446 fi
26447 cat >conftest.$ac_ext <<_ACEOF
26448 /* confdefs.h. */
26449 _ACEOF
26450 cat confdefs.h >>conftest.$ac_ext
26451 cat >>conftest.$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26453
26454 /* Override any gcc2 internal prototype to avoid an error. */
26455 #ifdef __cplusplus
26456 extern "C"
26457 #endif
26458 /* We use char because int might match the return type of a gcc2
26459 builtin and then its argument prototype would still apply. */
26460 char lroundf ();
26461 int
26462 main ()
26463 {
26464 lroundf ();
26465 ;
26466 return 0;
26467 }
26468 _ACEOF
26469 rm -f conftest.$ac_objext conftest$ac_exeext
26470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26471 (eval $ac_link) 2>conftest.er1
26472 ac_status=$?
26473 grep -v '^ *+' conftest.er1 >conftest.err
26474 rm -f conftest.er1
26475 cat conftest.err >&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } &&
26478 { ac_try='test -z "$ac_c_werror_flag"
26479 || test ! -s conftest.err'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26482 ac_status=$?
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; } &&
26485 { ac_try='test -s conftest$ac_exeext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26491 ac_cv_lib_m_lroundf=yes
26492 else
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.$ac_ext >&5
26495
26496 ac_cv_lib_m_lroundf=no
26497 fi
26498 rm -f conftest.err conftest.$ac_objext \
26499 conftest$ac_exeext conftest.$ac_ext
26500 LIBS=$ac_check_lib_save_LIBS
26501 fi
26502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26503 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26504 if test $ac_cv_lib_m_lroundf = yes; then
26505
26506 cat >>confdefs.h <<\_ACEOF
26507 #define HAVE_LROUNDF 1
26508 _ACEOF
26509
26510 fi
26511
26512 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26513 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26514 if test "${ac_cv_lib_m_lround+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 else
26517 ac_check_lib_save_LIBS=$LIBS
26518 LIBS="-lm $LIBS"
26519 if test x$gcc_no_link = xyes; then
26520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26522 { (exit 1); exit 1; }; }
26523 fi
26524 cat >conftest.$ac_ext <<_ACEOF
26525 /* confdefs.h. */
26526 _ACEOF
26527 cat confdefs.h >>conftest.$ac_ext
26528 cat >>conftest.$ac_ext <<_ACEOF
26529 /* end confdefs.h. */
26530
26531 /* Override any gcc2 internal prototype to avoid an error. */
26532 #ifdef __cplusplus
26533 extern "C"
26534 #endif
26535 /* We use char because int might match the return type of a gcc2
26536 builtin and then its argument prototype would still apply. */
26537 char lround ();
26538 int
26539 main ()
26540 {
26541 lround ();
26542 ;
26543 return 0;
26544 }
26545 _ACEOF
26546 rm -f conftest.$ac_objext conftest$ac_exeext
26547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26548 (eval $ac_link) 2>conftest.er1
26549 ac_status=$?
26550 grep -v '^ *+' conftest.er1 >conftest.err
26551 rm -f conftest.er1
26552 cat conftest.err >&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); } &&
26555 { ac_try='test -z "$ac_c_werror_flag"
26556 || test ! -s conftest.err'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; } &&
26562 { ac_try='test -s conftest$ac_exeext'
26563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564 (eval $ac_try) 2>&5
26565 ac_status=$?
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); }; }; then
26568 ac_cv_lib_m_lround=yes
26569 else
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.$ac_ext >&5
26572
26573 ac_cv_lib_m_lround=no
26574 fi
26575 rm -f conftest.err conftest.$ac_objext \
26576 conftest$ac_exeext conftest.$ac_ext
26577 LIBS=$ac_check_lib_save_LIBS
26578 fi
26579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26580 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26581 if test $ac_cv_lib_m_lround = yes; then
26582
26583 cat >>confdefs.h <<\_ACEOF
26584 #define HAVE_LROUND 1
26585 _ACEOF
26586
26587 fi
26588
26589 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26590 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26591 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 else
26594 ac_check_lib_save_LIBS=$LIBS
26595 LIBS="-lm $LIBS"
26596 if test x$gcc_no_link = xyes; then
26597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26599 { (exit 1); exit 1; }; }
26600 fi
26601 cat >conftest.$ac_ext <<_ACEOF
26602 /* confdefs.h. */
26603 _ACEOF
26604 cat confdefs.h >>conftest.$ac_ext
26605 cat >>conftest.$ac_ext <<_ACEOF
26606 /* end confdefs.h. */
26607
26608 /* Override any gcc2 internal prototype to avoid an error. */
26609 #ifdef __cplusplus
26610 extern "C"
26611 #endif
26612 /* We use char because int might match the return type of a gcc2
26613 builtin and then its argument prototype would still apply. */
26614 char lroundl ();
26615 int
26616 main ()
26617 {
26618 lroundl ();
26619 ;
26620 return 0;
26621 }
26622 _ACEOF
26623 rm -f conftest.$ac_objext conftest$ac_exeext
26624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26625 (eval $ac_link) 2>conftest.er1
26626 ac_status=$?
26627 grep -v '^ *+' conftest.er1 >conftest.err
26628 rm -f conftest.er1
26629 cat conftest.err >&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } &&
26632 { ac_try='test -z "$ac_c_werror_flag"
26633 || test ! -s conftest.err'
26634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26635 (eval $ac_try) 2>&5
26636 ac_status=$?
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); }; } &&
26639 { ac_try='test -s conftest$ac_exeext'
26640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26641 (eval $ac_try) 2>&5
26642 ac_status=$?
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); }; }; then
26645 ac_cv_lib_m_lroundl=yes
26646 else
26647 echo "$as_me: failed program was:" >&5
26648 sed 's/^/| /' conftest.$ac_ext >&5
26649
26650 ac_cv_lib_m_lroundl=no
26651 fi
26652 rm -f conftest.err conftest.$ac_objext \
26653 conftest$ac_exeext conftest.$ac_ext
26654 LIBS=$ac_check_lib_save_LIBS
26655 fi
26656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26657 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26658 if test $ac_cv_lib_m_lroundl = yes; then
26659
26660 cat >>confdefs.h <<\_ACEOF
26661 #define HAVE_LROUNDL 1
26662 _ACEOF
26663
26664 fi
26665
26666 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26667 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26668 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26669 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 else
26671 ac_check_lib_save_LIBS=$LIBS
26672 LIBS="-lm $LIBS"
26673 if test x$gcc_no_link = xyes; then
26674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26676 { (exit 1); exit 1; }; }
26677 fi
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684
26685 /* Override any gcc2 internal prototype to avoid an error. */
26686 #ifdef __cplusplus
26687 extern "C"
26688 #endif
26689 /* We use char because int might match the return type of a gcc2
26690 builtin and then its argument prototype would still apply. */
26691 char llroundf ();
26692 int
26693 main ()
26694 {
26695 llroundf ();
26696 ;
26697 return 0;
26698 }
26699 _ACEOF
26700 rm -f conftest.$ac_objext conftest$ac_exeext
26701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26702 (eval $ac_link) 2>conftest.er1
26703 ac_status=$?
26704 grep -v '^ *+' conftest.er1 >conftest.err
26705 rm -f conftest.er1
26706 cat conftest.err >&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } &&
26709 { ac_try='test -z "$ac_c_werror_flag"
26710 || test ! -s conftest.err'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; } &&
26716 { ac_try='test -s conftest$ac_exeext'
26717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718 (eval $ac_try) 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); }; }; then
26722 ac_cv_lib_m_llroundf=yes
26723 else
26724 echo "$as_me: failed program was:" >&5
26725 sed 's/^/| /' conftest.$ac_ext >&5
26726
26727 ac_cv_lib_m_llroundf=no
26728 fi
26729 rm -f conftest.err conftest.$ac_objext \
26730 conftest$ac_exeext conftest.$ac_ext
26731 LIBS=$ac_check_lib_save_LIBS
26732 fi
26733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26734 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26735 if test $ac_cv_lib_m_llroundf = yes; then
26736
26737 cat >>confdefs.h <<\_ACEOF
26738 #define HAVE_LLROUNDF 1
26739 _ACEOF
26740
26741 fi
26742
26743 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26744 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26745 if test "${ac_cv_lib_m_llround+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 else
26748 ac_check_lib_save_LIBS=$LIBS
26749 LIBS="-lm $LIBS"
26750 if test x$gcc_no_link = xyes; then
26751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26753 { (exit 1); exit 1; }; }
26754 fi
26755 cat >conftest.$ac_ext <<_ACEOF
26756 /* confdefs.h. */
26757 _ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26761
26762 /* Override any gcc2 internal prototype to avoid an error. */
26763 #ifdef __cplusplus
26764 extern "C"
26765 #endif
26766 /* We use char because int might match the return type of a gcc2
26767 builtin and then its argument prototype would still apply. */
26768 char llround ();
26769 int
26770 main ()
26771 {
26772 llround ();
26773 ;
26774 return 0;
26775 }
26776 _ACEOF
26777 rm -f conftest.$ac_objext conftest$ac_exeext
26778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26779 (eval $ac_link) 2>conftest.er1
26780 ac_status=$?
26781 grep -v '^ *+' conftest.er1 >conftest.err
26782 rm -f conftest.er1
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try='test -z "$ac_c_werror_flag"
26787 || test ! -s conftest.err'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26790 ac_status=$?
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; } &&
26793 { ac_try='test -s conftest$ac_exeext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26796 ac_status=$?
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26799 ac_cv_lib_m_llround=yes
26800 else
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.$ac_ext >&5
26803
26804 ac_cv_lib_m_llround=no
26805 fi
26806 rm -f conftest.err conftest.$ac_objext \
26807 conftest$ac_exeext conftest.$ac_ext
26808 LIBS=$ac_check_lib_save_LIBS
26809 fi
26810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26811 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26812 if test $ac_cv_lib_m_llround = yes; then
26813
26814 cat >>confdefs.h <<\_ACEOF
26815 #define HAVE_LLROUND 1
26816 _ACEOF
26817
26818 fi
26819
26820 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26821 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26822 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26823 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 else
26825 ac_check_lib_save_LIBS=$LIBS
26826 LIBS="-lm $LIBS"
26827 if test x$gcc_no_link = xyes; then
26828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26830 { (exit 1); exit 1; }; }
26831 fi
26832 cat >conftest.$ac_ext <<_ACEOF
26833 /* confdefs.h. */
26834 _ACEOF
26835 cat confdefs.h >>conftest.$ac_ext
26836 cat >>conftest.$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26838
26839 /* Override any gcc2 internal prototype to avoid an error. */
26840 #ifdef __cplusplus
26841 extern "C"
26842 #endif
26843 /* We use char because int might match the return type of a gcc2
26844 builtin and then its argument prototype would still apply. */
26845 char llroundl ();
26846 int
26847 main ()
26848 {
26849 llroundl ();
26850 ;
26851 return 0;
26852 }
26853 _ACEOF
26854 rm -f conftest.$ac_objext conftest$ac_exeext
26855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26856 (eval $ac_link) 2>conftest.er1
26857 ac_status=$?
26858 grep -v '^ *+' conftest.er1 >conftest.err
26859 rm -f conftest.er1
26860 cat conftest.err >&5
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); } &&
26863 { ac_try='test -z "$ac_c_werror_flag"
26864 || test ! -s conftest.err'
26865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26866 (eval $ac_try) 2>&5
26867 ac_status=$?
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); }; } &&
26870 { ac_try='test -s conftest$ac_exeext'
26871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872 (eval $ac_try) 2>&5
26873 ac_status=$?
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); }; }; then
26876 ac_cv_lib_m_llroundl=yes
26877 else
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.$ac_ext >&5
26880
26881 ac_cv_lib_m_llroundl=no
26882 fi
26883 rm -f conftest.err conftest.$ac_objext \
26884 conftest$ac_exeext conftest.$ac_ext
26885 LIBS=$ac_check_lib_save_LIBS
26886 fi
26887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26888 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26889 if test $ac_cv_lib_m_llroundl = yes; then
26890
26891 cat >>confdefs.h <<\_ACEOF
26892 #define HAVE_LLROUNDL 1
26893 _ACEOF
26894
26895 fi
26896
26897 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26898 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26899 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26901 else
26902 ac_check_lib_save_LIBS=$LIBS
26903 LIBS="-lm $LIBS"
26904 if test x$gcc_no_link = xyes; then
26905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26907 { (exit 1); exit 1; }; }
26908 fi
26909 cat >conftest.$ac_ext <<_ACEOF
26910 /* confdefs.h. */
26911 _ACEOF
26912 cat confdefs.h >>conftest.$ac_ext
26913 cat >>conftest.$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26915
26916 /* Override any gcc2 internal prototype to avoid an error. */
26917 #ifdef __cplusplus
26918 extern "C"
26919 #endif
26920 /* We use char because int might match the return type of a gcc2
26921 builtin and then its argument prototype would still apply. */
26922 char scalbnf ();
26923 int
26924 main ()
26925 {
26926 scalbnf ();
26927 ;
26928 return 0;
26929 }
26930 _ACEOF
26931 rm -f conftest.$ac_objext conftest$ac_exeext
26932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26933 (eval $ac_link) 2>conftest.er1
26934 ac_status=$?
26935 grep -v '^ *+' conftest.er1 >conftest.err
26936 rm -f conftest.er1
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } &&
26940 { ac_try='test -z "$ac_c_werror_flag"
26941 || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26944 ac_status=$?
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try='test -s conftest$ac_exeext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_cv_lib_m_scalbnf=yes
26954 else
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26957
26958 ac_cv_lib_m_scalbnf=no
26959 fi
26960 rm -f conftest.err conftest.$ac_objext \
26961 conftest$ac_exeext conftest.$ac_ext
26962 LIBS=$ac_check_lib_save_LIBS
26963 fi
26964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26965 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26966 if test $ac_cv_lib_m_scalbnf = yes; then
26967
26968 cat >>confdefs.h <<\_ACEOF
26969 #define HAVE_SCALBNF 1
26970 _ACEOF
26971
26972 fi
26973
26974 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26975 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26976 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26977 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 else
26979 ac_check_lib_save_LIBS=$LIBS
26980 LIBS="-lm $LIBS"
26981 if test x$gcc_no_link = xyes; then
26982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26984 { (exit 1); exit 1; }; }
26985 fi
26986 cat >conftest.$ac_ext <<_ACEOF
26987 /* confdefs.h. */
26988 _ACEOF
26989 cat confdefs.h >>conftest.$ac_ext
26990 cat >>conftest.$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
26992
26993 /* Override any gcc2 internal prototype to avoid an error. */
26994 #ifdef __cplusplus
26995 extern "C"
26996 #endif
26997 /* We use char because int might match the return type of a gcc2
26998 builtin and then its argument prototype would still apply. */
26999 char scalbn ();
27000 int
27001 main ()
27002 {
27003 scalbn ();
27004 ;
27005 return 0;
27006 }
27007 _ACEOF
27008 rm -f conftest.$ac_objext conftest$ac_exeext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27010 (eval $ac_link) 2>conftest.er1
27011 ac_status=$?
27012 grep -v '^ *+' conftest.er1 >conftest.err
27013 rm -f conftest.er1
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } &&
27017 { ac_try='test -z "$ac_c_werror_flag"
27018 || test ! -s conftest.err'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27021 ac_status=$?
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; } &&
27024 { ac_try='test -s conftest$ac_exeext'
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27027 ac_status=$?
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; }; then
27030 ac_cv_lib_m_scalbn=yes
27031 else
27032 echo "$as_me: failed program was:" >&5
27033 sed 's/^/| /' conftest.$ac_ext >&5
27034
27035 ac_cv_lib_m_scalbn=no
27036 fi
27037 rm -f conftest.err conftest.$ac_objext \
27038 conftest$ac_exeext conftest.$ac_ext
27039 LIBS=$ac_check_lib_save_LIBS
27040 fi
27041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27042 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27043 if test $ac_cv_lib_m_scalbn = yes; then
27044
27045 cat >>confdefs.h <<\_ACEOF
27046 #define HAVE_SCALBN 1
27047 _ACEOF
27048
27049 fi
27050
27051 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27052 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27053 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27054 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 else
27056 ac_check_lib_save_LIBS=$LIBS
27057 LIBS="-lm $LIBS"
27058 if test x$gcc_no_link = xyes; then
27059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27061 { (exit 1); exit 1; }; }
27062 fi
27063 cat >conftest.$ac_ext <<_ACEOF
27064 /* confdefs.h. */
27065 _ACEOF
27066 cat confdefs.h >>conftest.$ac_ext
27067 cat >>conftest.$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27069
27070 /* Override any gcc2 internal prototype to avoid an error. */
27071 #ifdef __cplusplus
27072 extern "C"
27073 #endif
27074 /* We use char because int might match the return type of a gcc2
27075 builtin and then its argument prototype would still apply. */
27076 char scalbnl ();
27077 int
27078 main ()
27079 {
27080 scalbnl ();
27081 ;
27082 return 0;
27083 }
27084 _ACEOF
27085 rm -f conftest.$ac_objext conftest$ac_exeext
27086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27087 (eval $ac_link) 2>conftest.er1
27088 ac_status=$?
27089 grep -v '^ *+' conftest.er1 >conftest.err
27090 rm -f conftest.er1
27091 cat conftest.err >&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); } &&
27094 { ac_try='test -z "$ac_c_werror_flag"
27095 || test ! -s conftest.err'
27096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27097 (eval $ac_try) 2>&5
27098 ac_status=$?
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); }; } &&
27101 { ac_try='test -s conftest$ac_exeext'
27102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27103 (eval $ac_try) 2>&5
27104 ac_status=$?
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); }; }; then
27107 ac_cv_lib_m_scalbnl=yes
27108 else
27109 echo "$as_me: failed program was:" >&5
27110 sed 's/^/| /' conftest.$ac_ext >&5
27111
27112 ac_cv_lib_m_scalbnl=no
27113 fi
27114 rm -f conftest.err conftest.$ac_objext \
27115 conftest$ac_exeext conftest.$ac_ext
27116 LIBS=$ac_check_lib_save_LIBS
27117 fi
27118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27119 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27120 if test $ac_cv_lib_m_scalbnl = yes; then
27121
27122 cat >>confdefs.h <<\_ACEOF
27123 #define HAVE_SCALBNL 1
27124 _ACEOF
27125
27126 fi
27127
27128 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27129 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27130 if test "${ac_cv_lib_m_sinf+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133 ac_check_lib_save_LIBS=$LIBS
27134 LIBS="-lm $LIBS"
27135 if test x$gcc_no_link = xyes; then
27136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27138 { (exit 1); exit 1; }; }
27139 fi
27140 cat >conftest.$ac_ext <<_ACEOF
27141 /* confdefs.h. */
27142 _ACEOF
27143 cat confdefs.h >>conftest.$ac_ext
27144 cat >>conftest.$ac_ext <<_ACEOF
27145 /* end confdefs.h. */
27146
27147 /* Override any gcc2 internal prototype to avoid an error. */
27148 #ifdef __cplusplus
27149 extern "C"
27150 #endif
27151 /* We use char because int might match the return type of a gcc2
27152 builtin and then its argument prototype would still apply. */
27153 char sinf ();
27154 int
27155 main ()
27156 {
27157 sinf ();
27158 ;
27159 return 0;
27160 }
27161 _ACEOF
27162 rm -f conftest.$ac_objext conftest$ac_exeext
27163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27164 (eval $ac_link) 2>conftest.er1
27165 ac_status=$?
27166 grep -v '^ *+' conftest.er1 >conftest.err
27167 rm -f conftest.er1
27168 cat conftest.err >&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); } &&
27171 { ac_try='test -z "$ac_c_werror_flag"
27172 || test ! -s conftest.err'
27173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27174 (eval $ac_try) 2>&5
27175 ac_status=$?
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); }; } &&
27178 { ac_try='test -s conftest$ac_exeext'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27181 ac_status=$?
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; }; then
27184 ac_cv_lib_m_sinf=yes
27185 else
27186 echo "$as_me: failed program was:" >&5
27187 sed 's/^/| /' conftest.$ac_ext >&5
27188
27189 ac_cv_lib_m_sinf=no
27190 fi
27191 rm -f conftest.err conftest.$ac_objext \
27192 conftest$ac_exeext conftest.$ac_ext
27193 LIBS=$ac_check_lib_save_LIBS
27194 fi
27195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27196 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27197 if test $ac_cv_lib_m_sinf = yes; then
27198
27199 cat >>confdefs.h <<\_ACEOF
27200 #define HAVE_SINF 1
27201 _ACEOF
27202
27203 fi
27204
27205 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27206 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27207 if test "${ac_cv_lib_m_sin+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27209 else
27210 ac_check_lib_save_LIBS=$LIBS
27211 LIBS="-lm $LIBS"
27212 if test x$gcc_no_link = xyes; then
27213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27215 { (exit 1); exit 1; }; }
27216 fi
27217 cat >conftest.$ac_ext <<_ACEOF
27218 /* confdefs.h. */
27219 _ACEOF
27220 cat confdefs.h >>conftest.$ac_ext
27221 cat >>conftest.$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27223
27224 /* Override any gcc2 internal prototype to avoid an error. */
27225 #ifdef __cplusplus
27226 extern "C"
27227 #endif
27228 /* We use char because int might match the return type of a gcc2
27229 builtin and then its argument prototype would still apply. */
27230 char sin ();
27231 int
27232 main ()
27233 {
27234 sin ();
27235 ;
27236 return 0;
27237 }
27238 _ACEOF
27239 rm -f conftest.$ac_objext conftest$ac_exeext
27240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27241 (eval $ac_link) 2>conftest.er1
27242 ac_status=$?
27243 grep -v '^ *+' conftest.er1 >conftest.err
27244 rm -f conftest.er1
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } &&
27248 { ac_try='test -z "$ac_c_werror_flag"
27249 || test ! -s conftest.err'
27250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251 (eval $ac_try) 2>&5
27252 ac_status=$?
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); }; } &&
27255 { ac_try='test -s conftest$ac_exeext'
27256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27257 (eval $ac_try) 2>&5
27258 ac_status=$?
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); }; }; then
27261 ac_cv_lib_m_sin=yes
27262 else
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 ac_cv_lib_m_sin=no
27267 fi
27268 rm -f conftest.err conftest.$ac_objext \
27269 conftest$ac_exeext conftest.$ac_ext
27270 LIBS=$ac_check_lib_save_LIBS
27271 fi
27272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27273 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27274 if test $ac_cv_lib_m_sin = yes; then
27275
27276 cat >>confdefs.h <<\_ACEOF
27277 #define HAVE_SIN 1
27278 _ACEOF
27279
27280 fi
27281
27282 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27283 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27284 if test "${ac_cv_lib_m_sinl+set}" = set; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 else
27287 ac_check_lib_save_LIBS=$LIBS
27288 LIBS="-lm $LIBS"
27289 if test x$gcc_no_link = xyes; then
27290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27292 { (exit 1); exit 1; }; }
27293 fi
27294 cat >conftest.$ac_ext <<_ACEOF
27295 /* confdefs.h. */
27296 _ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27300
27301 /* Override any gcc2 internal prototype to avoid an error. */
27302 #ifdef __cplusplus
27303 extern "C"
27304 #endif
27305 /* We use char because int might match the return type of a gcc2
27306 builtin and then its argument prototype would still apply. */
27307 char sinl ();
27308 int
27309 main ()
27310 {
27311 sinl ();
27312 ;
27313 return 0;
27314 }
27315 _ACEOF
27316 rm -f conftest.$ac_objext conftest$ac_exeext
27317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27318 (eval $ac_link) 2>conftest.er1
27319 ac_status=$?
27320 grep -v '^ *+' conftest.er1 >conftest.err
27321 rm -f conftest.er1
27322 cat conftest.err >&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try='test -z "$ac_c_werror_flag"
27326 || test ! -s conftest.err'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27329 ac_status=$?
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; } &&
27332 { ac_try='test -s conftest$ac_exeext'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27335 ac_status=$?
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 ac_cv_lib_m_sinl=yes
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343 ac_cv_lib_m_sinl=no
27344 fi
27345 rm -f conftest.err conftest.$ac_objext \
27346 conftest$ac_exeext conftest.$ac_ext
27347 LIBS=$ac_check_lib_save_LIBS
27348 fi
27349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27350 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27351 if test $ac_cv_lib_m_sinl = yes; then
27352
27353 cat >>confdefs.h <<\_ACEOF
27354 #define HAVE_SINL 1
27355 _ACEOF
27356
27357 fi
27358
27359 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27360 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27361 if test "${ac_cv_lib_m_csinf+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27363 else
27364 ac_check_lib_save_LIBS=$LIBS
27365 LIBS="-lm $LIBS"
27366 if test x$gcc_no_link = xyes; then
27367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27369 { (exit 1); exit 1; }; }
27370 fi
27371 cat >conftest.$ac_ext <<_ACEOF
27372 /* confdefs.h. */
27373 _ACEOF
27374 cat confdefs.h >>conftest.$ac_ext
27375 cat >>conftest.$ac_ext <<_ACEOF
27376 /* end confdefs.h. */
27377
27378 /* Override any gcc2 internal prototype to avoid an error. */
27379 #ifdef __cplusplus
27380 extern "C"
27381 #endif
27382 /* We use char because int might match the return type of a gcc2
27383 builtin and then its argument prototype would still apply. */
27384 char csinf ();
27385 int
27386 main ()
27387 {
27388 csinf ();
27389 ;
27390 return 0;
27391 }
27392 _ACEOF
27393 rm -f conftest.$ac_objext conftest$ac_exeext
27394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27395 (eval $ac_link) 2>conftest.er1
27396 ac_status=$?
27397 grep -v '^ *+' conftest.er1 >conftest.err
27398 rm -f conftest.er1
27399 cat conftest.err >&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } &&
27402 { ac_try='test -z "$ac_c_werror_flag"
27403 || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27406 ac_status=$?
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try='test -s conftest$ac_exeext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27412 ac_status=$?
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 ac_cv_lib_m_csinf=yes
27416 else
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27419
27420 ac_cv_lib_m_csinf=no
27421 fi
27422 rm -f conftest.err conftest.$ac_objext \
27423 conftest$ac_exeext conftest.$ac_ext
27424 LIBS=$ac_check_lib_save_LIBS
27425 fi
27426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27427 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27428 if test $ac_cv_lib_m_csinf = yes; then
27429
27430 cat >>confdefs.h <<\_ACEOF
27431 #define HAVE_CSINF 1
27432 _ACEOF
27433
27434 fi
27435
27436 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27437 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27438 if test "${ac_cv_lib_m_csin+set}" = set; then
27439 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 else
27441 ac_check_lib_save_LIBS=$LIBS
27442 LIBS="-lm $LIBS"
27443 if test x$gcc_no_link = xyes; then
27444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27446 { (exit 1); exit 1; }; }
27447 fi
27448 cat >conftest.$ac_ext <<_ACEOF
27449 /* confdefs.h. */
27450 _ACEOF
27451 cat confdefs.h >>conftest.$ac_ext
27452 cat >>conftest.$ac_ext <<_ACEOF
27453 /* end confdefs.h. */
27454
27455 /* Override any gcc2 internal prototype to avoid an error. */
27456 #ifdef __cplusplus
27457 extern "C"
27458 #endif
27459 /* We use char because int might match the return type of a gcc2
27460 builtin and then its argument prototype would still apply. */
27461 char csin ();
27462 int
27463 main ()
27464 {
27465 csin ();
27466 ;
27467 return 0;
27468 }
27469 _ACEOF
27470 rm -f conftest.$ac_objext conftest$ac_exeext
27471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27472 (eval $ac_link) 2>conftest.er1
27473 ac_status=$?
27474 grep -v '^ *+' conftest.er1 >conftest.err
27475 rm -f conftest.er1
27476 cat conftest.err >&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); } &&
27479 { ac_try='test -z "$ac_c_werror_flag"
27480 || test ! -s conftest.err'
27481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482 (eval $ac_try) 2>&5
27483 ac_status=$?
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); }; } &&
27486 { ac_try='test -s conftest$ac_exeext'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; }; then
27492 ac_cv_lib_m_csin=yes
27493 else
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.$ac_ext >&5
27496
27497 ac_cv_lib_m_csin=no
27498 fi
27499 rm -f conftest.err conftest.$ac_objext \
27500 conftest$ac_exeext conftest.$ac_ext
27501 LIBS=$ac_check_lib_save_LIBS
27502 fi
27503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27504 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27505 if test $ac_cv_lib_m_csin = yes; then
27506
27507 cat >>confdefs.h <<\_ACEOF
27508 #define HAVE_CSIN 1
27509 _ACEOF
27510
27511 fi
27512
27513 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27514 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27515 if test "${ac_cv_lib_m_csinl+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27517 else
27518 ac_check_lib_save_LIBS=$LIBS
27519 LIBS="-lm $LIBS"
27520 if test x$gcc_no_link = xyes; then
27521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27523 { (exit 1); exit 1; }; }
27524 fi
27525 cat >conftest.$ac_ext <<_ACEOF
27526 /* confdefs.h. */
27527 _ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27531
27532 /* Override any gcc2 internal prototype to avoid an error. */
27533 #ifdef __cplusplus
27534 extern "C"
27535 #endif
27536 /* We use char because int might match the return type of a gcc2
27537 builtin and then its argument prototype would still apply. */
27538 char csinl ();
27539 int
27540 main ()
27541 {
27542 csinl ();
27543 ;
27544 return 0;
27545 }
27546 _ACEOF
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } &&
27556 { ac_try='test -z "$ac_c_werror_flag"
27557 || test ! -s conftest.err'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; } &&
27563 { ac_try='test -s conftest$ac_exeext'
27564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27565 (eval $ac_try) 2>&5
27566 ac_status=$?
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); }; }; then
27569 ac_cv_lib_m_csinl=yes
27570 else
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27573
27574 ac_cv_lib_m_csinl=no
27575 fi
27576 rm -f conftest.err conftest.$ac_objext \
27577 conftest$ac_exeext conftest.$ac_ext
27578 LIBS=$ac_check_lib_save_LIBS
27579 fi
27580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27581 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27582 if test $ac_cv_lib_m_csinl = yes; then
27583
27584 cat >>confdefs.h <<\_ACEOF
27585 #define HAVE_CSINL 1
27586 _ACEOF
27587
27588 fi
27589
27590 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27591 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27592 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 else
27595 ac_check_lib_save_LIBS=$LIBS
27596 LIBS="-lm $LIBS"
27597 if test x$gcc_no_link = xyes; then
27598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27600 { (exit 1); exit 1; }; }
27601 fi
27602 cat >conftest.$ac_ext <<_ACEOF
27603 /* confdefs.h. */
27604 _ACEOF
27605 cat confdefs.h >>conftest.$ac_ext
27606 cat >>conftest.$ac_ext <<_ACEOF
27607 /* end confdefs.h. */
27608
27609 /* Override any gcc2 internal prototype to avoid an error. */
27610 #ifdef __cplusplus
27611 extern "C"
27612 #endif
27613 /* We use char because int might match the return type of a gcc2
27614 builtin and then its argument prototype would still apply. */
27615 char sinhf ();
27616 int
27617 main ()
27618 {
27619 sinhf ();
27620 ;
27621 return 0;
27622 }
27623 _ACEOF
27624 rm -f conftest.$ac_objext conftest$ac_exeext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27626 (eval $ac_link) 2>conftest.er1
27627 ac_status=$?
27628 grep -v '^ *+' conftest.er1 >conftest.err
27629 rm -f conftest.er1
27630 cat conftest.err >&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } &&
27633 { ac_try='test -z "$ac_c_werror_flag"
27634 || test ! -s conftest.err'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27637 ac_status=$?
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; } &&
27640 { ac_try='test -s conftest$ac_exeext'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 ac_cv_lib_m_sinhf=yes
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27650
27651 ac_cv_lib_m_sinhf=no
27652 fi
27653 rm -f conftest.err conftest.$ac_objext \
27654 conftest$ac_exeext conftest.$ac_ext
27655 LIBS=$ac_check_lib_save_LIBS
27656 fi
27657 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27658 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27659 if test $ac_cv_lib_m_sinhf = yes; then
27660
27661 cat >>confdefs.h <<\_ACEOF
27662 #define HAVE_SINHF 1
27663 _ACEOF
27664
27665 fi
27666
27667 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27668 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27669 if test "${ac_cv_lib_m_sinh+set}" = set; then
27670 echo $ECHO_N "(cached) $ECHO_C" >&6
27671 else
27672 ac_check_lib_save_LIBS=$LIBS
27673 LIBS="-lm $LIBS"
27674 if test x$gcc_no_link = xyes; then
27675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27677 { (exit 1); exit 1; }; }
27678 fi
27679 cat >conftest.$ac_ext <<_ACEOF
27680 /* confdefs.h. */
27681 _ACEOF
27682 cat confdefs.h >>conftest.$ac_ext
27683 cat >>conftest.$ac_ext <<_ACEOF
27684 /* end confdefs.h. */
27685
27686 /* Override any gcc2 internal prototype to avoid an error. */
27687 #ifdef __cplusplus
27688 extern "C"
27689 #endif
27690 /* We use char because int might match the return type of a gcc2
27691 builtin and then its argument prototype would still apply. */
27692 char sinh ();
27693 int
27694 main ()
27695 {
27696 sinh ();
27697 ;
27698 return 0;
27699 }
27700 _ACEOF
27701 rm -f conftest.$ac_objext conftest$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703 (eval $ac_link) 2>conftest.er1
27704 ac_status=$?
27705 grep -v '^ *+' conftest.er1 >conftest.err
27706 rm -f conftest.er1
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try='test -z "$ac_c_werror_flag"
27711 || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_cv_lib_m_sinh=yes
27724 else
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 ac_cv_lib_m_sinh=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext \
27731 conftest$ac_exeext conftest.$ac_ext
27732 LIBS=$ac_check_lib_save_LIBS
27733 fi
27734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27735 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27736 if test $ac_cv_lib_m_sinh = yes; then
27737
27738 cat >>confdefs.h <<\_ACEOF
27739 #define HAVE_SINH 1
27740 _ACEOF
27741
27742 fi
27743
27744 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27745 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27746 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27748 else
27749 ac_check_lib_save_LIBS=$LIBS
27750 LIBS="-lm $LIBS"
27751 if test x$gcc_no_link = xyes; then
27752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27754 { (exit 1); exit 1; }; }
27755 fi
27756 cat >conftest.$ac_ext <<_ACEOF
27757 /* confdefs.h. */
27758 _ACEOF
27759 cat confdefs.h >>conftest.$ac_ext
27760 cat >>conftest.$ac_ext <<_ACEOF
27761 /* end confdefs.h. */
27762
27763 /* Override any gcc2 internal prototype to avoid an error. */
27764 #ifdef __cplusplus
27765 extern "C"
27766 #endif
27767 /* We use char because int might match the return type of a gcc2
27768 builtin and then its argument prototype would still apply. */
27769 char sinhl ();
27770 int
27771 main ()
27772 {
27773 sinhl ();
27774 ;
27775 return 0;
27776 }
27777 _ACEOF
27778 rm -f conftest.$ac_objext conftest$ac_exeext
27779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27780 (eval $ac_link) 2>conftest.er1
27781 ac_status=$?
27782 grep -v '^ *+' conftest.er1 >conftest.err
27783 rm -f conftest.er1
27784 cat conftest.err >&5
27785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786 (exit $ac_status); } &&
27787 { ac_try='test -z "$ac_c_werror_flag"
27788 || test ! -s conftest.err'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27791 ac_status=$?
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; } &&
27794 { ac_try='test -s conftest$ac_exeext'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27797 ac_status=$?
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 ac_cv_lib_m_sinhl=yes
27801 else
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27804
27805 ac_cv_lib_m_sinhl=no
27806 fi
27807 rm -f conftest.err conftest.$ac_objext \
27808 conftest$ac_exeext conftest.$ac_ext
27809 LIBS=$ac_check_lib_save_LIBS
27810 fi
27811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27812 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27813 if test $ac_cv_lib_m_sinhl = yes; then
27814
27815 cat >>confdefs.h <<\_ACEOF
27816 #define HAVE_SINHL 1
27817 _ACEOF
27818
27819 fi
27820
27821 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27822 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27823 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27824 echo $ECHO_N "(cached) $ECHO_C" >&6
27825 else
27826 ac_check_lib_save_LIBS=$LIBS
27827 LIBS="-lm $LIBS"
27828 if test x$gcc_no_link = xyes; then
27829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27831 { (exit 1); exit 1; }; }
27832 fi
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839
27840 /* Override any gcc2 internal prototype to avoid an error. */
27841 #ifdef __cplusplus
27842 extern "C"
27843 #endif
27844 /* We use char because int might match the return type of a gcc2
27845 builtin and then its argument prototype would still apply. */
27846 char csinhf ();
27847 int
27848 main ()
27849 {
27850 csinhf ();
27851 ;
27852 return 0;
27853 }
27854 _ACEOF
27855 rm -f conftest.$ac_objext conftest$ac_exeext
27856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27857 (eval $ac_link) 2>conftest.er1
27858 ac_status=$?
27859 grep -v '^ *+' conftest.er1 >conftest.err
27860 rm -f conftest.er1
27861 cat conftest.err >&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); } &&
27864 { ac_try='test -z "$ac_c_werror_flag"
27865 || test ! -s conftest.err'
27866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27867 (eval $ac_try) 2>&5
27868 ac_status=$?
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; } &&
27871 { ac_try='test -s conftest$ac_exeext'
27872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27873 (eval $ac_try) 2>&5
27874 ac_status=$?
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; }; then
27877 ac_cv_lib_m_csinhf=yes
27878 else
27879 echo "$as_me: failed program was:" >&5
27880 sed 's/^/| /' conftest.$ac_ext >&5
27881
27882 ac_cv_lib_m_csinhf=no
27883 fi
27884 rm -f conftest.err conftest.$ac_objext \
27885 conftest$ac_exeext conftest.$ac_ext
27886 LIBS=$ac_check_lib_save_LIBS
27887 fi
27888 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27889 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27890 if test $ac_cv_lib_m_csinhf = yes; then
27891
27892 cat >>confdefs.h <<\_ACEOF
27893 #define HAVE_CSINHF 1
27894 _ACEOF
27895
27896 fi
27897
27898 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27899 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27900 if test "${ac_cv_lib_m_csinh+set}" = set; then
27901 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 else
27903 ac_check_lib_save_LIBS=$LIBS
27904 LIBS="-lm $LIBS"
27905 if test x$gcc_no_link = xyes; then
27906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27908 { (exit 1); exit 1; }; }
27909 fi
27910 cat >conftest.$ac_ext <<_ACEOF
27911 /* confdefs.h. */
27912 _ACEOF
27913 cat confdefs.h >>conftest.$ac_ext
27914 cat >>conftest.$ac_ext <<_ACEOF
27915 /* end confdefs.h. */
27916
27917 /* Override any gcc2 internal prototype to avoid an error. */
27918 #ifdef __cplusplus
27919 extern "C"
27920 #endif
27921 /* We use char because int might match the return type of a gcc2
27922 builtin and then its argument prototype would still apply. */
27923 char csinh ();
27924 int
27925 main ()
27926 {
27927 csinh ();
27928 ;
27929 return 0;
27930 }
27931 _ACEOF
27932 rm -f conftest.$ac_objext conftest$ac_exeext
27933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27934 (eval $ac_link) 2>conftest.er1
27935 ac_status=$?
27936 grep -v '^ *+' conftest.er1 >conftest.err
27937 rm -f conftest.er1
27938 cat conftest.err >&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); } &&
27941 { ac_try='test -z "$ac_c_werror_flag"
27942 || test ! -s conftest.err'
27943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27944 (eval $ac_try) 2>&5
27945 ac_status=$?
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); }; } &&
27948 { ac_try='test -s conftest$ac_exeext'
27949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27950 (eval $ac_try) 2>&5
27951 ac_status=$?
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); }; }; then
27954 ac_cv_lib_m_csinh=yes
27955 else
27956 echo "$as_me: failed program was:" >&5
27957 sed 's/^/| /' conftest.$ac_ext >&5
27958
27959 ac_cv_lib_m_csinh=no
27960 fi
27961 rm -f conftest.err conftest.$ac_objext \
27962 conftest$ac_exeext conftest.$ac_ext
27963 LIBS=$ac_check_lib_save_LIBS
27964 fi
27965 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27966 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27967 if test $ac_cv_lib_m_csinh = yes; then
27968
27969 cat >>confdefs.h <<\_ACEOF
27970 #define HAVE_CSINH 1
27971 _ACEOF
27972
27973 fi
27974
27975 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27976 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27977 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 else
27980 ac_check_lib_save_LIBS=$LIBS
27981 LIBS="-lm $LIBS"
27982 if test x$gcc_no_link = xyes; then
27983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27985 { (exit 1); exit 1; }; }
27986 fi
27987 cat >conftest.$ac_ext <<_ACEOF
27988 /* confdefs.h. */
27989 _ACEOF
27990 cat confdefs.h >>conftest.$ac_ext
27991 cat >>conftest.$ac_ext <<_ACEOF
27992 /* end confdefs.h. */
27993
27994 /* Override any gcc2 internal prototype to avoid an error. */
27995 #ifdef __cplusplus
27996 extern "C"
27997 #endif
27998 /* We use char because int might match the return type of a gcc2
27999 builtin and then its argument prototype would still apply. */
28000 char csinhl ();
28001 int
28002 main ()
28003 {
28004 csinhl ();
28005 ;
28006 return 0;
28007 }
28008 _ACEOF
28009 rm -f conftest.$ac_objext conftest$ac_exeext
28010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28011 (eval $ac_link) 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } &&
28018 { ac_try='test -z "$ac_c_werror_flag"
28019 || test ! -s conftest.err'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; } &&
28025 { ac_try='test -s conftest$ac_exeext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 ac_cv_lib_m_csinhl=yes
28032 else
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28035
28036 ac_cv_lib_m_csinhl=no
28037 fi
28038 rm -f conftest.err conftest.$ac_objext \
28039 conftest$ac_exeext conftest.$ac_ext
28040 LIBS=$ac_check_lib_save_LIBS
28041 fi
28042 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28043 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28044 if test $ac_cv_lib_m_csinhl = yes; then
28045
28046 cat >>confdefs.h <<\_ACEOF
28047 #define HAVE_CSINHL 1
28048 _ACEOF
28049
28050 fi
28051
28052 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28053 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28054 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28055 echo $ECHO_N "(cached) $ECHO_C" >&6
28056 else
28057 ac_check_lib_save_LIBS=$LIBS
28058 LIBS="-lm $LIBS"
28059 if test x$gcc_no_link = xyes; then
28060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28062 { (exit 1); exit 1; }; }
28063 fi
28064 cat >conftest.$ac_ext <<_ACEOF
28065 /* confdefs.h. */
28066 _ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070
28071 /* Override any gcc2 internal prototype to avoid an error. */
28072 #ifdef __cplusplus
28073 extern "C"
28074 #endif
28075 /* We use char because int might match the return type of a gcc2
28076 builtin and then its argument prototype would still apply. */
28077 char sqrtf ();
28078 int
28079 main ()
28080 {
28081 sqrtf ();
28082 ;
28083 return 0;
28084 }
28085 _ACEOF
28086 rm -f conftest.$ac_objext conftest$ac_exeext
28087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28088 (eval $ac_link) 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
28095 { ac_try='test -z "$ac_c_werror_flag"
28096 || test ! -s conftest.err'
28097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28098 (eval $ac_try) 2>&5
28099 ac_status=$?
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; } &&
28102 { ac_try='test -s conftest$ac_exeext'
28103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28104 (eval $ac_try) 2>&5
28105 ac_status=$?
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; }; then
28108 ac_cv_lib_m_sqrtf=yes
28109 else
28110 echo "$as_me: failed program was:" >&5
28111 sed 's/^/| /' conftest.$ac_ext >&5
28112
28113 ac_cv_lib_m_sqrtf=no
28114 fi
28115 rm -f conftest.err conftest.$ac_objext \
28116 conftest$ac_exeext conftest.$ac_ext
28117 LIBS=$ac_check_lib_save_LIBS
28118 fi
28119 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28120 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28121 if test $ac_cv_lib_m_sqrtf = yes; then
28122
28123 cat >>confdefs.h <<\_ACEOF
28124 #define HAVE_SQRTF 1
28125 _ACEOF
28126
28127 fi
28128
28129 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28130 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28131 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28133 else
28134 ac_check_lib_save_LIBS=$LIBS
28135 LIBS="-lm $LIBS"
28136 if test x$gcc_no_link = xyes; then
28137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28139 { (exit 1); exit 1; }; }
28140 fi
28141 cat >conftest.$ac_ext <<_ACEOF
28142 /* confdefs.h. */
28143 _ACEOF
28144 cat confdefs.h >>conftest.$ac_ext
28145 cat >>conftest.$ac_ext <<_ACEOF
28146 /* end confdefs.h. */
28147
28148 /* Override any gcc2 internal prototype to avoid an error. */
28149 #ifdef __cplusplus
28150 extern "C"
28151 #endif
28152 /* We use char because int might match the return type of a gcc2
28153 builtin and then its argument prototype would still apply. */
28154 char sqrt ();
28155 int
28156 main ()
28157 {
28158 sqrt ();
28159 ;
28160 return 0;
28161 }
28162 _ACEOF
28163 rm -f conftest.$ac_objext conftest$ac_exeext
28164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28165 (eval $ac_link) 2>conftest.er1
28166 ac_status=$?
28167 grep -v '^ *+' conftest.er1 >conftest.err
28168 rm -f conftest.er1
28169 cat conftest.err >&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); } &&
28172 { ac_try='test -z "$ac_c_werror_flag"
28173 || test ! -s conftest.err'
28174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28175 (eval $ac_try) 2>&5
28176 ac_status=$?
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); }; } &&
28179 { ac_try='test -s conftest$ac_exeext'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28182 ac_status=$?
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; }; then
28185 ac_cv_lib_m_sqrt=yes
28186 else
28187 echo "$as_me: failed program was:" >&5
28188 sed 's/^/| /' conftest.$ac_ext >&5
28189
28190 ac_cv_lib_m_sqrt=no
28191 fi
28192 rm -f conftest.err conftest.$ac_objext \
28193 conftest$ac_exeext conftest.$ac_ext
28194 LIBS=$ac_check_lib_save_LIBS
28195 fi
28196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28197 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28198 if test $ac_cv_lib_m_sqrt = yes; then
28199
28200 cat >>confdefs.h <<\_ACEOF
28201 #define HAVE_SQRT 1
28202 _ACEOF
28203
28204 fi
28205
28206 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28207 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28208 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 else
28211 ac_check_lib_save_LIBS=$LIBS
28212 LIBS="-lm $LIBS"
28213 if test x$gcc_no_link = xyes; then
28214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28216 { (exit 1); exit 1; }; }
28217 fi
28218 cat >conftest.$ac_ext <<_ACEOF
28219 /* confdefs.h. */
28220 _ACEOF
28221 cat confdefs.h >>conftest.$ac_ext
28222 cat >>conftest.$ac_ext <<_ACEOF
28223 /* end confdefs.h. */
28224
28225 /* Override any gcc2 internal prototype to avoid an error. */
28226 #ifdef __cplusplus
28227 extern "C"
28228 #endif
28229 /* We use char because int might match the return type of a gcc2
28230 builtin and then its argument prototype would still apply. */
28231 char sqrtl ();
28232 int
28233 main ()
28234 {
28235 sqrtl ();
28236 ;
28237 return 0;
28238 }
28239 _ACEOF
28240 rm -f conftest.$ac_objext conftest$ac_exeext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28242 (eval $ac_link) 2>conftest.er1
28243 ac_status=$?
28244 grep -v '^ *+' conftest.er1 >conftest.err
28245 rm -f conftest.er1
28246 cat conftest.err >&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } &&
28249 { ac_try='test -z "$ac_c_werror_flag"
28250 || test ! -s conftest.err'
28251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252 (eval $ac_try) 2>&5
28253 ac_status=$?
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; } &&
28256 { ac_try='test -s conftest$ac_exeext'
28257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28258 (eval $ac_try) 2>&5
28259 ac_status=$?
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); }; }; then
28262 ac_cv_lib_m_sqrtl=yes
28263 else
28264 echo "$as_me: failed program was:" >&5
28265 sed 's/^/| /' conftest.$ac_ext >&5
28266
28267 ac_cv_lib_m_sqrtl=no
28268 fi
28269 rm -f conftest.err conftest.$ac_objext \
28270 conftest$ac_exeext conftest.$ac_ext
28271 LIBS=$ac_check_lib_save_LIBS
28272 fi
28273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28274 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28275 if test $ac_cv_lib_m_sqrtl = yes; then
28276
28277 cat >>confdefs.h <<\_ACEOF
28278 #define HAVE_SQRTL 1
28279 _ACEOF
28280
28281 fi
28282
28283 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28284 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28285 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28286 echo $ECHO_N "(cached) $ECHO_C" >&6
28287 else
28288 ac_check_lib_save_LIBS=$LIBS
28289 LIBS="-lm $LIBS"
28290 if test x$gcc_no_link = xyes; then
28291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28293 { (exit 1); exit 1; }; }
28294 fi
28295 cat >conftest.$ac_ext <<_ACEOF
28296 /* confdefs.h. */
28297 _ACEOF
28298 cat confdefs.h >>conftest.$ac_ext
28299 cat >>conftest.$ac_ext <<_ACEOF
28300 /* end confdefs.h. */
28301
28302 /* Override any gcc2 internal prototype to avoid an error. */
28303 #ifdef __cplusplus
28304 extern "C"
28305 #endif
28306 /* We use char because int might match the return type of a gcc2
28307 builtin and then its argument prototype would still apply. */
28308 char csqrtf ();
28309 int
28310 main ()
28311 {
28312 csqrtf ();
28313 ;
28314 return 0;
28315 }
28316 _ACEOF
28317 rm -f conftest.$ac_objext conftest$ac_exeext
28318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28319 (eval $ac_link) 2>conftest.er1
28320 ac_status=$?
28321 grep -v '^ *+' conftest.er1 >conftest.err
28322 rm -f conftest.er1
28323 cat conftest.err >&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } &&
28326 { ac_try='test -z "$ac_c_werror_flag"
28327 || test ! -s conftest.err'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28330 ac_status=$?
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; } &&
28333 { ac_try='test -s conftest$ac_exeext'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; }; then
28339 ac_cv_lib_m_csqrtf=yes
28340 else
28341 echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28343
28344 ac_cv_lib_m_csqrtf=no
28345 fi
28346 rm -f conftest.err conftest.$ac_objext \
28347 conftest$ac_exeext conftest.$ac_ext
28348 LIBS=$ac_check_lib_save_LIBS
28349 fi
28350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28351 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28352 if test $ac_cv_lib_m_csqrtf = yes; then
28353
28354 cat >>confdefs.h <<\_ACEOF
28355 #define HAVE_CSQRTF 1
28356 _ACEOF
28357
28358 fi
28359
28360 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28361 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28362 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 else
28365 ac_check_lib_save_LIBS=$LIBS
28366 LIBS="-lm $LIBS"
28367 if test x$gcc_no_link = xyes; then
28368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28370 { (exit 1); exit 1; }; }
28371 fi
28372 cat >conftest.$ac_ext <<_ACEOF
28373 /* confdefs.h. */
28374 _ACEOF
28375 cat confdefs.h >>conftest.$ac_ext
28376 cat >>conftest.$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378
28379 /* Override any gcc2 internal prototype to avoid an error. */
28380 #ifdef __cplusplus
28381 extern "C"
28382 #endif
28383 /* We use char because int might match the return type of a gcc2
28384 builtin and then its argument prototype would still apply. */
28385 char csqrt ();
28386 int
28387 main ()
28388 {
28389 csqrt ();
28390 ;
28391 return 0;
28392 }
28393 _ACEOF
28394 rm -f conftest.$ac_objext conftest$ac_exeext
28395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28396 (eval $ac_link) 2>conftest.er1
28397 ac_status=$?
28398 grep -v '^ *+' conftest.er1 >conftest.err
28399 rm -f conftest.er1
28400 cat conftest.err >&5
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); } &&
28403 { ac_try='test -z "$ac_c_werror_flag"
28404 || test ! -s conftest.err'
28405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28406 (eval $ac_try) 2>&5
28407 ac_status=$?
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); }; } &&
28410 { ac_try='test -s conftest$ac_exeext'
28411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28412 (eval $ac_try) 2>&5
28413 ac_status=$?
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; }; then
28416 ac_cv_lib_m_csqrt=yes
28417 else
28418 echo "$as_me: failed program was:" >&5
28419 sed 's/^/| /' conftest.$ac_ext >&5
28420
28421 ac_cv_lib_m_csqrt=no
28422 fi
28423 rm -f conftest.err conftest.$ac_objext \
28424 conftest$ac_exeext conftest.$ac_ext
28425 LIBS=$ac_check_lib_save_LIBS
28426 fi
28427 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28428 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28429 if test $ac_cv_lib_m_csqrt = yes; then
28430
28431 cat >>confdefs.h <<\_ACEOF
28432 #define HAVE_CSQRT 1
28433 _ACEOF
28434
28435 fi
28436
28437 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28438 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28439 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28441 else
28442 ac_check_lib_save_LIBS=$LIBS
28443 LIBS="-lm $LIBS"
28444 if test x$gcc_no_link = xyes; then
28445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28447 { (exit 1); exit 1; }; }
28448 fi
28449 cat >conftest.$ac_ext <<_ACEOF
28450 /* confdefs.h. */
28451 _ACEOF
28452 cat confdefs.h >>conftest.$ac_ext
28453 cat >>conftest.$ac_ext <<_ACEOF
28454 /* end confdefs.h. */
28455
28456 /* Override any gcc2 internal prototype to avoid an error. */
28457 #ifdef __cplusplus
28458 extern "C"
28459 #endif
28460 /* We use char because int might match the return type of a gcc2
28461 builtin and then its argument prototype would still apply. */
28462 char csqrtl ();
28463 int
28464 main ()
28465 {
28466 csqrtl ();
28467 ;
28468 return 0;
28469 }
28470 _ACEOF
28471 rm -f conftest.$ac_objext conftest$ac_exeext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473 (eval $ac_link) 2>conftest.er1
28474 ac_status=$?
28475 grep -v '^ *+' conftest.er1 >conftest.err
28476 rm -f conftest.er1
28477 cat conftest.err >&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); } &&
28480 { ac_try='test -z "$ac_c_werror_flag"
28481 || test ! -s conftest.err'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28484 ac_status=$?
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; } &&
28487 { ac_try='test -s conftest$ac_exeext'
28488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28489 (eval $ac_try) 2>&5
28490 ac_status=$?
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); }; }; then
28493 ac_cv_lib_m_csqrtl=yes
28494 else
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.$ac_ext >&5
28497
28498 ac_cv_lib_m_csqrtl=no
28499 fi
28500 rm -f conftest.err conftest.$ac_objext \
28501 conftest$ac_exeext conftest.$ac_ext
28502 LIBS=$ac_check_lib_save_LIBS
28503 fi
28504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28505 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28506 if test $ac_cv_lib_m_csqrtl = yes; then
28507
28508 cat >>confdefs.h <<\_ACEOF
28509 #define HAVE_CSQRTL 1
28510 _ACEOF
28511
28512 fi
28513
28514 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28515 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28516 if test "${ac_cv_lib_m_tanf+set}" = set; then
28517 echo $ECHO_N "(cached) $ECHO_C" >&6
28518 else
28519 ac_check_lib_save_LIBS=$LIBS
28520 LIBS="-lm $LIBS"
28521 if test x$gcc_no_link = xyes; then
28522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28524 { (exit 1); exit 1; }; }
28525 fi
28526 cat >conftest.$ac_ext <<_ACEOF
28527 /* confdefs.h. */
28528 _ACEOF
28529 cat confdefs.h >>conftest.$ac_ext
28530 cat >>conftest.$ac_ext <<_ACEOF
28531 /* end confdefs.h. */
28532
28533 /* Override any gcc2 internal prototype to avoid an error. */
28534 #ifdef __cplusplus
28535 extern "C"
28536 #endif
28537 /* We use char because int might match the return type of a gcc2
28538 builtin and then its argument prototype would still apply. */
28539 char tanf ();
28540 int
28541 main ()
28542 {
28543 tanf ();
28544 ;
28545 return 0;
28546 }
28547 _ACEOF
28548 rm -f conftest.$ac_objext conftest$ac_exeext
28549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28550 (eval $ac_link) 2>conftest.er1
28551 ac_status=$?
28552 grep -v '^ *+' conftest.er1 >conftest.err
28553 rm -f conftest.er1
28554 cat conftest.err >&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); } &&
28557 { ac_try='test -z "$ac_c_werror_flag"
28558 || test ! -s conftest.err'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28561 ac_status=$?
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; } &&
28564 { ac_try='test -s conftest$ac_exeext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28567 ac_status=$?
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 ac_cv_lib_m_tanf=yes
28571 else
28572 echo "$as_me: failed program was:" >&5
28573 sed 's/^/| /' conftest.$ac_ext >&5
28574
28575 ac_cv_lib_m_tanf=no
28576 fi
28577 rm -f conftest.err conftest.$ac_objext \
28578 conftest$ac_exeext conftest.$ac_ext
28579 LIBS=$ac_check_lib_save_LIBS
28580 fi
28581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28582 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28583 if test $ac_cv_lib_m_tanf = yes; then
28584
28585 cat >>confdefs.h <<\_ACEOF
28586 #define HAVE_TANF 1
28587 _ACEOF
28588
28589 fi
28590
28591 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28592 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28593 if test "${ac_cv_lib_m_tan+set}" = set; then
28594 echo $ECHO_N "(cached) $ECHO_C" >&6
28595 else
28596 ac_check_lib_save_LIBS=$LIBS
28597 LIBS="-lm $LIBS"
28598 if test x$gcc_no_link = xyes; then
28599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28601 { (exit 1); exit 1; }; }
28602 fi
28603 cat >conftest.$ac_ext <<_ACEOF
28604 /* confdefs.h. */
28605 _ACEOF
28606 cat confdefs.h >>conftest.$ac_ext
28607 cat >>conftest.$ac_ext <<_ACEOF
28608 /* end confdefs.h. */
28609
28610 /* Override any gcc2 internal prototype to avoid an error. */
28611 #ifdef __cplusplus
28612 extern "C"
28613 #endif
28614 /* We use char because int might match the return type of a gcc2
28615 builtin and then its argument prototype would still apply. */
28616 char tan ();
28617 int
28618 main ()
28619 {
28620 tan ();
28621 ;
28622 return 0;
28623 }
28624 _ACEOF
28625 rm -f conftest.$ac_objext conftest$ac_exeext
28626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28627 (eval $ac_link) 2>conftest.er1
28628 ac_status=$?
28629 grep -v '^ *+' conftest.er1 >conftest.err
28630 rm -f conftest.er1
28631 cat conftest.err >&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); } &&
28634 { ac_try='test -z "$ac_c_werror_flag"
28635 || test ! -s conftest.err'
28636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28637 (eval $ac_try) 2>&5
28638 ac_status=$?
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; } &&
28641 { ac_try='test -s conftest$ac_exeext'
28642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28643 (eval $ac_try) 2>&5
28644 ac_status=$?
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); }; }; then
28647 ac_cv_lib_m_tan=yes
28648 else
28649 echo "$as_me: failed program was:" >&5
28650 sed 's/^/| /' conftest.$ac_ext >&5
28651
28652 ac_cv_lib_m_tan=no
28653 fi
28654 rm -f conftest.err conftest.$ac_objext \
28655 conftest$ac_exeext conftest.$ac_ext
28656 LIBS=$ac_check_lib_save_LIBS
28657 fi
28658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28659 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28660 if test $ac_cv_lib_m_tan = yes; then
28661
28662 cat >>confdefs.h <<\_ACEOF
28663 #define HAVE_TAN 1
28664 _ACEOF
28665
28666 fi
28667
28668 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28669 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28670 if test "${ac_cv_lib_m_tanl+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28672 else
28673 ac_check_lib_save_LIBS=$LIBS
28674 LIBS="-lm $LIBS"
28675 if test x$gcc_no_link = xyes; then
28676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28678 { (exit 1); exit 1; }; }
28679 fi
28680 cat >conftest.$ac_ext <<_ACEOF
28681 /* confdefs.h. */
28682 _ACEOF
28683 cat confdefs.h >>conftest.$ac_ext
28684 cat >>conftest.$ac_ext <<_ACEOF
28685 /* end confdefs.h. */
28686
28687 /* Override any gcc2 internal prototype to avoid an error. */
28688 #ifdef __cplusplus
28689 extern "C"
28690 #endif
28691 /* We use char because int might match the return type of a gcc2
28692 builtin and then its argument prototype would still apply. */
28693 char tanl ();
28694 int
28695 main ()
28696 {
28697 tanl ();
28698 ;
28699 return 0;
28700 }
28701 _ACEOF
28702 rm -f conftest.$ac_objext conftest$ac_exeext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28704 (eval $ac_link) 2>conftest.er1
28705 ac_status=$?
28706 grep -v '^ *+' conftest.er1 >conftest.err
28707 rm -f conftest.er1
28708 cat conftest.err >&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); } &&
28711 { ac_try='test -z "$ac_c_werror_flag"
28712 || test ! -s conftest.err'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28715 ac_status=$?
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; } &&
28718 { ac_try='test -s conftest$ac_exeext'
28719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720 (eval $ac_try) 2>&5
28721 ac_status=$?
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); }; }; then
28724 ac_cv_lib_m_tanl=yes
28725 else
28726 echo "$as_me: failed program was:" >&5
28727 sed 's/^/| /' conftest.$ac_ext >&5
28728
28729 ac_cv_lib_m_tanl=no
28730 fi
28731 rm -f conftest.err conftest.$ac_objext \
28732 conftest$ac_exeext conftest.$ac_ext
28733 LIBS=$ac_check_lib_save_LIBS
28734 fi
28735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28736 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28737 if test $ac_cv_lib_m_tanl = yes; then
28738
28739 cat >>confdefs.h <<\_ACEOF
28740 #define HAVE_TANL 1
28741 _ACEOF
28742
28743 fi
28744
28745 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28746 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28747 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 else
28750 ac_check_lib_save_LIBS=$LIBS
28751 LIBS="-lm $LIBS"
28752 if test x$gcc_no_link = xyes; then
28753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28755 { (exit 1); exit 1; }; }
28756 fi
28757 cat >conftest.$ac_ext <<_ACEOF
28758 /* confdefs.h. */
28759 _ACEOF
28760 cat confdefs.h >>conftest.$ac_ext
28761 cat >>conftest.$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28763
28764 /* Override any gcc2 internal prototype to avoid an error. */
28765 #ifdef __cplusplus
28766 extern "C"
28767 #endif
28768 /* We use char because int might match the return type of a gcc2
28769 builtin and then its argument prototype would still apply. */
28770 char ctanf ();
28771 int
28772 main ()
28773 {
28774 ctanf ();
28775 ;
28776 return 0;
28777 }
28778 _ACEOF
28779 rm -f conftest.$ac_objext conftest$ac_exeext
28780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28781 (eval $ac_link) 2>conftest.er1
28782 ac_status=$?
28783 grep -v '^ *+' conftest.er1 >conftest.err
28784 rm -f conftest.er1
28785 cat conftest.err >&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); } &&
28788 { ac_try='test -z "$ac_c_werror_flag"
28789 || test ! -s conftest.err'
28790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28791 (eval $ac_try) 2>&5
28792 ac_status=$?
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; } &&
28795 { ac_try='test -s conftest$ac_exeext'
28796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28797 (eval $ac_try) 2>&5
28798 ac_status=$?
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); }; }; then
28801 ac_cv_lib_m_ctanf=yes
28802 else
28803 echo "$as_me: failed program was:" >&5
28804 sed 's/^/| /' conftest.$ac_ext >&5
28805
28806 ac_cv_lib_m_ctanf=no
28807 fi
28808 rm -f conftest.err conftest.$ac_objext \
28809 conftest$ac_exeext conftest.$ac_ext
28810 LIBS=$ac_check_lib_save_LIBS
28811 fi
28812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28813 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28814 if test $ac_cv_lib_m_ctanf = yes; then
28815
28816 cat >>confdefs.h <<\_ACEOF
28817 #define HAVE_CTANF 1
28818 _ACEOF
28819
28820 fi
28821
28822 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28823 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28824 if test "${ac_cv_lib_m_ctan+set}" = set; then
28825 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 else
28827 ac_check_lib_save_LIBS=$LIBS
28828 LIBS="-lm $LIBS"
28829 if test x$gcc_no_link = xyes; then
28830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28832 { (exit 1); exit 1; }; }
28833 fi
28834 cat >conftest.$ac_ext <<_ACEOF
28835 /* confdefs.h. */
28836 _ACEOF
28837 cat confdefs.h >>conftest.$ac_ext
28838 cat >>conftest.$ac_ext <<_ACEOF
28839 /* end confdefs.h. */
28840
28841 /* Override any gcc2 internal prototype to avoid an error. */
28842 #ifdef __cplusplus
28843 extern "C"
28844 #endif
28845 /* We use char because int might match the return type of a gcc2
28846 builtin and then its argument prototype would still apply. */
28847 char ctan ();
28848 int
28849 main ()
28850 {
28851 ctan ();
28852 ;
28853 return 0;
28854 }
28855 _ACEOF
28856 rm -f conftest.$ac_objext conftest$ac_exeext
28857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28858 (eval $ac_link) 2>conftest.er1
28859 ac_status=$?
28860 grep -v '^ *+' conftest.er1 >conftest.err
28861 rm -f conftest.er1
28862 cat conftest.err >&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } &&
28865 { ac_try='test -z "$ac_c_werror_flag"
28866 || test ! -s conftest.err'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; } &&
28872 { ac_try='test -s conftest$ac_exeext'
28873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28874 (eval $ac_try) 2>&5
28875 ac_status=$?
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; }; then
28878 ac_cv_lib_m_ctan=yes
28879 else
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 ac_cv_lib_m_ctan=no
28884 fi
28885 rm -f conftest.err conftest.$ac_objext \
28886 conftest$ac_exeext conftest.$ac_ext
28887 LIBS=$ac_check_lib_save_LIBS
28888 fi
28889 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28890 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28891 if test $ac_cv_lib_m_ctan = yes; then
28892
28893 cat >>confdefs.h <<\_ACEOF
28894 #define HAVE_CTAN 1
28895 _ACEOF
28896
28897 fi
28898
28899 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28900 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28901 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28902 echo $ECHO_N "(cached) $ECHO_C" >&6
28903 else
28904 ac_check_lib_save_LIBS=$LIBS
28905 LIBS="-lm $LIBS"
28906 if test x$gcc_no_link = xyes; then
28907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28909 { (exit 1); exit 1; }; }
28910 fi
28911 cat >conftest.$ac_ext <<_ACEOF
28912 /* confdefs.h. */
28913 _ACEOF
28914 cat confdefs.h >>conftest.$ac_ext
28915 cat >>conftest.$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28917
28918 /* Override any gcc2 internal prototype to avoid an error. */
28919 #ifdef __cplusplus
28920 extern "C"
28921 #endif
28922 /* We use char because int might match the return type of a gcc2
28923 builtin and then its argument prototype would still apply. */
28924 char ctanl ();
28925 int
28926 main ()
28927 {
28928 ctanl ();
28929 ;
28930 return 0;
28931 }
28932 _ACEOF
28933 rm -f conftest.$ac_objext conftest$ac_exeext
28934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28935 (eval $ac_link) 2>conftest.er1
28936 ac_status=$?
28937 grep -v '^ *+' conftest.er1 >conftest.err
28938 rm -f conftest.er1
28939 cat conftest.err >&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); } &&
28942 { ac_try='test -z "$ac_c_werror_flag"
28943 || test ! -s conftest.err'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28946 ac_status=$?
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; } &&
28949 { ac_try='test -s conftest$ac_exeext'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28952 ac_status=$?
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; }; then
28955 ac_cv_lib_m_ctanl=yes
28956 else
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.$ac_ext >&5
28959
28960 ac_cv_lib_m_ctanl=no
28961 fi
28962 rm -f conftest.err conftest.$ac_objext \
28963 conftest$ac_exeext conftest.$ac_ext
28964 LIBS=$ac_check_lib_save_LIBS
28965 fi
28966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28967 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28968 if test $ac_cv_lib_m_ctanl = yes; then
28969
28970 cat >>confdefs.h <<\_ACEOF
28971 #define HAVE_CTANL 1
28972 _ACEOF
28973
28974 fi
28975
28976 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28977 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28978 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 else
28981 ac_check_lib_save_LIBS=$LIBS
28982 LIBS="-lm $LIBS"
28983 if test x$gcc_no_link = xyes; then
28984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28986 { (exit 1); exit 1; }; }
28987 fi
28988 cat >conftest.$ac_ext <<_ACEOF
28989 /* confdefs.h. */
28990 _ACEOF
28991 cat confdefs.h >>conftest.$ac_ext
28992 cat >>conftest.$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28994
28995 /* Override any gcc2 internal prototype to avoid an error. */
28996 #ifdef __cplusplus
28997 extern "C"
28998 #endif
28999 /* We use char because int might match the return type of a gcc2
29000 builtin and then its argument prototype would still apply. */
29001 char tanhf ();
29002 int
29003 main ()
29004 {
29005 tanhf ();
29006 ;
29007 return 0;
29008 }
29009 _ACEOF
29010 rm -f conftest.$ac_objext conftest$ac_exeext
29011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29012 (eval $ac_link) 2>conftest.er1
29013 ac_status=$?
29014 grep -v '^ *+' conftest.er1 >conftest.err
29015 rm -f conftest.er1
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } &&
29019 { ac_try='test -z "$ac_c_werror_flag"
29020 || test ! -s conftest.err'
29021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29022 (eval $ac_try) 2>&5
29023 ac_status=$?
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); }; } &&
29026 { ac_try='test -s conftest$ac_exeext'
29027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29028 (eval $ac_try) 2>&5
29029 ac_status=$?
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); }; }; then
29032 ac_cv_lib_m_tanhf=yes
29033 else
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29036
29037 ac_cv_lib_m_tanhf=no
29038 fi
29039 rm -f conftest.err conftest.$ac_objext \
29040 conftest$ac_exeext conftest.$ac_ext
29041 LIBS=$ac_check_lib_save_LIBS
29042 fi
29043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29044 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29045 if test $ac_cv_lib_m_tanhf = yes; then
29046
29047 cat >>confdefs.h <<\_ACEOF
29048 #define HAVE_TANHF 1
29049 _ACEOF
29050
29051 fi
29052
29053 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29054 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29055 if test "${ac_cv_lib_m_tanh+set}" = set; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29057 else
29058 ac_check_lib_save_LIBS=$LIBS
29059 LIBS="-lm $LIBS"
29060 if test x$gcc_no_link = xyes; then
29061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29063 { (exit 1); exit 1; }; }
29064 fi
29065 cat >conftest.$ac_ext <<_ACEOF
29066 /* confdefs.h. */
29067 _ACEOF
29068 cat confdefs.h >>conftest.$ac_ext
29069 cat >>conftest.$ac_ext <<_ACEOF
29070 /* end confdefs.h. */
29071
29072 /* Override any gcc2 internal prototype to avoid an error. */
29073 #ifdef __cplusplus
29074 extern "C"
29075 #endif
29076 /* We use char because int might match the return type of a gcc2
29077 builtin and then its argument prototype would still apply. */
29078 char tanh ();
29079 int
29080 main ()
29081 {
29082 tanh ();
29083 ;
29084 return 0;
29085 }
29086 _ACEOF
29087 rm -f conftest.$ac_objext conftest$ac_exeext
29088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29089 (eval $ac_link) 2>conftest.er1
29090 ac_status=$?
29091 grep -v '^ *+' conftest.er1 >conftest.err
29092 rm -f conftest.er1
29093 cat conftest.err >&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } &&
29096 { ac_try='test -z "$ac_c_werror_flag"
29097 || test ! -s conftest.err'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29100 ac_status=$?
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; } &&
29103 { ac_try='test -s conftest$ac_exeext'
29104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29105 (eval $ac_try) 2>&5
29106 ac_status=$?
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); }; }; then
29109 ac_cv_lib_m_tanh=yes
29110 else
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.$ac_ext >&5
29113
29114 ac_cv_lib_m_tanh=no
29115 fi
29116 rm -f conftest.err conftest.$ac_objext \
29117 conftest$ac_exeext conftest.$ac_ext
29118 LIBS=$ac_check_lib_save_LIBS
29119 fi
29120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29121 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29122 if test $ac_cv_lib_m_tanh = yes; then
29123
29124 cat >>confdefs.h <<\_ACEOF
29125 #define HAVE_TANH 1
29126 _ACEOF
29127
29128 fi
29129
29130 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29131 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29132 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 else
29135 ac_check_lib_save_LIBS=$LIBS
29136 LIBS="-lm $LIBS"
29137 if test x$gcc_no_link = xyes; then
29138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29140 { (exit 1); exit 1; }; }
29141 fi
29142 cat >conftest.$ac_ext <<_ACEOF
29143 /* confdefs.h. */
29144 _ACEOF
29145 cat confdefs.h >>conftest.$ac_ext
29146 cat >>conftest.$ac_ext <<_ACEOF
29147 /* end confdefs.h. */
29148
29149 /* Override any gcc2 internal prototype to avoid an error. */
29150 #ifdef __cplusplus
29151 extern "C"
29152 #endif
29153 /* We use char because int might match the return type of a gcc2
29154 builtin and then its argument prototype would still apply. */
29155 char tanhl ();
29156 int
29157 main ()
29158 {
29159 tanhl ();
29160 ;
29161 return 0;
29162 }
29163 _ACEOF
29164 rm -f conftest.$ac_objext conftest$ac_exeext
29165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29166 (eval $ac_link) 2>conftest.er1
29167 ac_status=$?
29168 grep -v '^ *+' conftest.er1 >conftest.err
29169 rm -f conftest.er1
29170 cat conftest.err >&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } &&
29173 { ac_try='test -z "$ac_c_werror_flag"
29174 || test ! -s conftest.err'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29177 ac_status=$?
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; } &&
29180 { ac_try='test -s conftest$ac_exeext'
29181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29182 (eval $ac_try) 2>&5
29183 ac_status=$?
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); }; }; then
29186 ac_cv_lib_m_tanhl=yes
29187 else
29188 echo "$as_me: failed program was:" >&5
29189 sed 's/^/| /' conftest.$ac_ext >&5
29190
29191 ac_cv_lib_m_tanhl=no
29192 fi
29193 rm -f conftest.err conftest.$ac_objext \
29194 conftest$ac_exeext conftest.$ac_ext
29195 LIBS=$ac_check_lib_save_LIBS
29196 fi
29197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29198 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29199 if test $ac_cv_lib_m_tanhl = yes; then
29200
29201 cat >>confdefs.h <<\_ACEOF
29202 #define HAVE_TANHL 1
29203 _ACEOF
29204
29205 fi
29206
29207 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29208 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29209 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29210 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29212 ac_check_lib_save_LIBS=$LIBS
29213 LIBS="-lm $LIBS"
29214 if test x$gcc_no_link = xyes; then
29215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29217 { (exit 1); exit 1; }; }
29218 fi
29219 cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h. */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225
29226 /* Override any gcc2 internal prototype to avoid an error. */
29227 #ifdef __cplusplus
29228 extern "C"
29229 #endif
29230 /* We use char because int might match the return type of a gcc2
29231 builtin and then its argument prototype would still apply. */
29232 char ctanhf ();
29233 int
29234 main ()
29235 {
29236 ctanhf ();
29237 ;
29238 return 0;
29239 }
29240 _ACEOF
29241 rm -f conftest.$ac_objext conftest$ac_exeext
29242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29243 (eval $ac_link) 2>conftest.er1
29244 ac_status=$?
29245 grep -v '^ *+' conftest.er1 >conftest.err
29246 rm -f conftest.er1
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } &&
29250 { ac_try='test -z "$ac_c_werror_flag"
29251 || test ! -s conftest.err'
29252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29253 (eval $ac_try) 2>&5
29254 ac_status=$?
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); }; } &&
29257 { ac_try='test -s conftest$ac_exeext'
29258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259 (eval $ac_try) 2>&5
29260 ac_status=$?
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; }; then
29263 ac_cv_lib_m_ctanhf=yes
29264 else
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29267
29268 ac_cv_lib_m_ctanhf=no
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272 LIBS=$ac_check_lib_save_LIBS
29273 fi
29274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29275 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29276 if test $ac_cv_lib_m_ctanhf = yes; then
29277
29278 cat >>confdefs.h <<\_ACEOF
29279 #define HAVE_CTANHF 1
29280 _ACEOF
29281
29282 fi
29283
29284 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29285 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29286 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29287 echo $ECHO_N "(cached) $ECHO_C" >&6
29288 else
29289 ac_check_lib_save_LIBS=$LIBS
29290 LIBS="-lm $LIBS"
29291 if test x$gcc_no_link = xyes; then
29292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29294 { (exit 1); exit 1; }; }
29295 fi
29296 cat >conftest.$ac_ext <<_ACEOF
29297 /* confdefs.h. */
29298 _ACEOF
29299 cat confdefs.h >>conftest.$ac_ext
29300 cat >>conftest.$ac_ext <<_ACEOF
29301 /* end confdefs.h. */
29302
29303 /* Override any gcc2 internal prototype to avoid an error. */
29304 #ifdef __cplusplus
29305 extern "C"
29306 #endif
29307 /* We use char because int might match the return type of a gcc2
29308 builtin and then its argument prototype would still apply. */
29309 char ctanh ();
29310 int
29311 main ()
29312 {
29313 ctanh ();
29314 ;
29315 return 0;
29316 }
29317 _ACEOF
29318 rm -f conftest.$ac_objext conftest$ac_exeext
29319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29320 (eval $ac_link) 2>conftest.er1
29321 ac_status=$?
29322 grep -v '^ *+' conftest.er1 >conftest.err
29323 rm -f conftest.er1
29324 cat conftest.err >&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } &&
29327 { ac_try='test -z "$ac_c_werror_flag"
29328 || test ! -s conftest.err'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29331 ac_status=$?
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; } &&
29334 { ac_try='test -s conftest$ac_exeext'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29337 ac_status=$?
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; }; then
29340 ac_cv_lib_m_ctanh=yes
29341 else
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.$ac_ext >&5
29344
29345 ac_cv_lib_m_ctanh=no
29346 fi
29347 rm -f conftest.err conftest.$ac_objext \
29348 conftest$ac_exeext conftest.$ac_ext
29349 LIBS=$ac_check_lib_save_LIBS
29350 fi
29351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29352 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29353 if test $ac_cv_lib_m_ctanh = yes; then
29354
29355 cat >>confdefs.h <<\_ACEOF
29356 #define HAVE_CTANH 1
29357 _ACEOF
29358
29359 fi
29360
29361 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29362 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29363 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29364 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 else
29366 ac_check_lib_save_LIBS=$LIBS
29367 LIBS="-lm $LIBS"
29368 if test x$gcc_no_link = xyes; then
29369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29371 { (exit 1); exit 1; }; }
29372 fi
29373 cat >conftest.$ac_ext <<_ACEOF
29374 /* confdefs.h. */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379
29380 /* Override any gcc2 internal prototype to avoid an error. */
29381 #ifdef __cplusplus
29382 extern "C"
29383 #endif
29384 /* We use char because int might match the return type of a gcc2
29385 builtin and then its argument prototype would still apply. */
29386 char ctanhl ();
29387 int
29388 main ()
29389 {
29390 ctanhl ();
29391 ;
29392 return 0;
29393 }
29394 _ACEOF
29395 rm -f conftest.$ac_objext conftest$ac_exeext
29396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29397 (eval $ac_link) 2>conftest.er1
29398 ac_status=$?
29399 grep -v '^ *+' conftest.er1 >conftest.err
29400 rm -f conftest.er1
29401 cat conftest.err >&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } &&
29404 { ac_try='test -z "$ac_c_werror_flag"
29405 || test ! -s conftest.err'
29406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29407 (eval $ac_try) 2>&5
29408 ac_status=$?
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); }; } &&
29411 { ac_try='test -s conftest$ac_exeext'
29412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29413 (eval $ac_try) 2>&5
29414 ac_status=$?
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); }; }; then
29417 ac_cv_lib_m_ctanhl=yes
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29421
29422 ac_cv_lib_m_ctanhl=no
29423 fi
29424 rm -f conftest.err conftest.$ac_objext \
29425 conftest$ac_exeext conftest.$ac_ext
29426 LIBS=$ac_check_lib_save_LIBS
29427 fi
29428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29429 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29430 if test $ac_cv_lib_m_ctanhl = yes; then
29431
29432 cat >>confdefs.h <<\_ACEOF
29433 #define HAVE_CTANHL 1
29434 _ACEOF
29435
29436 fi
29437
29438 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29439 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29440 if test "${ac_cv_lib_m_truncf+set}" = set; then
29441 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 else
29443 ac_check_lib_save_LIBS=$LIBS
29444 LIBS="-lm $LIBS"
29445 if test x$gcc_no_link = xyes; then
29446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29448 { (exit 1); exit 1; }; }
29449 fi
29450 cat >conftest.$ac_ext <<_ACEOF
29451 /* confdefs.h. */
29452 _ACEOF
29453 cat confdefs.h >>conftest.$ac_ext
29454 cat >>conftest.$ac_ext <<_ACEOF
29455 /* end confdefs.h. */
29456
29457 /* Override any gcc2 internal prototype to avoid an error. */
29458 #ifdef __cplusplus
29459 extern "C"
29460 #endif
29461 /* We use char because int might match the return type of a gcc2
29462 builtin and then its argument prototype would still apply. */
29463 char truncf ();
29464 int
29465 main ()
29466 {
29467 truncf ();
29468 ;
29469 return 0;
29470 }
29471 _ACEOF
29472 rm -f conftest.$ac_objext conftest$ac_exeext
29473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29474 (eval $ac_link) 2>conftest.er1
29475 ac_status=$?
29476 grep -v '^ *+' conftest.er1 >conftest.err
29477 rm -f conftest.er1
29478 cat conftest.err >&5
29479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 (exit $ac_status); } &&
29481 { ac_try='test -z "$ac_c_werror_flag"
29482 || test ! -s conftest.err'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_lib_m_truncf=yes
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 ac_cv_lib_m_truncf=no
29500 fi
29501 rm -f conftest.err conftest.$ac_objext \
29502 conftest$ac_exeext conftest.$ac_ext
29503 LIBS=$ac_check_lib_save_LIBS
29504 fi
29505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29506 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29507 if test $ac_cv_lib_m_truncf = yes; then
29508
29509 cat >>confdefs.h <<\_ACEOF
29510 #define HAVE_TRUNCF 1
29511 _ACEOF
29512
29513 fi
29514
29515 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29516 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29517 if test "${ac_cv_lib_m_trunc+set}" = set; then
29518 echo $ECHO_N "(cached) $ECHO_C" >&6
29519 else
29520 ac_check_lib_save_LIBS=$LIBS
29521 LIBS="-lm $LIBS"
29522 if test x$gcc_no_link = xyes; then
29523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29525 { (exit 1); exit 1; }; }
29526 fi
29527 cat >conftest.$ac_ext <<_ACEOF
29528 /* confdefs.h. */
29529 _ACEOF
29530 cat confdefs.h >>conftest.$ac_ext
29531 cat >>conftest.$ac_ext <<_ACEOF
29532 /* end confdefs.h. */
29533
29534 /* Override any gcc2 internal prototype to avoid an error. */
29535 #ifdef __cplusplus
29536 extern "C"
29537 #endif
29538 /* We use char because int might match the return type of a gcc2
29539 builtin and then its argument prototype would still apply. */
29540 char trunc ();
29541 int
29542 main ()
29543 {
29544 trunc ();
29545 ;
29546 return 0;
29547 }
29548 _ACEOF
29549 rm -f conftest.$ac_objext conftest$ac_exeext
29550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29551 (eval $ac_link) 2>conftest.er1
29552 ac_status=$?
29553 grep -v '^ *+' conftest.er1 >conftest.err
29554 rm -f conftest.er1
29555 cat conftest.err >&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); } &&
29558 { ac_try='test -z "$ac_c_werror_flag"
29559 || test ! -s conftest.err'
29560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 (eval $ac_try) 2>&5
29562 ac_status=$?
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); }; } &&
29565 { ac_try='test -s conftest$ac_exeext'
29566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29567 (eval $ac_try) 2>&5
29568 ac_status=$?
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; }; then
29571 ac_cv_lib_m_trunc=yes
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29575
29576 ac_cv_lib_m_trunc=no
29577 fi
29578 rm -f conftest.err conftest.$ac_objext \
29579 conftest$ac_exeext conftest.$ac_ext
29580 LIBS=$ac_check_lib_save_LIBS
29581 fi
29582 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29583 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29584 if test $ac_cv_lib_m_trunc = yes; then
29585
29586 cat >>confdefs.h <<\_ACEOF
29587 #define HAVE_TRUNC 1
29588 _ACEOF
29589
29590 fi
29591
29592 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29593 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29594 if test "${ac_cv_lib_m_truncl+set}" = set; then
29595 echo $ECHO_N "(cached) $ECHO_C" >&6
29596 else
29597 ac_check_lib_save_LIBS=$LIBS
29598 LIBS="-lm $LIBS"
29599 if test x$gcc_no_link = xyes; then
29600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29602 { (exit 1); exit 1; }; }
29603 fi
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610
29611 /* Override any gcc2 internal prototype to avoid an error. */
29612 #ifdef __cplusplus
29613 extern "C"
29614 #endif
29615 /* We use char because int might match the return type of a gcc2
29616 builtin and then its argument prototype would still apply. */
29617 char truncl ();
29618 int
29619 main ()
29620 {
29621 truncl ();
29622 ;
29623 return 0;
29624 }
29625 _ACEOF
29626 rm -f conftest.$ac_objext conftest$ac_exeext
29627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29628 (eval $ac_link) 2>conftest.er1
29629 ac_status=$?
29630 grep -v '^ *+' conftest.er1 >conftest.err
29631 rm -f conftest.er1
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } &&
29635 { ac_try='test -z "$ac_c_werror_flag"
29636 || test ! -s conftest.err'
29637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29638 (eval $ac_try) 2>&5
29639 ac_status=$?
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); }; } &&
29642 { ac_try='test -s conftest$ac_exeext'
29643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29644 (eval $ac_try) 2>&5
29645 ac_status=$?
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; }; then
29648 ac_cv_lib_m_truncl=yes
29649 else
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29652
29653 ac_cv_lib_m_truncl=no
29654 fi
29655 rm -f conftest.err conftest.$ac_objext \
29656 conftest$ac_exeext conftest.$ac_ext
29657 LIBS=$ac_check_lib_save_LIBS
29658 fi
29659 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29660 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29661 if test $ac_cv_lib_m_truncl = yes; then
29662
29663 cat >>confdefs.h <<\_ACEOF
29664 #define HAVE_TRUNCL 1
29665 _ACEOF
29666
29667 fi
29668
29669 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29670 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29671 if test "${ac_cv_lib_m_erff+set}" = set; then
29672 echo $ECHO_N "(cached) $ECHO_C" >&6
29673 else
29674 ac_check_lib_save_LIBS=$LIBS
29675 LIBS="-lm $LIBS"
29676 if test x$gcc_no_link = xyes; then
29677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29679 { (exit 1); exit 1; }; }
29680 fi
29681 cat >conftest.$ac_ext <<_ACEOF
29682 /* confdefs.h. */
29683 _ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29687
29688 /* Override any gcc2 internal prototype to avoid an error. */
29689 #ifdef __cplusplus
29690 extern "C"
29691 #endif
29692 /* We use char because int might match the return type of a gcc2
29693 builtin and then its argument prototype would still apply. */
29694 char erff ();
29695 int
29696 main ()
29697 {
29698 erff ();
29699 ;
29700 return 0;
29701 }
29702 _ACEOF
29703 rm -f conftest.$ac_objext conftest$ac_exeext
29704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29705 (eval $ac_link) 2>conftest.er1
29706 ac_status=$?
29707 grep -v '^ *+' conftest.er1 >conftest.err
29708 rm -f conftest.er1
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } &&
29712 { ac_try='test -z "$ac_c_werror_flag"
29713 || test ! -s conftest.err'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; } &&
29719 { ac_try='test -s conftest$ac_exeext'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29722 ac_status=$?
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; }; then
29725 ac_cv_lib_m_erff=yes
29726 else
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.$ac_ext >&5
29729
29730 ac_cv_lib_m_erff=no
29731 fi
29732 rm -f conftest.err conftest.$ac_objext \
29733 conftest$ac_exeext conftest.$ac_ext
29734 LIBS=$ac_check_lib_save_LIBS
29735 fi
29736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29737 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29738 if test $ac_cv_lib_m_erff = yes; then
29739
29740 cat >>confdefs.h <<\_ACEOF
29741 #define HAVE_ERFF 1
29742 _ACEOF
29743
29744 fi
29745
29746 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29747 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29748 if test "${ac_cv_lib_m_erf+set}" = set; then
29749 echo $ECHO_N "(cached) $ECHO_C" >&6
29750 else
29751 ac_check_lib_save_LIBS=$LIBS
29752 LIBS="-lm $LIBS"
29753 if test x$gcc_no_link = xyes; then
29754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29756 { (exit 1); exit 1; }; }
29757 fi
29758 cat >conftest.$ac_ext <<_ACEOF
29759 /* confdefs.h. */
29760 _ACEOF
29761 cat confdefs.h >>conftest.$ac_ext
29762 cat >>conftest.$ac_ext <<_ACEOF
29763 /* end confdefs.h. */
29764
29765 /* Override any gcc2 internal prototype to avoid an error. */
29766 #ifdef __cplusplus
29767 extern "C"
29768 #endif
29769 /* We use char because int might match the return type of a gcc2
29770 builtin and then its argument prototype would still apply. */
29771 char erf ();
29772 int
29773 main ()
29774 {
29775 erf ();
29776 ;
29777 return 0;
29778 }
29779 _ACEOF
29780 rm -f conftest.$ac_objext conftest$ac_exeext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29782 (eval $ac_link) 2>conftest.er1
29783 ac_status=$?
29784 grep -v '^ *+' conftest.er1 >conftest.err
29785 rm -f conftest.er1
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try='test -z "$ac_c_werror_flag"
29790 || test ! -s conftest.err'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; } &&
29796 { ac_try='test -s conftest$ac_exeext'
29797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798 (eval $ac_try) 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; }; then
29802 ac_cv_lib_m_erf=yes
29803 else
29804 echo "$as_me: failed program was:" >&5
29805 sed 's/^/| /' conftest.$ac_ext >&5
29806
29807 ac_cv_lib_m_erf=no
29808 fi
29809 rm -f conftest.err conftest.$ac_objext \
29810 conftest$ac_exeext conftest.$ac_ext
29811 LIBS=$ac_check_lib_save_LIBS
29812 fi
29813 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29814 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29815 if test $ac_cv_lib_m_erf = yes; then
29816
29817 cat >>confdefs.h <<\_ACEOF
29818 #define HAVE_ERF 1
29819 _ACEOF
29820
29821 fi
29822
29823 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29824 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29825 if test "${ac_cv_lib_m_erfl+set}" = set; then
29826 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 else
29828 ac_check_lib_save_LIBS=$LIBS
29829 LIBS="-lm $LIBS"
29830 if test x$gcc_no_link = xyes; then
29831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29833 { (exit 1); exit 1; }; }
29834 fi
29835 cat >conftest.$ac_ext <<_ACEOF
29836 /* confdefs.h. */
29837 _ACEOF
29838 cat confdefs.h >>conftest.$ac_ext
29839 cat >>conftest.$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841
29842 /* Override any gcc2 internal prototype to avoid an error. */
29843 #ifdef __cplusplus
29844 extern "C"
29845 #endif
29846 /* We use char because int might match the return type of a gcc2
29847 builtin and then its argument prototype would still apply. */
29848 char erfl ();
29849 int
29850 main ()
29851 {
29852 erfl ();
29853 ;
29854 return 0;
29855 }
29856 _ACEOF
29857 rm -f conftest.$ac_objext conftest$ac_exeext
29858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29859 (eval $ac_link) 2>conftest.er1
29860 ac_status=$?
29861 grep -v '^ *+' conftest.er1 >conftest.err
29862 rm -f conftest.er1
29863 cat conftest.err >&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } &&
29866 { ac_try='test -z "$ac_c_werror_flag"
29867 || test ! -s conftest.err'
29868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29869 (eval $ac_try) 2>&5
29870 ac_status=$?
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); }; } &&
29873 { ac_try='test -s conftest$ac_exeext'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; }; then
29879 ac_cv_lib_m_erfl=yes
29880 else
29881 echo "$as_me: failed program was:" >&5
29882 sed 's/^/| /' conftest.$ac_ext >&5
29883
29884 ac_cv_lib_m_erfl=no
29885 fi
29886 rm -f conftest.err conftest.$ac_objext \
29887 conftest$ac_exeext conftest.$ac_ext
29888 LIBS=$ac_check_lib_save_LIBS
29889 fi
29890 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29891 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29892 if test $ac_cv_lib_m_erfl = yes; then
29893
29894 cat >>confdefs.h <<\_ACEOF
29895 #define HAVE_ERFL 1
29896 _ACEOF
29897
29898 fi
29899
29900 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29901 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29902 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29903 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 else
29905 ac_check_lib_save_LIBS=$LIBS
29906 LIBS="-lm $LIBS"
29907 if test x$gcc_no_link = xyes; then
29908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29910 { (exit 1); exit 1; }; }
29911 fi
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918
29919 /* Override any gcc2 internal prototype to avoid an error. */
29920 #ifdef __cplusplus
29921 extern "C"
29922 #endif
29923 /* We use char because int might match the return type of a gcc2
29924 builtin and then its argument prototype would still apply. */
29925 char erfcf ();
29926 int
29927 main ()
29928 {
29929 erfcf ();
29930 ;
29931 return 0;
29932 }
29933 _ACEOF
29934 rm -f conftest.$ac_objext conftest$ac_exeext
29935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29936 (eval $ac_link) 2>conftest.er1
29937 ac_status=$?
29938 grep -v '^ *+' conftest.er1 >conftest.err
29939 rm -f conftest.er1
29940 cat conftest.err >&5
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); } &&
29943 { ac_try='test -z "$ac_c_werror_flag"
29944 || test ! -s conftest.err'
29945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29946 (eval $ac_try) 2>&5
29947 ac_status=$?
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); }; } &&
29950 { ac_try='test -s conftest$ac_exeext'
29951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29952 (eval $ac_try) 2>&5
29953 ac_status=$?
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); }; }; then
29956 ac_cv_lib_m_erfcf=yes
29957 else
29958 echo "$as_me: failed program was:" >&5
29959 sed 's/^/| /' conftest.$ac_ext >&5
29960
29961 ac_cv_lib_m_erfcf=no
29962 fi
29963 rm -f conftest.err conftest.$ac_objext \
29964 conftest$ac_exeext conftest.$ac_ext
29965 LIBS=$ac_check_lib_save_LIBS
29966 fi
29967 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29968 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29969 if test $ac_cv_lib_m_erfcf = yes; then
29970
29971 cat >>confdefs.h <<\_ACEOF
29972 #define HAVE_ERFCF 1
29973 _ACEOF
29974
29975 fi
29976
29977 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29978 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29979 if test "${ac_cv_lib_m_erfc+set}" = set; then
29980 echo $ECHO_N "(cached) $ECHO_C" >&6
29981 else
29982 ac_check_lib_save_LIBS=$LIBS
29983 LIBS="-lm $LIBS"
29984 if test x$gcc_no_link = xyes; then
29985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29987 { (exit 1); exit 1; }; }
29988 fi
29989 cat >conftest.$ac_ext <<_ACEOF
29990 /* confdefs.h. */
29991 _ACEOF
29992 cat confdefs.h >>conftest.$ac_ext
29993 cat >>conftest.$ac_ext <<_ACEOF
29994 /* end confdefs.h. */
29995
29996 /* Override any gcc2 internal prototype to avoid an error. */
29997 #ifdef __cplusplus
29998 extern "C"
29999 #endif
30000 /* We use char because int might match the return type of a gcc2
30001 builtin and then its argument prototype would still apply. */
30002 char erfc ();
30003 int
30004 main ()
30005 {
30006 erfc ();
30007 ;
30008 return 0;
30009 }
30010 _ACEOF
30011 rm -f conftest.$ac_objext conftest$ac_exeext
30012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30013 (eval $ac_link) 2>conftest.er1
30014 ac_status=$?
30015 grep -v '^ *+' conftest.er1 >conftest.err
30016 rm -f conftest.er1
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } &&
30020 { ac_try='test -z "$ac_c_werror_flag"
30021 || test ! -s conftest.err'
30022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30023 (eval $ac_try) 2>&5
30024 ac_status=$?
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); }; } &&
30027 { ac_try='test -s conftest$ac_exeext'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30030 ac_status=$?
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; }; then
30033 ac_cv_lib_m_erfc=yes
30034 else
30035 echo "$as_me: failed program was:" >&5
30036 sed 's/^/| /' conftest.$ac_ext >&5
30037
30038 ac_cv_lib_m_erfc=no
30039 fi
30040 rm -f conftest.err conftest.$ac_objext \
30041 conftest$ac_exeext conftest.$ac_ext
30042 LIBS=$ac_check_lib_save_LIBS
30043 fi
30044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30045 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30046 if test $ac_cv_lib_m_erfc = yes; then
30047
30048 cat >>confdefs.h <<\_ACEOF
30049 #define HAVE_ERFC 1
30050 _ACEOF
30051
30052 fi
30053
30054 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30055 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30056 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30057 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 else
30059 ac_check_lib_save_LIBS=$LIBS
30060 LIBS="-lm $LIBS"
30061 if test x$gcc_no_link = xyes; then
30062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30064 { (exit 1); exit 1; }; }
30065 fi
30066 cat >conftest.$ac_ext <<_ACEOF
30067 /* confdefs.h. */
30068 _ACEOF
30069 cat confdefs.h >>conftest.$ac_ext
30070 cat >>conftest.$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072
30073 /* Override any gcc2 internal prototype to avoid an error. */
30074 #ifdef __cplusplus
30075 extern "C"
30076 #endif
30077 /* We use char because int might match the return type of a gcc2
30078 builtin and then its argument prototype would still apply. */
30079 char erfcl ();
30080 int
30081 main ()
30082 {
30083 erfcl ();
30084 ;
30085 return 0;
30086 }
30087 _ACEOF
30088 rm -f conftest.$ac_objext conftest$ac_exeext
30089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30090 (eval $ac_link) 2>conftest.er1
30091 ac_status=$?
30092 grep -v '^ *+' conftest.er1 >conftest.err
30093 rm -f conftest.er1
30094 cat conftest.err >&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try='test -z "$ac_c_werror_flag"
30098 || test ! -s conftest.err'
30099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30100 (eval $ac_try) 2>&5
30101 ac_status=$?
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); }; } &&
30104 { ac_try='test -s conftest$ac_exeext'
30105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30106 (eval $ac_try) 2>&5
30107 ac_status=$?
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; }; then
30110 ac_cv_lib_m_erfcl=yes
30111 else
30112 echo "$as_me: failed program was:" >&5
30113 sed 's/^/| /' conftest.$ac_ext >&5
30114
30115 ac_cv_lib_m_erfcl=no
30116 fi
30117 rm -f conftest.err conftest.$ac_objext \
30118 conftest$ac_exeext conftest.$ac_ext
30119 LIBS=$ac_check_lib_save_LIBS
30120 fi
30121 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30122 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30123 if test $ac_cv_lib_m_erfcl = yes; then
30124
30125 cat >>confdefs.h <<\_ACEOF
30126 #define HAVE_ERFCL 1
30127 _ACEOF
30128
30129 fi
30130
30131 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30132 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30133 if test "${ac_cv_lib_m_j0f+set}" = set; then
30134 echo $ECHO_N "(cached) $ECHO_C" >&6
30135 else
30136 ac_check_lib_save_LIBS=$LIBS
30137 LIBS="-lm $LIBS"
30138 if test x$gcc_no_link = xyes; then
30139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30141 { (exit 1); exit 1; }; }
30142 fi
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149
30150 /* Override any gcc2 internal prototype to avoid an error. */
30151 #ifdef __cplusplus
30152 extern "C"
30153 #endif
30154 /* We use char because int might match the return type of a gcc2
30155 builtin and then its argument prototype would still apply. */
30156 char j0f ();
30157 int
30158 main ()
30159 {
30160 j0f ();
30161 ;
30162 return 0;
30163 }
30164 _ACEOF
30165 rm -f conftest.$ac_objext conftest$ac_exeext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30167 (eval $ac_link) 2>conftest.er1
30168 ac_status=$?
30169 grep -v '^ *+' conftest.er1 >conftest.err
30170 rm -f conftest.er1
30171 cat conftest.err >&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try='test -z "$ac_c_werror_flag"
30175 || test ! -s conftest.err'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30178 ac_status=$?
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; } &&
30181 { ac_try='test -s conftest$ac_exeext'
30182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30183 (eval $ac_try) 2>&5
30184 ac_status=$?
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); }; }; then
30187 ac_cv_lib_m_j0f=yes
30188 else
30189 echo "$as_me: failed program was:" >&5
30190 sed 's/^/| /' conftest.$ac_ext >&5
30191
30192 ac_cv_lib_m_j0f=no
30193 fi
30194 rm -f conftest.err conftest.$ac_objext \
30195 conftest$ac_exeext conftest.$ac_ext
30196 LIBS=$ac_check_lib_save_LIBS
30197 fi
30198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30199 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30200 if test $ac_cv_lib_m_j0f = yes; then
30201
30202 cat >>confdefs.h <<\_ACEOF
30203 #define HAVE_J0F 1
30204 _ACEOF
30205
30206 fi
30207
30208 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30209 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30210 if test "${ac_cv_lib_m_j0+set}" = set; then
30211 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 else
30213 ac_check_lib_save_LIBS=$LIBS
30214 LIBS="-lm $LIBS"
30215 if test x$gcc_no_link = xyes; then
30216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30218 { (exit 1); exit 1; }; }
30219 fi
30220 cat >conftest.$ac_ext <<_ACEOF
30221 /* confdefs.h. */
30222 _ACEOF
30223 cat confdefs.h >>conftest.$ac_ext
30224 cat >>conftest.$ac_ext <<_ACEOF
30225 /* end confdefs.h. */
30226
30227 /* Override any gcc2 internal prototype to avoid an error. */
30228 #ifdef __cplusplus
30229 extern "C"
30230 #endif
30231 /* We use char because int might match the return type of a gcc2
30232 builtin and then its argument prototype would still apply. */
30233 char j0 ();
30234 int
30235 main ()
30236 {
30237 j0 ();
30238 ;
30239 return 0;
30240 }
30241 _ACEOF
30242 rm -f conftest.$ac_objext conftest$ac_exeext
30243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30244 (eval $ac_link) 2>conftest.er1
30245 ac_status=$?
30246 grep -v '^ *+' conftest.er1 >conftest.err
30247 rm -f conftest.er1
30248 cat conftest.err >&5
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); } &&
30251 { ac_try='test -z "$ac_c_werror_flag"
30252 || test ! -s conftest.err'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30255 ac_status=$?
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; } &&
30258 { ac_try='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30261 ac_status=$?
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_lib_m_j0=yes
30265 else
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30268
30269 ac_cv_lib_m_j0=no
30270 fi
30271 rm -f conftest.err conftest.$ac_objext \
30272 conftest$ac_exeext conftest.$ac_ext
30273 LIBS=$ac_check_lib_save_LIBS
30274 fi
30275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30276 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30277 if test $ac_cv_lib_m_j0 = yes; then
30278
30279 cat >>confdefs.h <<\_ACEOF
30280 #define HAVE_J0 1
30281 _ACEOF
30282
30283 fi
30284
30285 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30286 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30287 if test "${ac_cv_lib_m_j0l+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30290 ac_check_lib_save_LIBS=$LIBS
30291 LIBS="-lm $LIBS"
30292 if test x$gcc_no_link = xyes; then
30293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30295 { (exit 1); exit 1; }; }
30296 fi
30297 cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h. */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30303
30304 /* Override any gcc2 internal prototype to avoid an error. */
30305 #ifdef __cplusplus
30306 extern "C"
30307 #endif
30308 /* We use char because int might match the return type of a gcc2
30309 builtin and then its argument prototype would still apply. */
30310 char j0l ();
30311 int
30312 main ()
30313 {
30314 j0l ();
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext conftest$ac_exeext
30320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30321 (eval $ac_link) 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } &&
30328 { ac_try='test -z "$ac_c_werror_flag"
30329 || test ! -s conftest.err'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30332 ac_status=$?
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; } &&
30335 { ac_try='test -s conftest$ac_exeext'
30336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30337 (eval $ac_try) 2>&5
30338 ac_status=$?
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); }; }; then
30341 ac_cv_lib_m_j0l=yes
30342 else
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.$ac_ext >&5
30345
30346 ac_cv_lib_m_j0l=no
30347 fi
30348 rm -f conftest.err conftest.$ac_objext \
30349 conftest$ac_exeext conftest.$ac_ext
30350 LIBS=$ac_check_lib_save_LIBS
30351 fi
30352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30353 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30354 if test $ac_cv_lib_m_j0l = yes; then
30355
30356 cat >>confdefs.h <<\_ACEOF
30357 #define HAVE_J0L 1
30358 _ACEOF
30359
30360 fi
30361
30362 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30363 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30364 if test "${ac_cv_lib_m_j1f+set}" = set; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30366 else
30367 ac_check_lib_save_LIBS=$LIBS
30368 LIBS="-lm $LIBS"
30369 if test x$gcc_no_link = xyes; then
30370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30372 { (exit 1); exit 1; }; }
30373 fi
30374 cat >conftest.$ac_ext <<_ACEOF
30375 /* confdefs.h. */
30376 _ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380
30381 /* Override any gcc2 internal prototype to avoid an error. */
30382 #ifdef __cplusplus
30383 extern "C"
30384 #endif
30385 /* We use char because int might match the return type of a gcc2
30386 builtin and then its argument prototype would still apply. */
30387 char j1f ();
30388 int
30389 main ()
30390 {
30391 j1f ();
30392 ;
30393 return 0;
30394 }
30395 _ACEOF
30396 rm -f conftest.$ac_objext conftest$ac_exeext
30397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30398 (eval $ac_link) 2>conftest.er1
30399 ac_status=$?
30400 grep -v '^ *+' conftest.er1 >conftest.err
30401 rm -f conftest.er1
30402 cat conftest.err >&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); } &&
30405 { ac_try='test -z "$ac_c_werror_flag"
30406 || test ! -s conftest.err'
30407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30408 (eval $ac_try) 2>&5
30409 ac_status=$?
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); }; } &&
30412 { ac_try='test -s conftest$ac_exeext'
30413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30414 (eval $ac_try) 2>&5
30415 ac_status=$?
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); }; }; then
30418 ac_cv_lib_m_j1f=yes
30419 else
30420 echo "$as_me: failed program was:" >&5
30421 sed 's/^/| /' conftest.$ac_ext >&5
30422
30423 ac_cv_lib_m_j1f=no
30424 fi
30425 rm -f conftest.err conftest.$ac_objext \
30426 conftest$ac_exeext conftest.$ac_ext
30427 LIBS=$ac_check_lib_save_LIBS
30428 fi
30429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30430 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30431 if test $ac_cv_lib_m_j1f = yes; then
30432
30433 cat >>confdefs.h <<\_ACEOF
30434 #define HAVE_J1F 1
30435 _ACEOF
30436
30437 fi
30438
30439 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30440 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30441 if test "${ac_cv_lib_m_j1+set}" = set; then
30442 echo $ECHO_N "(cached) $ECHO_C" >&6
30443 else
30444 ac_check_lib_save_LIBS=$LIBS
30445 LIBS="-lm $LIBS"
30446 if test x$gcc_no_link = xyes; then
30447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30449 { (exit 1); exit 1; }; }
30450 fi
30451 cat >conftest.$ac_ext <<_ACEOF
30452 /* confdefs.h. */
30453 _ACEOF
30454 cat confdefs.h >>conftest.$ac_ext
30455 cat >>conftest.$ac_ext <<_ACEOF
30456 /* end confdefs.h. */
30457
30458 /* Override any gcc2 internal prototype to avoid an error. */
30459 #ifdef __cplusplus
30460 extern "C"
30461 #endif
30462 /* We use char because int might match the return type of a gcc2
30463 builtin and then its argument prototype would still apply. */
30464 char j1 ();
30465 int
30466 main ()
30467 {
30468 j1 ();
30469 ;
30470 return 0;
30471 }
30472 _ACEOF
30473 rm -f conftest.$ac_objext conftest$ac_exeext
30474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30475 (eval $ac_link) 2>conftest.er1
30476 ac_status=$?
30477 grep -v '^ *+' conftest.er1 >conftest.err
30478 rm -f conftest.er1
30479 cat conftest.err >&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -z "$ac_c_werror_flag"
30483 || test ! -s conftest.err'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; } &&
30489 { ac_try='test -s conftest$ac_exeext'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; }; then
30495 ac_cv_lib_m_j1=yes
30496 else
30497 echo "$as_me: failed program was:" >&5
30498 sed 's/^/| /' conftest.$ac_ext >&5
30499
30500 ac_cv_lib_m_j1=no
30501 fi
30502 rm -f conftest.err conftest.$ac_objext \
30503 conftest$ac_exeext conftest.$ac_ext
30504 LIBS=$ac_check_lib_save_LIBS
30505 fi
30506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30507 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30508 if test $ac_cv_lib_m_j1 = yes; then
30509
30510 cat >>confdefs.h <<\_ACEOF
30511 #define HAVE_J1 1
30512 _ACEOF
30513
30514 fi
30515
30516 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30517 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30518 if test "${ac_cv_lib_m_j1l+set}" = set; then
30519 echo $ECHO_N "(cached) $ECHO_C" >&6
30520 else
30521 ac_check_lib_save_LIBS=$LIBS
30522 LIBS="-lm $LIBS"
30523 if test x$gcc_no_link = xyes; then
30524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30526 { (exit 1); exit 1; }; }
30527 fi
30528 cat >conftest.$ac_ext <<_ACEOF
30529 /* confdefs.h. */
30530 _ACEOF
30531 cat confdefs.h >>conftest.$ac_ext
30532 cat >>conftest.$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30534
30535 /* Override any gcc2 internal prototype to avoid an error. */
30536 #ifdef __cplusplus
30537 extern "C"
30538 #endif
30539 /* We use char because int might match the return type of a gcc2
30540 builtin and then its argument prototype would still apply. */
30541 char j1l ();
30542 int
30543 main ()
30544 {
30545 j1l ();
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30552 (eval $ac_link) 2>conftest.er1
30553 ac_status=$?
30554 grep -v '^ *+' conftest.er1 >conftest.err
30555 rm -f conftest.er1
30556 cat conftest.err >&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } &&
30559 { ac_try='test -z "$ac_c_werror_flag"
30560 || test ! -s conftest.err'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30563 ac_status=$?
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; } &&
30566 { ac_try='test -s conftest$ac_exeext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30569 ac_status=$?
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 ac_cv_lib_m_j1l=yes
30573 else
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30576
30577 ac_cv_lib_m_j1l=no
30578 fi
30579 rm -f conftest.err conftest.$ac_objext \
30580 conftest$ac_exeext conftest.$ac_ext
30581 LIBS=$ac_check_lib_save_LIBS
30582 fi
30583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30584 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30585 if test $ac_cv_lib_m_j1l = yes; then
30586
30587 cat >>confdefs.h <<\_ACEOF
30588 #define HAVE_J1L 1
30589 _ACEOF
30590
30591 fi
30592
30593 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30594 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30595 if test "${ac_cv_lib_m_jnf+set}" = set; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30597 else
30598 ac_check_lib_save_LIBS=$LIBS
30599 LIBS="-lm $LIBS"
30600 if test x$gcc_no_link = xyes; then
30601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30603 { (exit 1); exit 1; }; }
30604 fi
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611
30612 /* Override any gcc2 internal prototype to avoid an error. */
30613 #ifdef __cplusplus
30614 extern "C"
30615 #endif
30616 /* We use char because int might match the return type of a gcc2
30617 builtin and then its argument prototype would still apply. */
30618 char jnf ();
30619 int
30620 main ()
30621 {
30622 jnf ();
30623 ;
30624 return 0;
30625 }
30626 _ACEOF
30627 rm -f conftest.$ac_objext conftest$ac_exeext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30629 (eval $ac_link) 2>conftest.er1
30630 ac_status=$?
30631 grep -v '^ *+' conftest.er1 >conftest.err
30632 rm -f conftest.er1
30633 cat conftest.err >&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } &&
30636 { ac_try='test -z "$ac_c_werror_flag"
30637 || test ! -s conftest.err'
30638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30639 (eval $ac_try) 2>&5
30640 ac_status=$?
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); }; } &&
30643 { ac_try='test -s conftest$ac_exeext'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30646 ac_status=$?
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; }; then
30649 ac_cv_lib_m_jnf=yes
30650 else
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.$ac_ext >&5
30653
30654 ac_cv_lib_m_jnf=no
30655 fi
30656 rm -f conftest.err conftest.$ac_objext \
30657 conftest$ac_exeext conftest.$ac_ext
30658 LIBS=$ac_check_lib_save_LIBS
30659 fi
30660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30661 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30662 if test $ac_cv_lib_m_jnf = yes; then
30663
30664 cat >>confdefs.h <<\_ACEOF
30665 #define HAVE_JNF 1
30666 _ACEOF
30667
30668 fi
30669
30670 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30671 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30672 if test "${ac_cv_lib_m_jn+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30674 else
30675 ac_check_lib_save_LIBS=$LIBS
30676 LIBS="-lm $LIBS"
30677 if test x$gcc_no_link = xyes; then
30678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30680 { (exit 1); exit 1; }; }
30681 fi
30682 cat >conftest.$ac_ext <<_ACEOF
30683 /* confdefs.h. */
30684 _ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688
30689 /* Override any gcc2 internal prototype to avoid an error. */
30690 #ifdef __cplusplus
30691 extern "C"
30692 #endif
30693 /* We use char because int might match the return type of a gcc2
30694 builtin and then its argument prototype would still apply. */
30695 char jn ();
30696 int
30697 main ()
30698 {
30699 jn ();
30700 ;
30701 return 0;
30702 }
30703 _ACEOF
30704 rm -f conftest.$ac_objext conftest$ac_exeext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30706 (eval $ac_link) 2>conftest.er1
30707 ac_status=$?
30708 grep -v '^ *+' conftest.er1 >conftest.err
30709 rm -f conftest.er1
30710 cat conftest.err >&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -z "$ac_c_werror_flag"
30714 || test ! -s conftest.err'
30715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30716 (eval $ac_try) 2>&5
30717 ac_status=$?
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; } &&
30720 { ac_try='test -s conftest$ac_exeext'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30723 ac_status=$?
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; }; then
30726 ac_cv_lib_m_jn=yes
30727 else
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.$ac_ext >&5
30730
30731 ac_cv_lib_m_jn=no
30732 fi
30733 rm -f conftest.err conftest.$ac_objext \
30734 conftest$ac_exeext conftest.$ac_ext
30735 LIBS=$ac_check_lib_save_LIBS
30736 fi
30737 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30738 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30739 if test $ac_cv_lib_m_jn = yes; then
30740
30741 cat >>confdefs.h <<\_ACEOF
30742 #define HAVE_JN 1
30743 _ACEOF
30744
30745 fi
30746
30747 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30748 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30749 if test "${ac_cv_lib_m_jnl+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 else
30752 ac_check_lib_save_LIBS=$LIBS
30753 LIBS="-lm $LIBS"
30754 if test x$gcc_no_link = xyes; then
30755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30757 { (exit 1); exit 1; }; }
30758 fi
30759 cat >conftest.$ac_ext <<_ACEOF
30760 /* confdefs.h. */
30761 _ACEOF
30762 cat confdefs.h >>conftest.$ac_ext
30763 cat >>conftest.$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30765
30766 /* Override any gcc2 internal prototype to avoid an error. */
30767 #ifdef __cplusplus
30768 extern "C"
30769 #endif
30770 /* We use char because int might match the return type of a gcc2
30771 builtin and then its argument prototype would still apply. */
30772 char jnl ();
30773 int
30774 main ()
30775 {
30776 jnl ();
30777 ;
30778 return 0;
30779 }
30780 _ACEOF
30781 rm -f conftest.$ac_objext conftest$ac_exeext
30782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30783 (eval $ac_link) 2>conftest.er1
30784 ac_status=$?
30785 grep -v '^ *+' conftest.er1 >conftest.err
30786 rm -f conftest.er1
30787 cat conftest.err >&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } &&
30790 { ac_try='test -z "$ac_c_werror_flag"
30791 || test ! -s conftest.err'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; } &&
30797 { ac_try='test -s conftest$ac_exeext'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30800 ac_status=$?
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; }; then
30803 ac_cv_lib_m_jnl=yes
30804 else
30805 echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.$ac_ext >&5
30807
30808 ac_cv_lib_m_jnl=no
30809 fi
30810 rm -f conftest.err conftest.$ac_objext \
30811 conftest$ac_exeext conftest.$ac_ext
30812 LIBS=$ac_check_lib_save_LIBS
30813 fi
30814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30815 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30816 if test $ac_cv_lib_m_jnl = yes; then
30817
30818 cat >>confdefs.h <<\_ACEOF
30819 #define HAVE_JNL 1
30820 _ACEOF
30821
30822 fi
30823
30824 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30825 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30826 if test "${ac_cv_lib_m_y0f+set}" = set; then
30827 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 else
30829 ac_check_lib_save_LIBS=$LIBS
30830 LIBS="-lm $LIBS"
30831 if test x$gcc_no_link = xyes; then
30832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30834 { (exit 1); exit 1; }; }
30835 fi
30836 cat >conftest.$ac_ext <<_ACEOF
30837 /* confdefs.h. */
30838 _ACEOF
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842
30843 /* Override any gcc2 internal prototype to avoid an error. */
30844 #ifdef __cplusplus
30845 extern "C"
30846 #endif
30847 /* We use char because int might match the return type of a gcc2
30848 builtin and then its argument prototype would still apply. */
30849 char y0f ();
30850 int
30851 main ()
30852 {
30853 y0f ();
30854 ;
30855 return 0;
30856 }
30857 _ACEOF
30858 rm -f conftest.$ac_objext conftest$ac_exeext
30859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30860 (eval $ac_link) 2>conftest.er1
30861 ac_status=$?
30862 grep -v '^ *+' conftest.er1 >conftest.err
30863 rm -f conftest.er1
30864 cat conftest.err >&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } &&
30867 { ac_try='test -z "$ac_c_werror_flag"
30868 || test ! -s conftest.err'
30869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30870 (eval $ac_try) 2>&5
30871 ac_status=$?
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); }; } &&
30874 { ac_try='test -s conftest$ac_exeext'
30875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876 (eval $ac_try) 2>&5
30877 ac_status=$?
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); }; }; then
30880 ac_cv_lib_m_y0f=yes
30881 else
30882 echo "$as_me: failed program was:" >&5
30883 sed 's/^/| /' conftest.$ac_ext >&5
30884
30885 ac_cv_lib_m_y0f=no
30886 fi
30887 rm -f conftest.err conftest.$ac_objext \
30888 conftest$ac_exeext conftest.$ac_ext
30889 LIBS=$ac_check_lib_save_LIBS
30890 fi
30891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30892 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30893 if test $ac_cv_lib_m_y0f = yes; then
30894
30895 cat >>confdefs.h <<\_ACEOF
30896 #define HAVE_Y0F 1
30897 _ACEOF
30898
30899 fi
30900
30901 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30902 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30903 if test "${ac_cv_lib_m_y0+set}" = set; then
30904 echo $ECHO_N "(cached) $ECHO_C" >&6
30905 else
30906 ac_check_lib_save_LIBS=$LIBS
30907 LIBS="-lm $LIBS"
30908 if test x$gcc_no_link = xyes; then
30909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30911 { (exit 1); exit 1; }; }
30912 fi
30913 cat >conftest.$ac_ext <<_ACEOF
30914 /* confdefs.h. */
30915 _ACEOF
30916 cat confdefs.h >>conftest.$ac_ext
30917 cat >>conftest.$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30919
30920 /* Override any gcc2 internal prototype to avoid an error. */
30921 #ifdef __cplusplus
30922 extern "C"
30923 #endif
30924 /* We use char because int might match the return type of a gcc2
30925 builtin and then its argument prototype would still apply. */
30926 char y0 ();
30927 int
30928 main ()
30929 {
30930 y0 ();
30931 ;
30932 return 0;
30933 }
30934 _ACEOF
30935 rm -f conftest.$ac_objext conftest$ac_exeext
30936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30937 (eval $ac_link) 2>conftest.er1
30938 ac_status=$?
30939 grep -v '^ *+' conftest.er1 >conftest.err
30940 rm -f conftest.er1
30941 cat conftest.err >&5
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); } &&
30944 { ac_try='test -z "$ac_c_werror_flag"
30945 || test ! -s conftest.err'
30946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947 (eval $ac_try) 2>&5
30948 ac_status=$?
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); }; } &&
30951 { ac_try='test -s conftest$ac_exeext'
30952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30953 (eval $ac_try) 2>&5
30954 ac_status=$?
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); }; }; then
30957 ac_cv_lib_m_y0=yes
30958 else
30959 echo "$as_me: failed program was:" >&5
30960 sed 's/^/| /' conftest.$ac_ext >&5
30961
30962 ac_cv_lib_m_y0=no
30963 fi
30964 rm -f conftest.err conftest.$ac_objext \
30965 conftest$ac_exeext conftest.$ac_ext
30966 LIBS=$ac_check_lib_save_LIBS
30967 fi
30968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30969 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30970 if test $ac_cv_lib_m_y0 = yes; then
30971
30972 cat >>confdefs.h <<\_ACEOF
30973 #define HAVE_Y0 1
30974 _ACEOF
30975
30976 fi
30977
30978 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30979 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30980 if test "${ac_cv_lib_m_y0l+set}" = set; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 else
30983 ac_check_lib_save_LIBS=$LIBS
30984 LIBS="-lm $LIBS"
30985 if test x$gcc_no_link = xyes; then
30986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30988 { (exit 1); exit 1; }; }
30989 fi
30990 cat >conftest.$ac_ext <<_ACEOF
30991 /* confdefs.h. */
30992 _ACEOF
30993 cat confdefs.h >>conftest.$ac_ext
30994 cat >>conftest.$ac_ext <<_ACEOF
30995 /* end confdefs.h. */
30996
30997 /* Override any gcc2 internal prototype to avoid an error. */
30998 #ifdef __cplusplus
30999 extern "C"
31000 #endif
31001 /* We use char because int might match the return type of a gcc2
31002 builtin and then its argument prototype would still apply. */
31003 char y0l ();
31004 int
31005 main ()
31006 {
31007 y0l ();
31008 ;
31009 return 0;
31010 }
31011 _ACEOF
31012 rm -f conftest.$ac_objext conftest$ac_exeext
31013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31014 (eval $ac_link) 2>conftest.er1
31015 ac_status=$?
31016 grep -v '^ *+' conftest.er1 >conftest.err
31017 rm -f conftest.er1
31018 cat conftest.err >&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } &&
31021 { ac_try='test -z "$ac_c_werror_flag"
31022 || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try='test -s conftest$ac_exeext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 ac_cv_lib_m_y0l=yes
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31038
31039 ac_cv_lib_m_y0l=no
31040 fi
31041 rm -f conftest.err conftest.$ac_objext \
31042 conftest$ac_exeext conftest.$ac_ext
31043 LIBS=$ac_check_lib_save_LIBS
31044 fi
31045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31046 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31047 if test $ac_cv_lib_m_y0l = yes; then
31048
31049 cat >>confdefs.h <<\_ACEOF
31050 #define HAVE_Y0L 1
31051 _ACEOF
31052
31053 fi
31054
31055 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31056 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31057 if test "${ac_cv_lib_m_y1f+set}" = set; then
31058 echo $ECHO_N "(cached) $ECHO_C" >&6
31059 else
31060 ac_check_lib_save_LIBS=$LIBS
31061 LIBS="-lm $LIBS"
31062 if test x$gcc_no_link = xyes; then
31063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31065 { (exit 1); exit 1; }; }
31066 fi
31067 cat >conftest.$ac_ext <<_ACEOF
31068 /* confdefs.h. */
31069 _ACEOF
31070 cat confdefs.h >>conftest.$ac_ext
31071 cat >>conftest.$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31073
31074 /* Override any gcc2 internal prototype to avoid an error. */
31075 #ifdef __cplusplus
31076 extern "C"
31077 #endif
31078 /* We use char because int might match the return type of a gcc2
31079 builtin and then its argument prototype would still apply. */
31080 char y1f ();
31081 int
31082 main ()
31083 {
31084 y1f ();
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 rm -f conftest.$ac_objext conftest$ac_exeext
31090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31091 (eval $ac_link) 2>conftest.er1
31092 ac_status=$?
31093 grep -v '^ *+' conftest.er1 >conftest.err
31094 rm -f conftest.er1
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } &&
31098 { ac_try='test -z "$ac_c_werror_flag"
31099 || test ! -s conftest.err'
31100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31101 (eval $ac_try) 2>&5
31102 ac_status=$?
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); }; } &&
31105 { ac_try='test -s conftest$ac_exeext'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; }; then
31111 ac_cv_lib_m_y1f=yes
31112 else
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.$ac_ext >&5
31115
31116 ac_cv_lib_m_y1f=no
31117 fi
31118 rm -f conftest.err conftest.$ac_objext \
31119 conftest$ac_exeext conftest.$ac_ext
31120 LIBS=$ac_check_lib_save_LIBS
31121 fi
31122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31123 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31124 if test $ac_cv_lib_m_y1f = yes; then
31125
31126 cat >>confdefs.h <<\_ACEOF
31127 #define HAVE_Y1F 1
31128 _ACEOF
31129
31130 fi
31131
31132 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31133 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31134 if test "${ac_cv_lib_m_y1+set}" = set; then
31135 echo $ECHO_N "(cached) $ECHO_C" >&6
31136 else
31137 ac_check_lib_save_LIBS=$LIBS
31138 LIBS="-lm $LIBS"
31139 if test x$gcc_no_link = xyes; then
31140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31142 { (exit 1); exit 1; }; }
31143 fi
31144 cat >conftest.$ac_ext <<_ACEOF
31145 /* confdefs.h. */
31146 _ACEOF
31147 cat confdefs.h >>conftest.$ac_ext
31148 cat >>conftest.$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31150
31151 /* Override any gcc2 internal prototype to avoid an error. */
31152 #ifdef __cplusplus
31153 extern "C"
31154 #endif
31155 /* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31157 char y1 ();
31158 int
31159 main ()
31160 {
31161 y1 ();
31162 ;
31163 return 0;
31164 }
31165 _ACEOF
31166 rm -f conftest.$ac_objext conftest$ac_exeext
31167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31168 (eval $ac_link) 2>conftest.er1
31169 ac_status=$?
31170 grep -v '^ *+' conftest.er1 >conftest.err
31171 rm -f conftest.er1
31172 cat conftest.err >&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); } &&
31175 { ac_try='test -z "$ac_c_werror_flag"
31176 || test ! -s conftest.err'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; } &&
31182 { ac_try='test -s conftest$ac_exeext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 ac_cv_lib_m_y1=yes
31189 else
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.$ac_ext >&5
31192
31193 ac_cv_lib_m_y1=no
31194 fi
31195 rm -f conftest.err conftest.$ac_objext \
31196 conftest$ac_exeext conftest.$ac_ext
31197 LIBS=$ac_check_lib_save_LIBS
31198 fi
31199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31200 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31201 if test $ac_cv_lib_m_y1 = yes; then
31202
31203 cat >>confdefs.h <<\_ACEOF
31204 #define HAVE_Y1 1
31205 _ACEOF
31206
31207 fi
31208
31209 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31210 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31211 if test "${ac_cv_lib_m_y1l+set}" = set; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31213 else
31214 ac_check_lib_save_LIBS=$LIBS
31215 LIBS="-lm $LIBS"
31216 if test x$gcc_no_link = xyes; then
31217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31219 { (exit 1); exit 1; }; }
31220 fi
31221 cat >conftest.$ac_ext <<_ACEOF
31222 /* confdefs.h. */
31223 _ACEOF
31224 cat confdefs.h >>conftest.$ac_ext
31225 cat >>conftest.$ac_ext <<_ACEOF
31226 /* end confdefs.h. */
31227
31228 /* Override any gcc2 internal prototype to avoid an error. */
31229 #ifdef __cplusplus
31230 extern "C"
31231 #endif
31232 /* We use char because int might match the return type of a gcc2
31233 builtin and then its argument prototype would still apply. */
31234 char y1l ();
31235 int
31236 main ()
31237 {
31238 y1l ();
31239 ;
31240 return 0;
31241 }
31242 _ACEOF
31243 rm -f conftest.$ac_objext conftest$ac_exeext
31244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31245 (eval $ac_link) 2>conftest.er1
31246 ac_status=$?
31247 grep -v '^ *+' conftest.er1 >conftest.err
31248 rm -f conftest.er1
31249 cat conftest.err >&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } &&
31252 { ac_try='test -z "$ac_c_werror_flag"
31253 || test ! -s conftest.err'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31256 ac_status=$?
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; } &&
31259 { ac_try='test -s conftest$ac_exeext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31262 ac_status=$?
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 ac_cv_lib_m_y1l=yes
31266 else
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31269
31270 ac_cv_lib_m_y1l=no
31271 fi
31272 rm -f conftest.err conftest.$ac_objext \
31273 conftest$ac_exeext conftest.$ac_ext
31274 LIBS=$ac_check_lib_save_LIBS
31275 fi
31276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31277 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31278 if test $ac_cv_lib_m_y1l = yes; then
31279
31280 cat >>confdefs.h <<\_ACEOF
31281 #define HAVE_Y1L 1
31282 _ACEOF
31283
31284 fi
31285
31286 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31287 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31288 if test "${ac_cv_lib_m_ynf+set}" = set; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 else
31291 ac_check_lib_save_LIBS=$LIBS
31292 LIBS="-lm $LIBS"
31293 if test x$gcc_no_link = xyes; then
31294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31296 { (exit 1); exit 1; }; }
31297 fi
31298 cat >conftest.$ac_ext <<_ACEOF
31299 /* confdefs.h. */
31300 _ACEOF
31301 cat confdefs.h >>conftest.$ac_ext
31302 cat >>conftest.$ac_ext <<_ACEOF
31303 /* end confdefs.h. */
31304
31305 /* Override any gcc2 internal prototype to avoid an error. */
31306 #ifdef __cplusplus
31307 extern "C"
31308 #endif
31309 /* We use char because int might match the return type of a gcc2
31310 builtin and then its argument prototype would still apply. */
31311 char ynf ();
31312 int
31313 main ()
31314 {
31315 ynf ();
31316 ;
31317 return 0;
31318 }
31319 _ACEOF
31320 rm -f conftest.$ac_objext conftest$ac_exeext
31321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31322 (eval $ac_link) 2>conftest.er1
31323 ac_status=$?
31324 grep -v '^ *+' conftest.er1 >conftest.err
31325 rm -f conftest.er1
31326 cat conftest.err >&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } &&
31329 { ac_try='test -z "$ac_c_werror_flag"
31330 || test ! -s conftest.err'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31333 ac_status=$?
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; } &&
31336 { ac_try='test -s conftest$ac_exeext'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31339 ac_status=$?
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; }; then
31342 ac_cv_lib_m_ynf=yes
31343 else
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 ac_cv_lib_m_ynf=no
31348 fi
31349 rm -f conftest.err conftest.$ac_objext \
31350 conftest$ac_exeext conftest.$ac_ext
31351 LIBS=$ac_check_lib_save_LIBS
31352 fi
31353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31354 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31355 if test $ac_cv_lib_m_ynf = yes; then
31356
31357 cat >>confdefs.h <<\_ACEOF
31358 #define HAVE_YNF 1
31359 _ACEOF
31360
31361 fi
31362
31363 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31364 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31365 if test "${ac_cv_lib_m_yn+set}" = set; then
31366 echo $ECHO_N "(cached) $ECHO_C" >&6
31367 else
31368 ac_check_lib_save_LIBS=$LIBS
31369 LIBS="-lm $LIBS"
31370 if test x$gcc_no_link = xyes; then
31371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31373 { (exit 1); exit 1; }; }
31374 fi
31375 cat >conftest.$ac_ext <<_ACEOF
31376 /* confdefs.h. */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381
31382 /* Override any gcc2 internal prototype to avoid an error. */
31383 #ifdef __cplusplus
31384 extern "C"
31385 #endif
31386 /* We use char because int might match the return type of a gcc2
31387 builtin and then its argument prototype would still apply. */
31388 char yn ();
31389 int
31390 main ()
31391 {
31392 yn ();
31393 ;
31394 return 0;
31395 }
31396 _ACEOF
31397 rm -f conftest.$ac_objext conftest$ac_exeext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399 (eval $ac_link) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try='test -z "$ac_c_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31410 ac_status=$?
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try='test -s conftest$ac_exeext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31416 ac_status=$?
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 ac_cv_lib_m_yn=yes
31420 else
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.$ac_ext >&5
31423
31424 ac_cv_lib_m_yn=no
31425 fi
31426 rm -f conftest.err conftest.$ac_objext \
31427 conftest$ac_exeext conftest.$ac_ext
31428 LIBS=$ac_check_lib_save_LIBS
31429 fi
31430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31431 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31432 if test $ac_cv_lib_m_yn = yes; then
31433
31434 cat >>confdefs.h <<\_ACEOF
31435 #define HAVE_YN 1
31436 _ACEOF
31437
31438 fi
31439
31440 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31441 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31442 if test "${ac_cv_lib_m_ynl+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445 ac_check_lib_save_LIBS=$LIBS
31446 LIBS="-lm $LIBS"
31447 if test x$gcc_no_link = xyes; then
31448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31450 { (exit 1); exit 1; }; }
31451 fi
31452 cat >conftest.$ac_ext <<_ACEOF
31453 /* confdefs.h. */
31454 _ACEOF
31455 cat confdefs.h >>conftest.$ac_ext
31456 cat >>conftest.$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458
31459 /* Override any gcc2 internal prototype to avoid an error. */
31460 #ifdef __cplusplus
31461 extern "C"
31462 #endif
31463 /* We use char because int might match the return type of a gcc2
31464 builtin and then its argument prototype would still apply. */
31465 char ynl ();
31466 int
31467 main ()
31468 {
31469 ynl ();
31470 ;
31471 return 0;
31472 }
31473 _ACEOF
31474 rm -f conftest.$ac_objext conftest$ac_exeext
31475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31476 (eval $ac_link) 2>conftest.er1
31477 ac_status=$?
31478 grep -v '^ *+' conftest.er1 >conftest.err
31479 rm -f conftest.er1
31480 cat conftest.err >&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } &&
31483 { ac_try='test -z "$ac_c_werror_flag"
31484 || test ! -s conftest.err'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; } &&
31490 { ac_try='test -s conftest$ac_exeext'
31491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31492 (eval $ac_try) 2>&5
31493 ac_status=$?
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); }; }; then
31496 ac_cv_lib_m_ynl=yes
31497 else
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.$ac_ext >&5
31500
31501 ac_cv_lib_m_ynl=no
31502 fi
31503 rm -f conftest.err conftest.$ac_objext \
31504 conftest$ac_exeext conftest.$ac_ext
31505 LIBS=$ac_check_lib_save_LIBS
31506 fi
31507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31508 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31509 if test $ac_cv_lib_m_ynl = yes; then
31510
31511 cat >>confdefs.h <<\_ACEOF
31512 #define HAVE_YNL 1
31513 _ACEOF
31514
31515 fi
31516
31517 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31518 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31519 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 else
31522 ac_check_lib_save_LIBS=$LIBS
31523 LIBS="-lm $LIBS"
31524 if test x$gcc_no_link = xyes; then
31525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31527 { (exit 1); exit 1; }; }
31528 fi
31529 cat >conftest.$ac_ext <<_ACEOF
31530 /* confdefs.h. */
31531 _ACEOF
31532 cat confdefs.h >>conftest.$ac_ext
31533 cat >>conftest.$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31535
31536 /* Override any gcc2 internal prototype to avoid an error. */
31537 #ifdef __cplusplus
31538 extern "C"
31539 #endif
31540 /* We use char because int might match the return type of a gcc2
31541 builtin and then its argument prototype would still apply. */
31542 char tgamma ();
31543 int
31544 main ()
31545 {
31546 tgamma ();
31547 ;
31548 return 0;
31549 }
31550 _ACEOF
31551 rm -f conftest.$ac_objext conftest$ac_exeext
31552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31553 (eval $ac_link) 2>conftest.er1
31554 ac_status=$?
31555 grep -v '^ *+' conftest.er1 >conftest.err
31556 rm -f conftest.er1
31557 cat conftest.err >&5
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); } &&
31560 { ac_try='test -z "$ac_c_werror_flag"
31561 || test ! -s conftest.err'
31562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31563 (eval $ac_try) 2>&5
31564 ac_status=$?
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); }; } &&
31567 { ac_try='test -s conftest$ac_exeext'
31568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31569 (eval $ac_try) 2>&5
31570 ac_status=$?
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); }; }; then
31573 ac_cv_lib_m_tgamma=yes
31574 else
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31577
31578 ac_cv_lib_m_tgamma=no
31579 fi
31580 rm -f conftest.err conftest.$ac_objext \
31581 conftest$ac_exeext conftest.$ac_ext
31582 LIBS=$ac_check_lib_save_LIBS
31583 fi
31584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31585 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31586 if test $ac_cv_lib_m_tgamma = yes; then
31587
31588 cat >>confdefs.h <<\_ACEOF
31589 #define HAVE_TGAMMA 1
31590 _ACEOF
31591
31592 fi
31593
31594 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31595 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31596 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31598 else
31599 ac_check_lib_save_LIBS=$LIBS
31600 LIBS="-lm $LIBS"
31601 if test x$gcc_no_link = xyes; then
31602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31604 { (exit 1); exit 1; }; }
31605 fi
31606 cat >conftest.$ac_ext <<_ACEOF
31607 /* confdefs.h. */
31608 _ACEOF
31609 cat confdefs.h >>conftest.$ac_ext
31610 cat >>conftest.$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31612
31613 /* Override any gcc2 internal prototype to avoid an error. */
31614 #ifdef __cplusplus
31615 extern "C"
31616 #endif
31617 /* We use char because int might match the return type of a gcc2
31618 builtin and then its argument prototype would still apply. */
31619 char tgammaf ();
31620 int
31621 main ()
31622 {
31623 tgammaf ();
31624 ;
31625 return 0;
31626 }
31627 _ACEOF
31628 rm -f conftest.$ac_objext conftest$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31631 ac_status=$?
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest$ac_exeext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 ac_cv_lib_m_tgammaf=yes
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31654
31655 ac_cv_lib_m_tgammaf=no
31656 fi
31657 rm -f conftest.err conftest.$ac_objext \
31658 conftest$ac_exeext conftest.$ac_ext
31659 LIBS=$ac_check_lib_save_LIBS
31660 fi
31661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31662 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31663 if test $ac_cv_lib_m_tgammaf = yes; then
31664
31665 cat >>confdefs.h <<\_ACEOF
31666 #define HAVE_TGAMMAF 1
31667 _ACEOF
31668
31669 fi
31670
31671 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31672 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31673 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31675 else
31676 ac_check_lib_save_LIBS=$LIBS
31677 LIBS="-lm $LIBS"
31678 if test x$gcc_no_link = xyes; then
31679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31681 { (exit 1); exit 1; }; }
31682 fi
31683 cat >conftest.$ac_ext <<_ACEOF
31684 /* confdefs.h. */
31685 _ACEOF
31686 cat confdefs.h >>conftest.$ac_ext
31687 cat >>conftest.$ac_ext <<_ACEOF
31688 /* end confdefs.h. */
31689
31690 /* Override any gcc2 internal prototype to avoid an error. */
31691 #ifdef __cplusplus
31692 extern "C"
31693 #endif
31694 /* We use char because int might match the return type of a gcc2
31695 builtin and then its argument prototype would still apply. */
31696 char tgammal ();
31697 int
31698 main ()
31699 {
31700 tgammal ();
31701 ;
31702 return 0;
31703 }
31704 _ACEOF
31705 rm -f conftest.$ac_objext conftest$ac_exeext
31706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31707 (eval $ac_link) 2>conftest.er1
31708 ac_status=$?
31709 grep -v '^ *+' conftest.er1 >conftest.err
31710 rm -f conftest.er1
31711 cat conftest.err >&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); } &&
31714 { ac_try='test -z "$ac_c_werror_flag"
31715 || test ! -s conftest.err'
31716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31717 (eval $ac_try) 2>&5
31718 ac_status=$?
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); }; } &&
31721 { ac_try='test -s conftest$ac_exeext'
31722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723 (eval $ac_try) 2>&5
31724 ac_status=$?
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); }; }; then
31727 ac_cv_lib_m_tgammal=yes
31728 else
31729 echo "$as_me: failed program was:" >&5
31730 sed 's/^/| /' conftest.$ac_ext >&5
31731
31732 ac_cv_lib_m_tgammal=no
31733 fi
31734 rm -f conftest.err conftest.$ac_objext \
31735 conftest$ac_exeext conftest.$ac_ext
31736 LIBS=$ac_check_lib_save_LIBS
31737 fi
31738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31739 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31740 if test $ac_cv_lib_m_tgammal = yes; then
31741
31742 cat >>confdefs.h <<\_ACEOF
31743 #define HAVE_TGAMMAL 1
31744 _ACEOF
31745
31746 fi
31747
31748 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31749 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31750 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31752 else
31753 ac_check_lib_save_LIBS=$LIBS
31754 LIBS="-lm $LIBS"
31755 if test x$gcc_no_link = xyes; then
31756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31758 { (exit 1); exit 1; }; }
31759 fi
31760 cat >conftest.$ac_ext <<_ACEOF
31761 /* confdefs.h. */
31762 _ACEOF
31763 cat confdefs.h >>conftest.$ac_ext
31764 cat >>conftest.$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766
31767 /* Override any gcc2 internal prototype to avoid an error. */
31768 #ifdef __cplusplus
31769 extern "C"
31770 #endif
31771 /* We use char because int might match the return type of a gcc2
31772 builtin and then its argument prototype would still apply. */
31773 char lgamma ();
31774 int
31775 main ()
31776 {
31777 lgamma ();
31778 ;
31779 return 0;
31780 }
31781 _ACEOF
31782 rm -f conftest.$ac_objext conftest$ac_exeext
31783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31784 (eval $ac_link) 2>conftest.er1
31785 ac_status=$?
31786 grep -v '^ *+' conftest.er1 >conftest.err
31787 rm -f conftest.er1
31788 cat conftest.err >&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); } &&
31791 { ac_try='test -z "$ac_c_werror_flag"
31792 || test ! -s conftest.err'
31793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31794 (eval $ac_try) 2>&5
31795 ac_status=$?
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); }; } &&
31798 { ac_try='test -s conftest$ac_exeext'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; }; then
31804 ac_cv_lib_m_lgamma=yes
31805 else
31806 echo "$as_me: failed program was:" >&5
31807 sed 's/^/| /' conftest.$ac_ext >&5
31808
31809 ac_cv_lib_m_lgamma=no
31810 fi
31811 rm -f conftest.err conftest.$ac_objext \
31812 conftest$ac_exeext conftest.$ac_ext
31813 LIBS=$ac_check_lib_save_LIBS
31814 fi
31815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31816 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31817 if test $ac_cv_lib_m_lgamma = yes; then
31818
31819 cat >>confdefs.h <<\_ACEOF
31820 #define HAVE_LGAMMA 1
31821 _ACEOF
31822
31823 fi
31824
31825 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31826 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31827 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31828 echo $ECHO_N "(cached) $ECHO_C" >&6
31829 else
31830 ac_check_lib_save_LIBS=$LIBS
31831 LIBS="-lm $LIBS"
31832 if test x$gcc_no_link = xyes; then
31833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31835 { (exit 1); exit 1; }; }
31836 fi
31837 cat >conftest.$ac_ext <<_ACEOF
31838 /* confdefs.h. */
31839 _ACEOF
31840 cat confdefs.h >>conftest.$ac_ext
31841 cat >>conftest.$ac_ext <<_ACEOF
31842 /* end confdefs.h. */
31843
31844 /* Override any gcc2 internal prototype to avoid an error. */
31845 #ifdef __cplusplus
31846 extern "C"
31847 #endif
31848 /* We use char because int might match the return type of a gcc2
31849 builtin and then its argument prototype would still apply. */
31850 char lgammaf ();
31851 int
31852 main ()
31853 {
31854 lgammaf ();
31855 ;
31856 return 0;
31857 }
31858 _ACEOF
31859 rm -f conftest.$ac_objext conftest$ac_exeext
31860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31861 (eval $ac_link) 2>conftest.er1
31862 ac_status=$?
31863 grep -v '^ *+' conftest.er1 >conftest.err
31864 rm -f conftest.er1
31865 cat conftest.err >&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); } &&
31868 { ac_try='test -z "$ac_c_werror_flag"
31869 || test ! -s conftest.err'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; } &&
31875 { ac_try='test -s conftest$ac_exeext'
31876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31877 (eval $ac_try) 2>&5
31878 ac_status=$?
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); }; }; then
31881 ac_cv_lib_m_lgammaf=yes
31882 else
31883 echo "$as_me: failed program was:" >&5
31884 sed 's/^/| /' conftest.$ac_ext >&5
31885
31886 ac_cv_lib_m_lgammaf=no
31887 fi
31888 rm -f conftest.err conftest.$ac_objext \
31889 conftest$ac_exeext conftest.$ac_ext
31890 LIBS=$ac_check_lib_save_LIBS
31891 fi
31892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31893 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31894 if test $ac_cv_lib_m_lgammaf = yes; then
31895
31896 cat >>confdefs.h <<\_ACEOF
31897 #define HAVE_LGAMMAF 1
31898 _ACEOF
31899
31900 fi
31901
31902 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31903 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31904 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31905 echo $ECHO_N "(cached) $ECHO_C" >&6
31906 else
31907 ac_check_lib_save_LIBS=$LIBS
31908 LIBS="-lm $LIBS"
31909 if test x$gcc_no_link = xyes; then
31910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31912 { (exit 1); exit 1; }; }
31913 fi
31914 cat >conftest.$ac_ext <<_ACEOF
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920
31921 /* Override any gcc2 internal prototype to avoid an error. */
31922 #ifdef __cplusplus
31923 extern "C"
31924 #endif
31925 /* We use char because int might match the return type of a gcc2
31926 builtin and then its argument prototype would still apply. */
31927 char lgammal ();
31928 int
31929 main ()
31930 {
31931 lgammal ();
31932 ;
31933 return 0;
31934 }
31935 _ACEOF
31936 rm -f conftest.$ac_objext conftest$ac_exeext
31937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31938 (eval $ac_link) 2>conftest.er1
31939 ac_status=$?
31940 grep -v '^ *+' conftest.er1 >conftest.err
31941 rm -f conftest.er1
31942 cat conftest.err >&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); } &&
31945 { ac_try='test -z "$ac_c_werror_flag"
31946 || test ! -s conftest.err'
31947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31948 (eval $ac_try) 2>&5
31949 ac_status=$?
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); }; } &&
31952 { ac_try='test -s conftest$ac_exeext'
31953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31954 (eval $ac_try) 2>&5
31955 ac_status=$?
31956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957 (exit $ac_status); }; }; then
31958 ac_cv_lib_m_lgammal=yes
31959 else
31960 echo "$as_me: failed program was:" >&5
31961 sed 's/^/| /' conftest.$ac_ext >&5
31962
31963 ac_cv_lib_m_lgammal=no
31964 fi
31965 rm -f conftest.err conftest.$ac_objext \
31966 conftest$ac_exeext conftest.$ac_ext
31967 LIBS=$ac_check_lib_save_LIBS
31968 fi
31969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
31970 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
31971 if test $ac_cv_lib_m_lgammal = yes; then
31972
31973 cat >>confdefs.h <<\_ACEOF
31974 #define HAVE_LGAMMAL 1
31975 _ACEOF
31976
31977 fi
31978
31979
31980 # On AIX, clog is present in libm as __clog
31981 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31982 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31983 if test "${ac_cv_lib_m___clog+set}" = set; then
31984 echo $ECHO_N "(cached) $ECHO_C" >&6
31985 else
31986 ac_check_lib_save_LIBS=$LIBS
31987 LIBS="-lm $LIBS"
31988 if test x$gcc_no_link = xyes; then
31989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31991 { (exit 1); exit 1; }; }
31992 fi
31993 cat >conftest.$ac_ext <<_ACEOF
31994 /* confdefs.h. */
31995 _ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
31999
32000 /* Override any gcc2 internal prototype to avoid an error. */
32001 #ifdef __cplusplus
32002 extern "C"
32003 #endif
32004 /* We use char because int might match the return type of a gcc2
32005 builtin and then its argument prototype would still apply. */
32006 char __clog ();
32007 int
32008 main ()
32009 {
32010 __clog ();
32011 ;
32012 return 0;
32013 }
32014 _ACEOF
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>conftest.er1
32018 ac_status=$?
32019 grep -v '^ *+' conftest.er1 >conftest.err
32020 rm -f conftest.er1
32021 cat conftest.err >&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try='test -z "$ac_c_werror_flag"
32025 || test ! -s conftest.err'
32026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32027 (eval $ac_try) 2>&5
32028 ac_status=$?
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); }; } &&
32031 { ac_try='test -s conftest$ac_exeext'
32032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32033 (eval $ac_try) 2>&5
32034 ac_status=$?
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); }; }; then
32037 ac_cv_lib_m___clog=yes
32038 else
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.$ac_ext >&5
32041
32042 ac_cv_lib_m___clog=no
32043 fi
32044 rm -f conftest.err conftest.$ac_objext \
32045 conftest$ac_exeext conftest.$ac_ext
32046 LIBS=$ac_check_lib_save_LIBS
32047 fi
32048 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32049 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32050 if test $ac_cv_lib_m___clog = yes; then
32051
32052 cat >>confdefs.h <<\_ACEOF
32053 #define HAVE_CLOG 1
32054 _ACEOF
32055
32056 fi
32057
32058
32059 # Check for a isfinite macro that works on long doubles.
32060
32061 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32062 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32063 if test "${have_broken_isfinite+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066
32067 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32068 LIBS="$LIBS -lm"
32069 if test "$cross_compiling" = yes; then
32070
32071 case "${target}" in
32072 hppa*-*-hpux*) have_broken_isfinite=yes ;;
32073 *) have_broken_isfinite=no ;;
32074 esac
32075 else
32076 cat >conftest.$ac_ext <<_ACEOF
32077 /* confdefs.h. */
32078 _ACEOF
32079 cat confdefs.h >>conftest.$ac_ext
32080 cat >>conftest.$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32082
32083 #include <math.h>
32084 #include <float.h>
32085 int main ()
32086 {
32087 #ifdef isfinite
32088 #ifdef LDBL_MAX
32089 if (!isfinite(LDBL_MAX)) return 1;
32090 #endif
32091 #ifdef DBL_MAX
32092 if (!isfinite(DBL_MAX)) return 1;
32093 #endif
32094 #endif
32095 return 0;
32096 }
32097 _ACEOF
32098 rm -f conftest$ac_exeext
32099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32100 (eval $ac_link) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32106 ac_status=$?
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 have_broken_isfinite=no
32110 else
32111 echo "$as_me: program exited with status $ac_status" >&5
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.$ac_ext >&5
32114
32115 ( exit $ac_status )
32116 have_broken_isfinite=yes
32117 fi
32118 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32119 fi
32120 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32121 fi
32122 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
32123 echo "${ECHO_T}$have_broken_isfinite" >&6
32124 if test x"$have_broken_isfinite" = xyes; then
32125
32126 cat >>confdefs.h <<\_ACEOF
32127 #define HAVE_BROKEN_ISFINITE 1
32128 _ACEOF
32129
32130 fi
32131
32132 # Check for a isnan macro that works on long doubles.
32133
32134 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32135 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32136 if test "${have_broken_isnan+set}" = set; then
32137 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 else
32139
32140 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32141 LIBS="$LIBS -lm"
32142 if test "$cross_compiling" = yes; then
32143
32144 case "${target}" in
32145 hppa*-*-hpux*) have_broken_isnan=yes ;;
32146 *) have_broken_isnan=no ;;
32147 esac
32148 else
32149 cat >conftest.$ac_ext <<_ACEOF
32150 /* confdefs.h. */
32151 _ACEOF
32152 cat confdefs.h >>conftest.$ac_ext
32153 cat >>conftest.$ac_ext <<_ACEOF
32154 /* end confdefs.h. */
32155
32156 #include <math.h>
32157 #include <float.h>
32158 int main ()
32159 {
32160 #ifdef isnan
32161 #ifdef LDBL_MAX
32162 {
32163 long double x;
32164 x = __builtin_nanl ("");
32165 if (!isnan(x)) return 1;
32166 if (isnan(LDBL_MAX)) return 1;
32167 #ifdef NAN
32168 x = (long double) NAN;
32169 if (!isnan(x)) return 1;
32170 #endif
32171 }
32172 #endif
32173 #ifdef DBL_MAX
32174 {
32175 double y;
32176 y = __builtin_nan ("");
32177 if (!isnan(y)) return 1;
32178 if (isnan(DBL_MAX)) return 1;
32179 #ifdef NAN
32180 y = (double) NAN;
32181 if (!isnan(y)) return 1;
32182 #endif
32183 }
32184 #endif
32185 #endif
32186 return 0;
32187 }
32188 _ACEOF
32189 rm -f conftest$ac_exeext
32190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32191 (eval $ac_link) 2>&5
32192 ac_status=$?
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32196 (eval $ac_try) 2>&5
32197 ac_status=$?
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); }; }; then
32200 have_broken_isnan=no
32201 else
32202 echo "$as_me: program exited with status $ac_status" >&5
32203 echo "$as_me: failed program was:" >&5
32204 sed 's/^/| /' conftest.$ac_ext >&5
32205
32206 ( exit $ac_status )
32207 have_broken_isnan=yes
32208 fi
32209 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32210 fi
32211 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32212 fi
32213 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
32214 echo "${ECHO_T}$have_broken_isnan" >&6
32215 if test x"$have_broken_isnan" = xyes; then
32216
32217 cat >>confdefs.h <<\_ACEOF
32218 #define HAVE_BROKEN_ISNAN 1
32219 _ACEOF
32220
32221 fi
32222
32223 # Check for a fpclassify macro that works on long doubles.
32224
32225 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32226 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32227 if test "${have_broken_fpclassify+set}" = set; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32229 else
32230
32231 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32232 LIBS="$LIBS -lm"
32233 if test "$cross_compiling" = yes; then
32234
32235 case "${target}" in
32236 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
32237 *) have_broken_fpclassify=no ;;
32238 esac
32239 else
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246
32247 #include <math.h>
32248 #include <float.h>
32249 int main ()
32250 {
32251 #ifdef fpclassify
32252 #ifdef LDBL_MAX
32253 if (fpclassify(LDBL_MAX) == FP_NAN
32254 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32255 #endif
32256 #ifdef DBL_MAX
32257 if (fpclassify(DBL_MAX) == FP_NAN
32258 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32259 #endif
32260 #endif
32261 return 0;
32262 }
32263 _ACEOF
32264 rm -f conftest$ac_exeext
32265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32266 (eval $ac_link) 2>&5
32267 ac_status=$?
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32271 (eval $ac_try) 2>&5
32272 ac_status=$?
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); }; }; then
32275 have_broken_fpclassify=no
32276 else
32277 echo "$as_me: program exited with status $ac_status" >&5
32278 echo "$as_me: failed program was:" >&5
32279 sed 's/^/| /' conftest.$ac_ext >&5
32280
32281 ( exit $ac_status )
32282 have_broken_fpclassify=yes
32283 fi
32284 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32285 fi
32286 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32287 fi
32288 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
32289 echo "${ECHO_T}$have_broken_fpclassify" >&6
32290 if test x"$have_broken_fpclassify" = xyes; then
32291
32292 cat >>confdefs.h <<\_ACEOF
32293 #define HAVE_BROKEN_FPCLASSIFY 1
32294 _ACEOF
32295
32296 fi
32297
32298 # Check whether the system has a working stat()
32299
32300 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32301 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32302 if test "${have_working_stat+set}" = set; then
32303 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 else
32305
32306 if test "$cross_compiling" = yes; then
32307
32308 case "${target}" in
32309 *mingw*) have_working_stat=no ;;
32310 *) have_working_stat=yes;;
32311 esac
32312 else
32313 cat >conftest.$ac_ext <<_ACEOF
32314 /* confdefs.h. */
32315 _ACEOF
32316 cat confdefs.h >>conftest.$ac_ext
32317 cat >>conftest.$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32319
32320 #include <stdio.h>
32321 #include <sys/types.h>
32322 #include <sys/stat.h>
32323 #include <unistd.h>
32324
32325 int main ()
32326 {
32327 FILE *f, *g;
32328 struct stat st1, st2;
32329
32330 f = fopen ("foo", "w");
32331 g = fopen ("bar", "w");
32332 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32333 return 1;
32334 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32335 return 1;
32336 fclose(f);
32337 fclose(g);
32338 return 0;
32339 }
32340 _ACEOF
32341 rm -f conftest$ac_exeext
32342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32343 (eval $ac_link) 2>&5
32344 ac_status=$?
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32348 (eval $ac_try) 2>&5
32349 ac_status=$?
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); }; }; then
32352 have_working_stat=yes
32353 else
32354 echo "$as_me: program exited with status $ac_status" >&5
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32357
32358 ( exit $ac_status )
32359 have_working_stat=no
32360 fi
32361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32362 fi
32363 fi
32364 echo "$as_me:$LINENO: result: $have_working_stat" >&5
32365 echo "${ECHO_T}$have_working_stat" >&6
32366 if test x"$have_working_stat" = xyes; then
32367
32368 cat >>confdefs.h <<\_ACEOF
32369 #define HAVE_WORKING_STAT 1
32370 _ACEOF
32371
32372 fi
32373
32374 # Check whether __mingw_snprintf() is present
32375
32376 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32377 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32378 if test "${have_mingw_snprintf+set}" = set; then
32379 echo $ECHO_N "(cached) $ECHO_C" >&6
32380 else
32381
32382 if test x$gcc_no_link = xyes; then
32383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32385 { (exit 1); exit 1; }; }
32386 fi
32387 cat >conftest.$ac_ext <<_ACEOF
32388 /* confdefs.h. */
32389 _ACEOF
32390 cat confdefs.h >>conftest.$ac_ext
32391 cat >>conftest.$ac_ext <<_ACEOF
32392 /* end confdefs.h. */
32393
32394 #include <stdio.h>
32395 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32396
32397 int
32398 main ()
32399 {
32400
32401 __mingw_snprintf (NULL, 0, "%d\n", 1);
32402
32403 ;
32404 return 0;
32405 }
32406 _ACEOF
32407 rm -f conftest.$ac_objext conftest$ac_exeext
32408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32409 (eval $ac_link) 2>conftest.er1
32410 ac_status=$?
32411 grep -v '^ *+' conftest.er1 >conftest.err
32412 rm -f conftest.er1
32413 cat conftest.err >&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } &&
32416 { ac_try='test -z "$ac_c_werror_flag"
32417 || test ! -s conftest.err'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32420 ac_status=$?
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; } &&
32423 { ac_try='test -s conftest$ac_exeext'
32424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32425 (eval $ac_try) 2>&5
32426 ac_status=$?
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); }; }; then
32429 eval "have_mingw_snprintf=yes"
32430 else
32431 echo "$as_me: failed program was:" >&5
32432 sed 's/^/| /' conftest.$ac_ext >&5
32433
32434 eval "have_mingw_snprintf=no"
32435 fi
32436 rm -f conftest.err conftest.$ac_objext \
32437 conftest$ac_exeext conftest.$ac_ext
32438
32439 fi
32440 echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
32441 echo "${ECHO_T}$have_mingw_snprintf" >&6
32442 if test x"$have_mingw_snprintf" = xyes; then
32443
32444 cat >>confdefs.h <<\_ACEOF
32445 #define HAVE_MINGW_SNPRINTF 1
32446 _ACEOF
32447
32448 fi
32449
32450
32451 # Check for GNU libc feenableexcept
32452 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32453 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32454 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32455 echo $ECHO_N "(cached) $ECHO_C" >&6
32456 else
32457 ac_check_lib_save_LIBS=$LIBS
32458 LIBS="-lm $LIBS"
32459 if test x$gcc_no_link = xyes; then
32460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32462 { (exit 1); exit 1; }; }
32463 fi
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470
32471 /* Override any gcc2 internal prototype to avoid an error. */
32472 #ifdef __cplusplus
32473 extern "C"
32474 #endif
32475 /* We use char because int might match the return type of a gcc2
32476 builtin and then its argument prototype would still apply. */
32477 char feenableexcept ();
32478 int
32479 main ()
32480 {
32481 feenableexcept ();
32482 ;
32483 return 0;
32484 }
32485 _ACEOF
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32488 (eval $ac_link) 2>conftest.er1
32489 ac_status=$?
32490 grep -v '^ *+' conftest.er1 >conftest.err
32491 rm -f conftest.er1
32492 cat conftest.err >&5
32493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494 (exit $ac_status); } &&
32495 { ac_try='test -z "$ac_c_werror_flag"
32496 || test ! -s conftest.err'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32499 ac_status=$?
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; } &&
32502 { ac_try='test -s conftest$ac_exeext'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32505 ac_status=$?
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; }; then
32508 ac_cv_lib_m_feenableexcept=yes
32509 else
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32512
32513 ac_cv_lib_m_feenableexcept=no
32514 fi
32515 rm -f conftest.err conftest.$ac_objext \
32516 conftest$ac_exeext conftest.$ac_ext
32517 LIBS=$ac_check_lib_save_LIBS
32518 fi
32519 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32520 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32521 if test $ac_cv_lib_m_feenableexcept = yes; then
32522 have_feenableexcept=yes
32523 cat >>confdefs.h <<\_ACEOF
32524 #define HAVE_FEENABLEEXCEPT 1
32525 _ACEOF
32526
32527 fi
32528
32529
32530 # Check for SysV fpsetmask
32531
32532 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32533 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32534 if test "${have_fpsetmask+set}" = set; then
32535 echo $ECHO_N "(cached) $ECHO_C" >&6
32536 else
32537
32538 if test x$gcc_no_link = xyes; then
32539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32541 { (exit 1); exit 1; }; }
32542 fi
32543 cat >conftest.$ac_ext <<_ACEOF
32544 /* confdefs.h. */
32545 _ACEOF
32546 cat confdefs.h >>conftest.$ac_ext
32547 cat >>conftest.$ac_ext <<_ACEOF
32548 /* end confdefs.h. */
32549
32550 #if HAVE_FLOATINGPOINT_H
32551 # include <floatingpoint.h>
32552 #endif /* HAVE_FLOATINGPOINT_H */
32553 #if HAVE_IEEEFP_H
32554 # include <ieeefp.h>
32555 #endif /* HAVE_IEEEFP_H */
32556 int
32557 main ()
32558 {
32559 fpsetmask(0);
32560 ;
32561 return 0;
32562 }
32563 _ACEOF
32564 rm -f conftest.$ac_objext conftest$ac_exeext
32565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32566 (eval $ac_link) 2>conftest.er1
32567 ac_status=$?
32568 grep -v '^ *+' conftest.er1 >conftest.err
32569 rm -f conftest.er1
32570 cat conftest.err >&5
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); } &&
32573 { ac_try='test -z "$ac_c_werror_flag"
32574 || test ! -s conftest.err'
32575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32576 (eval $ac_try) 2>&5
32577 ac_status=$?
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); }; } &&
32580 { ac_try='test -s conftest$ac_exeext'
32581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582 (eval $ac_try) 2>&5
32583 ac_status=$?
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); }; }; then
32586 eval "have_fpsetmask=yes"
32587 else
32588 echo "$as_me: failed program was:" >&5
32589 sed 's/^/| /' conftest.$ac_ext >&5
32590
32591 eval "have_fpsetmask=no"
32592 fi
32593 rm -f conftest.err conftest.$ac_objext \
32594 conftest$ac_exeext conftest.$ac_ext
32595
32596 fi
32597 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32598 echo "${ECHO_T}$have_fpsetmask" >&6
32599 if test x"$have_fpsetmask" = xyes; then
32600
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_FPSETMASK 1
32603 _ACEOF
32604
32605 fi
32606
32607
32608 # Check for AIX fp_trap and fp_enable
32609 echo "$as_me:$LINENO: checking for fp_trap" >&5
32610 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32611 if test "${ac_cv_func_fp_trap+set}" = set; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32613 else
32614 if test x$gcc_no_link = xyes; then
32615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32617 { (exit 1); exit 1; }; }
32618 fi
32619 cat >conftest.$ac_ext <<_ACEOF
32620 /* confdefs.h. */
32621 _ACEOF
32622 cat confdefs.h >>conftest.$ac_ext
32623 cat >>conftest.$ac_ext <<_ACEOF
32624 /* end confdefs.h. */
32625 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32627 #define fp_trap innocuous_fp_trap
32628
32629 /* System header to define __stub macros and hopefully few prototypes,
32630 which can conflict with char fp_trap (); below.
32631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32632 <limits.h> exists even on freestanding compilers. */
32633
32634 #ifdef __STDC__
32635 # include <limits.h>
32636 #else
32637 # include <assert.h>
32638 #endif
32639
32640 #undef fp_trap
32641
32642 /* Override any gcc2 internal prototype to avoid an error. */
32643 #ifdef __cplusplus
32644 extern "C"
32645 {
32646 #endif
32647 /* We use char because int might match the return type of a gcc2
32648 builtin and then its argument prototype would still apply. */
32649 char fp_trap ();
32650 /* The GNU C library defines this for functions which it implements
32651 to always fail with ENOSYS. Some functions are actually named
32652 something starting with __ and the normal name is an alias. */
32653 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32654 choke me
32655 #else
32656 char (*f) () = fp_trap;
32657 #endif
32658 #ifdef __cplusplus
32659 }
32660 #endif
32661
32662 int
32663 main ()
32664 {
32665 return f != fp_trap;
32666 ;
32667 return 0;
32668 }
32669 _ACEOF
32670 rm -f conftest.$ac_objext conftest$ac_exeext
32671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32672 (eval $ac_link) 2>conftest.er1
32673 ac_status=$?
32674 grep -v '^ *+' conftest.er1 >conftest.err
32675 rm -f conftest.er1
32676 cat conftest.err >&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); } &&
32679 { ac_try='test -z "$ac_c_werror_flag"
32680 || test ! -s conftest.err'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32683 ac_status=$?
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try='test -s conftest$ac_exeext'
32687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688 (eval $ac_try) 2>&5
32689 ac_status=$?
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); }; }; then
32692 ac_cv_func_fp_trap=yes
32693 else
32694 echo "$as_me: failed program was:" >&5
32695 sed 's/^/| /' conftest.$ac_ext >&5
32696
32697 ac_cv_func_fp_trap=no
32698 fi
32699 rm -f conftest.err conftest.$ac_objext \
32700 conftest$ac_exeext conftest.$ac_ext
32701 fi
32702 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32703 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32704 if test $ac_cv_func_fp_trap = yes; then
32705 have_fp_trap=yes
32706 cat >>confdefs.h <<\_ACEOF
32707 #define HAVE_FP_TRAP 1
32708 _ACEOF
32709
32710 fi
32711
32712 echo "$as_me:$LINENO: checking for fp_enable" >&5
32713 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32714 if test "${ac_cv_func_fp_enable+set}" = set; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32716 else
32717 if test x$gcc_no_link = xyes; then
32718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32720 { (exit 1); exit 1; }; }
32721 fi
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32730 #define fp_enable innocuous_fp_enable
32731
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char fp_enable (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32736
32737 #ifdef __STDC__
32738 # include <limits.h>
32739 #else
32740 # include <assert.h>
32741 #endif
32742
32743 #undef fp_enable
32744
32745 /* Override any gcc2 internal prototype to avoid an error. */
32746 #ifdef __cplusplus
32747 extern "C"
32748 {
32749 #endif
32750 /* We use char because int might match the return type of a gcc2
32751 builtin and then its argument prototype would still apply. */
32752 char fp_enable ();
32753 /* The GNU C library defines this for functions which it implements
32754 to always fail with ENOSYS. Some functions are actually named
32755 something starting with __ and the normal name is an alias. */
32756 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32757 choke me
32758 #else
32759 char (*f) () = fp_enable;
32760 #endif
32761 #ifdef __cplusplus
32762 }
32763 #endif
32764
32765 int
32766 main ()
32767 {
32768 return f != fp_enable;
32769 ;
32770 return 0;
32771 }
32772 _ACEOF
32773 rm -f conftest.$ac_objext conftest$ac_exeext
32774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32775 (eval $ac_link) 2>conftest.er1
32776 ac_status=$?
32777 grep -v '^ *+' conftest.er1 >conftest.err
32778 rm -f conftest.er1
32779 cat conftest.err >&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); } &&
32782 { ac_try='test -z "$ac_c_werror_flag"
32783 || test ! -s conftest.err'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32786 ac_status=$?
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; } &&
32789 { ac_try='test -s conftest$ac_exeext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32792 ac_status=$?
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 ac_cv_func_fp_enable=yes
32796 else
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.$ac_ext >&5
32799
32800 ac_cv_func_fp_enable=no
32801 fi
32802 rm -f conftest.err conftest.$ac_objext \
32803 conftest$ac_exeext conftest.$ac_ext
32804 fi
32805 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32806 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32807 if test $ac_cv_func_fp_enable = yes; then
32808 have_fp_enable=yes
32809 cat >>confdefs.h <<\_ACEOF
32810 #define HAVE_FP_ENABLE 1
32811 _ACEOF
32812
32813 fi
32814
32815
32816 # Runs configure.host to set up necessary host-dependent shell variables.
32817 # We then display a message about it, and propagate them through the
32818 # build chain.
32819 . ${srcdir}/configure.host
32820 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32821 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32822 FPU_HOST_HEADER=config/${fpu_host}.h
32823
32824
32825 # Check out attribute support.
32826
32827 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32828 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32829 if test "${have_attribute_visibility+set}" = set; then
32830 echo $ECHO_N "(cached) $ECHO_C" >&6
32831 else
32832
32833 save_CFLAGS="$CFLAGS"
32834 CFLAGS="$CFLAGS -Werror"
32835 cat >conftest.$ac_ext <<_ACEOF
32836 /* confdefs.h. */
32837 _ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 void __attribute__((visibility("hidden"))) foo(void) { }
32842 int
32843 main ()
32844 {
32845
32846 ;
32847 return 0;
32848 }
32849 _ACEOF
32850 rm -f conftest.$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852 (eval $ac_compile) 2>conftest.er1
32853 ac_status=$?
32854 grep -v '^ *+' conftest.er1 >conftest.err
32855 rm -f conftest.er1
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try='test -z "$ac_c_werror_flag"
32860 || test ! -s conftest.err'
32861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32862 (eval $ac_try) 2>&5
32863 ac_status=$?
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); }; } &&
32866 { ac_try='test -s conftest.$ac_objext'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32869 ac_status=$?
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; }; then
32872 have_attribute_visibility=yes
32873 else
32874 echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.$ac_ext >&5
32876
32877 have_attribute_visibility=no
32878 fi
32879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32880 CFLAGS="$save_CFLAGS"
32881 fi
32882 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32883 echo "${ECHO_T}$have_attribute_visibility" >&6
32884 if test $have_attribute_visibility = yes; then
32885
32886 cat >>confdefs.h <<\_ACEOF
32887 #define HAVE_ATTRIBUTE_VISIBILITY 1
32888 _ACEOF
32889
32890 fi
32891
32892 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32893 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32894 if test "${have_attribute_dllexport+set}" = set; then
32895 echo $ECHO_N "(cached) $ECHO_C" >&6
32896 else
32897
32898 save_CFLAGS="$CFLAGS"
32899 CFLAGS="$CFLAGS -Werror"
32900 cat >conftest.$ac_ext <<_ACEOF
32901 /* confdefs.h. */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906 void __attribute__((dllexport)) foo(void) { }
32907 int
32908 main ()
32909 {
32910
32911 ;
32912 return 0;
32913 }
32914 _ACEOF
32915 rm -f conftest.$ac_objext
32916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32917 (eval $ac_compile) 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try='test -z "$ac_c_werror_flag"
32925 || test ! -s conftest.err'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; } &&
32931 { ac_try='test -s conftest.$ac_objext'
32932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32933 (eval $ac_try) 2>&5
32934 ac_status=$?
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; }; then
32937 have_attribute_dllexport=yes
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32941
32942 have_attribute_dllexport=no
32943 fi
32944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32945 CFLAGS="$save_CFLAGS"
32946 fi
32947 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32948 echo "${ECHO_T}$have_attribute_dllexport" >&6
32949 if test $have_attribute_dllexport = yes; then
32950
32951 cat >>confdefs.h <<\_ACEOF
32952 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32953 _ACEOF
32954
32955 fi
32956
32957 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32958 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32959 if test "${have_attribute_alias+set}" = set; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32961 else
32962
32963 if test x$gcc_no_link = xyes; then
32964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32966 { (exit 1); exit 1; }; }
32967 fi
32968 cat >conftest.$ac_ext <<_ACEOF
32969 /* confdefs.h. */
32970 _ACEOF
32971 cat confdefs.h >>conftest.$ac_ext
32972 cat >>conftest.$ac_ext <<_ACEOF
32973 /* end confdefs.h. */
32974
32975 void foo(void) { }
32976 extern void bar(void) __attribute__((alias("foo")));
32977 int
32978 main ()
32979 {
32980 bar();
32981 ;
32982 return 0;
32983 }
32984 _ACEOF
32985 rm -f conftest.$ac_objext conftest$ac_exeext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32987 (eval $ac_link) 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -z "$ac_c_werror_flag"
32995 || test ! -s conftest.err'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; } &&
33001 { ac_try='test -s conftest$ac_exeext'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; }; then
33007 have_attribute_alias=yes
33008 else
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33011
33012 have_attribute_alias=no
33013 fi
33014 rm -f conftest.err conftest.$ac_objext \
33015 conftest$ac_exeext conftest.$ac_ext
33016 fi
33017 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
33018 echo "${ECHO_T}$have_attribute_alias" >&6
33019 if test $have_attribute_alias = yes; then
33020
33021 cat >>confdefs.h <<\_ACEOF
33022 #define HAVE_ATTRIBUTE_ALIAS 1
33023 _ACEOF
33024
33025 fi
33026
33027 # Check out sync builtins support.
33028
33029 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33030 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33031 if test "${have_sync_fetch_and_add+set}" = set; then
33032 echo $ECHO_N "(cached) $ECHO_C" >&6
33033 else
33034
33035 if test x$gcc_no_link = xyes; then
33036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33038 { (exit 1); exit 1; }; }
33039 fi
33040 cat >conftest.$ac_ext <<_ACEOF
33041 /* confdefs.h. */
33042 _ACEOF
33043 cat confdefs.h >>conftest.$ac_ext
33044 cat >>conftest.$ac_ext <<_ACEOF
33045 /* end confdefs.h. */
33046 int foovar = 0;
33047 int
33048 main ()
33049 {
33050
33051 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33052 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33053 ;
33054 return 0;
33055 }
33056 _ACEOF
33057 rm -f conftest.$ac_objext conftest$ac_exeext
33058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33059 (eval $ac_link) 2>conftest.er1
33060 ac_status=$?
33061 grep -v '^ *+' conftest.er1 >conftest.err
33062 rm -f conftest.er1
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } &&
33066 { ac_try='test -z "$ac_c_werror_flag"
33067 || test ! -s conftest.err'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33070 ac_status=$?
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; } &&
33073 { ac_try='test -s conftest$ac_exeext'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33076 ac_status=$?
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; }; then
33079 have_sync_fetch_and_add=yes
33080 else
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.$ac_ext >&5
33083
33084 have_sync_fetch_and_add=no
33085 fi
33086 rm -f conftest.err conftest.$ac_objext \
33087 conftest$ac_exeext conftest.$ac_ext
33088 fi
33089 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
33090 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
33091 if test $have_sync_fetch_and_add = yes; then
33092
33093 cat >>confdefs.h <<\_ACEOF
33094 #define HAVE_SYNC_FETCH_AND_ADD 1
33095 _ACEOF
33096
33097 fi
33098
33099 # Check out thread support.
33100
33101 echo "$as_me:$LINENO: checking configured target thread model" >&5
33102 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33103 if test "${target_thread_file+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 else
33106
33107 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33108 fi
33109 echo "$as_me:$LINENO: result: $target_thread_file" >&5
33110 echo "${ECHO_T}$target_thread_file" >&6
33111
33112 if test $target_thread_file != single; then
33113
33114 cat >>confdefs.h <<\_ACEOF
33115 #define HAVE_GTHR_DEFAULT 1
33116 _ACEOF
33117
33118 fi
33119
33120 # Check out #pragma weak.
33121
33122 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33123 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33124 if test "${have_pragma_weak+set}" = set; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33126 else
33127
33128 gfor_save_CFLAGS="$CFLAGS"
33129 CFLAGS="$CFLAGS -Wunknown-pragmas"
33130 cat >conftest.$ac_ext <<_ACEOF
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136 void foo (void);
33137 #pragma weak foo
33138 int
33139 main ()
33140 {
33141 if (foo) foo ();
33142 ;
33143 return 0;
33144 }
33145 _ACEOF
33146 rm -f conftest.$ac_objext
33147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33148 (eval $ac_compile) 2>conftest.er1
33149 ac_status=$?
33150 grep -v '^ *+' conftest.er1 >conftest.err
33151 rm -f conftest.er1
33152 cat conftest.err >&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } &&
33155 { ac_try='test -z "$ac_c_werror_flag"
33156 || test ! -s conftest.err'
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33159 ac_status=$?
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; } &&
33162 { ac_try='test -s conftest.$ac_objext'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33165 ac_status=$?
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; }; then
33168 have_pragma_weak=yes
33169 else
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33172
33173 have_pragma_weak=no
33174 fi
33175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33176 fi
33177 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
33178 echo "${ECHO_T}$have_pragma_weak" >&6
33179 if test $have_pragma_weak = yes; then
33180
33181 cat >>confdefs.h <<\_ACEOF
33182 #define SUPPORTS_WEAK 1
33183 _ACEOF
33184
33185 fi
33186 case "$host" in
33187 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33188
33189 cat >>confdefs.h <<\_ACEOF
33190 #define GTHREAD_USE_WEAK 0
33191 _ACEOF
33192
33193 ;;
33194 esac
33195
33196 # Various other checks on target
33197
33198 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33199 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33200 if test "${have_unlink_open_file+set}" = set; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203
33204 if test "$cross_compiling" = yes; then
33205
33206 case "${target}" in
33207 *mingw*) have_unlink_open_file=no ;;
33208 *) have_unlink_open_file=yes;;
33209 esac
33210 else
33211 cat >conftest.$ac_ext <<_ACEOF
33212 /* confdefs.h. */
33213 _ACEOF
33214 cat confdefs.h >>conftest.$ac_ext
33215 cat >>conftest.$ac_ext <<_ACEOF
33216 /* end confdefs.h. */
33217
33218 #include <errno.h>
33219 #include <fcntl.h>
33220 #include <unistd.h>
33221 #include <sys/stat.h>
33222
33223 int main ()
33224 {
33225 int fd;
33226
33227 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33228 if (fd <= 0)
33229 return 0;
33230 if (unlink ("testfile") == -1)
33231 return 1;
33232 write (fd, "This is a test\n", 15);
33233 close (fd);
33234
33235 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33236 return 0;
33237 else
33238 return 1;
33239 }
33240 _ACEOF
33241 rm -f conftest$ac_exeext
33242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33243 (eval $ac_link) 2>&5
33244 ac_status=$?
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33249 ac_status=$?
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; }; then
33252 have_unlink_open_file=yes
33253 else
33254 echo "$as_me: program exited with status $ac_status" >&5
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.$ac_ext >&5
33257
33258 ( exit $ac_status )
33259 have_unlink_open_file=no
33260 fi
33261 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33262 fi
33263 fi
33264 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
33265 echo "${ECHO_T}$have_unlink_open_file" >&6
33266 if test x"$have_unlink_open_file" = xyes; then
33267
33268 cat >>confdefs.h <<\_ACEOF
33269 #define HAVE_UNLINK_OPEN_FILE 1
33270 _ACEOF
33271
33272 fi
33273
33274 # Check whether line terminator is LF or CRLF
33275
33276 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33277 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33278 if test "${have_crlf+set}" = set; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33280 else
33281
33282 if test "$cross_compiling" = yes; then
33283
33284 case "${target}" in
33285 *mingw*) have_crlf=yes ;;
33286 *) have_crlf=no;;
33287 esac
33288 else
33289 cat >conftest.$ac_ext <<_ACEOF
33290 /* confdefs.h. */
33291 _ACEOF
33292 cat confdefs.h >>conftest.$ac_ext
33293 cat >>conftest.$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33295
33296 /* This test program should exit with status 0 if system uses a CRLF as
33297 line terminator, and status 1 otherwise.
33298 Since it is used to check for mingw systems, and should return 0 in any
33299 other case, in case of a failure we will not use CRLF. */
33300 #include <sys/stat.h>
33301 #include <stdlib.h>
33302 #include <fcntl.h>
33303 #include <stdio.h>
33304
33305 int main ()
33306 {
33307 #ifndef O_BINARY
33308 exit(1);
33309 #else
33310 int fd, bytes;
33311 char buff[5];
33312
33313 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33314 if (fd < 0)
33315 exit(1);
33316 if (write (fd, "\n", 1) < 0)
33317 perror ("write");
33318
33319 close (fd);
33320
33321 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33322 exit(1);
33323 bytes = read (fd, buff, 5);
33324 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33325 exit(0);
33326 else
33327 exit(1);
33328 #endif
33329 }
33330 _ACEOF
33331 rm -f conftest$ac_exeext
33332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33333 (eval $ac_link) 2>&5
33334 ac_status=$?
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33338 (eval $ac_try) 2>&5
33339 ac_status=$?
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); }; }; then
33342 have_crlf=yes
33343 else
33344 echo "$as_me: program exited with status $ac_status" >&5
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33347
33348 ( exit $ac_status )
33349 have_crlf=no
33350 fi
33351 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33352 fi
33353 fi
33354 echo "$as_me:$LINENO: result: $have_crlf" >&5
33355 echo "${ECHO_T}$have_crlf" >&6
33356 if test x"$have_crlf" = xyes; then
33357
33358 cat >>confdefs.h <<\_ACEOF
33359 #define HAVE_CRLF 1
33360 _ACEOF
33361
33362 fi
33363
33364 cat >confcache <<\_ACEOF
33365 # This file is a shell script that caches the results of configure
33366 # tests run on this system so they can be shared between configure
33367 # scripts and configure runs, see configure's option --config-cache.
33368 # It is not useful on other systems. If it contains results you don't
33369 # want to keep, you may remove or edit it.
33370 #
33371 # config.status only pays attention to the cache file if you give it
33372 # the --recheck option to rerun configure.
33373 #
33374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33376 # following values.
33377
33378 _ACEOF
33379
33380 # The following way of writing the cache mishandles newlines in values,
33381 # but we know of no workaround that is simple, portable, and efficient.
33382 # So, don't put newlines in cache variables' values.
33383 # Ultrix sh set writes to stderr and can't be redirected directly,
33384 # and sets the high bit in the cache file unless we assign to the vars.
33385 {
33386 (set) 2>&1 |
33387 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33388 *ac_space=\ *)
33389 # `set' does not quote correctly, so add quotes (double-quote
33390 # substitution turns \\\\ into \\, and sed turns \\ into \).
33391 sed -n \
33392 "s/'/'\\\\''/g;
33393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33394 ;;
33395 *)
33396 # `set' quotes correctly as required by POSIX, so do not add quotes.
33397 sed -n \
33398 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33399 ;;
33400 esac;
33401 } |
33402 sed '
33403 t clear
33404 : clear
33405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33406 t end
33407 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33408 : end' >>confcache
33409 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33410 if test -w $cache_file; then
33411 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33412 cat confcache >$cache_file
33413 else
33414 echo "not updating unwritable cache $cache_file"
33415 fi
33416 fi
33417 rm -f confcache
33418
33419 if test ${multilib} = yes; then
33420 multilib_arg="--enable-multilib"
33421 else
33422 multilib_arg=
33423 fi
33424
33425 # Write our Makefile.
33426 ac_config_files="$ac_config_files Makefile"
33427
33428 cat >confcache <<\_ACEOF
33429 # This file is a shell script that caches the results of configure
33430 # tests run on this system so they can be shared between configure
33431 # scripts and configure runs, see configure's option --config-cache.
33432 # It is not useful on other systems. If it contains results you don't
33433 # want to keep, you may remove or edit it.
33434 #
33435 # config.status only pays attention to the cache file if you give it
33436 # the --recheck option to rerun configure.
33437 #
33438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33440 # following values.
33441
33442 _ACEOF
33443
33444 # The following way of writing the cache mishandles newlines in values,
33445 # but we know of no workaround that is simple, portable, and efficient.
33446 # So, don't put newlines in cache variables' values.
33447 # Ultrix sh set writes to stderr and can't be redirected directly,
33448 # and sets the high bit in the cache file unless we assign to the vars.
33449 {
33450 (set) 2>&1 |
33451 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33452 *ac_space=\ *)
33453 # `set' does not quote correctly, so add quotes (double-quote
33454 # substitution turns \\\\ into \\, and sed turns \\ into \).
33455 sed -n \
33456 "s/'/'\\\\''/g;
33457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33458 ;;
33459 *)
33460 # `set' quotes correctly as required by POSIX, so do not add quotes.
33461 sed -n \
33462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33463 ;;
33464 esac;
33465 } |
33466 sed '
33467 t clear
33468 : clear
33469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33470 t end
33471 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33472 : end' >>confcache
33473 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33474 if test -w $cache_file; then
33475 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33476 cat confcache >$cache_file
33477 else
33478 echo "not updating unwritable cache $cache_file"
33479 fi
33480 fi
33481 rm -f confcache
33482
33483 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33484 # Let make expand exec_prefix.
33485 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33486
33487 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33488 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33489 # trailing colons and then remove the whole line if VPATH becomes empty
33490 # (actually we leave an empty line to preserve line numbers).
33491 if test "x$srcdir" = x.; then
33492 ac_vpsub='/^[ ]*VPATH[ ]*=/{
33493 s/:*\$(srcdir):*/:/;
33494 s/:*\${srcdir}:*/:/;
33495 s/:*@srcdir@:*/:/;
33496 s/^\([^=]*=[ ]*\):*/\1/;
33497 s/:*$//;
33498 s/^[^=]*=[ ]*$//;
33499 }'
33500 fi
33501
33502 DEFS=-DHAVE_CONFIG_H
33503
33504 ac_libobjs=
33505 ac_ltlibobjs=
33506 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33507 # 1. Remove the extension, and $U if already installed.
33508 ac_i=`echo "$ac_i" |
33509 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33510 # 2. Add them.
33511 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33512 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33513 done
33514 LIBOBJS=$ac_libobjs
33515
33516 LTLIBOBJS=$ac_ltlibobjs
33517
33518
33519 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33520 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33521 Usually this means the macro was only invoked conditionally." >&5
33522 echo "$as_me: error: conditional \"onestep\" was never defined.
33523 Usually this means the macro was only invoked conditionally." >&2;}
33524 { (exit 1); exit 1; }; }
33525 fi
33526 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33527 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33528 Usually this means the macro was only invoked conditionally." >&5
33529 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33530 Usually this means the macro was only invoked conditionally." >&2;}
33531 { (exit 1); exit 1; }; }
33532 fi
33533 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33534 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33535 Usually this means the macro was only invoked conditionally." >&5
33536 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33537 Usually this means the macro was only invoked conditionally." >&2;}
33538 { (exit 1); exit 1; }; }
33539 fi
33540 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33541 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33542 Usually this means the macro was only invoked conditionally." >&5
33543 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33544 Usually this means the macro was only invoked conditionally." >&2;}
33545 { (exit 1); exit 1; }; }
33546 fi
33547 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33548 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33549 Usually this means the macro was only invoked conditionally." >&5
33550 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33551 Usually this means the macro was only invoked conditionally." >&2;}
33552 { (exit 1); exit 1; }; }
33553 fi
33554
33555 : ${CONFIG_STATUS=./config.status}
33556 ac_clean_files_save=$ac_clean_files
33557 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33558 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33559 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33560 cat >$CONFIG_STATUS <<_ACEOF
33561 #! $SHELL
33562 # Generated by $as_me.
33563 # Run this file to recreate the current configuration.
33564 # Compiler output produced by configure, useful for debugging
33565 # configure, is in config.log if it exists.
33566
33567 debug=false
33568 ac_cs_recheck=false
33569 ac_cs_silent=false
33570 SHELL=\${CONFIG_SHELL-$SHELL}
33571 _ACEOF
33572
33573 cat >>$CONFIG_STATUS <<\_ACEOF
33574 ## --------------------- ##
33575 ## M4sh Initialization. ##
33576 ## --------------------- ##
33577
33578 # Be Bourne compatible
33579 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33580 emulate sh
33581 NULLCMD=:
33582 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33583 # is contrary to our usage. Disable this feature.
33584 alias -g '${1+"$@"}'='"$@"'
33585 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33586 set -o posix
33587 fi
33588 DUALCASE=1; export DUALCASE # for MKS sh
33589
33590 # Support unset when possible.
33591 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33592 as_unset=unset
33593 else
33594 as_unset=false
33595 fi
33596
33597
33598 # Work around bugs in pre-3.0 UWIN ksh.
33599 $as_unset ENV MAIL MAILPATH
33600 PS1='$ '
33601 PS2='> '
33602 PS4='+ '
33603
33604 # NLS nuisances.
33605 for as_var in \
33606 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33607 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33608 LC_TELEPHONE LC_TIME
33609 do
33610 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33611 eval $as_var=C; export $as_var
33612 else
33613 $as_unset $as_var
33614 fi
33615 done
33616
33617 # Required to use basename.
33618 if expr a : '\(a\)' >/dev/null 2>&1; then
33619 as_expr=expr
33620 else
33621 as_expr=false
33622 fi
33623
33624 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33625 as_basename=basename
33626 else
33627 as_basename=false
33628 fi
33629
33630
33631 # Name of the executable.
33632 as_me=`$as_basename "$0" ||
33633 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33634 X"$0" : 'X\(//\)$' \| \
33635 X"$0" : 'X\(/\)$' \| \
33636 . : '\(.\)' 2>/dev/null ||
33637 echo X/"$0" |
33638 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33639 /^X\/\(\/\/\)$/{ s//\1/; q; }
33640 /^X\/\(\/\).*/{ s//\1/; q; }
33641 s/.*/./; q'`
33642
33643
33644 # PATH needs CR, and LINENO needs CR and PATH.
33645 # Avoid depending upon Character Ranges.
33646 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33647 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33648 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33649 as_cr_digits='0123456789'
33650 as_cr_alnum=$as_cr_Letters$as_cr_digits
33651
33652 # The user is always right.
33653 if test "${PATH_SEPARATOR+set}" != set; then
33654 echo "#! /bin/sh" >conf$$.sh
33655 echo "exit 0" >>conf$$.sh
33656 chmod +x conf$$.sh
33657 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33658 PATH_SEPARATOR=';'
33659 else
33660 PATH_SEPARATOR=:
33661 fi
33662 rm -f conf$$.sh
33663 fi
33664
33665
33666 as_lineno_1=$LINENO
33667 as_lineno_2=$LINENO
33668 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33669 test "x$as_lineno_1" != "x$as_lineno_2" &&
33670 test "x$as_lineno_3" = "x$as_lineno_2" || {
33671 # Find who we are. Look in the path if we contain no path at all
33672 # relative or not.
33673 case $0 in
33674 *[\\/]* ) as_myself=$0 ;;
33675 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33676 for as_dir in $PATH
33677 do
33678 IFS=$as_save_IFS
33679 test -z "$as_dir" && as_dir=.
33680 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33681 done
33682
33683 ;;
33684 esac
33685 # We did not find ourselves, most probably we were run as `sh COMMAND'
33686 # in which case we are not to be found in the path.
33687 if test "x$as_myself" = x; then
33688 as_myself=$0
33689 fi
33690 if test ! -f "$as_myself"; then
33691 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33692 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33693 { (exit 1); exit 1; }; }
33694 fi
33695 case $CONFIG_SHELL in
33696 '')
33697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33698 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33699 do
33700 IFS=$as_save_IFS
33701 test -z "$as_dir" && as_dir=.
33702 for as_base in sh bash ksh sh5; do
33703 case $as_dir in
33704 /*)
33705 if ("$as_dir/$as_base" -c '
33706 as_lineno_1=$LINENO
33707 as_lineno_2=$LINENO
33708 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33709 test "x$as_lineno_1" != "x$as_lineno_2" &&
33710 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33711 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33712 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33713 CONFIG_SHELL=$as_dir/$as_base
33714 export CONFIG_SHELL
33715 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33716 fi;;
33717 esac
33718 done
33719 done
33720 ;;
33721 esac
33722
33723 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33724 # uniformly replaced by the line number. The first 'sed' inserts a
33725 # line-number line before each line; the second 'sed' does the real
33726 # work. The second script uses 'N' to pair each line-number line
33727 # with the numbered line, and appends trailing '-' during
33728 # substitution so that $LINENO is not a special case at line end.
33729 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33730 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33731 sed '=' <$as_myself |
33732 sed '
33733 N
33734 s,$,-,
33735 : loop
33736 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33737 t loop
33738 s,-$,,
33739 s,^['$as_cr_digits']*\n,,
33740 ' >$as_me.lineno &&
33741 chmod +x $as_me.lineno ||
33742 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33743 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33744 { (exit 1); exit 1; }; }
33745
33746 # Don't try to exec as it changes $[0], causing all sort of problems
33747 # (the dirname of $[0] is not the place where we might find the
33748 # original and so on. Autoconf is especially sensible to this).
33749 . ./$as_me.lineno
33750 # Exit status is that of the last command.
33751 exit
33752 }
33753
33754
33755 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33756 *c*,-n*) ECHO_N= ECHO_C='
33757 ' ECHO_T=' ' ;;
33758 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33759 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33760 esac
33761
33762 if expr a : '\(a\)' >/dev/null 2>&1; then
33763 as_expr=expr
33764 else
33765 as_expr=false
33766 fi
33767
33768 rm -f conf$$ conf$$.exe conf$$.file
33769 echo >conf$$.file
33770 if ln -s conf$$.file conf$$ 2>/dev/null; then
33771 # We could just check for DJGPP; but this test a) works b) is more generic
33772 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33773 if test -f conf$$.exe; then
33774 # Don't use ln at all; we don't have any links
33775 as_ln_s='cp -p'
33776 else
33777 as_ln_s='ln -s'
33778 fi
33779 elif ln conf$$.file conf$$ 2>/dev/null; then
33780 as_ln_s=ln
33781 else
33782 as_ln_s='cp -p'
33783 fi
33784 rm -f conf$$ conf$$.exe conf$$.file
33785
33786 if mkdir -p . 2>/dev/null; then
33787 as_mkdir_p=:
33788 else
33789 test -d ./-p && rmdir ./-p
33790 as_mkdir_p=false
33791 fi
33792
33793 as_executable_p="test -f"
33794
33795 # Sed expression to map a string onto a valid CPP name.
33796 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33797
33798 # Sed expression to map a string onto a valid variable name.
33799 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33800
33801
33802 # IFS
33803 # We need space, tab and new line, in precisely that order.
33804 as_nl='
33805 '
33806 IFS=" $as_nl"
33807
33808 # CDPATH.
33809 $as_unset CDPATH
33810
33811 exec 6>&1
33812
33813 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33814 # report actual input values of CONFIG_FILES etc. instead of their
33815 # values after options handling. Logging --version etc. is OK.
33816 exec 5>>config.log
33817 {
33818 echo
33819 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33820 ## Running $as_me. ##
33821 _ASBOX
33822 } >&5
33823 cat >&5 <<_CSEOF
33824
33825 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33826 generated by GNU Autoconf 2.59. Invocation command line was
33827
33828 CONFIG_FILES = $CONFIG_FILES
33829 CONFIG_HEADERS = $CONFIG_HEADERS
33830 CONFIG_LINKS = $CONFIG_LINKS
33831 CONFIG_COMMANDS = $CONFIG_COMMANDS
33832 $ $0 $@
33833
33834 _CSEOF
33835 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33836 echo >&5
33837 _ACEOF
33838
33839 # Files that config.status was made for.
33840 if test -n "$ac_config_files"; then
33841 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33842 fi
33843
33844 if test -n "$ac_config_headers"; then
33845 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33846 fi
33847
33848 if test -n "$ac_config_links"; then
33849 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33850 fi
33851
33852 if test -n "$ac_config_commands"; then
33853 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33854 fi
33855
33856 cat >>$CONFIG_STATUS <<\_ACEOF
33857
33858 ac_cs_usage="\
33859 \`$as_me' instantiates files from templates according to the
33860 current configuration.
33861
33862 Usage: $0 [OPTIONS] [FILE]...
33863
33864 -h, --help print this help, then exit
33865 -V, --version print version number, then exit
33866 -q, --quiet do not print progress messages
33867 -d, --debug don't remove temporary files
33868 --recheck update $as_me by reconfiguring in the same conditions
33869 --file=FILE[:TEMPLATE]
33870 instantiate the configuration file FILE
33871 --header=FILE[:TEMPLATE]
33872 instantiate the configuration header FILE
33873
33874 Configuration files:
33875 $config_files
33876
33877 Configuration headers:
33878 $config_headers
33879
33880 Configuration commands:
33881 $config_commands
33882
33883 Report bugs to <bug-autoconf@gnu.org>."
33884 _ACEOF
33885
33886 cat >>$CONFIG_STATUS <<_ACEOF
33887 ac_cs_version="\\
33888 GNU Fortran Runtime Library config.status 0.3
33889 configured by $0, generated by GNU Autoconf 2.59,
33890 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33891
33892 Copyright (C) 2003 Free Software Foundation, Inc.
33893 This config.status script is free software; the Free Software Foundation
33894 gives unlimited permission to copy, distribute and modify it."
33895 srcdir=$srcdir
33896 INSTALL="$INSTALL"
33897 _ACEOF
33898
33899 cat >>$CONFIG_STATUS <<\_ACEOF
33900 # If no file are specified by the user, then we need to provide default
33901 # value. By we need to know if files were specified by the user.
33902 ac_need_defaults=:
33903 while test $# != 0
33904 do
33905 case $1 in
33906 --*=*)
33907 ac_option=`expr "x$1" : 'x\([^=]*\)='`
33908 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33909 ac_shift=:
33910 ;;
33911 -*)
33912 ac_option=$1
33913 ac_optarg=$2
33914 ac_shift=shift
33915 ;;
33916 *) # This is not an option, so the user has probably given explicit
33917 # arguments.
33918 ac_option=$1
33919 ac_need_defaults=false;;
33920 esac
33921
33922 case $ac_option in
33923 # Handling of the options.
33924 _ACEOF
33925 cat >>$CONFIG_STATUS <<\_ACEOF
33926 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33927 ac_cs_recheck=: ;;
33928 --version | --vers* | -V )
33929 echo "$ac_cs_version"; exit 0 ;;
33930 --he | --h)
33931 # Conflict between --help and --header
33932 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33933 Try \`$0 --help' for more information." >&5
33934 echo "$as_me: error: ambiguous option: $1
33935 Try \`$0 --help' for more information." >&2;}
33936 { (exit 1); exit 1; }; };;
33937 --help | --hel | -h )
33938 echo "$ac_cs_usage"; exit 0 ;;
33939 --debug | --d* | -d )
33940 debug=: ;;
33941 --file | --fil | --fi | --f )
33942 $ac_shift
33943 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33944 ac_need_defaults=false;;
33945 --header | --heade | --head | --hea )
33946 $ac_shift
33947 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33948 ac_need_defaults=false;;
33949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33950 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33951 ac_cs_silent=: ;;
33952
33953 # This is an error.
33954 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33955 Try \`$0 --help' for more information." >&5
33956 echo "$as_me: error: unrecognized option: $1
33957 Try \`$0 --help' for more information." >&2;}
33958 { (exit 1); exit 1; }; } ;;
33959
33960 *) ac_config_targets="$ac_config_targets $1" ;;
33961
33962 esac
33963 shift
33964 done
33965
33966 ac_configure_extra_args=
33967
33968 if $ac_cs_silent; then
33969 exec 6>/dev/null
33970 ac_configure_extra_args="$ac_configure_extra_args --silent"
33971 fi
33972
33973 _ACEOF
33974 cat >>$CONFIG_STATUS <<_ACEOF
33975 if \$ac_cs_recheck; then
33976 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33977 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33978 fi
33979
33980 _ACEOF
33981
33982 cat >>$CONFIG_STATUS <<_ACEOF
33983 #
33984 # INIT-COMMANDS section.
33985 #
33986
33987
33988 srcdir="$srcdir"
33989 host="$host"
33990 target="$target"
33991 with_multisubdir="$with_multisubdir"
33992 with_multisrctop="$with_multisrctop"
33993 with_target_subdir="$with_target_subdir"
33994 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33995 multi_basedir="$multi_basedir"
33996 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33997 CC="$CC"
33998 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33999
34000
34001 # The HP-UX ksh and POSIX shell print the target directory to stdout
34002 # if CDPATH is set.
34003 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34004
34005 sed_quote_subst='$sed_quote_subst'
34006 double_quote_subst='$double_quote_subst'
34007 delay_variable_subst='$delay_variable_subst'
34008 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34009 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34010 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34011 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34012 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34013 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34014 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34015 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34016 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34017 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34018 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34019 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34020 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34021 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34022 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34023 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34024 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34025 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34026 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34027 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34028 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34029 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34030 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34031 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34032 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34033 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34034 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34035 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34036 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34037 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34038 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34039 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34040 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34041 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34042 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34043 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34044 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34045 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34046 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34047 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34048 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34049 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34050 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34051 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"`'
34052 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34053 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34054 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34055 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34056 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34057 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34058 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34059 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34060 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34061 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34062 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34063 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34064 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34065 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34066 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34067 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34068 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34069 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34070 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34071 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34072 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34073 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34074 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34075 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34076 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34077 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34078 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34079 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34080 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34081 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34082 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34083 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34084 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34085 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34086 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34087 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34088 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34089 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34090 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34091 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34092 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34093 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34094 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34095 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34096 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34097 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34098 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34099 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34100 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34101 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34102 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34103 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34104 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34105 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34106 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34107 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34108 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34109 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34110 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34111 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34112 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34113 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34114 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34115 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34116 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34117 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34118 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34119 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34120 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34121 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34122 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34123 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34124 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34125 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34126 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34127 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34128 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34129 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34130 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34131 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34132 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34133 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34134 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34135 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34136 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34137 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34138 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34139 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34140 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34141 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34142 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34143 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34144 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34145 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34146 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34147 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34148 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34149 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34150 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34151 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34152 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34153 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34154 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34155 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34156 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34157 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34158 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34159 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34160 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34161 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34162 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34163 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34164 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34165 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34166 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34167 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34168 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34169 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34170
34171 LTCC='$LTCC'
34172 LTCFLAGS='$LTCFLAGS'
34173 compiler='$compiler_DEFAULT'
34174
34175 # Quote evaled strings.
34176 for var in SED \
34177 GREP \
34178 EGREP \
34179 FGREP \
34180 LD \
34181 NM \
34182 LN_S \
34183 lt_SP2NL \
34184 lt_NL2SP \
34185 reload_flag \
34186 deplibs_check_method \
34187 file_magic_cmd \
34188 AR \
34189 AR_FLAGS \
34190 STRIP \
34191 RANLIB \
34192 CC \
34193 CFLAGS \
34194 compiler \
34195 lt_cv_sys_global_symbol_pipe \
34196 lt_cv_sys_global_symbol_to_cdecl \
34197 lt_cv_sys_global_symbol_to_c_name_address \
34198 SHELL \
34199 ECHO \
34200 lt_prog_compiler_no_builtin_flag \
34201 lt_prog_compiler_wl \
34202 lt_prog_compiler_pic \
34203 lt_prog_compiler_static \
34204 lt_cv_prog_compiler_c_o \
34205 need_locks \
34206 shrext_cmds \
34207 export_dynamic_flag_spec \
34208 whole_archive_flag_spec \
34209 compiler_needs_object \
34210 with_gnu_ld \
34211 allow_undefined_flag \
34212 no_undefined_flag \
34213 hardcode_libdir_flag_spec \
34214 hardcode_libdir_flag_spec_ld \
34215 hardcode_libdir_separator \
34216 fix_srcfile_path \
34217 exclude_expsyms \
34218 include_expsyms \
34219 file_list_spec \
34220 variables_saved_for_relink \
34221 libname_spec \
34222 library_names_spec \
34223 soname_spec \
34224 finish_eval \
34225 old_striplib \
34226 striplib \
34227 predep_objects \
34228 postdep_objects \
34229 predeps \
34230 postdeps \
34231 compiler_lib_search_path \
34232 LD_FC \
34233 compiler_FC \
34234 lt_prog_compiler_no_builtin_flag_FC \
34235 lt_prog_compiler_wl_FC \
34236 lt_prog_compiler_pic_FC \
34237 lt_prog_compiler_static_FC \
34238 lt_cv_prog_compiler_c_o_FC \
34239 export_dynamic_flag_spec_FC \
34240 whole_archive_flag_spec_FC \
34241 compiler_needs_object_FC \
34242 with_gnu_ld_FC \
34243 allow_undefined_flag_FC \
34244 no_undefined_flag_FC \
34245 hardcode_libdir_flag_spec_FC \
34246 hardcode_libdir_flag_spec_ld_FC \
34247 hardcode_libdir_separator_FC \
34248 fix_srcfile_path_FC \
34249 exclude_expsyms_FC \
34250 include_expsyms_FC \
34251 file_list_spec_FC \
34252 predep_objects_FC \
34253 postdep_objects_FC \
34254 predeps_FC \
34255 postdeps_FC \
34256 compiler_lib_search_path_FC; do
34257 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34258 *[\\\\\\\`\\"\\\$]*)
34259 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34260 ;;
34261 *)
34262 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34263 ;;
34264 esac
34265 done
34266
34267 # Double-quote double-evaled strings.
34268 for var in reload_cmds \
34269 old_postinstall_cmds \
34270 old_postuninstall_cmds \
34271 old_archive_cmds \
34272 extract_expsyms_cmds \
34273 old_archive_from_new_cmds \
34274 old_archive_from_expsyms_cmds \
34275 archive_cmds \
34276 archive_expsym_cmds \
34277 module_cmds \
34278 module_expsym_cmds \
34279 export_symbols_cmds \
34280 prelink_cmds \
34281 postinstall_cmds \
34282 postuninstall_cmds \
34283 finish_cmds \
34284 sys_lib_search_path_spec \
34285 sys_lib_dlsearch_path_spec \
34286 old_archive_cmds_FC \
34287 old_archive_from_new_cmds_FC \
34288 old_archive_from_expsyms_cmds_FC \
34289 archive_cmds_FC \
34290 archive_expsym_cmds_FC \
34291 module_cmds_FC \
34292 module_expsym_cmds_FC \
34293 export_symbols_cmds_FC \
34294 prelink_cmds_FC; do
34295 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34296 *[\\\\\\\`\\"\\\$]*)
34297 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34298 ;;
34299 *)
34300 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34301 ;;
34302 esac
34303 done
34304
34305 # Fix-up fallback echo if it was mangled by the above quoting rules.
34306 case \$lt_ECHO in
34307 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34308 ;;
34309 esac
34310
34311 ac_aux_dir='$ac_aux_dir'
34312 xsi_shell='$xsi_shell'
34313 lt_shell_append='$lt_shell_append'
34314
34315 # See if we are running on zsh, and set the options which allow our
34316 # commands through without removal of \ escapes INIT.
34317 if test -n "\${ZSH_VERSION+set}" ; then
34318 setopt NO_GLOB_SUBST
34319 fi
34320
34321
34322 PACKAGE='$PACKAGE'
34323 VERSION='$VERSION'
34324 TIMESTAMP='$TIMESTAMP'
34325 RM='$RM'
34326 ofile='$ofile'
34327
34328
34329
34330
34331
34332
34333 GCC="$GCC"
34334 CC="$CC"
34335 acx_cv_header_stdint="$acx_cv_header_stdint"
34336 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34337 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34338 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34339 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34340 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34341 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34342 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34343 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34344 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34345 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34346 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34347 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34348 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34349
34350
34351 _ACEOF
34352
34353
34354
34355 cat >>$CONFIG_STATUS <<\_ACEOF
34356 for ac_config_target in $ac_config_targets
34357 do
34358 case "$ac_config_target" in
34359 # Handling of arguments.
34360 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34361 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34362 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34363 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34364 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34365 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34366 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34367 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34368 { (exit 1); exit 1; }; };;
34369 esac
34370 done
34371
34372 # If the user did not use the arguments to specify the items to instantiate,
34373 # then the envvar interface is used. Set only those that are not.
34374 # We use the long form for the default assignment because of an extremely
34375 # bizarre bug on SunOS 4.1.3.
34376 if $ac_need_defaults; then
34377 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34378 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34380 fi
34381
34382 # Have a temporary directory for convenience. Make it in the build tree
34383 # simply because there is no reason to put it here, and in addition,
34384 # creating and moving files from /tmp can sometimes cause problems.
34385 # Create a temporary directory, and hook for its removal unless debugging.
34386 $debug ||
34387 {
34388 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34389 trap '{ (exit 1); exit 1; }' 1 2 13 15
34390 }
34391
34392 # Create a (secure) tmp directory for tmp files.
34393
34394 {
34395 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34396 test -n "$tmp" && test -d "$tmp"
34397 } ||
34398 {
34399 tmp=./confstat$$-$RANDOM
34400 (umask 077 && mkdir $tmp)
34401 } ||
34402 {
34403 echo "$me: cannot create a temporary directory in ." >&2
34404 { (exit 1); exit 1; }
34405 }
34406
34407 _ACEOF
34408
34409 cat >>$CONFIG_STATUS <<_ACEOF
34410
34411 #
34412 # CONFIG_FILES section.
34413 #
34414
34415 # No need to generate the scripts if there are no CONFIG_FILES.
34416 # This happens for instance when ./config.status config.h
34417 if test -n "\$CONFIG_FILES"; then
34418 # Protect against being on the right side of a sed subst in config.status.
34419 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34420 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34421 s,@SHELL@,$SHELL,;t t
34422 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34423 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34424 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34425 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34426 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34427 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34428 s,@exec_prefix@,$exec_prefix,;t t
34429 s,@prefix@,$prefix,;t t
34430 s,@program_transform_name@,$program_transform_name,;t t
34431 s,@bindir@,$bindir,;t t
34432 s,@sbindir@,$sbindir,;t t
34433 s,@libexecdir@,$libexecdir,;t t
34434 s,@datadir@,$datadir,;t t
34435 s,@sysconfdir@,$sysconfdir,;t t
34436 s,@sharedstatedir@,$sharedstatedir,;t t
34437 s,@localstatedir@,$localstatedir,;t t
34438 s,@libdir@,$libdir,;t t
34439 s,@includedir@,$includedir,;t t
34440 s,@oldincludedir@,$oldincludedir,;t t
34441 s,@infodir@,$infodir,;t t
34442 s,@mandir@,$mandir,;t t
34443 s,@build_alias@,$build_alias,;t t
34444 s,@host_alias@,$host_alias,;t t
34445 s,@target_alias@,$target_alias,;t t
34446 s,@DEFS@,$DEFS,;t t
34447 s,@ECHO_C@,$ECHO_C,;t t
34448 s,@ECHO_N@,$ECHO_N,;t t
34449 s,@ECHO_T@,$ECHO_T,;t t
34450 s,@LIBS@,$LIBS,;t t
34451 s,@build@,$build,;t t
34452 s,@build_cpu@,$build_cpu,;t t
34453 s,@build_vendor@,$build_vendor,;t t
34454 s,@build_os@,$build_os,;t t
34455 s,@build_libsubdir@,$build_libsubdir,;t t
34456 s,@build_subdir@,$build_subdir,;t t
34457 s,@host_subdir@,$host_subdir,;t t
34458 s,@target_subdir@,$target_subdir,;t t
34459 s,@onestep_TRUE@,$onestep_TRUE,;t t
34460 s,@onestep_FALSE@,$onestep_FALSE,;t t
34461 s,@onestep@,$onestep,;t t
34462 s,@host@,$host,;t t
34463 s,@host_cpu@,$host_cpu,;t t
34464 s,@host_vendor@,$host_vendor,;t t
34465 s,@host_os@,$host_os,;t t
34466 s,@target@,$target,;t t
34467 s,@target_cpu@,$target_cpu,;t t
34468 s,@target_vendor@,$target_vendor,;t t
34469 s,@target_os@,$target_os,;t t
34470 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34471 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34472 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34473 s,@CYGPATH_W@,$CYGPATH_W,;t t
34474 s,@PACKAGE@,$PACKAGE,;t t
34475 s,@VERSION@,$VERSION,;t t
34476 s,@ACLOCAL@,$ACLOCAL,;t t
34477 s,@AUTOCONF@,$AUTOCONF,;t t
34478 s,@AUTOMAKE@,$AUTOMAKE,;t t
34479 s,@AUTOHEADER@,$AUTOHEADER,;t t
34480 s,@MAKEINFO@,$MAKEINFO,;t t
34481 s,@install_sh@,$install_sh,;t t
34482 s,@STRIP@,$STRIP,;t t
34483 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34484 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34485 s,@mkdir_p@,$mkdir_p,;t t
34486 s,@AWK@,$AWK,;t t
34487 s,@SET_MAKE@,$SET_MAKE,;t t
34488 s,@am__leading_dot@,$am__leading_dot,;t t
34489 s,@AMTAR@,$AMTAR,;t t
34490 s,@am__tar@,$am__tar,;t t
34491 s,@am__untar@,$am__untar,;t t
34492 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34493 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34494 s,@MAINT@,$MAINT,;t t
34495 s,@multi_basedir@,$multi_basedir,;t t
34496 s,@toolexecdir@,$toolexecdir,;t t
34497 s,@toolexeclibdir@,$toolexeclibdir,;t t
34498 s,@CC@,$CC,;t t
34499 s,@ac_ct_CC@,$ac_ct_CC,;t t
34500 s,@EXEEXT@,$EXEEXT,;t t
34501 s,@OBJEXT@,$OBJEXT,;t t
34502 s,@DEPDIR@,$DEPDIR,;t t
34503 s,@am__include@,$am__include,;t t
34504 s,@am__quote@,$am__quote,;t t
34505 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34506 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34507 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34508 s,@CCDEPMODE@,$CCDEPMODE,;t t
34509 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34510 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34511 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34512 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34513 s,@CFLAGS@,$CFLAGS,;t t
34514 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34515 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34516 s,@AS@,$AS,;t t
34517 s,@ac_ct_AS@,$ac_ct_AS,;t t
34518 s,@AR@,$AR,;t t
34519 s,@ac_ct_AR@,$ac_ct_AR,;t t
34520 s,@RANLIB@,$RANLIB,;t t
34521 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34522 s,@LIBTOOL@,$LIBTOOL,;t t
34523 s,@SED@,$SED,;t t
34524 s,@EGREP@,$EGREP,;t t
34525 s,@FGREP@,$FGREP,;t t
34526 s,@GREP@,$GREP,;t t
34527 s,@LD@,$LD,;t t
34528 s,@DUMPBIN@,$DUMPBIN,;t t
34529 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34530 s,@NM@,$NM,;t t
34531 s,@LN_S@,$LN_S,;t t
34532 s,@lt_ECHO@,$lt_ECHO,;t t
34533 s,@CPP@,$CPP,;t t
34534 s,@CPPFLAGS@,$CPPFLAGS,;t t
34535 s,@enable_shared@,$enable_shared,;t t
34536 s,@enable_static@,$enable_static,;t t
34537 s,@FC@,$FC,;t t
34538 s,@FCFLAGS@,$FCFLAGS,;t t
34539 s,@LDFLAGS@,$LDFLAGS,;t t
34540 s,@ac_ct_FC@,$ac_ct_FC,;t t
34541 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34542 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34543 s,@LIBOBJS@,$LIBOBJS,;t t
34544 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34545 CEOF
34546
34547 _ACEOF
34548
34549 cat >>$CONFIG_STATUS <<\_ACEOF
34550 # Split the substitutions into bite-sized pieces for seds with
34551 # small command number limits, like on Digital OSF/1 and HP-UX.
34552 ac_max_sed_lines=48
34553 ac_sed_frag=1 # Number of current file.
34554 ac_beg=1 # First line for current file.
34555 ac_end=$ac_max_sed_lines # Line after last line for current file.
34556 ac_more_lines=:
34557 ac_sed_cmds=
34558 while $ac_more_lines; do
34559 if test $ac_beg -gt 1; then
34560 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34561 else
34562 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34563 fi
34564 if test ! -s $tmp/subs.frag; then
34565 ac_more_lines=false
34566 else
34567 # The purpose of the label and of the branching condition is to
34568 # speed up the sed processing (if there are no `@' at all, there
34569 # is no need to browse any of the substitutions).
34570 # These are the two extra sed commands mentioned above.
34571 (echo ':t
34572 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34573 if test -z "$ac_sed_cmds"; then
34574 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34575 else
34576 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34577 fi
34578 ac_sed_frag=`expr $ac_sed_frag + 1`
34579 ac_beg=$ac_end
34580 ac_end=`expr $ac_end + $ac_max_sed_lines`
34581 fi
34582 done
34583 if test -z "$ac_sed_cmds"; then
34584 ac_sed_cmds=cat
34585 fi
34586 fi # test -n "$CONFIG_FILES"
34587
34588 _ACEOF
34589 cat >>$CONFIG_STATUS <<\_ACEOF
34590 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34591 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34592 case $ac_file in
34593 - | *:- | *:-:* ) # input from stdin
34594 cat >$tmp/stdin
34595 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34596 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34597 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34598 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34599 * ) ac_file_in=$ac_file.in ;;
34600 esac
34601
34602 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34603 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34604 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34605 X"$ac_file" : 'X\(//\)[^/]' \| \
34606 X"$ac_file" : 'X\(//\)$' \| \
34607 X"$ac_file" : 'X\(/\)' \| \
34608 . : '\(.\)' 2>/dev/null ||
34609 echo X"$ac_file" |
34610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34612 /^X\(\/\/\)$/{ s//\1/; q; }
34613 /^X\(\/\).*/{ s//\1/; q; }
34614 s/.*/./; q'`
34615 { if $as_mkdir_p; then
34616 mkdir -p "$ac_dir"
34617 else
34618 as_dir="$ac_dir"
34619 as_dirs=
34620 while test ! -d "$as_dir"; do
34621 as_dirs="$as_dir $as_dirs"
34622 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34624 X"$as_dir" : 'X\(//\)[^/]' \| \
34625 X"$as_dir" : 'X\(//\)$' \| \
34626 X"$as_dir" : 'X\(/\)' \| \
34627 . : '\(.\)' 2>/dev/null ||
34628 echo X"$as_dir" |
34629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34630 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34631 /^X\(\/\/\)$/{ s//\1/; q; }
34632 /^X\(\/\).*/{ s//\1/; q; }
34633 s/.*/./; q'`
34634 done
34635 test ! -n "$as_dirs" || mkdir $as_dirs
34636 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34637 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34638 { (exit 1); exit 1; }; }; }
34639
34640 ac_builddir=.
34641
34642 if test "$ac_dir" != .; then
34643 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34644 # A "../" for each directory in $ac_dir_suffix.
34645 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34646 else
34647 ac_dir_suffix= ac_top_builddir=
34648 fi
34649
34650 case $srcdir in
34651 .) # No --srcdir option. We are building in place.
34652 ac_srcdir=.
34653 if test -z "$ac_top_builddir"; then
34654 ac_top_srcdir=.
34655 else
34656 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34657 fi ;;
34658 [\\/]* | ?:[\\/]* ) # Absolute path.
34659 ac_srcdir=$srcdir$ac_dir_suffix;
34660 ac_top_srcdir=$srcdir ;;
34661 *) # Relative path.
34662 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34663 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34664 esac
34665
34666 # Do not use `cd foo && pwd` to compute absolute paths, because
34667 # the directories may not exist.
34668 case `pwd` in
34669 .) ac_abs_builddir="$ac_dir";;
34670 *)
34671 case "$ac_dir" in
34672 .) ac_abs_builddir=`pwd`;;
34673 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34674 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34675 esac;;
34676 esac
34677 case $ac_abs_builddir in
34678 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34679 *)
34680 case ${ac_top_builddir}. in
34681 .) ac_abs_top_builddir=$ac_abs_builddir;;
34682 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34683 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34684 esac;;
34685 esac
34686 case $ac_abs_builddir in
34687 .) ac_abs_srcdir=$ac_srcdir;;
34688 *)
34689 case $ac_srcdir in
34690 .) ac_abs_srcdir=$ac_abs_builddir;;
34691 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34692 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34693 esac;;
34694 esac
34695 case $ac_abs_builddir in
34696 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34697 *)
34698 case $ac_top_srcdir in
34699 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34700 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34701 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34702 esac;;
34703 esac
34704
34705
34706 case $INSTALL in
34707 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34708 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34709 esac
34710
34711 if test x"$ac_file" != x-; then
34712 { echo "$as_me:$LINENO: creating $ac_file" >&5
34713 echo "$as_me: creating $ac_file" >&6;}
34714 rm -f "$ac_file"
34715 fi
34716 # Let's still pretend it is `configure' which instantiates (i.e., don't
34717 # use $as_me), people would be surprised to read:
34718 # /* config.h. Generated by config.status. */
34719 if test x"$ac_file" = x-; then
34720 configure_input=
34721 else
34722 configure_input="$ac_file. "
34723 fi
34724 configure_input=$configure_input"Generated from `echo $ac_file_in |
34725 sed 's,.*/,,'` by configure."
34726
34727 # First look for the input files in the build tree, otherwise in the
34728 # src tree.
34729 ac_file_inputs=`IFS=:
34730 for f in $ac_file_in; do
34731 case $f in
34732 -) echo $tmp/stdin ;;
34733 [\\/$]*)
34734 # Absolute (can't be DOS-style, as IFS=:)
34735 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34736 echo "$as_me: error: cannot find input file: $f" >&2;}
34737 { (exit 1); exit 1; }; }
34738 echo "$f";;
34739 *) # Relative
34740 if test -f "$f"; then
34741 # Build tree
34742 echo "$f"
34743 elif test -f "$srcdir/$f"; then
34744 # Source tree
34745 echo "$srcdir/$f"
34746 else
34747 # /dev/null tree
34748 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34749 echo "$as_me: error: cannot find input file: $f" >&2;}
34750 { (exit 1); exit 1; }; }
34751 fi;;
34752 esac
34753 done` || { (exit 1); exit 1; }
34754 _ACEOF
34755 cat >>$CONFIG_STATUS <<_ACEOF
34756 sed "$ac_vpsub
34757 $extrasub
34758 _ACEOF
34759 cat >>$CONFIG_STATUS <<\_ACEOF
34760 :t
34761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34762 s,@configure_input@,$configure_input,;t t
34763 s,@srcdir@,$ac_srcdir,;t t
34764 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34765 s,@top_srcdir@,$ac_top_srcdir,;t t
34766 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34767 s,@builddir@,$ac_builddir,;t t
34768 s,@abs_builddir@,$ac_abs_builddir,;t t
34769 s,@top_builddir@,$ac_top_builddir,;t t
34770 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34771 s,@INSTALL@,$ac_INSTALL,;t t
34772 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34773 rm -f $tmp/stdin
34774 if test x"$ac_file" != x-; then
34775 mv $tmp/out $ac_file
34776 else
34777 cat $tmp/out
34778 rm -f $tmp/out
34779 fi
34780
34781 done
34782 _ACEOF
34783 cat >>$CONFIG_STATUS <<\_ACEOF
34784
34785 #
34786 # CONFIG_HEADER section.
34787 #
34788
34789 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34790 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34791 #
34792 # ac_d sets the value in "#define NAME VALUE" lines.
34793 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34794 ac_dB='[ ].*$,\1#\2'
34795 ac_dC=' '
34796 ac_dD=',;t'
34797 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34798 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34799 ac_uB='$,\1#\2define\3'
34800 ac_uC=' '
34801 ac_uD=',;t'
34802
34803 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34805 case $ac_file in
34806 - | *:- | *:-:* ) # input from stdin
34807 cat >$tmp/stdin
34808 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34809 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34810 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34811 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34812 * ) ac_file_in=$ac_file.in ;;
34813 esac
34814
34815 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34816 echo "$as_me: creating $ac_file" >&6;}
34817
34818 # First look for the input files in the build tree, otherwise in the
34819 # src tree.
34820 ac_file_inputs=`IFS=:
34821 for f in $ac_file_in; do
34822 case $f in
34823 -) echo $tmp/stdin ;;
34824 [\\/$]*)
34825 # Absolute (can't be DOS-style, as IFS=:)
34826 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34827 echo "$as_me: error: cannot find input file: $f" >&2;}
34828 { (exit 1); exit 1; }; }
34829 # Do quote $f, to prevent DOS paths from being IFS'd.
34830 echo "$f";;
34831 *) # Relative
34832 if test -f "$f"; then
34833 # Build tree
34834 echo "$f"
34835 elif test -f "$srcdir/$f"; then
34836 # Source tree
34837 echo "$srcdir/$f"
34838 else
34839 # /dev/null tree
34840 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34841 echo "$as_me: error: cannot find input file: $f" >&2;}
34842 { (exit 1); exit 1; }; }
34843 fi;;
34844 esac
34845 done` || { (exit 1); exit 1; }
34846 # Remove the trailing spaces.
34847 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34848
34849 _ACEOF
34850
34851 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34852 # `conftest.undefs', that substitutes the proper values into
34853 # config.h.in to produce config.h. The first handles `#define'
34854 # templates, and the second `#undef' templates.
34855 # And first: Protect against being on the right side of a sed subst in
34856 # config.status. Protect against being in an unquoted here document
34857 # in config.status.
34858 rm -f conftest.defines conftest.undefs
34859 # Using a here document instead of a string reduces the quoting nightmare.
34860 # Putting comments in sed scripts is not portable.
34861 #
34862 # `end' is used to avoid that the second main sed command (meant for
34863 # 0-ary CPP macros) applies to n-ary macro definitions.
34864 # See the Autoconf documentation for `clear'.
34865 cat >confdef2sed.sed <<\_ACEOF
34866 s/[\\&,]/\\&/g
34867 s,[\\$`],\\&,g
34868 t clear
34869 : clear
34870 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34871 t end
34872 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34873 : end
34874 _ACEOF
34875 # If some macros were called several times there might be several times
34876 # the same #defines, which is useless. Nevertheless, we may not want to
34877 # sort them, since we want the *last* AC-DEFINE to be honored.
34878 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34879 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34880 rm -f confdef2sed.sed
34881
34882 # This sed command replaces #undef with comments. This is necessary, for
34883 # example, in the case of _POSIX_SOURCE, which is predefined and required
34884 # on some systems where configure will not decide to define it.
34885 cat >>conftest.undefs <<\_ACEOF
34886 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34887 _ACEOF
34888
34889 # Break up conftest.defines because some shells have a limit on the size
34890 # of here documents, and old seds have small limits too (100 cmds).
34891 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34892 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34893 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34894 echo ' :' >>$CONFIG_STATUS
34895 rm -f conftest.tail
34896 while grep . conftest.defines >/dev/null
34897 do
34898 # Write a limited-size here document to $tmp/defines.sed.
34899 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34900 # Speed up: don't consider the non `#define' lines.
34901 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34902 # Work around the forget-to-reset-the-flag bug.
34903 echo 't clr' >>$CONFIG_STATUS
34904 echo ': clr' >>$CONFIG_STATUS
34905 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34906 echo 'CEOF
34907 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34908 rm -f $tmp/in
34909 mv $tmp/out $tmp/in
34910 ' >>$CONFIG_STATUS
34911 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34912 rm -f conftest.defines
34913 mv conftest.tail conftest.defines
34914 done
34915 rm -f conftest.defines
34916 echo ' fi # grep' >>$CONFIG_STATUS
34917 echo >>$CONFIG_STATUS
34918
34919 # Break up conftest.undefs because some shells have a limit on the size
34920 # of here documents, and old seds have small limits too (100 cmds).
34921 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34922 rm -f conftest.tail
34923 while grep . conftest.undefs >/dev/null
34924 do
34925 # Write a limited-size here document to $tmp/undefs.sed.
34926 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34927 # Speed up: don't consider the non `#undef'
34928 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34929 # Work around the forget-to-reset-the-flag bug.
34930 echo 't clr' >>$CONFIG_STATUS
34931 echo ': clr' >>$CONFIG_STATUS
34932 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34933 echo 'CEOF
34934 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34935 rm -f $tmp/in
34936 mv $tmp/out $tmp/in
34937 ' >>$CONFIG_STATUS
34938 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34939 rm -f conftest.undefs
34940 mv conftest.tail conftest.undefs
34941 done
34942 rm -f conftest.undefs
34943
34944 cat >>$CONFIG_STATUS <<\_ACEOF
34945 # Let's still pretend it is `configure' which instantiates (i.e., don't
34946 # use $as_me), people would be surprised to read:
34947 # /* config.h. Generated by config.status. */
34948 if test x"$ac_file" = x-; then
34949 echo "/* Generated by configure. */" >$tmp/config.h
34950 else
34951 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34952 fi
34953 cat $tmp/in >>$tmp/config.h
34954 rm -f $tmp/in
34955 if test x"$ac_file" != x-; then
34956 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34957 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34958 echo "$as_me: $ac_file is unchanged" >&6;}
34959 else
34960 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34961 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34962 X"$ac_file" : 'X\(//\)[^/]' \| \
34963 X"$ac_file" : 'X\(//\)$' \| \
34964 X"$ac_file" : 'X\(/\)' \| \
34965 . : '\(.\)' 2>/dev/null ||
34966 echo X"$ac_file" |
34967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34968 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34969 /^X\(\/\/\)$/{ s//\1/; q; }
34970 /^X\(\/\).*/{ s//\1/; q; }
34971 s/.*/./; q'`
34972 { if $as_mkdir_p; then
34973 mkdir -p "$ac_dir"
34974 else
34975 as_dir="$ac_dir"
34976 as_dirs=
34977 while test ! -d "$as_dir"; do
34978 as_dirs="$as_dir $as_dirs"
34979 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34981 X"$as_dir" : 'X\(//\)[^/]' \| \
34982 X"$as_dir" : 'X\(//\)$' \| \
34983 X"$as_dir" : 'X\(/\)' \| \
34984 . : '\(.\)' 2>/dev/null ||
34985 echo X"$as_dir" |
34986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34987 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34988 /^X\(\/\/\)$/{ s//\1/; q; }
34989 /^X\(\/\).*/{ s//\1/; q; }
34990 s/.*/./; q'`
34991 done
34992 test ! -n "$as_dirs" || mkdir $as_dirs
34993 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34994 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34995 { (exit 1); exit 1; }; }; }
34996
34997 rm -f $ac_file
34998 mv $tmp/config.h $ac_file
34999 fi
35000 else
35001 cat $tmp/config.h
35002 rm -f $tmp/config.h
35003 fi
35004 # Compute $ac_file's index in $config_headers.
35005 _am_stamp_count=1
35006 for _am_header in $config_headers :; do
35007 case $_am_header in
35008 $ac_file | $ac_file:* )
35009 break ;;
35010 * )
35011 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35012 esac
35013 done
35014 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35015 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35016 X$ac_file : 'X\(//\)[^/]' \| \
35017 X$ac_file : 'X\(//\)$' \| \
35018 X$ac_file : 'X\(/\)' \| \
35019 . : '\(.\)' 2>/dev/null ||
35020 echo X$ac_file |
35021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35023 /^X\(\/\/\)$/{ s//\1/; q; }
35024 /^X\(\/\).*/{ s//\1/; q; }
35025 s/.*/./; q'`/stamp-h$_am_stamp_count
35026 done
35027 _ACEOF
35028 cat >>$CONFIG_STATUS <<\_ACEOF
35029
35030 #
35031 # CONFIG_COMMANDS section.
35032 #
35033 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35034 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35035 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35036 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35037 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35038 X"$ac_dest" : 'X\(//\)[^/]' \| \
35039 X"$ac_dest" : 'X\(//\)$' \| \
35040 X"$ac_dest" : 'X\(/\)' \| \
35041 . : '\(.\)' 2>/dev/null ||
35042 echo X"$ac_dest" |
35043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35044 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35045 /^X\(\/\/\)$/{ s//\1/; q; }
35046 /^X\(\/\).*/{ s//\1/; q; }
35047 s/.*/./; q'`
35048 { if $as_mkdir_p; then
35049 mkdir -p "$ac_dir"
35050 else
35051 as_dir="$ac_dir"
35052 as_dirs=
35053 while test ! -d "$as_dir"; do
35054 as_dirs="$as_dir $as_dirs"
35055 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35057 X"$as_dir" : 'X\(//\)[^/]' \| \
35058 X"$as_dir" : 'X\(//\)$' \| \
35059 X"$as_dir" : 'X\(/\)' \| \
35060 . : '\(.\)' 2>/dev/null ||
35061 echo X"$as_dir" |
35062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35064 /^X\(\/\/\)$/{ s//\1/; q; }
35065 /^X\(\/\).*/{ s//\1/; q; }
35066 s/.*/./; q'`
35067 done
35068 test ! -n "$as_dirs" || mkdir $as_dirs
35069 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35070 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35071 { (exit 1); exit 1; }; }; }
35072
35073 ac_builddir=.
35074
35075 if test "$ac_dir" != .; then
35076 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35077 # A "../" for each directory in $ac_dir_suffix.
35078 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35079 else
35080 ac_dir_suffix= ac_top_builddir=
35081 fi
35082
35083 case $srcdir in
35084 .) # No --srcdir option. We are building in place.
35085 ac_srcdir=.
35086 if test -z "$ac_top_builddir"; then
35087 ac_top_srcdir=.
35088 else
35089 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35090 fi ;;
35091 [\\/]* | ?:[\\/]* ) # Absolute path.
35092 ac_srcdir=$srcdir$ac_dir_suffix;
35093 ac_top_srcdir=$srcdir ;;
35094 *) # Relative path.
35095 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35096 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35097 esac
35098
35099 # Do not use `cd foo && pwd` to compute absolute paths, because
35100 # the directories may not exist.
35101 case `pwd` in
35102 .) ac_abs_builddir="$ac_dir";;
35103 *)
35104 case "$ac_dir" in
35105 .) ac_abs_builddir=`pwd`;;
35106 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35107 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35108 esac;;
35109 esac
35110 case $ac_abs_builddir in
35111 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35112 *)
35113 case ${ac_top_builddir}. in
35114 .) ac_abs_top_builddir=$ac_abs_builddir;;
35115 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35116 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35117 esac;;
35118 esac
35119 case $ac_abs_builddir in
35120 .) ac_abs_srcdir=$ac_srcdir;;
35121 *)
35122 case $ac_srcdir in
35123 .) ac_abs_srcdir=$ac_abs_builddir;;
35124 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35125 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35126 esac;;
35127 esac
35128 case $ac_abs_builddir in
35129 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35130 *)
35131 case $ac_top_srcdir in
35132 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35133 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35134 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35135 esac;;
35136 esac
35137
35138
35139 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35140 echo "$as_me: executing $ac_dest commands" >&6;}
35141 case $ac_dest in
35142 default-1 )
35143 # Only add multilib support code if we just rebuilt the top-level
35144 # Makefile.
35145 case " $CONFIG_FILES " in
35146 *" Makefile "*)
35147 ac_file=Makefile . ${multi_basedir}/config-ml.in
35148 ;;
35149 esac ;;
35150 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35151 # Strip MF so we end up with the name of the file.
35152 mf=`echo "$mf" | sed -e 's/:.*$//'`
35153 # Check whether this is an Automake generated Makefile or not.
35154 # We used to match only the files named `Makefile.in', but
35155 # some people rename them; so instead we look at the file content.
35156 # Grep'ing the first line is not enough: some people post-process
35157 # each Makefile.in and add a new line on top of each file to say so.
35158 # So let's grep whole file.
35159 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35160 dirpart=`(dirname "$mf") 2>/dev/null ||
35161 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35162 X"$mf" : 'X\(//\)[^/]' \| \
35163 X"$mf" : 'X\(//\)$' \| \
35164 X"$mf" : 'X\(/\)' \| \
35165 . : '\(.\)' 2>/dev/null ||
35166 echo X"$mf" |
35167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35169 /^X\(\/\/\)$/{ s//\1/; q; }
35170 /^X\(\/\).*/{ s//\1/; q; }
35171 s/.*/./; q'`
35172 else
35173 continue
35174 fi
35175 # Extract the definition of DEPDIR, am__include, and am__quote
35176 # from the Makefile without running `make'.
35177 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35178 test -z "$DEPDIR" && continue
35179 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35180 test -z "am__include" && continue
35181 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35182 # When using ansi2knr, U may be empty or an underscore; expand it
35183 U=`sed -n 's/^U = //p' < "$mf"`
35184 # Find all dependency output files, they are included files with
35185 # $(DEPDIR) in their names. We invoke sed twice because it is the
35186 # simplest approach to changing $(DEPDIR) to its actual value in the
35187 # expansion.
35188 for file in `sed -n "
35189 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35190 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35191 # Make sure the directory exists.
35192 test -f "$dirpart/$file" && continue
35193 fdir=`(dirname "$file") 2>/dev/null ||
35194 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35195 X"$file" : 'X\(//\)[^/]' \| \
35196 X"$file" : 'X\(//\)$' \| \
35197 X"$file" : 'X\(/\)' \| \
35198 . : '\(.\)' 2>/dev/null ||
35199 echo X"$file" |
35200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35202 /^X\(\/\/\)$/{ s//\1/; q; }
35203 /^X\(\/\).*/{ s//\1/; q; }
35204 s/.*/./; q'`
35205 { if $as_mkdir_p; then
35206 mkdir -p $dirpart/$fdir
35207 else
35208 as_dir=$dirpart/$fdir
35209 as_dirs=
35210 while test ! -d "$as_dir"; do
35211 as_dirs="$as_dir $as_dirs"
35212 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35213 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35214 X"$as_dir" : 'X\(//\)[^/]' \| \
35215 X"$as_dir" : 'X\(//\)$' \| \
35216 X"$as_dir" : 'X\(/\)' \| \
35217 . : '\(.\)' 2>/dev/null ||
35218 echo X"$as_dir" |
35219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35220 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35221 /^X\(\/\/\)$/{ s//\1/; q; }
35222 /^X\(\/\).*/{ s//\1/; q; }
35223 s/.*/./; q'`
35224 done
35225 test ! -n "$as_dirs" || mkdir $as_dirs
35226 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35227 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35228 { (exit 1); exit 1; }; }; }
35229
35230 # echo "creating $dirpart/$file"
35231 echo '# dummy' > "$dirpart/$file"
35232 done
35233 done
35234 ;;
35235 libtool )
35236
35237 # See if we are running on zsh, and set the options which allow our
35238 # commands through without removal of \ escapes.
35239 if test -n "${ZSH_VERSION+set}" ; then
35240 setopt NO_GLOB_SUBST
35241 fi
35242
35243 cfgfile="${ofile}T"
35244 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35245 $RM "$cfgfile"
35246
35247 cat <<_LT_EOF >> "$cfgfile"
35248 #! $SHELL
35249
35250 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35251 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35252 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35253 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35254 #
35255 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35256 # 2006, 2007 Free Software Foundation, Inc.
35257 #
35258 # This file is part of GNU Libtool:
35259 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35260 #
35261 # This program is free software; you can redistribute it and/or modify
35262 # it under the terms of the GNU General Public License as published by
35263 # the Free Software Foundation; either version 2 of the License, or
35264 # (at your option) any later version.
35265 #
35266 # This program is distributed in the hope that it will be useful, but
35267 # WITHOUT ANY WARRANTY; without even the implied warranty of
35268 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35269 # General Public License for more details.
35270 #
35271 # You should have received a copy of the GNU General Public License
35272 # along with this program; if not, a copy can be downloaded from
35273 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35274 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35275 # MA 02110-1301, USA.
35276 #
35277 # As a special exception to the GNU General Public License, if you
35278 # distribute this file as part of a program that contains a
35279 # configuration script generated by Autoconf, you may include it under
35280 # the same distribution terms that you use for the rest of that program.
35281
35282
35283 # The names of the tagged configurations supported by this script.
35284 available_tags="FC "
35285
35286 # ### BEGIN LIBTOOL CONFIG
35287
35288 # Which release of libtool.m4 was used?
35289 macro_version=$macro_version
35290 macro_revision=$macro_revision
35291
35292 # Whether or not to build shared libraries.
35293 build_libtool_libs=$enable_shared
35294
35295 # Whether or not to build static libraries.
35296 build_old_libs=$enable_static
35297
35298 # What type of objects to build.
35299 pic_mode=$pic_mode
35300
35301 # Whether or not to optimize for fast installation.
35302 fast_install=$enable_fast_install
35303
35304 # The host system.
35305 host_alias=$host_alias
35306 host=$host
35307 host_os=$host_os
35308
35309 # The build system.
35310 build_alias=$build_alias
35311 build=$build
35312 build_os=$build_os
35313
35314 # A sed program that does not truncate output.
35315 SED=$lt_SED
35316
35317 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35318 Xsed="\$SED -e 1s/^X//"
35319
35320 # A grep program that handles long lines.
35321 GREP=$lt_GREP
35322
35323 # An ERE matcher.
35324 EGREP=$lt_EGREP
35325
35326 # A literal string matcher.
35327 FGREP=$lt_FGREP
35328
35329 # A BSD- or MS-compatible name lister.
35330 NM=$lt_NM
35331
35332 # Whether we need soft or hard links.
35333 LN_S=$lt_LN_S
35334
35335 # What is the maximum length of a command?
35336 max_cmd_len=$max_cmd_len
35337
35338 # Object file suffix (normally "o").
35339 objext=$ac_objext
35340
35341 # Executable file suffix (normally "").
35342 exeext=$exeext
35343
35344 # whether the shell understands "unset".
35345 lt_unset=$lt_unset
35346
35347 # turn spaces into newlines.
35348 SP2NL=$lt_lt_SP2NL
35349
35350 # turn newlines into spaces.
35351 NL2SP=$lt_lt_NL2SP
35352
35353 # How to create reloadable object files.
35354 reload_flag=$lt_reload_flag
35355 reload_cmds=$lt_reload_cmds
35356
35357 # Method to check whether dependent libraries are shared objects.
35358 deplibs_check_method=$lt_deplibs_check_method
35359
35360 # Command to use when deplibs_check_method == "file_magic".
35361 file_magic_cmd=$lt_file_magic_cmd
35362
35363 # The archiver.
35364 AR=$lt_AR
35365 AR_FLAGS=$lt_AR_FLAGS
35366
35367 # A symbol stripping program.
35368 STRIP=$lt_STRIP
35369
35370 # Commands used to install an old-style archive.
35371 RANLIB=$lt_RANLIB
35372 old_postinstall_cmds=$lt_old_postinstall_cmds
35373 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35374
35375 # A C compiler.
35376 LTCC=$lt_CC
35377
35378 # LTCC compiler flags.
35379 LTCFLAGS=$lt_CFLAGS
35380
35381 # Take the output of nm and produce a listing of raw symbols and C names.
35382 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35383
35384 # Transform the output of nm in a proper C declaration.
35385 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35386
35387 # Transform the output of nm in a C name address pair.
35388 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35389
35390 # The name of the directory that contains temporary libtool files.
35391 objdir=$objdir
35392
35393 # Shell to use when invoking shell scripts.
35394 SHELL=$lt_SHELL
35395
35396 # An echo program that does not interpret backslashes.
35397 ECHO=$lt_ECHO
35398
35399 # Used to examine libraries when file_magic_cmd begins with "file".
35400 MAGIC_CMD=$MAGIC_CMD
35401
35402 # Must we lock files when doing compilation?
35403 need_locks=$lt_need_locks
35404
35405 # Old archive suffix (normally "a").
35406 libext=$libext
35407
35408 # Shared library suffix (normally ".so").
35409 shrext_cmds=$lt_shrext_cmds
35410
35411 # The commands to extract the exported symbol list from a shared archive.
35412 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35413
35414 # Variables whose values should be saved in libtool wrapper scripts and
35415 # restored at link time.
35416 variables_saved_for_relink=$lt_variables_saved_for_relink
35417
35418 # Do we need the "lib" prefix for modules?
35419 need_lib_prefix=$need_lib_prefix
35420
35421 # Do we need a version for libraries?
35422 need_version=$need_version
35423
35424 # Library versioning type.
35425 version_type=$version_type
35426
35427 # Shared library runtime path variable.
35428 runpath_var=$runpath_var
35429
35430 # Shared library path variable.
35431 shlibpath_var=$shlibpath_var
35432
35433 # Is shlibpath searched before the hard-coded library search path?
35434 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35435
35436 # Format of library name prefix.
35437 libname_spec=$lt_libname_spec
35438
35439 # List of archive names. First name is the real one, the rest are links.
35440 # The last name is the one that the linker finds with -lNAME
35441 library_names_spec=$lt_library_names_spec
35442
35443 # The coded name of the library, if different from the real name.
35444 soname_spec=$lt_soname_spec
35445
35446 # Command to use after installation of a shared archive.
35447 postinstall_cmds=$lt_postinstall_cmds
35448
35449 # Command to use after uninstallation of a shared archive.
35450 postuninstall_cmds=$lt_postuninstall_cmds
35451
35452 # Commands used to finish a libtool library installation in a directory.
35453 finish_cmds=$lt_finish_cmds
35454
35455 # As "finish_cmds", except a single script fragment to be evaled but
35456 # not shown.
35457 finish_eval=$lt_finish_eval
35458
35459 # Whether we should hardcode library paths into libraries.
35460 hardcode_into_libs=$hardcode_into_libs
35461
35462 # Compile-time system search path for libraries.
35463 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35464
35465 # Run-time system search path for libraries.
35466 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35467
35468 # Whether dlopen is supported.
35469 dlopen_support=$enable_dlopen
35470
35471 # Whether dlopen of programs is supported.
35472 dlopen_self=$enable_dlopen_self
35473
35474 # Whether dlopen of statically linked programs is supported.
35475 dlopen_self_static=$enable_dlopen_self_static
35476
35477 # Commands to strip libraries.
35478 old_striplib=$lt_old_striplib
35479 striplib=$lt_striplib
35480
35481
35482 # The linker used to build libraries.
35483 LD=$lt_LD
35484
35485 # Commands used to build an old-style archive.
35486 old_archive_cmds=$lt_old_archive_cmds
35487
35488 # A language specific compiler.
35489 CC=$lt_compiler
35490
35491 # Is the compiler the GNU compiler?
35492 with_gcc=$GCC
35493
35494 # Compiler flag to turn off builtin functions.
35495 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35496
35497 # How to pass a linker flag through the compiler.
35498 wl=$lt_lt_prog_compiler_wl
35499
35500 # Additional compiler flags for building library objects.
35501 pic_flag=$lt_lt_prog_compiler_pic
35502
35503 # Compiler flag to prevent dynamic linking.
35504 link_static_flag=$lt_lt_prog_compiler_static
35505
35506 # Does compiler simultaneously support -c and -o options?
35507 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35508
35509 # Whether or not to add -lc for building shared libraries.
35510 build_libtool_need_lc=$archive_cmds_need_lc
35511
35512 # Whether or not to disallow shared libs when runtime libs are static.
35513 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35514
35515 # Compiler flag to allow reflexive dlopens.
35516 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35517
35518 # Compiler flag to generate shared objects directly from archives.
35519 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35520
35521 # Whether the compiler copes with passing no objects directly.
35522 compiler_needs_object=$lt_compiler_needs_object
35523
35524 # Create an old-style archive from a shared archive.
35525 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35526
35527 # Create a temporary old-style archive to link instead of a shared archive.
35528 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35529
35530 # Commands used to build a shared archive.
35531 archive_cmds=$lt_archive_cmds
35532 archive_expsym_cmds=$lt_archive_expsym_cmds
35533
35534 # Commands used to build a loadable module if different from building
35535 # a shared archive.
35536 module_cmds=$lt_module_cmds
35537 module_expsym_cmds=$lt_module_expsym_cmds
35538
35539 # Whether we are building with GNU ld or not.
35540 with_gnu_ld=$lt_with_gnu_ld
35541
35542 # Flag that allows shared libraries with undefined symbols to be built.
35543 allow_undefined_flag=$lt_allow_undefined_flag
35544
35545 # Flag that enforces no undefined symbols.
35546 no_undefined_flag=$lt_no_undefined_flag
35547
35548 # Flag to hardcode \$libdir into a binary during linking.
35549 # This must work even if \$libdir does not exist
35550 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35551
35552 # If ld is used when linking, flag to hardcode \$libdir into a binary
35553 # during linking. This must work even if \$libdir does not exist.
35554 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35555
35556 # Whether we need a single "-rpath" flag with a separated argument.
35557 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35558
35559 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35560 # DIR into the resulting binary.
35561 hardcode_direct=$hardcode_direct
35562
35563 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35564 # DIR into the resulting binary and the resulting library dependency is
35565 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35566 # library is relocated.
35567 hardcode_direct_absolute=$hardcode_direct_absolute
35568
35569 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35570 # into the resulting binary.
35571 hardcode_minus_L=$hardcode_minus_L
35572
35573 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35574 # into the resulting binary.
35575 hardcode_shlibpath_var=$hardcode_shlibpath_var
35576
35577 # Set to "yes" if building a shared library automatically hardcodes DIR
35578 # into the library and all subsequent libraries and executables linked
35579 # against it.
35580 hardcode_automatic=$hardcode_automatic
35581
35582 # Set to yes if linker adds runtime paths of dependent libraries
35583 # to runtime path list.
35584 inherit_rpath=$inherit_rpath
35585
35586 # Whether libtool must link a program against all its dependency libraries.
35587 link_all_deplibs=$link_all_deplibs
35588
35589 # Fix the shell variable \$srcfile for the compiler.
35590 fix_srcfile_path=$lt_fix_srcfile_path
35591
35592 # Set to "yes" if exported symbols are required.
35593 always_export_symbols=$always_export_symbols
35594
35595 # The commands to list exported symbols.
35596 export_symbols_cmds=$lt_export_symbols_cmds
35597
35598 # Symbols that should not be listed in the preloaded symbols.
35599 exclude_expsyms=$lt_exclude_expsyms
35600
35601 # Symbols that must always be exported.
35602 include_expsyms=$lt_include_expsyms
35603
35604 # Commands necessary for linking programs (against libraries) with templates.
35605 prelink_cmds=$lt_prelink_cmds
35606
35607 # Specify filename containing input files.
35608 file_list_spec=$lt_file_list_spec
35609
35610 # How to hardcode a shared library path into an executable.
35611 hardcode_action=$hardcode_action
35612
35613 # Dependencies to place before and after the objects being linked to
35614 # create a shared library.
35615 predep_objects=$lt_predep_objects
35616 postdep_objects=$lt_postdep_objects
35617 predeps=$lt_predeps
35618 postdeps=$lt_postdeps
35619
35620 # The library search path used internally by the compiler when linking
35621 # a shared library.
35622 compiler_lib_search_path=$lt_compiler_lib_search_path
35623
35624 # ### END LIBTOOL CONFIG
35625
35626 _LT_EOF
35627
35628 case $host_os in
35629 aix3*)
35630 cat <<\_LT_EOF >> "$cfgfile"
35631 # AIX sometimes has problems with the GCC collect2 program. For some
35632 # reason, if we set the COLLECT_NAMES environment variable, the problems
35633 # vanish in a puff of smoke.
35634 if test "X${COLLECT_NAMES+set}" != Xset; then
35635 COLLECT_NAMES=
35636 export COLLECT_NAMES
35637 fi
35638 _LT_EOF
35639 ;;
35640 esac
35641
35642
35643 ltmain="$ac_aux_dir/ltmain.sh"
35644
35645
35646 # We use sed instead of cat because bash on DJGPP gets confused if
35647 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35648 # text mode, it properly converts lines to CR/LF. This bash problem
35649 # is reportedly fixed, but why not run on old versions too?
35650 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35651 || (rm -f "$cfgfile"; exit 1)
35652
35653 case $xsi_shell in
35654 yes)
35655 cat << \_LT_EOF >> "$cfgfile"
35656 # func_dirname file append nondir_replacement
35657 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35658 # otherwise set result to NONDIR_REPLACEMENT.
35659 func_dirname ()
35660 {
35661 case ${1} in
35662 */*) func_dirname_result="${1%/*}${2}" ;;
35663 * ) func_dirname_result="${3}" ;;
35664 esac
35665 }
35666
35667 # func_basename file
35668 func_basename ()
35669 {
35670 func_basename_result="${1##*/}"
35671 }
35672
35673 # func_stripname prefix suffix name
35674 # strip PREFIX and SUFFIX off of NAME.
35675 # PREFIX and SUFFIX must not contain globbing or regex special
35676 # characters, hashes, percent signs, but SUFFIX may contain a leading
35677 # dot (in which case that matches only a dot).
35678 func_stripname ()
35679 {
35680 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35681 # positional parameters, so assign one to ordinary parameter first.
35682 func_stripname_result=${3}
35683 func_stripname_result=${func_stripname_result#"${1}"}
35684 func_stripname_result=${func_stripname_result%"${2}"}
35685 }
35686
35687 # func_opt_split
35688 func_opt_split ()
35689 {
35690 func_opt_split_opt=${1%%=*}
35691 func_opt_split_arg=${1#*=}
35692 }
35693
35694 # func_lo2o object
35695 func_lo2o ()
35696 {
35697 case ${1} in
35698 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35699 *) func_lo2o_result=${1} ;;
35700 esac
35701 }
35702 _LT_EOF
35703 ;;
35704 *) # Bourne compatible functions.
35705 cat << \_LT_EOF >> "$cfgfile"
35706 # func_dirname file append nondir_replacement
35707 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35708 # otherwise set result to NONDIR_REPLACEMENT.
35709 func_dirname ()
35710 {
35711 # Extract subdirectory from the argument.
35712 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35713 if test "X$func_dirname_result" = "X${1}"; then
35714 func_dirname_result="${3}"
35715 else
35716 func_dirname_result="$func_dirname_result${2}"
35717 fi
35718 }
35719
35720 # func_basename file
35721 func_basename ()
35722 {
35723 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35724 }
35725
35726 # func_stripname prefix suffix name
35727 # strip PREFIX and SUFFIX off of NAME.
35728 # PREFIX and SUFFIX must not contain globbing or regex special
35729 # characters, hashes, percent signs, but SUFFIX may contain a leading
35730 # dot (in which case that matches only a dot).
35731 # func_strip_suffix prefix name
35732 func_stripname ()
35733 {
35734 case ${2} in
35735 .*) func_stripname_result=`$ECHO "X${3}" \
35736 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35737 *) func_stripname_result=`$ECHO "X${3}" \
35738 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35739 esac
35740 }
35741
35742 # sed scripts:
35743 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35744 my_sed_long_arg='1s/^-[^=]*=//'
35745
35746 # func_opt_split
35747 func_opt_split ()
35748 {
35749 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35750 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35751 }
35752
35753 # func_lo2o object
35754 func_lo2o ()
35755 {
35756 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35757 }
35758 _LT_EOF
35759 esac
35760
35761 case $lt_shell_append in
35762 yes)
35763 cat << \_LT_EOF >> "$cfgfile"
35764
35765 # func_append var value
35766 # Append VALUE to the end of shell variable VAR.
35767 func_append ()
35768 {
35769 eval "$1+=\$2"
35770 }
35771 _LT_EOF
35772 ;;
35773 *)
35774 cat << \_LT_EOF >> "$cfgfile"
35775
35776 # func_append var value
35777 # Append VALUE to the end of shell variable VAR.
35778 func_append ()
35779 {
35780 eval "$1=\$$1\$2"
35781 }
35782 _LT_EOF
35783 ;;
35784 esac
35785
35786
35787 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35788 || (rm -f "$cfgfile"; exit 1)
35789
35790 mv -f "$cfgfile" "$ofile" ||
35791 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35792 chmod +x "$ofile"
35793
35794
35795 cat <<_LT_EOF >> "$ofile"
35796
35797 # ### BEGIN LIBTOOL TAG CONFIG: FC
35798
35799 # The linker used to build libraries.
35800 LD=$lt_LD_FC
35801
35802 # Commands used to build an old-style archive.
35803 old_archive_cmds=$lt_old_archive_cmds_FC
35804
35805 # A language specific compiler.
35806 CC=$lt_compiler_FC
35807
35808 # Is the compiler the GNU compiler?
35809 with_gcc=$GCC_FC
35810
35811 # Compiler flag to turn off builtin functions.
35812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35813
35814 # How to pass a linker flag through the compiler.
35815 wl=$lt_lt_prog_compiler_wl_FC
35816
35817 # Additional compiler flags for building library objects.
35818 pic_flag=$lt_lt_prog_compiler_pic_FC
35819
35820 # Compiler flag to prevent dynamic linking.
35821 link_static_flag=$lt_lt_prog_compiler_static_FC
35822
35823 # Does compiler simultaneously support -c and -o options?
35824 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35825
35826 # Whether or not to add -lc for building shared libraries.
35827 build_libtool_need_lc=$archive_cmds_need_lc_FC
35828
35829 # Whether or not to disallow shared libs when runtime libs are static.
35830 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35831
35832 # Compiler flag to allow reflexive dlopens.
35833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35834
35835 # Compiler flag to generate shared objects directly from archives.
35836 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35837
35838 # Whether the compiler copes with passing no objects directly.
35839 compiler_needs_object=$lt_compiler_needs_object_FC
35840
35841 # Create an old-style archive from a shared archive.
35842 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35843
35844 # Create a temporary old-style archive to link instead of a shared archive.
35845 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35846
35847 # Commands used to build a shared archive.
35848 archive_cmds=$lt_archive_cmds_FC
35849 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35850
35851 # Commands used to build a loadable module if different from building
35852 # a shared archive.
35853 module_cmds=$lt_module_cmds_FC
35854 module_expsym_cmds=$lt_module_expsym_cmds_FC
35855
35856 # Whether we are building with GNU ld or not.
35857 with_gnu_ld=$lt_with_gnu_ld_FC
35858
35859 # Flag that allows shared libraries with undefined symbols to be built.
35860 allow_undefined_flag=$lt_allow_undefined_flag_FC
35861
35862 # Flag that enforces no undefined symbols.
35863 no_undefined_flag=$lt_no_undefined_flag_FC
35864
35865 # Flag to hardcode \$libdir into a binary during linking.
35866 # This must work even if \$libdir does not exist
35867 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35868
35869 # If ld is used when linking, flag to hardcode \$libdir into a binary
35870 # during linking. This must work even if \$libdir does not exist.
35871 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35872
35873 # Whether we need a single "-rpath" flag with a separated argument.
35874 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35875
35876 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35877 # DIR into the resulting binary.
35878 hardcode_direct=$hardcode_direct_FC
35879
35880 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35881 # DIR into the resulting binary and the resulting library dependency is
35882 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35883 # library is relocated.
35884 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35885
35886 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35887 # into the resulting binary.
35888 hardcode_minus_L=$hardcode_minus_L_FC
35889
35890 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35891 # into the resulting binary.
35892 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35893
35894 # Set to "yes" if building a shared library automatically hardcodes DIR
35895 # into the library and all subsequent libraries and executables linked
35896 # against it.
35897 hardcode_automatic=$hardcode_automatic_FC
35898
35899 # Set to yes if linker adds runtime paths of dependent libraries
35900 # to runtime path list.
35901 inherit_rpath=$inherit_rpath_FC
35902
35903 # Whether libtool must link a program against all its dependency libraries.
35904 link_all_deplibs=$link_all_deplibs_FC
35905
35906 # Fix the shell variable \$srcfile for the compiler.
35907 fix_srcfile_path=$lt_fix_srcfile_path_FC
35908
35909 # Set to "yes" if exported symbols are required.
35910 always_export_symbols=$always_export_symbols_FC
35911
35912 # The commands to list exported symbols.
35913 export_symbols_cmds=$lt_export_symbols_cmds_FC
35914
35915 # Symbols that should not be listed in the preloaded symbols.
35916 exclude_expsyms=$lt_exclude_expsyms_FC
35917
35918 # Symbols that must always be exported.
35919 include_expsyms=$lt_include_expsyms_FC
35920
35921 # Commands necessary for linking programs (against libraries) with templates.
35922 prelink_cmds=$lt_prelink_cmds_FC
35923
35924 # Specify filename containing input files.
35925 file_list_spec=$lt_file_list_spec_FC
35926
35927 # How to hardcode a shared library path into an executable.
35928 hardcode_action=$hardcode_action_FC
35929
35930 # Dependencies to place before and after the objects being linked to
35931 # create a shared library.
35932 predep_objects=$lt_predep_objects_FC
35933 postdep_objects=$lt_postdep_objects_FC
35934 predeps=$lt_predeps_FC
35935 postdeps=$lt_postdeps_FC
35936
35937 # The library search path used internally by the compiler when linking
35938 # a shared library.
35939 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35940
35941 # ### END LIBTOOL TAG CONFIG: FC
35942 _LT_EOF
35943
35944 ;;
35945 gstdint.h )
35946 if test "$GCC" = yes; then
35947 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35948 else
35949 echo "/* generated for $CC */" > tmp-stdint.h
35950 fi
35951
35952 sed 's/^ *//' >> tmp-stdint.h <<EOF
35953
35954 #ifndef GCC_GENERATED_STDINT_H
35955 #define GCC_GENERATED_STDINT_H 1
35956
35957 #include <sys/types.h>
35958 EOF
35959
35960 if test "$acx_cv_header_stdint" != stdint.h; then
35961 echo "#include <stddef.h>" >> tmp-stdint.h
35962 fi
35963 if test "$acx_cv_header_stdint" != stddef.h; then
35964 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35965 fi
35966
35967 sed 's/^ *//' >> tmp-stdint.h <<EOF
35968 /* glibc uses these symbols as guards to prevent redefinitions. */
35969 #ifdef __int8_t_defined
35970 #define _INT8_T
35971 #define _INT16_T
35972 #define _INT32_T
35973 #endif
35974 #ifdef __uint32_t_defined
35975 #define _UINT32_T
35976 #endif
35977
35978 EOF
35979
35980 # ----------------- done header, emit basic int types -------------
35981 if test "$acx_cv_header_stdint" = stddef.h; then
35982 sed 's/^ *//' >> tmp-stdint.h <<EOF
35983
35984 #ifndef _UINT8_T
35985 #define _UINT8_T
35986 #ifndef __uint8_t_defined
35987 #define __uint8_t_defined
35988 typedef unsigned $acx_cv_type_int8_t uint8_t;
35989 #endif
35990 #endif
35991
35992 #ifndef _UINT16_T
35993 #define _UINT16_T
35994 #ifndef __uint16_t_defined
35995 #define __uint16_t_defined
35996 typedef unsigned $acx_cv_type_int16_t uint16_t;
35997 #endif
35998 #endif
35999
36000 #ifndef _UINT32_T
36001 #define _UINT32_T
36002 #ifndef __uint32_t_defined
36003 #define __uint32_t_defined
36004 typedef unsigned $acx_cv_type_int32_t uint32_t;
36005 #endif
36006 #endif
36007
36008 #ifndef _INT8_T
36009 #define _INT8_T
36010 #ifndef __int8_t_defined
36011 #define __int8_t_defined
36012 typedef $acx_cv_type_int8_t int8_t;
36013 #endif
36014 #endif
36015
36016 #ifndef _INT16_T
36017 #define _INT16_T
36018 #ifndef __int16_t_defined
36019 #define __int16_t_defined
36020 typedef $acx_cv_type_int16_t int16_t;
36021 #endif
36022 #endif
36023
36024 #ifndef _INT32_T
36025 #define _INT32_T
36026 #ifndef __int32_t_defined
36027 #define __int32_t_defined
36028 typedef $acx_cv_type_int32_t int32_t;
36029 #endif
36030 #endif
36031 EOF
36032 elif test "$ac_cv_type_u_int32_t" = yes; then
36033 sed 's/^ *//' >> tmp-stdint.h <<EOF
36034
36035 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36036 #ifndef _INT8_T
36037 #define _INT8_T
36038 #endif
36039 #ifndef _INT16_T
36040 #define _INT16_T
36041 #endif
36042 #ifndef _INT32_T
36043 #define _INT32_T
36044 #endif
36045
36046 #ifndef _UINT8_T
36047 #define _UINT8_T
36048 #ifndef __uint8_t_defined
36049 #define __uint8_t_defined
36050 typedef u_int8_t uint8_t;
36051 #endif
36052 #endif
36053
36054 #ifndef _UINT16_T
36055 #define _UINT16_T
36056 #ifndef __uint16_t_defined
36057 #define __uint16_t_defined
36058 typedef u_int16_t uint16_t;
36059 #endif
36060 #endif
36061
36062 #ifndef _UINT32_T
36063 #define _UINT32_T
36064 #ifndef __uint32_t_defined
36065 #define __uint32_t_defined
36066 typedef u_int32_t uint32_t;
36067 #endif
36068 #endif
36069 EOF
36070 else
36071 sed 's/^ *//' >> tmp-stdint.h <<EOF
36072
36073 /* Some systems have guard macros to prevent redefinitions, define them. */
36074 #ifndef _INT8_T
36075 #define _INT8_T
36076 #endif
36077 #ifndef _INT16_T
36078 #define _INT16_T
36079 #endif
36080 #ifndef _INT32_T
36081 #define _INT32_T
36082 #endif
36083 #ifndef _UINT8_T
36084 #define _UINT8_T
36085 #endif
36086 #ifndef _UINT16_T
36087 #define _UINT16_T
36088 #endif
36089 #ifndef _UINT32_T
36090 #define _UINT32_T
36091 #endif
36092 EOF
36093 fi
36094
36095 # ------------- done basic int types, emit int64_t types ------------
36096 if test "$ac_cv_type_uint64_t" = yes; then
36097 sed 's/^ *//' >> tmp-stdint.h <<EOF
36098
36099 /* system headers have good uint64_t and int64_t */
36100 #ifndef _INT64_T
36101 #define _INT64_T
36102 #endif
36103 #ifndef _UINT64_T
36104 #define _UINT64_T
36105 #endif
36106 EOF
36107 elif test "$ac_cv_type_u_int64_t" = yes; then
36108 sed 's/^ *//' >> tmp-stdint.h <<EOF
36109
36110 /* system headers have an u_int64_t (and int64_t) */
36111 #ifndef _INT64_T
36112 #define _INT64_T
36113 #endif
36114 #ifndef _UINT64_T
36115 #define _UINT64_T
36116 #ifndef __uint64_t_defined
36117 #define __uint64_t_defined
36118 typedef u_int64_t uint64_t;
36119 #endif
36120 #endif
36121 EOF
36122 elif test -n "$acx_cv_type_int64_t"; then
36123 sed 's/^ *//' >> tmp-stdint.h <<EOF
36124
36125 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36126 #ifndef _INT64_T
36127 #define _INT64_T
36128 typedef $acx_cv_type_int64_t int64_t;
36129 #endif
36130 #ifndef _UINT64_T
36131 #define _UINT64_T
36132 #ifndef __uint64_t_defined
36133 #define __uint64_t_defined
36134 typedef unsigned $acx_cv_type_int64_t uint64_t;
36135 #endif
36136 #endif
36137 EOF
36138 else
36139 sed 's/^ *//' >> tmp-stdint.h <<EOF
36140
36141 /* some common heuristics for int64_t, using compiler-specific tests */
36142 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36143 #ifndef _INT64_T
36144 #define _INT64_T
36145 #ifndef __int64_t_defined
36146 typedef long long int64_t;
36147 #endif
36148 #endif
36149 #ifndef _UINT64_T
36150 #define _UINT64_T
36151 typedef unsigned long long uint64_t;
36152 #endif
36153
36154 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36155 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36156 does not implement __extension__. But that compiler doesn't define
36157 __GNUC_MINOR__. */
36158 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36159 # define __extension__
36160 # endif
36161
36162 # ifndef _INT64_T
36163 # define _INT64_T
36164 __extension__ typedef long long int64_t;
36165 # endif
36166 # ifndef _UINT64_T
36167 # define _UINT64_T
36168 __extension__ typedef unsigned long long uint64_t;
36169 # endif
36170
36171 #elif !defined __STRICT_ANSI__
36172 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36173
36174 # ifndef _INT64_T
36175 # define _INT64_T
36176 typedef __int64 int64_t;
36177 # endif
36178 # ifndef _UINT64_T
36179 # define _UINT64_T
36180 typedef unsigned __int64 uint64_t;
36181 # endif
36182 # endif /* compiler */
36183
36184 #endif /* ANSI version */
36185 EOF
36186 fi
36187
36188 # ------------- done int64_t types, emit intptr types ------------
36189 if test "$ac_cv_type_uintptr_t" != yes; then
36190 sed 's/^ *//' >> tmp-stdint.h <<EOF
36191
36192 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36193 #ifndef __uintptr_t_defined
36194 typedef u$acx_cv_type_intptr_t uintptr_t;
36195 #endif
36196 #ifndef __intptr_t_defined
36197 typedef $acx_cv_type_intptr_t intptr_t;
36198 #endif
36199 EOF
36200 fi
36201
36202 # ------------- done intptr types, emit int_least types ------------
36203 if test "$ac_cv_type_int_least32_t" != yes; then
36204 sed 's/^ *//' >> tmp-stdint.h <<EOF
36205
36206 /* Define int_least types */
36207 typedef int8_t int_least8_t;
36208 typedef int16_t int_least16_t;
36209 typedef int32_t int_least32_t;
36210 #ifdef _INT64_T
36211 typedef int64_t int_least64_t;
36212 #endif
36213
36214 typedef uint8_t uint_least8_t;
36215 typedef uint16_t uint_least16_t;
36216 typedef uint32_t uint_least32_t;
36217 #ifdef _UINT64_T
36218 typedef uint64_t uint_least64_t;
36219 #endif
36220 EOF
36221 fi
36222
36223 # ------------- done intptr types, emit int_fast types ------------
36224 if test "$ac_cv_type_int_fast32_t" != yes; then
36225 sed 's/^ *//' >> tmp-stdint.h <<EOF
36226
36227 /* Define int_fast types. short is often slow */
36228 typedef int8_t int_fast8_t;
36229 typedef int int_fast16_t;
36230 typedef int32_t int_fast32_t;
36231 #ifdef _INT64_T
36232 typedef int64_t int_fast64_t;
36233 #endif
36234
36235 typedef uint8_t uint_fast8_t;
36236 typedef unsigned int uint_fast16_t;
36237 typedef uint32_t uint_fast32_t;
36238 #ifdef _UINT64_T
36239 typedef uint64_t uint_fast64_t;
36240 #endif
36241 EOF
36242 fi
36243
36244 if test "$ac_cv_type_uintmax_t" != yes; then
36245 sed 's/^ *//' >> tmp-stdint.h <<EOF
36246
36247 /* Define intmax based on what we found */
36248 #ifdef _INT64_T
36249 typedef int64_t intmax_t;
36250 #else
36251 typedef long intmax_t;
36252 #endif
36253 #ifdef _UINT64_T
36254 typedef uint64_t uintmax_t;
36255 #else
36256 typedef unsigned long uintmax_t;
36257 #endif
36258 EOF
36259 fi
36260
36261 sed 's/^ *//' >> tmp-stdint.h <<EOF
36262
36263 #endif /* GCC_GENERATED_STDINT_H */
36264 EOF
36265
36266 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36267 rm -f tmp-stdint.h
36268 else
36269 mv -f tmp-stdint.h gstdint.h
36270 fi
36271
36272 ;;
36273 esac
36274 done
36275 _ACEOF
36276
36277 cat >>$CONFIG_STATUS <<\_ACEOF
36278
36279 { (exit 0); exit 0; }
36280 _ACEOF
36281 chmod +x $CONFIG_STATUS
36282 ac_clean_files=$ac_clean_files_save
36283
36284
36285 # configure is writing to config.log, and then calls config.status.
36286 # config.status does its own redirection, appending to config.log.
36287 # Unfortunately, on DOS this fails, as config.log is still kept open
36288 # by configure, so config.status won't be able to write to it; its
36289 # output is simply discarded. So we exec the FD to /dev/null,
36290 # effectively closing config.log, so it can be properly (re)opened and
36291 # appended to by config.status. When coming back to configure, we
36292 # need to make the FD available again.
36293 if test "$no_create" != yes; then
36294 ac_cs_success=:
36295 ac_config_status_args=
36296 test "$silent" = yes &&
36297 ac_config_status_args="$ac_config_status_args --quiet"
36298 exec 5>/dev/null
36299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36300 exec 5>>config.log
36301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36302 # would make configure fail if this is the last instruction.
36303 $ac_cs_success || { (exit 1); exit 1; }
36304 fi
36305