2010-03-02 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / libgfortran / configure
blob46e08630fc64ed68876f9acab282464e306f3447
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE
602 LTLIBOBJS
603 LIBOBJS
604 IEEE_FLAGS
605 FPU_HOST_HEADER
606 extra_ldflags_libgfortran
607 ac_ct_FC
608 FCFLAGS
610 enable_static
611 enable_shared
613 OTOOL64
614 OTOOL
615 LIPO
616 NMEDIT
617 DSYMUTIL
618 OBJDUMP
619 LN_S
621 ac_ct_DUMPBIN
622 DUMPBIN
624 FGREP
625 EGREP
626 GREP
628 LIBTOOL
629 RANLIB
632 SECTION_FLAGS
633 LIBGFOR_USE_SYMVER_FALSE
634 LIBGFOR_USE_SYMVER_TRUE
635 AM_CFLAGS
636 AM_FCFLAGS
637 am__fastdepCC_FALSE
638 am__fastdepCC_TRUE
639 CCDEPMODE
640 AMDEPBACKSLASH
641 AMDEP_FALSE
642 AMDEP_TRUE
643 am__quote
644 am__include
645 DEPDIR
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
653 toolexeclibdir
654 toolexecdir
655 multi_basedir
656 MAINT
657 MAINTAINER_MODE_FALSE
658 MAINTAINER_MODE_TRUE
659 am__untar
660 am__tar
661 AMTAR
662 am__leading_dot
663 SET_MAKE
665 mkdir_p
666 MKDIR_P
667 INSTALL_STRIP_PROGRAM
668 STRIP
669 install_sh
670 MAKEINFO
671 AUTOHEADER
672 AUTOMAKE
673 AUTOCONF
674 ACLOCAL
675 VERSION
676 PACKAGE
677 CYGPATH_W
678 am__isrc
679 INSTALL_DATA
680 INSTALL_SCRIPT
681 INSTALL_PROGRAM
682 target_os
683 target_vendor
684 target_cpu
685 target
686 host_os
687 host_vendor
688 host_cpu
689 host
690 onestep
691 onestep_FALSE
692 onestep_TRUE
693 target_subdir
694 host_subdir
695 build_subdir
696 build_libsubdir
697 build_os
698 build_vendor
699 build_cpu
700 build
701 target_alias
702 host_alias
703 build_alias
704 LIBS
705 ECHO_T
706 ECHO_N
707 ECHO_C
708 DEFS
709 mandir
710 localedir
711 libdir
712 psdir
713 pdfdir
714 dvidir
715 htmldir
716 infodir
717 docdir
718 oldincludedir
719 includedir
720 localstatedir
721 sharedstatedir
722 sysconfdir
723 datadir
724 datarootdir
725 libexecdir
726 sbindir
727 bindir
728 program_transform_name
729 prefix
730 exec_prefix
731 PACKAGE_URL
732 PACKAGE_BUGREPORT
733 PACKAGE_STRING
734 PACKAGE_VERSION
735 PACKAGE_TARNAME
736 PACKAGE_NAME
737 PATH_SEPARATOR
738 SHELL'
739 ac_subst_files=''
740 ac_user_opts='
741 enable_option_checking
742 with_build_libsubdir
743 enable_version_specific_runtime_libs
744 enable_intermodule
745 enable_maintainer_mode
746 enable_multilib
747 enable_dependency_tracking
748 enable_shared
749 enable_static
750 with_pic
751 enable_fast_install
752 with_gnu_ld
753 enable_libtool_lock
754 enable_largefile
756 ac_precious_vars='build_alias
757 host_alias
758 target_alias
760 CPPFLAGS
762 FCFLAGS
763 LDFLAGS
764 LIBS'
767 # Initialize some variables set by options.
768 ac_init_help=
769 ac_init_version=false
770 ac_unrecognized_opts=
771 ac_unrecognized_sep=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
774 cache_file=/dev/null
775 exec_prefix=NONE
776 no_create=
777 no_recursion=
778 prefix=NONE
779 program_prefix=NONE
780 program_suffix=NONE
781 program_transform_name=s,x,x,
782 silent=
783 site=
784 srcdir=
785 verbose=
786 x_includes=NONE
787 x_libraries=NONE
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir='${exec_prefix}/bin'
796 sbindir='${exec_prefix}/sbin'
797 libexecdir='${exec_prefix}/libexec'
798 datarootdir='${prefix}/share'
799 datadir='${datarootdir}'
800 sysconfdir='${prefix}/etc'
801 sharedstatedir='${prefix}/com'
802 localstatedir='${prefix}/var'
803 includedir='${prefix}/include'
804 oldincludedir='/usr/include'
805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir='${datarootdir}/info'
807 htmldir='${docdir}'
808 dvidir='${docdir}'
809 pdfdir='${docdir}'
810 psdir='${docdir}'
811 libdir='${exec_prefix}/lib'
812 localedir='${datarootdir}/locale'
813 mandir='${datarootdir}/man'
815 ac_prev=
816 ac_dashdash=
817 for ac_option
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\$ac_option
822 ac_prev=
823 continue
826 case $ac_option in
827 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 *) ac_optarg=yes ;;
829 esac
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
835 ac_dashdash=yes ;;
837 -bindir | --bindir | --bindi | --bind | --bin | --bi)
838 ac_prev=bindir ;;
839 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
840 bindir=$ac_optarg ;;
842 -build | --build | --buil | --bui | --bu)
843 ac_prev=build_alias ;;
844 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
845 build_alias=$ac_optarg ;;
847 -cache-file | --cache-file | --cache-fil | --cache-fi \
848 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
849 ac_prev=cache_file ;;
850 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
851 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
852 cache_file=$ac_optarg ;;
854 --config-cache | -C)
855 cache_file=config.cache ;;
857 -datadir | --datadir | --datadi | --datad)
858 ac_prev=datadir ;;
859 -datadir=* | --datadir=* | --datadi=* | --datad=*)
860 datadir=$ac_optarg ;;
862 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
863 | --dataroo | --dataro | --datar)
864 ac_prev=datarootdir ;;
865 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
866 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
867 datarootdir=$ac_optarg ;;
869 -disable-* | --disable-*)
870 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873 as_fn_error "invalid feature name: $ac_useropt"
874 ac_useropt_orig=$ac_useropt
875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
878 "enable_$ac_useropt"
879 "*) ;;
880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep=', ';;
882 esac
883 eval enable_$ac_useropt=no ;;
885 -docdir | --docdir | --docdi | --doc | --do)
886 ac_prev=docdir ;;
887 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
888 docdir=$ac_optarg ;;
890 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891 ac_prev=dvidir ;;
892 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
893 dvidir=$ac_optarg ;;
895 -enable-* | --enable-*)
896 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 as_fn_error "invalid feature name: $ac_useropt"
900 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
904 "enable_$ac_useropt"
905 "*) ;;
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
908 esac
909 eval enable_$ac_useropt=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
922 with_gas=yes ;;
924 -help | --help | --hel | --he | -h)
925 ac_init_help=long ;;
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 ac_prev=htmldir ;;
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 | --ht=*)
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 ac_prev=infodir ;;
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
955 ac_prev=libdir ;;
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 libdir=$ac_optarg ;;
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
967 ac_prev=localedir ;;
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 ac_prev=mandir ;;
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 mandir=$ac_optarg ;;
983 -nfp | --nfp | --nf)
984 # Obsolete; use --without-fp.
985 with_fp=no ;;
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
989 no_create=yes ;;
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 no_recursion=yes ;;
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 ac_prev=prefix ;;
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 ac_prev=pdfdir ;;
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1046 ac_prev=psdir ;;
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 psdir=$ac_optarg ;;
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1052 silent=yes ;;
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 ac_prev=sbindir ;;
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 | --sbi=* | --sb=*)
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1063 | --sha | --sh)
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 | --sha=* | --sh=*)
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1072 ac_prev=site ;;
1073 -site=* | --site=* | --sit=*)
1074 site=$ac_optarg ;;
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 ac_prev=srcdir ;;
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 verbose=yes ;;
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1099 -with-* | --with-*)
1100 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103 as_fn_error "invalid package name: $ac_useropt"
1104 ac_useropt_orig=$ac_useropt
1105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1108 "with_$ac_useropt"
1109 "*) ;;
1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep=', ';;
1112 esac
1113 eval with_$ac_useropt=\$ac_optarg ;;
1115 -without-* | --without-*)
1116 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error "invalid package name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1124 "with_$ac_useropt"
1125 "*) ;;
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1128 esac
1129 eval with_$ac_useropt=no ;;
1131 --x)
1132 # Obsolete; use --with-x.
1133 with_x=yes ;;
1135 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1136 | --x-incl | --x-inc | --x-in | --x-i)
1137 ac_prev=x_includes ;;
1138 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1139 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1140 x_includes=$ac_optarg ;;
1142 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1143 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1144 ac_prev=x_libraries ;;
1145 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1146 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1147 x_libraries=$ac_optarg ;;
1149 -*) as_fn_error "unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information."
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' | [0-9]* | *[!_$as_cr_alnum]* )
1158 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1159 esac
1160 eval $ac_envvar=\$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 esac
1172 done
1174 if test -n "$ac_prev"; then
1175 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error "missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1181 no) ;;
1182 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 esac
1187 # Check all directory arguments for consistency.
1188 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val=\$$ac_var
1194 # Remove trailing slashes.
1195 case $ac_val in
1196 */ )
1197 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\$ac_val;;
1199 esac
1200 # Be sure to have absolute directory names.
1201 case $ac_val in
1202 [\\/$]* | ?:[\\/]* ) continue;;
1203 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204 esac
1205 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1206 done
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1211 build=$build_alias
1212 host=$host_alias
1213 target=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x; then
1217 if test "x$build_alias" = x; then
1218 cross_compiling=maybe
1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used." >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1222 cross_compiling=yes
1226 ac_tool_prefix=
1227 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229 test "$silent" = yes && exec 6>/dev/null
1232 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di=`ls -di .` &&
1234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error "working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error "pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 s//\1/
1254 /^X\(\/\/\)[^/].*/{
1255 s//\1/
1258 /^X\(\/\/\)$/{
1259 s//\1/
1262 /^X\(\/\).*/{
1263 s//\1/
1266 s/.*/./; q'`
1267 srcdir=$ac_confdir
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 srcdir=..
1271 else
1272 ac_srcdir_defaulted=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 ac_abs_confdir=`(
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1281 pwd)`
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284 srcdir=.
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1289 case $srcdir in
1290 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 esac
1292 for ac_var in $ac_precious_vars; do
1293 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_${ac_var}_value=\$${ac_var}
1295 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297 done
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1305 cat <<_ACEOF
1306 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1315 Configuration:
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1330 [PREFIX]
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1359 _ACEOF
1361 cat <<\_ACEOF
1363 Program names:
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1368 System types:
1369 --build=BUILD configure for building on BUILD [guessed]
1370 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1371 --target=TARGET configure for building compilers for TARGET [HOST]
1372 _ACEOF
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1378 esac
1379 cat <<\_ACEOF
1381 Optional Features:
1382 --disable-option-checking ignore unrecognized --enable/--with options
1383 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1384 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1385 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1386 --enable-intermodule build the library in one step
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing) to the casual installer
1389 --enable-multilib build many library versions (default)
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-shared[=PKGS] build shared libraries [default=yes]
1393 --enable-static[=PKGS] build static libraries [default=yes]
1394 --enable-fast-install[=PKGS]
1395 optimize for fast installation [default=yes]
1396 --disable-libtool-lock avoid locking (might break parallel builds)
1397 --disable-largefile omit support for large files
1399 Optional Packages:
1400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1402 --with-build-libsubdir=DIR Directory where to find libraries for build system
1403 --with-pic try to use only PIC/non-PIC objects [default=use
1404 both]
1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1407 Some influential environment variables:
1408 CC C compiler command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411 nonstandard directory <lib dir>
1412 LIBS libraries to pass to the linker, e.g. -l<library>
1413 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1414 you have headers in a nonstandard directory <include dir>
1415 CPP C preprocessor
1416 FC Fortran compiler command
1417 FCFLAGS Fortran compiler flags
1419 Use these variables to override the choices made by `configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1422 Report bugs to the package provider.
1423 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1424 General help using GNU software: <http://www.gnu.org/gethelp/>.
1425 _ACEOF
1426 ac_status=$?
1429 if test "$ac_init_help" = "recursive"; then
1430 # If there are subdirs, report their specific --help.
1431 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432 test -d "$ac_dir" ||
1433 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 continue
1435 ac_builddir=.
1437 case "$ac_dir" in
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1446 esac ;;
1447 esac
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1453 case $srcdir in
1454 .) # We are building in place.
1455 ac_srcdir=.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1462 *) # Relative name.
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 esac
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1472 echo &&
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1475 echo &&
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1477 else
1478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 fi || ac_status=$?
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1481 done
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1486 cat <<\_ACEOF
1487 GNU Fortran Runtime Library configure 0.3
1488 generated by GNU Autoconf 2.64
1490 Copyright (C) 2009 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1493 _ACEOF
1494 exit
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext
1508 if { { ac_try="$ac_compile"
1509 case "(($ac_try" in
1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1511 *) ac_try_echo=$ac_try;;
1512 esac
1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_compile") 2>conftest.err
1516 ac_status=$?
1517 if test -s conftest.err; then
1518 grep -v '^ *+' conftest.err >conftest.er1
1519 cat conftest.er1 >&5
1520 mv -f conftest.er1 conftest.err
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest.$ac_objext; then :
1527 ac_retval=0
1528 else
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.$ac_ext >&5
1532 ac_retval=1
1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1535 return $ac_retval
1537 } # ac_fn_c_try_compile
1539 # ac_fn_c_try_link LINENO
1540 # -----------------------
1541 # Try to link conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_link ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext conftest$ac_exeext
1546 if { { ac_try="$ac_link"
1547 case "(($ac_try" in
1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1550 esac
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_link") 2>conftest.err
1554 ac_status=$?
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest$ac_exeext && {
1565 test "$cross_compiling" = yes ||
1566 $as_test_x conftest$ac_exeext
1567 }; then :
1568 ac_retval=0
1569 else
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1573 ac_retval=1
1575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1577 # interfere with the next link command; also delete a directory that is
1578 # left behind by Apple's compiler. We do this before executing the actions.
1579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1581 return $ac_retval
1583 } # ac_fn_c_try_link
1585 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists and can be compiled using the include files in
1588 # INCLUDES, setting the cache variable VAR accordingly.
1589 ac_fn_c_check_header_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595 $as_echo_n "(cached) " >&6
1596 else
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1600 #include <$2>
1601 _ACEOF
1602 if ac_fn_c_try_compile "$LINENO"; then :
1603 eval "$3=yes"
1604 else
1605 eval "$3=no"
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1609 eval ac_res=\$$3
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 } # ac_fn_c_check_header_compile
1616 # ac_fn_c_try_cpp LINENO
1617 # ----------------------
1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_cpp ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if { { ac_try="$ac_cpp conftest.$ac_ext"
1623 case "(($ac_try" in
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1626 esac
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1630 ac_status=$?
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } >/dev/null && {
1638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 }; then :
1641 ac_retval=0
1642 else
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1646 ac_retval=1
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 return $ac_retval
1651 } # ac_fn_c_try_cpp
1653 # ac_fn_c_try_run LINENO
1654 # ----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656 # that executables *can* be run.
1657 ac_fn_c_try_run ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { { ac_try="$ac_link"
1661 case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>&5
1668 ac_status=$?
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671 { { case "(($ac_try" in
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_try") 2>&5
1678 ac_status=$?
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; }; }; then :
1681 ac_retval=0
1682 else
1683 $as_echo "$as_me: program exited with status $ac_status" >&5
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1687 ac_retval=$ac_status
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691 return $ac_retval
1693 } # ac_fn_c_try_run
1695 # ac_fn_c_check_func LINENO FUNC VAR
1696 # ----------------------------------
1697 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1698 ac_fn_c_check_func ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704 $as_echo_n "(cached) " >&6
1705 else
1706 if test x$gcc_no_link = xyes; then
1707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1711 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1713 #define $2 innocuous_$2
1715 /* System header to define __stub macros and hopefully few prototypes,
1716 which can conflict with char $2 (); below.
1717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1718 <limits.h> exists even on freestanding compilers. */
1720 #ifdef __STDC__
1721 # include <limits.h>
1722 #else
1723 # include <assert.h>
1724 #endif
1726 #undef $2
1728 /* Override any GCC internal prototype to avoid an error.
1729 Use char because int might match the return type of a GCC
1730 builtin and then its argument prototype would still apply. */
1731 #ifdef __cplusplus
1732 extern "C"
1733 #endif
1734 char $2 ();
1735 /* The GNU C library defines this for functions which it implements
1736 to always fail with ENOSYS. Some functions are actually named
1737 something starting with __ and the normal name is an alias. */
1738 #if defined __stub_$2 || defined __stub___$2
1739 choke me
1740 #endif
1743 main ()
1745 return $2 ();
1747 return 0;
1749 _ACEOF
1750 if ac_fn_c_try_link "$LINENO"; then :
1751 eval "$3=yes"
1752 else
1753 eval "$3=no"
1755 rm -f core conftest.err conftest.$ac_objext \
1756 conftest$ac_exeext conftest.$ac_ext
1758 eval ac_res=\$$3
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 } # ac_fn_c_check_func
1765 # ac_fn_fc_try_compile LINENO
1766 # ---------------------------
1767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_fc_try_compile ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 rm -f conftest.$ac_objext
1772 if { { ac_try="$ac_compile"
1773 case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_compile") 2>conftest.err
1780 ac_status=$?
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && {
1788 test -z "$ac_fc_werror_flag" ||
1789 test ! -s conftest.err
1790 } && test -s conftest.$ac_objext; then :
1791 ac_retval=0
1792 else
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1796 ac_retval=1
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 return $ac_retval
1801 } # ac_fn_fc_try_compile
1803 # ac_fn_fc_try_link LINENO
1804 # ------------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_fc_try_link ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext conftest$ac_exeext
1810 if { { ac_try="$ac_link"
1811 case "(($ac_try" in
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>conftest.err
1818 ac_status=$?
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_fc_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest$ac_exeext && {
1829 test "$cross_compiling" = yes ||
1830 $as_test_x conftest$ac_exeext
1831 }; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=1
1839 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1840 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1841 # interfere with the next link command; also delete a directory that is
1842 # left behind by Apple's compiler. We do this before executing the actions.
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 return $ac_retval
1847 } # ac_fn_fc_try_link
1849 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1850 # -------------------------------------------
1851 # Tests whether TYPE exists after having included INCLUDES, setting cache
1852 # variable VAR accordingly.
1853 ac_fn_c_check_type ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1860 else
1861 eval "$3=no"
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1866 main ()
1868 if (sizeof ($2))
1869 return 0;
1871 return 0;
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1879 main ()
1881 if (sizeof (($2)))
1882 return 0;
1884 return 0;
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1889 else
1890 eval "$3=yes"
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896 eval ac_res=\$$3
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901 } # ac_fn_c_check_type
1903 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1904 # -------------------------------------------------------
1905 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1906 # the include files in INCLUDES and setting the cache variable VAR
1907 # accordingly.
1908 ac_fn_c_check_header_mongrel ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1917 eval ac_res=\$$3
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1920 else
1921 # Is the header compilable?
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1923 $as_echo_n "checking $2 usability... " >&6; }
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1927 #include <$2>
1928 _ACEOF
1929 if ac_fn_c_try_compile "$LINENO"; then :
1930 ac_header_compiler=yes
1931 else
1932 ac_header_compiler=no
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1936 $as_echo "$ac_header_compiler" >&6; }
1938 # Is the header present?
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1940 $as_echo_n "checking $2 presence... " >&6; }
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1943 #include <$2>
1944 _ACEOF
1945 if ac_fn_c_try_cpp "$LINENO"; then :
1946 ac_header_preproc=yes
1947 else
1948 ac_header_preproc=no
1950 rm -f conftest.err conftest.$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1952 $as_echo "$ac_header_preproc" >&6; }
1954 # So? What about this header?
1955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1956 yes:no: )
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1958 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1960 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1962 no:yes:* )
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1964 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1966 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1968 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1970 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1974 esac
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1978 $as_echo_n "(cached) " >&6
1979 else
1980 eval "$3=\$ac_header_compiler"
1982 eval ac_res=\$$3
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1988 } # ac_fn_c_check_header_mongrel
1990 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1991 # --------------------------------------------
1992 # Tries to find the compile-time value of EXPR in a program that includes
1993 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1994 # computed
1995 ac_fn_c_compute_int ()
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 if test "$cross_compiling" = yes; then
1999 # Depending upon the size, compute the lo and hi bounds.
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2004 main ()
2006 static int test_array [1 - 2 * !(($2) >= 0)];
2007 test_array [0] = 0
2010 return 0;
2012 _ACEOF
2013 if ac_fn_c_try_compile "$LINENO"; then :
2014 ac_lo=0 ac_mid=0
2015 while :; do
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2020 main ()
2022 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2023 test_array [0] = 0
2026 return 0;
2028 _ACEOF
2029 if ac_fn_c_try_compile "$LINENO"; then :
2030 ac_hi=$ac_mid; break
2031 else
2032 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2033 if test $ac_lo -le $ac_mid; then
2034 ac_lo= ac_hi=
2035 break
2037 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040 done
2041 else
2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2046 main ()
2048 static int test_array [1 - 2 * !(($2) < 0)];
2049 test_array [0] = 0
2052 return 0;
2054 _ACEOF
2055 if ac_fn_c_try_compile "$LINENO"; then :
2056 ac_hi=-1 ac_mid=-1
2057 while :; do
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2062 main ()
2064 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2065 test_array [0] = 0
2068 return 0;
2070 _ACEOF
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072 ac_lo=$ac_mid; break
2073 else
2074 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2075 if test $ac_mid -le $ac_hi; then
2076 ac_lo= ac_hi=
2077 break
2079 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 done
2083 else
2084 ac_lo= ac_hi=
2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 # Binary search between lo and hi bounds.
2090 while test "x$ac_lo" != "x$ac_hi"; do
2091 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2096 main ()
2098 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2099 test_array [0] = 0
2102 return 0;
2104 _ACEOF
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106 ac_hi=$ac_mid
2107 else
2108 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111 done
2112 case $ac_lo in #((
2113 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2114 '') ac_retval=1 ;;
2115 esac
2116 else
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2120 static long int longval () { return $2; }
2121 static unsigned long int ulongval () { return $2; }
2122 #include <stdio.h>
2123 #include <stdlib.h>
2125 main ()
2128 FILE *f = fopen ("conftest.val", "w");
2129 if (! f)
2130 return 1;
2131 if (($2) < 0)
2133 long int i = longval ();
2134 if (i != ($2))
2135 return 1;
2136 fprintf (f, "%ld", i);
2138 else
2140 unsigned long int i = ulongval ();
2141 if (i != ($2))
2142 return 1;
2143 fprintf (f, "%lu", i);
2145 /* Do not output a trailing newline, as this causes \r\n confusion
2146 on some platforms. */
2147 return ferror (f) || fclose (f) != 0;
2150 return 0;
2152 _ACEOF
2153 if ac_fn_c_try_run "$LINENO"; then :
2154 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2155 else
2156 ac_retval=1
2158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2159 conftest.$ac_objext conftest.beam conftest.$ac_ext
2160 rm -f conftest.val
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2164 return $ac_retval
2166 } # ac_fn_c_compute_int
2168 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2169 # ----------------------------------------------------
2170 # Tries to find if the field MEMBER exists in type AGGR, after including
2171 # INCLUDES, setting cache variable VAR accordingly.
2172 ac_fn_c_check_member ()
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2176 $as_echo_n "checking for $2.$3... " >&6; }
2177 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2178 $as_echo_n "(cached) " >&6
2179 else
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2184 main ()
2186 static $2 ac_aggr;
2187 if (ac_aggr.$3)
2188 return 0;
2190 return 0;
2192 _ACEOF
2193 if ac_fn_c_try_compile "$LINENO"; then :
2194 eval "$4=yes"
2195 else
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2200 main ()
2202 static $2 ac_aggr;
2203 if (sizeof ac_aggr.$3)
2204 return 0;
2206 return 0;
2208 _ACEOF
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210 eval "$4=yes"
2211 else
2212 eval "$4=no"
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 eval ac_res=\$$4
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2223 } # ac_fn_c_check_member
2224 cat >config.log <<_ACEOF
2225 This file contains any messages produced by compilers while
2226 running configure, to aid debugging if configure makes a mistake.
2228 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2229 generated by GNU Autoconf 2.64. Invocation command line was
2231 $ $0 $@
2233 _ACEOF
2234 exec 5>>config.log
2236 cat <<_ASUNAME
2237 ## --------- ##
2238 ## Platform. ##
2239 ## --------- ##
2241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2248 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2250 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2251 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2253 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2254 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2255 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2256 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2258 _ASUNAME
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 for as_dir in $PATH
2263 IFS=$as_save_IFS
2264 test -z "$as_dir" && as_dir=.
2265 $as_echo "PATH: $as_dir"
2266 done
2267 IFS=$as_save_IFS
2269 } >&5
2271 cat >&5 <<_ACEOF
2274 ## ----------- ##
2275 ## Core tests. ##
2276 ## ----------- ##
2278 _ACEOF
2281 # Keep a trace of the command line.
2282 # Strip out --no-create and --no-recursion so they do not pile up.
2283 # Strip out --silent because we don't want to record it for future runs.
2284 # Also quote any args containing shell meta-characters.
2285 # Make two passes to allow for proper duplicate-argument suppression.
2286 ac_configure_args=
2287 ac_configure_args0=
2288 ac_configure_args1=
2289 ac_must_keep_next=false
2290 for ac_pass in 1 2
2292 for ac_arg
2294 case $ac_arg in
2295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2297 | -silent | --silent | --silen | --sile | --sil)
2298 continue ;;
2299 *\'*)
2300 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2301 esac
2302 case $ac_pass in
2303 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2305 as_fn_append ac_configure_args1 " '$ac_arg'"
2306 if test $ac_must_keep_next = true; then
2307 ac_must_keep_next=false # Got value, back to normal.
2308 else
2309 case $ac_arg in
2310 *=* | --config-cache | -C | -disable-* | --disable-* \
2311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2313 | -with-* | --with-* | -without-* | --without-* | --x)
2314 case "$ac_configure_args0 " in
2315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2316 esac
2318 -* ) ac_must_keep_next=true ;;
2319 esac
2321 as_fn_append ac_configure_args " '$ac_arg'"
2323 esac
2324 done
2325 done
2326 { ac_configure_args0=; unset ac_configure_args0;}
2327 { ac_configure_args1=; unset ac_configure_args1;}
2329 # When interrupted or exit'd, cleanup temporary files, and complete
2330 # config.log. We remove comments because anyway the quotes in there
2331 # would cause problems or look ugly.
2332 # WARNING: Use '\'' to represent an apostrophe within the trap.
2333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2334 trap 'exit_status=$?
2335 # Save into config.log some information that might help in debugging.
2337 echo
2339 cat <<\_ASBOX
2340 ## ---------------- ##
2341 ## Cache variables. ##
2342 ## ---------------- ##
2343 _ASBOX
2344 echo
2345 # The following way of writing the cache mishandles newlines in values,
2347 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2348 eval ac_val=\$$ac_var
2349 case $ac_val in #(
2350 *${as_nl}*)
2351 case $ac_var in #(
2352 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2353 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2354 esac
2355 case $ac_var in #(
2356 _ | IFS | as_nl) ;; #(
2357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2358 *) { eval $ac_var=; unset $ac_var;} ;;
2359 esac ;;
2360 esac
2361 done
2362 (set) 2>&1 |
2363 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2364 *${as_nl}ac_space=\ *)
2365 sed -n \
2366 "s/'\''/'\''\\\\'\'''\''/g;
2367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2368 ;; #(
2370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2372 esac |
2373 sort
2375 echo
2377 cat <<\_ASBOX
2378 ## ----------------- ##
2379 ## Output variables. ##
2380 ## ----------------- ##
2381 _ASBOX
2382 echo
2383 for ac_var in $ac_subst_vars
2385 eval ac_val=\$$ac_var
2386 case $ac_val in
2387 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2388 esac
2389 $as_echo "$ac_var='\''$ac_val'\''"
2390 done | sort
2391 echo
2393 if test -n "$ac_subst_files"; then
2394 cat <<\_ASBOX
2395 ## ------------------- ##
2396 ## File substitutions. ##
2397 ## ------------------- ##
2398 _ASBOX
2399 echo
2400 for ac_var in $ac_subst_files
2402 eval ac_val=\$$ac_var
2403 case $ac_val in
2404 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2405 esac
2406 $as_echo "$ac_var='\''$ac_val'\''"
2407 done | sort
2408 echo
2411 if test -s confdefs.h; then
2412 cat <<\_ASBOX
2413 ## ----------- ##
2414 ## confdefs.h. ##
2415 ## ----------- ##
2416 _ASBOX
2417 echo
2418 cat confdefs.h
2419 echo
2421 test "$ac_signal" != 0 &&
2422 $as_echo "$as_me: caught signal $ac_signal"
2423 $as_echo "$as_me: exit $exit_status"
2424 } >&5
2425 rm -f core *.core core.conftest.* &&
2426 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2427 exit $exit_status
2429 for ac_signal in 1 2 13 15; do
2430 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2431 done
2432 ac_signal=0
2434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2435 rm -f -r conftest* confdefs.h
2437 $as_echo "/* confdefs.h */" > confdefs.h
2439 # Predefined preprocessor variables.
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_NAME "$PACKAGE_NAME"
2443 _ACEOF
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2447 _ACEOF
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2451 _ACEOF
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_STRING "$PACKAGE_STRING"
2455 _ACEOF
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2459 _ACEOF
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_URL "$PACKAGE_URL"
2463 _ACEOF
2466 # Let the site file select an alternate cache file if it wants to.
2467 # Prefer an explicitly selected file to automatically selected ones.
2468 ac_site_file1=NONE
2469 ac_site_file2=NONE
2470 if test -n "$CONFIG_SITE"; then
2471 ac_site_file1=$CONFIG_SITE
2472 elif test "x$prefix" != xNONE; then
2473 ac_site_file1=$prefix/share/config.site
2474 ac_site_file2=$prefix/etc/config.site
2475 else
2476 ac_site_file1=$ac_default_prefix/share/config.site
2477 ac_site_file2=$ac_default_prefix/etc/config.site
2479 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2481 test "x$ac_site_file" = xNONE && continue
2482 if test -r "$ac_site_file"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2484 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2485 sed 's/^/| /' "$ac_site_file" >&5
2486 . "$ac_site_file"
2488 done
2490 if test -r "$cache_file"; then
2491 # Some versions of bash will fail to source /dev/null (special
2492 # files actually), so we avoid doing that.
2493 if test -f "$cache_file"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2495 $as_echo "$as_me: loading cache $cache_file" >&6;}
2496 case $cache_file in
2497 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2498 *) . "./$cache_file";;
2499 esac
2501 else
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2503 $as_echo "$as_me: creating cache $cache_file" >&6;}
2504 >$cache_file
2507 # Check that the precious variables saved in the cache have kept the same
2508 # value.
2509 ac_cache_corrupted=false
2510 for ac_var in $ac_precious_vars; do
2511 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2512 eval ac_new_set=\$ac_env_${ac_var}_set
2513 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2514 eval ac_new_val=\$ac_env_${ac_var}_value
2515 case $ac_old_set,$ac_new_set in
2516 set,)
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2519 ac_cache_corrupted=: ;;
2520 ,set)
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2523 ac_cache_corrupted=: ;;
2524 ,);;
2526 if test "x$ac_old_val" != "x$ac_new_val"; then
2527 # differences in whitespace do not lead to failure.
2528 ac_old_val_w=`echo x $ac_old_val`
2529 ac_new_val_w=`echo x $ac_new_val`
2530 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2533 ac_cache_corrupted=:
2534 else
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2537 eval $ac_var=\$ac_old_val
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2540 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2542 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2543 fi;;
2544 esac
2545 # Pass precious variables to config.status.
2546 if test "$ac_new_set" = set; then
2547 case $ac_new_val in
2548 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2549 *) ac_arg=$ac_var=$ac_new_val ;;
2550 esac
2551 case " $ac_configure_args " in
2552 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2553 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2554 esac
2556 done
2557 if $ac_cache_corrupted; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2562 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2564 ## -------------------- ##
2565 ## Main body of script. ##
2566 ## -------------------- ##
2568 ac_ext=c
2569 ac_cpp='$CPP $CPPFLAGS'
2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2578 ac_config_headers="$ac_config_headers config.h"
2580 ac_aux_dir=
2581 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582 for ac_t in install-sh install.sh shtool; do
2583 if test -f "$ac_dir/$ac_t"; then
2584 ac_aux_dir=$ac_dir
2585 ac_install_sh="$ac_aux_dir/$ac_t -c"
2586 break 2
2588 done
2589 done
2590 if test -z "$ac_aux_dir"; then
2591 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2599 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2600 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2603 # Make sure we can run config.sub.
2604 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2605 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2608 $as_echo_n "checking build system type... " >&6; }
2609 if test "${ac_cv_build+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
2611 else
2612 ac_build_alias=$build_alias
2613 test "x$ac_build_alias" = x &&
2614 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2615 test "x$ac_build_alias" = x &&
2616 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2617 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2618 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2622 $as_echo "$ac_cv_build" >&6; }
2623 case $ac_cv_build in
2624 *-*-*) ;;
2625 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2626 esac
2627 build=$ac_cv_build
2628 ac_save_IFS=$IFS; IFS='-'
2629 set x $ac_cv_build
2630 shift
2631 build_cpu=$1
2632 build_vendor=$2
2633 shift; shift
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2636 build_os=$*
2637 IFS=$ac_save_IFS
2638 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2641 case ${build_alias} in
2642 "") build_noncanonical=${build} ;;
2643 *) build_noncanonical=${build_alias} ;;
2644 esac
2646 case ${host_alias} in
2647 "") host_noncanonical=${build_noncanonical} ;;
2648 *) host_noncanonical=${host_alias} ;;
2649 esac
2651 case ${target_alias} in
2652 "") target_noncanonical=${host_noncanonical} ;;
2653 *) target_noncanonical=${target_alias} ;;
2654 esac
2657 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2658 # have matching libraries, they should use host libraries: Makefile.tpl
2659 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2660 # However, they still use the build modules, because the corresponding
2661 # host modules (e.g. bison) are only built for the host when bootstrap
2662 # finishes. So:
2663 # - build_subdir is where we find build modules, and never changes.
2664 # - build_libsubdir is where we find build libraries, and can be overridden.
2666 # Prefix 'build-' so this never conflicts with target_subdir.
2667 build_subdir="build-${build_noncanonical}"
2669 # Check whether --with-build-libsubdir was given.
2670 if test "${with_build_libsubdir+set}" = set; then :
2671 withval=$with_build_libsubdir; build_libsubdir="$withval"
2672 else
2673 build_libsubdir="$build_subdir"
2676 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2677 if ( test $srcdir = . && test -d gcc ) \
2678 || test -d $srcdir/../host-${host_noncanonical}; then
2679 host_subdir="host-${host_noncanonical}"
2680 else
2681 host_subdir=.
2683 # No prefix.
2684 target_subdir=${target_noncanonical}
2687 # -------
2688 # Options
2689 # -------
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2692 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2693 # Check whether --enable-version-specific-runtime-libs was given.
2694 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2695 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2696 yes) version_specific_libs=yes ;;
2697 no) version_specific_libs=no ;;
2698 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2699 esac
2700 else
2701 version_specific_libs=no
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2705 $as_echo "$version_specific_libs" >&6; }
2707 # Build with intermodule optimisations
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2709 $as_echo_n "checking for --enable-intermodule... " >&6; }
2710 # Check whether --enable-intermodule was given.
2711 if test "${enable_intermodule+set}" = set; then :
2712 enableval=$enable_intermodule; case "$enable_intermodule" in
2713 yes) onestep="-onestep";;
2714 *) onestep="";;
2715 esac
2716 else
2717 onestep=""
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2721 $as_echo "$enable_intermodule" >&6; }
2722 if test x$onestep = x-onestep; then
2723 onestep_TRUE=
2724 onestep_FALSE='#'
2725 else
2726 onestep_TRUE='#'
2727 onestep_FALSE=
2732 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2734 # You will slowly go insane if you do not grok the following fact: when
2735 # building this library, the top-level /target/ becomes the library's /host/.
2737 # configure then causes --target to default to --host, exactly like any
2738 # other package using autoconf. Therefore, 'target' and 'host' will
2739 # always be the same. This makes sense both for native and cross compilers
2740 # just think about it for a little while. :-)
2742 # Also, if this library is being configured as part of a cross compiler, the
2743 # top-level configure script will pass the "real" host as $with_cross_host.
2745 # Do not delete or change the following two lines. For why, see
2746 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2748 $as_echo_n "checking host system type... " >&6; }
2749 if test "${ac_cv_host+set}" = set; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 if test "x$host_alias" = x; then
2753 ac_cv_host=$ac_cv_build
2754 else
2755 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2756 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2761 $as_echo "$ac_cv_host" >&6; }
2762 case $ac_cv_host in
2763 *-*-*) ;;
2764 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2765 esac
2766 host=$ac_cv_host
2767 ac_save_IFS=$IFS; IFS='-'
2768 set x $ac_cv_host
2769 shift
2770 host_cpu=$1
2771 host_vendor=$2
2772 shift; shift
2773 # Remember, the first character of IFS is used to create $*,
2774 # except with old shells:
2775 host_os=$*
2776 IFS=$ac_save_IFS
2777 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2781 $as_echo_n "checking target system type... " >&6; }
2782 if test "${ac_cv_target+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2784 else
2785 if test "x$target_alias" = x; then
2786 ac_cv_target=$ac_cv_host
2787 else
2788 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2789 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2794 $as_echo "$ac_cv_target" >&6; }
2795 case $ac_cv_target in
2796 *-*-*) ;;
2797 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2798 esac
2799 target=$ac_cv_target
2800 ac_save_IFS=$IFS; IFS='-'
2801 set x $ac_cv_target
2802 shift
2803 target_cpu=$1
2804 target_vendor=$2
2805 shift; shift
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2808 target_os=$*
2809 IFS=$ac_save_IFS
2810 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2813 # The aliases save the names the user supplied, while $host etc.
2814 # will get canonicalized.
2815 test -n "$target_alias" &&
2816 test "$program_prefix$program_suffix$program_transform_name" = \
2817 NONENONEs,x,x, &&
2818 program_prefix=${target_alias}-
2820 target_alias=${target_alias-$host_alias}
2822 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2823 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2824 # 1.9.6: minimum required version
2825 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2826 # of other PACKAGE_* variables will, however, and there's nothing
2827 # we can do about that; they come from AC_INIT).
2828 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2829 # file in the top srcdir, etc, etc), so stop complaining.
2830 # -Wall: turns on all automake warnings...
2831 # -Wno-portability: ...except this one, since GNU make is required.
2832 am__api_version='1.11'
2834 # Find a good install program. We prefer a C program (faster),
2835 # so one script is as good as another. But avoid the broken or
2836 # incompatible versions:
2837 # SysV /etc/install, /usr/sbin/install
2838 # SunOS /usr/etc/install
2839 # IRIX /sbin/install
2840 # AIX /bin/install
2841 # AmigaOS /C/install, which installs bootblocks on floppy discs
2842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2845 # OS/2's system install, which has a completely different semantic
2846 # ./install, which can be erroneously created by make from ./install.sh.
2847 # Reject install programs that cannot install multiple files.
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2849 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2850 if test -z "$INSTALL"; then
2851 if test "${ac_cv_path_install+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2857 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=.
2859 # Account for people who put trailing slashes in PATH elements.
2860 case $as_dir/ in #((
2861 ./ | .// | /[cC]/* | \
2862 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2863 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2864 /usr/ucb/* ) ;;
2866 # OSF1 and SCO ODT 3.0 have their own names for install.
2867 # Don't use installbsd from OSF since it installs stuff as root
2868 # by default.
2869 for ac_prog in ginstall scoinst install; do
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2872 if test $ac_prog = install &&
2873 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2874 # AIX install. It has an incompatible calling convention.
2876 elif test $ac_prog = install &&
2877 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2878 # program-specific install script used by HP pwplus--don't use.
2880 else
2881 rm -rf conftest.one conftest.two conftest.dir
2882 echo one > conftest.one
2883 echo two > conftest.two
2884 mkdir conftest.dir
2885 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2886 test -s conftest.one && test -s conftest.two &&
2887 test -s conftest.dir/conftest.one &&
2888 test -s conftest.dir/conftest.two
2889 then
2890 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2891 break 3
2895 done
2896 done
2898 esac
2900 done
2901 IFS=$as_save_IFS
2903 rm -rf conftest.one conftest.two conftest.dir
2906 if test "${ac_cv_path_install+set}" = set; then
2907 INSTALL=$ac_cv_path_install
2908 else
2909 # As a last resort, use the slow shell script. Don't cache a
2910 # value for INSTALL within a source directory, because that will
2911 # break other packages using the cache if that directory is
2912 # removed, or if the value is a relative name.
2913 INSTALL=$ac_install_sh
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2917 $as_echo "$INSTALL" >&6; }
2919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2920 # It thinks the first close brace ends the variable substitution.
2921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2925 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2928 $as_echo_n "checking whether build environment is sane... " >&6; }
2929 # Just in case
2930 sleep 1
2931 echo timestamp > conftest.file
2932 # Reject unsafe characters in $srcdir or the absolute working directory
2933 # name. Accept space and tab only in the latter.
2934 am_lf='
2936 case `pwd` in
2937 *[\\\"\#\$\&\'\`$am_lf]*)
2938 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2939 esac
2940 case $srcdir in
2941 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2942 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2943 esac
2945 # Do `set' in a subshell so we don't clobber the current shell's
2946 # arguments. Must try -L first in case configure is actually a
2947 # symlink; some systems play weird games with the mod time of symlinks
2948 # (eg FreeBSD returns the mod time of the symlink's containing
2949 # directory).
2950 if (
2951 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2952 if test "$*" = "X"; then
2953 # -L didn't work.
2954 set X `ls -t "$srcdir/configure" conftest.file`
2956 rm -f conftest.file
2957 if test "$*" != "X $srcdir/configure conftest.file" \
2958 && test "$*" != "X conftest.file $srcdir/configure"; then
2960 # If neither matched, then we have a broken ls. This can happen
2961 # if, for instance, CONFIG_SHELL is bash and it inherits a
2962 # broken ls alias from the environment. This has actually
2963 # happened. Such a system could not be considered "sane".
2964 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2965 alias in your environment" "$LINENO" 5
2968 test "$2" = conftest.file
2970 then
2971 # Ok.
2973 else
2974 as_fn_error "newly created file is older than distributed files!
2975 Check your system clock" "$LINENO" 5
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2979 test "$program_prefix" != NONE &&
2980 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2981 # Use a double $ so make ignores it.
2982 test "$program_suffix" != NONE &&
2983 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2984 # Double any \ or $.
2985 # By default was `s,x,x', remove it if useless.
2986 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2987 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2989 # expand $ac_aux_dir to an absolute path
2990 am_aux_dir=`cd $ac_aux_dir && pwd`
2992 if test x"${MISSING+set}" != xset; then
2993 case $am_aux_dir in
2994 *\ * | *\ *)
2995 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2997 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2998 esac
3000 # Use eval to expand $SHELL
3001 if eval "$MISSING --run true"; then
3002 am_missing_run="$MISSING --run "
3003 else
3004 am_missing_run=
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3006 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3009 if test x"${install_sh}" != xset; then
3010 case $am_aux_dir in
3011 *\ * | *\ *)
3012 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3014 install_sh="\${SHELL} $am_aux_dir/install-sh"
3015 esac
3018 # Installed binaries are usually stripped using `strip' when the user
3019 # run `make install-strip'. However `strip' might not be the right
3020 # tool to use in cross-compilation environments, therefore Automake
3021 # will honor the `STRIP' environment variable to overrule this program.
3022 if test "$cross_compiling" != no; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3025 set dummy ${ac_tool_prefix}strip; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if test "${ac_cv_prog_STRIP+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3030 else
3031 if test -n "$STRIP"; then
3032 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3033 else
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 for as_dir in $PATH
3037 IFS=$as_save_IFS
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 break 2
3045 done
3046 done
3047 IFS=$as_save_IFS
3051 STRIP=$ac_cv_prog_STRIP
3052 if test -n "$STRIP"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3054 $as_echo "$STRIP" >&6; }
3055 else
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3062 if test -z "$ac_cv_prog_STRIP"; then
3063 ac_ct_STRIP=$STRIP
3064 # Extract the first word of "strip", so it can be a program name with args.
3065 set dummy strip; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 if test -n "$ac_ct_STRIP"; then
3072 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3073 else
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 for as_dir in $PATH
3077 IFS=$as_save_IFS
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_ac_ct_STRIP="strip"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 break 2
3085 done
3086 done
3087 IFS=$as_save_IFS
3091 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3092 if test -n "$ac_ct_STRIP"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3094 $as_echo "$ac_ct_STRIP" >&6; }
3095 else
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3100 if test "x$ac_ct_STRIP" = x; then
3101 STRIP=":"
3102 else
3103 case $cross_compiling:$ac_tool_warned in
3104 yes:)
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned=yes ;;
3108 esac
3109 STRIP=$ac_ct_STRIP
3111 else
3112 STRIP="$ac_cv_prog_STRIP"
3116 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3119 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3120 if test -z "$MKDIR_P"; then
3121 if test "${ac_cv_path_mkdir+set}" = set; then :
3122 $as_echo_n "(cached) " >&6
3123 else
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3127 IFS=$as_save_IFS
3128 test -z "$as_dir" && as_dir=.
3129 for ac_prog in mkdir gmkdir; do
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3132 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3133 'mkdir (GNU coreutils) '* | \
3134 'mkdir (coreutils) '* | \
3135 'mkdir (fileutils) '4.1*)
3136 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3137 break 3;;
3138 esac
3139 done
3140 done
3141 done
3142 IFS=$as_save_IFS
3146 if test "${ac_cv_path_mkdir+set}" = set; then
3147 MKDIR_P="$ac_cv_path_mkdir -p"
3148 else
3149 # As a last resort, use the slow shell script. Don't cache a
3150 # value for MKDIR_P within a source directory, because that will
3151 # break other packages using the cache if that directory is
3152 # removed, or if the value is a relative name.
3153 test -d ./--version && rmdir ./--version
3154 MKDIR_P="$ac_install_sh -d"
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3158 $as_echo "$MKDIR_P" >&6; }
3160 mkdir_p="$MKDIR_P"
3161 case $mkdir_p in
3162 [\\/$]* | ?:[\\/]*) ;;
3163 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3164 esac
3166 for ac_prog in gawk mawk nawk awk
3168 # Extract the first word of "$ac_prog", so it can be a program name with args.
3169 set dummy $ac_prog; ac_word=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if test "${ac_cv_prog_AWK+set}" = set; then :
3173 $as_echo_n "(cached) " >&6
3174 else
3175 if test -n "$AWK"; then
3176 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3177 else
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 test -z "$as_dir" && as_dir=.
3183 for ac_exec_ext in '' $ac_executable_extensions; do
3184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3185 ac_cv_prog_AWK="$ac_prog"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 break 2
3189 done
3190 done
3191 IFS=$as_save_IFS
3195 AWK=$ac_cv_prog_AWK
3196 if test -n "$AWK"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3198 $as_echo "$AWK" >&6; }
3199 else
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3205 test -n "$AWK" && break
3206 done
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3210 set x ${MAKE-make}
3211 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3212 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 cat >conftest.make <<\_ACEOF
3216 SHELL = /bin/sh
3217 all:
3218 @echo '@@@%%%=$(MAKE)=@@@%%%'
3219 _ACEOF
3220 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3222 *@@@%%%=?*=@@@%%%*)
3223 eval ac_cv_prog_make_${ac_make}_set=yes;;
3225 eval ac_cv_prog_make_${ac_make}_set=no;;
3226 esac
3227 rm -f conftest.make
3229 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3231 $as_echo "yes" >&6; }
3232 SET_MAKE=
3233 else
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 SET_MAKE="MAKE=${MAKE-make}"
3239 rm -rf .tst 2>/dev/null
3240 mkdir .tst 2>/dev/null
3241 if test -d .tst; then
3242 am__leading_dot=.
3243 else
3244 am__leading_dot=_
3246 rmdir .tst 2>/dev/null
3248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3249 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3250 # is not polluted with repeated "-I."
3251 am__isrc=' -I$(srcdir)'
3252 # test to see if srcdir already configured
3253 if test -f $srcdir/config.status; then
3254 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3258 # test whether we have cygpath
3259 if test -z "$CYGPATH_W"; then
3260 if (cygpath --version) >/dev/null 2>/dev/null; then
3261 CYGPATH_W='cygpath -w'
3262 else
3263 CYGPATH_W=echo
3268 # Define the identity of the package.
3269 PACKAGE='libgfortran'
3270 VERSION='0.3'
3273 # Some tools Automake needs.
3275 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3278 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3281 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3284 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3287 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3289 # We need awk for the "check" target. The system "awk" is bad on
3290 # some platforms.
3291 # Always define AMTAR for backward compatibility.
3293 AMTAR=${AMTAR-"${am_missing_run}tar"}
3295 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3304 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3305 # Check whether --enable-maintainer-mode was given.
3306 if test "${enable_maintainer_mode+set}" = set; then :
3307 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3308 else
3309 USE_MAINTAINER_MODE=no
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3313 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3314 if test $USE_MAINTAINER_MODE = yes; then
3315 MAINTAINER_MODE_TRUE=
3316 MAINTAINER_MODE_FALSE='#'
3317 else
3318 MAINTAINER_MODE_TRUE='#'
3319 MAINTAINER_MODE_FALSE=
3322 MAINT=$MAINTAINER_MODE_TRUE
3325 # Default to --enable-multilib
3326 # Check whether --enable-multilib was given.
3327 if test "${enable_multilib+set}" = set; then :
3328 enableval=$enable_multilib; case "$enableval" in
3329 yes) multilib=yes ;;
3330 no) multilib=no ;;
3331 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3332 esac
3333 else
3334 multilib=yes
3338 # We may get other options which we leave undocumented:
3339 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3340 # See config-ml.in if you want the gory details.
3342 if test "$srcdir" = "."; then
3343 if test "$with_target_subdir" != "."; then
3344 multi_basedir="$srcdir/$with_multisrctop../.."
3345 else
3346 multi_basedir="$srcdir/$with_multisrctop.."
3348 else
3349 multi_basedir="$srcdir/.."
3353 # Even if the default multilib is not a cross compilation,
3354 # it may be that some of the other multilibs are.
3355 if test $cross_compiling = no && test $multilib = yes \
3356 && test "x${with_multisubdir}" != x ; then
3357 cross_compiling=maybe
3360 ac_config_commands="$ac_config_commands default-1"
3363 # Handy for debugging:
3364 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3366 # Are we being configured with some form of cross compiler?
3367 # NB: We don't actually need to know this just now, but when, say, a test
3368 # suite is included, we'll have to know.
3369 if test "$build" != "$host"; then
3370 LIBGFOR_IS_NATIVE=false
3372 else
3373 LIBGFOR_IS_NATIVE=true
3376 # Calculate toolexeclibdir
3377 # Also toolexecdir, though it's only used in toolexeclibdir
3378 case ${version_specific_libs} in
3379 yes)
3380 # Need the gcc compiler version to know where to install libraries
3381 # and header files if --enable-version-specific-runtime-libs option
3382 # is selected.
3383 toolexecdir='$(libdir)/gcc/$(target_alias)'
3384 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3387 if test -n "$with_cross_host" &&
3388 test x"$with_cross_host" != x"no"; then
3389 # Install a library built with a cross compiler in tooldir, not libdir.
3390 toolexecdir='$(exec_prefix)/$(target_alias)'
3391 toolexeclibdir='$(toolexecdir)/lib'
3392 else
3393 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3394 toolexeclibdir='$(libdir)'
3396 multi_os_directory=`$CC -print-multi-os-directory`
3397 case $multi_os_directory in
3398 .) ;; # Avoid trailing /.
3399 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3400 esac
3402 esac
3406 # Check the compiler.
3407 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3408 # We must force CC to /not/ be precious variables; otherwise
3409 # the wrong, non-multilib-adjusted value will be used in multilibs.
3410 # As a side effect, we have to subst CFLAGS ourselves.
3414 ac_ext=c
3415 ac_cpp='$CPP $CPPFLAGS'
3416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if test "${ac_cv_prog_CC+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3426 else
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC="$CC" # Let the user override the test.
3429 else
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 for as_dir in $PATH
3433 IFS=$as_save_IFS
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 break 2
3441 done
3442 done
3443 IFS=$as_save_IFS
3447 CC=$ac_cv_prog_CC
3448 if test -n "$CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3451 else
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3458 if test -z "$ac_cv_prog_CC"; then
3459 ac_ct_CC=$CC
3460 # Extract the first word of "gcc", so it can be a program name with args.
3461 set dummy gcc; ac_word=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 if test -n "$ac_ct_CC"; then
3468 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3469 else
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH
3473 IFS=$as_save_IFS
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_ac_ct_CC="gcc"
3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 break 2
3481 done
3482 done
3483 IFS=$as_save_IFS
3487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3488 if test -n "$ac_ct_CC"; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490 $as_echo "$ac_ct_CC" >&6; }
3491 else
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3496 if test "x$ac_ct_CC" = x; then
3497 CC=""
3498 else
3499 case $cross_compiling:$ac_tool_warned in
3500 yes:)
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503 ac_tool_warned=yes ;;
3504 esac
3505 CC=$ac_ct_CC
3507 else
3508 CC="$ac_cv_prog_CC"
3511 if test -z "$CC"; then
3512 if test -n "$ac_tool_prefix"; then
3513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3514 set dummy ${ac_tool_prefix}cc; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if test "${ac_cv_prog_CC+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3519 else
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC="$CC" # Let the user override the test.
3522 else
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH
3526 IFS=$as_save_IFS
3527 test -z "$as_dir" && as_dir=.
3528 for ac_exec_ext in '' $ac_executable_extensions; do
3529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3530 ac_cv_prog_CC="${ac_tool_prefix}cc"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 break 2
3534 done
3535 done
3536 IFS=$as_save_IFS
3540 CC=$ac_cv_prog_CC
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3544 else
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3552 if test -z "$CC"; then
3553 # Extract the first word of "cc", so it can be a program name with args.
3554 set dummy cc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3559 else
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 else
3563 ac_prog_rejected=no
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH
3567 IFS=$as_save_IFS
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3572 ac_prog_rejected=yes
3573 continue
3575 ac_cv_prog_CC="cc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 break 2
3579 done
3580 done
3581 IFS=$as_save_IFS
3583 if test $ac_prog_rejected = yes; then
3584 # We found a bogon in the path, so make sure we never use it.
3585 set dummy $ac_cv_prog_CC
3586 shift
3587 if test $# != 0; then
3588 # We chose a different compiler from the bogus one.
3589 # However, it has the same basename, so the bogon will be chosen
3590 # first if we set CC to just the basename; use the full file name.
3591 shift
3592 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3597 CC=$ac_cv_prog_CC
3598 if test -n "$CC"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3600 $as_echo "$CC" >&6; }
3601 else
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$CC"; then
3609 if test -n "$ac_tool_prefix"; then
3610 for ac_prog in cl.exe
3612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if test "${ac_cv_prog_CC+set}" = set; then :
3617 $as_echo_n "(cached) " >&6
3618 else
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC="$CC" # Let the user override the test.
3621 else
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 for as_dir in $PATH
3625 IFS=$as_save_IFS
3626 test -z "$as_dir" && as_dir=.
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 break 2
3633 done
3634 done
3635 IFS=$as_save_IFS
3639 CC=$ac_cv_prog_CC
3640 if test -n "$CC"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3643 else
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3649 test -n "$CC" && break
3650 done
3652 if test -z "$CC"; then
3653 ac_ct_CC=$CC
3654 for ac_prog in cl.exe
3656 # Extract the first word of "$ac_prog", so it can be a program name with args.
3657 set dummy $ac_prog; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3662 else
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673 ac_cv_prog_ac_ct_CC="$ac_prog"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3679 IFS=$as_save_IFS
3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3687 else
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3693 test -n "$ac_ct_CC" && break
3694 done
3696 if test "x$ac_ct_CC" = x; then
3697 CC=""
3698 else
3699 case $cross_compiling:$ac_tool_warned in
3700 yes:)
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3703 ac_tool_warned=yes ;;
3704 esac
3705 CC=$ac_ct_CC
3712 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error "no acceptable C compiler found in \$PATH
3715 See \`config.log' for more details." "$LINENO" 5; }
3717 # Provide some information about the compiler.
3718 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3719 set X $ac_compile
3720 ac_compiler=$2
3721 for ac_option in --version -v -V -qversion; do
3722 { { ac_try="$ac_compiler $ac_option >&5"
3723 case "(($ac_try" in
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3726 esac
3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728 $as_echo "$ac_try_echo"; } >&5
3729 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3730 ac_status=$?
3731 if test -s conftest.err; then
3732 sed '10a\
3733 ... rest of stderr output deleted ...
3734 10q' conftest.err >conftest.er1
3735 cat conftest.er1 >&5
3736 rm -f conftest.er1 conftest.err
3738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739 test $ac_status = 0; }
3740 done
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3746 main ()
3750 return 0;
3752 _ACEOF
3753 # FIXME: Cleanup?
3754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3755 (eval $ac_link) 2>&5
3756 ac_status=$?
3757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3758 test $ac_status = 0; }; then :
3759 gcc_no_link=no
3760 else
3761 gcc_no_link=yes
3763 if test x$gcc_no_link = xyes; then
3764 # Setting cross_compile will disable run tests; it will
3765 # also disable AC_CHECK_FILE but that's generally
3766 # correct if we can't link.
3767 cross_compiling=yes
3768 EXEEXT=
3769 else
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3774 main ()
3778 return 0;
3780 _ACEOF
3781 ac_clean_files_save=$ac_clean_files
3782 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3783 # Try to create an executable without -o first, disregard a.out.
3784 # It will help us diagnose broken compilers, and finding out an intuition
3785 # of exeext.
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3787 $as_echo_n "checking for C compiler default output file name... " >&6; }
3788 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3790 # The possible output files:
3791 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3793 ac_rmfiles=
3794 for ac_file in $ac_files
3796 case $ac_file in
3797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3798 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3799 esac
3800 done
3801 rm -f $ac_rmfiles
3803 if { { ac_try="$ac_link_default"
3804 case "(($ac_try" in
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3807 esac
3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_link_default") 2>&5
3811 ac_status=$?
3812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813 test $ac_status = 0; }; then :
3814 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3815 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3816 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3817 # so that the user can short-circuit this test for compilers unknown to
3818 # Autoconf.
3819 for ac_file in $ac_files ''
3821 test -f "$ac_file" || continue
3822 case $ac_file in
3823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3825 [ab].out )
3826 # We found the default executable, but exeext='' is most
3827 # certainly right.
3828 break;;
3829 *.* )
3830 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3831 then :; else
3832 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3834 # We set ac_cv_exeext here because the later test for it is not
3835 # safe: cross compilers may not add the suffix if given an `-o'
3836 # argument, so we may need to know it at that point already.
3837 # Even if this section looks crufty: it has the advantage of
3838 # actually working.
3839 break;;
3841 break;;
3842 esac
3843 done
3844 test "$ac_cv_exeext" = no && ac_cv_exeext=
3846 else
3847 ac_file=''
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
3851 if test -z "$ac_file"; then :
3852 $as_echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 { as_fn_set_status 77
3858 as_fn_error "C compiler cannot create executables
3859 See \`config.log' for more details." "$LINENO" 5; }; }
3861 ac_exeext=$ac_cv_exeext
3863 # Check that the compiler produces executables we can run. If not, either
3864 # the compiler is broken, or we cross compile.
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3866 $as_echo_n "checking whether the C compiler works... " >&6; }
3867 # If not cross compiling, check that we can run a simple program.
3868 if test "$cross_compiling" != yes; then
3869 if { ac_try='./$ac_file'
3870 { { case "(($ac_try" in
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3873 esac
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876 (eval "$ac_try") 2>&5
3877 ac_status=$?
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; }; then
3880 cross_compiling=no
3881 else
3882 if test "$cross_compiling" = maybe; then
3883 cross_compiling=yes
3884 else
3885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error "cannot run C compiled programs.
3888 If you meant to cross compile, use \`--host'.
3889 See \`config.log' for more details." "$LINENO" 5; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3894 $as_echo "yes" >&6; }
3896 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3897 ac_clean_files=$ac_clean_files_save
3898 # Check that the compiler produces executables we can run. If not, either
3899 # the compiler is broken, or we cross compile.
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3901 $as_echo_n "checking whether we are cross compiling... " >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3903 $as_echo "$cross_compiling" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3906 $as_echo_n "checking for suffix of executables... " >&6; }
3907 if { { ac_try="$ac_link"
3908 case "(($ac_try" in
3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3911 esac
3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914 (eval "$ac_link") 2>&5
3915 ac_status=$?
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }; then :
3918 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3919 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3920 # work properly (i.e., refer to `conftest.exe'), while it won't with
3921 # `rm'.
3922 for ac_file in conftest.exe conftest conftest.*; do
3923 test -f "$ac_file" || continue
3924 case $ac_file in
3925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3927 break;;
3928 * ) break;;
3929 esac
3930 done
3931 else
3932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934 as_fn_error "cannot compute suffix of executables: cannot compile and link
3935 See \`config.log' for more details." "$LINENO" 5; }
3937 rm -f conftest$ac_cv_exeext
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3939 $as_echo "$ac_cv_exeext" >&6; }
3941 rm -f conftest.$ac_ext
3942 EXEEXT=$ac_cv_exeext
3943 ac_exeext=$EXEEXT
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3946 $as_echo_n "checking for suffix of object files... " >&6; }
3947 if test "${ac_cv_objext+set}" = set; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3954 main ()
3958 return 0;
3960 _ACEOF
3961 rm -f conftest.o conftest.obj
3962 if { { ac_try="$ac_compile"
3963 case "(($ac_try" in
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3966 esac
3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968 $as_echo "$ac_try_echo"; } >&5
3969 (eval "$ac_compile") 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 for ac_file in conftest.o conftest.obj conftest.*; do
3974 test -f "$ac_file" || continue;
3975 case $ac_file in
3976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3977 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3978 break;;
3979 esac
3980 done
3981 else
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error "cannot compute suffix of object files: cannot compile
3988 See \`config.log' for more details." "$LINENO" 5; }
3990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3993 $as_echo "$ac_cv_objext" >&6; }
3994 OBJEXT=$ac_cv_objext
3995 ac_objext=$OBJEXT
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3998 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3999 $as_echo_n "(cached) " >&6
4000 else
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4005 main ()
4007 #ifndef __GNUC__
4008 choke me
4009 #endif
4012 return 0;
4014 _ACEOF
4015 if ac_fn_c_try_compile "$LINENO"; then :
4016 ac_compiler_gnu=yes
4017 else
4018 ac_compiler_gnu=no
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4026 if test $ac_compiler_gnu = yes; then
4027 GCC=yes
4028 else
4029 GCC=
4031 ac_test_CFLAGS=${CFLAGS+set}
4032 ac_save_CFLAGS=$CFLAGS
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4035 if test "${ac_cv_prog_cc_g+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4037 else
4038 ac_save_c_werror_flag=$ac_c_werror_flag
4039 ac_c_werror_flag=yes
4040 ac_cv_prog_cc_g=no
4041 CFLAGS="-g"
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4046 main ()
4050 return 0;
4052 _ACEOF
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 ac_cv_prog_cc_g=yes
4055 else
4056 CFLAGS=""
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4061 main ()
4065 return 0;
4067 _ACEOF
4068 if ac_fn_c_try_compile "$LINENO"; then :
4070 else
4071 ac_c_werror_flag=$ac_save_c_werror_flag
4072 CFLAGS="-g"
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4077 main ()
4081 return 0;
4083 _ACEOF
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085 ac_cv_prog_cc_g=yes
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 ac_c_werror_flag=$ac_save_c_werror_flag
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4095 $as_echo "$ac_cv_prog_cc_g" >&6; }
4096 if test "$ac_test_CFLAGS" = set; then
4097 CFLAGS=$ac_save_CFLAGS
4098 elif test $ac_cv_prog_cc_g = yes; then
4099 if test "$GCC" = yes; then
4100 CFLAGS="-g -O2"
4101 else
4102 CFLAGS="-g"
4104 else
4105 if test "$GCC" = yes; then
4106 CFLAGS="-O2"
4107 else
4108 CFLAGS=
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4113 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4115 else
4116 ac_cv_prog_cc_c89=no
4117 ac_save_CC=$CC
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4120 #include <stdarg.h>
4121 #include <stdio.h>
4122 #include <sys/types.h>
4123 #include <sys/stat.h>
4124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4125 struct buf { int x; };
4126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4127 static char *e (p, i)
4128 char **p;
4129 int i;
4131 return p[i];
4133 static char *f (char * (*g) (char **, int), char **p, ...)
4135 char *s;
4136 va_list v;
4137 va_start (v,p);
4138 s = g (p, va_arg (v,int));
4139 va_end (v);
4140 return s;
4143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4144 function prototypes and stuff, but not '\xHH' hex character constants.
4145 These don't provoke an error unfortunately, instead are silently treated
4146 as 'x'. The following induces an error, until -std is added to get
4147 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4148 array size at least. It's necessary to write '\x00'==0 to get something
4149 that's true only with -std. */
4150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4153 inside strings and character constants. */
4154 #define FOO(x) 'x'
4155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4157 int test (int i, double x);
4158 struct s1 {int (*f) (int a);};
4159 struct s2 {int (*f) (double a);};
4160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4161 int argc;
4162 char **argv;
4164 main ()
4166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4168 return 0;
4170 _ACEOF
4171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4172 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4174 CC="$ac_save_CC $ac_arg"
4175 if ac_fn_c_try_compile "$LINENO"; then :
4176 ac_cv_prog_cc_c89=$ac_arg
4178 rm -f core conftest.err conftest.$ac_objext
4179 test "x$ac_cv_prog_cc_c89" != "xno" && break
4180 done
4181 rm -f conftest.$ac_ext
4182 CC=$ac_save_CC
4185 # AC_CACHE_VAL
4186 case "x$ac_cv_prog_cc_c89" in
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4189 $as_echo "none needed" >&6; } ;;
4190 xno)
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4192 $as_echo "unsupported" >&6; } ;;
4194 CC="$CC $ac_cv_prog_cc_c89"
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4197 esac
4198 if test "x$ac_cv_prog_cc_c89" != xno; then :
4202 ac_ext=c
4203 ac_cpp='$CPP $CPPFLAGS'
4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 DEPDIR="${am__leading_dot}deps"
4209 ac_config_commands="$ac_config_commands depfiles"
4212 am_make=${MAKE-make}
4213 cat > confinc << 'END'
4214 am__doit:
4215 @echo this is the am__doit target
4216 .PHONY: am__doit
4218 # If we don't find an include directive, just comment out the code.
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4220 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4221 am__include="#"
4222 am__quote=
4223 _am_result=none
4224 # First try GNU make style include.
4225 echo "include confinc" > confmf
4226 # Ignore all kinds of additional output from `make'.
4227 case `$am_make -s -f confmf 2> /dev/null` in #(
4228 *the\ am__doit\ target*)
4229 am__include=include
4230 am__quote=
4231 _am_result=GNU
4233 esac
4234 # Now try BSD make style include.
4235 if test "$am__include" = "#"; then
4236 echo '.include "confinc"' > confmf
4237 case `$am_make -s -f confmf 2> /dev/null` in #(
4238 *the\ am__doit\ target*)
4239 am__include=.include
4240 am__quote="\""
4241 _am_result=BSD
4243 esac
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4248 $as_echo "$_am_result" >&6; }
4249 rm -f confinc confmf
4251 # Check whether --enable-dependency-tracking was given.
4252 if test "${enable_dependency_tracking+set}" = set; then :
4253 enableval=$enable_dependency_tracking;
4256 if test "x$enable_dependency_tracking" != xno; then
4257 am_depcomp="$ac_aux_dir/depcomp"
4258 AMDEPBACKSLASH='\'
4260 if test "x$enable_dependency_tracking" != xno; then
4261 AMDEP_TRUE=
4262 AMDEP_FALSE='#'
4263 else
4264 AMDEP_TRUE='#'
4265 AMDEP_FALSE=
4270 depcc="$CC" am_compiler_list=
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4273 $as_echo_n "checking dependency style of $depcc... " >&6; }
4274 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4278 # We make a subdir and do the tests there. Otherwise we can end up
4279 # making bogus files that we don't know about and never remove. For
4280 # instance it was reported that on HP-UX the gcc test will end up
4281 # making a dummy file named `D' -- because `-MD' means `put the output
4282 # in D'.
4283 mkdir conftest.dir
4284 # Copy depcomp to subdir because otherwise we won't find it if we're
4285 # using a relative directory.
4286 cp "$am_depcomp" conftest.dir
4287 cd conftest.dir
4288 # We will build objects and dependencies in a subdirectory because
4289 # it helps to detect inapplicable dependency modes. For instance
4290 # both Tru64's cc and ICC support -MD to output dependencies as a
4291 # side effect of compilation, but ICC will put the dependencies in
4292 # the current directory while Tru64 will put them in the object
4293 # directory.
4294 mkdir sub
4296 am_cv_CC_dependencies_compiler_type=none
4297 if test "$am_compiler_list" = ""; then
4298 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4300 am__universal=false
4301 case " $depcc " in #(
4302 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4303 esac
4305 for depmode in $am_compiler_list; do
4306 # Setup a source with many dependencies, because some compilers
4307 # like to wrap large dependency lists on column 80 (with \), and
4308 # we should not choose a depcomp mode which is confused by this.
4310 # We need to recreate these files for each test, as the compiler may
4311 # overwrite some of them when testing with obscure command lines.
4312 # This happens at least with the AIX C compiler.
4313 : > sub/conftest.c
4314 for i in 1 2 3 4 5 6; do
4315 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4316 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4317 # Solaris 8's {/usr,}/bin/sh.
4318 touch sub/conftst$i.h
4319 done
4320 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4322 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4323 # mode. It turns out that the SunPro C++ compiler does not properly
4324 # handle `-M -o', and we need to detect this. Also, some Intel
4325 # versions had trouble with output in subdirs
4326 am__obj=sub/conftest.${OBJEXT-o}
4327 am__minus_obj="-o $am__obj"
4328 case $depmode in
4329 gcc)
4330 # This depmode causes a compiler race in universal mode.
4331 test "$am__universal" = false || continue
4333 nosideeffect)
4334 # after this tag, mechanisms are not by side-effect, so they'll
4335 # only be used when explicitly requested
4336 if test "x$enable_dependency_tracking" = xyes; then
4337 continue
4338 else
4339 break
4342 msvisualcpp | msvcmsys)
4343 # This compiler won't grok `-c -o', but also, the minuso test has
4344 # not run yet. These depmodes are late enough in the game, and
4345 # so weak that their functioning should not be impacted.
4346 am__obj=conftest.${OBJEXT-o}
4347 am__minus_obj=
4349 none) break ;;
4350 esac
4351 if depmode=$depmode \
4352 source=sub/conftest.c object=$am__obj \
4353 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4354 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4355 >/dev/null 2>conftest.err &&
4356 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4357 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4358 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4359 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4360 # icc doesn't choke on unknown options, it will just issue warnings
4361 # or remarks (even with -Werror). So we grep stderr for any message
4362 # that says an option was ignored or not supported.
4363 # When given -MP, icc 7.0 and 7.1 complain thusly:
4364 # icc: Command line warning: ignoring option '-M'; no argument required
4365 # The diagnosis changed in icc 8.0:
4366 # icc: Command line remark: option '-MP' not supported
4367 if (grep 'ignoring option' conftest.err ||
4368 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4369 am_cv_CC_dependencies_compiler_type=$depmode
4370 break
4373 done
4375 cd ..
4376 rm -rf conftest.dir
4377 else
4378 am_cv_CC_dependencies_compiler_type=none
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4383 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4384 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4387 test "x$enable_dependency_tracking" != xno \
4388 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4389 am__fastdepCC_TRUE=
4390 am__fastdepCC_FALSE='#'
4391 else
4392 am__fastdepCC_TRUE='#'
4393 am__fastdepCC_FALSE=
4399 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4400 if test "x$GCC" = "xyes"; then
4401 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4402 ## We like to use C99 routines when available. This makes sure that
4403 ## __STDC_VERSION__ is set such that libc includes make them available.
4404 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4405 ## Compile the following tests with the same system header contents
4406 ## that we'll encounter when compiling our own source files.
4407 CFLAGS="-std=gnu99 $CFLAGS"
4413 # Check for symbol versioning (copied from libssp).
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4415 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4416 cat > conftest.map <<EOF
4417 FOO_1.0 {
4418 global: *foo*; bar; local: *;
4421 save_LDFLAGS="$LDFLAGS"
4422 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4424 if test x$gcc_no_link = xyes; then
4425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 int foo;
4431 main ()
4435 return 0;
4437 _ACEOF
4438 if ac_fn_c_try_link "$LINENO"; then :
4439 gfortran_use_symver=yes
4440 else
4441 gfortran_use_symver=no
4443 rm -f core conftest.err conftest.$ac_objext \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LDFLAGS="$save_LDFLAGS"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4447 $as_echo "$gfortran_use_symver" >&6; }
4448 if test "x$gfortran_use_symver" = xyes; then
4449 LIBGFOR_USE_SYMVER_TRUE=
4450 LIBGFOR_USE_SYMVER_FALSE='#'
4451 else
4452 LIBGFOR_USE_SYMVER_TRUE='#'
4453 LIBGFOR_USE_SYMVER_FALSE=
4457 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4458 # similarly to how libstdc++ does it
4459 ac_test_CFLAGS="${CFLAGS+set}"
4460 ac_save_CFLAGS="$CFLAGS"
4462 # Check for -ffunction-sections -fdata-sections
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4464 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4465 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4470 main ()
4472 int foo;
4474 return 0;
4476 _ACEOF
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_fdsections=yes
4479 else
4480 ac_fdsections=no
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483 if test "$ac_test_CFLAGS" = set; then
4484 CFLAGS="$ac_save_CFLAGS"
4485 else
4486 # this is the suspicious part
4487 CFLAGS=""
4489 if test x"$ac_fdsections" = x"yes"; then
4490 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4493 $as_echo "$ac_fdsections" >&6; }
4496 # Find other programs we need.
4497 if test -n "$ac_tool_prefix"; then
4498 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4499 set dummy ${ac_tool_prefix}as; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if test "${ac_cv_prog_AS+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4504 else
4505 if test -n "$AS"; then
4506 ac_cv_prog_AS="$AS" # Let the user override the test.
4507 else
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH
4511 IFS=$as_save_IFS
4512 test -z "$as_dir" && as_dir=.
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 ac_cv_prog_AS="${ac_tool_prefix}as"
4516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 break 2
4519 done
4520 done
4521 IFS=$as_save_IFS
4525 AS=$ac_cv_prog_AS
4526 if test -n "$AS"; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4528 $as_echo "$AS" >&6; }
4529 else
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4536 if test -z "$ac_cv_prog_AS"; then
4537 ac_ct_AS=$AS
4538 # Extract the first word of "as", so it can be a program name with args.
4539 set dummy as; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 if test -n "$ac_ct_AS"; then
4546 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_ac_ct_AS="as"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4565 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4566 if test -n "$ac_ct_AS"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4568 $as_echo "$ac_ct_AS" >&6; }
4569 else
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4574 if test "x$ac_ct_AS" = x; then
4575 AS=""
4576 else
4577 case $cross_compiling:$ac_tool_warned in
4578 yes:)
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581 ac_tool_warned=yes ;;
4582 esac
4583 AS=$ac_ct_AS
4585 else
4586 AS="$ac_cv_prog_AS"
4589 if test -n "$ac_tool_prefix"; then
4590 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4591 set dummy ${ac_tool_prefix}ar; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if test "${ac_cv_prog_AR+set}" = set; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 if test -n "$AR"; then
4598 ac_cv_prog_AR="$AR" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_prog_AR="${ac_tool_prefix}ar"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4613 IFS=$as_save_IFS
4617 AR=$ac_cv_prog_AR
4618 if test -n "$AR"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4620 $as_echo "$AR" >&6; }
4621 else
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4628 if test -z "$ac_cv_prog_AR"; then
4629 ac_ct_AR=$AR
4630 # Extract the first word of "ar", so it can be a program name with args.
4631 set dummy ar; ac_word=$2
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4635 $as_echo_n "(cached) " >&6
4636 else
4637 if test -n "$ac_ct_AR"; then
4638 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4643 IFS=$as_save_IFS
4644 test -z "$as_dir" && as_dir=.
4645 for ac_exec_ext in '' $ac_executable_extensions; do
4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647 ac_cv_prog_ac_ct_AR="ar"
4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 break 2
4651 done
4652 done
4653 IFS=$as_save_IFS
4657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4658 if test -n "$ac_ct_AR"; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4660 $as_echo "$ac_ct_AR" >&6; }
4661 else
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4666 if test "x$ac_ct_AR" = x; then
4667 AR=""
4668 else
4669 case $cross_compiling:$ac_tool_warned in
4670 yes:)
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4673 ac_tool_warned=yes ;;
4674 esac
4675 AR=$ac_ct_AR
4677 else
4678 AR="$ac_cv_prog_AR"
4681 if test -n "$ac_tool_prefix"; then
4682 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4683 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4688 else
4689 if test -n "$RANLIB"; then
4690 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4695 IFS=$as_save_IFS
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 break 2
4703 done
4704 done
4705 IFS=$as_save_IFS
4709 RANLIB=$ac_cv_prog_RANLIB
4710 if test -n "$RANLIB"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4712 $as_echo "$RANLIB" >&6; }
4713 else
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4720 if test -z "$ac_cv_prog_RANLIB"; then
4721 ac_ct_RANLIB=$RANLIB
4722 # Extract the first word of "ranlib", so it can be a program name with args.
4723 set dummy ranlib; ac_word=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4727 $as_echo_n "(cached) " >&6
4728 else
4729 if test -n "$ac_ct_RANLIB"; then
4730 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4731 else
4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 for as_dir in $PATH
4735 IFS=$as_save_IFS
4736 test -z "$as_dir" && as_dir=.
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4739 ac_cv_prog_ac_ct_RANLIB="ranlib"
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 break 2
4743 done
4744 done
4745 IFS=$as_save_IFS
4749 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4750 if test -n "$ac_ct_RANLIB"; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4752 $as_echo "$ac_ct_RANLIB" >&6; }
4753 else
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4758 if test "x$ac_ct_RANLIB" = x; then
4759 RANLIB="ranlib-not-found-in-path-error"
4760 else
4761 case $cross_compiling:$ac_tool_warned in
4762 yes:)
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4765 ac_tool_warned=yes ;;
4766 esac
4767 RANLIB=$ac_ct_RANLIB
4769 else
4770 RANLIB="$ac_cv_prog_RANLIB"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4775 set x ${MAKE-make}
4776 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4777 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4778 $as_echo_n "(cached) " >&6
4779 else
4780 cat >conftest.make <<\_ACEOF
4781 SHELL = /bin/sh
4782 all:
4783 @echo '@@@%%%=$(MAKE)=@@@%%%'
4784 _ACEOF
4785 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4787 *@@@%%%=?*=@@@%%%*)
4788 eval ac_cv_prog_make_${ac_make}_set=yes;;
4790 eval ac_cv_prog_make_${ac_make}_set=no;;
4791 esac
4792 rm -f conftest.make
4794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4797 SET_MAKE=
4798 else
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 SET_MAKE="MAKE=${MAKE-make}"
4806 # Configure libtool
4807 #AC_MSG_NOTICE([====== Starting libtool configuration])
4808 enable_dlopen=yes
4812 case `pwd` in
4813 *\ * | *\ *)
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4815 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4816 esac
4820 macro_version='2.2.7a'
4821 macro_revision='1.3134'
4835 ltmain="$ac_aux_dir/ltmain.sh"
4837 # Backslashify metacharacters that are still active within
4838 # double-quoted strings.
4839 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4841 # Same as above, but do not quote variable references.
4842 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4844 # Sed substitution to delay expansion of an escaped shell variable in a
4845 # double_quote_subst'ed string.
4846 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4848 # Sed substitution to delay expansion of an escaped single quote.
4849 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4851 # Sed substitution to avoid accidental globbing in evaled expressions
4852 no_glob_subst='s/\*/\\\*/g'
4854 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4855 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4859 $as_echo_n "checking how to print strings... " >&6; }
4860 # Test print first, because it will be a builtin if present.
4861 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4862 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4863 ECHO='print -r --'
4864 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4865 ECHO='printf %s\n'
4866 else
4867 # Use this function as a fallback that always works.
4868 func_fallback_echo ()
4870 eval 'cat <<_LTECHO_EOF
4872 _LTECHO_EOF'
4874 ECHO='func_fallback_echo'
4877 # func_echo_all arg...
4878 # Invoke $ECHO with all args, space-separated.
4879 func_echo_all ()
4881 $ECHO ""
4884 case "$ECHO" in
4885 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4886 $as_echo "printf" >&6; } ;;
4887 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4888 $as_echo "print -r" >&6; } ;;
4889 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4890 $as_echo "cat" >&6; } ;;
4891 esac
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4907 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4908 if test "${ac_cv_path_SED+set}" = set; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4912 for ac_i in 1 2 3 4 5 6 7; do
4913 ac_script="$ac_script$as_nl$ac_script"
4914 done
4915 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4916 { ac_script=; unset ac_script;}
4917 if test -z "$SED"; then
4918 ac_path_SED_found=false
4919 # Loop through the user's path and test for each of PROGNAME-LIST
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4923 IFS=$as_save_IFS
4924 test -z "$as_dir" && as_dir=.
4925 for ac_prog in sed gsed; do
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4928 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4929 # Check for GNU ac_path_SED and select it if it is found.
4930 # Check for GNU $ac_path_SED
4931 case `"$ac_path_SED" --version 2>&1` in
4932 *GNU*)
4933 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4935 ac_count=0
4936 $as_echo_n 0123456789 >"conftest.in"
4937 while :
4939 cat "conftest.in" "conftest.in" >"conftest.tmp"
4940 mv "conftest.tmp" "conftest.in"
4941 cp "conftest.in" "conftest.nl"
4942 $as_echo '' >> "conftest.nl"
4943 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4944 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4945 as_fn_arith $ac_count + 1 && ac_count=$as_val
4946 if test $ac_count -gt ${ac_path_SED_max-0}; then
4947 # Best one so far, save it but keep looking for a better one
4948 ac_cv_path_SED="$ac_path_SED"
4949 ac_path_SED_max=$ac_count
4951 # 10*(2^10) chars as input seems more than enough
4952 test $ac_count -gt 10 && break
4953 done
4954 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4955 esac
4957 $ac_path_SED_found && break 3
4958 done
4959 done
4960 done
4961 IFS=$as_save_IFS
4962 if test -z "$ac_cv_path_SED"; then
4963 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4965 else
4966 ac_cv_path_SED=$SED
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4971 $as_echo "$ac_cv_path_SED" >&6; }
4972 SED="$ac_cv_path_SED"
4973 rm -f conftest.sed
4975 test -z "$SED" && SED=sed
4976 Xsed="$SED -e 1s/^X//"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4989 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4990 if test "${ac_cv_path_GREP+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -z "$GREP"; then
4994 ac_path_GREP_found=false
4995 # Loop through the user's path and test for each of PROGNAME-LIST
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_prog in grep ggrep; do
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5004 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5005 # Check for GNU ac_path_GREP and select it if it is found.
5006 # Check for GNU $ac_path_GREP
5007 case `"$ac_path_GREP" --version 2>&1` in
5008 *GNU*)
5009 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5011 ac_count=0
5012 $as_echo_n 0123456789 >"conftest.in"
5013 while :
5015 cat "conftest.in" "conftest.in" >"conftest.tmp"
5016 mv "conftest.tmp" "conftest.in"
5017 cp "conftest.in" "conftest.nl"
5018 $as_echo 'GREP' >> "conftest.nl"
5019 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5020 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5021 as_fn_arith $ac_count + 1 && ac_count=$as_val
5022 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5023 # Best one so far, save it but keep looking for a better one
5024 ac_cv_path_GREP="$ac_path_GREP"
5025 ac_path_GREP_max=$ac_count
5027 # 10*(2^10) chars as input seems more than enough
5028 test $ac_count -gt 10 && break
5029 done
5030 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5031 esac
5033 $ac_path_GREP_found && break 3
5034 done
5035 done
5036 done
5037 IFS=$as_save_IFS
5038 if test -z "$ac_cv_path_GREP"; then
5039 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5041 else
5042 ac_cv_path_GREP=$GREP
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5047 $as_echo "$ac_cv_path_GREP" >&6; }
5048 GREP="$ac_cv_path_GREP"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5052 $as_echo_n "checking for egrep... " >&6; }
5053 if test "${ac_cv_path_EGREP+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5057 then ac_cv_path_EGREP="$GREP -E"
5058 else
5059 if test -z "$EGREP"; then
5060 ac_path_EGREP_found=false
5061 # Loop through the user's path and test for each of PROGNAME-LIST
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_prog in egrep; do
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5070 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5071 # Check for GNU ac_path_EGREP and select it if it is found.
5072 # Check for GNU $ac_path_EGREP
5073 case `"$ac_path_EGREP" --version 2>&1` in
5074 *GNU*)
5075 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5077 ac_count=0
5078 $as_echo_n 0123456789 >"conftest.in"
5079 while :
5081 cat "conftest.in" "conftest.in" >"conftest.tmp"
5082 mv "conftest.tmp" "conftest.in"
5083 cp "conftest.in" "conftest.nl"
5084 $as_echo 'EGREP' >> "conftest.nl"
5085 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5087 as_fn_arith $ac_count + 1 && ac_count=$as_val
5088 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5089 # Best one so far, save it but keep looking for a better one
5090 ac_cv_path_EGREP="$ac_path_EGREP"
5091 ac_path_EGREP_max=$ac_count
5093 # 10*(2^10) chars as input seems more than enough
5094 test $ac_count -gt 10 && break
5095 done
5096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5097 esac
5099 $ac_path_EGREP_found && break 3
5100 done
5101 done
5102 done
5103 IFS=$as_save_IFS
5104 if test -z "$ac_cv_path_EGREP"; then
5105 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5107 else
5108 ac_cv_path_EGREP=$EGREP
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5114 $as_echo "$ac_cv_path_EGREP" >&6; }
5115 EGREP="$ac_cv_path_EGREP"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5119 $as_echo_n "checking for fgrep... " >&6; }
5120 if test "${ac_cv_path_FGREP+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5124 then ac_cv_path_FGREP="$GREP -F"
5125 else
5126 if test -z "$FGREP"; then
5127 ac_path_FGREP_found=false
5128 # Loop through the user's path and test for each of PROGNAME-LIST
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_prog in fgrep; do
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5137 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5138 # Check for GNU ac_path_FGREP and select it if it is found.
5139 # Check for GNU $ac_path_FGREP
5140 case `"$ac_path_FGREP" --version 2>&1` in
5141 *GNU*)
5142 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5144 ac_count=0
5145 $as_echo_n 0123456789 >"conftest.in"
5146 while :
5148 cat "conftest.in" "conftest.in" >"conftest.tmp"
5149 mv "conftest.tmp" "conftest.in"
5150 cp "conftest.in" "conftest.nl"
5151 $as_echo 'FGREP' >> "conftest.nl"
5152 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5153 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5154 as_fn_arith $ac_count + 1 && ac_count=$as_val
5155 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5156 # Best one so far, save it but keep looking for a better one
5157 ac_cv_path_FGREP="$ac_path_FGREP"
5158 ac_path_FGREP_max=$ac_count
5160 # 10*(2^10) chars as input seems more than enough
5161 test $ac_count -gt 10 && break
5162 done
5163 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5164 esac
5166 $ac_path_FGREP_found && break 3
5167 done
5168 done
5169 done
5170 IFS=$as_save_IFS
5171 if test -z "$ac_cv_path_FGREP"; then
5172 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5174 else
5175 ac_cv_path_FGREP=$FGREP
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5181 $as_echo "$ac_cv_path_FGREP" >&6; }
5182 FGREP="$ac_cv_path_FGREP"
5185 test -z "$GREP" && GREP=grep
5205 # Check whether --with-gnu-ld was given.
5206 if test "${with_gnu_ld+set}" = set; then :
5207 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5208 else
5209 with_gnu_ld=no
5212 ac_prog=ld
5213 if test "$GCC" = yes; then
5214 # Check if gcc -print-prog-name=ld gives a path.
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5216 $as_echo_n "checking for ld used by $CC... " >&6; }
5217 case $host in
5218 *-*-mingw*)
5219 # gcc leaves a trailing carriage return which upsets mingw
5220 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5222 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5223 esac
5224 case $ac_prog in
5225 # Accept absolute paths.
5226 [\\/]* | ?:[\\/]*)
5227 re_direlt='/[^/][^/]*/\.\./'
5228 # Canonicalize the pathname of ld
5229 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5230 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5231 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5232 done
5233 test -z "$LD" && LD="$ac_prog"
5236 # If it fails, then pretend we aren't using GCC.
5237 ac_prog=ld
5240 # If it is relative, then search for the first ld in PATH.
5241 with_gnu_ld=unknown
5243 esac
5244 elif test "$with_gnu_ld" = yes; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5246 $as_echo_n "checking for GNU ld... " >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5249 $as_echo_n "checking for non-GNU ld... " >&6; }
5251 if test "${lt_cv_path_LD+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -z "$LD"; then
5255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5256 for ac_dir in $PATH; do
5257 IFS="$lt_save_ifs"
5258 test -z "$ac_dir" && ac_dir=.
5259 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5260 lt_cv_path_LD="$ac_dir/$ac_prog"
5261 # Check to see if the program is GNU ld. I'd rather use --version,
5262 # but apparently some variants of GNU ld only accept -v.
5263 # Break only if it was the GNU/non-GNU ld that we prefer.
5264 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5265 *GNU* | *'with BFD'*)
5266 test "$with_gnu_ld" != no && break
5269 test "$with_gnu_ld" != yes && break
5271 esac
5273 done
5274 IFS="$lt_save_ifs"
5275 else
5276 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5280 LD="$lt_cv_path_LD"
5281 if test -n "$LD"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5283 $as_echo "$LD" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5288 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5290 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5291 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5295 case `$LD -v 2>&1 </dev/null` in
5296 *GNU* | *'with BFD'*)
5297 lt_cv_prog_gnu_ld=yes
5300 lt_cv_prog_gnu_ld=no
5302 esac
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5305 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5306 with_gnu_ld=$lt_cv_prog_gnu_ld
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5317 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5318 if test "${lt_cv_path_NM+set}" = set; then :
5319 $as_echo_n "(cached) " >&6
5320 else
5321 if test -n "$NM"; then
5322 # Let the user override the test.
5323 lt_cv_path_NM="$NM"
5324 else
5325 lt_nm_to_check="${ac_tool_prefix}nm"
5326 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5327 lt_nm_to_check="$lt_nm_to_check nm"
5329 for lt_tmp_nm in $lt_nm_to_check; do
5330 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5331 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5332 IFS="$lt_save_ifs"
5333 test -z "$ac_dir" && ac_dir=.
5334 tmp_nm="$ac_dir/$lt_tmp_nm"
5335 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5336 # Check to see if the nm accepts a BSD-compat flag.
5337 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5338 # nm: unknown option "B" ignored
5339 # Tru64's nm complains that /dev/null is an invalid object file
5340 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5341 */dev/null* | *'Invalid file or object type'*)
5342 lt_cv_path_NM="$tmp_nm -B"
5343 break
5346 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5347 */dev/null*)
5348 lt_cv_path_NM="$tmp_nm -p"
5349 break
5352 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5353 continue # so that we can try to find one that supports BSD flags
5355 esac
5357 esac
5359 done
5360 IFS="$lt_save_ifs"
5361 done
5362 : ${lt_cv_path_NM=no}
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5366 $as_echo "$lt_cv_path_NM" >&6; }
5367 if test "$lt_cv_path_NM" != "no"; then
5368 NM="$lt_cv_path_NM"
5369 else
5370 # Didn't find any BSD compatible name lister, look for dumpbin.
5371 if test -n "$DUMPBIN"; then :
5372 # Let the user override the test.
5373 else
5374 if test -n "$ac_tool_prefix"; then
5375 for ac_prog in dumpbin "link -dump"
5377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$DUMPBIN"; then
5385 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 DUMPBIN=$ac_cv_prog_DUMPBIN
5405 if test -n "$DUMPBIN"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5407 $as_echo "$DUMPBIN" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5414 test -n "$DUMPBIN" && break
5415 done
5417 if test -z "$DUMPBIN"; then
5418 ac_ct_DUMPBIN=$DUMPBIN
5419 for ac_prog in dumpbin "link -dump"
5421 # Extract the first word of "$ac_prog", so it can be a program name with args.
5422 set dummy $ac_prog; ac_word=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if test -n "$ac_ct_DUMPBIN"; then
5429 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5430 else
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH
5434 IFS=$as_save_IFS
5435 test -z "$as_dir" && as_dir=.
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5438 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 break 2
5442 done
5443 done
5444 IFS=$as_save_IFS
5448 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5449 if test -n "$ac_ct_DUMPBIN"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5451 $as_echo "$ac_ct_DUMPBIN" >&6; }
5452 else
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5458 test -n "$ac_ct_DUMPBIN" && break
5459 done
5461 if test "x$ac_ct_DUMPBIN" = x; then
5462 DUMPBIN=":"
5463 else
5464 case $cross_compiling:$ac_tool_warned in
5465 yes:)
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned=yes ;;
5469 esac
5470 DUMPBIN=$ac_ct_DUMPBIN
5474 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5475 *COFF*)
5476 DUMPBIN="$DUMPBIN -symbols"
5479 DUMPBIN=:
5481 esac
5484 if test "$DUMPBIN" != ":"; then
5485 NM="$DUMPBIN"
5488 test -z "$NM" && NM=nm
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5496 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5497 if test "${lt_cv_nm_interface+set}" = set; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 lt_cv_nm_interface="BSD nm"
5501 echo "int some_variable = 0;" > conftest.$ac_ext
5502 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5503 (eval "$ac_compile" 2>conftest.err)
5504 cat conftest.err >&5
5505 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5506 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5507 cat conftest.err >&5
5508 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5509 cat conftest.out >&5
5510 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5511 lt_cv_nm_interface="MS dumpbin"
5513 rm -f conftest*
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5516 $as_echo "$lt_cv_nm_interface" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5519 $as_echo_n "checking whether ln -s works... " >&6; }
5520 LN_S=$as_ln_s
5521 if test "$LN_S" = "ln -s"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5523 $as_echo "yes" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5526 $as_echo "no, using $LN_S" >&6; }
5529 # find the maximum length of command line arguments
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5531 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5532 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5536 teststring="ABCD"
5538 case $build_os in
5539 msdosdjgpp*)
5540 # On DJGPP, this test can blow up pretty badly due to problems in libc
5541 # (any single argument exceeding 2000 bytes causes a buffer overrun
5542 # during glob expansion). Even if it were fixed, the result of this
5543 # check would be larger than it should be.
5544 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5547 gnu*)
5548 # Under GNU Hurd, this test is not required because there is
5549 # no limit to the length of command line arguments.
5550 # Libtool will interpret -1 as no limit whatsoever
5551 lt_cv_sys_max_cmd_len=-1;
5554 cygwin* | mingw* | cegcc*)
5555 # On Win9x/ME, this test blows up -- it succeeds, but takes
5556 # about 5 minutes as the teststring grows exponentially.
5557 # Worse, since 9x/ME are not pre-emptively multitasking,
5558 # you end up with a "frozen" computer, even though with patience
5559 # the test eventually succeeds (with a max line length of 256k).
5560 # Instead, let's just punt: use the minimum linelength reported by
5561 # all of the supported platforms: 8192 (on NT/2K/XP).
5562 lt_cv_sys_max_cmd_len=8192;
5565 mint*)
5566 # On MiNT this can take a long time and run out of memory.
5567 lt_cv_sys_max_cmd_len=8192;
5570 amigaos*)
5571 # On AmigaOS with pdksh, this test takes hours, literally.
5572 # So we just punt and use a minimum line length of 8192.
5573 lt_cv_sys_max_cmd_len=8192;
5576 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5577 # This has been around since 386BSD, at least. Likely further.
5578 if test -x /sbin/sysctl; then
5579 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5580 elif test -x /usr/sbin/sysctl; then
5581 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5582 else
5583 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5585 # And add a safety zone
5586 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5587 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5590 interix*)
5591 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5592 lt_cv_sys_max_cmd_len=196608
5595 osf*)
5596 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5597 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5598 # nice to cause kernel panics so lets avoid the loop below.
5599 # First set a reasonable default.
5600 lt_cv_sys_max_cmd_len=16384
5602 if test -x /sbin/sysconfig; then
5603 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5604 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5605 esac
5608 sco3.2v5*)
5609 lt_cv_sys_max_cmd_len=102400
5611 sysv5* | sco5v6* | sysv4.2uw2*)
5612 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5613 if test -n "$kargmax"; then
5614 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5615 else
5616 lt_cv_sys_max_cmd_len=32768
5620 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5621 if test -n "$lt_cv_sys_max_cmd_len"; then
5622 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5623 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5624 else
5625 # Make teststring a little bigger before we do anything with it.
5626 # a 1K string should be a reasonable start.
5627 for i in 1 2 3 4 5 6 7 8 ; do
5628 teststring=$teststring$teststring
5629 done
5630 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5631 # If test is not a shell built-in, we'll probably end up computing a
5632 # maximum length that is only half of the actual maximum length, but
5633 # we can't tell.
5634 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5635 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5636 test $i != 17 # 1/2 MB should be enough
5638 i=`expr $i + 1`
5639 teststring=$teststring$teststring
5640 done
5641 # Only check the string length outside the loop.
5642 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5643 teststring=
5644 # Add a significant safety factor because C++ compilers can tack on
5645 # massive amounts of additional arguments before passing them to the
5646 # linker. It appears as though 1/2 is a usable value.
5647 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5650 esac
5654 if test -n $lt_cv_sys_max_cmd_len ; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5656 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5657 else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5659 $as_echo "none" >&6; }
5661 max_cmd_len=$lt_cv_sys_max_cmd_len
5668 : ${CP="cp -f"}
5669 : ${MV="mv -f"}
5670 : ${RM="rm -f"}
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5673 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5674 # Try some XSI features
5675 xsi_shell=no
5676 ( _lt_dummy="a/b/c"
5677 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5678 = c,a/b,, \
5679 && eval 'test $(( 1 + 1 )) -eq 2 \
5680 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5681 && xsi_shell=yes
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5683 $as_echo "$xsi_shell" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5687 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5688 lt_shell_append=no
5689 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5690 >/dev/null 2>&1 \
5691 && lt_shell_append=yes
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5693 $as_echo "$lt_shell_append" >&6; }
5696 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5697 lt_unset=unset
5698 else
5699 lt_unset=false
5706 # test EBCDIC or ASCII
5707 case `echo X|tr X '\101'` in
5708 A) # ASCII based system
5709 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5710 lt_SP2NL='tr \040 \012'
5711 lt_NL2SP='tr \015\012 \040\040'
5713 *) # EBCDIC based system
5714 lt_SP2NL='tr \100 \n'
5715 lt_NL2SP='tr \r\n \100\100'
5717 esac
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5728 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5729 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 lt_cv_ld_reload_flag='-r'
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5735 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5736 reload_flag=$lt_cv_ld_reload_flag
5737 case $reload_flag in
5738 "" | " "*) ;;
5739 *) reload_flag=" $reload_flag" ;;
5740 esac
5741 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5742 case $host_os in
5743 darwin*)
5744 if test "$GCC" = yes; then
5745 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5746 else
5747 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5750 esac
5760 if test -n "$ac_tool_prefix"; then
5761 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5762 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5766 $as_echo_n "(cached) " >&6
5767 else
5768 if test -n "$OBJDUMP"; then
5769 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5770 else
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 for as_dir in $PATH
5774 IFS=$as_save_IFS
5775 test -z "$as_dir" && as_dir=.
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 break 2
5782 done
5783 done
5784 IFS=$as_save_IFS
5788 OBJDUMP=$ac_cv_prog_OBJDUMP
5789 if test -n "$OBJDUMP"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5791 $as_echo "$OBJDUMP" >&6; }
5792 else
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5799 if test -z "$ac_cv_prog_OBJDUMP"; then
5800 ac_ct_OBJDUMP=$OBJDUMP
5801 # Extract the first word of "objdump", so it can be a program name with args.
5802 set dummy objdump; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5808 if test -n "$ac_ct_OBJDUMP"; then
5809 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 break 2
5822 done
5823 done
5824 IFS=$as_save_IFS
5828 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5829 if test -n "$ac_ct_OBJDUMP"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5831 $as_echo "$ac_ct_OBJDUMP" >&6; }
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5837 if test "x$ac_ct_OBJDUMP" = x; then
5838 OBJDUMP="false"
5839 else
5840 case $cross_compiling:$ac_tool_warned in
5841 yes:)
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5844 ac_tool_warned=yes ;;
5845 esac
5846 OBJDUMP=$ac_ct_OBJDUMP
5848 else
5849 OBJDUMP="$ac_cv_prog_OBJDUMP"
5852 test -z "$OBJDUMP" && OBJDUMP=objdump
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5863 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5864 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 lt_cv_file_magic_cmd='$MAGIC_CMD'
5868 lt_cv_file_magic_test_file=
5869 lt_cv_deplibs_check_method='unknown'
5870 # Need to set the preceding variable on all platforms that support
5871 # interlibrary dependencies.
5872 # 'none' -- dependencies not supported.
5873 # `unknown' -- same as none, but documents that we really don't know.
5874 # 'pass_all' -- all dependencies passed with no checks.
5875 # 'test_compile' -- check by making test program.
5876 # 'file_magic [[regex]]' -- check by looking for files in library path
5877 # which responds to the $file_magic_cmd with a given extended regex.
5878 # If you have `file' or equivalent on your system and you're not sure
5879 # whether `pass_all' will *always* work, you probably want this one.
5881 case $host_os in
5882 aix[4-9]*)
5883 lt_cv_deplibs_check_method=pass_all
5886 beos*)
5887 lt_cv_deplibs_check_method=pass_all
5890 bsdi[45]*)
5891 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5892 lt_cv_file_magic_cmd='/usr/bin/file -L'
5893 lt_cv_file_magic_test_file=/shlib/libc.so
5896 cygwin*)
5897 # func_win32_libid is a shell function defined in ltmain.sh
5898 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5899 lt_cv_file_magic_cmd='func_win32_libid'
5902 mingw* | pw32*)
5903 # Base MSYS/MinGW do not provide the 'file' command needed by
5904 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5905 # unless we find 'file', for example because we are cross-compiling.
5906 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5907 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5909 lt_cv_file_magic_cmd='func_win32_libid'
5910 else
5911 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5912 lt_cv_file_magic_cmd='$OBJDUMP -f'
5916 cegcc*)
5917 # use the weaker test based on 'objdump'. See mingw*.
5918 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5919 lt_cv_file_magic_cmd='$OBJDUMP -f'
5922 darwin* | rhapsody*)
5923 lt_cv_deplibs_check_method=pass_all
5926 freebsd* | dragonfly*)
5927 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5928 case $host_cpu in
5929 i*86 )
5930 # Not sure whether the presence of OpenBSD here was a mistake.
5931 # Let's accept both of them until this is cleared up.
5932 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5933 lt_cv_file_magic_cmd=/usr/bin/file
5934 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5936 esac
5937 else
5938 lt_cv_deplibs_check_method=pass_all
5942 gnu*)
5943 lt_cv_deplibs_check_method=pass_all
5946 haiku*)
5947 lt_cv_deplibs_check_method=pass_all
5950 hpux10.20* | hpux11*)
5951 lt_cv_file_magic_cmd=/usr/bin/file
5952 case $host_cpu in
5953 ia64*)
5954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5957 hppa*64*)
5958 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5959 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5963 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5965 esac
5968 interix[3-9]*)
5969 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5973 irix5* | irix6* | nonstopux*)
5974 case $LD in
5975 *-32|*"-32 ") libmagic=32-bit;;
5976 *-n32|*"-n32 ") libmagic=N32;;
5977 *-64|*"-64 ") libmagic=64-bit;;
5978 *) libmagic=never-match;;
5979 esac
5980 lt_cv_deplibs_check_method=pass_all
5983 # This must be Linux ELF.
5984 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5985 lt_cv_deplibs_check_method=pass_all
5988 netbsd*)
5989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5991 else
5992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5996 newos6*)
5997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6002 *nto* | *qnx*)
6003 lt_cv_deplibs_check_method=pass_all
6006 openbsd*)
6007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6009 else
6010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6014 osf3* | osf4* | osf5*)
6015 lt_cv_deplibs_check_method=pass_all
6018 rdos*)
6019 lt_cv_deplibs_check_method=pass_all
6022 solaris*)
6023 lt_cv_deplibs_check_method=pass_all
6026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6027 lt_cv_deplibs_check_method=pass_all
6030 sysv4 | sysv4.3*)
6031 case $host_vendor in
6032 motorola)
6033 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]'
6034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6036 ncr)
6037 lt_cv_deplibs_check_method=pass_all
6039 sequent)
6040 lt_cv_file_magic_cmd='/bin/file'
6041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6043 sni)
6044 lt_cv_file_magic_cmd='/bin/file'
6045 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6046 lt_cv_file_magic_test_file=/lib/libc.so
6048 siemens)
6049 lt_cv_deplibs_check_method=pass_all
6052 lt_cv_deplibs_check_method=pass_all
6054 esac
6057 tpf*)
6058 lt_cv_deplibs_check_method=pass_all
6060 esac
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6065 file_magic_cmd=$lt_cv_file_magic_cmd
6066 deplibs_check_method=$lt_cv_deplibs_check_method
6067 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6080 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}ar; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if test "${ac_cv_prog_AR+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 if test -n "$AR"; then
6089 ac_cv_prog_AR="$AR" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6094 IFS=$as_save_IFS
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_AR="${ac_tool_prefix}ar"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 break 2
6102 done
6103 done
6104 IFS=$as_save_IFS
6108 AR=$ac_cv_prog_AR
6109 if test -n "$AR"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6111 $as_echo "$AR" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6119 if test -z "$ac_cv_prog_AR"; then
6120 ac_ct_AR=$AR
6121 # Extract the first word of "ar", so it can be a program name with args.
6122 set dummy ar; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 if test -n "$ac_ct_AR"; then
6129 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6134 IFS=$as_save_IFS
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_ac_ct_AR="ar"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 break 2
6142 done
6143 done
6144 IFS=$as_save_IFS
6148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6149 if test -n "$ac_ct_AR"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6151 $as_echo "$ac_ct_AR" >&6; }
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6157 if test "x$ac_ct_AR" = x; then
6158 AR="false"
6159 else
6160 case $cross_compiling:$ac_tool_warned in
6161 yes:)
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6164 ac_tool_warned=yes ;;
6165 esac
6166 AR=$ac_ct_AR
6168 else
6169 AR="$ac_cv_prog_AR"
6172 test -z "$AR" && AR=ar
6173 test -z "$AR_FLAGS" && AR_FLAGS=cru
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}strip; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if test "${ac_cv_prog_STRIP+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6192 else
6193 if test -n "$STRIP"; then
6194 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6199 IFS=$as_save_IFS
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 break 2
6207 done
6208 done
6209 IFS=$as_save_IFS
6213 STRIP=$ac_cv_prog_STRIP
6214 if test -n "$STRIP"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6216 $as_echo "$STRIP" >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6224 if test -z "$ac_cv_prog_STRIP"; then
6225 ac_ct_STRIP=$STRIP
6226 # Extract the first word of "strip", so it can be a program name with args.
6227 set dummy strip; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 if test -n "$ac_ct_STRIP"; then
6234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6239 IFS=$as_save_IFS
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_ac_ct_STRIP="strip"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 break 2
6247 done
6248 done
6249 IFS=$as_save_IFS
6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6254 if test -n "$ac_ct_STRIP"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6256 $as_echo "$ac_ct_STRIP" >&6; }
6257 else
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6262 if test "x$ac_ct_STRIP" = x; then
6263 STRIP=":"
6264 else
6265 case $cross_compiling:$ac_tool_warned in
6266 yes:)
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned=yes ;;
6270 esac
6271 STRIP=$ac_ct_STRIP
6273 else
6274 STRIP="$ac_cv_prog_STRIP"
6277 test -z "$STRIP" && STRIP=:
6284 if test -n "$ac_tool_prefix"; then
6285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6290 $as_echo_n "(cached) " >&6
6291 else
6292 if test -n "$RANLIB"; then
6293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6298 IFS=$as_save_IFS
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 break 2
6306 done
6307 done
6308 IFS=$as_save_IFS
6312 RANLIB=$ac_cv_prog_RANLIB
6313 if test -n "$RANLIB"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6315 $as_echo "$RANLIB" >&6; }
6316 else
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6323 if test -z "$ac_cv_prog_RANLIB"; then
6324 ac_ct_RANLIB=$RANLIB
6325 # Extract the first word of "ranlib", so it can be a program name with args.
6326 set dummy ranlib; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6330 $as_echo_n "(cached) " >&6
6331 else
6332 if test -n "$ac_ct_RANLIB"; then
6333 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6334 else
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_ac_ct_RANLIB="ranlib"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 break 2
6346 done
6347 done
6348 IFS=$as_save_IFS
6352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6353 if test -n "$ac_ct_RANLIB"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6355 $as_echo "$ac_ct_RANLIB" >&6; }
6356 else
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6361 if test "x$ac_ct_RANLIB" = x; then
6362 RANLIB=":"
6363 else
6364 case $cross_compiling:$ac_tool_warned in
6365 yes:)
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368 ac_tool_warned=yes ;;
6369 esac
6370 RANLIB=$ac_ct_RANLIB
6372 else
6373 RANLIB="$ac_cv_prog_RANLIB"
6376 test -z "$RANLIB" && RANLIB=:
6383 # Determine commands to create old-style static archives.
6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6385 old_postinstall_cmds='chmod 644 $oldlib'
6386 old_postuninstall_cmds=
6388 if test -n "$RANLIB"; then
6389 case $host_os in
6390 openbsd*)
6391 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6394 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6396 esac
6397 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6400 case $host_os in
6401 darwin*)
6402 lock_old_archive_extraction=yes ;;
6404 lock_old_archive_extraction=no ;;
6405 esac
6445 # If no C compiler was specified, use CC.
6446 LTCC=${LTCC-"$CC"}
6448 # If no C compiler flags were specified, use CFLAGS.
6449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6451 # Allow CC to be a program name with arguments.
6452 compiler=$CC
6455 # Check for command to grab the raw symbol name followed by C symbol from nm.
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6457 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6458 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6462 # These are sane defaults that work on at least a few old systems.
6463 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6465 # Character class describing NM global symbol codes.
6466 symcode='[BCDEGRST]'
6468 # Regexp to match symbols that can be accessed directly from C.
6469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6471 # Define system-specific variables.
6472 case $host_os in
6473 aix*)
6474 symcode='[BCDT]'
6476 cygwin* | mingw* | pw32* | cegcc*)
6477 symcode='[ABCDGISTW]'
6479 hpux*)
6480 if test "$host_cpu" = ia64; then
6481 symcode='[ABCDEGRST]'
6484 irix* | nonstopux*)
6485 symcode='[BCDEGRST]'
6487 osf*)
6488 symcode='[BCDEGQRST]'
6490 solaris*)
6491 symcode='[BDRT]'
6493 sco3.2v5*)
6494 symcode='[DT]'
6496 sysv4.2uw2*)
6497 symcode='[DT]'
6499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6500 symcode='[ABDT]'
6502 sysv4)
6503 symcode='[DFNSTU]'
6505 esac
6507 # If we're using GNU nm, then use its standard symbol codes.
6508 case `$NM -V 2>&1` in
6509 *GNU* | *'with BFD'*)
6510 symcode='[ABCDGIRSTW]' ;;
6511 esac
6513 # Transform an extracted symbol line into a proper C declaration.
6514 # Some systems (esp. on ia64) link data and code symbols differently,
6515 # so use this general approach.
6516 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6518 # Transform an extracted symbol line into symbol name and symbol address
6519 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6520 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6522 # Handle CRLF in mingw tool chain
6523 opt_cr=
6524 case $build_os in
6525 mingw*)
6526 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6528 esac
6530 # Try without a prefix underscore, then with it.
6531 for ac_symprfx in "" "_"; do
6533 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6534 symxfrm="\\1 $ac_symprfx\\2 \\2"
6536 # Write the raw and C identifiers.
6537 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6538 # Fake it for dumpbin and say T for any non-static function
6539 # and D for any global variable.
6540 # Also find C++ and __fastcall symbols from MSVC++,
6541 # which start with @ or ?.
6542 lt_cv_sys_global_symbol_pipe="$AWK '"\
6543 " {last_section=section; section=\$ 3};"\
6544 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6545 " \$ 0!~/External *\|/{next};"\
6546 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6547 " {if(hide[section]) next};"\
6548 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6549 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6550 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6551 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6552 " ' prfx=^$ac_symprfx"
6553 else
6554 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6557 # Check to see that the pipe works correctly.
6558 pipe_works=no
6560 rm -f conftest*
6561 cat > conftest.$ac_ext <<_LT_EOF
6562 #ifdef __cplusplus
6563 extern "C" {
6564 #endif
6565 char nm_test_var;
6566 void nm_test_func(void);
6567 void nm_test_func(void){}
6568 #ifdef __cplusplus
6570 #endif
6571 int main(){nm_test_var='a';nm_test_func();return(0);}
6572 _LT_EOF
6574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575 (eval $ac_compile) 2>&5
6576 ac_status=$?
6577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578 test $ac_status = 0; }; then
6579 # Now try to grab the symbols.
6580 nlist=conftest.nm
6581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6582 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6583 ac_status=$?
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585 test $ac_status = 0; } && test -s "$nlist"; then
6586 # Try sorting and uniquifying the output.
6587 if sort "$nlist" | uniq > "$nlist"T; then
6588 mv -f "$nlist"T "$nlist"
6589 else
6590 rm -f "$nlist"T
6593 # Make sure that we snagged all the symbols we need.
6594 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6595 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6596 cat <<_LT_EOF > conftest.$ac_ext
6597 #ifdef __cplusplus
6598 extern "C" {
6599 #endif
6601 _LT_EOF
6602 # Now generate the symbol file.
6603 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6605 cat <<_LT_EOF >> conftest.$ac_ext
6607 /* The mapping between symbol names and symbols. */
6608 const struct {
6609 const char *name;
6610 void *address;
6612 lt__PROGRAM__LTX_preloaded_symbols[] =
6614 { "@PROGRAM@", (void *) 0 },
6615 _LT_EOF
6616 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6617 cat <<\_LT_EOF >> conftest.$ac_ext
6618 {0, (void *) 0}
6621 /* This works around a problem in FreeBSD linker */
6622 #ifdef FREEBSD_WORKAROUND
6623 static const void *lt_preloaded_setup() {
6624 return lt__PROGRAM__LTX_preloaded_symbols;
6626 #endif
6628 #ifdef __cplusplus
6630 #endif
6631 _LT_EOF
6632 # Now try linking the two files.
6633 mv conftest.$ac_objext conftstm.$ac_objext
6634 lt_save_LIBS="$LIBS"
6635 lt_save_CFLAGS="$CFLAGS"
6636 LIBS="conftstm.$ac_objext"
6637 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6639 (eval $ac_link) 2>&5
6640 ac_status=$?
6641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6642 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6643 pipe_works=yes
6645 LIBS="$lt_save_LIBS"
6646 CFLAGS="$lt_save_CFLAGS"
6647 else
6648 echo "cannot find nm_test_func in $nlist" >&5
6650 else
6651 echo "cannot find nm_test_var in $nlist" >&5
6653 else
6654 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6656 else
6657 echo "$progname: failed program was:" >&5
6658 cat conftest.$ac_ext >&5
6660 rm -rf conftest* conftst*
6662 # Do not use the global_symbol_pipe unless it works.
6663 if test "$pipe_works" = yes; then
6664 break
6665 else
6666 lt_cv_sys_global_symbol_pipe=
6668 done
6672 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6673 lt_cv_sys_global_symbol_to_cdecl=
6675 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6677 $as_echo "failed" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6680 $as_echo "ok" >&6; }
6704 # Check whether --enable-libtool-lock was given.
6705 if test "${enable_libtool_lock+set}" = set; then :
6706 enableval=$enable_libtool_lock;
6709 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6711 # Some flags need to be propagated to the compiler or linker for good
6712 # libtool support.
6713 case $host in
6714 ia64-*-hpux*)
6715 # Find out which ABI we are using.
6716 echo 'int i;' > conftest.$ac_ext
6717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718 (eval $ac_compile) 2>&5
6719 ac_status=$?
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6721 test $ac_status = 0; }; then
6722 case `/usr/bin/file conftest.$ac_objext` in
6723 *ELF-32*)
6724 HPUX_IA64_MODE="32"
6726 *ELF-64*)
6727 HPUX_IA64_MODE="64"
6729 esac
6731 rm -rf conftest*
6733 *-*-irix6*)
6734 # Find out which ABI we are using.
6735 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737 (eval $ac_compile) 2>&5
6738 ac_status=$?
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6740 test $ac_status = 0; }; then
6741 if test "$lt_cv_prog_gnu_ld" = yes; then
6742 case `/usr/bin/file conftest.$ac_objext` in
6743 *32-bit*)
6744 LD="${LD-ld} -melf32bsmip"
6746 *N32*)
6747 LD="${LD-ld} -melf32bmipn32"
6749 *64-bit*)
6750 LD="${LD-ld} -melf64bmip"
6752 esac
6753 else
6754 case `/usr/bin/file conftest.$ac_objext` in
6755 *32-bit*)
6756 LD="${LD-ld} -32"
6758 *N32*)
6759 LD="${LD-ld} -n32"
6761 *64-bit*)
6762 LD="${LD-ld} -64"
6764 esac
6767 rm -rf conftest*
6770 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6771 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6772 # Find out which ABI we are using.
6773 echo 'int i;' > conftest.$ac_ext
6774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775 (eval $ac_compile) 2>&5
6776 ac_status=$?
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778 test $ac_status = 0; }; then
6779 case `/usr/bin/file conftest.o` in
6780 *32-bit*)
6781 case $host in
6782 x86_64-*kfreebsd*-gnu)
6783 LD="${LD-ld} -m elf_i386_fbsd"
6785 x86_64-*linux*)
6786 LD="${LD-ld} -m elf_i386"
6788 ppc64-*linux*|powerpc64-*linux*)
6789 LD="${LD-ld} -m elf32ppclinux"
6791 s390x-*linux*)
6792 LD="${LD-ld} -m elf_s390"
6794 sparc64-*linux*)
6795 LD="${LD-ld} -m elf32_sparc"
6797 esac
6799 *64-bit*)
6800 case $host in
6801 x86_64-*kfreebsd*-gnu)
6802 LD="${LD-ld} -m elf_x86_64_fbsd"
6804 x86_64-*linux*)
6805 LD="${LD-ld} -m elf_x86_64"
6807 ppc*-*linux*|powerpc*-*linux*)
6808 LD="${LD-ld} -m elf64ppc"
6810 s390*-*linux*|s390*-*tpf*)
6811 LD="${LD-ld} -m elf64_s390"
6813 sparc*-*linux*)
6814 LD="${LD-ld} -m elf64_sparc"
6816 esac
6818 esac
6820 rm -rf conftest*
6823 *-*-sco3.2v5*)
6824 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6825 SAVE_CFLAGS="$CFLAGS"
6826 CFLAGS="$CFLAGS -belf"
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6828 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6829 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6830 $as_echo_n "(cached) " >&6
6831 else
6832 ac_ext=c
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6838 if test x$gcc_no_link = xyes; then
6839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6845 main ()
6849 return 0;
6851 _ACEOF
6852 if ac_fn_c_try_link "$LINENO"; then :
6853 lt_cv_cc_needs_belf=yes
6854 else
6855 lt_cv_cc_needs_belf=no
6857 rm -f core conftest.err conftest.$ac_objext \
6858 conftest$ac_exeext conftest.$ac_ext
6859 ac_ext=c
6860 ac_cpp='$CPP $CPPFLAGS'
6861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6867 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6868 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6869 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6870 CFLAGS="$SAVE_CFLAGS"
6873 sparc*-*solaris*)
6874 # Find out which ABI we are using.
6875 echo 'int i;' > conftest.$ac_ext
6876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877 (eval $ac_compile) 2>&5
6878 ac_status=$?
6879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6880 test $ac_status = 0; }; then
6881 case `/usr/bin/file conftest.o` in
6882 *64-bit*)
6883 case $lt_cv_prog_gnu_ld in
6884 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6886 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6887 LD="${LD-ld} -64"
6890 esac
6892 esac
6894 rm -rf conftest*
6896 esac
6898 need_locks="$enable_libtool_lock"
6901 case $host_os in
6902 rhapsody* | darwin*)
6903 if test -n "$ac_tool_prefix"; then
6904 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 $as_echo_n "checking for $ac_word... " >&6; }
6908 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 if test -n "$DSYMUTIL"; then
6912 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6913 else
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 for as_dir in $PATH
6917 IFS=$as_save_IFS
6918 test -z "$as_dir" && as_dir=.
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6923 break 2
6925 done
6926 done
6927 IFS=$as_save_IFS
6931 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6932 if test -n "$DSYMUTIL"; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6934 $as_echo "$DSYMUTIL" >&6; }
6935 else
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 $as_echo "no" >&6; }
6942 if test -z "$ac_cv_prog_DSYMUTIL"; then
6943 ac_ct_DSYMUTIL=$DSYMUTIL
6944 # Extract the first word of "dsymutil", so it can be a program name with args.
6945 set dummy dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6949 $as_echo_n "(cached) " >&6
6950 else
6951 if test -n "$ac_ct_DSYMUTIL"; then
6952 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6957 IFS=$as_save_IFS
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 break 2
6965 done
6966 done
6967 IFS=$as_save_IFS
6971 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6972 if test -n "$ac_ct_DSYMUTIL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6974 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6975 else
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6980 if test "x$ac_ct_DSYMUTIL" = x; then
6981 DSYMUTIL=":"
6982 else
6983 case $cross_compiling:$ac_tool_warned in
6984 yes:)
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6987 ac_tool_warned=yes ;;
6988 esac
6989 DSYMUTIL=$ac_ct_DSYMUTIL
6991 else
6992 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$NMEDIT"; then
7004 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7017 done
7018 done
7019 IFS=$as_save_IFS
7023 NMEDIT=$ac_cv_prog_NMEDIT
7024 if test -n "$NMEDIT"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7026 $as_echo "$NMEDIT" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7034 if test -z "$ac_cv_prog_NMEDIT"; then
7035 ac_ct_NMEDIT=$NMEDIT
7036 # Extract the first word of "nmedit", so it can be a program name with args.
7037 set dummy nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7041 $as_echo_n "(cached) " >&6
7042 else
7043 if test -n "$ac_ct_NMEDIT"; then
7044 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7049 IFS=$as_save_IFS
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 break 2
7057 done
7058 done
7059 IFS=$as_save_IFS
7063 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7064 if test -n "$ac_ct_NMEDIT"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7066 $as_echo "$ac_ct_NMEDIT" >&6; }
7067 else
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7072 if test "x$ac_ct_NMEDIT" = x; then
7073 NMEDIT=":"
7074 else
7075 case $cross_compiling:$ac_tool_warned in
7076 yes:)
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned=yes ;;
7080 esac
7081 NMEDIT=$ac_ct_NMEDIT
7083 else
7084 NMEDIT="$ac_cv_prog_NMEDIT"
7087 if test -n "$ac_tool_prefix"; then
7088 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if test "${ac_cv_prog_LIPO+set}" = set; then :
7093 $as_echo_n "(cached) " >&6
7094 else
7095 if test -n "$LIPO"; then
7096 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7101 IFS=$as_save_IFS
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 break 2
7109 done
7110 done
7111 IFS=$as_save_IFS
7115 LIPO=$ac_cv_prog_LIPO
7116 if test -n "$LIPO"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7118 $as_echo "$LIPO" >&6; }
7119 else
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7126 if test -z "$ac_cv_prog_LIPO"; then
7127 ac_ct_LIPO=$LIPO
7128 # Extract the first word of "lipo", so it can be a program name with args.
7129 set dummy lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7133 $as_echo_n "(cached) " >&6
7134 else
7135 if test -n "$ac_ct_LIPO"; then
7136 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7141 IFS=$as_save_IFS
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145 ac_cv_prog_ac_ct_LIPO="lipo"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 break 2
7149 done
7150 done
7151 IFS=$as_save_IFS
7155 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7156 if test -n "$ac_ct_LIPO"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7158 $as_echo "$ac_ct_LIPO" >&6; }
7159 else
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7164 if test "x$ac_ct_LIPO" = x; then
7165 LIPO=":"
7166 else
7167 case $cross_compiling:$ac_tool_warned in
7168 yes:)
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7171 ac_tool_warned=yes ;;
7172 esac
7173 LIPO=$ac_ct_LIPO
7175 else
7176 LIPO="$ac_cv_prog_LIPO"
7179 if test -n "$ac_tool_prefix"; then
7180 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}otool; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7185 $as_echo_n "(cached) " >&6
7186 else
7187 if test -n "$OTOOL"; then
7188 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7189 else
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 for as_dir in $PATH
7193 IFS=$as_save_IFS
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 break 2
7201 done
7202 done
7203 IFS=$as_save_IFS
7207 OTOOL=$ac_cv_prog_OTOOL
7208 if test -n "$OTOOL"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7210 $as_echo "$OTOOL" >&6; }
7211 else
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7218 if test -z "$ac_cv_prog_OTOOL"; then
7219 ac_ct_OTOOL=$OTOOL
7220 # Extract the first word of "otool", so it can be a program name with args.
7221 set dummy otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7225 $as_echo_n "(cached) " >&6
7226 else
7227 if test -n "$ac_ct_OTOOL"; then
7228 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7233 IFS=$as_save_IFS
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237 ac_cv_prog_ac_ct_OTOOL="otool"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239 break 2
7241 done
7242 done
7243 IFS=$as_save_IFS
7247 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7248 if test -n "$ac_ct_OTOOL"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7250 $as_echo "$ac_ct_OTOOL" >&6; }
7251 else
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7256 if test "x$ac_ct_OTOOL" = x; then
7257 OTOOL=":"
7258 else
7259 case $cross_compiling:$ac_tool_warned in
7260 yes:)
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7263 ac_tool_warned=yes ;;
7264 esac
7265 OTOOL=$ac_ct_OTOOL
7267 else
7268 OTOOL="$ac_cv_prog_OTOOL"
7271 if test -n "$ac_tool_prefix"; then
7272 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7273 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$OTOOL64"; then
7280 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7293 done
7294 done
7295 IFS=$as_save_IFS
7299 OTOOL64=$ac_cv_prog_OTOOL64
7300 if test -n "$OTOOL64"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7302 $as_echo "$OTOOL64" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7310 if test -z "$ac_cv_prog_OTOOL64"; then
7311 ac_ct_OTOOL64=$OTOOL64
7312 # Extract the first word of "otool64", so it can be a program name with args.
7313 set dummy otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315 $as_echo_n "checking for $ac_word... " >&6; }
7316 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7317 $as_echo_n "(cached) " >&6
7318 else
7319 if test -n "$ac_ct_OTOOL64"; then
7320 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7321 else
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in $PATH
7325 IFS=$as_save_IFS
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7329 ac_cv_prog_ac_ct_OTOOL64="otool64"
7330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331 break 2
7333 done
7334 done
7335 IFS=$as_save_IFS
7339 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7340 if test -n "$ac_ct_OTOOL64"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7342 $as_echo "$ac_ct_OTOOL64" >&6; }
7343 else
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7348 if test "x$ac_ct_OTOOL64" = x; then
7349 OTOOL64=":"
7350 else
7351 case $cross_compiling:$ac_tool_warned in
7352 yes:)
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7355 ac_tool_warned=yes ;;
7356 esac
7357 OTOOL64=$ac_ct_OTOOL64
7359 else
7360 OTOOL64="$ac_cv_prog_OTOOL64"
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7390 $as_echo_n "checking for -single_module linker flag... " >&6; }
7391 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 lt_cv_apple_cc_single_mod=no
7395 if test -z "${LT_MULTI_MODULE}"; then
7396 # By default we will add the -single_module flag. You can override
7397 # by either setting the environment variable LT_MULTI_MODULE
7398 # non-empty at configure time, or by adding -multi_module to the
7399 # link flags.
7400 rm -rf libconftest.dylib*
7401 echo "int foo(void){return 1;}" > conftest.c
7402 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7403 -dynamiclib -Wl,-single_module conftest.c" >&5
7404 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7405 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7406 _lt_result=$?
7407 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7408 lt_cv_apple_cc_single_mod=yes
7409 else
7410 cat conftest.err >&5
7412 rm -rf libconftest.dylib*
7413 rm -f conftest.*
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7417 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7419 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7420 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 lt_cv_ld_exported_symbols_list=no
7424 save_LDFLAGS=$LDFLAGS
7425 echo "_main" > conftest.sym
7426 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7427 if test x$gcc_no_link = xyes; then
7428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7434 main ()
7438 return 0;
7440 _ACEOF
7441 if ac_fn_c_try_link "$LINENO"; then :
7442 lt_cv_ld_exported_symbols_list=yes
7443 else
7444 lt_cv_ld_exported_symbols_list=no
7446 rm -f core conftest.err conftest.$ac_objext \
7447 conftest$ac_exeext conftest.$ac_ext
7448 LDFLAGS="$save_LDFLAGS"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7452 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7454 $as_echo_n "checking for -force_load linker flag... " >&6; }
7455 if test "${lt_cv_ld_force_load+set}" = set; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7458 lt_cv_ld_force_load=no
7459 cat > conftest.c << _LT_EOF
7460 int forced_loaded() { return 2;}
7461 _LT_EOF
7462 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7463 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7464 echo "$AR cru libconftest.a conftest.o" >&5
7465 $AR cru libconftest.a conftest.o 2>&5
7466 cat > conftest.c << _LT_EOF
7467 int main() { return 0;}
7468 _LT_EOF
7469 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7470 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7471 _lt_result=$?
7472 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7473 lt_cv_ld_force_load=yes
7474 else
7475 cat conftest.err >&5
7477 rm -f conftest.err libconftest.a conftest conftest.c
7478 rm -rf conftest.dSYM
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7482 $as_echo "$lt_cv_ld_force_load" >&6; }
7483 case $host_os in
7484 rhapsody* | darwin1.[012])
7485 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7486 darwin1.*)
7487 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7488 darwin*) # darwin 5.x on
7489 # if running on 10.5 or later, the deployment target defaults
7490 # to the OS version, if on x86, and 10.4, the deployment
7491 # target defaults to 10.4. Don't you love it?
7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495 10.[012]*)
7496 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7497 10.*)
7498 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7499 esac
7501 esac
7502 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7503 _lt_dar_single_mod='$single_module'
7505 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7506 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7507 else
7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7510 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7511 _lt_dsymutil='~$DSYMUTIL $lib || :'
7512 else
7513 _lt_dsymutil=
7516 esac
7518 ac_ext=c
7519 ac_cpp='$CPP $CPPFLAGS'
7520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7524 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7525 # On Suns, sometimes $CPP names a directory.
7526 if test -n "$CPP" && test -d "$CPP"; then
7527 CPP=
7529 if test -z "$CPP"; then
7530 if test "${ac_cv_prog_CPP+set}" = set; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 # Double quotes because CPP needs to be expanded
7534 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7536 ac_preproc_ok=false
7537 for ac_c_preproc_warn_flag in '' yes
7539 # Use a header file that comes with gcc, so configuring glibc
7540 # with a fresh cross-compiler works.
7541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542 # <limits.h> exists even on freestanding compilers.
7543 # On the NeXT, cc -E runs the code through the compiler's parser,
7544 # not just through cpp. "Syntax error" is here to catch this case.
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7547 #ifdef __STDC__
7548 # include <limits.h>
7549 #else
7550 # include <assert.h>
7551 #endif
7552 Syntax error
7553 _ACEOF
7554 if ac_fn_c_try_cpp "$LINENO"; then :
7556 else
7557 # Broken: fails on valid input.
7558 continue
7560 rm -f conftest.err conftest.$ac_ext
7562 # OK, works on sane cases. Now check whether nonexistent headers
7563 # can be detected and how.
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7566 #include <ac_nonexistent.h>
7567 _ACEOF
7568 if ac_fn_c_try_cpp "$LINENO"; then :
7569 # Broken: success on invalid input.
7570 continue
7571 else
7572 # Passes both tests.
7573 ac_preproc_ok=:
7574 break
7576 rm -f conftest.err conftest.$ac_ext
7578 done
7579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7580 rm -f conftest.err conftest.$ac_ext
7581 if $ac_preproc_ok; then :
7582 break
7585 done
7586 ac_cv_prog_CPP=$CPP
7589 CPP=$ac_cv_prog_CPP
7590 else
7591 ac_cv_prog_CPP=$CPP
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7594 $as_echo "$CPP" >&6; }
7595 ac_preproc_ok=false
7596 for ac_c_preproc_warn_flag in '' yes
7598 # Use a header file that comes with gcc, so configuring glibc
7599 # with a fresh cross-compiler works.
7600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7601 # <limits.h> exists even on freestanding compilers.
7602 # On the NeXT, cc -E runs the code through the compiler's parser,
7603 # not just through cpp. "Syntax error" is here to catch this case.
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7606 #ifdef __STDC__
7607 # include <limits.h>
7608 #else
7609 # include <assert.h>
7610 #endif
7611 Syntax error
7612 _ACEOF
7613 if ac_fn_c_try_cpp "$LINENO"; then :
7615 else
7616 # Broken: fails on valid input.
7617 continue
7619 rm -f conftest.err conftest.$ac_ext
7621 # OK, works on sane cases. Now check whether nonexistent headers
7622 # can be detected and how.
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7625 #include <ac_nonexistent.h>
7626 _ACEOF
7627 if ac_fn_c_try_cpp "$LINENO"; then :
7628 # Broken: success on invalid input.
7629 continue
7630 else
7631 # Passes both tests.
7632 ac_preproc_ok=:
7633 break
7635 rm -f conftest.err conftest.$ac_ext
7637 done
7638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7639 rm -f conftest.err conftest.$ac_ext
7640 if $ac_preproc_ok; then :
7642 else
7643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7645 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7646 See \`config.log' for more details." "$LINENO" 5; }
7649 ac_ext=c
7650 ac_cpp='$CPP $CPPFLAGS'
7651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7657 $as_echo_n "checking for ANSI C header files... " >&6; }
7658 if test "${ac_cv_header_stdc+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7663 #include <stdlib.h>
7664 #include <stdarg.h>
7665 #include <string.h>
7666 #include <float.h>
7669 main ()
7673 return 0;
7675 _ACEOF
7676 if ac_fn_c_try_compile "$LINENO"; then :
7677 ac_cv_header_stdc=yes
7678 else
7679 ac_cv_header_stdc=no
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 if test $ac_cv_header_stdc = yes; then
7684 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #include <string.h>
7689 _ACEOF
7690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7691 $EGREP "memchr" >/dev/null 2>&1; then :
7693 else
7694 ac_cv_header_stdc=no
7696 rm -f conftest*
7700 if test $ac_cv_header_stdc = yes; then
7701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7704 #include <stdlib.h>
7706 _ACEOF
7707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7708 $EGREP "free" >/dev/null 2>&1; then :
7710 else
7711 ac_cv_header_stdc=no
7713 rm -f conftest*
7717 if test $ac_cv_header_stdc = yes; then
7718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7719 if test "$cross_compiling" = yes; then :
7721 else
7722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 #include <ctype.h>
7725 #include <stdlib.h>
7726 #if ((' ' & 0x0FF) == 0x020)
7727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7729 #else
7730 # define ISLOWER(c) \
7731 (('a' <= (c) && (c) <= 'i') \
7732 || ('j' <= (c) && (c) <= 'r') \
7733 || ('s' <= (c) && (c) <= 'z'))
7734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7735 #endif
7737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7739 main ()
7741 int i;
7742 for (i = 0; i < 256; i++)
7743 if (XOR (islower (i), ISLOWER (i))
7744 || toupper (i) != TOUPPER (i))
7745 return 2;
7746 return 0;
7748 _ACEOF
7749 if ac_fn_c_try_run "$LINENO"; then :
7751 else
7752 ac_cv_header_stdc=no
7754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7755 conftest.$ac_objext conftest.beam conftest.$ac_ext
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7761 $as_echo "$ac_cv_header_stdc" >&6; }
7762 if test $ac_cv_header_stdc = yes; then
7764 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7768 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7769 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7770 inttypes.h stdint.h unistd.h
7771 do :
7772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7773 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7775 eval as_val=\$$as_ac_Header
7776 if test "x$as_val" = x""yes; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7779 _ACEOF
7783 done
7786 for ac_header in dlfcn.h
7787 do :
7788 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7790 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7791 cat >>confdefs.h <<_ACEOF
7792 #define HAVE_DLFCN_H 1
7793 _ACEOF
7797 done
7803 # Set options
7808 enable_win32_dll=no
7811 # Check whether --enable-shared was given.
7812 if test "${enable_shared+set}" = set; then :
7813 enableval=$enable_shared; p=${PACKAGE-default}
7814 case $enableval in
7815 yes) enable_shared=yes ;;
7816 no) enable_shared=no ;;
7818 enable_shared=no
7819 # Look at the argument we got. We use all the common list separators.
7820 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7821 for pkg in $enableval; do
7822 IFS="$lt_save_ifs"
7823 if test "X$pkg" = "X$p"; then
7824 enable_shared=yes
7826 done
7827 IFS="$lt_save_ifs"
7829 esac
7830 else
7831 enable_shared=yes
7842 # Check whether --enable-static was given.
7843 if test "${enable_static+set}" = set; then :
7844 enableval=$enable_static; p=${PACKAGE-default}
7845 case $enableval in
7846 yes) enable_static=yes ;;
7847 no) enable_static=no ;;
7849 enable_static=no
7850 # Look at the argument we got. We use all the common list separators.
7851 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7852 for pkg in $enableval; do
7853 IFS="$lt_save_ifs"
7854 if test "X$pkg" = "X$p"; then
7855 enable_static=yes
7857 done
7858 IFS="$lt_save_ifs"
7860 esac
7861 else
7862 enable_static=yes
7874 # Check whether --with-pic was given.
7875 if test "${with_pic+set}" = set; then :
7876 withval=$with_pic; pic_mode="$withval"
7877 else
7878 pic_mode=default
7882 test -z "$pic_mode" && pic_mode=default
7890 # Check whether --enable-fast-install was given.
7891 if test "${enable_fast_install+set}" = set; then :
7892 enableval=$enable_fast_install; p=${PACKAGE-default}
7893 case $enableval in
7894 yes) enable_fast_install=yes ;;
7895 no) enable_fast_install=no ;;
7897 enable_fast_install=no
7898 # Look at the argument we got. We use all the common list separators.
7899 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7900 for pkg in $enableval; do
7901 IFS="$lt_save_ifs"
7902 if test "X$pkg" = "X$p"; then
7903 enable_fast_install=yes
7905 done
7906 IFS="$lt_save_ifs"
7908 esac
7909 else
7910 enable_fast_install=yes
7923 # This can be used to rebuild libtool when needed
7924 LIBTOOL_DEPS="$ltmain"
7926 # Always use our own libtool.
7927 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7954 test -z "$LN_S" && LN_S="ln -s"
7969 if test -n "${ZSH_VERSION+set}" ; then
7970 setopt NO_GLOB_SUBST
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7974 $as_echo_n "checking for objdir... " >&6; }
7975 if test "${lt_cv_objdir+set}" = set; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 rm -f .libs 2>/dev/null
7979 mkdir .libs 2>/dev/null
7980 if test -d .libs; then
7981 lt_cv_objdir=.libs
7982 else
7983 # MS-DOS does not allow filenames that begin with a dot.
7984 lt_cv_objdir=_libs
7986 rmdir .libs 2>/dev/null
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7989 $as_echo "$lt_cv_objdir" >&6; }
7990 objdir=$lt_cv_objdir
7996 cat >>confdefs.h <<_ACEOF
7997 #define LT_OBJDIR "$lt_cv_objdir/"
7998 _ACEOF
8003 case $host_os in
8004 aix3*)
8005 # AIX sometimes has problems with the GCC collect2 program. For some
8006 # reason, if we set the COLLECT_NAMES environment variable, the problems
8007 # vanish in a puff of smoke.
8008 if test "X${COLLECT_NAMES+set}" != Xset; then
8009 COLLECT_NAMES=
8010 export COLLECT_NAMES
8013 esac
8015 # Global variables:
8016 ofile=libtool
8017 can_build_shared=yes
8019 # All known linkers require a `.a' archive for static linking (except MSVC,
8020 # which needs '.lib').
8021 libext=a
8023 with_gnu_ld="$lt_cv_prog_gnu_ld"
8025 old_CC="$CC"
8026 old_CFLAGS="$CFLAGS"
8028 # Set sane defaults for various variables
8029 test -z "$CC" && CC=cc
8030 test -z "$LTCC" && LTCC=$CC
8031 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8032 test -z "$LD" && LD=ld
8033 test -z "$ac_objext" && ac_objext=o
8035 for cc_temp in $compiler""; do
8036 case $cc_temp in
8037 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8038 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8039 \-*) ;;
8040 *) break;;
8041 esac
8042 done
8043 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8046 # Only perform the check for file, if the check method requires it
8047 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8048 case $deplibs_check_method in
8049 file_magic*)
8050 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8052 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8053 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 case $MAGIC_CMD in
8057 [\\/*] | ?:[\\/]*)
8058 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8061 lt_save_MAGIC_CMD="$MAGIC_CMD"
8062 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8063 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8064 for ac_dir in $ac_dummy; do
8065 IFS="$lt_save_ifs"
8066 test -z "$ac_dir" && ac_dir=.
8067 if test -f $ac_dir/${ac_tool_prefix}file; then
8068 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8069 if test -n "$file_magic_test_file"; then
8070 case $deplibs_check_method in
8071 "file_magic "*)
8072 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8073 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8074 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8075 $EGREP "$file_magic_regex" > /dev/null; then
8077 else
8078 cat <<_LT_EOF 1>&2
8080 *** Warning: the command libtool uses to detect shared libraries,
8081 *** $file_magic_cmd, produces output that libtool cannot recognize.
8082 *** The result is that libtool may fail to recognize shared libraries
8083 *** as such. This will affect the creation of libtool libraries that
8084 *** depend on shared libraries, but programs linked with such libtool
8085 *** libraries will work regardless of this problem. Nevertheless, you
8086 *** may want to report the problem to your system manager and/or to
8087 *** bug-libtool@gnu.org
8089 _LT_EOF
8090 fi ;;
8091 esac
8093 break
8095 done
8096 IFS="$lt_save_ifs"
8097 MAGIC_CMD="$lt_save_MAGIC_CMD"
8099 esac
8102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8103 if test -n "$MAGIC_CMD"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8105 $as_echo "$MAGIC_CMD" >&6; }
8106 else
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8115 if test -z "$lt_cv_path_MAGIC_CMD"; then
8116 if test -n "$ac_tool_prefix"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8118 $as_echo_n "checking for file... " >&6; }
8119 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8121 else
8122 case $MAGIC_CMD in
8123 [\\/*] | ?:[\\/]*)
8124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8127 lt_save_MAGIC_CMD="$MAGIC_CMD"
8128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8129 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8130 for ac_dir in $ac_dummy; do
8131 IFS="$lt_save_ifs"
8132 test -z "$ac_dir" && ac_dir=.
8133 if test -f $ac_dir/file; then
8134 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8135 if test -n "$file_magic_test_file"; then
8136 case $deplibs_check_method in
8137 "file_magic "*)
8138 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8140 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8141 $EGREP "$file_magic_regex" > /dev/null; then
8143 else
8144 cat <<_LT_EOF 1>&2
8146 *** Warning: the command libtool uses to detect shared libraries,
8147 *** $file_magic_cmd, produces output that libtool cannot recognize.
8148 *** The result is that libtool may fail to recognize shared libraries
8149 *** as such. This will affect the creation of libtool libraries that
8150 *** depend on shared libraries, but programs linked with such libtool
8151 *** libraries will work regardless of this problem. Nevertheless, you
8152 *** may want to report the problem to your system manager and/or to
8153 *** bug-libtool@gnu.org
8155 _LT_EOF
8156 fi ;;
8157 esac
8159 break
8161 done
8162 IFS="$lt_save_ifs"
8163 MAGIC_CMD="$lt_save_MAGIC_CMD"
8165 esac
8168 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8169 if test -n "$MAGIC_CMD"; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8171 $as_echo "$MAGIC_CMD" >&6; }
8172 else
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8178 else
8179 MAGIC_CMD=:
8185 esac
8187 # Use C for the default configuration in the libtool script
8189 lt_save_CC="$CC"
8190 ac_ext=c
8191 ac_cpp='$CPP $CPPFLAGS'
8192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8197 # Source file extension for C test sources.
8198 ac_ext=c
8200 # Object file extension for compiled C test sources.
8201 objext=o
8202 objext=$objext
8204 # Code to be used in simple compile tests
8205 lt_simple_compile_test_code="int some_variable = 0;"
8207 # Code to be used in simple link tests
8208 lt_simple_link_test_code='int main(){return(0);}'
8216 # If no C compiler was specified, use CC.
8217 LTCC=${LTCC-"$CC"}
8219 # If no C compiler flags were specified, use CFLAGS.
8220 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8222 # Allow CC to be a program name with arguments.
8223 compiler=$CC
8225 # Save the default compiler, since it gets overwritten when the other
8226 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8227 compiler_DEFAULT=$CC
8229 # save warnings/boilerplate of simple test code
8230 ac_outfile=conftest.$ac_objext
8231 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8232 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8233 _lt_compiler_boilerplate=`cat conftest.err`
8234 $RM conftest*
8236 ac_outfile=conftest.$ac_objext
8237 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8238 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8239 _lt_linker_boilerplate=`cat conftest.err`
8240 $RM -r conftest*
8243 ## CAVEAT EMPTOR:
8244 ## There is no encapsulation within the following macros, do not change
8245 ## the running order or otherwise move them around unless you know exactly
8246 ## what you are doing...
8247 if test -n "$compiler"; then
8249 lt_prog_compiler_no_builtin_flag=
8251 if test "$GCC" = yes; then
8252 case $cc_basename in
8253 nvcc*)
8254 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8256 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8257 esac
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8260 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8261 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 lt_cv_prog_compiler_rtti_exceptions=no
8265 ac_outfile=conftest.$ac_objext
8266 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8267 lt_compiler_flag="-fno-rtti -fno-exceptions"
8268 # Insert the option either (1) after the last *FLAGS variable, or
8269 # (2) before a word containing "conftest.", or (3) at the end.
8270 # Note that $ac_compile itself does not contain backslashes and begins
8271 # with a dollar sign (not a hyphen), so the echo should work correctly.
8272 # The option is referenced via a variable to avoid confusing sed.
8273 lt_compile=`echo "$ac_compile" | $SED \
8274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8276 -e 's:$: $lt_compiler_flag:'`
8277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8278 (eval "$lt_compile" 2>conftest.err)
8279 ac_status=$?
8280 cat conftest.err >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 if (exit $ac_status) && test -s "$ac_outfile"; then
8283 # The compiler can only warn and ignore the option if not recognized
8284 # So say no if there are warnings other than the usual output.
8285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8286 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8287 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8288 lt_cv_prog_compiler_rtti_exceptions=yes
8291 $RM conftest*
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8295 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8297 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8298 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8299 else
8310 lt_prog_compiler_wl=
8311 lt_prog_compiler_pic=
8312 lt_prog_compiler_static=
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8315 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8317 if test "$GCC" = yes; then
8318 lt_prog_compiler_wl='-Wl,'
8319 lt_prog_compiler_static='-static'
8321 case $host_os in
8322 aix*)
8323 # All AIX code is PIC.
8324 if test "$host_cpu" = ia64; then
8325 # AIX 5 now supports IA64 processor
8326 lt_prog_compiler_static='-Bstatic'
8330 amigaos*)
8331 case $host_cpu in
8332 powerpc)
8333 # see comment about AmigaOS4 .so support
8334 lt_prog_compiler_pic='-fPIC'
8336 m68k)
8337 # FIXME: we need at least 68020 code to build shared libraries, but
8338 # adding the `-m68020' flag to GCC prevents building anything better,
8339 # like `-m68040'.
8340 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8342 esac
8345 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8346 # PIC is the default for these OSes.
8349 mingw* | cygwin* | pw32* | os2* | cegcc*)
8350 # This hack is so that the source file can tell whether it is being
8351 # built for inclusion in a dll (and should export symbols for example).
8352 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8353 # (--disable-auto-import) libraries
8354 lt_prog_compiler_pic='-DDLL_EXPORT'
8357 darwin* | rhapsody*)
8358 # PIC is the default on this platform
8359 # Common symbols not allowed in MH_DYLIB files
8360 lt_prog_compiler_pic='-fno-common'
8363 haiku*)
8364 # PIC is the default for Haiku.
8365 # The "-static" flag exists, but is broken.
8366 lt_prog_compiler_static=
8369 hpux*)
8370 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8372 # sets the default TLS model and affects inlining.
8373 case $host_cpu in
8374 hppa*64*)
8375 # +Z the default
8378 lt_prog_compiler_pic='-fPIC'
8380 esac
8383 interix[3-9]*)
8384 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8385 # Instead, we relocate shared libraries at runtime.
8388 msdosdjgpp*)
8389 # Just because we use GCC doesn't mean we suddenly get shared libraries
8390 # on systems that don't support them.
8391 lt_prog_compiler_can_build_shared=no
8392 enable_shared=no
8395 *nto* | *qnx*)
8396 # QNX uses GNU C++, but need to define -shared option too, otherwise
8397 # it will coredump.
8398 lt_prog_compiler_pic='-fPIC -shared'
8401 sysv4*MP*)
8402 if test -d /usr/nec; then
8403 lt_prog_compiler_pic=-Kconform_pic
8408 lt_prog_compiler_pic='-fPIC'
8410 esac
8412 case $cc_basename in
8413 nvcc*) # Cuda Compiler Driver 2.2
8414 lt_prog_compiler_wl='-Xlinker '
8415 lt_prog_compiler_pic='-Xcompiler -fPIC'
8417 esac
8418 else
8419 # PORTME Check for flag to pass linker flags through the system compiler.
8420 case $host_os in
8421 aix*)
8422 lt_prog_compiler_wl='-Wl,'
8423 if test "$host_cpu" = ia64; then
8424 # AIX 5 now supports IA64 processor
8425 lt_prog_compiler_static='-Bstatic'
8426 else
8427 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8431 mingw* | cygwin* | pw32* | os2* | cegcc*)
8432 # This hack is so that the source file can tell whether it is being
8433 # built for inclusion in a dll (and should export symbols for example).
8434 lt_prog_compiler_pic='-DDLL_EXPORT'
8437 hpux9* | hpux10* | hpux11*)
8438 lt_prog_compiler_wl='-Wl,'
8439 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8440 # not for PA HP-UX.
8441 case $host_cpu in
8442 hppa*64*|ia64*)
8443 # +Z the default
8446 lt_prog_compiler_pic='+Z'
8448 esac
8449 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8450 lt_prog_compiler_static='${wl}-a ${wl}archive'
8453 irix5* | irix6* | nonstopux*)
8454 lt_prog_compiler_wl='-Wl,'
8455 # PIC (with -KPIC) is the default.
8456 lt_prog_compiler_static='-non_shared'
8459 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8460 case $cc_basename in
8461 # old Intel for x86_64 which still supported -KPIC.
8462 ecc*)
8463 lt_prog_compiler_wl='-Wl,'
8464 lt_prog_compiler_pic='-KPIC'
8465 lt_prog_compiler_static='-static'
8467 # icc used to be incompatible with GCC.
8468 # ICC 10 doesn't accept -KPIC any more.
8469 icc* | ifort*)
8470 lt_prog_compiler_wl='-Wl,'
8471 lt_prog_compiler_pic='-fPIC'
8472 lt_prog_compiler_static='-static'
8474 # Lahey Fortran 8.1.
8475 lf95*)
8476 lt_prog_compiler_wl='-Wl,'
8477 lt_prog_compiler_pic='--shared'
8478 lt_prog_compiler_static='--static'
8480 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8481 # Portland Group compilers (*not* the Pentium gcc compiler,
8482 # which looks to be a dead project)
8483 lt_prog_compiler_wl='-Wl,'
8484 lt_prog_compiler_pic='-fpic'
8485 lt_prog_compiler_static='-Bstatic'
8487 ccc*)
8488 lt_prog_compiler_wl='-Wl,'
8489 # All Alpha code is PIC.
8490 lt_prog_compiler_static='-non_shared'
8492 xl* | bgxl* | bgf* | mpixl*)
8493 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8494 lt_prog_compiler_wl='-Wl,'
8495 lt_prog_compiler_pic='-qpic'
8496 lt_prog_compiler_static='-qstaticlink'
8499 case `$CC -V 2>&1 | sed 5q` in
8500 *Sun\ F* | *Sun*Fortran*)
8501 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8502 lt_prog_compiler_pic='-KPIC'
8503 lt_prog_compiler_static='-Bstatic'
8504 lt_prog_compiler_wl=''
8506 *Sun\ C*)
8507 # Sun C 5.9
8508 lt_prog_compiler_pic='-KPIC'
8509 lt_prog_compiler_static='-Bstatic'
8510 lt_prog_compiler_wl='-Wl,'
8512 esac
8514 esac
8517 newsos6)
8518 lt_prog_compiler_pic='-KPIC'
8519 lt_prog_compiler_static='-Bstatic'
8522 *nto* | *qnx*)
8523 # QNX uses GNU C++, but need to define -shared option too, otherwise
8524 # it will coredump.
8525 lt_prog_compiler_pic='-fPIC -shared'
8528 osf3* | osf4* | osf5*)
8529 lt_prog_compiler_wl='-Wl,'
8530 # All OSF/1 code is PIC.
8531 lt_prog_compiler_static='-non_shared'
8534 rdos*)
8535 lt_prog_compiler_static='-non_shared'
8538 solaris*)
8539 lt_prog_compiler_pic='-KPIC'
8540 lt_prog_compiler_static='-Bstatic'
8541 case $cc_basename in
8542 f77* | f90* | f95*)
8543 lt_prog_compiler_wl='-Qoption ld ';;
8545 lt_prog_compiler_wl='-Wl,';;
8546 esac
8549 sunos4*)
8550 lt_prog_compiler_wl='-Qoption ld '
8551 lt_prog_compiler_pic='-PIC'
8552 lt_prog_compiler_static='-Bstatic'
8555 sysv4 | sysv4.2uw2* | sysv4.3*)
8556 lt_prog_compiler_wl='-Wl,'
8557 lt_prog_compiler_pic='-KPIC'
8558 lt_prog_compiler_static='-Bstatic'
8561 sysv4*MP*)
8562 if test -d /usr/nec ;then
8563 lt_prog_compiler_pic='-Kconform_pic'
8564 lt_prog_compiler_static='-Bstatic'
8568 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8569 lt_prog_compiler_wl='-Wl,'
8570 lt_prog_compiler_pic='-KPIC'
8571 lt_prog_compiler_static='-Bstatic'
8574 unicos*)
8575 lt_prog_compiler_wl='-Wl,'
8576 lt_prog_compiler_can_build_shared=no
8579 uts4*)
8580 lt_prog_compiler_pic='-pic'
8581 lt_prog_compiler_static='-Bstatic'
8585 lt_prog_compiler_can_build_shared=no
8587 esac
8590 case $host_os in
8591 # For platforms which do not support PIC, -DPIC is meaningless:
8592 *djgpp*)
8593 lt_prog_compiler_pic=
8596 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8598 esac
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8600 $as_echo "$lt_prog_compiler_pic" >&6; }
8608 # Check to make sure the PIC flag actually works.
8610 if test -n "$lt_prog_compiler_pic"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8613 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 lt_cv_prog_compiler_pic_works=no
8617 ac_outfile=conftest.$ac_objext
8618 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8619 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8620 # Insert the option either (1) after the last *FLAGS variable, or
8621 # (2) before a word containing "conftest.", or (3) at the end.
8622 # Note that $ac_compile itself does not contain backslashes and begins
8623 # with a dollar sign (not a hyphen), so the echo should work correctly.
8624 # The option is referenced via a variable to avoid confusing sed.
8625 lt_compile=`echo "$ac_compile" | $SED \
8626 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8628 -e 's:$: $lt_compiler_flag:'`
8629 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8630 (eval "$lt_compile" 2>conftest.err)
8631 ac_status=$?
8632 cat conftest.err >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 if (exit $ac_status) && test -s "$ac_outfile"; then
8635 # The compiler can only warn and ignore the option if not recognized
8636 # So say no if there are warnings other than the usual output.
8637 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8639 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8640 lt_cv_prog_compiler_pic_works=yes
8643 $RM conftest*
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8647 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8649 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8650 case $lt_prog_compiler_pic in
8651 "" | " "*) ;;
8652 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8653 esac
8654 else
8655 lt_prog_compiler_pic=
8656 lt_prog_compiler_can_build_shared=no
8667 # Check to make sure the static flag actually works.
8669 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8672 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 lt_cv_prog_compiler_static_works=no
8676 save_LDFLAGS="$LDFLAGS"
8677 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8678 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8679 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8680 # The linker can only warn and ignore the option if not recognized
8681 # So say no if there are warnings
8682 if test -s conftest.err; then
8683 # Append any errors to the config.log.
8684 cat conftest.err 1>&5
8685 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8687 if diff conftest.exp conftest.er2 >/dev/null; then
8688 lt_cv_prog_compiler_static_works=yes
8690 else
8691 lt_cv_prog_compiler_static_works=yes
8694 $RM -r conftest*
8695 LDFLAGS="$save_LDFLAGS"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8699 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8701 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8703 else
8704 lt_prog_compiler_static=
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8715 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 lt_cv_prog_compiler_c_o=no
8719 $RM -r conftest 2>/dev/null
8720 mkdir conftest
8721 cd conftest
8722 mkdir out
8723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8725 lt_compiler_flag="-o out/conftest2.$ac_objext"
8726 # Insert the option either (1) after the last *FLAGS variable, or
8727 # (2) before a word containing "conftest.", or (3) at the end.
8728 # Note that $ac_compile itself does not contain backslashes and begins
8729 # with a dollar sign (not a hyphen), so the echo should work correctly.
8730 lt_compile=`echo "$ac_compile" | $SED \
8731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8733 -e 's:$: $lt_compiler_flag:'`
8734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8735 (eval "$lt_compile" 2>out/conftest.err)
8736 ac_status=$?
8737 cat out/conftest.err >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8740 then
8741 # The compiler can only warn and ignore the option if not recognized
8742 # So say no if there are warnings
8743 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8744 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8745 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8746 lt_cv_prog_compiler_c_o=yes
8749 chmod u+w . 2>&5
8750 $RM conftest*
8751 # SGI C++ compiler will create directory out/ii_files/ for
8752 # template instantiation
8753 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8754 $RM out/* && rmdir out
8755 cd ..
8756 $RM -r conftest
8757 $RM conftest*
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8761 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8770 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 lt_cv_prog_compiler_c_o=no
8774 $RM -r conftest 2>/dev/null
8775 mkdir conftest
8776 cd conftest
8777 mkdir out
8778 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8780 lt_compiler_flag="-o out/conftest2.$ac_objext"
8781 # Insert the option either (1) after the last *FLAGS variable, or
8782 # (2) before a word containing "conftest.", or (3) at the end.
8783 # Note that $ac_compile itself does not contain backslashes and begins
8784 # with a dollar sign (not a hyphen), so the echo should work correctly.
8785 lt_compile=`echo "$ac_compile" | $SED \
8786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788 -e 's:$: $lt_compiler_flag:'`
8789 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8790 (eval "$lt_compile" 2>out/conftest.err)
8791 ac_status=$?
8792 cat out/conftest.err >&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8795 then
8796 # The compiler can only warn and ignore the option if not recognized
8797 # So say no if there are warnings
8798 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8799 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8800 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8801 lt_cv_prog_compiler_c_o=yes
8804 chmod u+w . 2>&5
8805 $RM conftest*
8806 # SGI C++ compiler will create directory out/ii_files/ for
8807 # template instantiation
8808 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8809 $RM out/* && rmdir out
8810 cd ..
8811 $RM -r conftest
8812 $RM conftest*
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8816 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8821 hard_links="nottested"
8822 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8823 # do not overwrite the value of need_locks provided by the user
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8825 $as_echo_n "checking if we can lock with hard links... " >&6; }
8826 hard_links=yes
8827 $RM conftest*
8828 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8829 touch conftest.a
8830 ln conftest.a conftest.b 2>&5 || hard_links=no
8831 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8833 $as_echo "$hard_links" >&6; }
8834 if test "$hard_links" = no; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8836 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8837 need_locks=warn
8839 else
8840 need_locks=no
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8849 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8851 runpath_var=
8852 allow_undefined_flag=
8853 always_export_symbols=no
8854 archive_cmds=
8855 archive_expsym_cmds=
8856 compiler_needs_object=no
8857 enable_shared_with_static_runtimes=no
8858 export_dynamic_flag_spec=
8859 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8860 hardcode_automatic=no
8861 hardcode_direct=no
8862 hardcode_direct_absolute=no
8863 hardcode_libdir_flag_spec=
8864 hardcode_libdir_flag_spec_ld=
8865 hardcode_libdir_separator=
8866 hardcode_minus_L=no
8867 hardcode_shlibpath_var=unsupported
8868 inherit_rpath=no
8869 link_all_deplibs=unknown
8870 module_cmds=
8871 module_expsym_cmds=
8872 old_archive_from_new_cmds=
8873 old_archive_from_expsyms_cmds=
8874 thread_safe_flag_spec=
8875 whole_archive_flag_spec=
8876 # include_expsyms should be a list of space-separated symbols to be *always*
8877 # included in the symbol list
8878 include_expsyms=
8879 # exclude_expsyms can be an extended regexp of symbols to exclude
8880 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8881 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8882 # as well as any symbol that contains `d'.
8883 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8884 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8885 # platforms (ab)use it in PIC code, but their linkers get confused if
8886 # the symbol is explicitly referenced. Since portable code cannot
8887 # rely on this symbol name, it's probably fine to never include it in
8888 # preloaded symbol tables.
8889 # Exclude shared library initialization/finalization symbols.
8890 extract_expsyms_cmds=
8892 case $host_os in
8893 cygwin* | mingw* | pw32* | cegcc*)
8894 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8895 # When not using gcc, we currently assume that we are using
8896 # Microsoft Visual C++.
8897 if test "$GCC" != yes; then
8898 with_gnu_ld=no
8901 interix*)
8902 # we just hope/assume this is gcc and not c89 (= MSVC++)
8903 with_gnu_ld=yes
8905 openbsd*)
8906 with_gnu_ld=no
8908 esac
8910 ld_shlibs=yes
8912 # On some targets, GNU ld is compatible enough with the native linker
8913 # that we're better off using the native interface for both.
8914 lt_use_gnu_ld_interface=no
8915 if test "$with_gnu_ld" = yes; then
8916 case $host_os in
8917 aix*)
8918 # The AIX port of GNU ld has always aspired to compatibility
8919 # with the native linker. However, as the warning in the GNU ld
8920 # block says, versions before 2.19.5* couldn't really create working
8921 # shared libraries, regardless of the interface used.
8922 case `$LD -v 2>&1` in
8923 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8924 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8925 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8927 lt_use_gnu_ld_interface=yes
8929 esac
8932 lt_use_gnu_ld_interface=yes
8934 esac
8937 if test "$lt_use_gnu_ld_interface" = yes; then
8938 # If archive_cmds runs LD, not CC, wlarc should be empty
8939 wlarc='${wl}'
8941 # Set some defaults for GNU ld with shared library support. These
8942 # are reset later if shared libraries are not supported. Putting them
8943 # here allows them to be overridden if necessary.
8944 runpath_var=LD_RUN_PATH
8945 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8946 export_dynamic_flag_spec='${wl}--export-dynamic'
8947 # ancient GNU ld didn't support --whole-archive et. al.
8948 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8949 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8950 else
8951 whole_archive_flag_spec=
8953 supports_anon_versioning=no
8954 case `$LD -v 2>&1` in
8955 *GNU\ gold*) supports_anon_versioning=yes ;;
8956 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8957 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8958 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8959 *\ 2.11.*) ;; # other 2.11 versions
8960 *) supports_anon_versioning=yes ;;
8961 esac
8963 # See if GNU ld supports shared libraries.
8964 case $host_os in
8965 aix[3-9]*)
8966 # On AIX/PPC, the GNU linker is very broken
8967 if test "$host_cpu" != ia64; then
8968 ld_shlibs=no
8969 cat <<_LT_EOF 1>&2
8971 *** Warning: the GNU linker, at least up to release 2.19, is reported
8972 *** to be unable to reliably create shared libraries on AIX.
8973 *** Therefore, libtool is disabling shared libraries support. If you
8974 *** really care for shared libraries, you may want to install binutils
8975 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8976 *** You will then need to restart the configuration process.
8978 _LT_EOF
8982 amigaos*)
8983 case $host_cpu in
8984 powerpc)
8985 # see comment about AmigaOS4 .so support
8986 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds=''
8989 m68k)
8990 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)'
8991 hardcode_libdir_flag_spec='-L$libdir'
8992 hardcode_minus_L=yes
8994 esac
8997 beos*)
8998 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8999 allow_undefined_flag=unsupported
9000 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9001 # support --undefined. This deserves some investigation. FIXME
9002 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003 else
9004 ld_shlibs=no
9008 cygwin* | mingw* | pw32* | cegcc*)
9009 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9010 # as there is no search path for DLLs.
9011 hardcode_libdir_flag_spec='-L$libdir'
9012 export_dynamic_flag_spec='${wl}--export-all-symbols'
9013 allow_undefined_flag=unsupported
9014 always_export_symbols=no
9015 enable_shared_with_static_runtimes=yes
9016 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9018 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9020 # If the export-symbols file already is a .def file (1st line
9021 # is EXPORTS), use it as is; otherwise, prepend...
9022 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9023 cp $export_symbols $output_objdir/$soname.def;
9024 else
9025 echo EXPORTS > $output_objdir/$soname.def;
9026 cat $export_symbols >> $output_objdir/$soname.def;
9028 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9029 else
9030 ld_shlibs=no
9034 haiku*)
9035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036 link_all_deplibs=yes
9039 interix[3-9]*)
9040 hardcode_direct=no
9041 hardcode_shlibpath_var=no
9042 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9043 export_dynamic_flag_spec='${wl}-E'
9044 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9045 # Instead, shared libraries are loaded at an image base (0x10000000 by
9046 # default) and relocated if they conflict, which is a slow very memory
9047 # consuming and fragmenting process. To avoid this, we pick a random,
9048 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9049 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9050 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9051 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'
9054 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9055 tmp_diet=no
9056 if test "$host_os" = linux-dietlibc; then
9057 case $cc_basename in
9058 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9059 esac
9061 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9062 && test "$tmp_diet" = no
9063 then
9064 tmp_addflag=
9065 tmp_sharedflag='-shared'
9066 case $cc_basename,$host_cpu in
9067 pgcc*) # Portland Group C compiler
9068 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9069 tmp_addflag=' $pic_flag'
9071 pgf77* | pgf90* | pgf95* | pgfortran*)
9072 # Portland Group f77 and f90 compilers
9073 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9074 tmp_addflag=' $pic_flag -Mnomain' ;;
9075 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9076 tmp_addflag=' -i_dynamic' ;;
9077 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9078 tmp_addflag=' -i_dynamic -nofor_main' ;;
9079 ifc* | ifort*) # Intel Fortran compiler
9080 tmp_addflag=' -nofor_main' ;;
9081 lf95*) # Lahey Fortran 8.1
9082 whole_archive_flag_spec=
9083 tmp_sharedflag='--shared' ;;
9084 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9085 tmp_sharedflag='-qmkshrobj'
9086 tmp_addflag= ;;
9087 nvcc*) # Cuda Compiler Driver 2.2
9088 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9089 compiler_needs_object=yes
9091 esac
9092 case `$CC -V 2>&1 | sed 5q` in
9093 *Sun\ C*) # Sun C 5.9
9094 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9095 compiler_needs_object=yes
9096 tmp_sharedflag='-G' ;;
9097 *Sun\ F*) # Sun Fortran 8.3
9098 tmp_sharedflag='-G' ;;
9099 esac
9100 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9102 if test "x$supports_anon_versioning" = xyes; then
9103 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9105 echo "local: *; };" >> $output_objdir/$libname.ver~
9106 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9109 case $cc_basename in
9110 xlf* | bgf* | bgxlf* | mpixlf*)
9111 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9112 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9113 hardcode_libdir_flag_spec=
9114 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9115 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9116 if test "x$supports_anon_versioning" = xyes; then
9117 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9118 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9119 echo "local: *; };" >> $output_objdir/$libname.ver~
9120 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9123 esac
9124 else
9125 ld_shlibs=no
9129 netbsd*)
9130 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9131 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9132 wlarc=
9133 else
9134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9139 solaris*)
9140 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9141 ld_shlibs=no
9142 cat <<_LT_EOF 1>&2
9144 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9145 *** create shared libraries on Solaris systems. Therefore, libtool
9146 *** is disabling shared libraries support. We urge you to upgrade GNU
9147 *** binutils to release 2.9.1 or newer. Another option is to modify
9148 *** your PATH or compiler configuration so that the native linker is
9149 *** used, and then restart.
9151 _LT_EOF
9152 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9154 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155 else
9156 ld_shlibs=no
9160 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9161 case `$LD -v 2>&1` in
9162 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9163 ld_shlibs=no
9164 cat <<_LT_EOF 1>&2
9166 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9167 *** reliably create shared libraries on SCO systems. Therefore, libtool
9168 *** is disabling shared libraries support. We urge you to upgrade GNU
9169 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9170 *** your PATH or compiler configuration so that the native linker is
9171 *** used, and then restart.
9173 _LT_EOF
9176 # For security reasons, it is highly recommended that you always
9177 # use absolute paths for naming shared libraries, and exclude the
9178 # DT_RUNPATH tag from executables and libraries. But doing so
9179 # requires that you compile everything twice, which is a pain.
9180 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9181 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9182 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9183 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9184 else
9185 ld_shlibs=no
9188 esac
9191 sunos4*)
9192 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9193 wlarc=
9194 hardcode_direct=yes
9195 hardcode_shlibpath_var=no
9199 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9202 else
9203 ld_shlibs=no
9206 esac
9208 if test "$ld_shlibs" = no; then
9209 runpath_var=
9210 hardcode_libdir_flag_spec=
9211 export_dynamic_flag_spec=
9212 whole_archive_flag_spec=
9214 else
9215 # PORTME fill in a description of your system's linker (not GNU ld)
9216 case $host_os in
9217 aix3*)
9218 allow_undefined_flag=unsupported
9219 always_export_symbols=yes
9220 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'
9221 # Note: this linker hardcodes the directories in LIBPATH if there
9222 # are no directories specified by -L.
9223 hardcode_minus_L=yes
9224 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9225 # Neither direct hardcoding nor static linking is supported with a
9226 # broken collect2.
9227 hardcode_direct=unsupported
9231 aix[4-9]*)
9232 if test "$host_cpu" = ia64; then
9233 # On IA64, the linker does run time linking by default, so we don't
9234 # have to do anything special.
9235 aix_use_runtimelinking=no
9236 exp_sym_flag='-Bexport'
9237 no_entry_flag=""
9238 else
9239 # If we're using GNU nm, then we don't want the "-C" option.
9240 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9241 # Also, AIX nm treats weak defined symbols like other global
9242 # defined symbols, whereas GNU nm marks them as "W".
9243 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9244 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9245 else
9246 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'
9248 aix_use_runtimelinking=no
9250 # Test if we are trying to use run time linking or normal
9251 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9252 # need to do runtime linking.
9253 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9254 for ld_flag in $LDFLAGS; do
9255 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9256 aix_use_runtimelinking=yes
9257 break
9259 done
9261 esac
9263 exp_sym_flag='-bexport'
9264 no_entry_flag='-bnoentry'
9267 # When large executables or shared objects are built, AIX ld can
9268 # have problems creating the table of contents. If linking a library
9269 # or program results in "error TOC overflow" add -mminimal-toc to
9270 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9271 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9273 archive_cmds=''
9274 hardcode_direct=yes
9275 hardcode_direct_absolute=yes
9276 hardcode_libdir_separator=':'
9277 link_all_deplibs=yes
9278 file_list_spec='${wl}-f,'
9280 if test "$GCC" = yes; then
9281 case $host_os in aix4.[012]|aix4.[012].*)
9282 # We only want to do this on AIX 4.2 and lower, the check
9283 # below for broken collect2 doesn't work under 4.3+
9284 collect2name=`${CC} -print-prog-name=collect2`
9285 if test -f "$collect2name" &&
9286 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9287 then
9288 # We have reworked collect2
9290 else
9291 # We have old collect2
9292 hardcode_direct=unsupported
9293 # It fails to find uninstalled libraries when the uninstalled
9294 # path is not listed in the libpath. Setting hardcode_minus_L
9295 # to unsupported forces relinking
9296 hardcode_minus_L=yes
9297 hardcode_libdir_flag_spec='-L$libdir'
9298 hardcode_libdir_separator=
9301 esac
9302 shared_flag='-shared'
9303 if test "$aix_use_runtimelinking" = yes; then
9304 shared_flag="$shared_flag "'${wl}-G'
9306 else
9307 # not using gcc
9308 if test "$host_cpu" = ia64; then
9309 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9310 # chokes on -Wl,-G. The following line is correct:
9311 shared_flag='-G'
9312 else
9313 if test "$aix_use_runtimelinking" = yes; then
9314 shared_flag='${wl}-G'
9315 else
9316 shared_flag='${wl}-bM:SRE'
9321 export_dynamic_flag_spec='${wl}-bexpall'
9322 # It seems that -bexpall does not export symbols beginning with
9323 # underscore (_), so it is better to generate a list of symbols to export.
9324 always_export_symbols=yes
9325 if test "$aix_use_runtimelinking" = yes; then
9326 # Warning - without using the other runtime loading flags (-brtl),
9327 # -berok will link without error, but may produce a broken library.
9328 allow_undefined_flag='-berok'
9329 # Determine the default libpath from the value encoded in an
9330 # empty executable.
9331 if test x$gcc_no_link = xyes; then
9332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9338 main ()
9342 return 0;
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9347 lt_aix_libpath_sed='
9348 /Import File Strings/,/^$/ {
9349 /^0/ {
9350 s/^0 *\(.*\)$/\1/
9354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355 # Check for a 64-bit object if we didn't find anything.
9356 if test -z "$aix_libpath"; then
9357 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9364 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9365 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9366 else
9367 if test "$host_cpu" = ia64; then
9368 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9369 allow_undefined_flag="-z nodefs"
9370 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"
9371 else
9372 # Determine the default libpath from the value encoded in an
9373 # empty executable.
9374 if test x$gcc_no_link = xyes; then
9375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9381 main ()
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9390 lt_aix_libpath_sed='
9391 /Import File Strings/,/^$/ {
9392 /^0/ {
9393 s/^0 *\(.*\)$/\1/
9397 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398 # Check for a 64-bit object if we didn't find anything.
9399 if test -z "$aix_libpath"; then
9400 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9407 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9408 # Warning - without using the other run time loading flags,
9409 # -berok will link without error, but may produce a broken library.
9410 no_undefined_flag=' ${wl}-bernotok'
9411 allow_undefined_flag=' ${wl}-berok'
9412 if test "$with_gnu_ld" = yes; then
9413 # We only use this code for GNU lds that support --whole-archive.
9414 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9415 else
9416 # Exported symbols can be pulled into shared objects from archives
9417 whole_archive_flag_spec='$convenience'
9419 archive_cmds_need_lc=yes
9420 # This is similar to how AIX traditionally builds its shared libraries.
9421 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'
9426 amigaos*)
9427 case $host_cpu in
9428 powerpc)
9429 # see comment about AmigaOS4 .so support
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds=''
9433 m68k)
9434 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)'
9435 hardcode_libdir_flag_spec='-L$libdir'
9436 hardcode_minus_L=yes
9438 esac
9441 bsdi[45]*)
9442 export_dynamic_flag_spec=-rdynamic
9445 cygwin* | mingw* | pw32* | cegcc*)
9446 # When not using gcc, we currently assume that we are using
9447 # Microsoft Visual C++.
9448 # hardcode_libdir_flag_spec is actually meaningless, as there is
9449 # no search path for DLLs.
9450 hardcode_libdir_flag_spec=' '
9451 allow_undefined_flag=unsupported
9452 # Tell ltmain to make .lib files, not .a files.
9453 libext=lib
9454 # Tell ltmain to make .dll files, not .so files.
9455 shrext_cmds=".dll"
9456 # FIXME: Setting linknames here is a bad hack.
9457 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458 # The linker will automatically build a .lib file if we build a DLL.
9459 old_archive_from_new_cmds='true'
9460 # FIXME: Should let the user specify the lib program.
9461 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462 fix_srcfile_path='`cygpath -w "$srcfile"`'
9463 enable_shared_with_static_runtimes=yes
9466 darwin* | rhapsody*)
9469 archive_cmds_need_lc=no
9470 hardcode_direct=no
9471 hardcode_automatic=yes
9472 hardcode_shlibpath_var=unsupported
9473 if test "$lt_cv_ld_force_load" = "yes"; then
9474 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9475 else
9476 whole_archive_flag_spec=''
9478 link_all_deplibs=yes
9479 allow_undefined_flag="$_lt_dar_allow_undefined"
9480 case $cc_basename in
9481 ifort*) _lt_dar_can_shared=yes ;;
9482 *) _lt_dar_can_shared=$GCC ;;
9483 esac
9484 if test "$_lt_dar_can_shared" = "yes"; then
9485 output_verbose_link_cmd=func_echo_all
9486 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9487 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9488 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9489 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9491 else
9492 ld_shlibs=no
9497 dgux*)
9498 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499 hardcode_libdir_flag_spec='-L$libdir'
9500 hardcode_shlibpath_var=no
9503 freebsd1*)
9504 ld_shlibs=no
9507 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9508 # support. Future versions do this automatically, but an explicit c++rt0.o
9509 # does not break anything, and helps significantly (at the cost of a little
9510 # extra space).
9511 freebsd2.2*)
9512 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9513 hardcode_libdir_flag_spec='-R$libdir'
9514 hardcode_direct=yes
9515 hardcode_shlibpath_var=no
9518 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9519 freebsd2*)
9520 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9521 hardcode_direct=yes
9522 hardcode_minus_L=yes
9523 hardcode_shlibpath_var=no
9526 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9527 freebsd* | dragonfly*)
9528 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9529 hardcode_libdir_flag_spec='-R$libdir'
9530 hardcode_direct=yes
9531 hardcode_shlibpath_var=no
9534 hpux9*)
9535 if test "$GCC" = yes; then
9536 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'
9537 else
9538 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'
9540 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9541 hardcode_libdir_separator=:
9542 hardcode_direct=yes
9544 # hardcode_minus_L: Not really in the search PATH,
9545 # but as the default location of the library.
9546 hardcode_minus_L=yes
9547 export_dynamic_flag_spec='${wl}-E'
9550 hpux10*)
9551 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9552 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553 else
9554 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9556 if test "$with_gnu_ld" = no; then
9557 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9558 hardcode_libdir_flag_spec_ld='+b $libdir'
9559 hardcode_libdir_separator=:
9560 hardcode_direct=yes
9561 hardcode_direct_absolute=yes
9562 export_dynamic_flag_spec='${wl}-E'
9563 # hardcode_minus_L: Not really in the search PATH,
9564 # but as the default location of the library.
9565 hardcode_minus_L=yes
9569 hpux11*)
9570 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9571 case $host_cpu in
9572 hppa*64*)
9573 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9575 ia64*)
9576 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9581 esac
9582 else
9583 case $host_cpu in
9584 hppa*64*)
9585 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9587 ia64*)
9588 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9592 # Older versions of the 11.00 compiler do not understand -b yet
9593 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9595 $as_echo_n "checking if $CC understands -b... " >&6; }
9596 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 lt_cv_prog_compiler__b=no
9600 save_LDFLAGS="$LDFLAGS"
9601 LDFLAGS="$LDFLAGS -b"
9602 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9603 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9604 # The linker can only warn and ignore the option if not recognized
9605 # So say no if there are warnings
9606 if test -s conftest.err; then
9607 # Append any errors to the config.log.
9608 cat conftest.err 1>&5
9609 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9610 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9611 if diff conftest.exp conftest.er2 >/dev/null; then
9612 lt_cv_prog_compiler__b=yes
9614 else
9615 lt_cv_prog_compiler__b=yes
9618 $RM -r conftest*
9619 LDFLAGS="$save_LDFLAGS"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9623 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9625 if test x"$lt_cv_prog_compiler__b" = xyes; then
9626 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9627 else
9628 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9632 esac
9634 if test "$with_gnu_ld" = no; then
9635 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9636 hardcode_libdir_separator=:
9638 case $host_cpu in
9639 hppa*64*|ia64*)
9640 hardcode_direct=no
9641 hardcode_shlibpath_var=no
9644 hardcode_direct=yes
9645 hardcode_direct_absolute=yes
9646 export_dynamic_flag_spec='${wl}-E'
9648 # hardcode_minus_L: Not really in the search PATH,
9649 # but as the default location of the library.
9650 hardcode_minus_L=yes
9652 esac
9656 irix5* | irix6* | nonstopux*)
9657 if test "$GCC" = yes; then
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9659 # Try to use the -exported_symbol ld option, if it does not
9660 # work, assume that -exports_file does not work either and
9661 # implicitly export all symbols.
9662 save_LDFLAGS="$LDFLAGS"
9663 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9664 if test x$gcc_no_link = xyes; then
9665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9669 int foo(void) {}
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LDFLAGS="$save_LDFLAGS"
9678 else
9679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9680 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9682 archive_cmds_need_lc='no'
9683 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9684 hardcode_libdir_separator=:
9685 inherit_rpath=yes
9686 link_all_deplibs=yes
9689 netbsd*)
9690 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9691 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9692 else
9693 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9695 hardcode_libdir_flag_spec='-R$libdir'
9696 hardcode_direct=yes
9697 hardcode_shlibpath_var=no
9700 newsos6)
9701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9702 hardcode_direct=yes
9703 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9704 hardcode_libdir_separator=:
9705 hardcode_shlibpath_var=no
9708 *nto* | *qnx*)
9711 openbsd*)
9712 if test -f /usr/libexec/ld.so; then
9713 hardcode_direct=yes
9714 hardcode_shlibpath_var=no
9715 hardcode_direct_absolute=yes
9716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9717 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9719 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9720 export_dynamic_flag_spec='${wl}-E'
9721 else
9722 case $host_os in
9723 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9725 hardcode_libdir_flag_spec='-R$libdir'
9728 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9729 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9731 esac
9733 else
9734 ld_shlibs=no
9738 os2*)
9739 hardcode_libdir_flag_spec='-L$libdir'
9740 hardcode_minus_L=yes
9741 allow_undefined_flag=unsupported
9742 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'
9743 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9746 osf3*)
9747 if test "$GCC" = yes; then
9748 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9749 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9750 else
9751 allow_undefined_flag=' -expect_unresolved \*'
9752 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9754 archive_cmds_need_lc='no'
9755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9756 hardcode_libdir_separator=:
9759 osf4* | osf5*) # as osf3* with the addition of -msym flag
9760 if test "$GCC" = yes; then
9761 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9762 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9763 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9764 else
9765 allow_undefined_flag=' -expect_unresolved \*'
9766 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9767 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~
9768 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9770 # Both c and cxx compiler support -rpath directly
9771 hardcode_libdir_flag_spec='-rpath $libdir'
9773 archive_cmds_need_lc='no'
9774 hardcode_libdir_separator=:
9777 solaris*)
9778 no_undefined_flag=' -z defs'
9779 if test "$GCC" = yes; then
9780 wlarc='${wl}'
9781 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9783 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9784 else
9785 case `$CC -V 2>&1` in
9786 *"Compilers 5.0"*)
9787 wlarc=''
9788 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9790 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9793 wlarc='${wl}'
9794 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9796 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9798 esac
9800 hardcode_libdir_flag_spec='-R$libdir'
9801 hardcode_shlibpath_var=no
9802 case $host_os in
9803 solaris2.[0-5] | solaris2.[0-5].*) ;;
9805 # The compiler driver will combine and reorder linker options,
9806 # but understands `-z linker_flag'. GCC discards it without `$wl',
9807 # but is careful enough not to reorder.
9808 # Supported since Solaris 2.6 (maybe 2.5.1?)
9809 if test "$GCC" = yes; then
9810 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9811 else
9812 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9815 esac
9816 link_all_deplibs=yes
9819 sunos4*)
9820 if test "x$host_vendor" = xsequent; then
9821 # Use $CC to link under sequent, because it throws in some extra .o
9822 # files that make .init and .fini sections work.
9823 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9824 else
9825 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_libdir_flag_spec='-L$libdir'
9828 hardcode_direct=yes
9829 hardcode_minus_L=yes
9830 hardcode_shlibpath_var=no
9833 sysv4)
9834 case $host_vendor in
9835 sni)
9836 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9837 hardcode_direct=yes # is this really true???
9839 siemens)
9840 ## LD is ld it makes a PLAMLIB
9841 ## CC just makes a GrossModule.
9842 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9843 reload_cmds='$CC -r -o $output$reload_objs'
9844 hardcode_direct=no
9846 motorola)
9847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9848 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9850 esac
9851 runpath_var='LD_RUN_PATH'
9852 hardcode_shlibpath_var=no
9855 sysv4.3*)
9856 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857 hardcode_shlibpath_var=no
9858 export_dynamic_flag_spec='-Bexport'
9861 sysv4*MP*)
9862 if test -d /usr/nec; then
9863 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_shlibpath_var=no
9865 runpath_var=LD_RUN_PATH
9866 hardcode_runpath_var=yes
9867 ld_shlibs=yes
9871 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9872 no_undefined_flag='${wl}-z,text'
9873 archive_cmds_need_lc=no
9874 hardcode_shlibpath_var=no
9875 runpath_var='LD_RUN_PATH'
9877 if test "$GCC" = yes; then
9878 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 else
9881 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 sysv5* | sco3.2v5* | sco5v6*)
9887 # Note: We can NOT use -z defs as we might desire, because we do not
9888 # link with -lc, and that would cause any symbols used from libc to
9889 # always be unresolved, which means just about no library would
9890 # ever link correctly. If we're not using GNU ld we use -z text
9891 # though, which does catch some bad symbols but isn't as heavy-handed
9892 # as -z defs.
9893 no_undefined_flag='${wl}-z,text'
9894 allow_undefined_flag='${wl}-z,nodefs'
9895 archive_cmds_need_lc=no
9896 hardcode_shlibpath_var=no
9897 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9898 hardcode_libdir_separator=':'
9899 link_all_deplibs=yes
9900 export_dynamic_flag_spec='${wl}-Bexport'
9901 runpath_var='LD_RUN_PATH'
9903 if test "$GCC" = yes; then
9904 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906 else
9907 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 uts4*)
9913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_libdir_flag_spec='-L$libdir'
9915 hardcode_shlibpath_var=no
9919 ld_shlibs=no
9921 esac
9923 if test x$host_vendor = xsni; then
9924 case $host in
9925 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9926 export_dynamic_flag_spec='${wl}-Blargedynsym'
9928 esac
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9933 $as_echo "$ld_shlibs" >&6; }
9934 test "$ld_shlibs" = no && can_build_shared=no
9936 with_gnu_ld=$with_gnu_ld
9953 # Do we need to explicitly link libc?
9955 case "x$archive_cmds_need_lc" in
9956 x|xyes)
9957 # Assume -lc should be added
9958 archive_cmds_need_lc=yes
9960 if test "$enable_shared" = yes && test "$GCC" = yes; then
9961 case $archive_cmds in
9962 *'~'*)
9963 # FIXME: we may have to deal with multi-command sequences.
9965 '$CC '*)
9966 # Test whether the compiler implicitly links with -lc since on some
9967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9968 # to ld, don't add -lc before -lgcc.
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9971 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 $RM conftest*
9975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9978 (eval $ac_compile) 2>&5
9979 ac_status=$?
9980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981 test $ac_status = 0; } 2>conftest.err; then
9982 soname=conftest
9983 lib=conftest
9984 libobjs=conftest.$ac_objext
9985 deplibs=
9986 wl=$lt_prog_compiler_wl
9987 pic_flag=$lt_prog_compiler_pic
9988 compiler_flags=-v
9989 linker_flags=-v
9990 verstring=
9991 output_objdir=.
9992 libname=conftest
9993 lt_save_allow_undefined_flag=$allow_undefined_flag
9994 allow_undefined_flag=
9995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9996 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9997 ac_status=$?
9998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9999 test $ac_status = 0; }
10000 then
10001 lt_cv_archive_cmds_need_lc=no
10002 else
10003 lt_cv_archive_cmds_need_lc=yes
10005 allow_undefined_flag=$lt_save_allow_undefined_flag
10006 else
10007 cat conftest.err 1>&5
10009 $RM conftest*
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10013 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10014 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10016 esac
10019 esac
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10180 if test "$GCC" = yes; then
10181 case $host_os in
10182 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10183 *) lt_awk_arg="/^libraries:/" ;;
10184 esac
10185 case $host_os in
10186 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10187 *) lt_sed_strip_eq="s,=/,/,g" ;;
10188 esac
10189 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10190 case $lt_search_path_spec in
10191 *\;*)
10192 # if the path contains ";" then we assume it to be the separator
10193 # otherwise default to the standard path separator (i.e. ":") - it is
10194 # assumed that no part of a normal pathname contains ";" but that should
10195 # okay in the real world where ";" in dirpaths is itself problematic.
10196 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10199 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10201 esac
10202 # Ok, now we have the path, separated by spaces, we can step through it
10203 # and add multilib dir if necessary.
10204 lt_tmp_lt_search_path_spec=
10205 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10206 for lt_sys_path in $lt_search_path_spec; do
10207 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10208 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10209 else
10210 test -d "$lt_sys_path" && \
10211 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10213 done
10214 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10215 BEGIN {RS=" "; FS="/|\n";} {
10216 lt_foo="";
10217 lt_count=0;
10218 for (lt_i = NF; lt_i > 0; lt_i--) {
10219 if ($lt_i != "" && $lt_i != ".") {
10220 if ($lt_i == "..") {
10221 lt_count++;
10222 } else {
10223 if (lt_count == 0) {
10224 lt_foo="/" $lt_i lt_foo;
10225 } else {
10226 lt_count--;
10231 if (lt_foo != "") { lt_freq[lt_foo]++; }
10232 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10234 # AWK program above erroneously prepends '/' to C:/dos/paths
10235 # for these hosts.
10236 case $host_os in
10237 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10238 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10239 esac
10240 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10241 else
10242 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10244 library_names_spec=
10245 libname_spec='lib$name'
10246 soname_spec=
10247 shrext_cmds=".so"
10248 postinstall_cmds=
10249 postuninstall_cmds=
10250 finish_cmds=
10251 finish_eval=
10252 shlibpath_var=
10253 shlibpath_overrides_runpath=unknown
10254 version_type=none
10255 dynamic_linker="$host_os ld.so"
10256 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10257 need_lib_prefix=unknown
10258 hardcode_into_libs=no
10260 # when you set need_version to no, make sure it does not cause -set_version
10261 # flags to be left without arguments
10262 need_version=unknown
10264 case $host_os in
10265 aix3*)
10266 version_type=linux
10267 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10268 shlibpath_var=LIBPATH
10270 # AIX 3 has no versioning support, so we append a major version to the name.
10271 soname_spec='${libname}${release}${shared_ext}$major'
10274 aix[4-9]*)
10275 version_type=linux
10276 need_lib_prefix=no
10277 need_version=no
10278 hardcode_into_libs=yes
10279 if test "$host_cpu" = ia64; then
10280 # AIX 5 supports IA64
10281 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10282 shlibpath_var=LD_LIBRARY_PATH
10283 else
10284 # With GCC up to 2.95.x, collect2 would create an import file
10285 # for dependence libraries. The import file would start with
10286 # the line `#! .'. This would cause the generated library to
10287 # depend on `.', always an invalid library. This was fixed in
10288 # development snapshots of GCC prior to 3.0.
10289 case $host_os in
10290 aix4 | aix4.[01] | aix4.[01].*)
10291 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10292 echo ' yes '
10293 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10295 else
10296 can_build_shared=no
10299 esac
10300 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10301 # soname into executable. Probably we can add versioning support to
10302 # collect2, so additional links can be useful in future.
10303 if test "$aix_use_runtimelinking" = yes; then
10304 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10305 # instead of lib<name>.a to let people know that these are not
10306 # typical AIX shared libraries.
10307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 else
10309 # We preserve .a as extension for shared libraries through AIX4.2
10310 # and later when we are not doing run time linking.
10311 library_names_spec='${libname}${release}.a $libname.a'
10312 soname_spec='${libname}${release}${shared_ext}$major'
10314 shlibpath_var=LIBPATH
10318 amigaos*)
10319 case $host_cpu in
10320 powerpc)
10321 # Since July 2007 AmigaOS4 officially supports .so libraries.
10322 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325 m68k)
10326 library_names_spec='$libname.ixlibrary $libname.a'
10327 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10328 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10330 esac
10333 beos*)
10334 library_names_spec='${libname}${shared_ext}'
10335 dynamic_linker="$host_os ld.so"
10336 shlibpath_var=LIBRARY_PATH
10339 bsdi[45]*)
10340 version_type=linux
10341 need_version=no
10342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec='${libname}${release}${shared_ext}$major'
10344 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10345 shlibpath_var=LD_LIBRARY_PATH
10346 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10347 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10348 # the default ld.so.conf also contains /usr/contrib/lib and
10349 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10350 # libtool to hard-code these into programs
10353 cygwin* | mingw* | pw32* | cegcc*)
10354 version_type=windows
10355 shrext_cmds=".dll"
10356 need_version=no
10357 need_lib_prefix=no
10359 case $GCC,$host_os in
10360 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10361 library_names_spec='$libname.dll.a'
10362 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10363 postinstall_cmds='base_file=`basename \${file}`~
10364 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10365 dldir=$destdir/`dirname \$dlpath`~
10366 test -d \$dldir || mkdir -p \$dldir~
10367 $install_prog $dir/$dlname \$dldir/$dlname~
10368 chmod a+x \$dldir/$dlname~
10369 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10370 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10372 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10373 dlpath=$dir/\$dldll~
10374 $RM \$dlpath'
10375 shlibpath_overrides_runpath=yes
10377 case $host_os in
10378 cygwin*)
10379 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10380 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10382 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10384 mingw* | cegcc*)
10385 # MinGW DLLs use traditional 'lib' prefix
10386 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10388 pw32*)
10389 # pw32 DLLs use 'pw' prefix rather than 'lib'
10390 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10392 esac
10396 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10398 esac
10399 dynamic_linker='Win32 ld.exe'
10400 # FIXME: first we should search . and the directory the executable is in
10401 shlibpath_var=PATH
10404 darwin* | rhapsody*)
10405 dynamic_linker="$host_os dyld"
10406 version_type=darwin
10407 need_lib_prefix=no
10408 need_version=no
10409 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10410 soname_spec='${libname}${release}${major}$shared_ext'
10411 shlibpath_overrides_runpath=yes
10412 shlibpath_var=DYLD_LIBRARY_PATH
10413 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10415 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10416 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10419 dgux*)
10420 version_type=linux
10421 need_lib_prefix=no
10422 need_version=no
10423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10424 soname_spec='${libname}${release}${shared_ext}$major'
10425 shlibpath_var=LD_LIBRARY_PATH
10428 freebsd1*)
10429 dynamic_linker=no
10432 freebsd* | dragonfly*)
10433 # DragonFly does not have aout. When/if they implement a new
10434 # versioning mechanism, adjust this.
10435 if test -x /usr/bin/objformat; then
10436 objformat=`/usr/bin/objformat`
10437 else
10438 case $host_os in
10439 freebsd[123]*) objformat=aout ;;
10440 *) objformat=elf ;;
10441 esac
10443 version_type=freebsd-$objformat
10444 case $version_type in
10445 freebsd-elf*)
10446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10447 need_version=no
10448 need_lib_prefix=no
10450 freebsd-*)
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10452 need_version=yes
10454 esac
10455 shlibpath_var=LD_LIBRARY_PATH
10456 case $host_os in
10457 freebsd2*)
10458 shlibpath_overrides_runpath=yes
10460 freebsd3.[01]* | freebsdelf3.[01]*)
10461 shlibpath_overrides_runpath=yes
10462 hardcode_into_libs=yes
10464 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10465 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10466 shlibpath_overrides_runpath=no
10467 hardcode_into_libs=yes
10469 *) # from 4.6 on, and DragonFly
10470 shlibpath_overrides_runpath=yes
10471 hardcode_into_libs=yes
10473 esac
10476 gnu*)
10477 version_type=linux
10478 need_lib_prefix=no
10479 need_version=no
10480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10481 soname_spec='${libname}${release}${shared_ext}$major'
10482 shlibpath_var=LD_LIBRARY_PATH
10483 hardcode_into_libs=yes
10486 haiku*)
10487 version_type=linux
10488 need_lib_prefix=no
10489 need_version=no
10490 dynamic_linker="$host_os runtime_loader"
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10492 soname_spec='${libname}${release}${shared_ext}$major'
10493 shlibpath_var=LIBRARY_PATH
10494 shlibpath_overrides_runpath=yes
10495 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10496 hardcode_into_libs=yes
10499 hpux9* | hpux10* | hpux11*)
10500 # Give a soname corresponding to the major version so that dld.sl refuses to
10501 # link against other versions.
10502 version_type=sunos
10503 need_lib_prefix=no
10504 need_version=no
10505 case $host_cpu in
10506 ia64*)
10507 shrext_cmds='.so'
10508 hardcode_into_libs=yes
10509 dynamic_linker="$host_os dld.so"
10510 shlibpath_var=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec='${libname}${release}${shared_ext}$major'
10514 if test "X$HPUX_IA64_MODE" = X32; then
10515 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10516 else
10517 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10519 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10521 hppa*64*)
10522 shrext_cmds='.sl'
10523 hardcode_into_libs=yes
10524 dynamic_linker="$host_os dld.sl"
10525 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10526 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec='${libname}${release}${shared_ext}$major'
10529 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10530 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10533 shrext_cmds='.sl'
10534 dynamic_linker="$host_os dld.sl"
10535 shlibpath_var=SHLIB_PATH
10536 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10540 esac
10541 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10542 postinstall_cmds='chmod 555 $lib'
10543 # or fails outright, so override atomically:
10544 install_override_mode=555
10547 interix[3-9]*)
10548 version_type=linux
10549 need_lib_prefix=no
10550 need_version=no
10551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10552 soname_spec='${libname}${release}${shared_ext}$major'
10553 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10554 shlibpath_var=LD_LIBRARY_PATH
10555 shlibpath_overrides_runpath=no
10556 hardcode_into_libs=yes
10559 irix5* | irix6* | nonstopux*)
10560 case $host_os in
10561 nonstopux*) version_type=nonstopux ;;
10563 if test "$lt_cv_prog_gnu_ld" = yes; then
10564 version_type=linux
10565 else
10566 version_type=irix
10567 fi ;;
10568 esac
10569 need_lib_prefix=no
10570 need_version=no
10571 soname_spec='${libname}${release}${shared_ext}$major'
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10573 case $host_os in
10574 irix5* | nonstopux*)
10575 libsuff= shlibsuff=
10578 case $LD in # libtool.m4 will add one of these switches to LD
10579 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10580 libsuff= shlibsuff= libmagic=32-bit;;
10581 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10582 libsuff=32 shlibsuff=N32 libmagic=N32;;
10583 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10584 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10585 *) libsuff= shlibsuff= libmagic=never-match;;
10586 esac
10588 esac
10589 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10590 shlibpath_overrides_runpath=no
10591 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10592 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10593 hardcode_into_libs=yes
10596 # No shared lib support for Linux oldld, aout, or coff.
10597 linux*oldld* | linux*aout* | linux*coff*)
10598 dynamic_linker=no
10601 # This must be Linux ELF.
10602 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10603 version_type=linux
10604 need_lib_prefix=no
10605 need_version=no
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10609 shlibpath_var=LD_LIBRARY_PATH
10610 shlibpath_overrides_runpath=no
10612 # Some binutils ld are patched to set DT_RUNPATH
10613 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10614 $as_echo_n "(cached) " >&6
10615 else
10616 lt_cv_shlibpath_overrides_runpath=no
10617 save_LDFLAGS=$LDFLAGS
10618 save_libdir=$libdir
10619 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10620 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10621 if test x$gcc_no_link = xyes; then
10622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10628 main ()
10632 return 0;
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10637 lt_cv_shlibpath_overrides_runpath=yes
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LDFLAGS=$save_LDFLAGS
10643 libdir=$save_libdir
10647 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10649 # This implies no fast_install, which is unacceptable.
10650 # Some rework will be needed to allow for fast_install
10651 # before this can be enabled.
10652 hardcode_into_libs=yes
10654 # Append ld.so.conf contents to the search path
10655 if test -f /etc/ld.so.conf; then
10656 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10657 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10660 # We used to test for /lib/ld.so.1 and disable shared libraries on
10661 # powerpc, because MkLinux only supported shared libraries with the
10662 # GNU dynamic linker. Since this was broken with cross compilers,
10663 # most powerpc-linux boxes support dynamic linking these days and
10664 # people can always --disable-shared, the test was removed, and we
10665 # assume the GNU/Linux dynamic linker is in use.
10666 dynamic_linker='GNU/Linux ld.so'
10669 netbsd*)
10670 version_type=sunos
10671 need_lib_prefix=no
10672 need_version=no
10673 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10675 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10676 dynamic_linker='NetBSD (a.out) ld.so'
10677 else
10678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10679 soname_spec='${libname}${release}${shared_ext}$major'
10680 dynamic_linker='NetBSD ld.elf_so'
10682 shlibpath_var=LD_LIBRARY_PATH
10683 shlibpath_overrides_runpath=yes
10684 hardcode_into_libs=yes
10687 newsos6)
10688 version_type=linux
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=yes
10694 *nto* | *qnx*)
10695 version_type=qnx
10696 need_lib_prefix=no
10697 need_version=no
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LD_LIBRARY_PATH
10701 shlibpath_overrides_runpath=no
10702 hardcode_into_libs=yes
10703 dynamic_linker='ldqnx.so'
10706 openbsd*)
10707 version_type=sunos
10708 sys_lib_dlsearch_path_spec="/usr/lib"
10709 need_lib_prefix=no
10710 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10711 case $host_os in
10712 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10713 *) need_version=no ;;
10714 esac
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10716 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10719 case $host_os in
10720 openbsd2.[89] | openbsd2.[89].*)
10721 shlibpath_overrides_runpath=no
10724 shlibpath_overrides_runpath=yes
10726 esac
10727 else
10728 shlibpath_overrides_runpath=yes
10732 os2*)
10733 libname_spec='$name'
10734 shrext_cmds=".dll"
10735 need_lib_prefix=no
10736 library_names_spec='$libname${shared_ext} $libname.a'
10737 dynamic_linker='OS/2 ld.exe'
10738 shlibpath_var=LIBPATH
10741 osf3* | osf4* | osf5*)
10742 version_type=osf
10743 need_lib_prefix=no
10744 need_version=no
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747 shlibpath_var=LD_LIBRARY_PATH
10748 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10749 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10752 rdos*)
10753 dynamic_linker=no
10756 solaris*)
10757 version_type=linux
10758 need_lib_prefix=no
10759 need_version=no
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 shlibpath_var=LD_LIBRARY_PATH
10763 shlibpath_overrides_runpath=yes
10764 hardcode_into_libs=yes
10765 # ldd complains unless libraries are executable
10766 postinstall_cmds='chmod +x $lib'
10769 sunos4*)
10770 version_type=sunos
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10772 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath=yes
10775 if test "$with_gnu_ld" = yes; then
10776 need_lib_prefix=no
10778 need_version=yes
10781 sysv4 | sysv4.3*)
10782 version_type=linux
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 soname_spec='${libname}${release}${shared_ext}$major'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 case $host_vendor in
10787 sni)
10788 shlibpath_overrides_runpath=no
10789 need_lib_prefix=no
10790 runpath_var=LD_RUN_PATH
10792 siemens)
10793 need_lib_prefix=no
10795 motorola)
10796 need_lib_prefix=no
10797 need_version=no
10798 shlibpath_overrides_runpath=no
10799 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10801 esac
10804 sysv4*MP*)
10805 if test -d /usr/nec ;then
10806 version_type=linux
10807 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10808 soname_spec='$libname${shared_ext}.$major'
10809 shlibpath_var=LD_LIBRARY_PATH
10813 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10814 version_type=freebsd-elf
10815 need_lib_prefix=no
10816 need_version=no
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 shlibpath_var=LD_LIBRARY_PATH
10820 shlibpath_overrides_runpath=yes
10821 hardcode_into_libs=yes
10822 if test "$with_gnu_ld" = yes; then
10823 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10824 else
10825 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10826 case $host_os in
10827 sco3.2v5*)
10828 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10830 esac
10832 sys_lib_dlsearch_path_spec='/usr/lib'
10835 tpf*)
10836 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10837 version_type=linux
10838 need_lib_prefix=no
10839 need_version=no
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath=no
10843 hardcode_into_libs=yes
10846 uts4*)
10847 version_type=linux
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 soname_spec='${libname}${release}${shared_ext}$major'
10850 shlibpath_var=LD_LIBRARY_PATH
10854 dynamic_linker=no
10856 esac
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10858 $as_echo "$dynamic_linker" >&6; }
10859 test "$dynamic_linker" = no && can_build_shared=no
10861 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10862 if test "$GCC" = yes; then
10863 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10866 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10867 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10869 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10870 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10965 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10966 hardcode_action=
10967 if test -n "$hardcode_libdir_flag_spec" ||
10968 test -n "$runpath_var" ||
10969 test "X$hardcode_automatic" = "Xyes" ; then
10971 # We can hardcode non-existent directories.
10972 if test "$hardcode_direct" != no &&
10973 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10974 # have to relink, otherwise we might link with an installed library
10975 # when we should be linking with a yet-to-be-installed one
10976 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10977 test "$hardcode_minus_L" != no; then
10978 # Linking always hardcodes the temporary library directory.
10979 hardcode_action=relink
10980 else
10981 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10982 hardcode_action=immediate
10984 else
10985 # We cannot hardcode anything, or else we can only hardcode existing
10986 # directories.
10987 hardcode_action=unsupported
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10990 $as_echo "$hardcode_action" >&6; }
10992 if test "$hardcode_action" = relink ||
10993 test "$inherit_rpath" = yes; then
10994 # Fast installation is not supported
10995 enable_fast_install=no
10996 elif test "$shlibpath_overrides_runpath" = yes ||
10997 test "$enable_shared" = no; then
10998 # Fast installation is not necessary
10999 enable_fast_install=needless
11007 if test "x$enable_dlopen" != xyes; then
11008 enable_dlopen=unknown
11009 enable_dlopen_self=unknown
11010 enable_dlopen_self_static=unknown
11011 else
11012 lt_cv_dlopen=no
11013 lt_cv_dlopen_libs=
11015 case $host_os in
11016 beos*)
11017 lt_cv_dlopen="load_add_on"
11018 lt_cv_dlopen_libs=
11019 lt_cv_dlopen_self=yes
11022 mingw* | pw32* | cegcc*)
11023 lt_cv_dlopen="LoadLibrary"
11024 lt_cv_dlopen_libs=
11027 cygwin*)
11028 lt_cv_dlopen="dlopen"
11029 lt_cv_dlopen_libs=
11032 darwin*)
11033 # if libdl is installed we need to link against it
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11035 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-ldl $LIBS"
11041 if test x$gcc_no_link = xyes; then
11042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11050 #ifdef __cplusplus
11051 extern "C"
11052 #endif
11053 char dlopen ();
11055 main ()
11057 return dlopen ();
11059 return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 ac_cv_lib_dl_dlopen=yes
11064 else
11065 ac_cv_lib_dl_dlopen=no
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11072 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11073 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11074 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11075 else
11077 lt_cv_dlopen="dyld"
11078 lt_cv_dlopen_libs=
11079 lt_cv_dlopen_self=yes
11086 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11087 if test "x$ac_cv_func_shl_load" = x""yes; then :
11088 lt_cv_dlopen="shl_load"
11089 else
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11091 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11092 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-ldld $LIBS"
11097 if test x$gcc_no_link = xyes; then
11098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char shl_load ();
11111 main ()
11113 return shl_load ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_dld_shl_load=yes
11120 else
11121 ac_cv_lib_dld_shl_load=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11128 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11129 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11130 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11131 else
11132 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11133 if test "x$ac_cv_func_dlopen" = x""yes; then :
11134 lt_cv_dlopen="dlopen"
11135 else
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11137 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-ldl $LIBS"
11143 if test x$gcc_no_link = xyes; then
11144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char dlopen ();
11157 main ()
11159 return dlopen ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_dl_dlopen=yes
11166 else
11167 ac_cv_lib_dl_dlopen=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11175 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11176 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11177 else
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11179 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11180 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lsvld $LIBS"
11185 if test x$gcc_no_link = xyes; then
11186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char dlopen ();
11199 main ()
11201 return dlopen ();
11203 return 0;
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_svld_dlopen=yes
11208 else
11209 ac_cv_lib_svld_dlopen=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11216 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11217 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11218 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11219 else
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11221 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11222 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11223 $as_echo_n "(cached) " >&6
11224 else
11225 ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-ldld $LIBS"
11227 if test x$gcc_no_link = xyes; then
11228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char dld_link ();
11241 main ()
11243 return dld_link ();
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 ac_cv_lib_dld_dld_link=yes
11250 else
11251 ac_cv_lib_dld_dld_link=no
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11258 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11259 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11260 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11279 esac
11281 if test "x$lt_cv_dlopen" != xno; then
11282 enable_dlopen=yes
11283 else
11284 enable_dlopen=no
11287 case $lt_cv_dlopen in
11288 dlopen)
11289 save_CPPFLAGS="$CPPFLAGS"
11290 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11292 save_LDFLAGS="$LDFLAGS"
11293 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11295 save_LIBS="$LIBS"
11296 LIBS="$lt_cv_dlopen_libs $LIBS"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11299 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11300 if test "${lt_cv_dlopen_self+set}" = set; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 if test "$cross_compiling" = yes; then :
11304 lt_cv_dlopen_self=cross
11305 else
11306 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11307 lt_status=$lt_dlunknown
11308 cat > conftest.$ac_ext <<_LT_EOF
11309 #line 11309 "configure"
11310 #include "confdefs.h"
11312 #if HAVE_DLFCN_H
11313 #include <dlfcn.h>
11314 #endif
11316 #include <stdio.h>
11318 #ifdef RTLD_GLOBAL
11319 # define LT_DLGLOBAL RTLD_GLOBAL
11320 #else
11321 # ifdef DL_GLOBAL
11322 # define LT_DLGLOBAL DL_GLOBAL
11323 # else
11324 # define LT_DLGLOBAL 0
11325 # endif
11326 #endif
11328 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11329 find out it does not work in some platform. */
11330 #ifndef LT_DLLAZY_OR_NOW
11331 # ifdef RTLD_LAZY
11332 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11333 # else
11334 # ifdef DL_LAZY
11335 # define LT_DLLAZY_OR_NOW DL_LAZY
11336 # else
11337 # ifdef RTLD_NOW
11338 # define LT_DLLAZY_OR_NOW RTLD_NOW
11339 # else
11340 # ifdef DL_NOW
11341 # define LT_DLLAZY_OR_NOW DL_NOW
11342 # else
11343 # define LT_DLLAZY_OR_NOW 0
11344 # endif
11345 # endif
11346 # endif
11347 # endif
11348 #endif
11350 /* When -fvisbility=hidden is used, assume the code has been annotated
11351 correspondingly for the symbols needed. */
11352 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11353 void fnord () __attribute__((visibility("default")));
11354 #endif
11356 void fnord () { int i=42; }
11357 int main ()
11359 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11360 int status = $lt_dlunknown;
11362 if (self)
11364 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11365 else
11367 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11368 else puts (dlerror ());
11370 /* dlclose (self); */
11372 else
11373 puts (dlerror ());
11375 return status;
11377 _LT_EOF
11378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11379 (eval $ac_link) 2>&5
11380 ac_status=$?
11381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11382 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11383 (./conftest; exit; ) >&5 2>/dev/null
11384 lt_status=$?
11385 case x$lt_status in
11386 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11387 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11388 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11389 esac
11390 else :
11391 # compilation failed
11392 lt_cv_dlopen_self=no
11395 rm -fr conftest*
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11400 $as_echo "$lt_cv_dlopen_self" >&6; }
11402 if test "x$lt_cv_dlopen_self" = xyes; then
11403 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11405 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11406 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 if test "$cross_compiling" = yes; then :
11410 lt_cv_dlopen_self_static=cross
11411 else
11412 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11413 lt_status=$lt_dlunknown
11414 cat > conftest.$ac_ext <<_LT_EOF
11415 #line 11415 "configure"
11416 #include "confdefs.h"
11418 #if HAVE_DLFCN_H
11419 #include <dlfcn.h>
11420 #endif
11422 #include <stdio.h>
11424 #ifdef RTLD_GLOBAL
11425 # define LT_DLGLOBAL RTLD_GLOBAL
11426 #else
11427 # ifdef DL_GLOBAL
11428 # define LT_DLGLOBAL DL_GLOBAL
11429 # else
11430 # define LT_DLGLOBAL 0
11431 # endif
11432 #endif
11434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11435 find out it does not work in some platform. */
11436 #ifndef LT_DLLAZY_OR_NOW
11437 # ifdef RTLD_LAZY
11438 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11439 # else
11440 # ifdef DL_LAZY
11441 # define LT_DLLAZY_OR_NOW DL_LAZY
11442 # else
11443 # ifdef RTLD_NOW
11444 # define LT_DLLAZY_OR_NOW RTLD_NOW
11445 # else
11446 # ifdef DL_NOW
11447 # define LT_DLLAZY_OR_NOW DL_NOW
11448 # else
11449 # define LT_DLLAZY_OR_NOW 0
11450 # endif
11451 # endif
11452 # endif
11453 # endif
11454 #endif
11456 /* When -fvisbility=hidden is used, assume the code has been annotated
11457 correspondingly for the symbols needed. */
11458 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11459 void fnord () __attribute__((visibility("default")));
11460 #endif
11462 void fnord () { int i=42; }
11463 int main ()
11465 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11466 int status = $lt_dlunknown;
11468 if (self)
11470 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11471 else
11473 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11474 else puts (dlerror ());
11476 /* dlclose (self); */
11478 else
11479 puts (dlerror ());
11481 return status;
11483 _LT_EOF
11484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11485 (eval $ac_link) 2>&5
11486 ac_status=$?
11487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11489 (./conftest; exit; ) >&5 2>/dev/null
11490 lt_status=$?
11491 case x$lt_status in
11492 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11493 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11494 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11495 esac
11496 else :
11497 # compilation failed
11498 lt_cv_dlopen_self_static=no
11501 rm -fr conftest*
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11506 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11509 CPPFLAGS="$save_CPPFLAGS"
11510 LDFLAGS="$save_LDFLAGS"
11511 LIBS="$save_LIBS"
11513 esac
11515 case $lt_cv_dlopen_self in
11516 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11517 *) enable_dlopen_self=unknown ;;
11518 esac
11520 case $lt_cv_dlopen_self_static in
11521 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11522 *) enable_dlopen_self_static=unknown ;;
11523 esac
11542 striplib=
11543 old_striplib=
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11545 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11546 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11547 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11548 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11550 $as_echo "yes" >&6; }
11551 else
11552 # FIXME - insert some real tests, host_os isn't really good enough
11553 case $host_os in
11554 darwin*)
11555 if test -n "$STRIP" ; then
11556 striplib="$STRIP -x"
11557 old_striplib="$STRIP -S"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11559 $as_echo "yes" >&6; }
11560 else
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11562 $as_echo "no" >&6; }
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567 $as_echo "no" >&6; }
11569 esac
11583 # Report which library types will actually be built
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11585 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11587 $as_echo "$can_build_shared" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11590 $as_echo_n "checking whether to build shared libraries... " >&6; }
11591 test "$can_build_shared" = "no" && enable_shared=no
11593 # On AIX, shared libraries and static libraries use the same namespace, and
11594 # are all built from PIC.
11595 case $host_os in
11596 aix3*)
11597 test "$enable_shared" = yes && enable_static=no
11598 if test -n "$RANLIB"; then
11599 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11600 postinstall_cmds='$RANLIB $lib'
11604 aix[4-9]*)
11605 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11606 test "$enable_shared" = yes && enable_static=no
11609 esac
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11611 $as_echo "$enable_shared" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11614 $as_echo_n "checking whether to build static libraries... " >&6; }
11615 # Make sure either enable_shared or enable_static is yes.
11616 test "$enable_shared" = yes || enable_static=yes
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11618 $as_echo "$enable_static" >&6; }
11624 ac_ext=c
11625 ac_cpp='$CPP $CPPFLAGS'
11626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11630 CC="$lt_save_CC"
11644 ac_config_commands="$ac_config_commands libtool"
11649 # Only expand once:
11654 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11656 # We need gfortran to compile parts of the library
11657 #AC_PROG_FC(gfortran)
11658 FC="$GFORTRAN"
11659 ac_ext=${ac_fc_srcext-f}
11660 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11661 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11662 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11663 if test -n "$ac_tool_prefix"; then
11664 for ac_prog in gfortran
11666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11669 $as_echo_n "checking for $ac_word... " >&6; }
11670 if test "${ac_cv_prog_FC+set}" = set; then :
11671 $as_echo_n "(cached) " >&6
11672 else
11673 if test -n "$FC"; then
11674 ac_cv_prog_FC="$FC" # Let the user override the test.
11675 else
11676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11679 IFS=$as_save_IFS
11680 test -z "$as_dir" && as_dir=.
11681 for ac_exec_ext in '' $ac_executable_extensions; do
11682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11683 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11685 break 2
11687 done
11688 done
11689 IFS=$as_save_IFS
11693 FC=$ac_cv_prog_FC
11694 if test -n "$FC"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11696 $as_echo "$FC" >&6; }
11697 else
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11703 test -n "$FC" && break
11704 done
11706 if test -z "$FC"; then
11707 ac_ct_FC=$FC
11708 for ac_prog in gfortran
11710 # Extract the first word of "$ac_prog", so it can be a program name with args.
11711 set dummy $ac_prog; ac_word=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 if test -n "$ac_ct_FC"; then
11718 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11719 else
11720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11721 for as_dir in $PATH
11723 IFS=$as_save_IFS
11724 test -z "$as_dir" && as_dir=.
11725 for ac_exec_ext in '' $ac_executable_extensions; do
11726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11727 ac_cv_prog_ac_ct_FC="$ac_prog"
11728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11729 break 2
11731 done
11732 done
11733 IFS=$as_save_IFS
11737 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11738 if test -n "$ac_ct_FC"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11740 $as_echo "$ac_ct_FC" >&6; }
11741 else
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11747 test -n "$ac_ct_FC" && break
11748 done
11750 if test "x$ac_ct_FC" = x; then
11751 FC=""
11752 else
11753 case $cross_compiling:$ac_tool_warned in
11754 yes:)
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11757 ac_tool_warned=yes ;;
11758 esac
11759 FC=$ac_ct_FC
11764 # Provide some information about the compiler.
11765 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11766 set X $ac_compile
11767 ac_compiler=$2
11768 for ac_option in --version -v -V -qversion; do
11769 { { ac_try="$ac_compiler $ac_option >&5"
11770 case "(($ac_try" in
11771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11773 esac
11774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11775 $as_echo "$ac_try_echo"; } >&5
11776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11777 ac_status=$?
11778 if test -s conftest.err; then
11779 sed '10a\
11780 ... rest of stderr output deleted ...
11781 10q' conftest.err >conftest.er1
11782 cat conftest.er1 >&5
11783 rm -f conftest.er1 conftest.err
11785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11786 test $ac_status = 0; }
11787 done
11788 rm -f a.out
11790 # If we don't use `.F' as extension, the preprocessor is not run on the
11791 # input file. (Note that this only needs to work for GNU compilers.)
11792 ac_save_ext=$ac_ext
11793 ac_ext=F
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11795 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11796 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 cat > conftest.$ac_ext <<_ACEOF
11800 program main
11801 #ifndef __GNUC__
11802 choke me
11803 #endif
11806 _ACEOF
11807 if ac_fn_fc_try_compile "$LINENO"; then :
11808 ac_compiler_gnu=yes
11809 else
11810 ac_compiler_gnu=no
11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11817 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11818 ac_ext=$ac_save_ext
11819 ac_test_FCFLAGS=${FCFLAGS+set}
11820 ac_save_FCFLAGS=$FCFLAGS
11821 FCFLAGS=
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11823 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11824 if test "${ac_cv_prog_fc_g+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11826 else
11827 FCFLAGS=-g
11828 cat > conftest.$ac_ext <<_ACEOF
11829 program main
11832 _ACEOF
11833 if ac_fn_fc_try_compile "$LINENO"; then :
11834 ac_cv_prog_fc_g=yes
11835 else
11836 ac_cv_prog_fc_g=no
11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11842 $as_echo "$ac_cv_prog_fc_g" >&6; }
11843 if test "$ac_test_FCFLAGS" = set; then
11844 FCFLAGS=$ac_save_FCFLAGS
11845 elif test $ac_cv_prog_fc_g = yes; then
11846 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11847 FCFLAGS="-g -O2"
11848 else
11849 FCFLAGS="-g"
11851 else
11852 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11853 FCFLAGS="-O2"
11854 else
11855 FCFLAGS=
11859 ac_ext=c
11860 ac_cpp='$CPP $CPPFLAGS'
11861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11865 ac_ext=${ac_fc_srcext-f}
11866 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11867 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11868 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11871 if test -z "$FC" || test "X$FC" = "Xno"; then
11872 _lt_disable_FC=yes
11875 archive_cmds_need_lc_FC=no
11876 allow_undefined_flag_FC=
11877 always_export_symbols_FC=no
11878 archive_expsym_cmds_FC=
11879 export_dynamic_flag_spec_FC=
11880 hardcode_direct_FC=no
11881 hardcode_direct_absolute_FC=no
11882 hardcode_libdir_flag_spec_FC=
11883 hardcode_libdir_flag_spec_ld_FC=
11884 hardcode_libdir_separator_FC=
11885 hardcode_minus_L_FC=no
11886 hardcode_automatic_FC=no
11887 inherit_rpath_FC=no
11888 module_cmds_FC=
11889 module_expsym_cmds_FC=
11890 link_all_deplibs_FC=unknown
11891 old_archive_cmds_FC=$old_archive_cmds
11892 reload_flag_FC=$reload_flag
11893 reload_cmds_FC=$reload_cmds
11894 no_undefined_flag_FC=
11895 whole_archive_flag_spec_FC=
11896 enable_shared_with_static_runtimes_FC=no
11898 # Source file extension for fc test sources.
11899 ac_ext=${ac_fc_srcext-f}
11901 # Object file extension for compiled fc test sources.
11902 objext=o
11903 objext_FC=$objext
11905 # No sense in running all these tests if we already determined that
11906 # the FC compiler isn't working. Some variables (like enable_shared)
11907 # are currently assumed to apply to all compilers on this platform,
11908 # and will be corrupted by setting them based on a non-working compiler.
11909 if test "$_lt_disable_FC" != yes; then
11910 # Code to be used in simple compile tests
11911 lt_simple_compile_test_code="\
11912 subroutine t
11913 return
11917 # Code to be used in simple link tests
11918 lt_simple_link_test_code="\
11919 program t
11923 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11930 # If no C compiler was specified, use CC.
11931 LTCC=${LTCC-"$CC"}
11933 # If no C compiler flags were specified, use CFLAGS.
11934 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11936 # Allow CC to be a program name with arguments.
11937 compiler=$CC
11940 # save warnings/boilerplate of simple test code
11941 ac_outfile=conftest.$ac_objext
11942 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11943 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11944 _lt_compiler_boilerplate=`cat conftest.err`
11945 $RM conftest*
11947 ac_outfile=conftest.$ac_objext
11948 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11949 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11950 _lt_linker_boilerplate=`cat conftest.err`
11951 $RM -r conftest*
11954 # Allow CC to be a program name with arguments.
11955 lt_save_CC="$CC"
11956 lt_save_GCC=$GCC
11957 CC=${FC-"f95"}
11958 compiler=$CC
11959 GCC=$ac_cv_fc_compiler_gnu
11961 compiler_FC=$CC
11962 for cc_temp in $compiler""; do
11963 case $cc_temp in
11964 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11965 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11966 \-*) ;;
11967 *) break;;
11968 esac
11969 done
11970 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11973 if test -n "$compiler"; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11975 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11977 $as_echo "$can_build_shared" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11980 $as_echo_n "checking whether to build shared libraries... " >&6; }
11981 test "$can_build_shared" = "no" && enable_shared=no
11983 # On AIX, shared libraries and static libraries use the same namespace, and
11984 # are all built from PIC.
11985 case $host_os in
11986 aix3*)
11987 test "$enable_shared" = yes && enable_static=no
11988 if test -n "$RANLIB"; then
11989 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11990 postinstall_cmds='$RANLIB $lib'
11993 aix[4-9]*)
11994 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11995 test "$enable_shared" = yes && enable_static=no
11998 esac
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12000 $as_echo "$enable_shared" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12003 $as_echo_n "checking whether to build static libraries... " >&6; }
12004 # Make sure either enable_shared or enable_static is yes.
12005 test "$enable_shared" = yes || enable_static=yes
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12007 $as_echo "$enable_static" >&6; }
12009 GCC_FC="$ac_cv_fc_compiler_gnu"
12010 LD_FC="$LD"
12012 ## CAVEAT EMPTOR:
12013 ## There is no encapsulation within the following macros, do not change
12014 ## the running order or otherwise move them around unless you know exactly
12015 ## what you are doing...
12016 # Dependencies to place before and after the object being linked:
12017 predep_objects_FC=
12018 postdep_objects_FC=
12019 predeps_FC=
12020 postdeps_FC=
12021 compiler_lib_search_path_FC=
12023 cat > conftest.$ac_ext <<_LT_EOF
12024 subroutine foo
12025 implicit none
12026 integer a
12028 return
12030 _LT_EOF
12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12033 (eval $ac_compile) 2>&5
12034 ac_status=$?
12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036 test $ac_status = 0; }; then
12037 # Parse the compiler output and extract the necessary
12038 # objects, libraries and library flags.
12040 # Sentinel used to keep track of whether or not we are before
12041 # the conftest object file.
12042 pre_test_object_deps_done=no
12044 for p in `eval "$output_verbose_link_cmd"`; do
12045 case $p in
12047 -L* | -R* | -l*)
12048 # Some compilers place space between "-{L,R}" and the path.
12049 # Remove the space.
12050 if test $p = "-L" ||
12051 test $p = "-R"; then
12052 prev=$p
12053 continue
12054 else
12055 prev=
12058 if test "$pre_test_object_deps_done" = no; then
12059 case $p in
12060 -L* | -R*)
12061 # Internal compiler library paths should come after those
12062 # provided the user. The postdeps already come after the
12063 # user supplied libs so there is no need to process them.
12064 if test -z "$compiler_lib_search_path_FC"; then
12065 compiler_lib_search_path_FC="${prev}${p}"
12066 else
12067 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12070 # The "-l" case would never come before the object being
12071 # linked, so don't bother handling this case.
12072 esac
12073 else
12074 if test -z "$postdeps_FC"; then
12075 postdeps_FC="${prev}${p}"
12076 else
12077 postdeps_FC="${postdeps_FC} ${prev}${p}"
12082 *.$objext)
12083 # This assumes that the test object file only shows up
12084 # once in the compiler output.
12085 if test "$p" = "conftest.$objext"; then
12086 pre_test_object_deps_done=yes
12087 continue
12090 if test "$pre_test_object_deps_done" = no; then
12091 if test -z "$predep_objects_FC"; then
12092 predep_objects_FC="$p"
12093 else
12094 predep_objects_FC="$predep_objects_FC $p"
12096 else
12097 if test -z "$postdep_objects_FC"; then
12098 postdep_objects_FC="$p"
12099 else
12100 postdep_objects_FC="$postdep_objects_FC $p"
12105 *) ;; # Ignore the rest.
12107 esac
12108 done
12110 # Clean up.
12111 rm -f a.out a.exe
12112 else
12113 echo "libtool.m4: error: problem compiling FC test program"
12116 $RM -f confest.$objext
12118 # PORTME: override above test on systems where it is broken
12121 case " $postdeps_FC " in
12122 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12123 esac
12124 compiler_lib_search_dirs_FC=
12125 if test -n "${compiler_lib_search_path_FC}"; then
12126 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12159 lt_prog_compiler_wl_FC=
12160 lt_prog_compiler_pic_FC=
12161 lt_prog_compiler_static_FC=
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12166 if test "$GCC" = yes; then
12167 lt_prog_compiler_wl_FC='-Wl,'
12168 lt_prog_compiler_static_FC='-static'
12170 case $host_os in
12171 aix*)
12172 # All AIX code is PIC.
12173 if test "$host_cpu" = ia64; then
12174 # AIX 5 now supports IA64 processor
12175 lt_prog_compiler_static_FC='-Bstatic'
12179 amigaos*)
12180 case $host_cpu in
12181 powerpc)
12182 # see comment about AmigaOS4 .so support
12183 lt_prog_compiler_pic_FC='-fPIC'
12185 m68k)
12186 # FIXME: we need at least 68020 code to build shared libraries, but
12187 # adding the `-m68020' flag to GCC prevents building anything better,
12188 # like `-m68040'.
12189 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12191 esac
12194 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12195 # PIC is the default for these OSes.
12198 mingw* | cygwin* | pw32* | os2* | cegcc*)
12199 # This hack is so that the source file can tell whether it is being
12200 # built for inclusion in a dll (and should export symbols for example).
12201 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12202 # (--disable-auto-import) libraries
12203 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12206 darwin* | rhapsody*)
12207 # PIC is the default on this platform
12208 # Common symbols not allowed in MH_DYLIB files
12209 lt_prog_compiler_pic_FC='-fno-common'
12212 haiku*)
12213 # PIC is the default for Haiku.
12214 # The "-static" flag exists, but is broken.
12215 lt_prog_compiler_static_FC=
12218 hpux*)
12219 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12220 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12221 # sets the default TLS model and affects inlining.
12222 case $host_cpu in
12223 hppa*64*)
12224 # +Z the default
12227 lt_prog_compiler_pic_FC='-fPIC'
12229 esac
12232 interix[3-9]*)
12233 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12234 # Instead, we relocate shared libraries at runtime.
12237 msdosdjgpp*)
12238 # Just because we use GCC doesn't mean we suddenly get shared libraries
12239 # on systems that don't support them.
12240 lt_prog_compiler_can_build_shared_FC=no
12241 enable_shared=no
12244 *nto* | *qnx*)
12245 # QNX uses GNU C++, but need to define -shared option too, otherwise
12246 # it will coredump.
12247 lt_prog_compiler_pic_FC='-fPIC -shared'
12250 sysv4*MP*)
12251 if test -d /usr/nec; then
12252 lt_prog_compiler_pic_FC=-Kconform_pic
12257 lt_prog_compiler_pic_FC='-fPIC'
12259 esac
12261 case $cc_basename in
12262 nvcc*) # Cuda Compiler Driver 2.2
12263 lt_prog_compiler_wl_FC='-Xlinker '
12264 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12266 esac
12267 else
12268 # PORTME Check for flag to pass linker flags through the system compiler.
12269 case $host_os in
12270 aix*)
12271 lt_prog_compiler_wl_FC='-Wl,'
12272 if test "$host_cpu" = ia64; then
12273 # AIX 5 now supports IA64 processor
12274 lt_prog_compiler_static_FC='-Bstatic'
12275 else
12276 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12280 mingw* | cygwin* | pw32* | os2* | cegcc*)
12281 # This hack is so that the source file can tell whether it is being
12282 # built for inclusion in a dll (and should export symbols for example).
12283 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12286 hpux9* | hpux10* | hpux11*)
12287 lt_prog_compiler_wl_FC='-Wl,'
12288 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12289 # not for PA HP-UX.
12290 case $host_cpu in
12291 hppa*64*|ia64*)
12292 # +Z the default
12295 lt_prog_compiler_pic_FC='+Z'
12297 esac
12298 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12299 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12302 irix5* | irix6* | nonstopux*)
12303 lt_prog_compiler_wl_FC='-Wl,'
12304 # PIC (with -KPIC) is the default.
12305 lt_prog_compiler_static_FC='-non_shared'
12308 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12309 case $cc_basename in
12310 # old Intel for x86_64 which still supported -KPIC.
12311 ecc*)
12312 lt_prog_compiler_wl_FC='-Wl,'
12313 lt_prog_compiler_pic_FC='-KPIC'
12314 lt_prog_compiler_static_FC='-static'
12316 # icc used to be incompatible with GCC.
12317 # ICC 10 doesn't accept -KPIC any more.
12318 icc* | ifort*)
12319 lt_prog_compiler_wl_FC='-Wl,'
12320 lt_prog_compiler_pic_FC='-fPIC'
12321 lt_prog_compiler_static_FC='-static'
12323 # Lahey Fortran 8.1.
12324 lf95*)
12325 lt_prog_compiler_wl_FC='-Wl,'
12326 lt_prog_compiler_pic_FC='--shared'
12327 lt_prog_compiler_static_FC='--static'
12329 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12330 # Portland Group compilers (*not* the Pentium gcc compiler,
12331 # which looks to be a dead project)
12332 lt_prog_compiler_wl_FC='-Wl,'
12333 lt_prog_compiler_pic_FC='-fpic'
12334 lt_prog_compiler_static_FC='-Bstatic'
12336 ccc*)
12337 lt_prog_compiler_wl_FC='-Wl,'
12338 # All Alpha code is PIC.
12339 lt_prog_compiler_static_FC='-non_shared'
12341 xl* | bgxl* | bgf* | mpixl*)
12342 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12343 lt_prog_compiler_wl_FC='-Wl,'
12344 lt_prog_compiler_pic_FC='-qpic'
12345 lt_prog_compiler_static_FC='-qstaticlink'
12348 case `$CC -V 2>&1 | sed 5q` in
12349 *Sun\ F* | *Sun*Fortran*)
12350 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12351 lt_prog_compiler_pic_FC='-KPIC'
12352 lt_prog_compiler_static_FC='-Bstatic'
12353 lt_prog_compiler_wl_FC=''
12355 *Sun\ C*)
12356 # Sun C 5.9
12357 lt_prog_compiler_pic_FC='-KPIC'
12358 lt_prog_compiler_static_FC='-Bstatic'
12359 lt_prog_compiler_wl_FC='-Wl,'
12361 esac
12363 esac
12366 newsos6)
12367 lt_prog_compiler_pic_FC='-KPIC'
12368 lt_prog_compiler_static_FC='-Bstatic'
12371 *nto* | *qnx*)
12372 # QNX uses GNU C++, but need to define -shared option too, otherwise
12373 # it will coredump.
12374 lt_prog_compiler_pic_FC='-fPIC -shared'
12377 osf3* | osf4* | osf5*)
12378 lt_prog_compiler_wl_FC='-Wl,'
12379 # All OSF/1 code is PIC.
12380 lt_prog_compiler_static_FC='-non_shared'
12383 rdos*)
12384 lt_prog_compiler_static_FC='-non_shared'
12387 solaris*)
12388 lt_prog_compiler_pic_FC='-KPIC'
12389 lt_prog_compiler_static_FC='-Bstatic'
12390 case $cc_basename in
12391 f77* | f90* | f95*)
12392 lt_prog_compiler_wl_FC='-Qoption ld ';;
12394 lt_prog_compiler_wl_FC='-Wl,';;
12395 esac
12398 sunos4*)
12399 lt_prog_compiler_wl_FC='-Qoption ld '
12400 lt_prog_compiler_pic_FC='-PIC'
12401 lt_prog_compiler_static_FC='-Bstatic'
12404 sysv4 | sysv4.2uw2* | sysv4.3*)
12405 lt_prog_compiler_wl_FC='-Wl,'
12406 lt_prog_compiler_pic_FC='-KPIC'
12407 lt_prog_compiler_static_FC='-Bstatic'
12410 sysv4*MP*)
12411 if test -d /usr/nec ;then
12412 lt_prog_compiler_pic_FC='-Kconform_pic'
12413 lt_prog_compiler_static_FC='-Bstatic'
12417 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12418 lt_prog_compiler_wl_FC='-Wl,'
12419 lt_prog_compiler_pic_FC='-KPIC'
12420 lt_prog_compiler_static_FC='-Bstatic'
12423 unicos*)
12424 lt_prog_compiler_wl_FC='-Wl,'
12425 lt_prog_compiler_can_build_shared_FC=no
12428 uts4*)
12429 lt_prog_compiler_pic_FC='-pic'
12430 lt_prog_compiler_static_FC='-Bstatic'
12434 lt_prog_compiler_can_build_shared_FC=no
12436 esac
12439 case $host_os in
12440 # For platforms which do not support PIC, -DPIC is meaningless:
12441 *djgpp*)
12442 lt_prog_compiler_pic_FC=
12445 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12447 esac
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12449 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12454 # Check to make sure the PIC flag actually works.
12456 if test -n "$lt_prog_compiler_pic_FC"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12458 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12459 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 lt_cv_prog_compiler_pic_works_FC=no
12463 ac_outfile=conftest.$ac_objext
12464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12465 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12466 # Insert the option either (1) after the last *FLAGS variable, or
12467 # (2) before a word containing "conftest.", or (3) at the end.
12468 # Note that $ac_compile itself does not contain backslashes and begins
12469 # with a dollar sign (not a hyphen), so the echo should work correctly.
12470 # The option is referenced via a variable to avoid confusing sed.
12471 lt_compile=`echo "$ac_compile" | $SED \
12472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12474 -e 's:$: $lt_compiler_flag:'`
12475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12476 (eval "$lt_compile" 2>conftest.err)
12477 ac_status=$?
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 if (exit $ac_status) && test -s "$ac_outfile"; then
12481 # The compiler can only warn and ignore the option if not recognized
12482 # So say no if there are warnings other than the usual output.
12483 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12484 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12485 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12486 lt_cv_prog_compiler_pic_works_FC=yes
12489 $RM conftest*
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12493 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12495 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12496 case $lt_prog_compiler_pic_FC in
12497 "" | " "*) ;;
12498 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12499 esac
12500 else
12501 lt_prog_compiler_pic_FC=
12502 lt_prog_compiler_can_build_shared_FC=no
12510 # Check to make sure the static flag actually works.
12512 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12514 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12515 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12516 $as_echo_n "(cached) " >&6
12517 else
12518 lt_cv_prog_compiler_static_works_FC=no
12519 save_LDFLAGS="$LDFLAGS"
12520 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12521 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12522 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12523 # The linker can only warn and ignore the option if not recognized
12524 # So say no if there are warnings
12525 if test -s conftest.err; then
12526 # Append any errors to the config.log.
12527 cat conftest.err 1>&5
12528 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12529 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12530 if diff conftest.exp conftest.er2 >/dev/null; then
12531 lt_cv_prog_compiler_static_works_FC=yes
12533 else
12534 lt_cv_prog_compiler_static_works_FC=yes
12537 $RM -r conftest*
12538 LDFLAGS="$save_LDFLAGS"
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12542 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12544 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12546 else
12547 lt_prog_compiler_static_FC=
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12555 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12556 $as_echo_n "(cached) " >&6
12557 else
12558 lt_cv_prog_compiler_c_o_FC=no
12559 $RM -r conftest 2>/dev/null
12560 mkdir conftest
12561 cd conftest
12562 mkdir out
12563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12565 lt_compiler_flag="-o out/conftest2.$ac_objext"
12566 # Insert the option either (1) after the last *FLAGS variable, or
12567 # (2) before a word containing "conftest.", or (3) at the end.
12568 # Note that $ac_compile itself does not contain backslashes and begins
12569 # with a dollar sign (not a hyphen), so the echo should work correctly.
12570 lt_compile=`echo "$ac_compile" | $SED \
12571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12573 -e 's:$: $lt_compiler_flag:'`
12574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12575 (eval "$lt_compile" 2>out/conftest.err)
12576 ac_status=$?
12577 cat out/conftest.err >&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12580 then
12581 # The compiler can only warn and ignore the option if not recognized
12582 # So say no if there are warnings
12583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12584 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12585 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12586 lt_cv_prog_compiler_c_o_FC=yes
12589 chmod u+w . 2>&5
12590 $RM conftest*
12591 # SGI C++ compiler will create directory out/ii_files/ for
12592 # template instantiation
12593 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12594 $RM out/* && rmdir out
12595 cd ..
12596 $RM -r conftest
12597 $RM conftest*
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12601 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12607 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 lt_cv_prog_compiler_c_o_FC=no
12611 $RM -r conftest 2>/dev/null
12612 mkdir conftest
12613 cd conftest
12614 mkdir out
12615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12617 lt_compiler_flag="-o out/conftest2.$ac_objext"
12618 # Insert the option either (1) after the last *FLAGS variable, or
12619 # (2) before a word containing "conftest.", or (3) at the end.
12620 # Note that $ac_compile itself does not contain backslashes and begins
12621 # with a dollar sign (not a hyphen), so the echo should work correctly.
12622 lt_compile=`echo "$ac_compile" | $SED \
12623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12625 -e 's:$: $lt_compiler_flag:'`
12626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12627 (eval "$lt_compile" 2>out/conftest.err)
12628 ac_status=$?
12629 cat out/conftest.err >&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12632 then
12633 # The compiler can only warn and ignore the option if not recognized
12634 # So say no if there are warnings
12635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12638 lt_cv_prog_compiler_c_o_FC=yes
12641 chmod u+w . 2>&5
12642 $RM conftest*
12643 # SGI C++ compiler will create directory out/ii_files/ for
12644 # template instantiation
12645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12646 $RM out/* && rmdir out
12647 cd ..
12648 $RM -r conftest
12649 $RM conftest*
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12653 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12658 hard_links="nottested"
12659 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12660 # do not overwrite the value of need_locks provided by the user
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12662 $as_echo_n "checking if we can lock with hard links... " >&6; }
12663 hard_links=yes
12664 $RM conftest*
12665 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12666 touch conftest.a
12667 ln conftest.a conftest.b 2>&5 || hard_links=no
12668 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12670 $as_echo "$hard_links" >&6; }
12671 if test "$hard_links" = no; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12673 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12674 need_locks=warn
12676 else
12677 need_locks=no
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12683 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12685 runpath_var=
12686 allow_undefined_flag_FC=
12687 always_export_symbols_FC=no
12688 archive_cmds_FC=
12689 archive_expsym_cmds_FC=
12690 compiler_needs_object_FC=no
12691 enable_shared_with_static_runtimes_FC=no
12692 export_dynamic_flag_spec_FC=
12693 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12694 hardcode_automatic_FC=no
12695 hardcode_direct_FC=no
12696 hardcode_direct_absolute_FC=no
12697 hardcode_libdir_flag_spec_FC=
12698 hardcode_libdir_flag_spec_ld_FC=
12699 hardcode_libdir_separator_FC=
12700 hardcode_minus_L_FC=no
12701 hardcode_shlibpath_var_FC=unsupported
12702 inherit_rpath_FC=no
12703 link_all_deplibs_FC=unknown
12704 module_cmds_FC=
12705 module_expsym_cmds_FC=
12706 old_archive_from_new_cmds_FC=
12707 old_archive_from_expsyms_cmds_FC=
12708 thread_safe_flag_spec_FC=
12709 whole_archive_flag_spec_FC=
12710 # include_expsyms should be a list of space-separated symbols to be *always*
12711 # included in the symbol list
12712 include_expsyms_FC=
12713 # exclude_expsyms can be an extended regexp of symbols to exclude
12714 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12715 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12716 # as well as any symbol that contains `d'.
12717 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12718 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12719 # platforms (ab)use it in PIC code, but their linkers get confused if
12720 # the symbol is explicitly referenced. Since portable code cannot
12721 # rely on this symbol name, it's probably fine to never include it in
12722 # preloaded symbol tables.
12723 # Exclude shared library initialization/finalization symbols.
12724 extract_expsyms_cmds=
12726 case $host_os in
12727 cygwin* | mingw* | pw32* | cegcc*)
12728 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12729 # When not using gcc, we currently assume that we are using
12730 # Microsoft Visual C++.
12731 if test "$GCC" != yes; then
12732 with_gnu_ld=no
12735 interix*)
12736 # we just hope/assume this is gcc and not c89 (= MSVC++)
12737 with_gnu_ld=yes
12739 openbsd*)
12740 with_gnu_ld=no
12742 esac
12744 ld_shlibs_FC=yes
12746 # On some targets, GNU ld is compatible enough with the native linker
12747 # that we're better off using the native interface for both.
12748 lt_use_gnu_ld_interface=no
12749 if test "$with_gnu_ld" = yes; then
12750 case $host_os in
12751 aix*)
12752 # The AIX port of GNU ld has always aspired to compatibility
12753 # with the native linker. However, as the warning in the GNU ld
12754 # block says, versions before 2.19.5* couldn't really create working
12755 # shared libraries, regardless of the interface used.
12756 case `$LD -v 2>&1` in
12757 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12758 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12759 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12761 lt_use_gnu_ld_interface=yes
12763 esac
12766 lt_use_gnu_ld_interface=yes
12768 esac
12771 if test "$lt_use_gnu_ld_interface" = yes; then
12772 # If archive_cmds runs LD, not CC, wlarc should be empty
12773 wlarc='${wl}'
12775 # Set some defaults for GNU ld with shared library support. These
12776 # are reset later if shared libraries are not supported. Putting them
12777 # here allows them to be overridden if necessary.
12778 runpath_var=LD_RUN_PATH
12779 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12780 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12781 # ancient GNU ld didn't support --whole-archive et. al.
12782 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12783 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12784 else
12785 whole_archive_flag_spec_FC=
12787 supports_anon_versioning=no
12788 case `$LD -v 2>&1` in
12789 *GNU\ gold*) supports_anon_versioning=yes ;;
12790 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12791 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12792 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12793 *\ 2.11.*) ;; # other 2.11 versions
12794 *) supports_anon_versioning=yes ;;
12795 esac
12797 # See if GNU ld supports shared libraries.
12798 case $host_os in
12799 aix[3-9]*)
12800 # On AIX/PPC, the GNU linker is very broken
12801 if test "$host_cpu" != ia64; then
12802 ld_shlibs_FC=no
12803 cat <<_LT_EOF 1>&2
12805 *** Warning: the GNU linker, at least up to release 2.19, is reported
12806 *** to be unable to reliably create shared libraries on AIX.
12807 *** Therefore, libtool is disabling shared libraries support. If you
12808 *** really care for shared libraries, you may want to install binutils
12809 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12810 *** You will then need to restart the configuration process.
12812 _LT_EOF
12816 amigaos*)
12817 case $host_cpu in
12818 powerpc)
12819 # see comment about AmigaOS4 .so support
12820 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_FC=''
12823 m68k)
12824 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)'
12825 hardcode_libdir_flag_spec_FC='-L$libdir'
12826 hardcode_minus_L_FC=yes
12828 esac
12831 beos*)
12832 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12833 allow_undefined_flag_FC=unsupported
12834 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12835 # support --undefined. This deserves some investigation. FIXME
12836 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12837 else
12838 ld_shlibs_FC=no
12842 cygwin* | mingw* | pw32* | cegcc*)
12843 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12844 # as there is no search path for DLLs.
12845 hardcode_libdir_flag_spec_FC='-L$libdir'
12846 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12847 allow_undefined_flag_FC=unsupported
12848 always_export_symbols_FC=no
12849 enable_shared_with_static_runtimes_FC=yes
12850 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12852 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12853 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12854 # If the export-symbols file already is a .def file (1st line
12855 # is EXPORTS), use it as is; otherwise, prepend...
12856 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12857 cp $export_symbols $output_objdir/$soname.def;
12858 else
12859 echo EXPORTS > $output_objdir/$soname.def;
12860 cat $export_symbols >> $output_objdir/$soname.def;
12862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12863 else
12864 ld_shlibs_FC=no
12868 haiku*)
12869 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12870 link_all_deplibs_FC=yes
12873 interix[3-9]*)
12874 hardcode_direct_FC=no
12875 hardcode_shlibpath_var_FC=no
12876 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_FC='${wl}-E'
12878 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12879 # Instead, shared libraries are loaded at an image base (0x10000000 by
12880 # default) and relocated if they conflict, which is a slow very memory
12881 # consuming and fragmenting process. To avoid this, we pick a random,
12882 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12883 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12884 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'
12885 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'
12888 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12889 tmp_diet=no
12890 if test "$host_os" = linux-dietlibc; then
12891 case $cc_basename in
12892 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12893 esac
12895 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12896 && test "$tmp_diet" = no
12897 then
12898 tmp_addflag=
12899 tmp_sharedflag='-shared'
12900 case $cc_basename,$host_cpu in
12901 pgcc*) # Portland Group C compiler
12902 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12903 tmp_addflag=' $pic_flag'
12905 pgf77* | pgf90* | pgf95* | pgfortran*)
12906 # Portland Group f77 and f90 compilers
12907 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12908 tmp_addflag=' $pic_flag -Mnomain' ;;
12909 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12910 tmp_addflag=' -i_dynamic' ;;
12911 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12912 tmp_addflag=' -i_dynamic -nofor_main' ;;
12913 ifc* | ifort*) # Intel Fortran compiler
12914 tmp_addflag=' -nofor_main' ;;
12915 lf95*) # Lahey Fortran 8.1
12916 whole_archive_flag_spec_FC=
12917 tmp_sharedflag='--shared' ;;
12918 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12919 tmp_sharedflag='-qmkshrobj'
12920 tmp_addflag= ;;
12921 nvcc*) # Cuda Compiler Driver 2.2
12922 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12923 compiler_needs_object_FC=yes
12925 esac
12926 case `$CC -V 2>&1 | sed 5q` in
12927 *Sun\ C*) # Sun C 5.9
12928 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12929 compiler_needs_object_FC=yes
12930 tmp_sharedflag='-G' ;;
12931 *Sun\ F*) # Sun Fortran 8.3
12932 tmp_sharedflag='-G' ;;
12933 esac
12934 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12943 case $cc_basename in
12944 xlf* | bgf* | bgxlf* | mpixlf*)
12945 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12946 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12947 hardcode_libdir_flag_spec_FC=
12948 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12949 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12950 if test "x$supports_anon_versioning" = xyes; then
12951 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12953 echo "local: *; };" >> $output_objdir/$libname.ver~
12954 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12957 esac
12958 else
12959 ld_shlibs_FC=no
12963 netbsd*)
12964 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12965 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12966 wlarc=
12967 else
12968 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12969 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12973 solaris*)
12974 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12975 ld_shlibs_FC=no
12976 cat <<_LT_EOF 1>&2
12978 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12979 *** create shared libraries on Solaris systems. Therefore, libtool
12980 *** is disabling shared libraries support. We urge you to upgrade GNU
12981 *** binutils to release 2.9.1 or newer. Another option is to modify
12982 *** your PATH or compiler configuration so that the native linker is
12983 *** used, and then restart.
12985 _LT_EOF
12986 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12987 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12988 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12989 else
12990 ld_shlibs_FC=no
12994 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12995 case `$LD -v 2>&1` in
12996 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12997 ld_shlibs_FC=no
12998 cat <<_LT_EOF 1>&2
13000 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13001 *** reliably create shared libraries on SCO systems. Therefore, libtool
13002 *** is disabling shared libraries support. We urge you to upgrade GNU
13003 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13004 *** your PATH or compiler configuration so that the native linker is
13005 *** used, and then restart.
13007 _LT_EOF
13010 # For security reasons, it is highly recommended that you always
13011 # use absolute paths for naming shared libraries, and exclude the
13012 # DT_RUNPATH tag from executables and libraries. But doing so
13013 # requires that you compile everything twice, which is a pain.
13014 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13015 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13016 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13017 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13018 else
13019 ld_shlibs_FC=no
13022 esac
13025 sunos4*)
13026 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13027 wlarc=
13028 hardcode_direct_FC=yes
13029 hardcode_shlibpath_var_FC=no
13033 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13034 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13035 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13036 else
13037 ld_shlibs_FC=no
13040 esac
13042 if test "$ld_shlibs_FC" = no; then
13043 runpath_var=
13044 hardcode_libdir_flag_spec_FC=
13045 export_dynamic_flag_spec_FC=
13046 whole_archive_flag_spec_FC=
13048 else
13049 # PORTME fill in a description of your system's linker (not GNU ld)
13050 case $host_os in
13051 aix3*)
13052 allow_undefined_flag_FC=unsupported
13053 always_export_symbols_FC=yes
13054 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'
13055 # Note: this linker hardcodes the directories in LIBPATH if there
13056 # are no directories specified by -L.
13057 hardcode_minus_L_FC=yes
13058 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13059 # Neither direct hardcoding nor static linking is supported with a
13060 # broken collect2.
13061 hardcode_direct_FC=unsupported
13065 aix[4-9]*)
13066 if test "$host_cpu" = ia64; then
13067 # On IA64, the linker does run time linking by default, so we don't
13068 # have to do anything special.
13069 aix_use_runtimelinking=no
13070 exp_sym_flag='-Bexport'
13071 no_entry_flag=""
13072 else
13073 # If we're using GNU nm, then we don't want the "-C" option.
13074 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13075 # Also, AIX nm treats weak defined symbols like other global
13076 # defined symbols, whereas GNU nm marks them as "W".
13077 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13078 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13079 else
13080 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'
13082 aix_use_runtimelinking=no
13084 # Test if we are trying to use run time linking or normal
13085 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13086 # need to do runtime linking.
13087 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13088 for ld_flag in $LDFLAGS; do
13089 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13090 aix_use_runtimelinking=yes
13091 break
13093 done
13095 esac
13097 exp_sym_flag='-bexport'
13098 no_entry_flag='-bnoentry'
13101 # When large executables or shared objects are built, AIX ld can
13102 # have problems creating the table of contents. If linking a library
13103 # or program results in "error TOC overflow" add -mminimal-toc to
13104 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13105 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13107 archive_cmds_FC=''
13108 hardcode_direct_FC=yes
13109 hardcode_direct_absolute_FC=yes
13110 hardcode_libdir_separator_FC=':'
13111 link_all_deplibs_FC=yes
13112 file_list_spec_FC='${wl}-f,'
13114 if test "$GCC" = yes; then
13115 case $host_os in aix4.[012]|aix4.[012].*)
13116 # We only want to do this on AIX 4.2 and lower, the check
13117 # below for broken collect2 doesn't work under 4.3+
13118 collect2name=`${CC} -print-prog-name=collect2`
13119 if test -f "$collect2name" &&
13120 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13121 then
13122 # We have reworked collect2
13124 else
13125 # We have old collect2
13126 hardcode_direct_FC=unsupported
13127 # It fails to find uninstalled libraries when the uninstalled
13128 # path is not listed in the libpath. Setting hardcode_minus_L
13129 # to unsupported forces relinking
13130 hardcode_minus_L_FC=yes
13131 hardcode_libdir_flag_spec_FC='-L$libdir'
13132 hardcode_libdir_separator_FC=
13135 esac
13136 shared_flag='-shared'
13137 if test "$aix_use_runtimelinking" = yes; then
13138 shared_flag="$shared_flag "'${wl}-G'
13140 else
13141 # not using gcc
13142 if test "$host_cpu" = ia64; then
13143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13144 # chokes on -Wl,-G. The following line is correct:
13145 shared_flag='-G'
13146 else
13147 if test "$aix_use_runtimelinking" = yes; then
13148 shared_flag='${wl}-G'
13149 else
13150 shared_flag='${wl}-bM:SRE'
13155 export_dynamic_flag_spec_FC='${wl}-bexpall'
13156 # It seems that -bexpall does not export symbols beginning with
13157 # underscore (_), so it is better to generate a list of symbols to export.
13158 always_export_symbols_FC=yes
13159 if test "$aix_use_runtimelinking" = yes; then
13160 # Warning - without using the other runtime loading flags (-brtl),
13161 # -berok will link without error, but may produce a broken library.
13162 allow_undefined_flag_FC='-berok'
13163 # Determine the default libpath from the value encoded in an
13164 # empty executable.
13165 if test x$gcc_no_link = xyes; then
13166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13168 cat > conftest.$ac_ext <<_ACEOF
13169 program main
13172 _ACEOF
13173 if ac_fn_fc_try_link "$LINENO"; then :
13175 lt_aix_libpath_sed='
13176 /Import File Strings/,/^$/ {
13177 /^0/ {
13178 s/^0 *\(.*\)$/\1/
13182 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13183 # Check for a 64-bit object if we didn't find anything.
13184 if test -z "$aix_libpath"; then
13185 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13192 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13193 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13194 else
13195 if test "$host_cpu" = ia64; then
13196 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13197 allow_undefined_flag_FC="-z nodefs"
13198 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"
13199 else
13200 # Determine the default libpath from the value encoded in an
13201 # empty executable.
13202 if test x$gcc_no_link = xyes; then
13203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13205 cat > conftest.$ac_ext <<_ACEOF
13206 program main
13209 _ACEOF
13210 if ac_fn_fc_try_link "$LINENO"; then :
13212 lt_aix_libpath_sed='
13213 /Import File Strings/,/^$/ {
13214 /^0/ {
13215 s/^0 *\(.*\)$/\1/
13219 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13220 # Check for a 64-bit object if we didn't find anything.
13221 if test -z "$aix_libpath"; then
13222 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13225 rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13227 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13229 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13230 # Warning - without using the other run time loading flags,
13231 # -berok will link without error, but may produce a broken library.
13232 no_undefined_flag_FC=' ${wl}-bernotok'
13233 allow_undefined_flag_FC=' ${wl}-berok'
13234 if test "$with_gnu_ld" = yes; then
13235 # We only use this code for GNU lds that support --whole-archive.
13236 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13237 else
13238 # Exported symbols can be pulled into shared objects from archives
13239 whole_archive_flag_spec_FC='$convenience'
13241 archive_cmds_need_lc_FC=yes
13242 # This is similar to how AIX traditionally builds its shared libraries.
13243 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'
13248 amigaos*)
13249 case $host_cpu in
13250 powerpc)
13251 # see comment about AmigaOS4 .so support
13252 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 archive_expsym_cmds_FC=''
13255 m68k)
13256 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)'
13257 hardcode_libdir_flag_spec_FC='-L$libdir'
13258 hardcode_minus_L_FC=yes
13260 esac
13263 bsdi[45]*)
13264 export_dynamic_flag_spec_FC=-rdynamic
13267 cygwin* | mingw* | pw32* | cegcc*)
13268 # When not using gcc, we currently assume that we are using
13269 # Microsoft Visual C++.
13270 # hardcode_libdir_flag_spec is actually meaningless, as there is
13271 # no search path for DLLs.
13272 hardcode_libdir_flag_spec_FC=' '
13273 allow_undefined_flag_FC=unsupported
13274 # Tell ltmain to make .lib files, not .a files.
13275 libext=lib
13276 # Tell ltmain to make .dll files, not .so files.
13277 shrext_cmds=".dll"
13278 # FIXME: Setting linknames here is a bad hack.
13279 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13280 # The linker will automatically build a .lib file if we build a DLL.
13281 old_archive_from_new_cmds_FC='true'
13282 # FIXME: Should let the user specify the lib program.
13283 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13284 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13285 enable_shared_with_static_runtimes_FC=yes
13288 darwin* | rhapsody*)
13291 archive_cmds_need_lc_FC=no
13292 hardcode_direct_FC=no
13293 hardcode_automatic_FC=yes
13294 hardcode_shlibpath_var_FC=unsupported
13295 if test "$lt_cv_ld_force_load" = "yes"; then
13296 whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13297 else
13298 whole_archive_flag_spec_FC=''
13300 link_all_deplibs_FC=yes
13301 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13302 case $cc_basename in
13303 ifort*) _lt_dar_can_shared=yes ;;
13304 *) _lt_dar_can_shared=$GCC ;;
13305 esac
13306 if test "$_lt_dar_can_shared" = "yes"; then
13307 output_verbose_link_cmd=func_echo_all
13308 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13309 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13310 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13311 module_expsym_cmds_FC="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13313 else
13314 ld_shlibs_FC=no
13319 dgux*)
13320 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13321 hardcode_libdir_flag_spec_FC='-L$libdir'
13322 hardcode_shlibpath_var_FC=no
13325 freebsd1*)
13326 ld_shlibs_FC=no
13329 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13330 # support. Future versions do this automatically, but an explicit c++rt0.o
13331 # does not break anything, and helps significantly (at the cost of a little
13332 # extra space).
13333 freebsd2.2*)
13334 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13335 hardcode_libdir_flag_spec_FC='-R$libdir'
13336 hardcode_direct_FC=yes
13337 hardcode_shlibpath_var_FC=no
13340 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13341 freebsd2*)
13342 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13343 hardcode_direct_FC=yes
13344 hardcode_minus_L_FC=yes
13345 hardcode_shlibpath_var_FC=no
13348 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13349 freebsd* | dragonfly*)
13350 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13351 hardcode_libdir_flag_spec_FC='-R$libdir'
13352 hardcode_direct_FC=yes
13353 hardcode_shlibpath_var_FC=no
13356 hpux9*)
13357 if test "$GCC" = yes; then
13358 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'
13359 else
13360 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'
13362 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13363 hardcode_libdir_separator_FC=:
13364 hardcode_direct_FC=yes
13366 # hardcode_minus_L: Not really in the search PATH,
13367 # but as the default location of the library.
13368 hardcode_minus_L_FC=yes
13369 export_dynamic_flag_spec_FC='${wl}-E'
13372 hpux10*)
13373 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13374 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13375 else
13376 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13378 if test "$with_gnu_ld" = no; then
13379 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13380 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13381 hardcode_libdir_separator_FC=:
13382 hardcode_direct_FC=yes
13383 hardcode_direct_absolute_FC=yes
13384 export_dynamic_flag_spec_FC='${wl}-E'
13385 # hardcode_minus_L: Not really in the search PATH,
13386 # but as the default location of the library.
13387 hardcode_minus_L_FC=yes
13391 hpux11*)
13392 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13393 case $host_cpu in
13394 hppa*64*)
13395 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13397 ia64*)
13398 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13401 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13403 esac
13404 else
13405 case $host_cpu in
13406 hppa*64*)
13407 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13409 ia64*)
13410 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13413 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13415 esac
13417 if test "$with_gnu_ld" = no; then
13418 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13419 hardcode_libdir_separator_FC=:
13421 case $host_cpu in
13422 hppa*64*|ia64*)
13423 hardcode_direct_FC=no
13424 hardcode_shlibpath_var_FC=no
13427 hardcode_direct_FC=yes
13428 hardcode_direct_absolute_FC=yes
13429 export_dynamic_flag_spec_FC='${wl}-E'
13431 # hardcode_minus_L: Not really in the search PATH,
13432 # but as the default location of the library.
13433 hardcode_minus_L_FC=yes
13435 esac
13439 irix5* | irix6* | nonstopux*)
13440 if test "$GCC" = yes; then
13441 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13442 # Try to use the -exported_symbol ld option, if it does not
13443 # work, assume that -exports_file does not work either and
13444 # implicitly export all symbols.
13445 save_LDFLAGS="$LDFLAGS"
13446 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13447 if test x$gcc_no_link = xyes; then
13448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13450 cat > conftest.$ac_ext <<_ACEOF
13451 int foo(void) {}
13452 _ACEOF
13453 if ac_fn_fc_try_link "$LINENO"; then :
13454 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13457 rm -f core conftest.err conftest.$ac_objext \
13458 conftest$ac_exeext conftest.$ac_ext
13459 LDFLAGS="$save_LDFLAGS"
13460 else
13461 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13462 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13464 archive_cmds_need_lc_FC='no'
13465 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13466 hardcode_libdir_separator_FC=:
13467 inherit_rpath_FC=yes
13468 link_all_deplibs_FC=yes
13471 netbsd*)
13472 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13473 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13474 else
13475 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13477 hardcode_libdir_flag_spec_FC='-R$libdir'
13478 hardcode_direct_FC=yes
13479 hardcode_shlibpath_var_FC=no
13482 newsos6)
13483 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13484 hardcode_direct_FC=yes
13485 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13486 hardcode_libdir_separator_FC=:
13487 hardcode_shlibpath_var_FC=no
13490 *nto* | *qnx*)
13493 openbsd*)
13494 if test -f /usr/libexec/ld.so; then
13495 hardcode_direct_FC=yes
13496 hardcode_shlibpath_var_FC=no
13497 hardcode_direct_absolute_FC=yes
13498 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13499 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13500 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13501 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13502 export_dynamic_flag_spec_FC='${wl}-E'
13503 else
13504 case $host_os in
13505 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13506 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13507 hardcode_libdir_flag_spec_FC='-R$libdir'
13510 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13511 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13513 esac
13515 else
13516 ld_shlibs_FC=no
13520 os2*)
13521 hardcode_libdir_flag_spec_FC='-L$libdir'
13522 hardcode_minus_L_FC=yes
13523 allow_undefined_flag_FC=unsupported
13524 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'
13525 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13528 osf3*)
13529 if test "$GCC" = yes; then
13530 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13531 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13532 else
13533 allow_undefined_flag_FC=' -expect_unresolved \*'
13534 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13536 archive_cmds_need_lc_FC='no'
13537 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13538 hardcode_libdir_separator_FC=:
13541 osf4* | osf5*) # as osf3* with the addition of -msym flag
13542 if test "$GCC" = yes; then
13543 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13544 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13545 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13546 else
13547 allow_undefined_flag_FC=' -expect_unresolved \*'
13548 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13549 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~
13550 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13552 # Both c and cxx compiler support -rpath directly
13553 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13555 archive_cmds_need_lc_FC='no'
13556 hardcode_libdir_separator_FC=:
13559 solaris*)
13560 no_undefined_flag_FC=' -z defs'
13561 if test "$GCC" = yes; then
13562 wlarc='${wl}'
13563 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13564 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13565 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13566 else
13567 case `$CC -V 2>&1` in
13568 *"Compilers 5.0"*)
13569 wlarc=''
13570 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13571 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13572 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13575 wlarc='${wl}'
13576 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13577 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13578 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13580 esac
13582 hardcode_libdir_flag_spec_FC='-R$libdir'
13583 hardcode_shlibpath_var_FC=no
13584 case $host_os in
13585 solaris2.[0-5] | solaris2.[0-5].*) ;;
13587 # The compiler driver will combine and reorder linker options,
13588 # but understands `-z linker_flag'. GCC discards it without `$wl',
13589 # but is careful enough not to reorder.
13590 # Supported since Solaris 2.6 (maybe 2.5.1?)
13591 if test "$GCC" = yes; then
13592 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13593 else
13594 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13597 esac
13598 link_all_deplibs_FC=yes
13601 sunos4*)
13602 if test "x$host_vendor" = xsequent; then
13603 # Use $CC to link under sequent, because it throws in some extra .o
13604 # files that make .init and .fini sections work.
13605 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13606 else
13607 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13609 hardcode_libdir_flag_spec_FC='-L$libdir'
13610 hardcode_direct_FC=yes
13611 hardcode_minus_L_FC=yes
13612 hardcode_shlibpath_var_FC=no
13615 sysv4)
13616 case $host_vendor in
13617 sni)
13618 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13619 hardcode_direct_FC=yes # is this really true???
13621 siemens)
13622 ## LD is ld it makes a PLAMLIB
13623 ## CC just makes a GrossModule.
13624 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13625 reload_cmds_FC='$CC -r -o $output$reload_objs'
13626 hardcode_direct_FC=no
13628 motorola)
13629 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13630 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13632 esac
13633 runpath_var='LD_RUN_PATH'
13634 hardcode_shlibpath_var_FC=no
13637 sysv4.3*)
13638 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13639 hardcode_shlibpath_var_FC=no
13640 export_dynamic_flag_spec_FC='-Bexport'
13643 sysv4*MP*)
13644 if test -d /usr/nec; then
13645 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13646 hardcode_shlibpath_var_FC=no
13647 runpath_var=LD_RUN_PATH
13648 hardcode_runpath_var=yes
13649 ld_shlibs_FC=yes
13653 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13654 no_undefined_flag_FC='${wl}-z,text'
13655 archive_cmds_need_lc_FC=no
13656 hardcode_shlibpath_var_FC=no
13657 runpath_var='LD_RUN_PATH'
13659 if test "$GCC" = yes; then
13660 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13661 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13662 else
13663 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13668 sysv5* | sco3.2v5* | sco5v6*)
13669 # Note: We can NOT use -z defs as we might desire, because we do not
13670 # link with -lc, and that would cause any symbols used from libc to
13671 # always be unresolved, which means just about no library would
13672 # ever link correctly. If we're not using GNU ld we use -z text
13673 # though, which does catch some bad symbols but isn't as heavy-handed
13674 # as -z defs.
13675 no_undefined_flag_FC='${wl}-z,text'
13676 allow_undefined_flag_FC='${wl}-z,nodefs'
13677 archive_cmds_need_lc_FC=no
13678 hardcode_shlibpath_var_FC=no
13679 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13680 hardcode_libdir_separator_FC=':'
13681 link_all_deplibs_FC=yes
13682 export_dynamic_flag_spec_FC='${wl}-Bexport'
13683 runpath_var='LD_RUN_PATH'
13685 if test "$GCC" = yes; then
13686 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13687 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13688 else
13689 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13694 uts4*)
13695 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13696 hardcode_libdir_flag_spec_FC='-L$libdir'
13697 hardcode_shlibpath_var_FC=no
13701 ld_shlibs_FC=no
13703 esac
13705 if test x$host_vendor = xsni; then
13706 case $host in
13707 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13708 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13710 esac
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13715 $as_echo "$ld_shlibs_FC" >&6; }
13716 test "$ld_shlibs_FC" = no && can_build_shared=no
13718 with_gnu_ld_FC=$with_gnu_ld
13726 # Do we need to explicitly link libc?
13728 case "x$archive_cmds_need_lc_FC" in
13729 x|xyes)
13730 # Assume -lc should be added
13731 archive_cmds_need_lc_FC=yes
13733 if test "$enable_shared" = yes && test "$GCC" = yes; then
13734 case $archive_cmds_FC in
13735 *'~'*)
13736 # FIXME: we may have to deal with multi-command sequences.
13738 '$CC '*)
13739 # Test whether the compiler implicitly links with -lc since on some
13740 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13741 # to ld, don't add -lc before -lgcc.
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13743 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13744 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 $RM conftest*
13748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13751 (eval $ac_compile) 2>&5
13752 ac_status=$?
13753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754 test $ac_status = 0; } 2>conftest.err; then
13755 soname=conftest
13756 lib=conftest
13757 libobjs=conftest.$ac_objext
13758 deplibs=
13759 wl=$lt_prog_compiler_wl_FC
13760 pic_flag=$lt_prog_compiler_pic_FC
13761 compiler_flags=-v
13762 linker_flags=-v
13763 verstring=
13764 output_objdir=.
13765 libname=conftest
13766 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13767 allow_undefined_flag_FC=
13768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13769 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13770 ac_status=$?
13771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13772 test $ac_status = 0; }
13773 then
13774 lt_cv_archive_cmds_need_lc_FC=no
13775 else
13776 lt_cv_archive_cmds_need_lc_FC=yes
13778 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13779 else
13780 cat conftest.err 1>&5
13782 $RM conftest*
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13786 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13787 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13789 esac
13792 esac
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13858 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13860 library_names_spec=
13861 libname_spec='lib$name'
13862 soname_spec=
13863 shrext_cmds=".so"
13864 postinstall_cmds=
13865 postuninstall_cmds=
13866 finish_cmds=
13867 finish_eval=
13868 shlibpath_var=
13869 shlibpath_overrides_runpath=unknown
13870 version_type=none
13871 dynamic_linker="$host_os ld.so"
13872 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13873 need_lib_prefix=unknown
13874 hardcode_into_libs=no
13876 # when you set need_version to no, make sure it does not cause -set_version
13877 # flags to be left without arguments
13878 need_version=unknown
13880 case $host_os in
13881 aix3*)
13882 version_type=linux
13883 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13884 shlibpath_var=LIBPATH
13886 # AIX 3 has no versioning support, so we append a major version to the name.
13887 soname_spec='${libname}${release}${shared_ext}$major'
13890 aix[4-9]*)
13891 version_type=linux
13892 need_lib_prefix=no
13893 need_version=no
13894 hardcode_into_libs=yes
13895 if test "$host_cpu" = ia64; then
13896 # AIX 5 supports IA64
13897 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13898 shlibpath_var=LD_LIBRARY_PATH
13899 else
13900 # With GCC up to 2.95.x, collect2 would create an import file
13901 # for dependence libraries. The import file would start with
13902 # the line `#! .'. This would cause the generated library to
13903 # depend on `.', always an invalid library. This was fixed in
13904 # development snapshots of GCC prior to 3.0.
13905 case $host_os in
13906 aix4 | aix4.[01] | aix4.[01].*)
13907 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13908 echo ' yes '
13909 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13911 else
13912 can_build_shared=no
13915 esac
13916 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13917 # soname into executable. Probably we can add versioning support to
13918 # collect2, so additional links can be useful in future.
13919 if test "$aix_use_runtimelinking" = yes; then
13920 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13921 # instead of lib<name>.a to let people know that these are not
13922 # typical AIX shared libraries.
13923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13924 else
13925 # We preserve .a as extension for shared libraries through AIX4.2
13926 # and later when we are not doing run time linking.
13927 library_names_spec='${libname}${release}.a $libname.a'
13928 soname_spec='${libname}${release}${shared_ext}$major'
13930 shlibpath_var=LIBPATH
13934 amigaos*)
13935 case $host_cpu in
13936 powerpc)
13937 # Since July 2007 AmigaOS4 officially supports .so libraries.
13938 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13941 m68k)
13942 library_names_spec='$libname.ixlibrary $libname.a'
13943 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13944 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
13946 esac
13949 beos*)
13950 library_names_spec='${libname}${shared_ext}'
13951 dynamic_linker="$host_os ld.so"
13952 shlibpath_var=LIBRARY_PATH
13955 bsdi[45]*)
13956 version_type=linux
13957 need_version=no
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13959 soname_spec='${libname}${release}${shared_ext}$major'
13960 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13961 shlibpath_var=LD_LIBRARY_PATH
13962 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13963 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13964 # the default ld.so.conf also contains /usr/contrib/lib and
13965 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13966 # libtool to hard-code these into programs
13969 cygwin* | mingw* | pw32* | cegcc*)
13970 version_type=windows
13971 shrext_cmds=".dll"
13972 need_version=no
13973 need_lib_prefix=no
13975 case $GCC,$host_os in
13976 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13977 library_names_spec='$libname.dll.a'
13978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13979 postinstall_cmds='base_file=`basename \${file}`~
13980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13981 dldir=$destdir/`dirname \$dlpath`~
13982 test -d \$dldir || mkdir -p \$dldir~
13983 $install_prog $dir/$dlname \$dldir/$dlname~
13984 chmod a+x \$dldir/$dlname~
13985 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13986 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13988 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13989 dlpath=$dir/\$dldll~
13990 $RM \$dlpath'
13991 shlibpath_overrides_runpath=yes
13993 case $host_os in
13994 cygwin*)
13995 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13996 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13999 mingw* | cegcc*)
14000 # MinGW DLLs use traditional 'lib' prefix
14001 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14003 pw32*)
14004 # pw32 DLLs use 'pw' prefix rather than 'lib'
14005 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14007 esac
14011 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14013 esac
14014 dynamic_linker='Win32 ld.exe'
14015 # FIXME: first we should search . and the directory the executable is in
14016 shlibpath_var=PATH
14019 darwin* | rhapsody*)
14020 dynamic_linker="$host_os dyld"
14021 version_type=darwin
14022 need_lib_prefix=no
14023 need_version=no
14024 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14025 soname_spec='${libname}${release}${major}$shared_ext'
14026 shlibpath_overrides_runpath=yes
14027 shlibpath_var=DYLD_LIBRARY_PATH
14028 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14030 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14033 dgux*)
14034 version_type=linux
14035 need_lib_prefix=no
14036 need_version=no
14037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14038 soname_spec='${libname}${release}${shared_ext}$major'
14039 shlibpath_var=LD_LIBRARY_PATH
14042 freebsd1*)
14043 dynamic_linker=no
14046 freebsd* | dragonfly*)
14047 # DragonFly does not have aout. When/if they implement a new
14048 # versioning mechanism, adjust this.
14049 if test -x /usr/bin/objformat; then
14050 objformat=`/usr/bin/objformat`
14051 else
14052 case $host_os in
14053 freebsd[123]*) objformat=aout ;;
14054 *) objformat=elf ;;
14055 esac
14057 version_type=freebsd-$objformat
14058 case $version_type in
14059 freebsd-elf*)
14060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14061 need_version=no
14062 need_lib_prefix=no
14064 freebsd-*)
14065 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14066 need_version=yes
14068 esac
14069 shlibpath_var=LD_LIBRARY_PATH
14070 case $host_os in
14071 freebsd2*)
14072 shlibpath_overrides_runpath=yes
14074 freebsd3.[01]* | freebsdelf3.[01]*)
14075 shlibpath_overrides_runpath=yes
14076 hardcode_into_libs=yes
14078 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14079 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14080 shlibpath_overrides_runpath=no
14081 hardcode_into_libs=yes
14083 *) # from 4.6 on, and DragonFly
14084 shlibpath_overrides_runpath=yes
14085 hardcode_into_libs=yes
14087 esac
14090 gnu*)
14091 version_type=linux
14092 need_lib_prefix=no
14093 need_version=no
14094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14095 soname_spec='${libname}${release}${shared_ext}$major'
14096 shlibpath_var=LD_LIBRARY_PATH
14097 hardcode_into_libs=yes
14100 haiku*)
14101 version_type=linux
14102 need_lib_prefix=no
14103 need_version=no
14104 dynamic_linker="$host_os runtime_loader"
14105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14106 soname_spec='${libname}${release}${shared_ext}$major'
14107 shlibpath_var=LIBRARY_PATH
14108 shlibpath_overrides_runpath=yes
14109 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14110 hardcode_into_libs=yes
14113 hpux9* | hpux10* | hpux11*)
14114 # Give a soname corresponding to the major version so that dld.sl refuses to
14115 # link against other versions.
14116 version_type=sunos
14117 need_lib_prefix=no
14118 need_version=no
14119 case $host_cpu in
14120 ia64*)
14121 shrext_cmds='.so'
14122 hardcode_into_libs=yes
14123 dynamic_linker="$host_os dld.so"
14124 shlibpath_var=LD_LIBRARY_PATH
14125 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14127 soname_spec='${libname}${release}${shared_ext}$major'
14128 if test "X$HPUX_IA64_MODE" = X32; then
14129 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14130 else
14131 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14133 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14135 hppa*64*)
14136 shrext_cmds='.sl'
14137 hardcode_into_libs=yes
14138 dynamic_linker="$host_os dld.sl"
14139 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14140 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14142 soname_spec='${libname}${release}${shared_ext}$major'
14143 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14144 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14147 shrext_cmds='.sl'
14148 dynamic_linker="$host_os dld.sl"
14149 shlibpath_var=SHLIB_PATH
14150 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152 soname_spec='${libname}${release}${shared_ext}$major'
14154 esac
14155 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14156 postinstall_cmds='chmod 555 $lib'
14157 # or fails outright, so override atomically:
14158 install_override_mode=555
14161 interix[3-9]*)
14162 version_type=linux
14163 need_lib_prefix=no
14164 need_version=no
14165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14166 soname_spec='${libname}${release}${shared_ext}$major'
14167 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14168 shlibpath_var=LD_LIBRARY_PATH
14169 shlibpath_overrides_runpath=no
14170 hardcode_into_libs=yes
14173 irix5* | irix6* | nonstopux*)
14174 case $host_os in
14175 nonstopux*) version_type=nonstopux ;;
14177 if test "$lt_cv_prog_gnu_ld" = yes; then
14178 version_type=linux
14179 else
14180 version_type=irix
14181 fi ;;
14182 esac
14183 need_lib_prefix=no
14184 need_version=no
14185 soname_spec='${libname}${release}${shared_ext}$major'
14186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14187 case $host_os in
14188 irix5* | nonstopux*)
14189 libsuff= shlibsuff=
14192 case $LD in # libtool.m4 will add one of these switches to LD
14193 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14194 libsuff= shlibsuff= libmagic=32-bit;;
14195 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14196 libsuff=32 shlibsuff=N32 libmagic=N32;;
14197 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14198 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14199 *) libsuff= shlibsuff= libmagic=never-match;;
14200 esac
14202 esac
14203 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14204 shlibpath_overrides_runpath=no
14205 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14206 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14207 hardcode_into_libs=yes
14210 # No shared lib support for Linux oldld, aout, or coff.
14211 linux*oldld* | linux*aout* | linux*coff*)
14212 dynamic_linker=no
14215 # This must be Linux ELF.
14216 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14217 version_type=linux
14218 need_lib_prefix=no
14219 need_version=no
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 soname_spec='${libname}${release}${shared_ext}$major'
14222 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14223 shlibpath_var=LD_LIBRARY_PATH
14224 shlibpath_overrides_runpath=no
14226 # Some binutils ld are patched to set DT_RUNPATH
14227 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 lt_cv_shlibpath_overrides_runpath=no
14231 save_LDFLAGS=$LDFLAGS
14232 save_libdir=$libdir
14233 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14234 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14235 if test x$gcc_no_link = xyes; then
14236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14238 cat > conftest.$ac_ext <<_ACEOF
14239 program main
14242 _ACEOF
14243 if ac_fn_fc_try_link "$LINENO"; then :
14244 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14245 lt_cv_shlibpath_overrides_runpath=yes
14248 rm -f core conftest.err conftest.$ac_objext \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LDFLAGS=$save_LDFLAGS
14251 libdir=$save_libdir
14255 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14257 # This implies no fast_install, which is unacceptable.
14258 # Some rework will be needed to allow for fast_install
14259 # before this can be enabled.
14260 hardcode_into_libs=yes
14262 # Append ld.so.conf contents to the search path
14263 if test -f /etc/ld.so.conf; then
14264 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14265 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14268 # We used to test for /lib/ld.so.1 and disable shared libraries on
14269 # powerpc, because MkLinux only supported shared libraries with the
14270 # GNU dynamic linker. Since this was broken with cross compilers,
14271 # most powerpc-linux boxes support dynamic linking these days and
14272 # people can always --disable-shared, the test was removed, and we
14273 # assume the GNU/Linux dynamic linker is in use.
14274 dynamic_linker='GNU/Linux ld.so'
14277 netbsd*)
14278 version_type=sunos
14279 need_lib_prefix=no
14280 need_version=no
14281 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14283 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14284 dynamic_linker='NetBSD (a.out) ld.so'
14285 else
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14287 soname_spec='${libname}${release}${shared_ext}$major'
14288 dynamic_linker='NetBSD ld.elf_so'
14290 shlibpath_var=LD_LIBRARY_PATH
14291 shlibpath_overrides_runpath=yes
14292 hardcode_into_libs=yes
14295 newsos6)
14296 version_type=linux
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 shlibpath_var=LD_LIBRARY_PATH
14299 shlibpath_overrides_runpath=yes
14302 *nto* | *qnx*)
14303 version_type=qnx
14304 need_lib_prefix=no
14305 need_version=no
14306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14307 soname_spec='${libname}${release}${shared_ext}$major'
14308 shlibpath_var=LD_LIBRARY_PATH
14309 shlibpath_overrides_runpath=no
14310 hardcode_into_libs=yes
14311 dynamic_linker='ldqnx.so'
14314 openbsd*)
14315 version_type=sunos
14316 sys_lib_dlsearch_path_spec="/usr/lib"
14317 need_lib_prefix=no
14318 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14319 case $host_os in
14320 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14321 *) need_version=no ;;
14322 esac
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14327 case $host_os in
14328 openbsd2.[89] | openbsd2.[89].*)
14329 shlibpath_overrides_runpath=no
14332 shlibpath_overrides_runpath=yes
14334 esac
14335 else
14336 shlibpath_overrides_runpath=yes
14340 os2*)
14341 libname_spec='$name'
14342 shrext_cmds=".dll"
14343 need_lib_prefix=no
14344 library_names_spec='$libname${shared_ext} $libname.a'
14345 dynamic_linker='OS/2 ld.exe'
14346 shlibpath_var=LIBPATH
14349 osf3* | osf4* | osf5*)
14350 version_type=osf
14351 need_lib_prefix=no
14352 need_version=no
14353 soname_spec='${libname}${release}${shared_ext}$major'
14354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14355 shlibpath_var=LD_LIBRARY_PATH
14356 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14357 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14360 rdos*)
14361 dynamic_linker=no
14364 solaris*)
14365 version_type=linux
14366 need_lib_prefix=no
14367 need_version=no
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec='${libname}${release}${shared_ext}$major'
14370 shlibpath_var=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath=yes
14372 hardcode_into_libs=yes
14373 # ldd complains unless libraries are executable
14374 postinstall_cmds='chmod +x $lib'
14377 sunos4*)
14378 version_type=sunos
14379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14380 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14381 shlibpath_var=LD_LIBRARY_PATH
14382 shlibpath_overrides_runpath=yes
14383 if test "$with_gnu_ld" = yes; then
14384 need_lib_prefix=no
14386 need_version=yes
14389 sysv4 | sysv4.3*)
14390 version_type=linux
14391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392 soname_spec='${libname}${release}${shared_ext}$major'
14393 shlibpath_var=LD_LIBRARY_PATH
14394 case $host_vendor in
14395 sni)
14396 shlibpath_overrides_runpath=no
14397 need_lib_prefix=no
14398 runpath_var=LD_RUN_PATH
14400 siemens)
14401 need_lib_prefix=no
14403 motorola)
14404 need_lib_prefix=no
14405 need_version=no
14406 shlibpath_overrides_runpath=no
14407 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14409 esac
14412 sysv4*MP*)
14413 if test -d /usr/nec ;then
14414 version_type=linux
14415 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14416 soname_spec='$libname${shared_ext}.$major'
14417 shlibpath_var=LD_LIBRARY_PATH
14421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14422 version_type=freebsd-elf
14423 need_lib_prefix=no
14424 need_version=no
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14426 soname_spec='${libname}${release}${shared_ext}$major'
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes
14429 hardcode_into_libs=yes
14430 if test "$with_gnu_ld" = yes; then
14431 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14432 else
14433 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14434 case $host_os in
14435 sco3.2v5*)
14436 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14438 esac
14440 sys_lib_dlsearch_path_spec='/usr/lib'
14443 tpf*)
14444 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14445 version_type=linux
14446 need_lib_prefix=no
14447 need_version=no
14448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14449 shlibpath_var=LD_LIBRARY_PATH
14450 shlibpath_overrides_runpath=no
14451 hardcode_into_libs=yes
14454 uts4*)
14455 version_type=linux
14456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457 soname_spec='${libname}${release}${shared_ext}$major'
14458 shlibpath_var=LD_LIBRARY_PATH
14462 dynamic_linker=no
14464 esac
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14466 $as_echo "$dynamic_linker" >&6; }
14467 test "$dynamic_linker" = no && can_build_shared=no
14469 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14470 if test "$GCC" = yes; then
14471 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14474 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14475 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14477 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14478 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14519 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14520 hardcode_action_FC=
14521 if test -n "$hardcode_libdir_flag_spec_FC" ||
14522 test -n "$runpath_var_FC" ||
14523 test "X$hardcode_automatic_FC" = "Xyes" ; then
14525 # We can hardcode non-existent directories.
14526 if test "$hardcode_direct_FC" != no &&
14527 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14528 # have to relink, otherwise we might link with an installed library
14529 # when we should be linking with a yet-to-be-installed one
14530 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14531 test "$hardcode_minus_L_FC" != no; then
14532 # Linking always hardcodes the temporary library directory.
14533 hardcode_action_FC=relink
14534 else
14535 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14536 hardcode_action_FC=immediate
14538 else
14539 # We cannot hardcode anything, or else we can only hardcode existing
14540 # directories.
14541 hardcode_action_FC=unsupported
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14544 $as_echo "$hardcode_action_FC" >&6; }
14546 if test "$hardcode_action_FC" = relink ||
14547 test "$inherit_rpath_FC" = yes; then
14548 # Fast installation is not supported
14549 enable_fast_install=no
14550 elif test "$shlibpath_overrides_runpath" = yes ||
14551 test "$enable_shared" = no; then
14552 # Fast installation is not necessary
14553 enable_fast_install=needless
14562 fi # test -n "$compiler"
14564 GCC=$lt_save_GCC
14565 CC="$lt_save_CC"
14566 fi # test "$_lt_disable_FC" != yes
14568 ac_ext=c
14569 ac_cpp='$CPP $CPPFLAGS'
14570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14576 # extra LD Flags which are required for targets
14577 case "${host}" in
14578 *-darwin*)
14579 # Darwin needs -single_module when linking libgfortran
14580 extra_ldflags_libgfortran=-Wl,-single_module
14582 esac
14585 # We need a working compiler at that point, otherwise give a clear
14586 # error message and bail out.
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14589 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14590 ac_ext=${ac_fc_srcext-f}
14591 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14592 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14593 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14595 cat > conftest.$ac_ext <<_ACEOF
14597 program foo
14598 real, parameter :: bar = sin (12.34 / 2.5)
14599 end program foo
14600 _ACEOF
14601 if ac_fn_fc_try_compile "$LINENO"; then :
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14603 $as_echo "yes" >&6; }
14604 else
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14606 $as_echo "no" >&6; }
14607 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 ac_ext=c
14612 ac_cpp='$CPP $CPPFLAGS'
14613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14619 # Check whether --enable-largefile was given.
14620 if test "${enable_largefile+set}" = set; then :
14621 enableval=$enable_largefile;
14624 if test "$enable_largefile" != no; then
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14627 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14628 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14629 $as_echo_n "(cached) " >&6
14630 else
14631 ac_cv_sys_largefile_CC=no
14632 if test "$GCC" != yes; then
14633 ac_save_CC=$CC
14634 while :; do
14635 # IRIX 6.2 and later do not support large files by default,
14636 # so use the C compiler's -n32 option if that helps.
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <sys/types.h>
14640 /* Check that off_t can represent 2**63 - 1 correctly.
14641 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14642 since some C++ compilers masquerading as C compilers
14643 incorrectly reject 9223372036854775807. */
14644 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14645 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14646 && LARGE_OFF_T % 2147483647 == 1)
14647 ? 1 : -1];
14649 main ()
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 break
14659 rm -f core conftest.err conftest.$ac_objext
14660 CC="$CC -n32"
14661 if ac_fn_c_try_compile "$LINENO"; then :
14662 ac_cv_sys_largefile_CC=' -n32'; break
14664 rm -f core conftest.err conftest.$ac_objext
14665 break
14666 done
14667 CC=$ac_save_CC
14668 rm -f conftest.$ac_ext
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14672 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14673 if test "$ac_cv_sys_largefile_CC" != no; then
14674 CC=$CC$ac_cv_sys_largefile_CC
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14678 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14679 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14680 $as_echo_n "(cached) " >&6
14681 else
14682 while :; do
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14685 #include <sys/types.h>
14686 /* Check that off_t can represent 2**63 - 1 correctly.
14687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14688 since some C++ compilers masquerading as C compilers
14689 incorrectly reject 9223372036854775807. */
14690 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14691 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14692 && LARGE_OFF_T % 2147483647 == 1)
14693 ? 1 : -1];
14695 main ()
14699 return 0;
14701 _ACEOF
14702 if ac_fn_c_try_compile "$LINENO"; then :
14703 ac_cv_sys_file_offset_bits=no; break
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14708 #define _FILE_OFFSET_BITS 64
14709 #include <sys/types.h>
14710 /* Check that off_t can represent 2**63 - 1 correctly.
14711 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14712 since some C++ compilers masquerading as C compilers
14713 incorrectly reject 9223372036854775807. */
14714 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14715 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14716 && LARGE_OFF_T % 2147483647 == 1)
14717 ? 1 : -1];
14719 main ()
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_compile "$LINENO"; then :
14727 ac_cv_sys_file_offset_bits=64; break
14729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14730 ac_cv_sys_file_offset_bits=unknown
14731 break
14732 done
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14735 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14736 case $ac_cv_sys_file_offset_bits in #(
14737 no | unknown) ;;
14739 cat >>confdefs.h <<_ACEOF
14740 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14741 _ACEOF
14743 esac
14744 rm -rf conftest*
14745 if test $ac_cv_sys_file_offset_bits = unknown; then
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14747 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14748 if test "${ac_cv_sys_large_files+set}" = set; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 while :; do
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 #include <sys/types.h>
14755 /* Check that off_t can represent 2**63 - 1 correctly.
14756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14757 since some C++ compilers masquerading as C compilers
14758 incorrectly reject 9223372036854775807. */
14759 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14761 && LARGE_OFF_T % 2147483647 == 1)
14762 ? 1 : -1];
14764 main ()
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_compile "$LINENO"; then :
14772 ac_cv_sys_large_files=no; break
14774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 #define _LARGE_FILES 1
14778 #include <sys/types.h>
14779 /* Check that off_t can represent 2**63 - 1 correctly.
14780 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14781 since some C++ compilers masquerading as C compilers
14782 incorrectly reject 9223372036854775807. */
14783 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14784 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14785 && LARGE_OFF_T % 2147483647 == 1)
14786 ? 1 : -1];
14788 main ()
14792 return 0;
14794 _ACEOF
14795 if ac_fn_c_try_compile "$LINENO"; then :
14796 ac_cv_sys_large_files=1; break
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 ac_cv_sys_large_files=unknown
14800 break
14801 done
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14804 $as_echo "$ac_cv_sys_large_files" >&6; }
14805 case $ac_cv_sys_large_files in #(
14806 no | unknown) ;;
14808 cat >>confdefs.h <<_ACEOF
14809 #define _LARGE_FILES $ac_cv_sys_large_files
14810 _ACEOF
14812 esac
14813 rm -rf conftest*
14817 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14818 if test "x$ac_cv_type_off_t" = x""yes; then :
14820 else
14822 cat >>confdefs.h <<_ACEOF
14823 #define off_t long int
14824 _ACEOF
14829 # check header files
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14831 $as_echo_n "checking for ANSI C header files... " >&6; }
14832 if test "${ac_cv_header_stdc+set}" = set; then :
14833 $as_echo_n "(cached) " >&6
14834 else
14835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14837 #include <stdlib.h>
14838 #include <stdarg.h>
14839 #include <string.h>
14840 #include <float.h>
14843 main ()
14847 return 0;
14849 _ACEOF
14850 if ac_fn_c_try_compile "$LINENO"; then :
14851 ac_cv_header_stdc=yes
14852 else
14853 ac_cv_header_stdc=no
14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14857 if test $ac_cv_header_stdc = yes; then
14858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 #include <string.h>
14863 _ACEOF
14864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14865 $EGREP "memchr" >/dev/null 2>&1; then :
14867 else
14868 ac_cv_header_stdc=no
14870 rm -f conftest*
14874 if test $ac_cv_header_stdc = yes; then
14875 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 #include <stdlib.h>
14880 _ACEOF
14881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14882 $EGREP "free" >/dev/null 2>&1; then :
14884 else
14885 ac_cv_header_stdc=no
14887 rm -f conftest*
14891 if test $ac_cv_header_stdc = yes; then
14892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14893 if test "$cross_compiling" = yes; then :
14895 else
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 #include <ctype.h>
14899 #include <stdlib.h>
14900 #if ((' ' & 0x0FF) == 0x020)
14901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14903 #else
14904 # define ISLOWER(c) \
14905 (('a' <= (c) && (c) <= 'i') \
14906 || ('j' <= (c) && (c) <= 'r') \
14907 || ('s' <= (c) && (c) <= 'z'))
14908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14909 #endif
14911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14913 main ()
14915 int i;
14916 for (i = 0; i < 256; i++)
14917 if (XOR (islower (i), ISLOWER (i))
14918 || toupper (i) != TOUPPER (i))
14919 return 2;
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_run "$LINENO"; then :
14925 else
14926 ac_cv_header_stdc=no
14928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14929 conftest.$ac_objext conftest.beam conftest.$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14935 $as_echo "$ac_cv_header_stdc" >&6; }
14936 if test $ac_cv_header_stdc = yes; then
14938 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14943 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14944 if test "${ac_cv_header_time+set}" = set; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14949 #include <sys/types.h>
14950 #include <sys/time.h>
14951 #include <time.h>
14954 main ()
14956 if ((struct tm *) 0)
14957 return 0;
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_compile "$LINENO"; then :
14963 ac_cv_header_time=yes
14964 else
14965 ac_cv_header_time=no
14967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14970 $as_echo "$ac_cv_header_time" >&6; }
14971 if test $ac_cv_header_time = yes; then
14973 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14977 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14978 do :
14979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14981 eval as_val=\$$as_ac_Header
14982 if test "x$as_val" = x""yes; then :
14983 cat >>confdefs.h <<_ACEOF
14984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14985 _ACEOF
14989 done
14991 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14992 do :
14993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14994 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14995 eval as_val=\$$as_ac_Header
14996 if test "x$as_val" = x""yes; then :
14997 cat >>confdefs.h <<_ACEOF
14998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14999 _ACEOF
15003 done
15005 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15006 do :
15007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15009 eval as_val=\$$as_ac_Header
15010 if test "x$as_val" = x""yes; then :
15011 cat >>confdefs.h <<_ACEOF
15012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15013 _ACEOF
15017 done
15019 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15020 do :
15021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15022 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15023 eval as_val=\$$as_ac_Header
15024 if test "x$as_val" = x""yes; then :
15025 cat >>confdefs.h <<_ACEOF
15026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15027 _ACEOF
15031 done
15033 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15034 if test "x$ac_cv_header_complex_h" = x""yes; then :
15036 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15043 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15045 acx_cv_header_stdint=stddef.h
15046 acx_cv_header_stdint_kind="(already complete)"
15047 for i in stdint.h $inttype_headers; do
15048 unset ac_cv_type_uintptr_t
15049 unset ac_cv_type_uintmax_t
15050 unset ac_cv_type_int_least32_t
15051 unset ac_cv_type_int_fast32_t
15052 unset ac_cv_type_uint64_t
15053 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15054 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15055 #include <$i>
15057 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15058 acx_cv_header_stdint=$i
15059 else
15060 continue
15063 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15064 #include <$i>
15066 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15068 else
15069 acx_cv_header_stdint_kind="(mostly complete)"
15072 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15073 #include <$i>
15075 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15077 else
15078 acx_cv_header_stdint_kind="(mostly complete)"
15081 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15082 #include <$i>
15084 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15086 else
15087 acx_cv_header_stdint_kind="(mostly complete)"
15090 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15091 #include <$i>
15093 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15095 else
15096 acx_cv_header_stdint_kind="(lacks uint64_t)"
15099 break
15100 done
15101 if test "$acx_cv_header_stdint" = stddef.h; then
15102 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15103 for i in stdint.h $inttype_headers; do
15104 unset ac_cv_type_uintptr_t
15105 unset ac_cv_type_uint32_t
15106 unset ac_cv_type_uint64_t
15107 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15108 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15109 #include <$i>
15111 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15112 acx_cv_header_stdint=$i
15113 else
15114 continue
15117 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15118 #include <$i>
15120 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15124 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15125 #include <$i>
15127 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15131 break
15132 done
15134 if test "$acx_cv_header_stdint" = stddef.h; then
15135 acx_cv_header_stdint_kind="(u_intXX_t style)"
15136 for i in sys/types.h $inttype_headers; do
15137 unset ac_cv_type_u_int32_t
15138 unset ac_cv_type_u_int64_t
15139 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15140 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15141 #include <$i>
15143 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15144 acx_cv_header_stdint=$i
15145 else
15146 continue
15149 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15150 #include <$i>
15152 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15156 break
15157 done
15159 if test "$acx_cv_header_stdint" = stddef.h; then
15160 acx_cv_header_stdint_kind="(using manual detection)"
15163 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15164 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15165 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15166 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15167 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15169 # ----------------- Summarize what we found so far
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15172 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15174 case `$as_basename -- gstdint.h ||
15175 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15176 Xgstdint.h : 'X\(//\)$' \| \
15177 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15178 $as_echo X/gstdint.h |
15179 sed '/^.*\/\([^/][^/]*\)\/*$/{
15180 s//\1/
15183 /^X\/\(\/\/\)$/{
15184 s//\1/
15187 /^X\/\(\/\).*/{
15188 s//\1/
15191 s/.*/./; q'` in
15192 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15193 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15194 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15195 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15196 *) ;;
15197 esac
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15200 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15202 # ----------------- done included file, check C basic types --------
15204 # Lacking an uintptr_t? Test size of void *
15205 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15206 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15209 # This bug is HP SR number 8606223364.
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15211 $as_echo_n "checking size of void *... " >&6; }
15212 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15217 else
15218 if test "$ac_cv_type_void_p" = yes; then
15219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15221 { as_fn_set_status 77
15222 as_fn_error "cannot compute sizeof (void *)
15223 See \`config.log' for more details." "$LINENO" 5; }; }
15224 else
15225 ac_cv_sizeof_void_p=0
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15231 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15235 cat >>confdefs.h <<_ACEOF
15236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15237 _ACEOF
15240 esac
15242 # Lacking an uint64_t? Test size of long
15243 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15244 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15247 # This bug is HP SR number 8606223364.
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15249 $as_echo_n "checking size of long... " >&6; }
15250 if test "${ac_cv_sizeof_long+set}" = set; then :
15251 $as_echo_n "(cached) " >&6
15252 else
15253 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15255 else
15256 if test "$ac_cv_type_long" = yes; then
15257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15259 { as_fn_set_status 77
15260 as_fn_error "cannot compute sizeof (long)
15261 See \`config.log' for more details." "$LINENO" 5; }; }
15262 else
15263 ac_cv_sizeof_long=0
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15269 $as_echo "$ac_cv_sizeof_long" >&6; }
15273 cat >>confdefs.h <<_ACEOF
15274 #define SIZEOF_LONG $ac_cv_sizeof_long
15275 _ACEOF
15278 esac
15280 if test $acx_cv_header_stdint = stddef.h; then
15281 # Lacking a good header? Test size of everything and deduce all types.
15282 # The cast to long int works around a bug in the HP C Compiler
15283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15285 # This bug is HP SR number 8606223364.
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15287 $as_echo_n "checking size of int... " >&6; }
15288 if test "${ac_cv_sizeof_int+set}" = set; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15293 else
15294 if test "$ac_cv_type_int" = yes; then
15295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15297 { as_fn_set_status 77
15298 as_fn_error "cannot compute sizeof (int)
15299 See \`config.log' for more details." "$LINENO" 5; }; }
15300 else
15301 ac_cv_sizeof_int=0
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15307 $as_echo "$ac_cv_sizeof_int" >&6; }
15311 cat >>confdefs.h <<_ACEOF
15312 #define SIZEOF_INT $ac_cv_sizeof_int
15313 _ACEOF
15316 # The cast to long int works around a bug in the HP C Compiler
15317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15319 # This bug is HP SR number 8606223364.
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15321 $as_echo_n "checking size of short... " >&6; }
15322 if test "${ac_cv_sizeof_short+set}" = set; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15327 else
15328 if test "$ac_cv_type_short" = yes; then
15329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15331 { as_fn_set_status 77
15332 as_fn_error "cannot compute sizeof (short)
15333 See \`config.log' for more details." "$LINENO" 5; }; }
15334 else
15335 ac_cv_sizeof_short=0
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15341 $as_echo "$ac_cv_sizeof_short" >&6; }
15345 cat >>confdefs.h <<_ACEOF
15346 #define SIZEOF_SHORT $ac_cv_sizeof_short
15347 _ACEOF
15350 # The cast to long int works around a bug in the HP C Compiler
15351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15353 # This bug is HP SR number 8606223364.
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15355 $as_echo_n "checking size of char... " >&6; }
15356 if test "${ac_cv_sizeof_char+set}" = set; then :
15357 $as_echo_n "(cached) " >&6
15358 else
15359 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15361 else
15362 if test "$ac_cv_type_char" = yes; then
15363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15365 { as_fn_set_status 77
15366 as_fn_error "cannot compute sizeof (char)
15367 See \`config.log' for more details." "$LINENO" 5; }; }
15368 else
15369 ac_cv_sizeof_char=0
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15375 $as_echo "$ac_cv_sizeof_char" >&6; }
15379 cat >>confdefs.h <<_ACEOF
15380 #define SIZEOF_CHAR $ac_cv_sizeof_char
15381 _ACEOF
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15386 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15387 case "$ac_cv_sizeof_char" in
15388 1) acx_cv_type_int8_t=char ;;
15389 *) { as_fn_set_status please report a bug
15390 as_fn_error "no 8-bit type" "$LINENO" 5; }
15391 esac
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15393 $as_echo "$acx_cv_type_int8_t" >&6; }
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15396 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15397 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15398 2:*) acx_cv_type_int16_t=int ;;
15399 *:2) acx_cv_type_int16_t=short ;;
15400 *) { as_fn_set_status please report a bug
15401 as_fn_error "no 16-bit type" "$LINENO" 5; }
15402 esac
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15404 $as_echo "$acx_cv_type_int16_t" >&6; }
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15407 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15408 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15409 4:*) acx_cv_type_int32_t=int ;;
15410 *:4) acx_cv_type_int32_t=long ;;
15411 *) { as_fn_set_status please report a bug
15412 as_fn_error "no 32-bit type" "$LINENO" 5; }
15413 esac
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15415 $as_echo "$acx_cv_type_int32_t" >&6; }
15418 # These tests are here to make the output prettier
15420 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15421 case "$ac_cv_sizeof_long" in
15422 8) acx_cv_type_int64_t=long ;;
15423 esac
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15425 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15427 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15430 # Now we can use the above types
15432 if test "$ac_cv_type_uintptr_t" != yes; then
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15434 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15435 case $ac_cv_sizeof_void_p in
15436 2) acx_cv_type_intptr_t=int16_t ;;
15437 4) acx_cv_type_intptr_t=int32_t ;;
15438 8) acx_cv_type_intptr_t=int64_t ;;
15439 *) { as_fn_set_status please report a bug
15440 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
15441 esac
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15443 $as_echo "$acx_cv_type_intptr_t" >&6; }
15446 # ----------------- done all checks, emit header -------------
15447 ac_config_commands="$ac_config_commands gstdint.h"
15452 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15453 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15457 _ACEOF
15462 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15463 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15465 cat >>confdefs.h <<_ACEOF
15466 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15467 _ACEOF
15472 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15473 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_STRUCT_STAT_ST_RDEV 1
15477 _ACEOF
15483 # Check for library functions.
15484 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15485 do :
15486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15488 eval as_val=\$$as_ac_var
15489 if test "x$as_val" = x""yes; then :
15490 cat >>confdefs.h <<_ACEOF
15491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15492 _ACEOF
15495 done
15497 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15498 do :
15499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15501 eval as_val=\$$as_ac_var
15502 if test "x$as_val" = x""yes; then :
15503 cat >>confdefs.h <<_ACEOF
15504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15505 _ACEOF
15508 done
15510 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15511 do :
15512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15514 eval as_val=\$$as_ac_var
15515 if test "x$as_val" = x""yes; then :
15516 cat >>confdefs.h <<_ACEOF
15517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15518 _ACEOF
15521 done
15523 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15524 do :
15525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15527 eval as_val=\$$as_ac_var
15528 if test "x$as_val" = x""yes; then :
15529 cat >>confdefs.h <<_ACEOF
15530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15531 _ACEOF
15534 done
15536 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15537 do :
15538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15540 eval as_val=\$$as_ac_var
15541 if test "x$as_val" = x""yes; then :
15542 cat >>confdefs.h <<_ACEOF
15543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15544 _ACEOF
15547 done
15549 for ac_func in localtime_r gmtime_r
15550 do :
15551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15553 eval as_val=\$$as_ac_var
15554 if test "x$as_val" = x""yes; then :
15555 cat >>confdefs.h <<_ACEOF
15556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15557 _ACEOF
15560 done
15563 # Check for glibc backtrace functions
15564 for ac_func in backtrace backtrace_symbols
15565 do :
15566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15568 eval as_val=\$$as_ac_var
15569 if test "x$as_val" = x""yes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15572 _ACEOF
15575 done
15578 # Check for types
15579 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15580 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15582 cat >>confdefs.h <<_ACEOF
15583 #define HAVE_INTPTR_T 1
15584 _ACEOF
15589 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15590 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15592 cat >>confdefs.h <<_ACEOF
15593 #define HAVE_UINTPTR_T 1
15594 _ACEOF
15600 # Check libc for getgid, getpid, getuid
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15602 $as_echo_n "checking for getgid in -lc... " >&6; }
15603 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15604 $as_echo_n "(cached) " >&6
15605 else
15606 ac_check_lib_save_LIBS=$LIBS
15607 LIBS="-lc $LIBS"
15608 if test x$gcc_no_link = xyes; then
15609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15614 /* Override any GCC internal prototype to avoid an error.
15615 Use char because int might match the return type of a GCC
15616 builtin and then its argument prototype would still apply. */
15617 #ifdef __cplusplus
15618 extern "C"
15619 #endif
15620 char getgid ();
15622 main ()
15624 return getgid ();
15626 return 0;
15628 _ACEOF
15629 if ac_fn_c_try_link "$LINENO"; then :
15630 ac_cv_lib_c_getgid=yes
15631 else
15632 ac_cv_lib_c_getgid=no
15634 rm -f core conftest.err conftest.$ac_objext \
15635 conftest$ac_exeext conftest.$ac_ext
15636 LIBS=$ac_check_lib_save_LIBS
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15639 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15640 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15642 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15647 $as_echo_n "checking for getpid in -lc... " >&6; }
15648 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15649 $as_echo_n "(cached) " >&6
15650 else
15651 ac_check_lib_save_LIBS=$LIBS
15652 LIBS="-lc $LIBS"
15653 if test x$gcc_no_link = xyes; then
15654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15659 /* Override any GCC internal prototype to avoid an error.
15660 Use char because int might match the return type of a GCC
15661 builtin and then its argument prototype would still apply. */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 char getpid ();
15667 main ()
15669 return getpid ();
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"; then :
15675 ac_cv_lib_c_getpid=yes
15676 else
15677 ac_cv_lib_c_getpid=no
15679 rm -f core conftest.err conftest.$ac_objext \
15680 conftest$ac_exeext conftest.$ac_ext
15681 LIBS=$ac_check_lib_save_LIBS
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15684 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15685 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15687 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15692 $as_echo_n "checking for getppid in -lc... " >&6; }
15693 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15694 $as_echo_n "(cached) " >&6
15695 else
15696 ac_check_lib_save_LIBS=$LIBS
15697 LIBS="-lc $LIBS"
15698 if test x$gcc_no_link = xyes; then
15699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15704 /* Override any GCC internal prototype to avoid an error.
15705 Use char because int might match the return type of a GCC
15706 builtin and then its argument prototype would still apply. */
15707 #ifdef __cplusplus
15708 extern "C"
15709 #endif
15710 char getppid ();
15712 main ()
15714 return getppid ();
15716 return 0;
15718 _ACEOF
15719 if ac_fn_c_try_link "$LINENO"; then :
15720 ac_cv_lib_c_getppid=yes
15721 else
15722 ac_cv_lib_c_getppid=no
15724 rm -f core conftest.err conftest.$ac_objext \
15725 conftest$ac_exeext conftest.$ac_ext
15726 LIBS=$ac_check_lib_save_LIBS
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15729 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15730 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15732 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15737 $as_echo_n "checking for getuid in -lc... " >&6; }
15738 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15739 $as_echo_n "(cached) " >&6
15740 else
15741 ac_check_lib_save_LIBS=$LIBS
15742 LIBS="-lc $LIBS"
15743 if test x$gcc_no_link = xyes; then
15744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15749 /* Override any GCC internal prototype to avoid an error.
15750 Use char because int might match the return type of a GCC
15751 builtin and then its argument prototype would still apply. */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char getuid ();
15757 main ()
15759 return getuid ();
15761 return 0;
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765 ac_cv_lib_c_getuid=yes
15766 else
15767 ac_cv_lib_c_getuid=no
15769 rm -f core conftest.err conftest.$ac_objext \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_lib_save_LIBS
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15774 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15775 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15777 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15782 $as_echo_n "checking for geteuid in -lc... " >&6; }
15783 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15784 $as_echo_n "(cached) " >&6
15785 else
15786 ac_check_lib_save_LIBS=$LIBS
15787 LIBS="-lc $LIBS"
15788 if test x$gcc_no_link = xyes; then
15789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char geteuid ();
15802 main ()
15804 return geteuid ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810 ac_cv_lib_c_geteuid=yes
15811 else
15812 ac_cv_lib_c_geteuid=no
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_lib_save_LIBS
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15819 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15820 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15822 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15827 # Check for C99 (and other IEEE) math functions
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15829 $as_echo_n "checking for acosf in -lm... " >&6; }
15830 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15831 $as_echo_n "(cached) " >&6
15832 else
15833 ac_check_lib_save_LIBS=$LIBS
15834 LIBS="-lm $LIBS"
15835 if test x$gcc_no_link = xyes; then
15836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15841 /* Override any GCC internal prototype to avoid an error.
15842 Use char because int might match the return type of a GCC
15843 builtin and then its argument prototype would still apply. */
15844 #ifdef __cplusplus
15845 extern "C"
15846 #endif
15847 char acosf ();
15849 main ()
15851 return acosf ();
15853 return 0;
15855 _ACEOF
15856 if ac_fn_c_try_link "$LINENO"; then :
15857 ac_cv_lib_m_acosf=yes
15858 else
15859 ac_cv_lib_m_acosf=no
15861 rm -f core conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15863 LIBS=$ac_check_lib_save_LIBS
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15866 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15867 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15869 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15874 $as_echo_n "checking for acos in -lm... " >&6; }
15875 if test "${ac_cv_lib_m_acos+set}" = set; then :
15876 $as_echo_n "(cached) " >&6
15877 else
15878 ac_check_lib_save_LIBS=$LIBS
15879 LIBS="-lm $LIBS"
15880 if test x$gcc_no_link = xyes; then
15881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15886 /* Override any GCC internal prototype to avoid an error.
15887 Use char because int might match the return type of a GCC
15888 builtin and then its argument prototype would still apply. */
15889 #ifdef __cplusplus
15890 extern "C"
15891 #endif
15892 char acos ();
15894 main ()
15896 return acos ();
15898 return 0;
15900 _ACEOF
15901 if ac_fn_c_try_link "$LINENO"; then :
15902 ac_cv_lib_m_acos=yes
15903 else
15904 ac_cv_lib_m_acos=no
15906 rm -f core conftest.err conftest.$ac_objext \
15907 conftest$ac_exeext conftest.$ac_ext
15908 LIBS=$ac_check_lib_save_LIBS
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15911 $as_echo "$ac_cv_lib_m_acos" >&6; }
15912 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15914 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15919 $as_echo_n "checking for acosl in -lm... " >&6; }
15920 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15921 $as_echo_n "(cached) " >&6
15922 else
15923 ac_check_lib_save_LIBS=$LIBS
15924 LIBS="-lm $LIBS"
15925 if test x$gcc_no_link = xyes; then
15926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15931 /* Override any GCC internal prototype to avoid an error.
15932 Use char because int might match the return type of a GCC
15933 builtin and then its argument prototype would still apply. */
15934 #ifdef __cplusplus
15935 extern "C"
15936 #endif
15937 char acosl ();
15939 main ()
15941 return acosl ();
15943 return 0;
15945 _ACEOF
15946 if ac_fn_c_try_link "$LINENO"; then :
15947 ac_cv_lib_m_acosl=yes
15948 else
15949 ac_cv_lib_m_acosl=no
15951 rm -f core conftest.err conftest.$ac_objext \
15952 conftest$ac_exeext conftest.$ac_ext
15953 LIBS=$ac_check_lib_save_LIBS
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
15956 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15957 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
15959 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15964 $as_echo_n "checking for acoshf in -lm... " >&6; }
15965 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
15966 $as_echo_n "(cached) " >&6
15967 else
15968 ac_check_lib_save_LIBS=$LIBS
15969 LIBS="-lm $LIBS"
15970 if test x$gcc_no_link = xyes; then
15971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15976 /* Override any GCC internal prototype to avoid an error.
15977 Use char because int might match the return type of a GCC
15978 builtin and then its argument prototype would still apply. */
15979 #ifdef __cplusplus
15980 extern "C"
15981 #endif
15982 char acoshf ();
15984 main ()
15986 return acoshf ();
15988 return 0;
15990 _ACEOF
15991 if ac_fn_c_try_link "$LINENO"; then :
15992 ac_cv_lib_m_acoshf=yes
15993 else
15994 ac_cv_lib_m_acoshf=no
15996 rm -f core conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext conftest.$ac_ext
15998 LIBS=$ac_check_lib_save_LIBS
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16001 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16002 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16004 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16009 $as_echo_n "checking for acosh in -lm... " >&6; }
16010 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16011 $as_echo_n "(cached) " >&6
16012 else
16013 ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lm $LIBS"
16015 if test x$gcc_no_link = xyes; then
16016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h. */
16021 /* Override any GCC internal prototype to avoid an error.
16022 Use char because int might match the return type of a GCC
16023 builtin and then its argument prototype would still apply. */
16024 #ifdef __cplusplus
16025 extern "C"
16026 #endif
16027 char acosh ();
16029 main ()
16031 return acosh ();
16033 return 0;
16035 _ACEOF
16036 if ac_fn_c_try_link "$LINENO"; then :
16037 ac_cv_lib_m_acosh=yes
16038 else
16039 ac_cv_lib_m_acosh=no
16041 rm -f core conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16043 LIBS=$ac_check_lib_save_LIBS
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16046 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16047 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16049 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16054 $as_echo_n "checking for acoshl in -lm... " >&6; }
16055 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16056 $as_echo_n "(cached) " >&6
16057 else
16058 ac_check_lib_save_LIBS=$LIBS
16059 LIBS="-lm $LIBS"
16060 if test x$gcc_no_link = xyes; then
16061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16066 /* Override any GCC internal prototype to avoid an error.
16067 Use char because int might match the return type of a GCC
16068 builtin and then its argument prototype would still apply. */
16069 #ifdef __cplusplus
16070 extern "C"
16071 #endif
16072 char acoshl ();
16074 main ()
16076 return acoshl ();
16078 return 0;
16080 _ACEOF
16081 if ac_fn_c_try_link "$LINENO"; then :
16082 ac_cv_lib_m_acoshl=yes
16083 else
16084 ac_cv_lib_m_acoshl=no
16086 rm -f core conftest.err conftest.$ac_objext \
16087 conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_lib_save_LIBS
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16091 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16092 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16094 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16099 $as_echo_n "checking for asinf in -lm... " >&6; }
16100 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16101 $as_echo_n "(cached) " >&6
16102 else
16103 ac_check_lib_save_LIBS=$LIBS
16104 LIBS="-lm $LIBS"
16105 if test x$gcc_no_link = xyes; then
16106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char asinf ();
16119 main ()
16121 return asinf ();
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127 ac_cv_lib_m_asinf=yes
16128 else
16129 ac_cv_lib_m_asinf=no
16131 rm -f core conftest.err conftest.$ac_objext \
16132 conftest$ac_exeext conftest.$ac_ext
16133 LIBS=$ac_check_lib_save_LIBS
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16136 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16137 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16139 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16144 $as_echo_n "checking for asin in -lm... " >&6; }
16145 if test "${ac_cv_lib_m_asin+set}" = set; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 ac_check_lib_save_LIBS=$LIBS
16149 LIBS="-lm $LIBS"
16150 if test x$gcc_no_link = xyes; then
16151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char asin ();
16164 main ()
16166 return asin ();
16168 return 0;
16170 _ACEOF
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_lib_m_asin=yes
16173 else
16174 ac_cv_lib_m_asin=no
16176 rm -f core conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16181 $as_echo "$ac_cv_lib_m_asin" >&6; }
16182 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16184 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16189 $as_echo_n "checking for asinl in -lm... " >&6; }
16190 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16191 $as_echo_n "(cached) " >&6
16192 else
16193 ac_check_lib_save_LIBS=$LIBS
16194 LIBS="-lm $LIBS"
16195 if test x$gcc_no_link = xyes; then
16196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16201 /* Override any GCC internal prototype to avoid an error.
16202 Use char because int might match the return type of a GCC
16203 builtin and then its argument prototype would still apply. */
16204 #ifdef __cplusplus
16205 extern "C"
16206 #endif
16207 char asinl ();
16209 main ()
16211 return asinl ();
16213 return 0;
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217 ac_cv_lib_m_asinl=yes
16218 else
16219 ac_cv_lib_m_asinl=no
16221 rm -f core conftest.err conftest.$ac_objext \
16222 conftest$ac_exeext conftest.$ac_ext
16223 LIBS=$ac_check_lib_save_LIBS
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16226 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16227 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16229 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16234 $as_echo_n "checking for asinhf in -lm... " >&6; }
16235 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16236 $as_echo_n "(cached) " >&6
16237 else
16238 ac_check_lib_save_LIBS=$LIBS
16239 LIBS="-lm $LIBS"
16240 if test x$gcc_no_link = xyes; then
16241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 /* Override any GCC internal prototype to avoid an error.
16247 Use char because int might match the return type of a GCC
16248 builtin and then its argument prototype would still apply. */
16249 #ifdef __cplusplus
16250 extern "C"
16251 #endif
16252 char asinhf ();
16254 main ()
16256 return asinhf ();
16258 return 0;
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"; then :
16262 ac_cv_lib_m_asinhf=yes
16263 else
16264 ac_cv_lib_m_asinhf=no
16266 rm -f core conftest.err conftest.$ac_objext \
16267 conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_lib_save_LIBS
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16271 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16272 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16274 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16279 $as_echo_n "checking for asinh in -lm... " >&6; }
16280 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16281 $as_echo_n "(cached) " >&6
16282 else
16283 ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lm $LIBS"
16285 if test x$gcc_no_link = xyes; then
16286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16294 #ifdef __cplusplus
16295 extern "C"
16296 #endif
16297 char asinh ();
16299 main ()
16301 return asinh ();
16303 return 0;
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"; then :
16307 ac_cv_lib_m_asinh=yes
16308 else
16309 ac_cv_lib_m_asinh=no
16311 rm -f core conftest.err conftest.$ac_objext \
16312 conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_lib_save_LIBS
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16316 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16317 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16319 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16324 $as_echo_n "checking for asinhl in -lm... " >&6; }
16325 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16326 $as_echo_n "(cached) " >&6
16327 else
16328 ac_check_lib_save_LIBS=$LIBS
16329 LIBS="-lm $LIBS"
16330 if test x$gcc_no_link = xyes; then
16331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char asinhl ();
16344 main ()
16346 return asinhl ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 ac_cv_lib_m_asinhl=yes
16353 else
16354 ac_cv_lib_m_asinhl=no
16356 rm -f core conftest.err conftest.$ac_objext \
16357 conftest$ac_exeext conftest.$ac_ext
16358 LIBS=$ac_check_lib_save_LIBS
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16361 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16362 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16364 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16369 $as_echo_n "checking for atan2f in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lm $LIBS"
16375 if test x$gcc_no_link = xyes; then
16376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char atan2f ();
16389 main ()
16391 return atan2f ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 ac_cv_lib_m_atan2f=yes
16398 else
16399 ac_cv_lib_m_atan2f=no
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16406 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16407 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16409 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16414 $as_echo_n "checking for atan2 in -lm... " >&6; }
16415 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16416 $as_echo_n "(cached) " >&6
16417 else
16418 ac_check_lib_save_LIBS=$LIBS
16419 LIBS="-lm $LIBS"
16420 if test x$gcc_no_link = xyes; then
16421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16426 /* Override any GCC internal prototype to avoid an error.
16427 Use char because int might match the return type of a GCC
16428 builtin and then its argument prototype would still apply. */
16429 #ifdef __cplusplus
16430 extern "C"
16431 #endif
16432 char atan2 ();
16434 main ()
16436 return atan2 ();
16438 return 0;
16440 _ACEOF
16441 if ac_fn_c_try_link "$LINENO"; then :
16442 ac_cv_lib_m_atan2=yes
16443 else
16444 ac_cv_lib_m_atan2=no
16446 rm -f core conftest.err conftest.$ac_objext \
16447 conftest$ac_exeext conftest.$ac_ext
16448 LIBS=$ac_check_lib_save_LIBS
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16451 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16452 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16454 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16459 $as_echo_n "checking for atan2l in -lm... " >&6; }
16460 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 ac_check_lib_save_LIBS=$LIBS
16464 LIBS="-lm $LIBS"
16465 if test x$gcc_no_link = xyes; then
16466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16474 #ifdef __cplusplus
16475 extern "C"
16476 #endif
16477 char atan2l ();
16479 main ()
16481 return atan2l ();
16483 return 0;
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487 ac_cv_lib_m_atan2l=yes
16488 else
16489 ac_cv_lib_m_atan2l=no
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16493 LIBS=$ac_check_lib_save_LIBS
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16496 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16497 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16499 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16504 $as_echo_n "checking for atanf in -lm... " >&6; }
16505 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16506 $as_echo_n "(cached) " >&6
16507 else
16508 ac_check_lib_save_LIBS=$LIBS
16509 LIBS="-lm $LIBS"
16510 if test x$gcc_no_link = xyes; then
16511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16519 #ifdef __cplusplus
16520 extern "C"
16521 #endif
16522 char atanf ();
16524 main ()
16526 return atanf ();
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532 ac_cv_lib_m_atanf=yes
16533 else
16534 ac_cv_lib_m_atanf=no
16536 rm -f core conftest.err conftest.$ac_objext \
16537 conftest$ac_exeext conftest.$ac_ext
16538 LIBS=$ac_check_lib_save_LIBS
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16541 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16542 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16544 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16549 $as_echo_n "checking for atan in -lm... " >&6; }
16550 if test "${ac_cv_lib_m_atan+set}" = set; then :
16551 $as_echo_n "(cached) " >&6
16552 else
16553 ac_check_lib_save_LIBS=$LIBS
16554 LIBS="-lm $LIBS"
16555 if test x$gcc_no_link = xyes; then
16556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h. */
16561 /* Override any GCC internal prototype to avoid an error.
16562 Use char because int might match the return type of a GCC
16563 builtin and then its argument prototype would still apply. */
16564 #ifdef __cplusplus
16565 extern "C"
16566 #endif
16567 char atan ();
16569 main ()
16571 return atan ();
16573 return 0;
16575 _ACEOF
16576 if ac_fn_c_try_link "$LINENO"; then :
16577 ac_cv_lib_m_atan=yes
16578 else
16579 ac_cv_lib_m_atan=no
16581 rm -f core conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16586 $as_echo "$ac_cv_lib_m_atan" >&6; }
16587 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16589 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16594 $as_echo_n "checking for atanl in -lm... " >&6; }
16595 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598 ac_check_lib_save_LIBS=$LIBS
16599 LIBS="-lm $LIBS"
16600 if test x$gcc_no_link = xyes; then
16601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char atanl ();
16614 main ()
16616 return atanl ();
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622 ac_cv_lib_m_atanl=yes
16623 else
16624 ac_cv_lib_m_atanl=no
16626 rm -f core conftest.err conftest.$ac_objext \
16627 conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_lib_save_LIBS
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16631 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16632 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16634 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16639 $as_echo_n "checking for atanhf in -lm... " >&6; }
16640 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16641 $as_echo_n "(cached) " >&6
16642 else
16643 ac_check_lib_save_LIBS=$LIBS
16644 LIBS="-lm $LIBS"
16645 if test x$gcc_no_link = xyes; then
16646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char atanhf ();
16659 main ()
16661 return atanhf ();
16663 return 0;
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"; then :
16667 ac_cv_lib_m_atanhf=yes
16668 else
16669 ac_cv_lib_m_atanhf=no
16671 rm -f core conftest.err conftest.$ac_objext \
16672 conftest$ac_exeext conftest.$ac_ext
16673 LIBS=$ac_check_lib_save_LIBS
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16676 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16677 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16679 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16684 $as_echo_n "checking for atanh in -lm... " >&6; }
16685 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16686 $as_echo_n "(cached) " >&6
16687 else
16688 ac_check_lib_save_LIBS=$LIBS
16689 LIBS="-lm $LIBS"
16690 if test x$gcc_no_link = xyes; then
16691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16696 /* Override any GCC internal prototype to avoid an error.
16697 Use char because int might match the return type of a GCC
16698 builtin and then its argument prototype would still apply. */
16699 #ifdef __cplusplus
16700 extern "C"
16701 #endif
16702 char atanh ();
16704 main ()
16706 return atanh ();
16708 return 0;
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 ac_cv_lib_m_atanh=yes
16713 else
16714 ac_cv_lib_m_atanh=no
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16718 LIBS=$ac_check_lib_save_LIBS
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16721 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16722 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16724 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16729 $as_echo_n "checking for atanhl in -lm... " >&6; }
16730 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16731 $as_echo_n "(cached) " >&6
16732 else
16733 ac_check_lib_save_LIBS=$LIBS
16734 LIBS="-lm $LIBS"
16735 if test x$gcc_no_link = xyes; then
16736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16741 /* Override any GCC internal prototype to avoid an error.
16742 Use char because int might match the return type of a GCC
16743 builtin and then its argument prototype would still apply. */
16744 #ifdef __cplusplus
16745 extern "C"
16746 #endif
16747 char atanhl ();
16749 main ()
16751 return atanhl ();
16753 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 ac_cv_lib_m_atanhl=yes
16758 else
16759 ac_cv_lib_m_atanhl=no
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16763 LIBS=$ac_check_lib_save_LIBS
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16766 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16767 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16769 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16774 $as_echo_n "checking for cargf in -lm... " >&6; }
16775 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 ac_check_lib_save_LIBS=$LIBS
16779 LIBS="-lm $LIBS"
16780 if test x$gcc_no_link = xyes; then
16781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 /* Override any GCC internal prototype to avoid an error.
16787 Use char because int might match the return type of a GCC
16788 builtin and then its argument prototype would still apply. */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
16792 char cargf ();
16794 main ()
16796 return cargf ();
16798 return 0;
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 ac_cv_lib_m_cargf=yes
16803 else
16804 ac_cv_lib_m_cargf=no
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_lib_save_LIBS
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16811 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16812 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16814 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16819 $as_echo_n "checking for carg in -lm... " >&6; }
16820 if test "${ac_cv_lib_m_carg+set}" = set; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 ac_check_lib_save_LIBS=$LIBS
16824 LIBS="-lm $LIBS"
16825 if test x$gcc_no_link = xyes; then
16826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char carg ();
16839 main ()
16841 return carg ();
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847 ac_cv_lib_m_carg=yes
16848 else
16849 ac_cv_lib_m_carg=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16856 $as_echo "$ac_cv_lib_m_carg" >&6; }
16857 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16859 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16864 $as_echo_n "checking for cargl in -lm... " >&6; }
16865 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 ac_check_lib_save_LIBS=$LIBS
16869 LIBS="-lm $LIBS"
16870 if test x$gcc_no_link = xyes; then
16871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16876 /* Override any GCC internal prototype to avoid an error.
16877 Use char because int might match the return type of a GCC
16878 builtin and then its argument prototype would still apply. */
16879 #ifdef __cplusplus
16880 extern "C"
16881 #endif
16882 char cargl ();
16884 main ()
16886 return cargl ();
16888 return 0;
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892 ac_cv_lib_m_cargl=yes
16893 else
16894 ac_cv_lib_m_cargl=no
16896 rm -f core conftest.err conftest.$ac_objext \
16897 conftest$ac_exeext conftest.$ac_ext
16898 LIBS=$ac_check_lib_save_LIBS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16901 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16902 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16904 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16909 $as_echo_n "checking for ceilf in -lm... " >&6; }
16910 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16913 ac_check_lib_save_LIBS=$LIBS
16914 LIBS="-lm $LIBS"
16915 if test x$gcc_no_link = xyes; then
16916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16921 /* Override any GCC internal prototype to avoid an error.
16922 Use char because int might match the return type of a GCC
16923 builtin and then its argument prototype would still apply. */
16924 #ifdef __cplusplus
16925 extern "C"
16926 #endif
16927 char ceilf ();
16929 main ()
16931 return ceilf ();
16933 return 0;
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_lib_m_ceilf=yes
16938 else
16939 ac_cv_lib_m_ceilf=no
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16943 LIBS=$ac_check_lib_save_LIBS
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16946 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16947 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
16949 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16954 $as_echo_n "checking for ceil in -lm... " >&6; }
16955 if test "${ac_cv_lib_m_ceil+set}" = set; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 ac_check_lib_save_LIBS=$LIBS
16959 LIBS="-lm $LIBS"
16960 if test x$gcc_no_link = xyes; then
16961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 #ifdef __cplusplus
16970 extern "C"
16971 #endif
16972 char ceil ();
16974 main ()
16976 return ceil ();
16978 return 0;
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_lib_m_ceil=yes
16983 else
16984 ac_cv_lib_m_ceil=no
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 LIBS=$ac_check_lib_save_LIBS
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
16991 $as_echo "$ac_cv_lib_m_ceil" >&6; }
16992 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
16994 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
16999 $as_echo_n "checking for ceill in -lm... " >&6; }
17000 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 ac_check_lib_save_LIBS=$LIBS
17004 LIBS="-lm $LIBS"
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17011 /* Override any GCC internal prototype to avoid an error.
17012 Use char because int might match the return type of a GCC
17013 builtin and then its argument prototype would still apply. */
17014 #ifdef __cplusplus
17015 extern "C"
17016 #endif
17017 char ceill ();
17019 main ()
17021 return ceill ();
17023 return 0;
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027 ac_cv_lib_m_ceill=yes
17028 else
17029 ac_cv_lib_m_ceill=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17036 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17037 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17039 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17044 $as_echo_n "checking for copysignf in -lm... " >&6; }
17045 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17046 $as_echo_n "(cached) " >&6
17047 else
17048 ac_check_lib_save_LIBS=$LIBS
17049 LIBS="-lm $LIBS"
17050 if test x$gcc_no_link = xyes; then
17051 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17056 /* Override any GCC internal prototype to avoid an error.
17057 Use char because int might match the return type of a GCC
17058 builtin and then its argument prototype would still apply. */
17059 #ifdef __cplusplus
17060 extern "C"
17061 #endif
17062 char copysignf ();
17064 main ()
17066 return copysignf ();
17068 return 0;
17070 _ACEOF
17071 if ac_fn_c_try_link "$LINENO"; then :
17072 ac_cv_lib_m_copysignf=yes
17073 else
17074 ac_cv_lib_m_copysignf=no
17076 rm -f core conftest.err conftest.$ac_objext \
17077 conftest$ac_exeext conftest.$ac_ext
17078 LIBS=$ac_check_lib_save_LIBS
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17081 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17082 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17084 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17089 $as_echo_n "checking for copysign in -lm... " >&6; }
17090 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17091 $as_echo_n "(cached) " >&6
17092 else
17093 ac_check_lib_save_LIBS=$LIBS
17094 LIBS="-lm $LIBS"
17095 if test x$gcc_no_link = xyes; then
17096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17101 /* Override any GCC internal prototype to avoid an error.
17102 Use char because int might match the return type of a GCC
17103 builtin and then its argument prototype would still apply. */
17104 #ifdef __cplusplus
17105 extern "C"
17106 #endif
17107 char copysign ();
17109 main ()
17111 return copysign ();
17113 return 0;
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117 ac_cv_lib_m_copysign=yes
17118 else
17119 ac_cv_lib_m_copysign=no
17121 rm -f core conftest.err conftest.$ac_objext \
17122 conftest$ac_exeext conftest.$ac_ext
17123 LIBS=$ac_check_lib_save_LIBS
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17126 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17127 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17129 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17134 $as_echo_n "checking for copysignl in -lm... " >&6; }
17135 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 ac_check_lib_save_LIBS=$LIBS
17139 LIBS="-lm $LIBS"
17140 if test x$gcc_no_link = xyes; then
17141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17146 /* Override any GCC internal prototype to avoid an error.
17147 Use char because int might match the return type of a GCC
17148 builtin and then its argument prototype would still apply. */
17149 #ifdef __cplusplus
17150 extern "C"
17151 #endif
17152 char copysignl ();
17154 main ()
17156 return copysignl ();
17158 return 0;
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_lib_m_copysignl=yes
17163 else
17164 ac_cv_lib_m_copysignl=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 LIBS=$ac_check_lib_save_LIBS
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17171 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17172 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17174 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17179 $as_echo_n "checking for cosf in -lm... " >&6; }
17180 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_check_lib_save_LIBS=$LIBS
17184 LIBS="-lm $LIBS"
17185 if test x$gcc_no_link = xyes; then
17186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17191 /* Override any GCC internal prototype to avoid an error.
17192 Use char because int might match the return type of a GCC
17193 builtin and then its argument prototype would still apply. */
17194 #ifdef __cplusplus
17195 extern "C"
17196 #endif
17197 char cosf ();
17199 main ()
17201 return cosf ();
17203 return 0;
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_lib_m_cosf=yes
17208 else
17209 ac_cv_lib_m_cosf=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17216 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17217 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17219 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17224 $as_echo_n "checking for cos in -lm... " >&6; }
17225 if test "${ac_cv_lib_m_cos+set}" = set; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 ac_check_lib_save_LIBS=$LIBS
17229 LIBS="-lm $LIBS"
17230 if test x$gcc_no_link = xyes; then
17231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 /* Override any GCC internal prototype to avoid an error.
17237 Use char because int might match the return type of a GCC
17238 builtin and then its argument prototype would still apply. */
17239 #ifdef __cplusplus
17240 extern "C"
17241 #endif
17242 char cos ();
17244 main ()
17246 return cos ();
17248 return 0;
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 ac_cv_lib_m_cos=yes
17253 else
17254 ac_cv_lib_m_cos=no
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17261 $as_echo "$ac_cv_lib_m_cos" >&6; }
17262 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17264 $as_echo "#define HAVE_COS 1" >>confdefs.h
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17269 $as_echo_n "checking for cosl in -lm... " >&6; }
17270 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char cosl ();
17289 main ()
17291 return cosl ();
17293 return 0;
17295 _ACEOF
17296 if ac_fn_c_try_link "$LINENO"; then :
17297 ac_cv_lib_m_cosl=yes
17298 else
17299 ac_cv_lib_m_cosl=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17306 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17307 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17309 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17314 $as_echo_n "checking for ccosf in -lm... " >&6; }
17315 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17318 ac_check_lib_save_LIBS=$LIBS
17319 LIBS="-lm $LIBS"
17320 if test x$gcc_no_link = xyes; then
17321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17326 /* Override any GCC internal prototype to avoid an error.
17327 Use char because int might match the return type of a GCC
17328 builtin and then its argument prototype would still apply. */
17329 #ifdef __cplusplus
17330 extern "C"
17331 #endif
17332 char ccosf ();
17334 main ()
17336 return ccosf ();
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_lib_m_ccosf=yes
17343 else
17344 ac_cv_lib_m_ccosf=no
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17351 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17352 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17354 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17359 $as_echo_n "checking for ccos in -lm... " >&6; }
17360 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 ac_check_lib_save_LIBS=$LIBS
17364 LIBS="-lm $LIBS"
17365 if test x$gcc_no_link = xyes; then
17366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17371 /* Override any GCC internal prototype to avoid an error.
17372 Use char because int might match the return type of a GCC
17373 builtin and then its argument prototype would still apply. */
17374 #ifdef __cplusplus
17375 extern "C"
17376 #endif
17377 char ccos ();
17379 main ()
17381 return ccos ();
17383 return 0;
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387 ac_cv_lib_m_ccos=yes
17388 else
17389 ac_cv_lib_m_ccos=no
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17393 LIBS=$ac_check_lib_save_LIBS
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17396 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17397 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17399 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17404 $as_echo_n "checking for ccosl in -lm... " >&6; }
17405 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408 ac_check_lib_save_LIBS=$LIBS
17409 LIBS="-lm $LIBS"
17410 if test x$gcc_no_link = xyes; then
17411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17416 /* Override any GCC internal prototype to avoid an error.
17417 Use char because int might match the return type of a GCC
17418 builtin and then its argument prototype would still apply. */
17419 #ifdef __cplusplus
17420 extern "C"
17421 #endif
17422 char ccosl ();
17424 main ()
17426 return ccosl ();
17428 return 0;
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432 ac_cv_lib_m_ccosl=yes
17433 else
17434 ac_cv_lib_m_ccosl=no
17436 rm -f core conftest.err conftest.$ac_objext \
17437 conftest$ac_exeext conftest.$ac_ext
17438 LIBS=$ac_check_lib_save_LIBS
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17441 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17442 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17444 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17449 $as_echo_n "checking for coshf in -lm... " >&6; }
17450 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17453 ac_check_lib_save_LIBS=$LIBS
17454 LIBS="-lm $LIBS"
17455 if test x$gcc_no_link = xyes; then
17456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17461 /* Override any GCC internal prototype to avoid an error.
17462 Use char because int might match the return type of a GCC
17463 builtin and then its argument prototype would still apply. */
17464 #ifdef __cplusplus
17465 extern "C"
17466 #endif
17467 char coshf ();
17469 main ()
17471 return coshf ();
17473 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477 ac_cv_lib_m_coshf=yes
17478 else
17479 ac_cv_lib_m_coshf=no
17481 rm -f core conftest.err conftest.$ac_objext \
17482 conftest$ac_exeext conftest.$ac_ext
17483 LIBS=$ac_check_lib_save_LIBS
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17486 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17487 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17489 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17494 $as_echo_n "checking for cosh in -lm... " >&6; }
17495 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17498 ac_check_lib_save_LIBS=$LIBS
17499 LIBS="-lm $LIBS"
17500 if test x$gcc_no_link = xyes; then
17501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 /* Override any GCC internal prototype to avoid an error.
17507 Use char because int might match the return type of a GCC
17508 builtin and then its argument prototype would still apply. */
17509 #ifdef __cplusplus
17510 extern "C"
17511 #endif
17512 char cosh ();
17514 main ()
17516 return cosh ();
17518 return 0;
17520 _ACEOF
17521 if ac_fn_c_try_link "$LINENO"; then :
17522 ac_cv_lib_m_cosh=yes
17523 else
17524 ac_cv_lib_m_cosh=no
17526 rm -f core conftest.err conftest.$ac_objext \
17527 conftest$ac_exeext conftest.$ac_ext
17528 LIBS=$ac_check_lib_save_LIBS
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17531 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17532 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17534 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17539 $as_echo_n "checking for coshl in -lm... " >&6; }
17540 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_check_lib_save_LIBS=$LIBS
17544 LIBS="-lm $LIBS"
17545 if test x$gcc_no_link = xyes; then
17546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17554 #ifdef __cplusplus
17555 extern "C"
17556 #endif
17557 char coshl ();
17559 main ()
17561 return coshl ();
17563 return 0;
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_lib_m_coshl=yes
17568 else
17569 ac_cv_lib_m_coshl=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_check_lib_save_LIBS
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17576 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17577 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17579 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17584 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17585 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 ac_check_lib_save_LIBS=$LIBS
17589 LIBS="-lm $LIBS"
17590 if test x$gcc_no_link = xyes; then
17591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17596 /* Override any GCC internal prototype to avoid an error.
17597 Use char because int might match the return type of a GCC
17598 builtin and then its argument prototype would still apply. */
17599 #ifdef __cplusplus
17600 extern "C"
17601 #endif
17602 char ccoshf ();
17604 main ()
17606 return ccoshf ();
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"; then :
17612 ac_cv_lib_m_ccoshf=yes
17613 else
17614 ac_cv_lib_m_ccoshf=no
17616 rm -f core conftest.err conftest.$ac_objext \
17617 conftest$ac_exeext conftest.$ac_ext
17618 LIBS=$ac_check_lib_save_LIBS
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17621 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17622 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17624 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17629 $as_echo_n "checking for ccosh in -lm... " >&6; }
17630 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17633 ac_check_lib_save_LIBS=$LIBS
17634 LIBS="-lm $LIBS"
17635 if test x$gcc_no_link = xyes; then
17636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17644 #ifdef __cplusplus
17645 extern "C"
17646 #endif
17647 char ccosh ();
17649 main ()
17651 return ccosh ();
17653 return 0;
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657 ac_cv_lib_m_ccosh=yes
17658 else
17659 ac_cv_lib_m_ccosh=no
17661 rm -f core conftest.err conftest.$ac_objext \
17662 conftest$ac_exeext conftest.$ac_ext
17663 LIBS=$ac_check_lib_save_LIBS
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17666 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17667 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17669 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17674 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17675 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17676 $as_echo_n "(cached) " >&6
17677 else
17678 ac_check_lib_save_LIBS=$LIBS
17679 LIBS="-lm $LIBS"
17680 if test x$gcc_no_link = xyes; then
17681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17686 /* Override any GCC internal prototype to avoid an error.
17687 Use char because int might match the return type of a GCC
17688 builtin and then its argument prototype would still apply. */
17689 #ifdef __cplusplus
17690 extern "C"
17691 #endif
17692 char ccoshl ();
17694 main ()
17696 return ccoshl ();
17698 return 0;
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702 ac_cv_lib_m_ccoshl=yes
17703 else
17704 ac_cv_lib_m_ccoshl=no
17706 rm -f core conftest.err conftest.$ac_objext \
17707 conftest$ac_exeext conftest.$ac_ext
17708 LIBS=$ac_check_lib_save_LIBS
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17711 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17712 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17714 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17719 $as_echo_n "checking for expf in -lm... " >&6; }
17720 if test "${ac_cv_lib_m_expf+set}" = set; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17723 ac_check_lib_save_LIBS=$LIBS
17724 LIBS="-lm $LIBS"
17725 if test x$gcc_no_link = xyes; then
17726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17731 /* Override any GCC internal prototype to avoid an error.
17732 Use char because int might match the return type of a GCC
17733 builtin and then its argument prototype would still apply. */
17734 #ifdef __cplusplus
17735 extern "C"
17736 #endif
17737 char expf ();
17739 main ()
17741 return expf ();
17743 return 0;
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 ac_cv_lib_m_expf=yes
17748 else
17749 ac_cv_lib_m_expf=no
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17753 LIBS=$ac_check_lib_save_LIBS
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17756 $as_echo "$ac_cv_lib_m_expf" >&6; }
17757 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17759 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17764 $as_echo_n "checking for exp in -lm... " >&6; }
17765 if test "${ac_cv_lib_m_exp+set}" = set; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 ac_check_lib_save_LIBS=$LIBS
17769 LIBS="-lm $LIBS"
17770 if test x$gcc_no_link = xyes; then
17771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17779 #ifdef __cplusplus
17780 extern "C"
17781 #endif
17782 char exp ();
17784 main ()
17786 return exp ();
17788 return 0;
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792 ac_cv_lib_m_exp=yes
17793 else
17794 ac_cv_lib_m_exp=no
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 LIBS=$ac_check_lib_save_LIBS
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17801 $as_echo "$ac_cv_lib_m_exp" >&6; }
17802 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17804 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17809 $as_echo_n "checking for expl in -lm... " >&6; }
17810 if test "${ac_cv_lib_m_expl+set}" = set; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17813 ac_check_lib_save_LIBS=$LIBS
17814 LIBS="-lm $LIBS"
17815 if test x$gcc_no_link = xyes; then
17816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17821 /* Override any GCC internal prototype to avoid an error.
17822 Use char because int might match the return type of a GCC
17823 builtin and then its argument prototype would still apply. */
17824 #ifdef __cplusplus
17825 extern "C"
17826 #endif
17827 char expl ();
17829 main ()
17831 return expl ();
17833 return 0;
17835 _ACEOF
17836 if ac_fn_c_try_link "$LINENO"; then :
17837 ac_cv_lib_m_expl=yes
17838 else
17839 ac_cv_lib_m_expl=no
17841 rm -f core conftest.err conftest.$ac_objext \
17842 conftest$ac_exeext conftest.$ac_ext
17843 LIBS=$ac_check_lib_save_LIBS
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17846 $as_echo "$ac_cv_lib_m_expl" >&6; }
17847 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17849 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17854 $as_echo_n "checking for cexpf in -lm... " >&6; }
17855 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858 ac_check_lib_save_LIBS=$LIBS
17859 LIBS="-lm $LIBS"
17860 if test x$gcc_no_link = xyes; then
17861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17869 #ifdef __cplusplus
17870 extern "C"
17871 #endif
17872 char cexpf ();
17874 main ()
17876 return cexpf ();
17878 return 0;
17880 _ACEOF
17881 if ac_fn_c_try_link "$LINENO"; then :
17882 ac_cv_lib_m_cexpf=yes
17883 else
17884 ac_cv_lib_m_cexpf=no
17886 rm -f core conftest.err conftest.$ac_objext \
17887 conftest$ac_exeext conftest.$ac_ext
17888 LIBS=$ac_check_lib_save_LIBS
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17891 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17892 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17894 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17899 $as_echo_n "checking for cexp in -lm... " >&6; }
17900 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17901 $as_echo_n "(cached) " >&6
17902 else
17903 ac_check_lib_save_LIBS=$LIBS
17904 LIBS="-lm $LIBS"
17905 if test x$gcc_no_link = xyes; then
17906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17911 /* Override any GCC internal prototype to avoid an error.
17912 Use char because int might match the return type of a GCC
17913 builtin and then its argument prototype would still apply. */
17914 #ifdef __cplusplus
17915 extern "C"
17916 #endif
17917 char cexp ();
17919 main ()
17921 return cexp ();
17923 return 0;
17925 _ACEOF
17926 if ac_fn_c_try_link "$LINENO"; then :
17927 ac_cv_lib_m_cexp=yes
17928 else
17929 ac_cv_lib_m_cexp=no
17931 rm -f core conftest.err conftest.$ac_objext \
17932 conftest$ac_exeext conftest.$ac_ext
17933 LIBS=$ac_check_lib_save_LIBS
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17936 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17937 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
17939 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17944 $as_echo_n "checking for cexpl in -lm... " >&6; }
17945 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17946 $as_echo_n "(cached) " >&6
17947 else
17948 ac_check_lib_save_LIBS=$LIBS
17949 LIBS="-lm $LIBS"
17950 if test x$gcc_no_link = xyes; then
17951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17956 /* Override any GCC internal prototype to avoid an error.
17957 Use char because int might match the return type of a GCC
17958 builtin and then its argument prototype would still apply. */
17959 #ifdef __cplusplus
17960 extern "C"
17961 #endif
17962 char cexpl ();
17964 main ()
17966 return cexpl ();
17968 return 0;
17970 _ACEOF
17971 if ac_fn_c_try_link "$LINENO"; then :
17972 ac_cv_lib_m_cexpl=yes
17973 else
17974 ac_cv_lib_m_cexpl=no
17976 rm -f core conftest.err conftest.$ac_objext \
17977 conftest$ac_exeext conftest.$ac_ext
17978 LIBS=$ac_check_lib_save_LIBS
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
17981 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
17982 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
17984 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
17989 $as_echo_n "checking for fabsf in -lm... " >&6; }
17990 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
17991 $as_echo_n "(cached) " >&6
17992 else
17993 ac_check_lib_save_LIBS=$LIBS
17994 LIBS="-lm $LIBS"
17995 if test x$gcc_no_link = xyes; then
17996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18001 /* Override any GCC internal prototype to avoid an error.
18002 Use char because int might match the return type of a GCC
18003 builtin and then its argument prototype would still apply. */
18004 #ifdef __cplusplus
18005 extern "C"
18006 #endif
18007 char fabsf ();
18009 main ()
18011 return fabsf ();
18013 return 0;
18015 _ACEOF
18016 if ac_fn_c_try_link "$LINENO"; then :
18017 ac_cv_lib_m_fabsf=yes
18018 else
18019 ac_cv_lib_m_fabsf=no
18021 rm -f core conftest.err conftest.$ac_objext \
18022 conftest$ac_exeext conftest.$ac_ext
18023 LIBS=$ac_check_lib_save_LIBS
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18026 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18027 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18029 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18034 $as_echo_n "checking for fabs in -lm... " >&6; }
18035 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18036 $as_echo_n "(cached) " >&6
18037 else
18038 ac_check_lib_save_LIBS=$LIBS
18039 LIBS="-lm $LIBS"
18040 if test x$gcc_no_link = xyes; then
18041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char fabs ();
18054 main ()
18056 return fabs ();
18058 return 0;
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"; then :
18062 ac_cv_lib_m_fabs=yes
18063 else
18064 ac_cv_lib_m_fabs=no
18066 rm -f core conftest.err conftest.$ac_objext \
18067 conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_lib_save_LIBS
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18071 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18072 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18074 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18079 $as_echo_n "checking for fabsl in -lm... " >&6; }
18080 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18081 $as_echo_n "(cached) " >&6
18082 else
18083 ac_check_lib_save_LIBS=$LIBS
18084 LIBS="-lm $LIBS"
18085 if test x$gcc_no_link = xyes; then
18086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18094 #ifdef __cplusplus
18095 extern "C"
18096 #endif
18097 char fabsl ();
18099 main ()
18101 return fabsl ();
18103 return 0;
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"; then :
18107 ac_cv_lib_m_fabsl=yes
18108 else
18109 ac_cv_lib_m_fabsl=no
18111 rm -f core conftest.err conftest.$ac_objext \
18112 conftest$ac_exeext conftest.$ac_ext
18113 LIBS=$ac_check_lib_save_LIBS
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18116 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18117 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18119 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18124 $as_echo_n "checking for cabsf in -lm... " >&6; }
18125 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18128 ac_check_lib_save_LIBS=$LIBS
18129 LIBS="-lm $LIBS"
18130 if test x$gcc_no_link = xyes; then
18131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 /* Override any GCC internal prototype to avoid an error.
18137 Use char because int might match the return type of a GCC
18138 builtin and then its argument prototype would still apply. */
18139 #ifdef __cplusplus
18140 extern "C"
18141 #endif
18142 char cabsf ();
18144 main ()
18146 return cabsf ();
18148 return 0;
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"; then :
18152 ac_cv_lib_m_cabsf=yes
18153 else
18154 ac_cv_lib_m_cabsf=no
18156 rm -f core conftest.err conftest.$ac_objext \
18157 conftest$ac_exeext conftest.$ac_ext
18158 LIBS=$ac_check_lib_save_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18161 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18162 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18164 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18169 $as_echo_n "checking for cabs in -lm... " >&6; }
18170 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18171 $as_echo_n "(cached) " >&6
18172 else
18173 ac_check_lib_save_LIBS=$LIBS
18174 LIBS="-lm $LIBS"
18175 if test x$gcc_no_link = xyes; then
18176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 /* Override any GCC internal prototype to avoid an error.
18182 Use char because int might match the return type of a GCC
18183 builtin and then its argument prototype would still apply. */
18184 #ifdef __cplusplus
18185 extern "C"
18186 #endif
18187 char cabs ();
18189 main ()
18191 return cabs ();
18193 return 0;
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"; then :
18197 ac_cv_lib_m_cabs=yes
18198 else
18199 ac_cv_lib_m_cabs=no
18201 rm -f core conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext conftest.$ac_ext
18203 LIBS=$ac_check_lib_save_LIBS
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18206 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18207 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18209 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18214 $as_echo_n "checking for cabsl in -lm... " >&6; }
18215 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18216 $as_echo_n "(cached) " >&6
18217 else
18218 ac_check_lib_save_LIBS=$LIBS
18219 LIBS="-lm $LIBS"
18220 if test x$gcc_no_link = xyes; then
18221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 /* Override any GCC internal prototype to avoid an error.
18227 Use char because int might match the return type of a GCC
18228 builtin and then its argument prototype would still apply. */
18229 #ifdef __cplusplus
18230 extern "C"
18231 #endif
18232 char cabsl ();
18234 main ()
18236 return cabsl ();
18238 return 0;
18240 _ACEOF
18241 if ac_fn_c_try_link "$LINENO"; then :
18242 ac_cv_lib_m_cabsl=yes
18243 else
18244 ac_cv_lib_m_cabsl=no
18246 rm -f core conftest.err conftest.$ac_objext \
18247 conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_lib_save_LIBS
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18251 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18252 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18254 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18259 $as_echo_n "checking for floorf in -lm... " >&6; }
18260 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263 ac_check_lib_save_LIBS=$LIBS
18264 LIBS="-lm $LIBS"
18265 if test x$gcc_no_link = xyes; then
18266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18274 #ifdef __cplusplus
18275 extern "C"
18276 #endif
18277 char floorf ();
18279 main ()
18281 return floorf ();
18283 return 0;
18285 _ACEOF
18286 if ac_fn_c_try_link "$LINENO"; then :
18287 ac_cv_lib_m_floorf=yes
18288 else
18289 ac_cv_lib_m_floorf=no
18291 rm -f core conftest.err conftest.$ac_objext \
18292 conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_lib_save_LIBS
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18296 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18297 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18299 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18304 $as_echo_n "checking for floor in -lm... " >&6; }
18305 if test "${ac_cv_lib_m_floor+set}" = set; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18308 ac_check_lib_save_LIBS=$LIBS
18309 LIBS="-lm $LIBS"
18310 if test x$gcc_no_link = xyes; then
18311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18316 /* Override any GCC internal prototype to avoid an error.
18317 Use char because int might match the return type of a GCC
18318 builtin and then its argument prototype would still apply. */
18319 #ifdef __cplusplus
18320 extern "C"
18321 #endif
18322 char floor ();
18324 main ()
18326 return floor ();
18328 return 0;
18330 _ACEOF
18331 if ac_fn_c_try_link "$LINENO"; then :
18332 ac_cv_lib_m_floor=yes
18333 else
18334 ac_cv_lib_m_floor=no
18336 rm -f core conftest.err conftest.$ac_objext \
18337 conftest$ac_exeext conftest.$ac_ext
18338 LIBS=$ac_check_lib_save_LIBS
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18341 $as_echo "$ac_cv_lib_m_floor" >&6; }
18342 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18344 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18349 $as_echo_n "checking for floorl in -lm... " >&6; }
18350 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18351 $as_echo_n "(cached) " >&6
18352 else
18353 ac_check_lib_save_LIBS=$LIBS
18354 LIBS="-lm $LIBS"
18355 if test x$gcc_no_link = xyes; then
18356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18361 /* Override any GCC internal prototype to avoid an error.
18362 Use char because int might match the return type of a GCC
18363 builtin and then its argument prototype would still apply. */
18364 #ifdef __cplusplus
18365 extern "C"
18366 #endif
18367 char floorl ();
18369 main ()
18371 return floorl ();
18373 return 0;
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"; then :
18377 ac_cv_lib_m_floorl=yes
18378 else
18379 ac_cv_lib_m_floorl=no
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18383 LIBS=$ac_check_lib_save_LIBS
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18386 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18387 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18389 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18394 $as_echo_n "checking for fmodf in -lm... " >&6; }
18395 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18396 $as_echo_n "(cached) " >&6
18397 else
18398 ac_check_lib_save_LIBS=$LIBS
18399 LIBS="-lm $LIBS"
18400 if test x$gcc_no_link = xyes; then
18401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18406 /* Override any GCC internal prototype to avoid an error.
18407 Use char because int might match the return type of a GCC
18408 builtin and then its argument prototype would still apply. */
18409 #ifdef __cplusplus
18410 extern "C"
18411 #endif
18412 char fmodf ();
18414 main ()
18416 return fmodf ();
18418 return 0;
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"; then :
18422 ac_cv_lib_m_fmodf=yes
18423 else
18424 ac_cv_lib_m_fmodf=no
18426 rm -f core conftest.err conftest.$ac_objext \
18427 conftest$ac_exeext conftest.$ac_ext
18428 LIBS=$ac_check_lib_save_LIBS
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18431 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18432 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18434 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18439 $as_echo_n "checking for fmod in -lm... " >&6; }
18440 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18443 ac_check_lib_save_LIBS=$LIBS
18444 LIBS="-lm $LIBS"
18445 if test x$gcc_no_link = xyes; then
18446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18451 /* Override any GCC internal prototype to avoid an error.
18452 Use char because int might match the return type of a GCC
18453 builtin and then its argument prototype would still apply. */
18454 #ifdef __cplusplus
18455 extern "C"
18456 #endif
18457 char fmod ();
18459 main ()
18461 return fmod ();
18463 return 0;
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467 ac_cv_lib_m_fmod=yes
18468 else
18469 ac_cv_lib_m_fmod=no
18471 rm -f core conftest.err conftest.$ac_objext \
18472 conftest$ac_exeext conftest.$ac_ext
18473 LIBS=$ac_check_lib_save_LIBS
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18476 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18477 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18479 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18484 $as_echo_n "checking for fmodl in -lm... " >&6; }
18485 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18486 $as_echo_n "(cached) " >&6
18487 else
18488 ac_check_lib_save_LIBS=$LIBS
18489 LIBS="-lm $LIBS"
18490 if test x$gcc_no_link = xyes; then
18491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18496 /* Override any GCC internal prototype to avoid an error.
18497 Use char because int might match the return type of a GCC
18498 builtin and then its argument prototype would still apply. */
18499 #ifdef __cplusplus
18500 extern "C"
18501 #endif
18502 char fmodl ();
18504 main ()
18506 return fmodl ();
18508 return 0;
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"; then :
18512 ac_cv_lib_m_fmodl=yes
18513 else
18514 ac_cv_lib_m_fmodl=no
18516 rm -f core conftest.err conftest.$ac_objext \
18517 conftest$ac_exeext conftest.$ac_ext
18518 LIBS=$ac_check_lib_save_LIBS
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18521 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18522 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18524 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18529 $as_echo_n "checking for frexpf in -lm... " >&6; }
18530 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18532 else
18533 ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-lm $LIBS"
18535 if test x$gcc_no_link = xyes; then
18536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18541 /* Override any GCC internal prototype to avoid an error.
18542 Use char because int might match the return type of a GCC
18543 builtin and then its argument prototype would still apply. */
18544 #ifdef __cplusplus
18545 extern "C"
18546 #endif
18547 char frexpf ();
18549 main ()
18551 return frexpf ();
18553 return 0;
18555 _ACEOF
18556 if ac_fn_c_try_link "$LINENO"; then :
18557 ac_cv_lib_m_frexpf=yes
18558 else
18559 ac_cv_lib_m_frexpf=no
18561 rm -f core conftest.err conftest.$ac_objext \
18562 conftest$ac_exeext conftest.$ac_ext
18563 LIBS=$ac_check_lib_save_LIBS
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18566 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18567 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18569 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18574 $as_echo_n "checking for frexp in -lm... " >&6; }
18575 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18576 $as_echo_n "(cached) " >&6
18577 else
18578 ac_check_lib_save_LIBS=$LIBS
18579 LIBS="-lm $LIBS"
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18586 /* Override any GCC internal prototype to avoid an error.
18587 Use char because int might match the return type of a GCC
18588 builtin and then its argument prototype would still apply. */
18589 #ifdef __cplusplus
18590 extern "C"
18591 #endif
18592 char frexp ();
18594 main ()
18596 return frexp ();
18598 return 0;
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"; then :
18602 ac_cv_lib_m_frexp=yes
18603 else
18604 ac_cv_lib_m_frexp=no
18606 rm -f core conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18608 LIBS=$ac_check_lib_save_LIBS
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18611 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18612 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18614 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18619 $as_echo_n "checking for frexpl in -lm... " >&6; }
18620 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lm $LIBS"
18625 if test x$gcc_no_link = xyes; then
18626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18631 /* Override any GCC internal prototype to avoid an error.
18632 Use char because int might match the return type of a GCC
18633 builtin and then its argument prototype would still apply. */
18634 #ifdef __cplusplus
18635 extern "C"
18636 #endif
18637 char frexpl ();
18639 main ()
18641 return frexpl ();
18643 return 0;
18645 _ACEOF
18646 if ac_fn_c_try_link "$LINENO"; then :
18647 ac_cv_lib_m_frexpl=yes
18648 else
18649 ac_cv_lib_m_frexpl=no
18651 rm -f core conftest.err conftest.$ac_objext \
18652 conftest$ac_exeext conftest.$ac_ext
18653 LIBS=$ac_check_lib_save_LIBS
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18656 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18657 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18659 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18664 $as_echo_n "checking for hypotf in -lm... " >&6; }
18665 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18666 $as_echo_n "(cached) " >&6
18667 else
18668 ac_check_lib_save_LIBS=$LIBS
18669 LIBS="-lm $LIBS"
18670 if test x$gcc_no_link = xyes; then
18671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18679 #ifdef __cplusplus
18680 extern "C"
18681 #endif
18682 char hypotf ();
18684 main ()
18686 return hypotf ();
18688 return 0;
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"; then :
18692 ac_cv_lib_m_hypotf=yes
18693 else
18694 ac_cv_lib_m_hypotf=no
18696 rm -f core conftest.err conftest.$ac_objext \
18697 conftest$ac_exeext conftest.$ac_ext
18698 LIBS=$ac_check_lib_save_LIBS
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18701 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18702 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18704 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18709 $as_echo_n "checking for hypot in -lm... " >&6; }
18710 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18711 $as_echo_n "(cached) " >&6
18712 else
18713 ac_check_lib_save_LIBS=$LIBS
18714 LIBS="-lm $LIBS"
18715 if test x$gcc_no_link = xyes; then
18716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18721 /* Override any GCC internal prototype to avoid an error.
18722 Use char because int might match the return type of a GCC
18723 builtin and then its argument prototype would still apply. */
18724 #ifdef __cplusplus
18725 extern "C"
18726 #endif
18727 char hypot ();
18729 main ()
18731 return hypot ();
18733 return 0;
18735 _ACEOF
18736 if ac_fn_c_try_link "$LINENO"; then :
18737 ac_cv_lib_m_hypot=yes
18738 else
18739 ac_cv_lib_m_hypot=no
18741 rm -f core conftest.err conftest.$ac_objext \
18742 conftest$ac_exeext conftest.$ac_ext
18743 LIBS=$ac_check_lib_save_LIBS
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18746 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18747 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18749 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18754 $as_echo_n "checking for hypotl in -lm... " >&6; }
18755 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18756 $as_echo_n "(cached) " >&6
18757 else
18758 ac_check_lib_save_LIBS=$LIBS
18759 LIBS="-lm $LIBS"
18760 if test x$gcc_no_link = xyes; then
18761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18766 /* Override any GCC internal prototype to avoid an error.
18767 Use char because int might match the return type of a GCC
18768 builtin and then its argument prototype would still apply. */
18769 #ifdef __cplusplus
18770 extern "C"
18771 #endif
18772 char hypotl ();
18774 main ()
18776 return hypotl ();
18778 return 0;
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"; then :
18782 ac_cv_lib_m_hypotl=yes
18783 else
18784 ac_cv_lib_m_hypotl=no
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18791 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18792 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18794 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18799 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18800 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18801 $as_echo_n "(cached) " >&6
18802 else
18803 ac_check_lib_save_LIBS=$LIBS
18804 LIBS="-lm $LIBS"
18805 if test x$gcc_no_link = xyes; then
18806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18811 /* Override any GCC internal prototype to avoid an error.
18812 Use char because int might match the return type of a GCC
18813 builtin and then its argument prototype would still apply. */
18814 #ifdef __cplusplus
18815 extern "C"
18816 #endif
18817 char ldexpf ();
18819 main ()
18821 return ldexpf ();
18823 return 0;
18825 _ACEOF
18826 if ac_fn_c_try_link "$LINENO"; then :
18827 ac_cv_lib_m_ldexpf=yes
18828 else
18829 ac_cv_lib_m_ldexpf=no
18831 rm -f core conftest.err conftest.$ac_objext \
18832 conftest$ac_exeext conftest.$ac_ext
18833 LIBS=$ac_check_lib_save_LIBS
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18836 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18837 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18839 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18844 $as_echo_n "checking for ldexp in -lm... " >&6; }
18845 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18846 $as_echo_n "(cached) " >&6
18847 else
18848 ac_check_lib_save_LIBS=$LIBS
18849 LIBS="-lm $LIBS"
18850 if test x$gcc_no_link = xyes; then
18851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18856 /* Override any GCC internal prototype to avoid an error.
18857 Use char because int might match the return type of a GCC
18858 builtin and then its argument prototype would still apply. */
18859 #ifdef __cplusplus
18860 extern "C"
18861 #endif
18862 char ldexp ();
18864 main ()
18866 return ldexp ();
18868 return 0;
18870 _ACEOF
18871 if ac_fn_c_try_link "$LINENO"; then :
18872 ac_cv_lib_m_ldexp=yes
18873 else
18874 ac_cv_lib_m_ldexp=no
18876 rm -f core conftest.err conftest.$ac_objext \
18877 conftest$ac_exeext conftest.$ac_ext
18878 LIBS=$ac_check_lib_save_LIBS
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18881 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18882 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18884 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18889 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18890 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18891 $as_echo_n "(cached) " >&6
18892 else
18893 ac_check_lib_save_LIBS=$LIBS
18894 LIBS="-lm $LIBS"
18895 if test x$gcc_no_link = xyes; then
18896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18901 /* Override any GCC internal prototype to avoid an error.
18902 Use char because int might match the return type of a GCC
18903 builtin and then its argument prototype would still apply. */
18904 #ifdef __cplusplus
18905 extern "C"
18906 #endif
18907 char ldexpl ();
18909 main ()
18911 return ldexpl ();
18913 return 0;
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"; then :
18917 ac_cv_lib_m_ldexpl=yes
18918 else
18919 ac_cv_lib_m_ldexpl=no
18921 rm -f core conftest.err conftest.$ac_objext \
18922 conftest$ac_exeext conftest.$ac_ext
18923 LIBS=$ac_check_lib_save_LIBS
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18926 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18927 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18929 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18934 $as_echo_n "checking for logf in -lm... " >&6; }
18935 if test "${ac_cv_lib_m_logf+set}" = set; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18938 ac_check_lib_save_LIBS=$LIBS
18939 LIBS="-lm $LIBS"
18940 if test x$gcc_no_link = xyes; then
18941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18946 /* Override any GCC internal prototype to avoid an error.
18947 Use char because int might match the return type of a GCC
18948 builtin and then its argument prototype would still apply. */
18949 #ifdef __cplusplus
18950 extern "C"
18951 #endif
18952 char logf ();
18954 main ()
18956 return logf ();
18958 return 0;
18960 _ACEOF
18961 if ac_fn_c_try_link "$LINENO"; then :
18962 ac_cv_lib_m_logf=yes
18963 else
18964 ac_cv_lib_m_logf=no
18966 rm -f core conftest.err conftest.$ac_objext \
18967 conftest$ac_exeext conftest.$ac_ext
18968 LIBS=$ac_check_lib_save_LIBS
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
18971 $as_echo "$ac_cv_lib_m_logf" >&6; }
18972 if test "x$ac_cv_lib_m_logf" = x""yes; then :
18974 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
18979 $as_echo_n "checking for log in -lm... " >&6; }
18980 if test "${ac_cv_lib_m_log+set}" = set; then :
18981 $as_echo_n "(cached) " >&6
18982 else
18983 ac_check_lib_save_LIBS=$LIBS
18984 LIBS="-lm $LIBS"
18985 if test x$gcc_no_link = xyes; then
18986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h. */
18991 /* Override any GCC internal prototype to avoid an error.
18992 Use char because int might match the return type of a GCC
18993 builtin and then its argument prototype would still apply. */
18994 #ifdef __cplusplus
18995 extern "C"
18996 #endif
18997 char log ();
18999 main ()
19001 return log ();
19003 return 0;
19005 _ACEOF
19006 if ac_fn_c_try_link "$LINENO"; then :
19007 ac_cv_lib_m_log=yes
19008 else
19009 ac_cv_lib_m_log=no
19011 rm -f core conftest.err conftest.$ac_objext \
19012 conftest$ac_exeext conftest.$ac_ext
19013 LIBS=$ac_check_lib_save_LIBS
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19016 $as_echo "$ac_cv_lib_m_log" >&6; }
19017 if test "x$ac_cv_lib_m_log" = x""yes; then :
19019 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19024 $as_echo_n "checking for logl in -lm... " >&6; }
19025 if test "${ac_cv_lib_m_logl+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19028 ac_check_lib_save_LIBS=$LIBS
19029 LIBS="-lm $LIBS"
19030 if test x$gcc_no_link = xyes; then
19031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19036 /* Override any GCC internal prototype to avoid an error.
19037 Use char because int might match the return type of a GCC
19038 builtin and then its argument prototype would still apply. */
19039 #ifdef __cplusplus
19040 extern "C"
19041 #endif
19042 char logl ();
19044 main ()
19046 return logl ();
19048 return 0;
19050 _ACEOF
19051 if ac_fn_c_try_link "$LINENO"; then :
19052 ac_cv_lib_m_logl=yes
19053 else
19054 ac_cv_lib_m_logl=no
19056 rm -f core conftest.err conftest.$ac_objext \
19057 conftest$ac_exeext conftest.$ac_ext
19058 LIBS=$ac_check_lib_save_LIBS
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19061 $as_echo "$ac_cv_lib_m_logl" >&6; }
19062 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19064 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19069 $as_echo_n "checking for clogf in -lm... " >&6; }
19070 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19071 $as_echo_n "(cached) " >&6
19072 else
19073 ac_check_lib_save_LIBS=$LIBS
19074 LIBS="-lm $LIBS"
19075 if test x$gcc_no_link = xyes; then
19076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19081 /* Override any GCC internal prototype to avoid an error.
19082 Use char because int might match the return type of a GCC
19083 builtin and then its argument prototype would still apply. */
19084 #ifdef __cplusplus
19085 extern "C"
19086 #endif
19087 char clogf ();
19089 main ()
19091 return clogf ();
19093 return 0;
19095 _ACEOF
19096 if ac_fn_c_try_link "$LINENO"; then :
19097 ac_cv_lib_m_clogf=yes
19098 else
19099 ac_cv_lib_m_clogf=no
19101 rm -f core conftest.err conftest.$ac_objext \
19102 conftest$ac_exeext conftest.$ac_ext
19103 LIBS=$ac_check_lib_save_LIBS
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19106 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19107 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19109 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19114 $as_echo_n "checking for clog in -lm... " >&6; }
19115 if test "${ac_cv_lib_m_clog+set}" = set; then :
19116 $as_echo_n "(cached) " >&6
19117 else
19118 ac_check_lib_save_LIBS=$LIBS
19119 LIBS="-lm $LIBS"
19120 if test x$gcc_no_link = xyes; then
19121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char clog ();
19134 main ()
19136 return clog ();
19138 return 0;
19140 _ACEOF
19141 if ac_fn_c_try_link "$LINENO"; then :
19142 ac_cv_lib_m_clog=yes
19143 else
19144 ac_cv_lib_m_clog=no
19146 rm -f core conftest.err conftest.$ac_objext \
19147 conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19151 $as_echo "$ac_cv_lib_m_clog" >&6; }
19152 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19154 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19159 $as_echo_n "checking for clogl in -lm... " >&6; }
19160 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19161 $as_echo_n "(cached) " >&6
19162 else
19163 ac_check_lib_save_LIBS=$LIBS
19164 LIBS="-lm $LIBS"
19165 if test x$gcc_no_link = xyes; then
19166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19171 /* Override any GCC internal prototype to avoid an error.
19172 Use char because int might match the return type of a GCC
19173 builtin and then its argument prototype would still apply. */
19174 #ifdef __cplusplus
19175 extern "C"
19176 #endif
19177 char clogl ();
19179 main ()
19181 return clogl ();
19183 return 0;
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"; then :
19187 ac_cv_lib_m_clogl=yes
19188 else
19189 ac_cv_lib_m_clogl=no
19191 rm -f core conftest.err conftest.$ac_objext \
19192 conftest$ac_exeext conftest.$ac_ext
19193 LIBS=$ac_check_lib_save_LIBS
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19196 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19197 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19199 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19204 $as_echo_n "checking for log10f in -lm... " >&6; }
19205 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19206 $as_echo_n "(cached) " >&6
19207 else
19208 ac_check_lib_save_LIBS=$LIBS
19209 LIBS="-lm $LIBS"
19210 if test x$gcc_no_link = xyes; then
19211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19216 /* Override any GCC internal prototype to avoid an error.
19217 Use char because int might match the return type of a GCC
19218 builtin and then its argument prototype would still apply. */
19219 #ifdef __cplusplus
19220 extern "C"
19221 #endif
19222 char log10f ();
19224 main ()
19226 return log10f ();
19228 return 0;
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"; then :
19232 ac_cv_lib_m_log10f=yes
19233 else
19234 ac_cv_lib_m_log10f=no
19236 rm -f core conftest.err conftest.$ac_objext \
19237 conftest$ac_exeext conftest.$ac_ext
19238 LIBS=$ac_check_lib_save_LIBS
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19241 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19242 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19244 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19249 $as_echo_n "checking for log10 in -lm... " >&6; }
19250 if test "${ac_cv_lib_m_log10+set}" = set; then :
19251 $as_echo_n "(cached) " >&6
19252 else
19253 ac_check_lib_save_LIBS=$LIBS
19254 LIBS="-lm $LIBS"
19255 if test x$gcc_no_link = xyes; then
19256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19261 /* Override any GCC internal prototype to avoid an error.
19262 Use char because int might match the return type of a GCC
19263 builtin and then its argument prototype would still apply. */
19264 #ifdef __cplusplus
19265 extern "C"
19266 #endif
19267 char log10 ();
19269 main ()
19271 return log10 ();
19273 return 0;
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"; then :
19277 ac_cv_lib_m_log10=yes
19278 else
19279 ac_cv_lib_m_log10=no
19281 rm -f core conftest.err conftest.$ac_objext \
19282 conftest$ac_exeext conftest.$ac_ext
19283 LIBS=$ac_check_lib_save_LIBS
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19286 $as_echo "$ac_cv_lib_m_log10" >&6; }
19287 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19289 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19294 $as_echo_n "checking for log10l in -lm... " >&6; }
19295 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19296 $as_echo_n "(cached) " >&6
19297 else
19298 ac_check_lib_save_LIBS=$LIBS
19299 LIBS="-lm $LIBS"
19300 if test x$gcc_no_link = xyes; then
19301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19306 /* Override any GCC internal prototype to avoid an error.
19307 Use char because int might match the return type of a GCC
19308 builtin and then its argument prototype would still apply. */
19309 #ifdef __cplusplus
19310 extern "C"
19311 #endif
19312 char log10l ();
19314 main ()
19316 return log10l ();
19318 return 0;
19320 _ACEOF
19321 if ac_fn_c_try_link "$LINENO"; then :
19322 ac_cv_lib_m_log10l=yes
19323 else
19324 ac_cv_lib_m_log10l=no
19326 rm -f core conftest.err conftest.$ac_objext \
19327 conftest$ac_exeext conftest.$ac_ext
19328 LIBS=$ac_check_lib_save_LIBS
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19331 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19332 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19334 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19339 $as_echo_n "checking for clog10f in -lm... " >&6; }
19340 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19341 $as_echo_n "(cached) " >&6
19342 else
19343 ac_check_lib_save_LIBS=$LIBS
19344 LIBS="-lm $LIBS"
19345 if test x$gcc_no_link = xyes; then
19346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19351 /* Override any GCC internal prototype to avoid an error.
19352 Use char because int might match the return type of a GCC
19353 builtin and then its argument prototype would still apply. */
19354 #ifdef __cplusplus
19355 extern "C"
19356 #endif
19357 char clog10f ();
19359 main ()
19361 return clog10f ();
19363 return 0;
19365 _ACEOF
19366 if ac_fn_c_try_link "$LINENO"; then :
19367 ac_cv_lib_m_clog10f=yes
19368 else
19369 ac_cv_lib_m_clog10f=no
19371 rm -f core conftest.err conftest.$ac_objext \
19372 conftest$ac_exeext conftest.$ac_ext
19373 LIBS=$ac_check_lib_save_LIBS
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19376 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19377 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19379 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19384 $as_echo_n "checking for clog10 in -lm... " >&6; }
19385 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19386 $as_echo_n "(cached) " >&6
19387 else
19388 ac_check_lib_save_LIBS=$LIBS
19389 LIBS="-lm $LIBS"
19390 if test x$gcc_no_link = xyes; then
19391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19396 /* Override any GCC internal prototype to avoid an error.
19397 Use char because int might match the return type of a GCC
19398 builtin and then its argument prototype would still apply. */
19399 #ifdef __cplusplus
19400 extern "C"
19401 #endif
19402 char clog10 ();
19404 main ()
19406 return clog10 ();
19408 return 0;
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"; then :
19412 ac_cv_lib_m_clog10=yes
19413 else
19414 ac_cv_lib_m_clog10=no
19416 rm -f core conftest.err conftest.$ac_objext \
19417 conftest$ac_exeext conftest.$ac_ext
19418 LIBS=$ac_check_lib_save_LIBS
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19421 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19422 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19424 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19429 $as_echo_n "checking for clog10l in -lm... " >&6; }
19430 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19433 ac_check_lib_save_LIBS=$LIBS
19434 LIBS="-lm $LIBS"
19435 if test x$gcc_no_link = xyes; then
19436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19441 /* Override any GCC internal prototype to avoid an error.
19442 Use char because int might match the return type of a GCC
19443 builtin and then its argument prototype would still apply. */
19444 #ifdef __cplusplus
19445 extern "C"
19446 #endif
19447 char clog10l ();
19449 main ()
19451 return clog10l ();
19453 return 0;
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"; then :
19457 ac_cv_lib_m_clog10l=yes
19458 else
19459 ac_cv_lib_m_clog10l=no
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext conftest.$ac_ext
19463 LIBS=$ac_check_lib_save_LIBS
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19466 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19467 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19469 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19474 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19475 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19476 $as_echo_n "(cached) " >&6
19477 else
19478 ac_check_lib_save_LIBS=$LIBS
19479 LIBS="-lm $LIBS"
19480 if test x$gcc_no_link = xyes; then
19481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19486 /* Override any GCC internal prototype to avoid an error.
19487 Use char because int might match the return type of a GCC
19488 builtin and then its argument prototype would still apply. */
19489 #ifdef __cplusplus
19490 extern "C"
19491 #endif
19492 char nextafterf ();
19494 main ()
19496 return nextafterf ();
19498 return 0;
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"; then :
19502 ac_cv_lib_m_nextafterf=yes
19503 else
19504 ac_cv_lib_m_nextafterf=no
19506 rm -f core conftest.err conftest.$ac_objext \
19507 conftest$ac_exeext conftest.$ac_ext
19508 LIBS=$ac_check_lib_save_LIBS
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19511 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19512 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19514 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19519 $as_echo_n "checking for nextafter in -lm... " >&6; }
19520 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19521 $as_echo_n "(cached) " >&6
19522 else
19523 ac_check_lib_save_LIBS=$LIBS
19524 LIBS="-lm $LIBS"
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19531 /* Override any GCC internal prototype to avoid an error.
19532 Use char because int might match the return type of a GCC
19533 builtin and then its argument prototype would still apply. */
19534 #ifdef __cplusplus
19535 extern "C"
19536 #endif
19537 char nextafter ();
19539 main ()
19541 return nextafter ();
19543 return 0;
19545 _ACEOF
19546 if ac_fn_c_try_link "$LINENO"; then :
19547 ac_cv_lib_m_nextafter=yes
19548 else
19549 ac_cv_lib_m_nextafter=no
19551 rm -f core conftest.err conftest.$ac_objext \
19552 conftest$ac_exeext conftest.$ac_ext
19553 LIBS=$ac_check_lib_save_LIBS
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19556 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19557 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19559 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19564 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19565 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19566 $as_echo_n "(cached) " >&6
19567 else
19568 ac_check_lib_save_LIBS=$LIBS
19569 LIBS="-lm $LIBS"
19570 if test x$gcc_no_link = xyes; then
19571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19576 /* Override any GCC internal prototype to avoid an error.
19577 Use char because int might match the return type of a GCC
19578 builtin and then its argument prototype would still apply. */
19579 #ifdef __cplusplus
19580 extern "C"
19581 #endif
19582 char nextafterl ();
19584 main ()
19586 return nextafterl ();
19588 return 0;
19590 _ACEOF
19591 if ac_fn_c_try_link "$LINENO"; then :
19592 ac_cv_lib_m_nextafterl=yes
19593 else
19594 ac_cv_lib_m_nextafterl=no
19596 rm -f core conftest.err conftest.$ac_objext \
19597 conftest$ac_exeext conftest.$ac_ext
19598 LIBS=$ac_check_lib_save_LIBS
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19601 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19602 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19604 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19609 $as_echo_n "checking for powf in -lm... " >&6; }
19610 if test "${ac_cv_lib_m_powf+set}" = set; then :
19611 $as_echo_n "(cached) " >&6
19612 else
19613 ac_check_lib_save_LIBS=$LIBS
19614 LIBS="-lm $LIBS"
19615 if test x$gcc_no_link = xyes; then
19616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19624 #ifdef __cplusplus
19625 extern "C"
19626 #endif
19627 char powf ();
19629 main ()
19631 return powf ();
19633 return 0;
19635 _ACEOF
19636 if ac_fn_c_try_link "$LINENO"; then :
19637 ac_cv_lib_m_powf=yes
19638 else
19639 ac_cv_lib_m_powf=no
19641 rm -f core conftest.err conftest.$ac_objext \
19642 conftest$ac_exeext conftest.$ac_ext
19643 LIBS=$ac_check_lib_save_LIBS
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19646 $as_echo "$ac_cv_lib_m_powf" >&6; }
19647 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19649 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19654 $as_echo_n "checking for pow in -lm... " >&6; }
19655 if test "${ac_cv_lib_m_pow+set}" = set; then :
19656 $as_echo_n "(cached) " >&6
19657 else
19658 ac_check_lib_save_LIBS=$LIBS
19659 LIBS="-lm $LIBS"
19660 if test x$gcc_no_link = xyes; then
19661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 /* Override any GCC internal prototype to avoid an error.
19667 Use char because int might match the return type of a GCC
19668 builtin and then its argument prototype would still apply. */
19669 #ifdef __cplusplus
19670 extern "C"
19671 #endif
19672 char pow ();
19674 main ()
19676 return pow ();
19678 return 0;
19680 _ACEOF
19681 if ac_fn_c_try_link "$LINENO"; then :
19682 ac_cv_lib_m_pow=yes
19683 else
19684 ac_cv_lib_m_pow=no
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19688 LIBS=$ac_check_lib_save_LIBS
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19691 $as_echo "$ac_cv_lib_m_pow" >&6; }
19692 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19694 $as_echo "#define HAVE_POW 1" >>confdefs.h
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19699 $as_echo_n "checking for powl in -lm... " >&6; }
19700 if test "${ac_cv_lib_m_powl+set}" = set; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 ac_check_lib_save_LIBS=$LIBS
19704 LIBS="-lm $LIBS"
19705 if test x$gcc_no_link = xyes; then
19706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19711 /* Override any GCC internal prototype to avoid an error.
19712 Use char because int might match the return type of a GCC
19713 builtin and then its argument prototype would still apply. */
19714 #ifdef __cplusplus
19715 extern "C"
19716 #endif
19717 char powl ();
19719 main ()
19721 return powl ();
19723 return 0;
19725 _ACEOF
19726 if ac_fn_c_try_link "$LINENO"; then :
19727 ac_cv_lib_m_powl=yes
19728 else
19729 ac_cv_lib_m_powl=no
19731 rm -f core conftest.err conftest.$ac_objext \
19732 conftest$ac_exeext conftest.$ac_ext
19733 LIBS=$ac_check_lib_save_LIBS
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19736 $as_echo "$ac_cv_lib_m_powl" >&6; }
19737 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19739 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19744 $as_echo_n "checking for cpowf in -lm... " >&6; }
19745 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19746 $as_echo_n "(cached) " >&6
19747 else
19748 ac_check_lib_save_LIBS=$LIBS
19749 LIBS="-lm $LIBS"
19750 if test x$gcc_no_link = xyes; then
19751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19756 /* Override any GCC internal prototype to avoid an error.
19757 Use char because int might match the return type of a GCC
19758 builtin and then its argument prototype would still apply. */
19759 #ifdef __cplusplus
19760 extern "C"
19761 #endif
19762 char cpowf ();
19764 main ()
19766 return cpowf ();
19768 return 0;
19770 _ACEOF
19771 if ac_fn_c_try_link "$LINENO"; then :
19772 ac_cv_lib_m_cpowf=yes
19773 else
19774 ac_cv_lib_m_cpowf=no
19776 rm -f core conftest.err conftest.$ac_objext \
19777 conftest$ac_exeext conftest.$ac_ext
19778 LIBS=$ac_check_lib_save_LIBS
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19781 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19782 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19784 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19789 $as_echo_n "checking for cpow in -lm... " >&6; }
19790 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19791 $as_echo_n "(cached) " >&6
19792 else
19793 ac_check_lib_save_LIBS=$LIBS
19794 LIBS="-lm $LIBS"
19795 if test x$gcc_no_link = xyes; then
19796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19804 #ifdef __cplusplus
19805 extern "C"
19806 #endif
19807 char cpow ();
19809 main ()
19811 return cpow ();
19813 return 0;
19815 _ACEOF
19816 if ac_fn_c_try_link "$LINENO"; then :
19817 ac_cv_lib_m_cpow=yes
19818 else
19819 ac_cv_lib_m_cpow=no
19821 rm -f core conftest.err conftest.$ac_objext \
19822 conftest$ac_exeext conftest.$ac_ext
19823 LIBS=$ac_check_lib_save_LIBS
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19826 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19827 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19829 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19834 $as_echo_n "checking for cpowl in -lm... " >&6; }
19835 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19836 $as_echo_n "(cached) " >&6
19837 else
19838 ac_check_lib_save_LIBS=$LIBS
19839 LIBS="-lm $LIBS"
19840 if test x$gcc_no_link = xyes; then
19841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19846 /* Override any GCC internal prototype to avoid an error.
19847 Use char because int might match the return type of a GCC
19848 builtin and then its argument prototype would still apply. */
19849 #ifdef __cplusplus
19850 extern "C"
19851 #endif
19852 char cpowl ();
19854 main ()
19856 return cpowl ();
19858 return 0;
19860 _ACEOF
19861 if ac_fn_c_try_link "$LINENO"; then :
19862 ac_cv_lib_m_cpowl=yes
19863 else
19864 ac_cv_lib_m_cpowl=no
19866 rm -f core conftest.err conftest.$ac_objext \
19867 conftest$ac_exeext conftest.$ac_ext
19868 LIBS=$ac_check_lib_save_LIBS
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19871 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19872 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19874 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19879 $as_echo_n "checking for roundf in -lm... " >&6; }
19880 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19881 $as_echo_n "(cached) " >&6
19882 else
19883 ac_check_lib_save_LIBS=$LIBS
19884 LIBS="-lm $LIBS"
19885 if test x$gcc_no_link = xyes; then
19886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19891 /* Override any GCC internal prototype to avoid an error.
19892 Use char because int might match the return type of a GCC
19893 builtin and then its argument prototype would still apply. */
19894 #ifdef __cplusplus
19895 extern "C"
19896 #endif
19897 char roundf ();
19899 main ()
19901 return roundf ();
19903 return 0;
19905 _ACEOF
19906 if ac_fn_c_try_link "$LINENO"; then :
19907 ac_cv_lib_m_roundf=yes
19908 else
19909 ac_cv_lib_m_roundf=no
19911 rm -f core conftest.err conftest.$ac_objext \
19912 conftest$ac_exeext conftest.$ac_ext
19913 LIBS=$ac_check_lib_save_LIBS
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19916 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19917 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19919 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19924 $as_echo_n "checking for round in -lm... " >&6; }
19925 if test "${ac_cv_lib_m_round+set}" = set; then :
19926 $as_echo_n "(cached) " >&6
19927 else
19928 ac_check_lib_save_LIBS=$LIBS
19929 LIBS="-lm $LIBS"
19930 if test x$gcc_no_link = xyes; then
19931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19936 /* Override any GCC internal prototype to avoid an error.
19937 Use char because int might match the return type of a GCC
19938 builtin and then its argument prototype would still apply. */
19939 #ifdef __cplusplus
19940 extern "C"
19941 #endif
19942 char round ();
19944 main ()
19946 return round ();
19948 return 0;
19950 _ACEOF
19951 if ac_fn_c_try_link "$LINENO"; then :
19952 ac_cv_lib_m_round=yes
19953 else
19954 ac_cv_lib_m_round=no
19956 rm -f core conftest.err conftest.$ac_objext \
19957 conftest$ac_exeext conftest.$ac_ext
19958 LIBS=$ac_check_lib_save_LIBS
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
19961 $as_echo "$ac_cv_lib_m_round" >&6; }
19962 if test "x$ac_cv_lib_m_round" = x""yes; then :
19964 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19969 $as_echo_n "checking for roundl in -lm... " >&6; }
19970 if test "${ac_cv_lib_m_roundl+set}" = set; then :
19971 $as_echo_n "(cached) " >&6
19972 else
19973 ac_check_lib_save_LIBS=$LIBS
19974 LIBS="-lm $LIBS"
19975 if test x$gcc_no_link = xyes; then
19976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19984 #ifdef __cplusplus
19985 extern "C"
19986 #endif
19987 char roundl ();
19989 main ()
19991 return roundl ();
19993 return 0;
19995 _ACEOF
19996 if ac_fn_c_try_link "$LINENO"; then :
19997 ac_cv_lib_m_roundl=yes
19998 else
19999 ac_cv_lib_m_roundl=no
20001 rm -f core conftest.err conftest.$ac_objext \
20002 conftest$ac_exeext conftest.$ac_ext
20003 LIBS=$ac_check_lib_save_LIBS
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20006 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20007 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20009 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20014 $as_echo_n "checking for lroundf in -lm... " >&6; }
20015 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20016 $as_echo_n "(cached) " >&6
20017 else
20018 ac_check_lib_save_LIBS=$LIBS
20019 LIBS="-lm $LIBS"
20020 if test x$gcc_no_link = xyes; then
20021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20026 /* Override any GCC internal prototype to avoid an error.
20027 Use char because int might match the return type of a GCC
20028 builtin and then its argument prototype would still apply. */
20029 #ifdef __cplusplus
20030 extern "C"
20031 #endif
20032 char lroundf ();
20034 main ()
20036 return lroundf ();
20038 return 0;
20040 _ACEOF
20041 if ac_fn_c_try_link "$LINENO"; then :
20042 ac_cv_lib_m_lroundf=yes
20043 else
20044 ac_cv_lib_m_lroundf=no
20046 rm -f core conftest.err conftest.$ac_objext \
20047 conftest$ac_exeext conftest.$ac_ext
20048 LIBS=$ac_check_lib_save_LIBS
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20051 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20052 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20054 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20059 $as_echo_n "checking for lround in -lm... " >&6; }
20060 if test "${ac_cv_lib_m_lround+set}" = set; then :
20061 $as_echo_n "(cached) " >&6
20062 else
20063 ac_check_lib_save_LIBS=$LIBS
20064 LIBS="-lm $LIBS"
20065 if test x$gcc_no_link = xyes; then
20066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20071 /* Override any GCC internal prototype to avoid an error.
20072 Use char because int might match the return type of a GCC
20073 builtin and then its argument prototype would still apply. */
20074 #ifdef __cplusplus
20075 extern "C"
20076 #endif
20077 char lround ();
20079 main ()
20081 return lround ();
20083 return 0;
20085 _ACEOF
20086 if ac_fn_c_try_link "$LINENO"; then :
20087 ac_cv_lib_m_lround=yes
20088 else
20089 ac_cv_lib_m_lround=no
20091 rm -f core conftest.err conftest.$ac_objext \
20092 conftest$ac_exeext conftest.$ac_ext
20093 LIBS=$ac_check_lib_save_LIBS
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20096 $as_echo "$ac_cv_lib_m_lround" >&6; }
20097 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20099 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20104 $as_echo_n "checking for lroundl in -lm... " >&6; }
20105 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20106 $as_echo_n "(cached) " >&6
20107 else
20108 ac_check_lib_save_LIBS=$LIBS
20109 LIBS="-lm $LIBS"
20110 if test x$gcc_no_link = xyes; then
20111 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h. */
20116 /* Override any GCC internal prototype to avoid an error.
20117 Use char because int might match the return type of a GCC
20118 builtin and then its argument prototype would still apply. */
20119 #ifdef __cplusplus
20120 extern "C"
20121 #endif
20122 char lroundl ();
20124 main ()
20126 return lroundl ();
20128 return 0;
20130 _ACEOF
20131 if ac_fn_c_try_link "$LINENO"; then :
20132 ac_cv_lib_m_lroundl=yes
20133 else
20134 ac_cv_lib_m_lroundl=no
20136 rm -f core conftest.err conftest.$ac_objext \
20137 conftest$ac_exeext conftest.$ac_ext
20138 LIBS=$ac_check_lib_save_LIBS
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20141 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20142 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20144 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20149 $as_echo_n "checking for llroundf in -lm... " >&6; }
20150 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20151 $as_echo_n "(cached) " >&6
20152 else
20153 ac_check_lib_save_LIBS=$LIBS
20154 LIBS="-lm $LIBS"
20155 if test x$gcc_no_link = xyes; then
20156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20159 /* end confdefs.h. */
20161 /* Override any GCC internal prototype to avoid an error.
20162 Use char because int might match the return type of a GCC
20163 builtin and then its argument prototype would still apply. */
20164 #ifdef __cplusplus
20165 extern "C"
20166 #endif
20167 char llroundf ();
20169 main ()
20171 return llroundf ();
20173 return 0;
20175 _ACEOF
20176 if ac_fn_c_try_link "$LINENO"; then :
20177 ac_cv_lib_m_llroundf=yes
20178 else
20179 ac_cv_lib_m_llroundf=no
20181 rm -f core conftest.err conftest.$ac_objext \
20182 conftest$ac_exeext conftest.$ac_ext
20183 LIBS=$ac_check_lib_save_LIBS
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20186 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20187 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20189 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20194 $as_echo_n "checking for llround in -lm... " >&6; }
20195 if test "${ac_cv_lib_m_llround+set}" = set; then :
20196 $as_echo_n "(cached) " >&6
20197 else
20198 ac_check_lib_save_LIBS=$LIBS
20199 LIBS="-lm $LIBS"
20200 if test x$gcc_no_link = xyes; then
20201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20206 /* Override any GCC internal prototype to avoid an error.
20207 Use char because int might match the return type of a GCC
20208 builtin and then its argument prototype would still apply. */
20209 #ifdef __cplusplus
20210 extern "C"
20211 #endif
20212 char llround ();
20214 main ()
20216 return llround ();
20218 return 0;
20220 _ACEOF
20221 if ac_fn_c_try_link "$LINENO"; then :
20222 ac_cv_lib_m_llround=yes
20223 else
20224 ac_cv_lib_m_llround=no
20226 rm -f core conftest.err conftest.$ac_objext \
20227 conftest$ac_exeext conftest.$ac_ext
20228 LIBS=$ac_check_lib_save_LIBS
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20231 $as_echo "$ac_cv_lib_m_llround" >&6; }
20232 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20234 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20239 $as_echo_n "checking for llroundl in -lm... " >&6; }
20240 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20242 else
20243 ac_check_lib_save_LIBS=$LIBS
20244 LIBS="-lm $LIBS"
20245 if test x$gcc_no_link = xyes; then
20246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20251 /* Override any GCC internal prototype to avoid an error.
20252 Use char because int might match the return type of a GCC
20253 builtin and then its argument prototype would still apply. */
20254 #ifdef __cplusplus
20255 extern "C"
20256 #endif
20257 char llroundl ();
20259 main ()
20261 return llroundl ();
20263 return 0;
20265 _ACEOF
20266 if ac_fn_c_try_link "$LINENO"; then :
20267 ac_cv_lib_m_llroundl=yes
20268 else
20269 ac_cv_lib_m_llroundl=no
20271 rm -f core conftest.err conftest.$ac_objext \
20272 conftest$ac_exeext conftest.$ac_ext
20273 LIBS=$ac_check_lib_save_LIBS
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20276 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20277 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20279 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20284 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20285 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20286 $as_echo_n "(cached) " >&6
20287 else
20288 ac_check_lib_save_LIBS=$LIBS
20289 LIBS="-lm $LIBS"
20290 if test x$gcc_no_link = xyes; then
20291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20296 /* Override any GCC internal prototype to avoid an error.
20297 Use char because int might match the return type of a GCC
20298 builtin and then its argument prototype would still apply. */
20299 #ifdef __cplusplus
20300 extern "C"
20301 #endif
20302 char scalbnf ();
20304 main ()
20306 return scalbnf ();
20308 return 0;
20310 _ACEOF
20311 if ac_fn_c_try_link "$LINENO"; then :
20312 ac_cv_lib_m_scalbnf=yes
20313 else
20314 ac_cv_lib_m_scalbnf=no
20316 rm -f core conftest.err conftest.$ac_objext \
20317 conftest$ac_exeext conftest.$ac_ext
20318 LIBS=$ac_check_lib_save_LIBS
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20321 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20322 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20324 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20329 $as_echo_n "checking for scalbn in -lm... " >&6; }
20330 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20331 $as_echo_n "(cached) " >&6
20332 else
20333 ac_check_lib_save_LIBS=$LIBS
20334 LIBS="-lm $LIBS"
20335 if test x$gcc_no_link = xyes; then
20336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20341 /* Override any GCC internal prototype to avoid an error.
20342 Use char because int might match the return type of a GCC
20343 builtin and then its argument prototype would still apply. */
20344 #ifdef __cplusplus
20345 extern "C"
20346 #endif
20347 char scalbn ();
20349 main ()
20351 return scalbn ();
20353 return 0;
20355 _ACEOF
20356 if ac_fn_c_try_link "$LINENO"; then :
20357 ac_cv_lib_m_scalbn=yes
20358 else
20359 ac_cv_lib_m_scalbn=no
20361 rm -f core conftest.err conftest.$ac_objext \
20362 conftest$ac_exeext conftest.$ac_ext
20363 LIBS=$ac_check_lib_save_LIBS
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20366 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20367 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20369 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20374 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20375 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20376 $as_echo_n "(cached) " >&6
20377 else
20378 ac_check_lib_save_LIBS=$LIBS
20379 LIBS="-lm $LIBS"
20380 if test x$gcc_no_link = xyes; then
20381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20386 /* Override any GCC internal prototype to avoid an error.
20387 Use char because int might match the return type of a GCC
20388 builtin and then its argument prototype would still apply. */
20389 #ifdef __cplusplus
20390 extern "C"
20391 #endif
20392 char scalbnl ();
20394 main ()
20396 return scalbnl ();
20398 return 0;
20400 _ACEOF
20401 if ac_fn_c_try_link "$LINENO"; then :
20402 ac_cv_lib_m_scalbnl=yes
20403 else
20404 ac_cv_lib_m_scalbnl=no
20406 rm -f core conftest.err conftest.$ac_objext \
20407 conftest$ac_exeext conftest.$ac_ext
20408 LIBS=$ac_check_lib_save_LIBS
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20411 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20412 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20414 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20419 $as_echo_n "checking for sinf in -lm... " >&6; }
20420 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20421 $as_echo_n "(cached) " >&6
20422 else
20423 ac_check_lib_save_LIBS=$LIBS
20424 LIBS="-lm $LIBS"
20425 if test x$gcc_no_link = xyes; then
20426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h. */
20431 /* Override any GCC internal prototype to avoid an error.
20432 Use char because int might match the return type of a GCC
20433 builtin and then its argument prototype would still apply. */
20434 #ifdef __cplusplus
20435 extern "C"
20436 #endif
20437 char sinf ();
20439 main ()
20441 return sinf ();
20443 return 0;
20445 _ACEOF
20446 if ac_fn_c_try_link "$LINENO"; then :
20447 ac_cv_lib_m_sinf=yes
20448 else
20449 ac_cv_lib_m_sinf=no
20451 rm -f core conftest.err conftest.$ac_objext \
20452 conftest$ac_exeext conftest.$ac_ext
20453 LIBS=$ac_check_lib_save_LIBS
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20456 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20457 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20459 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20464 $as_echo_n "checking for sin in -lm... " >&6; }
20465 if test "${ac_cv_lib_m_sin+set}" = set; then :
20466 $as_echo_n "(cached) " >&6
20467 else
20468 ac_check_lib_save_LIBS=$LIBS
20469 LIBS="-lm $LIBS"
20470 if test x$gcc_no_link = xyes; then
20471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h. */
20476 /* Override any GCC internal prototype to avoid an error.
20477 Use char because int might match the return type of a GCC
20478 builtin and then its argument prototype would still apply. */
20479 #ifdef __cplusplus
20480 extern "C"
20481 #endif
20482 char sin ();
20484 main ()
20486 return sin ();
20488 return 0;
20490 _ACEOF
20491 if ac_fn_c_try_link "$LINENO"; then :
20492 ac_cv_lib_m_sin=yes
20493 else
20494 ac_cv_lib_m_sin=no
20496 rm -f core conftest.err conftest.$ac_objext \
20497 conftest$ac_exeext conftest.$ac_ext
20498 LIBS=$ac_check_lib_save_LIBS
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20501 $as_echo "$ac_cv_lib_m_sin" >&6; }
20502 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20504 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20509 $as_echo_n "checking for sinl in -lm... " >&6; }
20510 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20511 $as_echo_n "(cached) " >&6
20512 else
20513 ac_check_lib_save_LIBS=$LIBS
20514 LIBS="-lm $LIBS"
20515 if test x$gcc_no_link = xyes; then
20516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20519 /* end confdefs.h. */
20521 /* Override any GCC internal prototype to avoid an error.
20522 Use char because int might match the return type of a GCC
20523 builtin and then its argument prototype would still apply. */
20524 #ifdef __cplusplus
20525 extern "C"
20526 #endif
20527 char sinl ();
20529 main ()
20531 return sinl ();
20533 return 0;
20535 _ACEOF
20536 if ac_fn_c_try_link "$LINENO"; then :
20537 ac_cv_lib_m_sinl=yes
20538 else
20539 ac_cv_lib_m_sinl=no
20541 rm -f core conftest.err conftest.$ac_objext \
20542 conftest$ac_exeext conftest.$ac_ext
20543 LIBS=$ac_check_lib_save_LIBS
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20546 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20547 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20549 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20554 $as_echo_n "checking for csinf in -lm... " >&6; }
20555 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20556 $as_echo_n "(cached) " >&6
20557 else
20558 ac_check_lib_save_LIBS=$LIBS
20559 LIBS="-lm $LIBS"
20560 if test x$gcc_no_link = xyes; then
20561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20564 /* end confdefs.h. */
20566 /* Override any GCC internal prototype to avoid an error.
20567 Use char because int might match the return type of a GCC
20568 builtin and then its argument prototype would still apply. */
20569 #ifdef __cplusplus
20570 extern "C"
20571 #endif
20572 char csinf ();
20574 main ()
20576 return csinf ();
20578 return 0;
20580 _ACEOF
20581 if ac_fn_c_try_link "$LINENO"; then :
20582 ac_cv_lib_m_csinf=yes
20583 else
20584 ac_cv_lib_m_csinf=no
20586 rm -f core conftest.err conftest.$ac_objext \
20587 conftest$ac_exeext conftest.$ac_ext
20588 LIBS=$ac_check_lib_save_LIBS
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20591 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20592 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20594 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20599 $as_echo_n "checking for csin in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_csin+set}" = set; then :
20601 $as_echo_n "(cached) " >&6
20602 else
20603 ac_check_lib_save_LIBS=$LIBS
20604 LIBS="-lm $LIBS"
20605 if test x$gcc_no_link = xyes; then
20606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20609 /* end confdefs.h. */
20611 /* Override any GCC internal prototype to avoid an error.
20612 Use char because int might match the return type of a GCC
20613 builtin and then its argument prototype would still apply. */
20614 #ifdef __cplusplus
20615 extern "C"
20616 #endif
20617 char csin ();
20619 main ()
20621 return csin ();
20623 return 0;
20625 _ACEOF
20626 if ac_fn_c_try_link "$LINENO"; then :
20627 ac_cv_lib_m_csin=yes
20628 else
20629 ac_cv_lib_m_csin=no
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext conftest.$ac_ext
20633 LIBS=$ac_check_lib_save_LIBS
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20636 $as_echo "$ac_cv_lib_m_csin" >&6; }
20637 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20639 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20644 $as_echo_n "checking for csinl in -lm... " >&6; }
20645 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20648 ac_check_lib_save_LIBS=$LIBS
20649 LIBS="-lm $LIBS"
20650 if test x$gcc_no_link = xyes; then
20651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20656 /* Override any GCC internal prototype to avoid an error.
20657 Use char because int might match the return type of a GCC
20658 builtin and then its argument prototype would still apply. */
20659 #ifdef __cplusplus
20660 extern "C"
20661 #endif
20662 char csinl ();
20664 main ()
20666 return csinl ();
20668 return 0;
20670 _ACEOF
20671 if ac_fn_c_try_link "$LINENO"; then :
20672 ac_cv_lib_m_csinl=yes
20673 else
20674 ac_cv_lib_m_csinl=no
20676 rm -f core conftest.err conftest.$ac_objext \
20677 conftest$ac_exeext conftest.$ac_ext
20678 LIBS=$ac_check_lib_save_LIBS
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20681 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20682 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20684 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20689 $as_echo_n "checking for sinhf in -lm... " >&6; }
20690 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20691 $as_echo_n "(cached) " >&6
20692 else
20693 ac_check_lib_save_LIBS=$LIBS
20694 LIBS="-lm $LIBS"
20695 if test x$gcc_no_link = xyes; then
20696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h. */
20701 /* Override any GCC internal prototype to avoid an error.
20702 Use char because int might match the return type of a GCC
20703 builtin and then its argument prototype would still apply. */
20704 #ifdef __cplusplus
20705 extern "C"
20706 #endif
20707 char sinhf ();
20709 main ()
20711 return sinhf ();
20713 return 0;
20715 _ACEOF
20716 if ac_fn_c_try_link "$LINENO"; then :
20717 ac_cv_lib_m_sinhf=yes
20718 else
20719 ac_cv_lib_m_sinhf=no
20721 rm -f core conftest.err conftest.$ac_objext \
20722 conftest$ac_exeext conftest.$ac_ext
20723 LIBS=$ac_check_lib_save_LIBS
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20726 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20727 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20729 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20734 $as_echo_n "checking for sinh in -lm... " >&6; }
20735 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20736 $as_echo_n "(cached) " >&6
20737 else
20738 ac_check_lib_save_LIBS=$LIBS
20739 LIBS="-lm $LIBS"
20740 if test x$gcc_no_link = xyes; then
20741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20746 /* Override any GCC internal prototype to avoid an error.
20747 Use char because int might match the return type of a GCC
20748 builtin and then its argument prototype would still apply. */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char sinh ();
20754 main ()
20756 return sinh ();
20758 return 0;
20760 _ACEOF
20761 if ac_fn_c_try_link "$LINENO"; then :
20762 ac_cv_lib_m_sinh=yes
20763 else
20764 ac_cv_lib_m_sinh=no
20766 rm -f core conftest.err conftest.$ac_objext \
20767 conftest$ac_exeext conftest.$ac_ext
20768 LIBS=$ac_check_lib_save_LIBS
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20771 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20772 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20774 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20779 $as_echo_n "checking for sinhl in -lm... " >&6; }
20780 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20781 $as_echo_n "(cached) " >&6
20782 else
20783 ac_check_lib_save_LIBS=$LIBS
20784 LIBS="-lm $LIBS"
20785 if test x$gcc_no_link = xyes; then
20786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20791 /* Override any GCC internal prototype to avoid an error.
20792 Use char because int might match the return type of a GCC
20793 builtin and then its argument prototype would still apply. */
20794 #ifdef __cplusplus
20795 extern "C"
20796 #endif
20797 char sinhl ();
20799 main ()
20801 return sinhl ();
20803 return 0;
20805 _ACEOF
20806 if ac_fn_c_try_link "$LINENO"; then :
20807 ac_cv_lib_m_sinhl=yes
20808 else
20809 ac_cv_lib_m_sinhl=no
20811 rm -f core conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext conftest.$ac_ext
20813 LIBS=$ac_check_lib_save_LIBS
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20816 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20817 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20819 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20824 $as_echo_n "checking for csinhf in -lm... " >&6; }
20825 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20826 $as_echo_n "(cached) " >&6
20827 else
20828 ac_check_lib_save_LIBS=$LIBS
20829 LIBS="-lm $LIBS"
20830 if test x$gcc_no_link = xyes; then
20831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20836 /* Override any GCC internal prototype to avoid an error.
20837 Use char because int might match the return type of a GCC
20838 builtin and then its argument prototype would still apply. */
20839 #ifdef __cplusplus
20840 extern "C"
20841 #endif
20842 char csinhf ();
20844 main ()
20846 return csinhf ();
20848 return 0;
20850 _ACEOF
20851 if ac_fn_c_try_link "$LINENO"; then :
20852 ac_cv_lib_m_csinhf=yes
20853 else
20854 ac_cv_lib_m_csinhf=no
20856 rm -f core conftest.err conftest.$ac_objext \
20857 conftest$ac_exeext conftest.$ac_ext
20858 LIBS=$ac_check_lib_save_LIBS
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20861 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20862 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20864 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20869 $as_echo_n "checking for csinh in -lm... " >&6; }
20870 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20871 $as_echo_n "(cached) " >&6
20872 else
20873 ac_check_lib_save_LIBS=$LIBS
20874 LIBS="-lm $LIBS"
20875 if test x$gcc_no_link = xyes; then
20876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20881 /* Override any GCC internal prototype to avoid an error.
20882 Use char because int might match the return type of a GCC
20883 builtin and then its argument prototype would still apply. */
20884 #ifdef __cplusplus
20885 extern "C"
20886 #endif
20887 char csinh ();
20889 main ()
20891 return csinh ();
20893 return 0;
20895 _ACEOF
20896 if ac_fn_c_try_link "$LINENO"; then :
20897 ac_cv_lib_m_csinh=yes
20898 else
20899 ac_cv_lib_m_csinh=no
20901 rm -f core conftest.err conftest.$ac_objext \
20902 conftest$ac_exeext conftest.$ac_ext
20903 LIBS=$ac_check_lib_save_LIBS
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20906 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20907 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20909 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20914 $as_echo_n "checking for csinhl in -lm... " >&6; }
20915 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20916 $as_echo_n "(cached) " >&6
20917 else
20918 ac_check_lib_save_LIBS=$LIBS
20919 LIBS="-lm $LIBS"
20920 if test x$gcc_no_link = xyes; then
20921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20926 /* Override any GCC internal prototype to avoid an error.
20927 Use char because int might match the return type of a GCC
20928 builtin and then its argument prototype would still apply. */
20929 #ifdef __cplusplus
20930 extern "C"
20931 #endif
20932 char csinhl ();
20934 main ()
20936 return csinhl ();
20938 return 0;
20940 _ACEOF
20941 if ac_fn_c_try_link "$LINENO"; then :
20942 ac_cv_lib_m_csinhl=yes
20943 else
20944 ac_cv_lib_m_csinhl=no
20946 rm -f core conftest.err conftest.$ac_objext \
20947 conftest$ac_exeext conftest.$ac_ext
20948 LIBS=$ac_check_lib_save_LIBS
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
20951 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20952 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
20954 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20959 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20960 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
20961 $as_echo_n "(cached) " >&6
20962 else
20963 ac_check_lib_save_LIBS=$LIBS
20964 LIBS="-lm $LIBS"
20965 if test x$gcc_no_link = xyes; then
20966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20971 /* Override any GCC internal prototype to avoid an error.
20972 Use char because int might match the return type of a GCC
20973 builtin and then its argument prototype would still apply. */
20974 #ifdef __cplusplus
20975 extern "C"
20976 #endif
20977 char sqrtf ();
20979 main ()
20981 return sqrtf ();
20983 return 0;
20985 _ACEOF
20986 if ac_fn_c_try_link "$LINENO"; then :
20987 ac_cv_lib_m_sqrtf=yes
20988 else
20989 ac_cv_lib_m_sqrtf=no
20991 rm -f core conftest.err conftest.$ac_objext \
20992 conftest$ac_exeext conftest.$ac_ext
20993 LIBS=$ac_check_lib_save_LIBS
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
20996 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
20997 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
20999 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21004 $as_echo_n "checking for sqrt in -lm... " >&6; }
21005 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21006 $as_echo_n "(cached) " >&6
21007 else
21008 ac_check_lib_save_LIBS=$LIBS
21009 LIBS="-lm $LIBS"
21010 if test x$gcc_no_link = xyes; then
21011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21016 /* Override any GCC internal prototype to avoid an error.
21017 Use char because int might match the return type of a GCC
21018 builtin and then its argument prototype would still apply. */
21019 #ifdef __cplusplus
21020 extern "C"
21021 #endif
21022 char sqrt ();
21024 main ()
21026 return sqrt ();
21028 return 0;
21030 _ACEOF
21031 if ac_fn_c_try_link "$LINENO"; then :
21032 ac_cv_lib_m_sqrt=yes
21033 else
21034 ac_cv_lib_m_sqrt=no
21036 rm -f core conftest.err conftest.$ac_objext \
21037 conftest$ac_exeext conftest.$ac_ext
21038 LIBS=$ac_check_lib_save_LIBS
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21041 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21042 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21044 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21049 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21050 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21051 $as_echo_n "(cached) " >&6
21052 else
21053 ac_check_lib_save_LIBS=$LIBS
21054 LIBS="-lm $LIBS"
21055 if test x$gcc_no_link = xyes; then
21056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21061 /* Override any GCC internal prototype to avoid an error.
21062 Use char because int might match the return type of a GCC
21063 builtin and then its argument prototype would still apply. */
21064 #ifdef __cplusplus
21065 extern "C"
21066 #endif
21067 char sqrtl ();
21069 main ()
21071 return sqrtl ();
21073 return 0;
21075 _ACEOF
21076 if ac_fn_c_try_link "$LINENO"; then :
21077 ac_cv_lib_m_sqrtl=yes
21078 else
21079 ac_cv_lib_m_sqrtl=no
21081 rm -f core conftest.err conftest.$ac_objext \
21082 conftest$ac_exeext conftest.$ac_ext
21083 LIBS=$ac_check_lib_save_LIBS
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21086 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21087 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21089 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21094 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21095 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21096 $as_echo_n "(cached) " >&6
21097 else
21098 ac_check_lib_save_LIBS=$LIBS
21099 LIBS="-lm $LIBS"
21100 if test x$gcc_no_link = xyes; then
21101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21106 /* Override any GCC internal prototype to avoid an error.
21107 Use char because int might match the return type of a GCC
21108 builtin and then its argument prototype would still apply. */
21109 #ifdef __cplusplus
21110 extern "C"
21111 #endif
21112 char csqrtf ();
21114 main ()
21116 return csqrtf ();
21118 return 0;
21120 _ACEOF
21121 if ac_fn_c_try_link "$LINENO"; then :
21122 ac_cv_lib_m_csqrtf=yes
21123 else
21124 ac_cv_lib_m_csqrtf=no
21126 rm -f core conftest.err conftest.$ac_objext \
21127 conftest$ac_exeext conftest.$ac_ext
21128 LIBS=$ac_check_lib_save_LIBS
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21131 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21132 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21134 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21139 $as_echo_n "checking for csqrt in -lm... " >&6; }
21140 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21141 $as_echo_n "(cached) " >&6
21142 else
21143 ac_check_lib_save_LIBS=$LIBS
21144 LIBS="-lm $LIBS"
21145 if test x$gcc_no_link = xyes; then
21146 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h. */
21151 /* Override any GCC internal prototype to avoid an error.
21152 Use char because int might match the return type of a GCC
21153 builtin and then its argument prototype would still apply. */
21154 #ifdef __cplusplus
21155 extern "C"
21156 #endif
21157 char csqrt ();
21159 main ()
21161 return csqrt ();
21163 return 0;
21165 _ACEOF
21166 if ac_fn_c_try_link "$LINENO"; then :
21167 ac_cv_lib_m_csqrt=yes
21168 else
21169 ac_cv_lib_m_csqrt=no
21171 rm -f core conftest.err conftest.$ac_objext \
21172 conftest$ac_exeext conftest.$ac_ext
21173 LIBS=$ac_check_lib_save_LIBS
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21176 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21177 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21179 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21184 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21185 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21187 else
21188 ac_check_lib_save_LIBS=$LIBS
21189 LIBS="-lm $LIBS"
21190 if test x$gcc_no_link = xyes; then
21191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h. */
21196 /* Override any GCC internal prototype to avoid an error.
21197 Use char because int might match the return type of a GCC
21198 builtin and then its argument prototype would still apply. */
21199 #ifdef __cplusplus
21200 extern "C"
21201 #endif
21202 char csqrtl ();
21204 main ()
21206 return csqrtl ();
21208 return 0;
21210 _ACEOF
21211 if ac_fn_c_try_link "$LINENO"; then :
21212 ac_cv_lib_m_csqrtl=yes
21213 else
21214 ac_cv_lib_m_csqrtl=no
21216 rm -f core conftest.err conftest.$ac_objext \
21217 conftest$ac_exeext conftest.$ac_ext
21218 LIBS=$ac_check_lib_save_LIBS
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21221 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21222 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21224 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21229 $as_echo_n "checking for tanf in -lm... " >&6; }
21230 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21231 $as_echo_n "(cached) " >&6
21232 else
21233 ac_check_lib_save_LIBS=$LIBS
21234 LIBS="-lm $LIBS"
21235 if test x$gcc_no_link = xyes; then
21236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21241 /* Override any GCC internal prototype to avoid an error.
21242 Use char because int might match the return type of a GCC
21243 builtin and then its argument prototype would still apply. */
21244 #ifdef __cplusplus
21245 extern "C"
21246 #endif
21247 char tanf ();
21249 main ()
21251 return tanf ();
21253 return 0;
21255 _ACEOF
21256 if ac_fn_c_try_link "$LINENO"; then :
21257 ac_cv_lib_m_tanf=yes
21258 else
21259 ac_cv_lib_m_tanf=no
21261 rm -f core conftest.err conftest.$ac_objext \
21262 conftest$ac_exeext conftest.$ac_ext
21263 LIBS=$ac_check_lib_save_LIBS
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21266 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21267 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21269 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21274 $as_echo_n "checking for tan in -lm... " >&6; }
21275 if test "${ac_cv_lib_m_tan+set}" = set; then :
21276 $as_echo_n "(cached) " >&6
21277 else
21278 ac_check_lib_save_LIBS=$LIBS
21279 LIBS="-lm $LIBS"
21280 if test x$gcc_no_link = xyes; then
21281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h. */
21286 /* Override any GCC internal prototype to avoid an error.
21287 Use char because int might match the return type of a GCC
21288 builtin and then its argument prototype would still apply. */
21289 #ifdef __cplusplus
21290 extern "C"
21291 #endif
21292 char tan ();
21294 main ()
21296 return tan ();
21298 return 0;
21300 _ACEOF
21301 if ac_fn_c_try_link "$LINENO"; then :
21302 ac_cv_lib_m_tan=yes
21303 else
21304 ac_cv_lib_m_tan=no
21306 rm -f core conftest.err conftest.$ac_objext \
21307 conftest$ac_exeext conftest.$ac_ext
21308 LIBS=$ac_check_lib_save_LIBS
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21311 $as_echo "$ac_cv_lib_m_tan" >&6; }
21312 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21314 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21319 $as_echo_n "checking for tanl in -lm... " >&6; }
21320 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21321 $as_echo_n "(cached) " >&6
21322 else
21323 ac_check_lib_save_LIBS=$LIBS
21324 LIBS="-lm $LIBS"
21325 if test x$gcc_no_link = xyes; then
21326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h. */
21331 /* Override any GCC internal prototype to avoid an error.
21332 Use char because int might match the return type of a GCC
21333 builtin and then its argument prototype would still apply. */
21334 #ifdef __cplusplus
21335 extern "C"
21336 #endif
21337 char tanl ();
21339 main ()
21341 return tanl ();
21343 return 0;
21345 _ACEOF
21346 if ac_fn_c_try_link "$LINENO"; then :
21347 ac_cv_lib_m_tanl=yes
21348 else
21349 ac_cv_lib_m_tanl=no
21351 rm -f core conftest.err conftest.$ac_objext \
21352 conftest$ac_exeext conftest.$ac_ext
21353 LIBS=$ac_check_lib_save_LIBS
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21356 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21357 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21359 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21364 $as_echo_n "checking for ctanf in -lm... " >&6; }
21365 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21366 $as_echo_n "(cached) " >&6
21367 else
21368 ac_check_lib_save_LIBS=$LIBS
21369 LIBS="-lm $LIBS"
21370 if test x$gcc_no_link = xyes; then
21371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21376 /* Override any GCC internal prototype to avoid an error.
21377 Use char because int might match the return type of a GCC
21378 builtin and then its argument prototype would still apply. */
21379 #ifdef __cplusplus
21380 extern "C"
21381 #endif
21382 char ctanf ();
21384 main ()
21386 return ctanf ();
21388 return 0;
21390 _ACEOF
21391 if ac_fn_c_try_link "$LINENO"; then :
21392 ac_cv_lib_m_ctanf=yes
21393 else
21394 ac_cv_lib_m_ctanf=no
21396 rm -f core conftest.err conftest.$ac_objext \
21397 conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21401 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21402 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21404 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21409 $as_echo_n "checking for ctan in -lm... " >&6; }
21410 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21411 $as_echo_n "(cached) " >&6
21412 else
21413 ac_check_lib_save_LIBS=$LIBS
21414 LIBS="-lm $LIBS"
21415 if test x$gcc_no_link = xyes; then
21416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h. */
21421 /* Override any GCC internal prototype to avoid an error.
21422 Use char because int might match the return type of a GCC
21423 builtin and then its argument prototype would still apply. */
21424 #ifdef __cplusplus
21425 extern "C"
21426 #endif
21427 char ctan ();
21429 main ()
21431 return ctan ();
21433 return 0;
21435 _ACEOF
21436 if ac_fn_c_try_link "$LINENO"; then :
21437 ac_cv_lib_m_ctan=yes
21438 else
21439 ac_cv_lib_m_ctan=no
21441 rm -f core conftest.err conftest.$ac_objext \
21442 conftest$ac_exeext conftest.$ac_ext
21443 LIBS=$ac_check_lib_save_LIBS
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21446 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21447 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21449 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21454 $as_echo_n "checking for ctanl in -lm... " >&6; }
21455 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21456 $as_echo_n "(cached) " >&6
21457 else
21458 ac_check_lib_save_LIBS=$LIBS
21459 LIBS="-lm $LIBS"
21460 if test x$gcc_no_link = xyes; then
21461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21466 /* Override any GCC internal prototype to avoid an error.
21467 Use char because int might match the return type of a GCC
21468 builtin and then its argument prototype would still apply. */
21469 #ifdef __cplusplus
21470 extern "C"
21471 #endif
21472 char ctanl ();
21474 main ()
21476 return ctanl ();
21478 return 0;
21480 _ACEOF
21481 if ac_fn_c_try_link "$LINENO"; then :
21482 ac_cv_lib_m_ctanl=yes
21483 else
21484 ac_cv_lib_m_ctanl=no
21486 rm -f core conftest.err conftest.$ac_objext \
21487 conftest$ac_exeext conftest.$ac_ext
21488 LIBS=$ac_check_lib_save_LIBS
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21491 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21492 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21494 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21499 $as_echo_n "checking for tanhf in -lm... " >&6; }
21500 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21501 $as_echo_n "(cached) " >&6
21502 else
21503 ac_check_lib_save_LIBS=$LIBS
21504 LIBS="-lm $LIBS"
21505 if test x$gcc_no_link = xyes; then
21506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h. */
21511 /* Override any GCC internal prototype to avoid an error.
21512 Use char because int might match the return type of a GCC
21513 builtin and then its argument prototype would still apply. */
21514 #ifdef __cplusplus
21515 extern "C"
21516 #endif
21517 char tanhf ();
21519 main ()
21521 return tanhf ();
21523 return 0;
21525 _ACEOF
21526 if ac_fn_c_try_link "$LINENO"; then :
21527 ac_cv_lib_m_tanhf=yes
21528 else
21529 ac_cv_lib_m_tanhf=no
21531 rm -f core conftest.err conftest.$ac_objext \
21532 conftest$ac_exeext conftest.$ac_ext
21533 LIBS=$ac_check_lib_save_LIBS
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21536 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21537 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21539 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21544 $as_echo_n "checking for tanh in -lm... " >&6; }
21545 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21547 else
21548 ac_check_lib_save_LIBS=$LIBS
21549 LIBS="-lm $LIBS"
21550 if test x$gcc_no_link = xyes; then
21551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21556 /* Override any GCC internal prototype to avoid an error.
21557 Use char because int might match the return type of a GCC
21558 builtin and then its argument prototype would still apply. */
21559 #ifdef __cplusplus
21560 extern "C"
21561 #endif
21562 char tanh ();
21564 main ()
21566 return tanh ();
21568 return 0;
21570 _ACEOF
21571 if ac_fn_c_try_link "$LINENO"; then :
21572 ac_cv_lib_m_tanh=yes
21573 else
21574 ac_cv_lib_m_tanh=no
21576 rm -f core conftest.err conftest.$ac_objext \
21577 conftest$ac_exeext conftest.$ac_ext
21578 LIBS=$ac_check_lib_save_LIBS
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21581 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21582 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21584 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21589 $as_echo_n "checking for tanhl in -lm... " >&6; }
21590 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21591 $as_echo_n "(cached) " >&6
21592 else
21593 ac_check_lib_save_LIBS=$LIBS
21594 LIBS="-lm $LIBS"
21595 if test x$gcc_no_link = xyes; then
21596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h. */
21601 /* Override any GCC internal prototype to avoid an error.
21602 Use char because int might match the return type of a GCC
21603 builtin and then its argument prototype would still apply. */
21604 #ifdef __cplusplus
21605 extern "C"
21606 #endif
21607 char tanhl ();
21609 main ()
21611 return tanhl ();
21613 return 0;
21615 _ACEOF
21616 if ac_fn_c_try_link "$LINENO"; then :
21617 ac_cv_lib_m_tanhl=yes
21618 else
21619 ac_cv_lib_m_tanhl=no
21621 rm -f core conftest.err conftest.$ac_objext \
21622 conftest$ac_exeext conftest.$ac_ext
21623 LIBS=$ac_check_lib_save_LIBS
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21626 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21627 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21629 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21634 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21635 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21636 $as_echo_n "(cached) " >&6
21637 else
21638 ac_check_lib_save_LIBS=$LIBS
21639 LIBS="-lm $LIBS"
21640 if test x$gcc_no_link = xyes; then
21641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21646 /* Override any GCC internal prototype to avoid an error.
21647 Use char because int might match the return type of a GCC
21648 builtin and then its argument prototype would still apply. */
21649 #ifdef __cplusplus
21650 extern "C"
21651 #endif
21652 char ctanhf ();
21654 main ()
21656 return ctanhf ();
21658 return 0;
21660 _ACEOF
21661 if ac_fn_c_try_link "$LINENO"; then :
21662 ac_cv_lib_m_ctanhf=yes
21663 else
21664 ac_cv_lib_m_ctanhf=no
21666 rm -f core conftest.err conftest.$ac_objext \
21667 conftest$ac_exeext conftest.$ac_ext
21668 LIBS=$ac_check_lib_save_LIBS
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21671 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21672 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21674 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21679 $as_echo_n "checking for ctanh in -lm... " >&6; }
21680 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21681 $as_echo_n "(cached) " >&6
21682 else
21683 ac_check_lib_save_LIBS=$LIBS
21684 LIBS="-lm $LIBS"
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21691 /* Override any GCC internal prototype to avoid an error.
21692 Use char because int might match the return type of a GCC
21693 builtin and then its argument prototype would still apply. */
21694 #ifdef __cplusplus
21695 extern "C"
21696 #endif
21697 char ctanh ();
21699 main ()
21701 return ctanh ();
21703 return 0;
21705 _ACEOF
21706 if ac_fn_c_try_link "$LINENO"; then :
21707 ac_cv_lib_m_ctanh=yes
21708 else
21709 ac_cv_lib_m_ctanh=no
21711 rm -f core conftest.err conftest.$ac_objext \
21712 conftest$ac_exeext conftest.$ac_ext
21713 LIBS=$ac_check_lib_save_LIBS
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21716 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21717 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21719 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21724 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21725 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21726 $as_echo_n "(cached) " >&6
21727 else
21728 ac_check_lib_save_LIBS=$LIBS
21729 LIBS="-lm $LIBS"
21730 if test x$gcc_no_link = xyes; then
21731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21736 /* Override any GCC internal prototype to avoid an error.
21737 Use char because int might match the return type of a GCC
21738 builtin and then its argument prototype would still apply. */
21739 #ifdef __cplusplus
21740 extern "C"
21741 #endif
21742 char ctanhl ();
21744 main ()
21746 return ctanhl ();
21748 return 0;
21750 _ACEOF
21751 if ac_fn_c_try_link "$LINENO"; then :
21752 ac_cv_lib_m_ctanhl=yes
21753 else
21754 ac_cv_lib_m_ctanhl=no
21756 rm -f core conftest.err conftest.$ac_objext \
21757 conftest$ac_exeext conftest.$ac_ext
21758 LIBS=$ac_check_lib_save_LIBS
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21761 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21762 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21764 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21769 $as_echo_n "checking for truncf in -lm... " >&6; }
21770 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21771 $as_echo_n "(cached) " >&6
21772 else
21773 ac_check_lib_save_LIBS=$LIBS
21774 LIBS="-lm $LIBS"
21775 if test x$gcc_no_link = xyes; then
21776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h. */
21781 /* Override any GCC internal prototype to avoid an error.
21782 Use char because int might match the return type of a GCC
21783 builtin and then its argument prototype would still apply. */
21784 #ifdef __cplusplus
21785 extern "C"
21786 #endif
21787 char truncf ();
21789 main ()
21791 return truncf ();
21793 return 0;
21795 _ACEOF
21796 if ac_fn_c_try_link "$LINENO"; then :
21797 ac_cv_lib_m_truncf=yes
21798 else
21799 ac_cv_lib_m_truncf=no
21801 rm -f core conftest.err conftest.$ac_objext \
21802 conftest$ac_exeext conftest.$ac_ext
21803 LIBS=$ac_check_lib_save_LIBS
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21806 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21807 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21809 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21814 $as_echo_n "checking for trunc in -lm... " >&6; }
21815 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21816 $as_echo_n "(cached) " >&6
21817 else
21818 ac_check_lib_save_LIBS=$LIBS
21819 LIBS="-lm $LIBS"
21820 if test x$gcc_no_link = xyes; then
21821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21826 /* Override any GCC internal prototype to avoid an error.
21827 Use char because int might match the return type of a GCC
21828 builtin and then its argument prototype would still apply. */
21829 #ifdef __cplusplus
21830 extern "C"
21831 #endif
21832 char trunc ();
21834 main ()
21836 return trunc ();
21838 return 0;
21840 _ACEOF
21841 if ac_fn_c_try_link "$LINENO"; then :
21842 ac_cv_lib_m_trunc=yes
21843 else
21844 ac_cv_lib_m_trunc=no
21846 rm -f core conftest.err conftest.$ac_objext \
21847 conftest$ac_exeext conftest.$ac_ext
21848 LIBS=$ac_check_lib_save_LIBS
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21851 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21852 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21854 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21859 $as_echo_n "checking for truncl in -lm... " >&6; }
21860 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21861 $as_echo_n "(cached) " >&6
21862 else
21863 ac_check_lib_save_LIBS=$LIBS
21864 LIBS="-lm $LIBS"
21865 if test x$gcc_no_link = xyes; then
21866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h. */
21871 /* Override any GCC internal prototype to avoid an error.
21872 Use char because int might match the return type of a GCC
21873 builtin and then its argument prototype would still apply. */
21874 #ifdef __cplusplus
21875 extern "C"
21876 #endif
21877 char truncl ();
21879 main ()
21881 return truncl ();
21883 return 0;
21885 _ACEOF
21886 if ac_fn_c_try_link "$LINENO"; then :
21887 ac_cv_lib_m_truncl=yes
21888 else
21889 ac_cv_lib_m_truncl=no
21891 rm -f core conftest.err conftest.$ac_objext \
21892 conftest$ac_exeext conftest.$ac_ext
21893 LIBS=$ac_check_lib_save_LIBS
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21896 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21897 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21899 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21904 $as_echo_n "checking for erff in -lm... " >&6; }
21905 if test "${ac_cv_lib_m_erff+set}" = set; then :
21906 $as_echo_n "(cached) " >&6
21907 else
21908 ac_check_lib_save_LIBS=$LIBS
21909 LIBS="-lm $LIBS"
21910 if test x$gcc_no_link = xyes; then
21911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21916 /* Override any GCC internal prototype to avoid an error.
21917 Use char because int might match the return type of a GCC
21918 builtin and then its argument prototype would still apply. */
21919 #ifdef __cplusplus
21920 extern "C"
21921 #endif
21922 char erff ();
21924 main ()
21926 return erff ();
21928 return 0;
21930 _ACEOF
21931 if ac_fn_c_try_link "$LINENO"; then :
21932 ac_cv_lib_m_erff=yes
21933 else
21934 ac_cv_lib_m_erff=no
21936 rm -f core conftest.err conftest.$ac_objext \
21937 conftest$ac_exeext conftest.$ac_ext
21938 LIBS=$ac_check_lib_save_LIBS
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21941 $as_echo "$ac_cv_lib_m_erff" >&6; }
21942 if test "x$ac_cv_lib_m_erff" = x""yes; then :
21944 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21949 $as_echo_n "checking for erf in -lm... " >&6; }
21950 if test "${ac_cv_lib_m_erf+set}" = set; then :
21951 $as_echo_n "(cached) " >&6
21952 else
21953 ac_check_lib_save_LIBS=$LIBS
21954 LIBS="-lm $LIBS"
21955 if test x$gcc_no_link = xyes; then
21956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21959 /* end confdefs.h. */
21961 /* Override any GCC internal prototype to avoid an error.
21962 Use char because int might match the return type of a GCC
21963 builtin and then its argument prototype would still apply. */
21964 #ifdef __cplusplus
21965 extern "C"
21966 #endif
21967 char erf ();
21969 main ()
21971 return erf ();
21973 return 0;
21975 _ACEOF
21976 if ac_fn_c_try_link "$LINENO"; then :
21977 ac_cv_lib_m_erf=yes
21978 else
21979 ac_cv_lib_m_erf=no
21981 rm -f core conftest.err conftest.$ac_objext \
21982 conftest$ac_exeext conftest.$ac_ext
21983 LIBS=$ac_check_lib_save_LIBS
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
21986 $as_echo "$ac_cv_lib_m_erf" >&6; }
21987 if test "x$ac_cv_lib_m_erf" = x""yes; then :
21989 $as_echo "#define HAVE_ERF 1" >>confdefs.h
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
21994 $as_echo_n "checking for erfl in -lm... " >&6; }
21995 if test "${ac_cv_lib_m_erfl+set}" = set; then :
21996 $as_echo_n "(cached) " >&6
21997 else
21998 ac_check_lib_save_LIBS=$LIBS
21999 LIBS="-lm $LIBS"
22000 if test x$gcc_no_link = xyes; then
22001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22004 /* end confdefs.h. */
22006 /* Override any GCC internal prototype to avoid an error.
22007 Use char because int might match the return type of a GCC
22008 builtin and then its argument prototype would still apply. */
22009 #ifdef __cplusplus
22010 extern "C"
22011 #endif
22012 char erfl ();
22014 main ()
22016 return erfl ();
22018 return 0;
22020 _ACEOF
22021 if ac_fn_c_try_link "$LINENO"; then :
22022 ac_cv_lib_m_erfl=yes
22023 else
22024 ac_cv_lib_m_erfl=no
22026 rm -f core conftest.err conftest.$ac_objext \
22027 conftest$ac_exeext conftest.$ac_ext
22028 LIBS=$ac_check_lib_save_LIBS
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22031 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22032 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22034 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22039 $as_echo_n "checking for erfcf in -lm... " >&6; }
22040 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22041 $as_echo_n "(cached) " >&6
22042 else
22043 ac_check_lib_save_LIBS=$LIBS
22044 LIBS="-lm $LIBS"
22045 if test x$gcc_no_link = xyes; then
22046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22049 /* end confdefs.h. */
22051 /* Override any GCC internal prototype to avoid an error.
22052 Use char because int might match the return type of a GCC
22053 builtin and then its argument prototype would still apply. */
22054 #ifdef __cplusplus
22055 extern "C"
22056 #endif
22057 char erfcf ();
22059 main ()
22061 return erfcf ();
22063 return 0;
22065 _ACEOF
22066 if ac_fn_c_try_link "$LINENO"; then :
22067 ac_cv_lib_m_erfcf=yes
22068 else
22069 ac_cv_lib_m_erfcf=no
22071 rm -f core conftest.err conftest.$ac_objext \
22072 conftest$ac_exeext conftest.$ac_ext
22073 LIBS=$ac_check_lib_save_LIBS
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22076 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22077 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22079 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22084 $as_echo_n "checking for erfc in -lm... " >&6; }
22085 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22087 else
22088 ac_check_lib_save_LIBS=$LIBS
22089 LIBS="-lm $LIBS"
22090 if test x$gcc_no_link = xyes; then
22091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h. */
22096 /* Override any GCC internal prototype to avoid an error.
22097 Use char because int might match the return type of a GCC
22098 builtin and then its argument prototype would still apply. */
22099 #ifdef __cplusplus
22100 extern "C"
22101 #endif
22102 char erfc ();
22104 main ()
22106 return erfc ();
22108 return 0;
22110 _ACEOF
22111 if ac_fn_c_try_link "$LINENO"; then :
22112 ac_cv_lib_m_erfc=yes
22113 else
22114 ac_cv_lib_m_erfc=no
22116 rm -f core conftest.err conftest.$ac_objext \
22117 conftest$ac_exeext conftest.$ac_ext
22118 LIBS=$ac_check_lib_save_LIBS
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22121 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22122 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22124 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22129 $as_echo_n "checking for erfcl in -lm... " >&6; }
22130 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22131 $as_echo_n "(cached) " >&6
22132 else
22133 ac_check_lib_save_LIBS=$LIBS
22134 LIBS="-lm $LIBS"
22135 if test x$gcc_no_link = xyes; then
22136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22139 /* end confdefs.h. */
22141 /* Override any GCC internal prototype to avoid an error.
22142 Use char because int might match the return type of a GCC
22143 builtin and then its argument prototype would still apply. */
22144 #ifdef __cplusplus
22145 extern "C"
22146 #endif
22147 char erfcl ();
22149 main ()
22151 return erfcl ();
22153 return 0;
22155 _ACEOF
22156 if ac_fn_c_try_link "$LINENO"; then :
22157 ac_cv_lib_m_erfcl=yes
22158 else
22159 ac_cv_lib_m_erfcl=no
22161 rm -f core conftest.err conftest.$ac_objext \
22162 conftest$ac_exeext conftest.$ac_ext
22163 LIBS=$ac_check_lib_save_LIBS
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22166 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22167 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22169 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22174 $as_echo_n "checking for j0f in -lm... " >&6; }
22175 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22176 $as_echo_n "(cached) " >&6
22177 else
22178 ac_check_lib_save_LIBS=$LIBS
22179 LIBS="-lm $LIBS"
22180 if test x$gcc_no_link = xyes; then
22181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h. */
22186 /* Override any GCC internal prototype to avoid an error.
22187 Use char because int might match the return type of a GCC
22188 builtin and then its argument prototype would still apply. */
22189 #ifdef __cplusplus
22190 extern "C"
22191 #endif
22192 char j0f ();
22194 main ()
22196 return j0f ();
22198 return 0;
22200 _ACEOF
22201 if ac_fn_c_try_link "$LINENO"; then :
22202 ac_cv_lib_m_j0f=yes
22203 else
22204 ac_cv_lib_m_j0f=no
22206 rm -f core conftest.err conftest.$ac_objext \
22207 conftest$ac_exeext conftest.$ac_ext
22208 LIBS=$ac_check_lib_save_LIBS
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22211 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22212 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22214 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22219 $as_echo_n "checking for j0 in -lm... " >&6; }
22220 if test "${ac_cv_lib_m_j0+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22222 else
22223 ac_check_lib_save_LIBS=$LIBS
22224 LIBS="-lm $LIBS"
22225 if test x$gcc_no_link = xyes; then
22226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22229 /* end confdefs.h. */
22231 /* Override any GCC internal prototype to avoid an error.
22232 Use char because int might match the return type of a GCC
22233 builtin and then its argument prototype would still apply. */
22234 #ifdef __cplusplus
22235 extern "C"
22236 #endif
22237 char j0 ();
22239 main ()
22241 return j0 ();
22243 return 0;
22245 _ACEOF
22246 if ac_fn_c_try_link "$LINENO"; then :
22247 ac_cv_lib_m_j0=yes
22248 else
22249 ac_cv_lib_m_j0=no
22251 rm -f core conftest.err conftest.$ac_objext \
22252 conftest$ac_exeext conftest.$ac_ext
22253 LIBS=$ac_check_lib_save_LIBS
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22256 $as_echo "$ac_cv_lib_m_j0" >&6; }
22257 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22259 $as_echo "#define HAVE_J0 1" >>confdefs.h
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22264 $as_echo_n "checking for j0l in -lm... " >&6; }
22265 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22266 $as_echo_n "(cached) " >&6
22267 else
22268 ac_check_lib_save_LIBS=$LIBS
22269 LIBS="-lm $LIBS"
22270 if test x$gcc_no_link = xyes; then
22271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22276 /* Override any GCC internal prototype to avoid an error.
22277 Use char because int might match the return type of a GCC
22278 builtin and then its argument prototype would still apply. */
22279 #ifdef __cplusplus
22280 extern "C"
22281 #endif
22282 char j0l ();
22284 main ()
22286 return j0l ();
22288 return 0;
22290 _ACEOF
22291 if ac_fn_c_try_link "$LINENO"; then :
22292 ac_cv_lib_m_j0l=yes
22293 else
22294 ac_cv_lib_m_j0l=no
22296 rm -f core conftest.err conftest.$ac_objext \
22297 conftest$ac_exeext conftest.$ac_ext
22298 LIBS=$ac_check_lib_save_LIBS
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22301 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22302 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22304 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22309 $as_echo_n "checking for j1f in -lm... " >&6; }
22310 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22311 $as_echo_n "(cached) " >&6
22312 else
22313 ac_check_lib_save_LIBS=$LIBS
22314 LIBS="-lm $LIBS"
22315 if test x$gcc_no_link = xyes; then
22316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h. */
22321 /* Override any GCC internal prototype to avoid an error.
22322 Use char because int might match the return type of a GCC
22323 builtin and then its argument prototype would still apply. */
22324 #ifdef __cplusplus
22325 extern "C"
22326 #endif
22327 char j1f ();
22329 main ()
22331 return j1f ();
22333 return 0;
22335 _ACEOF
22336 if ac_fn_c_try_link "$LINENO"; then :
22337 ac_cv_lib_m_j1f=yes
22338 else
22339 ac_cv_lib_m_j1f=no
22341 rm -f core conftest.err conftest.$ac_objext \
22342 conftest$ac_exeext conftest.$ac_ext
22343 LIBS=$ac_check_lib_save_LIBS
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22346 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22347 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22349 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22354 $as_echo_n "checking for j1 in -lm... " >&6; }
22355 if test "${ac_cv_lib_m_j1+set}" = set; then :
22356 $as_echo_n "(cached) " >&6
22357 else
22358 ac_check_lib_save_LIBS=$LIBS
22359 LIBS="-lm $LIBS"
22360 if test x$gcc_no_link = xyes; then
22361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22366 /* Override any GCC internal prototype to avoid an error.
22367 Use char because int might match the return type of a GCC
22368 builtin and then its argument prototype would still apply. */
22369 #ifdef __cplusplus
22370 extern "C"
22371 #endif
22372 char j1 ();
22374 main ()
22376 return j1 ();
22378 return 0;
22380 _ACEOF
22381 if ac_fn_c_try_link "$LINENO"; then :
22382 ac_cv_lib_m_j1=yes
22383 else
22384 ac_cv_lib_m_j1=no
22386 rm -f core conftest.err conftest.$ac_objext \
22387 conftest$ac_exeext conftest.$ac_ext
22388 LIBS=$ac_check_lib_save_LIBS
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22391 $as_echo "$ac_cv_lib_m_j1" >&6; }
22392 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22394 $as_echo "#define HAVE_J1 1" >>confdefs.h
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22399 $as_echo_n "checking for j1l in -lm... " >&6; }
22400 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22401 $as_echo_n "(cached) " >&6
22402 else
22403 ac_check_lib_save_LIBS=$LIBS
22404 LIBS="-lm $LIBS"
22405 if test x$gcc_no_link = xyes; then
22406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22411 /* Override any GCC internal prototype to avoid an error.
22412 Use char because int might match the return type of a GCC
22413 builtin and then its argument prototype would still apply. */
22414 #ifdef __cplusplus
22415 extern "C"
22416 #endif
22417 char j1l ();
22419 main ()
22421 return j1l ();
22423 return 0;
22425 _ACEOF
22426 if ac_fn_c_try_link "$LINENO"; then :
22427 ac_cv_lib_m_j1l=yes
22428 else
22429 ac_cv_lib_m_j1l=no
22431 rm -f core conftest.err conftest.$ac_objext \
22432 conftest$ac_exeext conftest.$ac_ext
22433 LIBS=$ac_check_lib_save_LIBS
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22436 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22437 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22439 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22444 $as_echo_n "checking for jnf in -lm... " >&6; }
22445 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22446 $as_echo_n "(cached) " >&6
22447 else
22448 ac_check_lib_save_LIBS=$LIBS
22449 LIBS="-lm $LIBS"
22450 if test x$gcc_no_link = xyes; then
22451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22456 /* Override any GCC internal prototype to avoid an error.
22457 Use char because int might match the return type of a GCC
22458 builtin and then its argument prototype would still apply. */
22459 #ifdef __cplusplus
22460 extern "C"
22461 #endif
22462 char jnf ();
22464 main ()
22466 return jnf ();
22468 return 0;
22470 _ACEOF
22471 if ac_fn_c_try_link "$LINENO"; then :
22472 ac_cv_lib_m_jnf=yes
22473 else
22474 ac_cv_lib_m_jnf=no
22476 rm -f core conftest.err conftest.$ac_objext \
22477 conftest$ac_exeext conftest.$ac_ext
22478 LIBS=$ac_check_lib_save_LIBS
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22481 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22482 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22484 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22489 $as_echo_n "checking for jn in -lm... " >&6; }
22490 if test "${ac_cv_lib_m_jn+set}" = set; then :
22491 $as_echo_n "(cached) " >&6
22492 else
22493 ac_check_lib_save_LIBS=$LIBS
22494 LIBS="-lm $LIBS"
22495 if test x$gcc_no_link = xyes; then
22496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h. */
22501 /* Override any GCC internal prototype to avoid an error.
22502 Use char because int might match the return type of a GCC
22503 builtin and then its argument prototype would still apply. */
22504 #ifdef __cplusplus
22505 extern "C"
22506 #endif
22507 char jn ();
22509 main ()
22511 return jn ();
22513 return 0;
22515 _ACEOF
22516 if ac_fn_c_try_link "$LINENO"; then :
22517 ac_cv_lib_m_jn=yes
22518 else
22519 ac_cv_lib_m_jn=no
22521 rm -f core conftest.err conftest.$ac_objext \
22522 conftest$ac_exeext conftest.$ac_ext
22523 LIBS=$ac_check_lib_save_LIBS
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22526 $as_echo "$ac_cv_lib_m_jn" >&6; }
22527 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22529 $as_echo "#define HAVE_JN 1" >>confdefs.h
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22534 $as_echo_n "checking for jnl in -lm... " >&6; }
22535 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22536 $as_echo_n "(cached) " >&6
22537 else
22538 ac_check_lib_save_LIBS=$LIBS
22539 LIBS="-lm $LIBS"
22540 if test x$gcc_no_link = xyes; then
22541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22546 /* Override any GCC internal prototype to avoid an error.
22547 Use char because int might match the return type of a GCC
22548 builtin and then its argument prototype would still apply. */
22549 #ifdef __cplusplus
22550 extern "C"
22551 #endif
22552 char jnl ();
22554 main ()
22556 return jnl ();
22558 return 0;
22560 _ACEOF
22561 if ac_fn_c_try_link "$LINENO"; then :
22562 ac_cv_lib_m_jnl=yes
22563 else
22564 ac_cv_lib_m_jnl=no
22566 rm -f core conftest.err conftest.$ac_objext \
22567 conftest$ac_exeext conftest.$ac_ext
22568 LIBS=$ac_check_lib_save_LIBS
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22571 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22572 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22574 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22579 $as_echo_n "checking for y0f in -lm... " >&6; }
22580 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22581 $as_echo_n "(cached) " >&6
22582 else
22583 ac_check_lib_save_LIBS=$LIBS
22584 LIBS="-lm $LIBS"
22585 if test x$gcc_no_link = xyes; then
22586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22589 /* end confdefs.h. */
22591 /* Override any GCC internal prototype to avoid an error.
22592 Use char because int might match the return type of a GCC
22593 builtin and then its argument prototype would still apply. */
22594 #ifdef __cplusplus
22595 extern "C"
22596 #endif
22597 char y0f ();
22599 main ()
22601 return y0f ();
22603 return 0;
22605 _ACEOF
22606 if ac_fn_c_try_link "$LINENO"; then :
22607 ac_cv_lib_m_y0f=yes
22608 else
22609 ac_cv_lib_m_y0f=no
22611 rm -f core conftest.err conftest.$ac_objext \
22612 conftest$ac_exeext conftest.$ac_ext
22613 LIBS=$ac_check_lib_save_LIBS
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22616 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22617 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22619 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22624 $as_echo_n "checking for y0 in -lm... " >&6; }
22625 if test "${ac_cv_lib_m_y0+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22628 ac_check_lib_save_LIBS=$LIBS
22629 LIBS="-lm $LIBS"
22630 if test x$gcc_no_link = xyes; then
22631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22636 /* Override any GCC internal prototype to avoid an error.
22637 Use char because int might match the return type of a GCC
22638 builtin and then its argument prototype would still apply. */
22639 #ifdef __cplusplus
22640 extern "C"
22641 #endif
22642 char y0 ();
22644 main ()
22646 return y0 ();
22648 return 0;
22650 _ACEOF
22651 if ac_fn_c_try_link "$LINENO"; then :
22652 ac_cv_lib_m_y0=yes
22653 else
22654 ac_cv_lib_m_y0=no
22656 rm -f core conftest.err conftest.$ac_objext \
22657 conftest$ac_exeext conftest.$ac_ext
22658 LIBS=$ac_check_lib_save_LIBS
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22661 $as_echo "$ac_cv_lib_m_y0" >&6; }
22662 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22664 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22669 $as_echo_n "checking for y0l in -lm... " >&6; }
22670 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22671 $as_echo_n "(cached) " >&6
22672 else
22673 ac_check_lib_save_LIBS=$LIBS
22674 LIBS="-lm $LIBS"
22675 if test x$gcc_no_link = xyes; then
22676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h. */
22681 /* Override any GCC internal prototype to avoid an error.
22682 Use char because int might match the return type of a GCC
22683 builtin and then its argument prototype would still apply. */
22684 #ifdef __cplusplus
22685 extern "C"
22686 #endif
22687 char y0l ();
22689 main ()
22691 return y0l ();
22693 return 0;
22695 _ACEOF
22696 if ac_fn_c_try_link "$LINENO"; then :
22697 ac_cv_lib_m_y0l=yes
22698 else
22699 ac_cv_lib_m_y0l=no
22701 rm -f core conftest.err conftest.$ac_objext \
22702 conftest$ac_exeext conftest.$ac_ext
22703 LIBS=$ac_check_lib_save_LIBS
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22706 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22707 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22709 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22714 $as_echo_n "checking for y1f in -lm... " >&6; }
22715 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22716 $as_echo_n "(cached) " >&6
22717 else
22718 ac_check_lib_save_LIBS=$LIBS
22719 LIBS="-lm $LIBS"
22720 if test x$gcc_no_link = xyes; then
22721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h. */
22726 /* Override any GCC internal prototype to avoid an error.
22727 Use char because int might match the return type of a GCC
22728 builtin and then its argument prototype would still apply. */
22729 #ifdef __cplusplus
22730 extern "C"
22731 #endif
22732 char y1f ();
22734 main ()
22736 return y1f ();
22738 return 0;
22740 _ACEOF
22741 if ac_fn_c_try_link "$LINENO"; then :
22742 ac_cv_lib_m_y1f=yes
22743 else
22744 ac_cv_lib_m_y1f=no
22746 rm -f core conftest.err conftest.$ac_objext \
22747 conftest$ac_exeext conftest.$ac_ext
22748 LIBS=$ac_check_lib_save_LIBS
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22751 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22752 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22754 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22759 $as_echo_n "checking for y1 in -lm... " >&6; }
22760 if test "${ac_cv_lib_m_y1+set}" = set; then :
22761 $as_echo_n "(cached) " >&6
22762 else
22763 ac_check_lib_save_LIBS=$LIBS
22764 LIBS="-lm $LIBS"
22765 if test x$gcc_no_link = xyes; then
22766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22769 /* end confdefs.h. */
22771 /* Override any GCC internal prototype to avoid an error.
22772 Use char because int might match the return type of a GCC
22773 builtin and then its argument prototype would still apply. */
22774 #ifdef __cplusplus
22775 extern "C"
22776 #endif
22777 char y1 ();
22779 main ()
22781 return y1 ();
22783 return 0;
22785 _ACEOF
22786 if ac_fn_c_try_link "$LINENO"; then :
22787 ac_cv_lib_m_y1=yes
22788 else
22789 ac_cv_lib_m_y1=no
22791 rm -f core conftest.err conftest.$ac_objext \
22792 conftest$ac_exeext conftest.$ac_ext
22793 LIBS=$ac_check_lib_save_LIBS
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22796 $as_echo "$ac_cv_lib_m_y1" >&6; }
22797 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22799 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22804 $as_echo_n "checking for y1l in -lm... " >&6; }
22805 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22806 $as_echo_n "(cached) " >&6
22807 else
22808 ac_check_lib_save_LIBS=$LIBS
22809 LIBS="-lm $LIBS"
22810 if test x$gcc_no_link = xyes; then
22811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22814 /* end confdefs.h. */
22816 /* Override any GCC internal prototype to avoid an error.
22817 Use char because int might match the return type of a GCC
22818 builtin and then its argument prototype would still apply. */
22819 #ifdef __cplusplus
22820 extern "C"
22821 #endif
22822 char y1l ();
22824 main ()
22826 return y1l ();
22828 return 0;
22830 _ACEOF
22831 if ac_fn_c_try_link "$LINENO"; then :
22832 ac_cv_lib_m_y1l=yes
22833 else
22834 ac_cv_lib_m_y1l=no
22836 rm -f core conftest.err conftest.$ac_objext \
22837 conftest$ac_exeext conftest.$ac_ext
22838 LIBS=$ac_check_lib_save_LIBS
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22841 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22842 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22844 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22849 $as_echo_n "checking for ynf in -lm... " >&6; }
22850 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22851 $as_echo_n "(cached) " >&6
22852 else
22853 ac_check_lib_save_LIBS=$LIBS
22854 LIBS="-lm $LIBS"
22855 if test x$gcc_no_link = xyes; then
22856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22859 /* end confdefs.h. */
22861 /* Override any GCC internal prototype to avoid an error.
22862 Use char because int might match the return type of a GCC
22863 builtin and then its argument prototype would still apply. */
22864 #ifdef __cplusplus
22865 extern "C"
22866 #endif
22867 char ynf ();
22869 main ()
22871 return ynf ();
22873 return 0;
22875 _ACEOF
22876 if ac_fn_c_try_link "$LINENO"; then :
22877 ac_cv_lib_m_ynf=yes
22878 else
22879 ac_cv_lib_m_ynf=no
22881 rm -f core conftest.err conftest.$ac_objext \
22882 conftest$ac_exeext conftest.$ac_ext
22883 LIBS=$ac_check_lib_save_LIBS
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22886 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22887 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22889 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22894 $as_echo_n "checking for yn in -lm... " >&6; }
22895 if test "${ac_cv_lib_m_yn+set}" = set; then :
22896 $as_echo_n "(cached) " >&6
22897 else
22898 ac_check_lib_save_LIBS=$LIBS
22899 LIBS="-lm $LIBS"
22900 if test x$gcc_no_link = xyes; then
22901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h. */
22906 /* Override any GCC internal prototype to avoid an error.
22907 Use char because int might match the return type of a GCC
22908 builtin and then its argument prototype would still apply. */
22909 #ifdef __cplusplus
22910 extern "C"
22911 #endif
22912 char yn ();
22914 main ()
22916 return yn ();
22918 return 0;
22920 _ACEOF
22921 if ac_fn_c_try_link "$LINENO"; then :
22922 ac_cv_lib_m_yn=yes
22923 else
22924 ac_cv_lib_m_yn=no
22926 rm -f core conftest.err conftest.$ac_objext \
22927 conftest$ac_exeext conftest.$ac_ext
22928 LIBS=$ac_check_lib_save_LIBS
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22931 $as_echo "$ac_cv_lib_m_yn" >&6; }
22932 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22934 $as_echo "#define HAVE_YN 1" >>confdefs.h
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22939 $as_echo_n "checking for ynl in -lm... " >&6; }
22940 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22941 $as_echo_n "(cached) " >&6
22942 else
22943 ac_check_lib_save_LIBS=$LIBS
22944 LIBS="-lm $LIBS"
22945 if test x$gcc_no_link = xyes; then
22946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22951 /* Override any GCC internal prototype to avoid an error.
22952 Use char because int might match the return type of a GCC
22953 builtin and then its argument prototype would still apply. */
22954 #ifdef __cplusplus
22955 extern "C"
22956 #endif
22957 char ynl ();
22959 main ()
22961 return ynl ();
22963 return 0;
22965 _ACEOF
22966 if ac_fn_c_try_link "$LINENO"; then :
22967 ac_cv_lib_m_ynl=yes
22968 else
22969 ac_cv_lib_m_ynl=no
22971 rm -f core conftest.err conftest.$ac_objext \
22972 conftest$ac_exeext conftest.$ac_ext
22973 LIBS=$ac_check_lib_save_LIBS
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
22976 $as_echo "$ac_cv_lib_m_ynl" >&6; }
22977 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
22979 $as_echo "#define HAVE_YNL 1" >>confdefs.h
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
22984 $as_echo_n "checking for tgamma in -lm... " >&6; }
22985 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
22986 $as_echo_n "(cached) " >&6
22987 else
22988 ac_check_lib_save_LIBS=$LIBS
22989 LIBS="-lm $LIBS"
22990 if test x$gcc_no_link = xyes; then
22991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22996 /* Override any GCC internal prototype to avoid an error.
22997 Use char because int might match the return type of a GCC
22998 builtin and then its argument prototype would still apply. */
22999 #ifdef __cplusplus
23000 extern "C"
23001 #endif
23002 char tgamma ();
23004 main ()
23006 return tgamma ();
23008 return 0;
23010 _ACEOF
23011 if ac_fn_c_try_link "$LINENO"; then :
23012 ac_cv_lib_m_tgamma=yes
23013 else
23014 ac_cv_lib_m_tgamma=no
23016 rm -f core conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23018 LIBS=$ac_check_lib_save_LIBS
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23021 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23022 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23024 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23029 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23030 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23031 $as_echo_n "(cached) " >&6
23032 else
23033 ac_check_lib_save_LIBS=$LIBS
23034 LIBS="-lm $LIBS"
23035 if test x$gcc_no_link = xyes; then
23036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h. */
23041 /* Override any GCC internal prototype to avoid an error.
23042 Use char because int might match the return type of a GCC
23043 builtin and then its argument prototype would still apply. */
23044 #ifdef __cplusplus
23045 extern "C"
23046 #endif
23047 char tgammaf ();
23049 main ()
23051 return tgammaf ();
23053 return 0;
23055 _ACEOF
23056 if ac_fn_c_try_link "$LINENO"; then :
23057 ac_cv_lib_m_tgammaf=yes
23058 else
23059 ac_cv_lib_m_tgammaf=no
23061 rm -f core conftest.err conftest.$ac_objext \
23062 conftest$ac_exeext conftest.$ac_ext
23063 LIBS=$ac_check_lib_save_LIBS
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23066 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23067 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23069 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23074 $as_echo_n "checking for tgammal in -lm... " >&6; }
23075 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23076 $as_echo_n "(cached) " >&6
23077 else
23078 ac_check_lib_save_LIBS=$LIBS
23079 LIBS="-lm $LIBS"
23080 if test x$gcc_no_link = xyes; then
23081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23084 /* end confdefs.h. */
23086 /* Override any GCC internal prototype to avoid an error.
23087 Use char because int might match the return type of a GCC
23088 builtin and then its argument prototype would still apply. */
23089 #ifdef __cplusplus
23090 extern "C"
23091 #endif
23092 char tgammal ();
23094 main ()
23096 return tgammal ();
23098 return 0;
23100 _ACEOF
23101 if ac_fn_c_try_link "$LINENO"; then :
23102 ac_cv_lib_m_tgammal=yes
23103 else
23104 ac_cv_lib_m_tgammal=no
23106 rm -f core conftest.err conftest.$ac_objext \
23107 conftest$ac_exeext conftest.$ac_ext
23108 LIBS=$ac_check_lib_save_LIBS
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23111 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23112 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23114 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23119 $as_echo_n "checking for lgamma in -lm... " >&6; }
23120 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23121 $as_echo_n "(cached) " >&6
23122 else
23123 ac_check_lib_save_LIBS=$LIBS
23124 LIBS="-lm $LIBS"
23125 if test x$gcc_no_link = xyes; then
23126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23131 /* Override any GCC internal prototype to avoid an error.
23132 Use char because int might match the return type of a GCC
23133 builtin and then its argument prototype would still apply. */
23134 #ifdef __cplusplus
23135 extern "C"
23136 #endif
23137 char lgamma ();
23139 main ()
23141 return lgamma ();
23143 return 0;
23145 _ACEOF
23146 if ac_fn_c_try_link "$LINENO"; then :
23147 ac_cv_lib_m_lgamma=yes
23148 else
23149 ac_cv_lib_m_lgamma=no
23151 rm -f core conftest.err conftest.$ac_objext \
23152 conftest$ac_exeext conftest.$ac_ext
23153 LIBS=$ac_check_lib_save_LIBS
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23156 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23157 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23159 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23164 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23165 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23168 ac_check_lib_save_LIBS=$LIBS
23169 LIBS="-lm $LIBS"
23170 if test x$gcc_no_link = xyes; then
23171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23176 /* Override any GCC internal prototype to avoid an error.
23177 Use char because int might match the return type of a GCC
23178 builtin and then its argument prototype would still apply. */
23179 #ifdef __cplusplus
23180 extern "C"
23181 #endif
23182 char lgammaf ();
23184 main ()
23186 return lgammaf ();
23188 return 0;
23190 _ACEOF
23191 if ac_fn_c_try_link "$LINENO"; then :
23192 ac_cv_lib_m_lgammaf=yes
23193 else
23194 ac_cv_lib_m_lgammaf=no
23196 rm -f core conftest.err conftest.$ac_objext \
23197 conftest$ac_exeext conftest.$ac_ext
23198 LIBS=$ac_check_lib_save_LIBS
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23201 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23202 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23204 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23209 $as_echo_n "checking for lgammal in -lm... " >&6; }
23210 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23211 $as_echo_n "(cached) " >&6
23212 else
23213 ac_check_lib_save_LIBS=$LIBS
23214 LIBS="-lm $LIBS"
23215 if test x$gcc_no_link = xyes; then
23216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23221 /* Override any GCC internal prototype to avoid an error.
23222 Use char because int might match the return type of a GCC
23223 builtin and then its argument prototype would still apply. */
23224 #ifdef __cplusplus
23225 extern "C"
23226 #endif
23227 char lgammal ();
23229 main ()
23231 return lgammal ();
23233 return 0;
23235 _ACEOF
23236 if ac_fn_c_try_link "$LINENO"; then :
23237 ac_cv_lib_m_lgammal=yes
23238 else
23239 ac_cv_lib_m_lgammal=no
23241 rm -f core conftest.err conftest.$ac_objext \
23242 conftest$ac_exeext conftest.$ac_ext
23243 LIBS=$ac_check_lib_save_LIBS
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23246 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23247 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23249 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23254 # Check for GFORTRAN_C99_1.1 funcs
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23256 $as_echo_n "checking for cacos in -lm... " >&6; }
23257 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23259 else
23260 ac_check_lib_save_LIBS=$LIBS
23261 LIBS="-lm $LIBS"
23262 if test x$gcc_no_link = xyes; then
23263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23268 /* Override any GCC internal prototype to avoid an error.
23269 Use char because int might match the return type of a GCC
23270 builtin and then its argument prototype would still apply. */
23271 #ifdef __cplusplus
23272 extern "C"
23273 #endif
23274 char cacos ();
23276 main ()
23278 return cacos ();
23280 return 0;
23282 _ACEOF
23283 if ac_fn_c_try_link "$LINENO"; then :
23284 ac_cv_lib_m_cacos=yes
23285 else
23286 ac_cv_lib_m_cacos=no
23288 rm -f core conftest.err conftest.$ac_objext \
23289 conftest$ac_exeext conftest.$ac_ext
23290 LIBS=$ac_check_lib_save_LIBS
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23293 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23294 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23296 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23301 $as_echo_n "checking for cacosf in -lm... " >&6; }
23302 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23303 $as_echo_n "(cached) " >&6
23304 else
23305 ac_check_lib_save_LIBS=$LIBS
23306 LIBS="-lm $LIBS"
23307 if test x$gcc_no_link = xyes; then
23308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23311 /* end confdefs.h. */
23313 /* Override any GCC internal prototype to avoid an error.
23314 Use char because int might match the return type of a GCC
23315 builtin and then its argument prototype would still apply. */
23316 #ifdef __cplusplus
23317 extern "C"
23318 #endif
23319 char cacosf ();
23321 main ()
23323 return cacosf ();
23325 return 0;
23327 _ACEOF
23328 if ac_fn_c_try_link "$LINENO"; then :
23329 ac_cv_lib_m_cacosf=yes
23330 else
23331 ac_cv_lib_m_cacosf=no
23333 rm -f core conftest.err conftest.$ac_objext \
23334 conftest$ac_exeext conftest.$ac_ext
23335 LIBS=$ac_check_lib_save_LIBS
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23338 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23339 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23341 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23346 $as_echo_n "checking for cacosh in -lm... " >&6; }
23347 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23348 $as_echo_n "(cached) " >&6
23349 else
23350 ac_check_lib_save_LIBS=$LIBS
23351 LIBS="-lm $LIBS"
23352 if test x$gcc_no_link = xyes; then
23353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h. */
23358 /* Override any GCC internal prototype to avoid an error.
23359 Use char because int might match the return type of a GCC
23360 builtin and then its argument prototype would still apply. */
23361 #ifdef __cplusplus
23362 extern "C"
23363 #endif
23364 char cacosh ();
23366 main ()
23368 return cacosh ();
23370 return 0;
23372 _ACEOF
23373 if ac_fn_c_try_link "$LINENO"; then :
23374 ac_cv_lib_m_cacosh=yes
23375 else
23376 ac_cv_lib_m_cacosh=no
23378 rm -f core conftest.err conftest.$ac_objext \
23379 conftest$ac_exeext conftest.$ac_ext
23380 LIBS=$ac_check_lib_save_LIBS
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23383 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23384 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23386 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23391 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23392 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23393 $as_echo_n "(cached) " >&6
23394 else
23395 ac_check_lib_save_LIBS=$LIBS
23396 LIBS="-lm $LIBS"
23397 if test x$gcc_no_link = xyes; then
23398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23403 /* Override any GCC internal prototype to avoid an error.
23404 Use char because int might match the return type of a GCC
23405 builtin and then its argument prototype would still apply. */
23406 #ifdef __cplusplus
23407 extern "C"
23408 #endif
23409 char cacoshf ();
23411 main ()
23413 return cacoshf ();
23415 return 0;
23417 _ACEOF
23418 if ac_fn_c_try_link "$LINENO"; then :
23419 ac_cv_lib_m_cacoshf=yes
23420 else
23421 ac_cv_lib_m_cacoshf=no
23423 rm -f core conftest.err conftest.$ac_objext \
23424 conftest$ac_exeext conftest.$ac_ext
23425 LIBS=$ac_check_lib_save_LIBS
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23428 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23429 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23431 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23436 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23437 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23438 $as_echo_n "(cached) " >&6
23439 else
23440 ac_check_lib_save_LIBS=$LIBS
23441 LIBS="-lm $LIBS"
23442 if test x$gcc_no_link = xyes; then
23443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h. */
23448 /* Override any GCC internal prototype to avoid an error.
23449 Use char because int might match the return type of a GCC
23450 builtin and then its argument prototype would still apply. */
23451 #ifdef __cplusplus
23452 extern "C"
23453 #endif
23454 char cacoshl ();
23456 main ()
23458 return cacoshl ();
23460 return 0;
23462 _ACEOF
23463 if ac_fn_c_try_link "$LINENO"; then :
23464 ac_cv_lib_m_cacoshl=yes
23465 else
23466 ac_cv_lib_m_cacoshl=no
23468 rm -f core conftest.err conftest.$ac_objext \
23469 conftest$ac_exeext conftest.$ac_ext
23470 LIBS=$ac_check_lib_save_LIBS
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23473 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23474 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23476 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23481 $as_echo_n "checking for cacosl in -lm... " >&6; }
23482 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23483 $as_echo_n "(cached) " >&6
23484 else
23485 ac_check_lib_save_LIBS=$LIBS
23486 LIBS="-lm $LIBS"
23487 if test x$gcc_no_link = xyes; then
23488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h. */
23493 /* Override any GCC internal prototype to avoid an error.
23494 Use char because int might match the return type of a GCC
23495 builtin and then its argument prototype would still apply. */
23496 #ifdef __cplusplus
23497 extern "C"
23498 #endif
23499 char cacosl ();
23501 main ()
23503 return cacosl ();
23505 return 0;
23507 _ACEOF
23508 if ac_fn_c_try_link "$LINENO"; then :
23509 ac_cv_lib_m_cacosl=yes
23510 else
23511 ac_cv_lib_m_cacosl=no
23513 rm -f core conftest.err conftest.$ac_objext \
23514 conftest$ac_exeext conftest.$ac_ext
23515 LIBS=$ac_check_lib_save_LIBS
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23518 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23519 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23521 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23526 $as_echo_n "checking for casin in -lm... " >&6; }
23527 if test "${ac_cv_lib_m_casin+set}" = set; then :
23528 $as_echo_n "(cached) " >&6
23529 else
23530 ac_check_lib_save_LIBS=$LIBS
23531 LIBS="-lm $LIBS"
23532 if test x$gcc_no_link = xyes; then
23533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23538 /* Override any GCC internal prototype to avoid an error.
23539 Use char because int might match the return type of a GCC
23540 builtin and then its argument prototype would still apply. */
23541 #ifdef __cplusplus
23542 extern "C"
23543 #endif
23544 char casin ();
23546 main ()
23548 return casin ();
23550 return 0;
23552 _ACEOF
23553 if ac_fn_c_try_link "$LINENO"; then :
23554 ac_cv_lib_m_casin=yes
23555 else
23556 ac_cv_lib_m_casin=no
23558 rm -f core conftest.err conftest.$ac_objext \
23559 conftest$ac_exeext conftest.$ac_ext
23560 LIBS=$ac_check_lib_save_LIBS
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23563 $as_echo "$ac_cv_lib_m_casin" >&6; }
23564 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23566 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23571 $as_echo_n "checking for casinf in -lm... " >&6; }
23572 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23573 $as_echo_n "(cached) " >&6
23574 else
23575 ac_check_lib_save_LIBS=$LIBS
23576 LIBS="-lm $LIBS"
23577 if test x$gcc_no_link = xyes; then
23578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h. */
23583 /* Override any GCC internal prototype to avoid an error.
23584 Use char because int might match the return type of a GCC
23585 builtin and then its argument prototype would still apply. */
23586 #ifdef __cplusplus
23587 extern "C"
23588 #endif
23589 char casinf ();
23591 main ()
23593 return casinf ();
23595 return 0;
23597 _ACEOF
23598 if ac_fn_c_try_link "$LINENO"; then :
23599 ac_cv_lib_m_casinf=yes
23600 else
23601 ac_cv_lib_m_casinf=no
23603 rm -f core conftest.err conftest.$ac_objext \
23604 conftest$ac_exeext conftest.$ac_ext
23605 LIBS=$ac_check_lib_save_LIBS
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23608 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23609 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23611 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23616 $as_echo_n "checking for casinh in -lm... " >&6; }
23617 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23618 $as_echo_n "(cached) " >&6
23619 else
23620 ac_check_lib_save_LIBS=$LIBS
23621 LIBS="-lm $LIBS"
23622 if test x$gcc_no_link = xyes; then
23623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h. */
23628 /* Override any GCC internal prototype to avoid an error.
23629 Use char because int might match the return type of a GCC
23630 builtin and then its argument prototype would still apply. */
23631 #ifdef __cplusplus
23632 extern "C"
23633 #endif
23634 char casinh ();
23636 main ()
23638 return casinh ();
23640 return 0;
23642 _ACEOF
23643 if ac_fn_c_try_link "$LINENO"; then :
23644 ac_cv_lib_m_casinh=yes
23645 else
23646 ac_cv_lib_m_casinh=no
23648 rm -f core conftest.err conftest.$ac_objext \
23649 conftest$ac_exeext conftest.$ac_ext
23650 LIBS=$ac_check_lib_save_LIBS
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23653 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23654 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23656 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23661 $as_echo_n "checking for casinhf in -lm... " >&6; }
23662 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23663 $as_echo_n "(cached) " >&6
23664 else
23665 ac_check_lib_save_LIBS=$LIBS
23666 LIBS="-lm $LIBS"
23667 if test x$gcc_no_link = xyes; then
23668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23673 /* Override any GCC internal prototype to avoid an error.
23674 Use char because int might match the return type of a GCC
23675 builtin and then its argument prototype would still apply. */
23676 #ifdef __cplusplus
23677 extern "C"
23678 #endif
23679 char casinhf ();
23681 main ()
23683 return casinhf ();
23685 return 0;
23687 _ACEOF
23688 if ac_fn_c_try_link "$LINENO"; then :
23689 ac_cv_lib_m_casinhf=yes
23690 else
23691 ac_cv_lib_m_casinhf=no
23693 rm -f core conftest.err conftest.$ac_objext \
23694 conftest$ac_exeext conftest.$ac_ext
23695 LIBS=$ac_check_lib_save_LIBS
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23698 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23699 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23701 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23706 $as_echo_n "checking for casinhl in -lm... " >&6; }
23707 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23708 $as_echo_n "(cached) " >&6
23709 else
23710 ac_check_lib_save_LIBS=$LIBS
23711 LIBS="-lm $LIBS"
23712 if test x$gcc_no_link = xyes; then
23713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h. */
23718 /* Override any GCC internal prototype to avoid an error.
23719 Use char because int might match the return type of a GCC
23720 builtin and then its argument prototype would still apply. */
23721 #ifdef __cplusplus
23722 extern "C"
23723 #endif
23724 char casinhl ();
23726 main ()
23728 return casinhl ();
23730 return 0;
23732 _ACEOF
23733 if ac_fn_c_try_link "$LINENO"; then :
23734 ac_cv_lib_m_casinhl=yes
23735 else
23736 ac_cv_lib_m_casinhl=no
23738 rm -f core conftest.err conftest.$ac_objext \
23739 conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23743 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23744 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23746 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23751 $as_echo_n "checking for casinl in -lm... " >&6; }
23752 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23753 $as_echo_n "(cached) " >&6
23754 else
23755 ac_check_lib_save_LIBS=$LIBS
23756 LIBS="-lm $LIBS"
23757 if test x$gcc_no_link = xyes; then
23758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23763 /* Override any GCC internal prototype to avoid an error.
23764 Use char because int might match the return type of a GCC
23765 builtin and then its argument prototype would still apply. */
23766 #ifdef __cplusplus
23767 extern "C"
23768 #endif
23769 char casinl ();
23771 main ()
23773 return casinl ();
23775 return 0;
23777 _ACEOF
23778 if ac_fn_c_try_link "$LINENO"; then :
23779 ac_cv_lib_m_casinl=yes
23780 else
23781 ac_cv_lib_m_casinl=no
23783 rm -f core conftest.err conftest.$ac_objext \
23784 conftest$ac_exeext conftest.$ac_ext
23785 LIBS=$ac_check_lib_save_LIBS
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23788 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23789 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23791 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23796 $as_echo_n "checking for catan in -lm... " >&6; }
23797 if test "${ac_cv_lib_m_catan+set}" = set; then :
23798 $as_echo_n "(cached) " >&6
23799 else
23800 ac_check_lib_save_LIBS=$LIBS
23801 LIBS="-lm $LIBS"
23802 if test x$gcc_no_link = xyes; then
23803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h. */
23808 /* Override any GCC internal prototype to avoid an error.
23809 Use char because int might match the return type of a GCC
23810 builtin and then its argument prototype would still apply. */
23811 #ifdef __cplusplus
23812 extern "C"
23813 #endif
23814 char catan ();
23816 main ()
23818 return catan ();
23820 return 0;
23822 _ACEOF
23823 if ac_fn_c_try_link "$LINENO"; then :
23824 ac_cv_lib_m_catan=yes
23825 else
23826 ac_cv_lib_m_catan=no
23828 rm -f core conftest.err conftest.$ac_objext \
23829 conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23833 $as_echo "$ac_cv_lib_m_catan" >&6; }
23834 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23836 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23841 $as_echo_n "checking for catanf in -lm... " >&6; }
23842 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23843 $as_echo_n "(cached) " >&6
23844 else
23845 ac_check_lib_save_LIBS=$LIBS
23846 LIBS="-lm $LIBS"
23847 if test x$gcc_no_link = xyes; then
23848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23853 /* Override any GCC internal prototype to avoid an error.
23854 Use char because int might match the return type of a GCC
23855 builtin and then its argument prototype would still apply. */
23856 #ifdef __cplusplus
23857 extern "C"
23858 #endif
23859 char catanf ();
23861 main ()
23863 return catanf ();
23865 return 0;
23867 _ACEOF
23868 if ac_fn_c_try_link "$LINENO"; then :
23869 ac_cv_lib_m_catanf=yes
23870 else
23871 ac_cv_lib_m_catanf=no
23873 rm -f core conftest.err conftest.$ac_objext \
23874 conftest$ac_exeext conftest.$ac_ext
23875 LIBS=$ac_check_lib_save_LIBS
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23878 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23879 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23881 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23886 $as_echo_n "checking for catanh in -lm... " >&6; }
23887 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23888 $as_echo_n "(cached) " >&6
23889 else
23890 ac_check_lib_save_LIBS=$LIBS
23891 LIBS="-lm $LIBS"
23892 if test x$gcc_no_link = xyes; then
23893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23898 /* Override any GCC internal prototype to avoid an error.
23899 Use char because int might match the return type of a GCC
23900 builtin and then its argument prototype would still apply. */
23901 #ifdef __cplusplus
23902 extern "C"
23903 #endif
23904 char catanh ();
23906 main ()
23908 return catanh ();
23910 return 0;
23912 _ACEOF
23913 if ac_fn_c_try_link "$LINENO"; then :
23914 ac_cv_lib_m_catanh=yes
23915 else
23916 ac_cv_lib_m_catanh=no
23918 rm -f core conftest.err conftest.$ac_objext \
23919 conftest$ac_exeext conftest.$ac_ext
23920 LIBS=$ac_check_lib_save_LIBS
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23923 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23924 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23926 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23931 $as_echo_n "checking for catanhf in -lm... " >&6; }
23932 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23933 $as_echo_n "(cached) " >&6
23934 else
23935 ac_check_lib_save_LIBS=$LIBS
23936 LIBS="-lm $LIBS"
23937 if test x$gcc_no_link = xyes; then
23938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23941 /* end confdefs.h. */
23943 /* Override any GCC internal prototype to avoid an error.
23944 Use char because int might match the return type of a GCC
23945 builtin and then its argument prototype would still apply. */
23946 #ifdef __cplusplus
23947 extern "C"
23948 #endif
23949 char catanhf ();
23951 main ()
23953 return catanhf ();
23955 return 0;
23957 _ACEOF
23958 if ac_fn_c_try_link "$LINENO"; then :
23959 ac_cv_lib_m_catanhf=yes
23960 else
23961 ac_cv_lib_m_catanhf=no
23963 rm -f core conftest.err conftest.$ac_objext \
23964 conftest$ac_exeext conftest.$ac_ext
23965 LIBS=$ac_check_lib_save_LIBS
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
23968 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
23969 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
23971 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
23976 $as_echo_n "checking for catanhl in -lm... " >&6; }
23977 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
23978 $as_echo_n "(cached) " >&6
23979 else
23980 ac_check_lib_save_LIBS=$LIBS
23981 LIBS="-lm $LIBS"
23982 if test x$gcc_no_link = xyes; then
23983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23988 /* Override any GCC internal prototype to avoid an error.
23989 Use char because int might match the return type of a GCC
23990 builtin and then its argument prototype would still apply. */
23991 #ifdef __cplusplus
23992 extern "C"
23993 #endif
23994 char catanhl ();
23996 main ()
23998 return catanhl ();
24000 return 0;
24002 _ACEOF
24003 if ac_fn_c_try_link "$LINENO"; then :
24004 ac_cv_lib_m_catanhl=yes
24005 else
24006 ac_cv_lib_m_catanhl=no
24008 rm -f core conftest.err conftest.$ac_objext \
24009 conftest$ac_exeext conftest.$ac_ext
24010 LIBS=$ac_check_lib_save_LIBS
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24013 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24014 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24016 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24021 $as_echo_n "checking for catanl in -lm... " >&6; }
24022 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24023 $as_echo_n "(cached) " >&6
24024 else
24025 ac_check_lib_save_LIBS=$LIBS
24026 LIBS="-lm $LIBS"
24027 if test x$gcc_no_link = xyes; then
24028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h. */
24033 /* Override any GCC internal prototype to avoid an error.
24034 Use char because int might match the return type of a GCC
24035 builtin and then its argument prototype would still apply. */
24036 #ifdef __cplusplus
24037 extern "C"
24038 #endif
24039 char catanl ();
24041 main ()
24043 return catanl ();
24045 return 0;
24047 _ACEOF
24048 if ac_fn_c_try_link "$LINENO"; then :
24049 ac_cv_lib_m_catanl=yes
24050 else
24051 ac_cv_lib_m_catanl=no
24053 rm -f core conftest.err conftest.$ac_objext \
24054 conftest$ac_exeext conftest.$ac_ext
24055 LIBS=$ac_check_lib_save_LIBS
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24058 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24059 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24061 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24066 # On AIX, clog is present in libm as __clog
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24068 $as_echo_n "checking for __clog in -lm... " >&6; }
24069 if test "${ac_cv_lib_m___clog+set}" = set; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24072 ac_check_lib_save_LIBS=$LIBS
24073 LIBS="-lm $LIBS"
24074 if test x$gcc_no_link = xyes; then
24075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24080 /* Override any GCC internal prototype to avoid an error.
24081 Use char because int might match the return type of a GCC
24082 builtin and then its argument prototype would still apply. */
24083 #ifdef __cplusplus
24084 extern "C"
24085 #endif
24086 char __clog ();
24088 main ()
24090 return __clog ();
24092 return 0;
24094 _ACEOF
24095 if ac_fn_c_try_link "$LINENO"; then :
24096 ac_cv_lib_m___clog=yes
24097 else
24098 ac_cv_lib_m___clog=no
24100 rm -f core conftest.err conftest.$ac_objext \
24101 conftest$ac_exeext conftest.$ac_ext
24102 LIBS=$ac_check_lib_save_LIBS
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24105 $as_echo "$ac_cv_lib_m___clog" >&6; }
24106 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24108 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24113 # Check for a isfinite macro that works on long doubles.
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24116 $as_echo_n "checking whether isfinite is broken... " >&6; }
24117 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24118 $as_echo_n "(cached) " >&6
24119 else
24121 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
24122 LIBS="$LIBS -lm"
24123 if test "$cross_compiling" = yes; then :
24125 case "${target}" in
24126 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
24127 *) libgfor_cv_have_broken_isfinite=no ;;
24128 esac
24129 else
24130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24133 #include <math.h>
24134 #include <float.h>
24135 int main ()
24137 #ifdef isfinite
24138 #ifdef LDBL_MAX
24139 if (!isfinite(LDBL_MAX)) return 1;
24140 #endif
24141 #ifdef DBL_MAX
24142 if (!isfinite(DBL_MAX)) return 1;
24143 #endif
24144 #endif
24145 return 0;
24147 _ACEOF
24148 if ac_fn_c_try_run "$LINENO"; then :
24149 libgfor_cv_have_broken_isfinite=no
24150 else
24151 libgfor_cv_have_broken_isfinite=yes
24153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24154 conftest.$ac_objext conftest.beam conftest.$ac_ext
24157 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24160 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24161 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
24163 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24167 # Check for a isnan macro that works on long doubles.
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24170 $as_echo_n "checking whether isnan is broken... " >&6; }
24171 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24173 else
24175 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
24176 LIBS="$LIBS -lm"
24177 if test "$cross_compiling" = yes; then :
24179 case "${target}" in
24180 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
24181 *) libgfor_cv_have_broken_isnan=no ;;
24182 esac
24183 else
24184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h. */
24187 #include <math.h>
24188 #include <float.h>
24189 int main ()
24191 #ifdef isnan
24192 #ifdef LDBL_MAX
24194 long double x;
24195 x = __builtin_nanl ("");
24196 if (!isnan(x)) return 1;
24197 if (isnan(LDBL_MAX)) return 1;
24198 #ifdef NAN
24199 x = (long double) NAN;
24200 if (!isnan(x)) return 1;
24201 #endif
24203 #endif
24204 #ifdef DBL_MAX
24206 double y;
24207 y = __builtin_nan ("");
24208 if (!isnan(y)) return 1;
24209 if (isnan(DBL_MAX)) return 1;
24210 #ifdef NAN
24211 y = (double) NAN;
24212 if (!isnan(y)) return 1;
24213 #endif
24215 #endif
24216 #endif
24217 return 0;
24219 _ACEOF
24220 if ac_fn_c_try_run "$LINENO"; then :
24221 libgfor_cv_have_broken_isnan=no
24222 else
24223 libgfor_cv_have_broken_isnan=yes
24225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24226 conftest.$ac_objext conftest.beam conftest.$ac_ext
24229 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
24231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24232 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24233 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
24235 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24239 # Check for a fpclassify macro that works on long doubles.
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24242 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24243 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24244 $as_echo_n "(cached) " >&6
24245 else
24247 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
24248 LIBS="$LIBS -lm"
24249 if test "$cross_compiling" = yes; then :
24251 case "${target}" in
24252 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
24253 *) libgfor_cv_have_broken_fpclassify=no ;;
24254 esac
24255 else
24256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h. */
24259 #include <math.h>
24260 #include <float.h>
24261 int main ()
24263 #ifdef fpclassify
24264 #ifdef LDBL_MAX
24265 if (fpclassify(LDBL_MAX) == FP_NAN
24266 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24267 #endif
24268 #ifdef DBL_MAX
24269 if (fpclassify(DBL_MAX) == FP_NAN
24270 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24271 #endif
24272 #endif
24273 return 0;
24275 _ACEOF
24276 if ac_fn_c_try_run "$LINENO"; then :
24277 libgfor_cv_have_broken_fpclassify=no
24278 else
24279 libgfor_cv_have_broken_fpclassify=yes
24281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24282 conftest.$ac_objext conftest.beam conftest.$ac_ext
24285 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24288 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24289 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
24291 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24295 # Check whether the system has a working stat()
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24298 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24299 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24300 $as_echo_n "(cached) " >&6
24301 else
24303 if test "$cross_compiling" = yes; then :
24305 case "${target}" in
24306 *mingw*) libgfor_cv_have_working_stat=no ;;
24307 *) libgfor_cv_have_working_stat=yes;;
24308 esac
24309 else
24310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24311 /* end confdefs.h. */
24313 #include <stdio.h>
24314 #include <sys/types.h>
24315 #include <sys/stat.h>
24316 #include <unistd.h>
24318 int main ()
24320 FILE *f, *g;
24321 struct stat st1, st2;
24323 f = fopen ("foo", "w");
24324 g = fopen ("bar", "w");
24325 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24326 return 1;
24327 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24328 return 1;
24329 fclose(f);
24330 fclose(g);
24331 return 0;
24333 _ACEOF
24334 if ac_fn_c_try_run "$LINENO"; then :
24335 libgfor_cv_have_working_stat=yes
24336 else
24337 libgfor_cv_have_working_stat=no
24339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24340 conftest.$ac_objext conftest.beam conftest.$ac_ext
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24345 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24346 if test x"$libgfor_cv_have_working_stat" = xyes; then
24348 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24352 # Check whether __mingw_snprintf() is present
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24355 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24356 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24357 $as_echo_n "(cached) " >&6
24358 else
24360 if test x$gcc_no_link = xyes; then
24361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24366 #include <stdio.h>
24367 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24370 main ()
24373 __mingw_snprintf (NULL, 0, "%d\n", 1);
24376 return 0;
24378 _ACEOF
24379 if ac_fn_c_try_link "$LINENO"; then :
24380 eval "libgfor_cv_have_mingw_snprintf=yes"
24381 else
24382 eval "libgfor_cv_have_mingw_snprintf=no"
24384 rm -f core conftest.err conftest.$ac_objext \
24385 conftest$ac_exeext conftest.$ac_ext
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24389 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24390 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24392 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24397 # Check for a broken powf implementation
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24400 $as_echo_n "checking whether powf is broken... " >&6; }
24401 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24403 else
24405 case "${target}" in
24406 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24407 *) libgfor_cv_have_broken_powf=no;;
24408 esac
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24411 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24412 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24414 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24419 # Check for GNU libc feenableexcept
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24421 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24422 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24423 $as_echo_n "(cached) " >&6
24424 else
24425 ac_check_lib_save_LIBS=$LIBS
24426 LIBS="-lm $LIBS"
24427 if test x$gcc_no_link = xyes; then
24428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24431 /* end confdefs.h. */
24433 /* Override any GCC internal prototype to avoid an error.
24434 Use char because int might match the return type of a GCC
24435 builtin and then its argument prototype would still apply. */
24436 #ifdef __cplusplus
24437 extern "C"
24438 #endif
24439 char feenableexcept ();
24441 main ()
24443 return feenableexcept ();
24445 return 0;
24447 _ACEOF
24448 if ac_fn_c_try_link "$LINENO"; then :
24449 ac_cv_lib_m_feenableexcept=yes
24450 else
24451 ac_cv_lib_m_feenableexcept=no
24453 rm -f core conftest.err conftest.$ac_objext \
24454 conftest$ac_exeext conftest.$ac_ext
24455 LIBS=$ac_check_lib_save_LIBS
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24458 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24459 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24460 have_feenableexcept=yes
24461 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24466 # Check for SysV fpsetmask
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24469 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24470 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24471 $as_echo_n "(cached) " >&6
24472 else
24474 if test x$gcc_no_link = xyes; then
24475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24478 /* end confdefs.h. */
24480 #if HAVE_FLOATINGPOINT_H
24481 # include <floatingpoint.h>
24482 #endif /* HAVE_FLOATINGPOINT_H */
24483 #if HAVE_IEEEFP_H
24484 # include <ieeefp.h>
24485 #endif /* HAVE_IEEEFP_H */
24487 main ()
24489 fpsetmask(0);
24491 return 0;
24493 _ACEOF
24494 if ac_fn_c_try_link "$LINENO"; then :
24495 eval "libgfor_cv_have_fpsetmask=yes"
24496 else
24497 eval "libgfor_cv_have_fpsetmask=no"
24499 rm -f core conftest.err conftest.$ac_objext \
24500 conftest$ac_exeext conftest.$ac_ext
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24504 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24505 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24507 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24512 # Check for AIX fp_trap and fp_enable
24513 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24514 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24515 have_fp_trap=yes
24516 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24520 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24521 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24522 have_fp_enable=yes
24523 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24528 # Runs configure.host to set up necessary host-dependent shell variables.
24529 # We then display a message about it, and propagate them through the
24530 # build chain.
24531 . ${srcdir}/configure.host
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24533 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24534 FPU_HOST_HEADER=config/${fpu_host}.h
24537 # Some targets require additional compiler options for IEEE compatibility.
24538 IEEE_FLAGS="${ieee_flags}"
24541 # Check out attribute support.
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24544 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24545 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24546 $as_echo_n "(cached) " >&6
24547 else
24549 save_CFLAGS="$CFLAGS"
24550 CFLAGS="$CFLAGS -Werror"
24551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24552 /* end confdefs.h. */
24553 void __attribute__((visibility("hidden"))) foo(void) { }
24555 main ()
24559 return 0;
24561 _ACEOF
24562 if ac_fn_c_try_compile "$LINENO"; then :
24563 libgfor_cv_have_attribute_visibility=yes
24564 else
24565 libgfor_cv_have_attribute_visibility=no
24567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24568 CFLAGS="$save_CFLAGS"
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24571 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24572 if test $libgfor_cv_have_attribute_visibility = yes; then
24574 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24579 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24580 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24581 $as_echo_n "(cached) " >&6
24582 else
24584 save_CFLAGS="$CFLAGS"
24585 CFLAGS="$CFLAGS -Werror"
24586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24587 /* end confdefs.h. */
24588 void __attribute__((dllexport)) foo(void) { }
24590 main ()
24594 return 0;
24596 _ACEOF
24597 if ac_fn_c_try_compile "$LINENO"; then :
24598 libgfor_cv_have_attribute_dllexport=yes
24599 else
24600 libgfor_cv_have_attribute_dllexport=no
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603 CFLAGS="$save_CFLAGS"
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24606 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24607 if test $libgfor_cv_have_attribute_dllexport = yes; then
24609 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24614 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24615 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24616 $as_echo_n "(cached) " >&6
24617 else
24619 if test x$gcc_no_link = xyes; then
24620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24623 /* end confdefs.h. */
24625 void foo(void) { }
24626 extern void bar(void) __attribute__((alias("foo")));
24628 main ()
24630 bar();
24632 return 0;
24634 _ACEOF
24635 if ac_fn_c_try_link "$LINENO"; then :
24636 libgfor_cv_have_attribute_alias=yes
24637 else
24638 libgfor_cv_have_attribute_alias=no
24640 rm -f core conftest.err conftest.$ac_objext \
24641 conftest$ac_exeext conftest.$ac_ext
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24644 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24645 if test $libgfor_cv_have_attribute_alias = yes; then
24647 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24651 # Check out sync builtins support.
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24654 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24655 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24656 $as_echo_n "(cached) " >&6
24657 else
24659 if test x$gcc_no_link = xyes; then
24660 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24663 /* end confdefs.h. */
24664 int foovar = 0;
24666 main ()
24669 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24670 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24672 return 0;
24674 _ACEOF
24675 if ac_fn_c_try_link "$LINENO"; then :
24676 libgfor_cv_have_sync_fetch_and_add=yes
24677 else
24678 libgfor_cv_have_sync_fetch_and_add=no
24680 rm -f core conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24684 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24685 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24687 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24691 # Check out thread support.
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24694 $as_echo_n "checking configured target thread model... " >&6; }
24695 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24696 $as_echo_n "(cached) " >&6
24697 else
24699 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24702 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24704 if test $libgfor_cv_target_thread_file != single; then
24706 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24710 # Check out #pragma weak.
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24713 $as_echo_n "checking whether pragma weak works... " >&6; }
24714 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24715 $as_echo_n "(cached) " >&6
24716 else
24718 gfor_save_CFLAGS="$CFLAGS"
24719 CFLAGS="$CFLAGS -Wunknown-pragmas"
24720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24721 /* end confdefs.h. */
24722 void foo (void);
24723 #pragma weak foo
24725 main ()
24727 if (foo) foo ();
24729 return 0;
24731 _ACEOF
24732 if ac_fn_c_try_compile "$LINENO"; then :
24733 libgfor_cv_have_pragma_weak=yes
24734 else
24735 libgfor_cv_have_pragma_weak=no
24737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24740 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24741 if test $libgfor_cv_have_pragma_weak = yes; then
24743 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24746 case "$host" in
24747 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24749 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24752 esac
24754 # Various other checks on target
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24757 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24758 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24759 $as_echo_n "(cached) " >&6
24760 else
24762 if test "$cross_compiling" = yes; then :
24764 case "${target}" in
24765 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24766 *) libgfor_cv_have_unlink_open_file=yes;;
24767 esac
24768 else
24769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24770 /* end confdefs.h. */
24772 #include <errno.h>
24773 #include <fcntl.h>
24774 #include <unistd.h>
24775 #include <sys/stat.h>
24777 int main ()
24779 int fd;
24781 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24782 if (fd <= 0)
24783 return 0;
24784 if (unlink ("testfile") == -1)
24785 return 1;
24786 write (fd, "This is a test\n", 15);
24787 close (fd);
24789 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24790 return 0;
24791 else
24792 return 1;
24794 _ACEOF
24795 if ac_fn_c_try_run "$LINENO"; then :
24796 libgfor_cv_have_unlink_open_file=yes
24797 else
24798 libgfor_cv_have_unlink_open_file=no
24800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24801 conftest.$ac_objext conftest.beam conftest.$ac_ext
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24806 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24807 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24809 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24813 # Check whether line terminator is LF or CRLF
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24816 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24817 if test "${libgfor_cv_have_crlf+set}" = set; then :
24818 $as_echo_n "(cached) " >&6
24819 else
24821 if test "$cross_compiling" = yes; then :
24823 case "${target}" in
24824 *mingw*) libgfor_cv_have_crlf=yes ;;
24825 *) libgfor_cv_have_crlf=no;;
24826 esac
24827 else
24828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h. */
24831 /* This test program should exit with status 0 if system uses a CRLF as
24832 line terminator, and status 1 otherwise.
24833 Since it is used to check for mingw systems, and should return 0 in any
24834 other case, in case of a failure we will not use CRLF. */
24835 #include <sys/stat.h>
24836 #include <stdlib.h>
24837 #include <fcntl.h>
24838 #include <stdio.h>
24840 int main ()
24842 #ifndef O_BINARY
24843 exit(1);
24844 #else
24845 int fd, bytes;
24846 char buff[5];
24848 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24849 if (fd < 0)
24850 exit(1);
24851 if (write (fd, "\n", 1) < 0)
24852 perror ("write");
24854 close (fd);
24856 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24857 exit(1);
24858 bytes = read (fd, buff, 5);
24859 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24860 exit(0);
24861 else
24862 exit(1);
24863 #endif
24865 _ACEOF
24866 if ac_fn_c_try_run "$LINENO"; then :
24867 libgfor_cv_have_crlf=yes
24868 else
24869 libgfor_cv_have_crlf=no
24871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24872 conftest.$ac_objext conftest.beam conftest.$ac_ext
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24877 $as_echo "$libgfor_cv_have_crlf" >&6; }
24878 if test x"$libgfor_cv_have_crlf" = xyes; then
24880 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24884 cat >confcache <<\_ACEOF
24885 # This file is a shell script that caches the results of configure
24886 # tests run on this system so they can be shared between configure
24887 # scripts and configure runs, see configure's option --config-cache.
24888 # It is not useful on other systems. If it contains results you don't
24889 # want to keep, you may remove or edit it.
24891 # config.status only pays attention to the cache file if you give it
24892 # the --recheck option to rerun configure.
24894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24896 # following values.
24898 _ACEOF
24900 # The following way of writing the cache mishandles newlines in values,
24901 # but we know of no workaround that is simple, portable, and efficient.
24902 # So, we kill variables containing newlines.
24903 # Ultrix sh set writes to stderr and can't be redirected directly,
24904 # and sets the high bit in the cache file unless we assign to the vars.
24906 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24907 eval ac_val=\$$ac_var
24908 case $ac_val in #(
24909 *${as_nl}*)
24910 case $ac_var in #(
24911 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24913 esac
24914 case $ac_var in #(
24915 _ | IFS | as_nl) ;; #(
24916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24917 *) { eval $ac_var=; unset $ac_var;} ;;
24918 esac ;;
24919 esac
24920 done
24922 (set) 2>&1 |
24923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24924 *${as_nl}ac_space=\ *)
24925 # `set' does not quote correctly, so add quotes: double-quote
24926 # substitution turns \\\\ into \\, and sed turns \\ into \.
24927 sed -n \
24928 "s/'/'\\\\''/g;
24929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24930 ;; #(
24932 # `set' quotes correctly as required by POSIX, so do not add quotes.
24933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24935 esac |
24936 sort
24938 sed '
24939 /^ac_cv_env_/b end
24940 t clear
24941 :clear
24942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24943 t end
24944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24945 :end' >>confcache
24946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24947 if test -w "$cache_file"; then
24948 test "x$cache_file" != "x/dev/null" &&
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24950 $as_echo "$as_me: updating cache $cache_file" >&6;}
24951 cat confcache >$cache_file
24952 else
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24954 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24957 rm -f confcache
24959 if test ${multilib} = yes; then
24960 multilib_arg="--enable-multilib"
24961 else
24962 multilib_arg=
24965 # Write our Makefile.
24966 ac_config_files="$ac_config_files Makefile"
24968 cat >confcache <<\_ACEOF
24969 # This file is a shell script that caches the results of configure
24970 # tests run on this system so they can be shared between configure
24971 # scripts and configure runs, see configure's option --config-cache.
24972 # It is not useful on other systems. If it contains results you don't
24973 # want to keep, you may remove or edit it.
24975 # config.status only pays attention to the cache file if you give it
24976 # the --recheck option to rerun configure.
24978 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24979 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24980 # following values.
24982 _ACEOF
24984 # The following way of writing the cache mishandles newlines in values,
24985 # but we know of no workaround that is simple, portable, and efficient.
24986 # So, we kill variables containing newlines.
24987 # Ultrix sh set writes to stderr and can't be redirected directly,
24988 # and sets the high bit in the cache file unless we assign to the vars.
24990 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24991 eval ac_val=\$$ac_var
24992 case $ac_val in #(
24993 *${as_nl}*)
24994 case $ac_var in #(
24995 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24996 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24997 esac
24998 case $ac_var in #(
24999 _ | IFS | as_nl) ;; #(
25000 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25001 *) { eval $ac_var=; unset $ac_var;} ;;
25002 esac ;;
25003 esac
25004 done
25006 (set) 2>&1 |
25007 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25008 *${as_nl}ac_space=\ *)
25009 # `set' does not quote correctly, so add quotes: double-quote
25010 # substitution turns \\\\ into \\, and sed turns \\ into \.
25011 sed -n \
25012 "s/'/'\\\\''/g;
25013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25014 ;; #(
25016 # `set' quotes correctly as required by POSIX, so do not add quotes.
25017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25019 esac |
25020 sort
25022 sed '
25023 /^ac_cv_env_/b end
25024 t clear
25025 :clear
25026 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25027 t end
25028 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25029 :end' >>confcache
25030 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25031 if test -w "$cache_file"; then
25032 test "x$cache_file" != "x/dev/null" &&
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25034 $as_echo "$as_me: updating cache $cache_file" >&6;}
25035 cat confcache >$cache_file
25036 else
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25038 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25041 rm -f confcache
25043 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25044 # Let make expand exec_prefix.
25045 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25047 DEFS=-DHAVE_CONFIG_H
25049 ac_libobjs=
25050 ac_ltlibobjs=
25051 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25052 # 1. Remove the extension, and $U if already installed.
25053 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25054 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25056 # will be set to the directory where LIBOBJS objects are built.
25057 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25058 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25059 done
25060 LIBOBJS=$ac_libobjs
25062 LTLIBOBJS=$ac_ltlibobjs
25065 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25066 as_fn_error "conditional \"onestep\" was never defined.
25067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25069 if test -n "$EXEEXT"; then
25070 am__EXEEXT_TRUE=
25071 am__EXEEXT_FALSE='#'
25072 else
25073 am__EXEEXT_TRUE='#'
25074 am__EXEEXT_FALSE=
25077 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25078 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25081 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25082 as_fn_error "conditional \"AMDEP\" was never defined.
25083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25086 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25089 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25090 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25094 : ${CONFIG_STATUS=./config.status}
25095 ac_write_fail=0
25096 ac_clean_files_save=$ac_clean_files
25097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25099 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25100 as_write_fail=0
25101 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25102 #! $SHELL
25103 # Generated by $as_me.
25104 # Run this file to recreate the current configuration.
25105 # Compiler output produced by configure, useful for debugging
25106 # configure, is in config.log if it exists.
25108 debug=false
25109 ac_cs_recheck=false
25110 ac_cs_silent=false
25112 SHELL=\${CONFIG_SHELL-$SHELL}
25113 export SHELL
25114 _ASEOF
25115 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25116 ## -------------------- ##
25117 ## M4sh Initialization. ##
25118 ## -------------------- ##
25120 # Be more Bourne compatible
25121 DUALCASE=1; export DUALCASE # for MKS sh
25122 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25123 emulate sh
25124 NULLCMD=:
25125 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25126 # is contrary to our usage. Disable this feature.
25127 alias -g '${1+"$@"}'='"$@"'
25128 setopt NO_GLOB_SUBST
25129 else
25130 case `(set -o) 2>/dev/null` in #(
25131 *posix*) :
25132 set -o posix ;; #(
25133 *) :
25135 esac
25139 as_nl='
25141 export as_nl
25142 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25143 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25144 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25146 # Prefer a ksh shell builtin over an external printf program on Solaris,
25147 # but without wasting forks for bash or zsh.
25148 if test -z "$BASH_VERSION$ZSH_VERSION" \
25149 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25150 as_echo='print -r --'
25151 as_echo_n='print -rn --'
25152 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25153 as_echo='printf %s\n'
25154 as_echo_n='printf %s'
25155 else
25156 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25157 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25158 as_echo_n='/usr/ucb/echo -n'
25159 else
25160 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25161 as_echo_n_body='eval
25162 arg=$1;
25163 case $arg in #(
25164 *"$as_nl"*)
25165 expr "X$arg" : "X\\(.*\\)$as_nl";
25166 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25167 esac;
25168 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25170 export as_echo_n_body
25171 as_echo_n='sh -c $as_echo_n_body as_echo'
25173 export as_echo_body
25174 as_echo='sh -c $as_echo_body as_echo'
25177 # The user is always right.
25178 if test "${PATH_SEPARATOR+set}" != set; then
25179 PATH_SEPARATOR=:
25180 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25181 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25182 PATH_SEPARATOR=';'
25187 # IFS
25188 # We need space, tab and new line, in precisely that order. Quoting is
25189 # there to prevent editors from complaining about space-tab.
25190 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25191 # splitting by setting IFS to empty value.)
25192 IFS=" "" $as_nl"
25194 # Find who we are. Look in the path if we contain no directory separator.
25195 case $0 in #((
25196 *[\\/]* ) as_myself=$0 ;;
25197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25198 for as_dir in $PATH
25200 IFS=$as_save_IFS
25201 test -z "$as_dir" && as_dir=.
25202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25203 done
25204 IFS=$as_save_IFS
25207 esac
25208 # We did not find ourselves, most probably we were run as `sh COMMAND'
25209 # in which case we are not to be found in the path.
25210 if test "x$as_myself" = x; then
25211 as_myself=$0
25213 if test ! -f "$as_myself"; then
25214 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25215 exit 1
25218 # Unset variables that we do not need and which cause bugs (e.g. in
25219 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25220 # suppresses any "Segmentation fault" message there. '((' could
25221 # trigger a bug in pdksh 5.2.14.
25222 for as_var in BASH_ENV ENV MAIL MAILPATH
25223 do eval test x\${$as_var+set} = xset \
25224 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25225 done
25226 PS1='$ '
25227 PS2='> '
25228 PS4='+ '
25230 # NLS nuisances.
25231 LC_ALL=C
25232 export LC_ALL
25233 LANGUAGE=C
25234 export LANGUAGE
25236 # CDPATH.
25237 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25240 # as_fn_error ERROR [LINENO LOG_FD]
25241 # ---------------------------------
25242 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25243 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25244 # script with status $?, using 1 if that was 0.
25245 as_fn_error ()
25247 as_status=$?; test $as_status -eq 0 && as_status=1
25248 if test "$3"; then
25249 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25250 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25252 $as_echo "$as_me: error: $1" >&2
25253 as_fn_exit $as_status
25254 } # as_fn_error
25257 # as_fn_set_status STATUS
25258 # -----------------------
25259 # Set $? to STATUS, without forking.
25260 as_fn_set_status ()
25262 return $1
25263 } # as_fn_set_status
25265 # as_fn_exit STATUS
25266 # -----------------
25267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25268 as_fn_exit ()
25270 set +e
25271 as_fn_set_status $1
25272 exit $1
25273 } # as_fn_exit
25275 # as_fn_unset VAR
25276 # ---------------
25277 # Portably unset VAR.
25278 as_fn_unset ()
25280 { eval $1=; unset $1;}
25282 as_unset=as_fn_unset
25283 # as_fn_append VAR VALUE
25284 # ----------------------
25285 # Append the text in VALUE to the end of the definition contained in VAR. Take
25286 # advantage of any shell optimizations that allow amortized linear growth over
25287 # repeated appends, instead of the typical quadratic growth present in naive
25288 # implementations.
25289 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25290 eval 'as_fn_append ()
25292 eval $1+=\$2
25294 else
25295 as_fn_append ()
25297 eval $1=\$$1\$2
25299 fi # as_fn_append
25301 # as_fn_arith ARG...
25302 # ------------------
25303 # Perform arithmetic evaluation on the ARGs, and store the result in the
25304 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25305 # must be portable across $(()) and expr.
25306 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25307 eval 'as_fn_arith ()
25309 as_val=$(( $* ))
25311 else
25312 as_fn_arith ()
25314 as_val=`expr "$@" || test $? -eq 1`
25316 fi # as_fn_arith
25319 if expr a : '\(a\)' >/dev/null 2>&1 &&
25320 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25321 as_expr=expr
25322 else
25323 as_expr=false
25326 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25327 as_basename=basename
25328 else
25329 as_basename=false
25332 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25333 as_dirname=dirname
25334 else
25335 as_dirname=false
25338 as_me=`$as_basename -- "$0" ||
25339 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25340 X"$0" : 'X\(//\)$' \| \
25341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25342 $as_echo X/"$0" |
25343 sed '/^.*\/\([^/][^/]*\)\/*$/{
25344 s//\1/
25347 /^X\/\(\/\/\)$/{
25348 s//\1/
25351 /^X\/\(\/\).*/{
25352 s//\1/
25355 s/.*/./; q'`
25357 # Avoid depending upon Character Ranges.
25358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25361 as_cr_digits='0123456789'
25362 as_cr_alnum=$as_cr_Letters$as_cr_digits
25364 ECHO_C= ECHO_N= ECHO_T=
25365 case `echo -n x` in #(((((
25366 -n*)
25367 case `echo 'xy\c'` in
25368 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25369 xy) ECHO_C='\c';;
25370 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25371 ECHO_T=' ';;
25372 esac;;
25374 ECHO_N='-n';;
25375 esac
25377 rm -f conf$$ conf$$.exe conf$$.file
25378 if test -d conf$$.dir; then
25379 rm -f conf$$.dir/conf$$.file
25380 else
25381 rm -f conf$$.dir
25382 mkdir conf$$.dir 2>/dev/null
25384 if (echo >conf$$.file) 2>/dev/null; then
25385 if ln -s conf$$.file conf$$ 2>/dev/null; then
25386 as_ln_s='ln -s'
25387 # ... but there are two gotchas:
25388 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25389 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25390 # In both cases, we have to default to `cp -p'.
25391 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25392 as_ln_s='cp -p'
25393 elif ln conf$$.file conf$$ 2>/dev/null; then
25394 as_ln_s=ln
25395 else
25396 as_ln_s='cp -p'
25398 else
25399 as_ln_s='cp -p'
25401 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25402 rmdir conf$$.dir 2>/dev/null
25405 # as_fn_mkdir_p
25406 # -------------
25407 # Create "$as_dir" as a directory, including parents if necessary.
25408 as_fn_mkdir_p ()
25411 case $as_dir in #(
25412 -*) as_dir=./$as_dir;;
25413 esac
25414 test -d "$as_dir" || eval $as_mkdir_p || {
25415 as_dirs=
25416 while :; do
25417 case $as_dir in #(
25418 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25419 *) as_qdir=$as_dir;;
25420 esac
25421 as_dirs="'$as_qdir' $as_dirs"
25422 as_dir=`$as_dirname -- "$as_dir" ||
25423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25424 X"$as_dir" : 'X\(//\)[^/]' \| \
25425 X"$as_dir" : 'X\(//\)$' \| \
25426 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25427 $as_echo X"$as_dir" |
25428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25429 s//\1/
25432 /^X\(\/\/\)[^/].*/{
25433 s//\1/
25436 /^X\(\/\/\)$/{
25437 s//\1/
25440 /^X\(\/\).*/{
25441 s//\1/
25444 s/.*/./; q'`
25445 test -d "$as_dir" && break
25446 done
25447 test -z "$as_dirs" || eval "mkdir $as_dirs"
25448 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25451 } # as_fn_mkdir_p
25452 if mkdir -p . 2>/dev/null; then
25453 as_mkdir_p='mkdir -p "$as_dir"'
25454 else
25455 test -d ./-p && rmdir ./-p
25456 as_mkdir_p=false
25459 if test -x / >/dev/null 2>&1; then
25460 as_test_x='test -x'
25461 else
25462 if ls -dL / >/dev/null 2>&1; then
25463 as_ls_L_option=L
25464 else
25465 as_ls_L_option=
25467 as_test_x='
25468 eval sh -c '\''
25469 if test -d "$1"; then
25470 test -d "$1/.";
25471 else
25472 case $1 in #(
25473 -*)set "./$1";;
25474 esac;
25475 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25476 ???[sx]*):;;*)false;;esac;fi
25477 '\'' sh
25480 as_executable_p=$as_test_x
25482 # Sed expression to map a string onto a valid CPP name.
25483 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25485 # Sed expression to map a string onto a valid variable name.
25486 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25489 exec 6>&1
25490 ## ----------------------------------- ##
25491 ## Main body of $CONFIG_STATUS script. ##
25492 ## ----------------------------------- ##
25493 _ASEOF
25494 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25497 # Save the log message, to keep $0 and so on meaningful, and to
25498 # report actual input values of CONFIG_FILES etc. instead of their
25499 # values after options handling.
25500 ac_log="
25501 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25502 generated by GNU Autoconf 2.64. Invocation command line was
25504 CONFIG_FILES = $CONFIG_FILES
25505 CONFIG_HEADERS = $CONFIG_HEADERS
25506 CONFIG_LINKS = $CONFIG_LINKS
25507 CONFIG_COMMANDS = $CONFIG_COMMANDS
25508 $ $0 $@
25510 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25513 _ACEOF
25515 case $ac_config_files in *"
25516 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25517 esac
25519 case $ac_config_headers in *"
25520 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25521 esac
25524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25525 # Files that config.status was made for.
25526 config_files="$ac_config_files"
25527 config_headers="$ac_config_headers"
25528 config_commands="$ac_config_commands"
25530 _ACEOF
25532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25533 ac_cs_usage="\
25534 \`$as_me' instantiates files and other configuration actions
25535 from templates according to the current configuration. Unless the files
25536 and actions are specified as TAGs, all are instantiated by default.
25538 Usage: $0 [OPTION]... [TAG]...
25540 -h, --help print this help, then exit
25541 -V, --version print version number and configuration settings, then exit
25542 -q, --quiet, --silent
25543 do not print progress messages
25544 -d, --debug don't remove temporary files
25545 --recheck update $as_me by reconfiguring in the same conditions
25546 --file=FILE[:TEMPLATE]
25547 instantiate the configuration file FILE
25548 --header=FILE[:TEMPLATE]
25549 instantiate the configuration header FILE
25551 Configuration files:
25552 $config_files
25554 Configuration headers:
25555 $config_headers
25557 Configuration commands:
25558 $config_commands
25560 Report bugs to the package provider.
25561 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25562 General help using GNU software: <http://www.gnu.org/gethelp/>."
25564 _ACEOF
25565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25566 ac_cs_version="\\
25567 GNU Fortran Runtime Library config.status 0.3
25568 configured by $0, generated by GNU Autoconf 2.64,
25569 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25571 Copyright (C) 2009 Free Software Foundation, Inc.
25572 This config.status script is free software; the Free Software Foundation
25573 gives unlimited permission to copy, distribute and modify it."
25575 ac_pwd='$ac_pwd'
25576 srcdir='$srcdir'
25577 INSTALL='$INSTALL'
25578 MKDIR_P='$MKDIR_P'
25579 AWK='$AWK'
25580 test -n "\$AWK" || AWK=awk
25581 _ACEOF
25583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25584 # The default lists apply if the user does not specify any file.
25585 ac_need_defaults=:
25586 while test $# != 0
25588 case $1 in
25589 --*=*)
25590 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25591 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25592 ac_shift=:
25595 ac_option=$1
25596 ac_optarg=$2
25597 ac_shift=shift
25599 esac
25601 case $ac_option in
25602 # Handling of the options.
25603 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25604 ac_cs_recheck=: ;;
25605 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25606 $as_echo "$ac_cs_version"; exit ;;
25607 --debug | --debu | --deb | --de | --d | -d )
25608 debug=: ;;
25609 --file | --fil | --fi | --f )
25610 $ac_shift
25611 case $ac_optarg in
25612 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25613 esac
25614 as_fn_append CONFIG_FILES " '$ac_optarg'"
25615 ac_need_defaults=false;;
25616 --header | --heade | --head | --hea )
25617 $ac_shift
25618 case $ac_optarg in
25619 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25620 esac
25621 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25622 ac_need_defaults=false;;
25623 --he | --h)
25624 # Conflict between --help and --header
25625 as_fn_error "ambiguous option: \`$1'
25626 Try \`$0 --help' for more information.";;
25627 --help | --hel | -h )
25628 $as_echo "$ac_cs_usage"; exit ;;
25629 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25630 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25631 ac_cs_silent=: ;;
25633 # This is an error.
25634 -*) as_fn_error "unrecognized option: \`$1'
25635 Try \`$0 --help' for more information." ;;
25637 *) as_fn_append ac_config_targets " $1"
25638 ac_need_defaults=false ;;
25640 esac
25641 shift
25642 done
25644 ac_configure_extra_args=
25646 if $ac_cs_silent; then
25647 exec 6>/dev/null
25648 ac_configure_extra_args="$ac_configure_extra_args --silent"
25651 _ACEOF
25652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25653 if \$ac_cs_recheck; then
25654 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25655 shift
25656 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25657 CONFIG_SHELL='$SHELL'
25658 export CONFIG_SHELL
25659 exec "\$@"
25662 _ACEOF
25663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25664 exec 5>>config.log
25666 echo
25667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25668 ## Running $as_me. ##
25669 _ASBOX
25670 $as_echo "$ac_log"
25671 } >&5
25673 _ACEOF
25674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25676 # INIT-COMMANDS
25679 srcdir="$srcdir"
25680 host="$host"
25681 target="$target"
25682 with_multisubdir="$with_multisubdir"
25683 with_multisrctop="$with_multisrctop"
25684 with_target_subdir="$with_target_subdir"
25685 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25686 multi_basedir="$multi_basedir"
25687 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25688 CC="$CC"
25689 CXX="$CXX"
25690 GFORTRAN="$GFORTRAN"
25691 GCJ="$GCJ"
25692 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25695 # The HP-UX ksh and POSIX shell print the target directory to stdout
25696 # if CDPATH is set.
25697 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25699 sed_quote_subst='$sed_quote_subst'
25700 double_quote_subst='$double_quote_subst'
25701 delay_variable_subst='$delay_variable_subst'
25702 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25703 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25704 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25705 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25706 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25707 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25708 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25709 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25710 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25711 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25712 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25713 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25714 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25715 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25716 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25717 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25718 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25719 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25720 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25721 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25722 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25723 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25724 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25725 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25726 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25727 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25728 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25729 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25730 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25731 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25732 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25733 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25734 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25735 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25736 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25737 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25738 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25739 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25740 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25741 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25742 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25743 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25744 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25745 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25746 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25747 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25748 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25749 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25750 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
25751 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25752 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25753 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25754 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25755 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25756 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25757 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25758 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25759 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25760 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25761 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25762 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25763 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25764 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25765 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25766 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25767 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25768 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25769 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25770 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25771 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25772 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25773 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25774 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25775 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25776 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25777 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25778 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25779 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25780 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25781 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25782 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25783 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25784 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25785 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25786 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25787 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25788 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25789 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25790 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25791 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25792 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25793 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25794 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25795 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25796 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25797 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25798 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25799 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25800 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25801 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25802 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25803 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25804 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25805 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25806 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25807 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25808 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25809 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25810 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25811 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25812 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25813 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25814 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25815 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25816 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25817 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25818 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25819 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25820 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25821 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25822 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25823 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25824 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25825 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25826 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25827 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25828 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25829 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25830 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25831 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25832 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25833 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25834 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25835 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25836 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25837 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25838 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25839 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25840 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25841 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25842 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25843 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25844 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25845 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25846 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25847 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25850 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25851 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25852 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25853 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25854 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25855 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25856 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25857 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25858 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25859 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25860 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25861 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25862 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25863 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25864 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25865 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25866 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25867 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25868 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25869 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25870 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25871 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25872 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25873 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25874 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25875 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25876 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25878 LTCC='$LTCC'
25879 LTCFLAGS='$LTCFLAGS'
25880 compiler='$compiler_DEFAULT'
25882 # A function that is used when there is no print builtin or printf.
25883 func_fallback_echo ()
25885 eval 'cat <<_LTECHO_EOF
25887 _LTECHO_EOF'
25890 # Quote evaled strings.
25891 for var in SHELL \
25892 ECHO \
25893 SED \
25894 GREP \
25895 EGREP \
25896 FGREP \
25897 LD \
25898 NM \
25899 LN_S \
25900 lt_SP2NL \
25901 lt_NL2SP \
25902 reload_flag \
25903 OBJDUMP \
25904 deplibs_check_method \
25905 file_magic_cmd \
25906 AR \
25907 AR_FLAGS \
25908 STRIP \
25909 RANLIB \
25910 CC \
25911 CFLAGS \
25912 compiler \
25913 lt_cv_sys_global_symbol_pipe \
25914 lt_cv_sys_global_symbol_to_cdecl \
25915 lt_cv_sys_global_symbol_to_c_name_address \
25916 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25917 lt_prog_compiler_no_builtin_flag \
25918 lt_prog_compiler_wl \
25919 lt_prog_compiler_pic \
25920 lt_prog_compiler_static \
25921 lt_cv_prog_compiler_c_o \
25922 need_locks \
25923 DSYMUTIL \
25924 NMEDIT \
25925 LIPO \
25926 OTOOL \
25927 OTOOL64 \
25928 shrext_cmds \
25929 export_dynamic_flag_spec \
25930 whole_archive_flag_spec \
25931 compiler_needs_object \
25932 with_gnu_ld \
25933 allow_undefined_flag \
25934 no_undefined_flag \
25935 hardcode_libdir_flag_spec \
25936 hardcode_libdir_flag_spec_ld \
25937 hardcode_libdir_separator \
25938 fix_srcfile_path \
25939 exclude_expsyms \
25940 include_expsyms \
25941 file_list_spec \
25942 variables_saved_for_relink \
25943 libname_spec \
25944 library_names_spec \
25945 soname_spec \
25946 install_override_mode \
25947 finish_eval \
25948 old_striplib \
25949 striplib \
25950 compiler_lib_search_dirs \
25951 predep_objects \
25952 postdep_objects \
25953 predeps \
25954 postdeps \
25955 compiler_lib_search_path \
25956 LD_FC \
25957 reload_flag_FC \
25958 compiler_FC \
25959 lt_prog_compiler_no_builtin_flag_FC \
25960 lt_prog_compiler_wl_FC \
25961 lt_prog_compiler_pic_FC \
25962 lt_prog_compiler_static_FC \
25963 lt_cv_prog_compiler_c_o_FC \
25964 export_dynamic_flag_spec_FC \
25965 whole_archive_flag_spec_FC \
25966 compiler_needs_object_FC \
25967 with_gnu_ld_FC \
25968 allow_undefined_flag_FC \
25969 no_undefined_flag_FC \
25970 hardcode_libdir_flag_spec_FC \
25971 hardcode_libdir_flag_spec_ld_FC \
25972 hardcode_libdir_separator_FC \
25973 fix_srcfile_path_FC \
25974 exclude_expsyms_FC \
25975 include_expsyms_FC \
25976 file_list_spec_FC \
25977 compiler_lib_search_dirs_FC \
25978 predep_objects_FC \
25979 postdep_objects_FC \
25980 predeps_FC \
25981 postdeps_FC \
25982 compiler_lib_search_path_FC; do
25983 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25984 *[\\\\\\\`\\"\\\$]*)
25985 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25988 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25990 esac
25991 done
25993 # Double-quote double-evaled strings.
25994 for var in reload_cmds \
25995 old_postinstall_cmds \
25996 old_postuninstall_cmds \
25997 old_archive_cmds \
25998 extract_expsyms_cmds \
25999 old_archive_from_new_cmds \
26000 old_archive_from_expsyms_cmds \
26001 archive_cmds \
26002 archive_expsym_cmds \
26003 module_cmds \
26004 module_expsym_cmds \
26005 export_symbols_cmds \
26006 prelink_cmds \
26007 postinstall_cmds \
26008 postuninstall_cmds \
26009 finish_cmds \
26010 sys_lib_search_path_spec \
26011 sys_lib_dlsearch_path_spec \
26012 reload_cmds_FC \
26013 old_archive_cmds_FC \
26014 old_archive_from_new_cmds_FC \
26015 old_archive_from_expsyms_cmds_FC \
26016 archive_cmds_FC \
26017 archive_expsym_cmds_FC \
26018 module_cmds_FC \
26019 module_expsym_cmds_FC \
26020 export_symbols_cmds_FC \
26021 prelink_cmds_FC; do
26022 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26023 *[\\\\\\\`\\"\\\$]*)
26024 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26027 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26029 esac
26030 done
26032 ac_aux_dir='$ac_aux_dir'
26033 xsi_shell='$xsi_shell'
26034 lt_shell_append='$lt_shell_append'
26036 # See if we are running on zsh, and set the options which allow our
26037 # commands through without removal of \ escapes INIT.
26038 if test -n "\${ZSH_VERSION+set}" ; then
26039 setopt NO_GLOB_SUBST
26043 PACKAGE='$PACKAGE'
26044 VERSION='$VERSION'
26045 TIMESTAMP='$TIMESTAMP'
26046 RM='$RM'
26047 ofile='$ofile'
26054 GCC="$GCC"
26055 CC="$CC"
26056 acx_cv_header_stdint="$acx_cv_header_stdint"
26057 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26058 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26059 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26060 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26061 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26062 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26063 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26064 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26065 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26066 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26067 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26068 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26069 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26072 _ACEOF
26074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26076 # Handling of arguments.
26077 for ac_config_target in $ac_config_targets
26079 case $ac_config_target in
26080 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26081 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26082 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26083 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26084 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26085 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26087 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26088 esac
26089 done
26092 # If the user did not use the arguments to specify the items to instantiate,
26093 # then the envvar interface is used. Set only those that are not.
26094 # We use the long form for the default assignment because of an extremely
26095 # bizarre bug on SunOS 4.1.3.
26096 if $ac_need_defaults; then
26097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26102 # Have a temporary directory for convenience. Make it in the build tree
26103 # simply because there is no reason against having it here, and in addition,
26104 # creating and moving files from /tmp can sometimes cause problems.
26105 # Hook for its removal unless debugging.
26106 # Note that there is a small window in which the directory will not be cleaned:
26107 # after its creation but before its name has been assigned to `$tmp'.
26108 $debug ||
26110 tmp=
26111 trap 'exit_status=$?
26112 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26114 trap 'as_fn_exit 1' 1 2 13 15
26116 # Create a (secure) tmp directory for tmp files.
26119 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26120 test -n "$tmp" && test -d "$tmp"
26121 } ||
26123 tmp=./conf$$-$RANDOM
26124 (umask 077 && mkdir "$tmp")
26125 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26127 # Set up the scripts for CONFIG_FILES section.
26128 # No need to generate them if there are no CONFIG_FILES.
26129 # This happens for instance with `./config.status config.h'.
26130 if test -n "$CONFIG_FILES"; then
26133 ac_cr=`echo X | tr X '\015'`
26134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26135 # But we know of no other shell where ac_cr would be empty at this
26136 # point, so we can use a bashism as a fallback.
26137 if test "x$ac_cr" = x; then
26138 eval ac_cr=\$\'\\r\'
26140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26142 ac_cs_awk_cr='\r'
26143 else
26144 ac_cs_awk_cr=$ac_cr
26147 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26148 _ACEOF
26152 echo "cat >conf$$subs.awk <<_ACEOF" &&
26153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26154 echo "_ACEOF"
26155 } >conf$$subs.sh ||
26156 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26158 ac_delim='%!_!# '
26159 for ac_last_try in false false false false false :; do
26160 . ./conf$$subs.sh ||
26161 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26163 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26164 if test $ac_delim_n = $ac_delim_num; then
26165 break
26166 elif $ac_last_try; then
26167 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26168 else
26169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26171 done
26172 rm -f conf$$subs.sh
26174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26175 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26176 _ACEOF
26177 sed -n '
26179 s/^/S["/; s/!.*/"]=/
26182 s/^[^!]*!//
26183 :repl
26184 t repl
26185 s/'"$ac_delim"'$//
26186 t delim
26189 s/\(.\{148\}\).*/\1/
26190 t more1
26191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26194 b repl
26195 :more1
26196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26199 s/.\{148\}//
26200 t nl
26201 :delim
26203 s/\(.\{148\}\).*/\1/
26204 t more2
26205 s/["\\]/\\&/g; s/^/"/; s/$/"/
26208 :more2
26209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26212 s/.\{148\}//
26213 t delim
26214 ' <conf$$subs.awk | sed '
26215 /^[^""]/{
26217 s/\n//
26219 ' >>$CONFIG_STATUS || ac_write_fail=1
26220 rm -f conf$$subs.awk
26221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26222 _ACAWK
26223 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26224 for (key in S) S_is_set[key] = 1
26225 FS = "\a"
26229 line = $ 0
26230 nfields = split(line, field, "@")
26231 substed = 0
26232 len = length(field[1])
26233 for (i = 2; i < nfields; i++) {
26234 key = field[i]
26235 keylen = length(key)
26236 if (S_is_set[key]) {
26237 value = S[key]
26238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26239 len += length(value) + length(field[++i])
26240 substed = 1
26241 } else
26242 len += 1 + keylen
26245 print line
26248 _ACAWK
26249 _ACEOF
26250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26252 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26253 else
26255 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26256 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26257 _ACEOF
26259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26261 # trailing colons and then remove the whole line if VPATH becomes empty
26262 # (actually we leave an empty line to preserve line numbers).
26263 if test "x$srcdir" = x.; then
26264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26265 s/:*\$(srcdir):*/:/
26266 s/:*\${srcdir}:*/:/
26267 s/:*@srcdir@:*/:/
26268 s/^\([^=]*=[ ]*\):*/\1/
26269 s/:*$//
26270 s/^[^=]*=[ ]*$//
26274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26275 fi # test -n "$CONFIG_FILES"
26277 # Set up the scripts for CONFIG_HEADERS section.
26278 # No need to generate them if there are no CONFIG_HEADERS.
26279 # This happens for instance with `./config.status Makefile'.
26280 if test -n "$CONFIG_HEADERS"; then
26281 cat >"$tmp/defines.awk" <<\_ACAWK ||
26282 BEGIN {
26283 _ACEOF
26285 # Transform confdefs.h into an awk script `defines.awk', embedded as
26286 # here-document in config.status, that substitutes the proper values into
26287 # config.h.in to produce config.h.
26289 # Create a delimiter string that does not exist in confdefs.h, to ease
26290 # handling of long lines.
26291 ac_delim='%!_!# '
26292 for ac_last_try in false false :; do
26293 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26294 if test -z "$ac_t"; then
26295 break
26296 elif $ac_last_try; then
26297 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26298 else
26299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26301 done
26303 # For the awk script, D is an array of macro values keyed by name,
26304 # likewise P contains macro parameters if any. Preserve backslash
26305 # newline sequences.
26307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26308 sed -n '
26309 s/.\{148\}/&'"$ac_delim"'/g
26310 t rset
26311 :rset
26312 s/^[ ]*#[ ]*define[ ][ ]*/ /
26313 t def
26315 :def
26316 s/\\$//
26317 t bsnl
26318 s/["\\]/\\&/g
26319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26320 D["\1"]=" \3"/p
26321 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26323 :bsnl
26324 s/["\\]/\\&/g
26325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26326 D["\1"]=" \3\\\\\\n"\\/p
26327 t cont
26328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26329 t cont
26331 :cont
26333 s/.\{148\}/&'"$ac_delim"'/g
26334 t clear
26335 :clear
26336 s/\\$//
26337 t bsnlc
26338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26340 :bsnlc
26341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26342 b cont
26343 ' <confdefs.h | sed '
26344 s/'"$ac_delim"'/"\\\
26345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26348 for (key in D) D_is_set[key] = 1
26349 FS = "\a"
26351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26352 line = \$ 0
26353 split(line, arg, " ")
26354 if (arg[1] == "#") {
26355 defundef = arg[2]
26356 mac1 = arg[3]
26357 } else {
26358 defundef = substr(arg[1], 2)
26359 mac1 = arg[2]
26361 split(mac1, mac2, "(") #)
26362 macro = mac2[1]
26363 prefix = substr(line, 1, index(line, defundef) - 1)
26364 if (D_is_set[macro]) {
26365 # Preserve the white space surrounding the "#".
26366 print prefix "define", macro P[macro] D[macro]
26367 next
26368 } else {
26369 # Replace #undef with comments. This is necessary, for example,
26370 # in the case of _POSIX_SOURCE, which is predefined and required
26371 # on some systems where configure will not decide to define it.
26372 if (defundef == "undef") {
26373 print "/*", prefix defundef, macro, "*/"
26374 next
26378 { print }
26379 _ACAWK
26380 _ACEOF
26381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26382 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26383 fi # test -n "$CONFIG_HEADERS"
26386 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26387 shift
26388 for ac_tag
26390 case $ac_tag in
26391 :[FHLC]) ac_mode=$ac_tag; continue;;
26392 esac
26393 case $ac_mode$ac_tag in
26394 :[FHL]*:*);;
26395 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26396 :[FH]-) ac_tag=-:-;;
26397 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26398 esac
26399 ac_save_IFS=$IFS
26400 IFS=:
26401 set x $ac_tag
26402 IFS=$ac_save_IFS
26403 shift
26404 ac_file=$1
26405 shift
26407 case $ac_mode in
26408 :L) ac_source=$1;;
26409 :[FH])
26410 ac_file_inputs=
26411 for ac_f
26413 case $ac_f in
26414 -) ac_f="$tmp/stdin";;
26415 *) # Look for the file first in the build tree, then in the source tree
26416 # (if the path is not absolute). The absolute path cannot be DOS-style,
26417 # because $ac_f cannot contain `:'.
26418 test -f "$ac_f" ||
26419 case $ac_f in
26420 [\\/$]*) false;;
26421 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26422 esac ||
26423 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26424 esac
26425 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26426 as_fn_append ac_file_inputs " '$ac_f'"
26427 done
26429 # Let's still pretend it is `configure' which instantiates (i.e., don't
26430 # use $as_me), people would be surprised to read:
26431 # /* config.h. Generated by config.status. */
26432 configure_input='Generated from '`
26433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26434 `' by configure.'
26435 if test x"$ac_file" != x-; then
26436 configure_input="$ac_file. $configure_input"
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26438 $as_echo "$as_me: creating $ac_file" >&6;}
26440 # Neutralize special characters interpreted by sed in replacement strings.
26441 case $configure_input in #(
26442 *\&* | *\|* | *\\* )
26443 ac_sed_conf_input=`$as_echo "$configure_input" |
26444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26445 *) ac_sed_conf_input=$configure_input;;
26446 esac
26448 case $ac_tag in
26449 *:-:* | *:-) cat >"$tmp/stdin" \
26450 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26451 esac
26453 esac
26455 ac_dir=`$as_dirname -- "$ac_file" ||
26456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26457 X"$ac_file" : 'X\(//\)[^/]' \| \
26458 X"$ac_file" : 'X\(//\)$' \| \
26459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26460 $as_echo X"$ac_file" |
26461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26462 s//\1/
26465 /^X\(\/\/\)[^/].*/{
26466 s//\1/
26469 /^X\(\/\/\)$/{
26470 s//\1/
26473 /^X\(\/\).*/{
26474 s//\1/
26477 s/.*/./; q'`
26478 as_dir="$ac_dir"; as_fn_mkdir_p
26479 ac_builddir=.
26481 case "$ac_dir" in
26482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26485 # A ".." for each directory in $ac_dir_suffix.
26486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26487 case $ac_top_builddir_sub in
26488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26490 esac ;;
26491 esac
26492 ac_abs_top_builddir=$ac_pwd
26493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26494 # for backward compatibility:
26495 ac_top_builddir=$ac_top_build_prefix
26497 case $srcdir in
26498 .) # We are building in place.
26499 ac_srcdir=.
26500 ac_top_srcdir=$ac_top_builddir_sub
26501 ac_abs_top_srcdir=$ac_pwd ;;
26502 [\\/]* | ?:[\\/]* ) # Absolute name.
26503 ac_srcdir=$srcdir$ac_dir_suffix;
26504 ac_top_srcdir=$srcdir
26505 ac_abs_top_srcdir=$srcdir ;;
26506 *) # Relative name.
26507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26508 ac_top_srcdir=$ac_top_build_prefix$srcdir
26509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26510 esac
26511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26514 case $ac_mode in
26517 # CONFIG_FILE
26520 case $INSTALL in
26521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26522 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26523 esac
26524 ac_MKDIR_P=$MKDIR_P
26525 case $MKDIR_P in
26526 [\\/$]* | ?:[\\/]* ) ;;
26527 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26528 esac
26529 _ACEOF
26531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26532 # If the template does not know about datarootdir, expand it.
26533 # FIXME: This hack should be removed a few years after 2.60.
26534 ac_datarootdir_hack=; ac_datarootdir_seen=
26535 ac_sed_dataroot='
26536 /datarootdir/ {
26540 /@datadir@/p
26541 /@docdir@/p
26542 /@infodir@/p
26543 /@localedir@/p
26544 /@mandir@/p'
26545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26546 *datarootdir*) ac_datarootdir_seen=yes;;
26547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26550 _ACEOF
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26552 ac_datarootdir_hack='
26553 s&@datadir@&$datadir&g
26554 s&@docdir@&$docdir&g
26555 s&@infodir@&$infodir&g
26556 s&@localedir@&$localedir&g
26557 s&@mandir@&$mandir&g
26558 s&\\\${datarootdir}&$datarootdir&g' ;;
26559 esac
26560 _ACEOF
26562 # Neutralize VPATH when `$srcdir' = `.'.
26563 # Shell code in configure.ac might set extrasub.
26564 # FIXME: do we really want to maintain this feature?
26565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26566 ac_sed_extra="$ac_vpsub
26567 $extrasub
26568 _ACEOF
26569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26572 s|@configure_input@|$ac_sed_conf_input|;t t
26573 s&@top_builddir@&$ac_top_builddir_sub&;t t
26574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26575 s&@srcdir@&$ac_srcdir&;t t
26576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26577 s&@top_srcdir@&$ac_top_srcdir&;t t
26578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26579 s&@builddir@&$ac_builddir&;t t
26580 s&@abs_builddir@&$ac_abs_builddir&;t t
26581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26582 s&@INSTALL@&$ac_INSTALL&;t t
26583 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26584 $ac_datarootdir_hack
26586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26587 || as_fn_error "could not create $ac_file" "$LINENO" 5
26589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26590 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26593 which seems to be undefined. Please make sure it is defined." >&5
26594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26595 which seems to be undefined. Please make sure it is defined." >&2;}
26597 rm -f "$tmp/stdin"
26598 case $ac_file in
26599 -) cat "$tmp/out" && rm -f "$tmp/out";;
26600 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26601 esac \
26602 || as_fn_error "could not create $ac_file" "$LINENO" 5
26606 # CONFIG_HEADER
26608 if test x"$ac_file" != x-; then
26610 $as_echo "/* $configure_input */" \
26611 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26612 } >"$tmp/config.h" \
26613 || as_fn_error "could not create $ac_file" "$LINENO" 5
26614 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26617 else
26618 rm -f "$ac_file"
26619 mv "$tmp/config.h" "$ac_file" \
26620 || as_fn_error "could not create $ac_file" "$LINENO" 5
26622 else
26623 $as_echo "/* $configure_input */" \
26624 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26625 || as_fn_error "could not create -" "$LINENO" 5
26627 # Compute "$ac_file"'s index in $config_headers.
26628 _am_arg="$ac_file"
26629 _am_stamp_count=1
26630 for _am_header in $config_headers :; do
26631 case $_am_header in
26632 $_am_arg | $_am_arg:* )
26633 break ;;
26635 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26636 esac
26637 done
26638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26640 X"$_am_arg" : 'X\(//\)[^/]' \| \
26641 X"$_am_arg" : 'X\(//\)$' \| \
26642 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26643 $as_echo X"$_am_arg" |
26644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26645 s//\1/
26648 /^X\(\/\/\)[^/].*/{
26649 s//\1/
26652 /^X\(\/\/\)$/{
26653 s//\1/
26656 /^X\(\/\).*/{
26657 s//\1/
26660 s/.*/./; q'`/stamp-h$_am_stamp_count
26663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26664 $as_echo "$as_me: executing $ac_file commands" >&6;}
26666 esac
26669 case $ac_file$ac_mode in
26670 "default-1":C)
26671 # Only add multilib support code if we just rebuilt the top-level
26672 # Makefile.
26673 case " $CONFIG_FILES " in
26674 *" Makefile "*)
26675 ac_file=Makefile . ${multi_basedir}/config-ml.in
26677 esac ;;
26678 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26679 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26680 # are listed without --file. Let's play safe and only enable the eval
26681 # if we detect the quoting.
26682 case $CONFIG_FILES in
26683 *\'*) eval set x "$CONFIG_FILES" ;;
26684 *) set x $CONFIG_FILES ;;
26685 esac
26686 shift
26687 for mf
26689 # Strip MF so we end up with the name of the file.
26690 mf=`echo "$mf" | sed -e 's/:.*$//'`
26691 # Check whether this is an Automake generated Makefile or not.
26692 # We used to match only the files named `Makefile.in', but
26693 # some people rename them; so instead we look at the file content.
26694 # Grep'ing the first line is not enough: some people post-process
26695 # each Makefile.in and add a new line on top of each file to say so.
26696 # Grep'ing the whole file is not good either: AIX grep has a line
26697 # limit of 2048, but all sed's we know have understand at least 4000.
26698 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26699 dirpart=`$as_dirname -- "$mf" ||
26700 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26701 X"$mf" : 'X\(//\)[^/]' \| \
26702 X"$mf" : 'X\(//\)$' \| \
26703 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26704 $as_echo X"$mf" |
26705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26706 s//\1/
26709 /^X\(\/\/\)[^/].*/{
26710 s//\1/
26713 /^X\(\/\/\)$/{
26714 s//\1/
26717 /^X\(\/\).*/{
26718 s//\1/
26721 s/.*/./; q'`
26722 else
26723 continue
26725 # Extract the definition of DEPDIR, am__include, and am__quote
26726 # from the Makefile without running `make'.
26727 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26728 test -z "$DEPDIR" && continue
26729 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26730 test -z "am__include" && continue
26731 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26732 # When using ansi2knr, U may be empty or an underscore; expand it
26733 U=`sed -n 's/^U = //p' < "$mf"`
26734 # Find all dependency output files, they are included files with
26735 # $(DEPDIR) in their names. We invoke sed twice because it is the
26736 # simplest approach to changing $(DEPDIR) to its actual value in the
26737 # expansion.
26738 for file in `sed -n "
26739 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26740 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26741 # Make sure the directory exists.
26742 test -f "$dirpart/$file" && continue
26743 fdir=`$as_dirname -- "$file" ||
26744 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26745 X"$file" : 'X\(//\)[^/]' \| \
26746 X"$file" : 'X\(//\)$' \| \
26747 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26748 $as_echo X"$file" |
26749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26750 s//\1/
26753 /^X\(\/\/\)[^/].*/{
26754 s//\1/
26757 /^X\(\/\/\)$/{
26758 s//\1/
26761 /^X\(\/\).*/{
26762 s//\1/
26765 s/.*/./; q'`
26766 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26767 # echo "creating $dirpart/$file"
26768 echo '# dummy' > "$dirpart/$file"
26769 done
26770 done
26773 "libtool":C)
26775 # See if we are running on zsh, and set the options which allow our
26776 # commands through without removal of \ escapes.
26777 if test -n "${ZSH_VERSION+set}" ; then
26778 setopt NO_GLOB_SUBST
26781 cfgfile="${ofile}T"
26782 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26783 $RM "$cfgfile"
26785 cat <<_LT_EOF >> "$cfgfile"
26786 #! $SHELL
26788 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26789 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26790 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26791 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26793 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26794 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26795 # Written by Gordon Matzigkeit, 1996
26797 # This file is part of GNU Libtool.
26799 # GNU Libtool is free software; you can redistribute it and/or
26800 # modify it under the terms of the GNU General Public License as
26801 # published by the Free Software Foundation; either version 2 of
26802 # the License, or (at your option) any later version.
26804 # As a special exception to the GNU General Public License,
26805 # if you distribute this file as part of a program or library that
26806 # is built using GNU Libtool, you may include this file under the
26807 # same distribution terms that you use for the rest of that program.
26809 # GNU Libtool is distributed in the hope that it will be useful,
26810 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26811 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26812 # GNU General Public License for more details.
26814 # You should have received a copy of the GNU General Public License
26815 # along with GNU Libtool; see the file COPYING. If not, a copy
26816 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26817 # obtained by writing to the Free Software Foundation, Inc.,
26818 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26821 # The names of the tagged configurations supported by this script.
26822 available_tags="FC "
26824 # ### BEGIN LIBTOOL CONFIG
26826 # Which release of libtool.m4 was used?
26827 macro_version=$macro_version
26828 macro_revision=$macro_revision
26830 # Whether or not to build shared libraries.
26831 build_libtool_libs=$enable_shared
26833 # Whether or not to build static libraries.
26834 build_old_libs=$enable_static
26836 # What type of objects to build.
26837 pic_mode=$pic_mode
26839 # Whether or not to optimize for fast installation.
26840 fast_install=$enable_fast_install
26842 # Shell to use when invoking shell scripts.
26843 SHELL=$lt_SHELL
26845 # An echo program that protects backslashes.
26846 ECHO=$lt_ECHO
26848 # The host system.
26849 host_alias=$host_alias
26850 host=$host
26851 host_os=$host_os
26853 # The build system.
26854 build_alias=$build_alias
26855 build=$build
26856 build_os=$build_os
26858 # A sed program that does not truncate output.
26859 SED=$lt_SED
26861 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26862 Xsed="\$SED -e 1s/^X//"
26864 # A grep program that handles long lines.
26865 GREP=$lt_GREP
26867 # An ERE matcher.
26868 EGREP=$lt_EGREP
26870 # A literal string matcher.
26871 FGREP=$lt_FGREP
26873 # A BSD- or MS-compatible name lister.
26874 NM=$lt_NM
26876 # Whether we need soft or hard links.
26877 LN_S=$lt_LN_S
26879 # What is the maximum length of a command?
26880 max_cmd_len=$max_cmd_len
26882 # Object file suffix (normally "o").
26883 objext=$ac_objext
26885 # Executable file suffix (normally "").
26886 exeext=$exeext
26888 # whether the shell understands "unset".
26889 lt_unset=$lt_unset
26891 # turn spaces into newlines.
26892 SP2NL=$lt_lt_SP2NL
26894 # turn newlines into spaces.
26895 NL2SP=$lt_lt_NL2SP
26897 # An object symbol dumper.
26898 OBJDUMP=$lt_OBJDUMP
26900 # Method to check whether dependent libraries are shared objects.
26901 deplibs_check_method=$lt_deplibs_check_method
26903 # Command to use when deplibs_check_method == "file_magic".
26904 file_magic_cmd=$lt_file_magic_cmd
26906 # The archiver.
26907 AR=$lt_AR
26908 AR_FLAGS=$lt_AR_FLAGS
26910 # A symbol stripping program.
26911 STRIP=$lt_STRIP
26913 # Commands used to install an old-style archive.
26914 RANLIB=$lt_RANLIB
26915 old_postinstall_cmds=$lt_old_postinstall_cmds
26916 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26918 # Whether to use a lock for old archive extraction.
26919 lock_old_archive_extraction=$lock_old_archive_extraction
26921 # A C compiler.
26922 LTCC=$lt_CC
26924 # LTCC compiler flags.
26925 LTCFLAGS=$lt_CFLAGS
26927 # Take the output of nm and produce a listing of raw symbols and C names.
26928 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26930 # Transform the output of nm in a proper C declaration.
26931 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26933 # Transform the output of nm in a C name address pair.
26934 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26936 # Transform the output of nm in a C name address pair when lib prefix is needed.
26937 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26939 # The name of the directory that contains temporary libtool files.
26940 objdir=$objdir
26942 # Used to examine libraries when file_magic_cmd begins with "file".
26943 MAGIC_CMD=$MAGIC_CMD
26945 # Must we lock files when doing compilation?
26946 need_locks=$lt_need_locks
26948 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26949 DSYMUTIL=$lt_DSYMUTIL
26951 # Tool to change global to local symbols on Mac OS X.
26952 NMEDIT=$lt_NMEDIT
26954 # Tool to manipulate fat objects and archives on Mac OS X.
26955 LIPO=$lt_LIPO
26957 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26958 OTOOL=$lt_OTOOL
26960 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26961 OTOOL64=$lt_OTOOL64
26963 # Old archive suffix (normally "a").
26964 libext=$libext
26966 # Shared library suffix (normally ".so").
26967 shrext_cmds=$lt_shrext_cmds
26969 # The commands to extract the exported symbol list from a shared archive.
26970 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26972 # Variables whose values should be saved in libtool wrapper scripts and
26973 # restored at link time.
26974 variables_saved_for_relink=$lt_variables_saved_for_relink
26976 # Do we need the "lib" prefix for modules?
26977 need_lib_prefix=$need_lib_prefix
26979 # Do we need a version for libraries?
26980 need_version=$need_version
26982 # Library versioning type.
26983 version_type=$version_type
26985 # Shared library runtime path variable.
26986 runpath_var=$runpath_var
26988 # Shared library path variable.
26989 shlibpath_var=$shlibpath_var
26991 # Is shlibpath searched before the hard-coded library search path?
26992 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26994 # Format of library name prefix.
26995 libname_spec=$lt_libname_spec
26997 # List of archive names. First name is the real one, the rest are links.
26998 # The last name is the one that the linker finds with -lNAME
26999 library_names_spec=$lt_library_names_spec
27001 # The coded name of the library, if different from the real name.
27002 soname_spec=$lt_soname_spec
27004 # Permission mode override for installation of shared libraries.
27005 install_override_mode=$lt_install_override_mode
27007 # Command to use after installation of a shared archive.
27008 postinstall_cmds=$lt_postinstall_cmds
27010 # Command to use after uninstallation of a shared archive.
27011 postuninstall_cmds=$lt_postuninstall_cmds
27013 # Commands used to finish a libtool library installation in a directory.
27014 finish_cmds=$lt_finish_cmds
27016 # As "finish_cmds", except a single script fragment to be evaled but
27017 # not shown.
27018 finish_eval=$lt_finish_eval
27020 # Whether we should hardcode library paths into libraries.
27021 hardcode_into_libs=$hardcode_into_libs
27023 # Compile-time system search path for libraries.
27024 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27026 # Run-time system search path for libraries.
27027 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27029 # Whether dlopen is supported.
27030 dlopen_support=$enable_dlopen
27032 # Whether dlopen of programs is supported.
27033 dlopen_self=$enable_dlopen_self
27035 # Whether dlopen of statically linked programs is supported.
27036 dlopen_self_static=$enable_dlopen_self_static
27038 # Commands to strip libraries.
27039 old_striplib=$lt_old_striplib
27040 striplib=$lt_striplib
27043 # The linker used to build libraries.
27044 LD=$lt_LD
27046 # How to create reloadable object files.
27047 reload_flag=$lt_reload_flag
27048 reload_cmds=$lt_reload_cmds
27050 # Commands used to build an old-style archive.
27051 old_archive_cmds=$lt_old_archive_cmds
27053 # A language specific compiler.
27054 CC=$lt_compiler
27056 # Is the compiler the GNU compiler?
27057 with_gcc=$GCC
27059 # Compiler flag to turn off builtin functions.
27060 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27062 # How to pass a linker flag through the compiler.
27063 wl=$lt_lt_prog_compiler_wl
27065 # Additional compiler flags for building library objects.
27066 pic_flag=$lt_lt_prog_compiler_pic
27068 # Compiler flag to prevent dynamic linking.
27069 link_static_flag=$lt_lt_prog_compiler_static
27071 # Does compiler simultaneously support -c and -o options?
27072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27074 # Whether or not to add -lc for building shared libraries.
27075 build_libtool_need_lc=$archive_cmds_need_lc
27077 # Whether or not to disallow shared libs when runtime libs are static.
27078 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27080 # Compiler flag to allow reflexive dlopens.
27081 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27083 # Compiler flag to generate shared objects directly from archives.
27084 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27086 # Whether the compiler copes with passing no objects directly.
27087 compiler_needs_object=$lt_compiler_needs_object
27089 # Create an old-style archive from a shared archive.
27090 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27092 # Create a temporary old-style archive to link instead of a shared archive.
27093 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27095 # Commands used to build a shared archive.
27096 archive_cmds=$lt_archive_cmds
27097 archive_expsym_cmds=$lt_archive_expsym_cmds
27099 # Commands used to build a loadable module if different from building
27100 # a shared archive.
27101 module_cmds=$lt_module_cmds
27102 module_expsym_cmds=$lt_module_expsym_cmds
27104 # Whether we are building with GNU ld or not.
27105 with_gnu_ld=$lt_with_gnu_ld
27107 # Flag that allows shared libraries with undefined symbols to be built.
27108 allow_undefined_flag=$lt_allow_undefined_flag
27110 # Flag that enforces no undefined symbols.
27111 no_undefined_flag=$lt_no_undefined_flag
27113 # Flag to hardcode \$libdir into a binary during linking.
27114 # This must work even if \$libdir does not exist
27115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27117 # If ld is used when linking, flag to hardcode \$libdir into a binary
27118 # during linking. This must work even if \$libdir does not exist.
27119 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27121 # Whether we need a single "-rpath" flag with a separated argument.
27122 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27124 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27125 # DIR into the resulting binary.
27126 hardcode_direct=$hardcode_direct
27128 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27129 # DIR into the resulting binary and the resulting library dependency is
27130 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27131 # library is relocated.
27132 hardcode_direct_absolute=$hardcode_direct_absolute
27134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27135 # into the resulting binary.
27136 hardcode_minus_L=$hardcode_minus_L
27138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27139 # into the resulting binary.
27140 hardcode_shlibpath_var=$hardcode_shlibpath_var
27142 # Set to "yes" if building a shared library automatically hardcodes DIR
27143 # into the library and all subsequent libraries and executables linked
27144 # against it.
27145 hardcode_automatic=$hardcode_automatic
27147 # Set to yes if linker adds runtime paths of dependent libraries
27148 # to runtime path list.
27149 inherit_rpath=$inherit_rpath
27151 # Whether libtool must link a program against all its dependency libraries.
27152 link_all_deplibs=$link_all_deplibs
27154 # Fix the shell variable \$srcfile for the compiler.
27155 fix_srcfile_path=$lt_fix_srcfile_path
27157 # Set to "yes" if exported symbols are required.
27158 always_export_symbols=$always_export_symbols
27160 # The commands to list exported symbols.
27161 export_symbols_cmds=$lt_export_symbols_cmds
27163 # Symbols that should not be listed in the preloaded symbols.
27164 exclude_expsyms=$lt_exclude_expsyms
27166 # Symbols that must always be exported.
27167 include_expsyms=$lt_include_expsyms
27169 # Commands necessary for linking programs (against libraries) with templates.
27170 prelink_cmds=$lt_prelink_cmds
27172 # Specify filename containing input files.
27173 file_list_spec=$lt_file_list_spec
27175 # How to hardcode a shared library path into an executable.
27176 hardcode_action=$hardcode_action
27178 # The directories searched by this compiler when creating a shared library.
27179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27181 # Dependencies to place before and after the objects being linked to
27182 # create a shared library.
27183 predep_objects=$lt_predep_objects
27184 postdep_objects=$lt_postdep_objects
27185 predeps=$lt_predeps
27186 postdeps=$lt_postdeps
27188 # The library search path used internally by the compiler when linking
27189 # a shared library.
27190 compiler_lib_search_path=$lt_compiler_lib_search_path
27192 # ### END LIBTOOL CONFIG
27194 _LT_EOF
27196 case $host_os in
27197 aix3*)
27198 cat <<\_LT_EOF >> "$cfgfile"
27199 # AIX sometimes has problems with the GCC collect2 program. For some
27200 # reason, if we set the COLLECT_NAMES environment variable, the problems
27201 # vanish in a puff of smoke.
27202 if test "X${COLLECT_NAMES+set}" != Xset; then
27203 COLLECT_NAMES=
27204 export COLLECT_NAMES
27206 _LT_EOF
27208 esac
27211 ltmain="$ac_aux_dir/ltmain.sh"
27214 # We use sed instead of cat because bash on DJGPP gets confused if
27215 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27216 # text mode, it properly converts lines to CR/LF. This bash problem
27217 # is reportedly fixed, but why not run on old versions too?
27218 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27219 || (rm -f "$cfgfile"; exit 1)
27221 case $xsi_shell in
27222 yes)
27223 cat << \_LT_EOF >> "$cfgfile"
27225 # func_dirname file append nondir_replacement
27226 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27227 # otherwise set result to NONDIR_REPLACEMENT.
27228 func_dirname ()
27230 case ${1} in
27231 */*) func_dirname_result="${1%/*}${2}" ;;
27232 * ) func_dirname_result="${3}" ;;
27233 esac
27236 # func_basename file
27237 func_basename ()
27239 func_basename_result="${1##*/}"
27242 # func_dirname_and_basename file append nondir_replacement
27243 # perform func_basename and func_dirname in a single function
27244 # call:
27245 # dirname: Compute the dirname of FILE. If nonempty,
27246 # add APPEND to the result, otherwise set result
27247 # to NONDIR_REPLACEMENT.
27248 # value returned in "$func_dirname_result"
27249 # basename: Compute filename of FILE.
27250 # value retuned in "$func_basename_result"
27251 # Implementation must be kept synchronized with func_dirname
27252 # and func_basename. For efficiency, we do not delegate to
27253 # those functions but instead duplicate the functionality here.
27254 func_dirname_and_basename ()
27256 case ${1} in
27257 */*) func_dirname_result="${1%/*}${2}" ;;
27258 * ) func_dirname_result="${3}" ;;
27259 esac
27260 func_basename_result="${1##*/}"
27263 # func_stripname prefix suffix name
27264 # strip PREFIX and SUFFIX off of NAME.
27265 # PREFIX and SUFFIX must not contain globbing or regex special
27266 # characters, hashes, percent signs, but SUFFIX may contain a leading
27267 # dot (in which case that matches only a dot).
27268 func_stripname ()
27270 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27271 # positional parameters, so assign one to ordinary parameter first.
27272 func_stripname_result=${3}
27273 func_stripname_result=${func_stripname_result#"${1}"}
27274 func_stripname_result=${func_stripname_result%"${2}"}
27277 # func_opt_split
27278 func_opt_split ()
27280 func_opt_split_opt=${1%%=*}
27281 func_opt_split_arg=${1#*=}
27284 # func_lo2o object
27285 func_lo2o ()
27287 case ${1} in
27288 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27289 *) func_lo2o_result=${1} ;;
27290 esac
27293 # func_xform libobj-or-source
27294 func_xform ()
27296 func_xform_result=${1%.*}.lo
27299 # func_arith arithmetic-term...
27300 func_arith ()
27302 func_arith_result=$(( $* ))
27305 # func_len string
27306 # STRING may not start with a hyphen.
27307 func_len ()
27309 func_len_result=${#1}
27312 _LT_EOF
27314 *) # Bourne compatible functions.
27315 cat << \_LT_EOF >> "$cfgfile"
27317 # func_dirname file append nondir_replacement
27318 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27319 # otherwise set result to NONDIR_REPLACEMENT.
27320 func_dirname ()
27322 # Extract subdirectory from the argument.
27323 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27324 if test "X$func_dirname_result" = "X${1}"; then
27325 func_dirname_result="${3}"
27326 else
27327 func_dirname_result="$func_dirname_result${2}"
27331 # func_basename file
27332 func_basename ()
27334 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27338 # func_stripname prefix suffix name
27339 # strip PREFIX and SUFFIX off of NAME.
27340 # PREFIX and SUFFIX must not contain globbing or regex special
27341 # characters, hashes, percent signs, but SUFFIX may contain a leading
27342 # dot (in which case that matches only a dot).
27343 # func_strip_suffix prefix name
27344 func_stripname ()
27346 case ${2} in
27347 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27348 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27349 esac
27352 # sed scripts:
27353 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27354 my_sed_long_arg='1s/^-[^=]*=//'
27356 # func_opt_split
27357 func_opt_split ()
27359 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27360 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27363 # func_lo2o object
27364 func_lo2o ()
27366 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27369 # func_xform libobj-or-source
27370 func_xform ()
27372 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27375 # func_arith arithmetic-term...
27376 func_arith ()
27378 func_arith_result=`expr "$@"`
27381 # func_len string
27382 # STRING may not start with a hyphen.
27383 func_len ()
27385 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27388 _LT_EOF
27389 esac
27391 case $lt_shell_append in
27392 yes)
27393 cat << \_LT_EOF >> "$cfgfile"
27395 # func_append var value
27396 # Append VALUE to the end of shell variable VAR.
27397 func_append ()
27399 eval "$1+=\$2"
27401 _LT_EOF
27404 cat << \_LT_EOF >> "$cfgfile"
27406 # func_append var value
27407 # Append VALUE to the end of shell variable VAR.
27408 func_append ()
27410 eval "$1=\$$1\$2"
27413 _LT_EOF
27415 esac
27418 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27419 || (rm -f "$cfgfile"; exit 1)
27421 mv -f "$cfgfile" "$ofile" ||
27422 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27423 chmod +x "$ofile"
27426 cat <<_LT_EOF >> "$ofile"
27428 # ### BEGIN LIBTOOL TAG CONFIG: FC
27430 # The linker used to build libraries.
27431 LD=$lt_LD_FC
27433 # How to create reloadable object files.
27434 reload_flag=$lt_reload_flag_FC
27435 reload_cmds=$lt_reload_cmds_FC
27437 # Commands used to build an old-style archive.
27438 old_archive_cmds=$lt_old_archive_cmds_FC
27440 # A language specific compiler.
27441 CC=$lt_compiler_FC
27443 # Is the compiler the GNU compiler?
27444 with_gcc=$GCC_FC
27446 # Compiler flag to turn off builtin functions.
27447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27449 # How to pass a linker flag through the compiler.
27450 wl=$lt_lt_prog_compiler_wl_FC
27452 # Additional compiler flags for building library objects.
27453 pic_flag=$lt_lt_prog_compiler_pic_FC
27455 # Compiler flag to prevent dynamic linking.
27456 link_static_flag=$lt_lt_prog_compiler_static_FC
27458 # Does compiler simultaneously support -c and -o options?
27459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27461 # Whether or not to add -lc for building shared libraries.
27462 build_libtool_need_lc=$archive_cmds_need_lc_FC
27464 # Whether or not to disallow shared libs when runtime libs are static.
27465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27467 # Compiler flag to allow reflexive dlopens.
27468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27470 # Compiler flag to generate shared objects directly from archives.
27471 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27473 # Whether the compiler copes with passing no objects directly.
27474 compiler_needs_object=$lt_compiler_needs_object_FC
27476 # Create an old-style archive from a shared archive.
27477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27479 # Create a temporary old-style archive to link instead of a shared archive.
27480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27482 # Commands used to build a shared archive.
27483 archive_cmds=$lt_archive_cmds_FC
27484 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27486 # Commands used to build a loadable module if different from building
27487 # a shared archive.
27488 module_cmds=$lt_module_cmds_FC
27489 module_expsym_cmds=$lt_module_expsym_cmds_FC
27491 # Whether we are building with GNU ld or not.
27492 with_gnu_ld=$lt_with_gnu_ld_FC
27494 # Flag that allows shared libraries with undefined symbols to be built.
27495 allow_undefined_flag=$lt_allow_undefined_flag_FC
27497 # Flag that enforces no undefined symbols.
27498 no_undefined_flag=$lt_no_undefined_flag_FC
27500 # Flag to hardcode \$libdir into a binary during linking.
27501 # This must work even if \$libdir does not exist
27502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27504 # If ld is used when linking, flag to hardcode \$libdir into a binary
27505 # during linking. This must work even if \$libdir does not exist.
27506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27508 # Whether we need a single "-rpath" flag with a separated argument.
27509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27512 # DIR into the resulting binary.
27513 hardcode_direct=$hardcode_direct_FC
27515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27516 # DIR into the resulting binary and the resulting library dependency is
27517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27518 # library is relocated.
27519 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27522 # into the resulting binary.
27523 hardcode_minus_L=$hardcode_minus_L_FC
27525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27526 # into the resulting binary.
27527 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27529 # Set to "yes" if building a shared library automatically hardcodes DIR
27530 # into the library and all subsequent libraries and executables linked
27531 # against it.
27532 hardcode_automatic=$hardcode_automatic_FC
27534 # Set to yes if linker adds runtime paths of dependent libraries
27535 # to runtime path list.
27536 inherit_rpath=$inherit_rpath_FC
27538 # Whether libtool must link a program against all its dependency libraries.
27539 link_all_deplibs=$link_all_deplibs_FC
27541 # Fix the shell variable \$srcfile for the compiler.
27542 fix_srcfile_path=$lt_fix_srcfile_path_FC
27544 # Set to "yes" if exported symbols are required.
27545 always_export_symbols=$always_export_symbols_FC
27547 # The commands to list exported symbols.
27548 export_symbols_cmds=$lt_export_symbols_cmds_FC
27550 # Symbols that should not be listed in the preloaded symbols.
27551 exclude_expsyms=$lt_exclude_expsyms_FC
27553 # Symbols that must always be exported.
27554 include_expsyms=$lt_include_expsyms_FC
27556 # Commands necessary for linking programs (against libraries) with templates.
27557 prelink_cmds=$lt_prelink_cmds_FC
27559 # Specify filename containing input files.
27560 file_list_spec=$lt_file_list_spec_FC
27562 # How to hardcode a shared library path into an executable.
27563 hardcode_action=$hardcode_action_FC
27565 # The directories searched by this compiler when creating a shared library.
27566 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27568 # Dependencies to place before and after the objects being linked to
27569 # create a shared library.
27570 predep_objects=$lt_predep_objects_FC
27571 postdep_objects=$lt_postdep_objects_FC
27572 predeps=$lt_predeps_FC
27573 postdeps=$lt_postdeps_FC
27575 # The library search path used internally by the compiler when linking
27576 # a shared library.
27577 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27579 # ### END LIBTOOL TAG CONFIG: FC
27580 _LT_EOF
27583 "gstdint.h":C)
27584 if test "$GCC" = yes; then
27585 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27586 else
27587 echo "/* generated for $CC */" > tmp-stdint.h
27590 sed 's/^ *//' >> tmp-stdint.h <<EOF
27592 #ifndef GCC_GENERATED_STDINT_H
27593 #define GCC_GENERATED_STDINT_H 1
27595 #include <sys/types.h>
27598 if test "$acx_cv_header_stdint" != stdint.h; then
27599 echo "#include <stddef.h>" >> tmp-stdint.h
27601 if test "$acx_cv_header_stdint" != stddef.h; then
27602 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27605 sed 's/^ *//' >> tmp-stdint.h <<EOF
27606 /* glibc uses these symbols as guards to prevent redefinitions. */
27607 #ifdef __int8_t_defined
27608 #define _INT8_T
27609 #define _INT16_T
27610 #define _INT32_T
27611 #endif
27612 #ifdef __uint32_t_defined
27613 #define _UINT32_T
27614 #endif
27618 # ----------------- done header, emit basic int types -------------
27619 if test "$acx_cv_header_stdint" = stddef.h; then
27620 sed 's/^ *//' >> tmp-stdint.h <<EOF
27622 #ifndef _UINT8_T
27623 #define _UINT8_T
27624 #ifndef __uint8_t_defined
27625 #define __uint8_t_defined
27626 #ifndef uint8_t
27627 typedef unsigned $acx_cv_type_int8_t uint8_t;
27628 #endif
27629 #endif
27630 #endif
27632 #ifndef _UINT16_T
27633 #define _UINT16_T
27634 #ifndef __uint16_t_defined
27635 #define __uint16_t_defined
27636 #ifndef uint16_t
27637 typedef unsigned $acx_cv_type_int16_t uint16_t;
27638 #endif
27639 #endif
27640 #endif
27642 #ifndef _UINT32_T
27643 #define _UINT32_T
27644 #ifndef __uint32_t_defined
27645 #define __uint32_t_defined
27646 #ifndef uint32_t
27647 typedef unsigned $acx_cv_type_int32_t uint32_t;
27648 #endif
27649 #endif
27650 #endif
27652 #ifndef _INT8_T
27653 #define _INT8_T
27654 #ifndef __int8_t_defined
27655 #define __int8_t_defined
27656 #ifndef int8_t
27657 typedef $acx_cv_type_int8_t int8_t;
27658 #endif
27659 #endif
27660 #endif
27662 #ifndef _INT16_T
27663 #define _INT16_T
27664 #ifndef __int16_t_defined
27665 #define __int16_t_defined
27666 #ifndef int16_t
27667 typedef $acx_cv_type_int16_t int16_t;
27668 #endif
27669 #endif
27670 #endif
27672 #ifndef _INT32_T
27673 #define _INT32_T
27674 #ifndef __int32_t_defined
27675 #define __int32_t_defined
27676 #ifndef int32_t
27677 typedef $acx_cv_type_int32_t int32_t;
27678 #endif
27679 #endif
27680 #endif
27682 elif test "$ac_cv_type_u_int32_t" = yes; then
27683 sed 's/^ *//' >> tmp-stdint.h <<EOF
27685 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27686 #ifndef _INT8_T
27687 #define _INT8_T
27688 #endif
27689 #ifndef _INT16_T
27690 #define _INT16_T
27691 #endif
27692 #ifndef _INT32_T
27693 #define _INT32_T
27694 #endif
27696 #ifndef _UINT8_T
27697 #define _UINT8_T
27698 #ifndef __uint8_t_defined
27699 #define __uint8_t_defined
27700 #ifndef uint8_t
27701 typedef u_int8_t uint8_t;
27702 #endif
27703 #endif
27704 #endif
27706 #ifndef _UINT16_T
27707 #define _UINT16_T
27708 #ifndef __uint16_t_defined
27709 #define __uint16_t_defined
27710 #ifndef uint16_t
27711 typedef u_int16_t uint16_t;
27712 #endif
27713 #endif
27714 #endif
27716 #ifndef _UINT32_T
27717 #define _UINT32_T
27718 #ifndef __uint32_t_defined
27719 #define __uint32_t_defined
27720 #ifndef uint32_t
27721 typedef u_int32_t uint32_t;
27722 #endif
27723 #endif
27724 #endif
27726 else
27727 sed 's/^ *//' >> tmp-stdint.h <<EOF
27729 /* Some systems have guard macros to prevent redefinitions, define them. */
27730 #ifndef _INT8_T
27731 #define _INT8_T
27732 #endif
27733 #ifndef _INT16_T
27734 #define _INT16_T
27735 #endif
27736 #ifndef _INT32_T
27737 #define _INT32_T
27738 #endif
27739 #ifndef _UINT8_T
27740 #define _UINT8_T
27741 #endif
27742 #ifndef _UINT16_T
27743 #define _UINT16_T
27744 #endif
27745 #ifndef _UINT32_T
27746 #define _UINT32_T
27747 #endif
27751 # ------------- done basic int types, emit int64_t types ------------
27752 if test "$ac_cv_type_uint64_t" = yes; then
27753 sed 's/^ *//' >> tmp-stdint.h <<EOF
27755 /* system headers have good uint64_t and int64_t */
27756 #ifndef _INT64_T
27757 #define _INT64_T
27758 #endif
27759 #ifndef _UINT64_T
27760 #define _UINT64_T
27761 #endif
27763 elif test "$ac_cv_type_u_int64_t" = yes; then
27764 sed 's/^ *//' >> tmp-stdint.h <<EOF
27766 /* system headers have an u_int64_t (and int64_t) */
27767 #ifndef _INT64_T
27768 #define _INT64_T
27769 #endif
27770 #ifndef _UINT64_T
27771 #define _UINT64_T
27772 #ifndef __uint64_t_defined
27773 #define __uint64_t_defined
27774 #ifndef uint64_t
27775 typedef u_int64_t uint64_t;
27776 #endif
27777 #endif
27778 #endif
27780 elif test -n "$acx_cv_type_int64_t"; then
27781 sed 's/^ *//' >> tmp-stdint.h <<EOF
27783 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27784 #ifndef _INT64_T
27785 #define _INT64_T
27786 #ifndef int64_t
27787 typedef $acx_cv_type_int64_t int64_t;
27788 #endif
27789 #endif
27790 #ifndef _UINT64_T
27791 #define _UINT64_T
27792 #ifndef __uint64_t_defined
27793 #define __uint64_t_defined
27794 #ifndef uint64_t
27795 typedef unsigned $acx_cv_type_int64_t uint64_t;
27796 #endif
27797 #endif
27798 #endif
27800 else
27801 sed 's/^ *//' >> tmp-stdint.h <<EOF
27803 /* some common heuristics for int64_t, using compiler-specific tests */
27804 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27805 #ifndef _INT64_T
27806 #define _INT64_T
27807 #ifndef __int64_t_defined
27808 #ifndef int64_t
27809 typedef long long int64_t;
27810 #endif
27811 #endif
27812 #endif
27813 #ifndef _UINT64_T
27814 #define _UINT64_T
27815 #ifndef uint64_t
27816 typedef unsigned long long uint64_t;
27817 #endif
27818 #endif
27820 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27821 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27822 does not implement __extension__. But that compiler doesn't define
27823 __GNUC_MINOR__. */
27824 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27825 # define __extension__
27826 # endif
27828 # ifndef _INT64_T
27829 # define _INT64_T
27830 # ifndef int64_t
27831 __extension__ typedef long long int64_t;
27832 # endif
27833 # endif
27834 # ifndef _UINT64_T
27835 # define _UINT64_T
27836 # ifndef uint64_t
27837 __extension__ typedef unsigned long long uint64_t;
27838 # endif
27839 # endif
27841 #elif !defined __STRICT_ANSI__
27842 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27844 # ifndef _INT64_T
27845 # define _INT64_T
27846 # ifndef int64_t
27847 typedef __int64 int64_t;
27848 # endif
27849 # endif
27850 # ifndef _UINT64_T
27851 # define _UINT64_T
27852 # ifndef uint64_t
27853 typedef unsigned __int64 uint64_t;
27854 # endif
27855 # endif
27856 # endif /* compiler */
27858 #endif /* ANSI version */
27862 # ------------- done int64_t types, emit intptr types ------------
27863 if test "$ac_cv_type_uintptr_t" != yes; then
27864 sed 's/^ *//' >> tmp-stdint.h <<EOF
27866 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27867 #ifndef __uintptr_t_defined
27868 #ifndef uintptr_t
27869 typedef u$acx_cv_type_intptr_t uintptr_t;
27870 #endif
27871 #endif
27872 #ifndef __intptr_t_defined
27873 #ifndef intptr_t
27874 typedef $acx_cv_type_intptr_t intptr_t;
27875 #endif
27876 #endif
27880 # ------------- done intptr types, emit int_least types ------------
27881 if test "$ac_cv_type_int_least32_t" != yes; then
27882 sed 's/^ *//' >> tmp-stdint.h <<EOF
27884 /* Define int_least types */
27885 typedef int8_t int_least8_t;
27886 typedef int16_t int_least16_t;
27887 typedef int32_t int_least32_t;
27888 #ifdef _INT64_T
27889 typedef int64_t int_least64_t;
27890 #endif
27892 typedef uint8_t uint_least8_t;
27893 typedef uint16_t uint_least16_t;
27894 typedef uint32_t uint_least32_t;
27895 #ifdef _UINT64_T
27896 typedef uint64_t uint_least64_t;
27897 #endif
27901 # ------------- done intptr types, emit int_fast types ------------
27902 if test "$ac_cv_type_int_fast32_t" != yes; then
27903 sed 's/^ *//' >> tmp-stdint.h <<EOF
27905 /* Define int_fast types. short is often slow */
27906 typedef int8_t int_fast8_t;
27907 typedef int int_fast16_t;
27908 typedef int32_t int_fast32_t;
27909 #ifdef _INT64_T
27910 typedef int64_t int_fast64_t;
27911 #endif
27913 typedef uint8_t uint_fast8_t;
27914 typedef unsigned int uint_fast16_t;
27915 typedef uint32_t uint_fast32_t;
27916 #ifdef _UINT64_T
27917 typedef uint64_t uint_fast64_t;
27918 #endif
27922 if test "$ac_cv_type_uintmax_t" != yes; then
27923 sed 's/^ *//' >> tmp-stdint.h <<EOF
27925 /* Define intmax based on what we found */
27926 #ifndef intmax_t
27927 #ifdef _INT64_T
27928 typedef int64_t intmax_t;
27929 #else
27930 typedef long intmax_t;
27931 #endif
27932 #endif
27933 #ifndef uintmax_t
27934 #ifdef _UINT64_T
27935 typedef uint64_t uintmax_t;
27936 #else
27937 typedef unsigned long uintmax_t;
27938 #endif
27939 #endif
27943 sed 's/^ *//' >> tmp-stdint.h <<EOF
27945 #endif /* GCC_GENERATED_STDINT_H */
27948 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27949 rm -f tmp-stdint.h
27950 else
27951 mv -f tmp-stdint.h gstdint.h
27956 esac
27957 done # for ac_tag
27960 as_fn_exit 0
27961 _ACEOF
27962 ac_clean_files=$ac_clean_files_save
27964 test $ac_write_fail = 0 ||
27965 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27968 # configure is writing to config.log, and then calls config.status.
27969 # config.status does its own redirection, appending to config.log.
27970 # Unfortunately, on DOS this fails, as config.log is still kept open
27971 # by configure, so config.status won't be able to write to it; its
27972 # output is simply discarded. So we exec the FD to /dev/null,
27973 # effectively closing config.log, so it can be properly (re)opened and
27974 # appended to by config.status. When coming back to configure, we
27975 # need to make the FD available again.
27976 if test "$no_create" != yes; then
27977 ac_cs_success=:
27978 ac_config_status_args=
27979 test "$silent" = yes &&
27980 ac_config_status_args="$ac_config_status_args --quiet"
27981 exec 5>/dev/null
27982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27983 exec 5>>config.log
27984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27985 # would make configure fail if this is the last instruction.
27986 $ac_cs_success || as_fn_exit $?
27988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}