Remove rename_nb_iterations and rename_sese_parameters
[official-gcc/graphite-test-results.git] / libgfortran / configure
blob002bc497ca0c00dfbf9c3ba8b7a7a03c845c30d2
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 # no-dist: we don't want 'dist' and related rules.
2831 # -Wall: turns on all automake warnings...
2832 # -Wno-portability: ...except this one, since GNU make is required.
2833 am__api_version='1.11'
2835 # Find a good install program. We prefer a C program (faster),
2836 # so one script is as good as another. But avoid the broken or
2837 # incompatible versions:
2838 # SysV /etc/install, /usr/sbin/install
2839 # SunOS /usr/etc/install
2840 # IRIX /sbin/install
2841 # AIX /bin/install
2842 # AmigaOS /C/install, which installs bootblocks on floppy discs
2843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2846 # OS/2's system install, which has a completely different semantic
2847 # ./install, which can be erroneously created by make from ./install.sh.
2848 # Reject install programs that cannot install multiple files.
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2850 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2851 if test -z "$INSTALL"; then
2852 if test "${ac_cv_path_install+set}" = set; then :
2853 $as_echo_n "(cached) " >&6
2854 else
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 for as_dir in $PATH
2858 IFS=$as_save_IFS
2859 test -z "$as_dir" && as_dir=.
2860 # Account for people who put trailing slashes in PATH elements.
2861 case $as_dir/ in #((
2862 ./ | .// | /[cC]/* | \
2863 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2864 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2865 /usr/ucb/* ) ;;
2867 # OSF1 and SCO ODT 3.0 have their own names for install.
2868 # Don't use installbsd from OSF since it installs stuff as root
2869 # by default.
2870 for ac_prog in ginstall scoinst install; do
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2873 if test $ac_prog = install &&
2874 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2875 # AIX install. It has an incompatible calling convention.
2877 elif test $ac_prog = install &&
2878 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2879 # program-specific install script used by HP pwplus--don't use.
2881 else
2882 rm -rf conftest.one conftest.two conftest.dir
2883 echo one > conftest.one
2884 echo two > conftest.two
2885 mkdir conftest.dir
2886 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2887 test -s conftest.one && test -s conftest.two &&
2888 test -s conftest.dir/conftest.one &&
2889 test -s conftest.dir/conftest.two
2890 then
2891 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2892 break 3
2896 done
2897 done
2899 esac
2901 done
2902 IFS=$as_save_IFS
2904 rm -rf conftest.one conftest.two conftest.dir
2907 if test "${ac_cv_path_install+set}" = set; then
2908 INSTALL=$ac_cv_path_install
2909 else
2910 # As a last resort, use the slow shell script. Don't cache a
2911 # value for INSTALL within a source directory, because that will
2912 # break other packages using the cache if that directory is
2913 # removed, or if the value is a relative name.
2914 INSTALL=$ac_install_sh
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2918 $as_echo "$INSTALL" >&6; }
2920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2921 # It thinks the first close brace ends the variable substitution.
2922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2926 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2929 $as_echo_n "checking whether build environment is sane... " >&6; }
2930 # Just in case
2931 sleep 1
2932 echo timestamp > conftest.file
2933 # Reject unsafe characters in $srcdir or the absolute working directory
2934 # name. Accept space and tab only in the latter.
2935 am_lf='
2937 case `pwd` in
2938 *[\\\"\#\$\&\'\`$am_lf]*)
2939 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2940 esac
2941 case $srcdir in
2942 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2943 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2944 esac
2946 # Do `set' in a subshell so we don't clobber the current shell's
2947 # arguments. Must try -L first in case configure is actually a
2948 # symlink; some systems play weird games with the mod time of symlinks
2949 # (eg FreeBSD returns the mod time of the symlink's containing
2950 # directory).
2951 if (
2952 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2953 if test "$*" = "X"; then
2954 # -L didn't work.
2955 set X `ls -t "$srcdir/configure" conftest.file`
2957 rm -f conftest.file
2958 if test "$*" != "X $srcdir/configure conftest.file" \
2959 && test "$*" != "X conftest.file $srcdir/configure"; then
2961 # If neither matched, then we have a broken ls. This can happen
2962 # if, for instance, CONFIG_SHELL is bash and it inherits a
2963 # broken ls alias from the environment. This has actually
2964 # happened. Such a system could not be considered "sane".
2965 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2966 alias in your environment" "$LINENO" 5
2969 test "$2" = conftest.file
2971 then
2972 # Ok.
2974 else
2975 as_fn_error "newly created file is older than distributed files!
2976 Check your system clock" "$LINENO" 5
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2979 $as_echo "yes" >&6; }
2980 test "$program_prefix" != NONE &&
2981 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2982 # Use a double $ so make ignores it.
2983 test "$program_suffix" != NONE &&
2984 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2985 # Double any \ or $.
2986 # By default was `s,x,x', remove it if useless.
2987 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2988 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2990 # expand $ac_aux_dir to an absolute path
2991 am_aux_dir=`cd $ac_aux_dir && pwd`
2993 if test x"${MISSING+set}" != xset; then
2994 case $am_aux_dir in
2995 *\ * | *\ *)
2996 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2998 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2999 esac
3001 # Use eval to expand $SHELL
3002 if eval "$MISSING --run true"; then
3003 am_missing_run="$MISSING --run "
3004 else
3005 am_missing_run=
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3007 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3010 if test x"${install_sh}" != xset; then
3011 case $am_aux_dir in
3012 *\ * | *\ *)
3013 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3015 install_sh="\${SHELL} $am_aux_dir/install-sh"
3016 esac
3019 # Installed binaries are usually stripped using `strip' when the user
3020 # run `make install-strip'. However `strip' might not be the right
3021 # tool to use in cross-compilation environments, therefore Automake
3022 # will honor the `STRIP' environment variable to overrule this program.
3023 if test "$cross_compiling" != no; then
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3026 set dummy ${ac_tool_prefix}strip; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_STRIP+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3046 done
3047 done
3048 IFS=$as_save_IFS
3052 STRIP=$ac_cv_prog_STRIP
3053 if test -n "$STRIP"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3055 $as_echo "$STRIP" >&6; }
3056 else
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$ac_cv_prog_STRIP"; then
3064 ac_ct_STRIP=$STRIP
3065 # Extract the first word of "strip", so it can be a program name with args.
3066 set dummy strip; ac_word=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test -n "$ac_ct_STRIP"; then
3073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3074 else
3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 for as_dir in $PATH
3078 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 ac_cv_prog_ac_ct_STRIP="strip"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 break 2
3086 done
3087 done
3088 IFS=$as_save_IFS
3092 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3093 if test -n "$ac_ct_STRIP"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3095 $as_echo "$ac_ct_STRIP" >&6; }
3096 else
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3101 if test "x$ac_ct_STRIP" = x; then
3102 STRIP=":"
3103 else
3104 case $cross_compiling:$ac_tool_warned in
3105 yes:)
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108 ac_tool_warned=yes ;;
3109 esac
3110 STRIP=$ac_ct_STRIP
3112 else
3113 STRIP="$ac_cv_prog_STRIP"
3117 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3120 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3121 if test -z "$MKDIR_P"; then
3122 if test "${ac_cv_path_mkdir+set}" = set; then :
3123 $as_echo_n "(cached) " >&6
3124 else
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3128 IFS=$as_save_IFS
3129 test -z "$as_dir" && as_dir=.
3130 for ac_prog in mkdir gmkdir; do
3131 for ac_exec_ext in '' $ac_executable_extensions; do
3132 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3133 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3134 'mkdir (GNU coreutils) '* | \
3135 'mkdir (coreutils) '* | \
3136 'mkdir (fileutils) '4.1*)
3137 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3138 break 3;;
3139 esac
3140 done
3141 done
3142 done
3143 IFS=$as_save_IFS
3147 if test "${ac_cv_path_mkdir+set}" = set; then
3148 MKDIR_P="$ac_cv_path_mkdir -p"
3149 else
3150 # As a last resort, use the slow shell script. Don't cache a
3151 # value for MKDIR_P within a source directory, because that will
3152 # break other packages using the cache if that directory is
3153 # removed, or if the value is a relative name.
3154 test -d ./--version && rmdir ./--version
3155 MKDIR_P="$ac_install_sh -d"
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3159 $as_echo "$MKDIR_P" >&6; }
3161 mkdir_p="$MKDIR_P"
3162 case $mkdir_p in
3163 [\\/$]* | ?:[\\/]*) ;;
3164 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3165 esac
3167 for ac_prog in gawk mawk nawk awk
3169 # Extract the first word of "$ac_prog", so it can be a program name with args.
3170 set dummy $ac_prog; ac_word=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if test "${ac_cv_prog_AWK+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3175 else
3176 if test -n "$AWK"; then
3177 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3178 else
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 for as_dir in $PATH
3182 IFS=$as_save_IFS
3183 test -z "$as_dir" && as_dir=.
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_AWK="$ac_prog"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 break 2
3190 done
3191 done
3192 IFS=$as_save_IFS
3196 AWK=$ac_cv_prog_AWK
3197 if test -n "$AWK"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3199 $as_echo "$AWK" >&6; }
3200 else
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3206 test -n "$AWK" && break
3207 done
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3210 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3211 set x ${MAKE-make}
3212 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3213 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 cat >conftest.make <<\_ACEOF
3217 SHELL = /bin/sh
3218 all:
3219 @echo '@@@%%%=$(MAKE)=@@@%%%'
3220 _ACEOF
3221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3222 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3223 *@@@%%%=?*=@@@%%%*)
3224 eval ac_cv_prog_make_${ac_make}_set=yes;;
3226 eval ac_cv_prog_make_${ac_make}_set=no;;
3227 esac
3228 rm -f conftest.make
3230 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3233 SET_MAKE=
3234 else
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 SET_MAKE="MAKE=${MAKE-make}"
3240 rm -rf .tst 2>/dev/null
3241 mkdir .tst 2>/dev/null
3242 if test -d .tst; then
3243 am__leading_dot=.
3244 else
3245 am__leading_dot=_
3247 rmdir .tst 2>/dev/null
3249 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3250 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3251 # is not polluted with repeated "-I."
3252 am__isrc=' -I$(srcdir)'
3253 # test to see if srcdir already configured
3254 if test -f $srcdir/config.status; then
3255 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3259 # test whether we have cygpath
3260 if test -z "$CYGPATH_W"; then
3261 if (cygpath --version) >/dev/null 2>/dev/null; then
3262 CYGPATH_W='cygpath -w'
3263 else
3264 CYGPATH_W=echo
3269 # Define the identity of the package.
3270 PACKAGE='libgfortran'
3271 VERSION='0.3'
3274 # Some tools Automake needs.
3276 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3279 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3282 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3285 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3288 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3290 # We need awk for the "check" target. The system "awk" is bad on
3291 # some platforms.
3292 # Always define AMTAR for backward compatibility.
3294 AMTAR=${AMTAR-"${am_missing_run}tar"}
3296 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3305 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3306 # Check whether --enable-maintainer-mode was given.
3307 if test "${enable_maintainer_mode+set}" = set; then :
3308 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3309 else
3310 USE_MAINTAINER_MODE=no
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3314 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3315 if test $USE_MAINTAINER_MODE = yes; then
3316 MAINTAINER_MODE_TRUE=
3317 MAINTAINER_MODE_FALSE='#'
3318 else
3319 MAINTAINER_MODE_TRUE='#'
3320 MAINTAINER_MODE_FALSE=
3323 MAINT=$MAINTAINER_MODE_TRUE
3326 # Default to --enable-multilib
3327 # Check whether --enable-multilib was given.
3328 if test "${enable_multilib+set}" = set; then :
3329 enableval=$enable_multilib; case "$enableval" in
3330 yes) multilib=yes ;;
3331 no) multilib=no ;;
3332 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3333 esac
3334 else
3335 multilib=yes
3339 # We may get other options which we leave undocumented:
3340 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3341 # See config-ml.in if you want the gory details.
3343 if test "$srcdir" = "."; then
3344 if test "$with_target_subdir" != "."; then
3345 multi_basedir="$srcdir/$with_multisrctop../.."
3346 else
3347 multi_basedir="$srcdir/$with_multisrctop.."
3349 else
3350 multi_basedir="$srcdir/.."
3354 # Even if the default multilib is not a cross compilation,
3355 # it may be that some of the other multilibs are.
3356 if test $cross_compiling = no && test $multilib = yes \
3357 && test "x${with_multisubdir}" != x ; then
3358 cross_compiling=maybe
3361 ac_config_commands="$ac_config_commands default-1"
3364 # Handy for debugging:
3365 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3367 # Are we being configured with some form of cross compiler?
3368 # NB: We don't actually need to know this just now, but when, say, a test
3369 # suite is included, we'll have to know.
3370 if test "$build" != "$host"; then
3371 LIBGFOR_IS_NATIVE=false
3373 else
3374 LIBGFOR_IS_NATIVE=true
3377 # Calculate toolexeclibdir
3378 # Also toolexecdir, though it's only used in toolexeclibdir
3379 case ${version_specific_libs} in
3380 yes)
3381 # Need the gcc compiler version to know where to install libraries
3382 # and header files if --enable-version-specific-runtime-libs option
3383 # is selected.
3384 toolexecdir='$(libdir)/gcc/$(target_alias)'
3385 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3388 if test -n "$with_cross_host" &&
3389 test x"$with_cross_host" != x"no"; then
3390 # Install a library built with a cross compiler in tooldir, not libdir.
3391 toolexecdir='$(exec_prefix)/$(target_alias)'
3392 toolexeclibdir='$(toolexecdir)/lib'
3393 else
3394 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3395 toolexeclibdir='$(libdir)'
3397 multi_os_directory=`$CC -print-multi-os-directory`
3398 case $multi_os_directory in
3399 .) ;; # Avoid trailing /.
3400 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3401 esac
3403 esac
3407 # Check the compiler.
3408 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3409 # We must force CC to /not/ be precious variables; otherwise
3410 # the wrong, non-multilib-adjusted value will be used in multilibs.
3411 # As a side effect, we have to subst CFLAGS ourselves.
3415 ac_ext=c
3416 ac_cpp='$CPP $CPPFLAGS'
3417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3420 if test -n "$ac_tool_prefix"; then
3421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if test "${ac_cv_prog_CC+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3427 else
3428 if test -n "$CC"; then
3429 ac_cv_prog_CC="$CC" # Let the user override the test.
3430 else
3431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 for as_dir in $PATH
3434 IFS=$as_save_IFS
3435 test -z "$as_dir" && as_dir=.
3436 for ac_exec_ext in '' $ac_executable_extensions; do
3437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3438 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440 break 2
3442 done
3443 done
3444 IFS=$as_save_IFS
3448 CC=$ac_cv_prog_CC
3449 if test -n "$CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3452 else
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3459 if test -z "$ac_cv_prog_CC"; then
3460 ac_ct_CC=$CC
3461 # Extract the first word of "gcc", so it can be a program name with args.
3462 set dummy gcc; ac_word=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3468 if test -n "$ac_ct_CC"; then
3469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3470 else
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 for as_dir in $PATH
3474 IFS=$as_save_IFS
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3478 ac_cv_prog_ac_ct_CC="gcc"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3480 break 2
3482 done
3483 done
3484 IFS=$as_save_IFS
3488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3489 if test -n "$ac_ct_CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3491 $as_echo "$ac_ct_CC" >&6; }
3492 else
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3497 if test "x$ac_ct_CC" = x; then
3498 CC=""
3499 else
3500 case $cross_compiling:$ac_tool_warned in
3501 yes:)
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned=yes ;;
3505 esac
3506 CC=$ac_ct_CC
3508 else
3509 CC="$ac_cv_prog_CC"
3512 if test -z "$CC"; then
3513 if test -n "$ac_tool_prefix"; then
3514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3515 set dummy ${ac_tool_prefix}cc; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if test "${ac_cv_prog_CC+set}" = set; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 if test -n "$CC"; then
3522 ac_cv_prog_CC="$CC" # Let the user override the test.
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH
3527 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3529 for ac_exec_ext in '' $ac_executable_extensions; do
3530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3531 ac_cv_prog_CC="${ac_tool_prefix}cc"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 break 2
3535 done
3536 done
3537 IFS=$as_save_IFS
3541 CC=$ac_cv_prog_CC
3542 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3545 else
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3553 if test -z "$CC"; then
3554 # Extract the first word of "cc", so it can be a program name with args.
3555 set dummy cc; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if test "${ac_cv_prog_CC+set}" = set; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3563 else
3564 ac_prog_rejected=no
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3568 IFS=$as_save_IFS
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3573 ac_prog_rejected=yes
3574 continue
3576 ac_cv_prog_CC="cc"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 break 2
3580 done
3581 done
3582 IFS=$as_save_IFS
3584 if test $ac_prog_rejected = yes; then
3585 # We found a bogon in the path, so make sure we never use it.
3586 set dummy $ac_cv_prog_CC
3587 shift
3588 if test $# != 0; then
3589 # We chose a different compiler from the bogus one.
3590 # However, it has the same basename, so the bogon will be chosen
3591 # first if we set CC to just the basename; use the full file name.
3592 shift
3593 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3598 CC=$ac_cv_prog_CC
3599 if test -n "$CC"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
3602 else
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3609 if test -z "$CC"; then
3610 if test -n "$ac_tool_prefix"; then
3611 for ac_prog in cl.exe
3613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if test "${ac_cv_prog_CC+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3619 else
3620 if test -n "$CC"; then
3621 ac_cv_prog_CC="$CC" # Let the user override the test.
3622 else
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 for as_dir in $PATH
3626 IFS=$as_save_IFS
3627 test -z "$as_dir" && as_dir=.
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 break 2
3634 done
3635 done
3636 IFS=$as_save_IFS
3640 CC=$ac_cv_prog_CC
3641 if test -n "$CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3644 else
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3650 test -n "$CC" && break
3651 done
3653 if test -z "$CC"; then
3654 ac_ct_CC=$CC
3655 for ac_prog in cl.exe
3657 # Extract the first word of "$ac_prog", so it can be a program name with args.
3658 set dummy $ac_prog; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$ac_ct_CC"; then
3665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_ac_ct_CC="$ac_prog"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3694 test -n "$ac_ct_CC" && break
3695 done
3697 if test "x$ac_ct_CC" = x; then
3698 CC=""
3699 else
3700 case $cross_compiling:$ac_tool_warned in
3701 yes:)
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3704 ac_tool_warned=yes ;;
3705 esac
3706 CC=$ac_ct_CC
3713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error "no acceptable C compiler found in \$PATH
3716 See \`config.log' for more details." "$LINENO" 5; }
3718 # Provide some information about the compiler.
3719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3720 set X $ac_compile
3721 ac_compiler=$2
3722 for ac_option in --version -v -V -qversion; do
3723 { { ac_try="$ac_compiler $ac_option >&5"
3724 case "(($ac_try" in
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3727 esac
3728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
3730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3731 ac_status=$?
3732 if test -s conftest.err; then
3733 sed '10a\
3734 ... rest of stderr output deleted ...
3735 10q' conftest.err >conftest.er1
3736 cat conftest.er1 >&5
3737 rm -f conftest.er1 conftest.err
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }
3741 done
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3747 main ()
3751 return 0;
3753 _ACEOF
3754 # FIXME: Cleanup?
3755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3756 (eval $ac_link) 2>&5
3757 ac_status=$?
3758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759 test $ac_status = 0; }; then :
3760 gcc_no_link=no
3761 else
3762 gcc_no_link=yes
3764 if test x$gcc_no_link = xyes; then
3765 # Setting cross_compile will disable run tests; it will
3766 # also disable AC_CHECK_FILE but that's generally
3767 # correct if we can't link.
3768 cross_compiling=yes
3769 EXEEXT=
3770 else
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3775 main ()
3779 return 0;
3781 _ACEOF
3782 ac_clean_files_save=$ac_clean_files
3783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3784 # Try to create an executable without -o first, disregard a.out.
3785 # It will help us diagnose broken compilers, and finding out an intuition
3786 # of exeext.
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3788 $as_echo_n "checking for C compiler default output file name... " >&6; }
3789 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3791 # The possible output files:
3792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3794 ac_rmfiles=
3795 for ac_file in $ac_files
3797 case $ac_file in
3798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3800 esac
3801 done
3802 rm -f $ac_rmfiles
3804 if { { ac_try="$ac_link_default"
3805 case "(($ac_try" in
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3808 esac
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_link_default") 2>&5
3812 ac_status=$?
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }; then :
3815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3818 # so that the user can short-circuit this test for compilers unknown to
3819 # Autoconf.
3820 for ac_file in $ac_files ''
3822 test -f "$ac_file" || continue
3823 case $ac_file in
3824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3826 [ab].out )
3827 # We found the default executable, but exeext='' is most
3828 # certainly right.
3829 break;;
3830 *.* )
3831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3832 then :; else
3833 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3835 # We set ac_cv_exeext here because the later test for it is not
3836 # safe: cross compilers may not add the suffix if given an `-o'
3837 # argument, so we may need to know it at that point already.
3838 # Even if this section looks crufty: it has the advantage of
3839 # actually working.
3840 break;;
3842 break;;
3843 esac
3844 done
3845 test "$ac_cv_exeext" = no && ac_cv_exeext=
3847 else
3848 ac_file=''
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3851 $as_echo "$ac_file" >&6; }
3852 if test -z "$ac_file"; then :
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 { as_fn_set_status 77
3859 as_fn_error "C compiler cannot create executables
3860 See \`config.log' for more details." "$LINENO" 5; }; }
3862 ac_exeext=$ac_cv_exeext
3864 # Check that the compiler produces executables we can run. If not, either
3865 # the compiler is broken, or we cross compile.
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3867 $as_echo_n "checking whether the C compiler works... " >&6; }
3868 # If not cross compiling, check that we can run a simple program.
3869 if test "$cross_compiling" != yes; then
3870 if { ac_try='./$ac_file'
3871 { { case "(($ac_try" in
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3874 esac
3875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877 (eval "$ac_try") 2>&5
3878 ac_status=$?
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; }; then
3881 cross_compiling=no
3882 else
3883 if test "$cross_compiling" = maybe; then
3884 cross_compiling=yes
3885 else
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error "cannot run C compiled programs.
3889 If you meant to cross compile, use \`--host'.
3890 See \`config.log' for more details." "$LINENO" 5; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3895 $as_echo "yes" >&6; }
3897 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3898 ac_clean_files=$ac_clean_files_save
3899 # Check that the compiler produces executables we can run. If not, either
3900 # the compiler is broken, or we cross compile.
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3902 $as_echo_n "checking whether we are cross compiling... " >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3904 $as_echo "$cross_compiling" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3907 $as_echo_n "checking for suffix of executables... " >&6; }
3908 if { { ac_try="$ac_link"
3909 case "(($ac_try" in
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3912 esac
3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3914 $as_echo "$ac_try_echo"; } >&5
3915 (eval "$ac_link") 2>&5
3916 ac_status=$?
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }; then :
3919 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3920 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3921 # work properly (i.e., refer to `conftest.exe'), while it won't with
3922 # `rm'.
3923 for ac_file in conftest.exe conftest conftest.*; do
3924 test -f "$ac_file" || continue
3925 case $ac_file in
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3927 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3928 break;;
3929 * ) break;;
3930 esac
3931 done
3932 else
3933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3935 as_fn_error "cannot compute suffix of executables: cannot compile and link
3936 See \`config.log' for more details." "$LINENO" 5; }
3938 rm -f conftest$ac_cv_exeext
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3940 $as_echo "$ac_cv_exeext" >&6; }
3942 rm -f conftest.$ac_ext
3943 EXEEXT=$ac_cv_exeext
3944 ac_exeext=$EXEEXT
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3947 $as_echo_n "checking for suffix of object files... " >&6; }
3948 if test "${ac_cv_objext+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3950 else
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3955 main ()
3959 return 0;
3961 _ACEOF
3962 rm -f conftest.o conftest.obj
3963 if { { ac_try="$ac_compile"
3964 case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3967 esac
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_compile") 2>&5
3971 ac_status=$?
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 for ac_file in conftest.o conftest.obj conftest.*; do
3975 test -f "$ac_file" || continue;
3976 case $ac_file in
3977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3978 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3979 break;;
3980 esac
3981 done
3982 else
3983 $as_echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error "cannot compute suffix of object files: cannot compile
3989 See \`config.log' for more details." "$LINENO" 5; }
3991 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3994 $as_echo "$ac_cv_objext" >&6; }
3995 OBJEXT=$ac_cv_objext
3996 ac_objext=$OBJEXT
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3998 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3999 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4000 $as_echo_n "(cached) " >&6
4001 else
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4006 main ()
4008 #ifndef __GNUC__
4009 choke me
4010 #endif
4013 return 0;
4015 _ACEOF
4016 if ac_fn_c_try_compile "$LINENO"; then :
4017 ac_compiler_gnu=yes
4018 else
4019 ac_compiler_gnu=no
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4026 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4027 if test $ac_compiler_gnu = yes; then
4028 GCC=yes
4029 else
4030 GCC=
4032 ac_test_CFLAGS=${CFLAGS+set}
4033 ac_save_CFLAGS=$CFLAGS
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4035 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4036 if test "${ac_cv_prog_cc_g+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 ac_save_c_werror_flag=$ac_c_werror_flag
4040 ac_c_werror_flag=yes
4041 ac_cv_prog_cc_g=no
4042 CFLAGS="-g"
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4047 main ()
4051 return 0;
4053 _ACEOF
4054 if ac_fn_c_try_compile "$LINENO"; then :
4055 ac_cv_prog_cc_g=yes
4056 else
4057 CFLAGS=""
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 main ()
4066 return 0;
4068 _ACEOF
4069 if ac_fn_c_try_compile "$LINENO"; then :
4071 else
4072 ac_c_werror_flag=$ac_save_c_werror_flag
4073 CFLAGS="-g"
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4078 main ()
4082 return 0;
4084 _ACEOF
4085 if ac_fn_c_try_compile "$LINENO"; then :
4086 ac_cv_prog_cc_g=yes
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 ac_c_werror_flag=$ac_save_c_werror_flag
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4096 $as_echo "$ac_cv_prog_cc_g" >&6; }
4097 if test "$ac_test_CFLAGS" = set; then
4098 CFLAGS=$ac_save_CFLAGS
4099 elif test $ac_cv_prog_cc_g = yes; then
4100 if test "$GCC" = yes; then
4101 CFLAGS="-g -O2"
4102 else
4103 CFLAGS="-g"
4105 else
4106 if test "$GCC" = yes; then
4107 CFLAGS="-O2"
4108 else
4109 CFLAGS=
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4113 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4114 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4116 else
4117 ac_cv_prog_cc_c89=no
4118 ac_save_CC=$CC
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4121 #include <stdarg.h>
4122 #include <stdio.h>
4123 #include <sys/types.h>
4124 #include <sys/stat.h>
4125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4126 struct buf { int x; };
4127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4128 static char *e (p, i)
4129 char **p;
4130 int i;
4132 return p[i];
4134 static char *f (char * (*g) (char **, int), char **p, ...)
4136 char *s;
4137 va_list v;
4138 va_start (v,p);
4139 s = g (p, va_arg (v,int));
4140 va_end (v);
4141 return s;
4144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4145 function prototypes and stuff, but not '\xHH' hex character constants.
4146 These don't provoke an error unfortunately, instead are silently treated
4147 as 'x'. The following induces an error, until -std is added to get
4148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4149 array size at least. It's necessary to write '\x00'==0 to get something
4150 that's true only with -std. */
4151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4154 inside strings and character constants. */
4155 #define FOO(x) 'x'
4156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4158 int test (int i, double x);
4159 struct s1 {int (*f) (int a);};
4160 struct s2 {int (*f) (double a);};
4161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4162 int argc;
4163 char **argv;
4165 main ()
4167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4169 return 0;
4171 _ACEOF
4172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4175 CC="$ac_save_CC $ac_arg"
4176 if ac_fn_c_try_compile "$LINENO"; then :
4177 ac_cv_prog_cc_c89=$ac_arg
4179 rm -f core conftest.err conftest.$ac_objext
4180 test "x$ac_cv_prog_cc_c89" != "xno" && break
4181 done
4182 rm -f conftest.$ac_ext
4183 CC=$ac_save_CC
4186 # AC_CACHE_VAL
4187 case "x$ac_cv_prog_cc_c89" in
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4190 $as_echo "none needed" >&6; } ;;
4191 xno)
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4193 $as_echo "unsupported" >&6; } ;;
4195 CC="$CC $ac_cv_prog_cc_c89"
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4197 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4198 esac
4199 if test "x$ac_cv_prog_cc_c89" != xno; then :
4203 ac_ext=c
4204 ac_cpp='$CPP $CPPFLAGS'
4205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4208 DEPDIR="${am__leading_dot}deps"
4210 ac_config_commands="$ac_config_commands depfiles"
4213 am_make=${MAKE-make}
4214 cat > confinc << 'END'
4215 am__doit:
4216 @echo this is the am__doit target
4217 .PHONY: am__doit
4219 # If we don't find an include directive, just comment out the code.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4221 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4222 am__include="#"
4223 am__quote=
4224 _am_result=none
4225 # First try GNU make style include.
4226 echo "include confinc" > confmf
4227 # Ignore all kinds of additional output from `make'.
4228 case `$am_make -s -f confmf 2> /dev/null` in #(
4229 *the\ am__doit\ target*)
4230 am__include=include
4231 am__quote=
4232 _am_result=GNU
4234 esac
4235 # Now try BSD make style include.
4236 if test "$am__include" = "#"; then
4237 echo '.include "confinc"' > confmf
4238 case `$am_make -s -f confmf 2> /dev/null` in #(
4239 *the\ am__doit\ target*)
4240 am__include=.include
4241 am__quote="\""
4242 _am_result=BSD
4244 esac
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4249 $as_echo "$_am_result" >&6; }
4250 rm -f confinc confmf
4252 # Check whether --enable-dependency-tracking was given.
4253 if test "${enable_dependency_tracking+set}" = set; then :
4254 enableval=$enable_dependency_tracking;
4257 if test "x$enable_dependency_tracking" != xno; then
4258 am_depcomp="$ac_aux_dir/depcomp"
4259 AMDEPBACKSLASH='\'
4261 if test "x$enable_dependency_tracking" != xno; then
4262 AMDEP_TRUE=
4263 AMDEP_FALSE='#'
4264 else
4265 AMDEP_TRUE='#'
4266 AMDEP_FALSE=
4271 depcc="$CC" am_compiler_list=
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4274 $as_echo_n "checking dependency style of $depcc... " >&6; }
4275 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4279 # We make a subdir and do the tests there. Otherwise we can end up
4280 # making bogus files that we don't know about and never remove. For
4281 # instance it was reported that on HP-UX the gcc test will end up
4282 # making a dummy file named `D' -- because `-MD' means `put the output
4283 # in D'.
4284 mkdir conftest.dir
4285 # Copy depcomp to subdir because otherwise we won't find it if we're
4286 # using a relative directory.
4287 cp "$am_depcomp" conftest.dir
4288 cd conftest.dir
4289 # We will build objects and dependencies in a subdirectory because
4290 # it helps to detect inapplicable dependency modes. For instance
4291 # both Tru64's cc and ICC support -MD to output dependencies as a
4292 # side effect of compilation, but ICC will put the dependencies in
4293 # the current directory while Tru64 will put them in the object
4294 # directory.
4295 mkdir sub
4297 am_cv_CC_dependencies_compiler_type=none
4298 if test "$am_compiler_list" = ""; then
4299 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4301 am__universal=false
4302 case " $depcc " in #(
4303 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4304 esac
4306 for depmode in $am_compiler_list; do
4307 # Setup a source with many dependencies, because some compilers
4308 # like to wrap large dependency lists on column 80 (with \), and
4309 # we should not choose a depcomp mode which is confused by this.
4311 # We need to recreate these files for each test, as the compiler may
4312 # overwrite some of them when testing with obscure command lines.
4313 # This happens at least with the AIX C compiler.
4314 : > sub/conftest.c
4315 for i in 1 2 3 4 5 6; do
4316 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4317 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4318 # Solaris 8's {/usr,}/bin/sh.
4319 touch sub/conftst$i.h
4320 done
4321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4323 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4324 # mode. It turns out that the SunPro C++ compiler does not properly
4325 # handle `-M -o', and we need to detect this. Also, some Intel
4326 # versions had trouble with output in subdirs
4327 am__obj=sub/conftest.${OBJEXT-o}
4328 am__minus_obj="-o $am__obj"
4329 case $depmode in
4330 gcc)
4331 # This depmode causes a compiler race in universal mode.
4332 test "$am__universal" = false || continue
4334 nosideeffect)
4335 # after this tag, mechanisms are not by side-effect, so they'll
4336 # only be used when explicitly requested
4337 if test "x$enable_dependency_tracking" = xyes; then
4338 continue
4339 else
4340 break
4343 msvisualcpp | msvcmsys)
4344 # This compiler won't grok `-c -o', but also, the minuso test has
4345 # not run yet. These depmodes are late enough in the game, and
4346 # so weak that their functioning should not be impacted.
4347 am__obj=conftest.${OBJEXT-o}
4348 am__minus_obj=
4350 none) break ;;
4351 esac
4352 if depmode=$depmode \
4353 source=sub/conftest.c object=$am__obj \
4354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4355 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4356 >/dev/null 2>conftest.err &&
4357 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4358 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4359 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4360 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4361 # icc doesn't choke on unknown options, it will just issue warnings
4362 # or remarks (even with -Werror). So we grep stderr for any message
4363 # that says an option was ignored or not supported.
4364 # When given -MP, icc 7.0 and 7.1 complain thusly:
4365 # icc: Command line warning: ignoring option '-M'; no argument required
4366 # The diagnosis changed in icc 8.0:
4367 # icc: Command line remark: option '-MP' not supported
4368 if (grep 'ignoring option' conftest.err ||
4369 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4370 am_cv_CC_dependencies_compiler_type=$depmode
4371 break
4374 done
4376 cd ..
4377 rm -rf conftest.dir
4378 else
4379 am_cv_CC_dependencies_compiler_type=none
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4388 test "x$enable_dependency_tracking" != xno \
4389 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4390 am__fastdepCC_TRUE=
4391 am__fastdepCC_FALSE='#'
4392 else
4393 am__fastdepCC_TRUE='#'
4394 am__fastdepCC_FALSE=
4400 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4401 if test "x$GCC" = "xyes"; then
4402 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4403 ## We like to use C99 routines when available. This makes sure that
4404 ## __STDC_VERSION__ is set such that libc includes make them available.
4405 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4406 ## Compile the following tests with the same system header contents
4407 ## that we'll encounter when compiling our own source files.
4408 CFLAGS="-std=gnu99 $CFLAGS"
4414 # Check for symbol versioning (copied from libssp).
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4416 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4417 cat > conftest.map <<EOF
4418 FOO_1.0 {
4419 global: *foo*; bar; local: *;
4422 save_LDFLAGS="$LDFLAGS"
4423 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4425 if test x$gcc_no_link = xyes; then
4426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430 int foo;
4432 main ()
4436 return 0;
4438 _ACEOF
4439 if ac_fn_c_try_link "$LINENO"; then :
4440 gfortran_use_symver=yes
4441 else
4442 gfortran_use_symver=no
4444 rm -f core conftest.err conftest.$ac_objext \
4445 conftest$ac_exeext conftest.$ac_ext
4446 LDFLAGS="$save_LDFLAGS"
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4448 $as_echo "$gfortran_use_symver" >&6; }
4449 if test "x$gfortran_use_symver" = xyes; then
4450 LIBGFOR_USE_SYMVER_TRUE=
4451 LIBGFOR_USE_SYMVER_FALSE='#'
4452 else
4453 LIBGFOR_USE_SYMVER_TRUE='#'
4454 LIBGFOR_USE_SYMVER_FALSE=
4458 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4459 # similarly to how libstdc++ does it
4460 ac_test_CFLAGS="${CFLAGS+set}"
4461 ac_save_CFLAGS="$CFLAGS"
4463 # Check for -ffunction-sections -fdata-sections
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4465 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4466 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4471 main ()
4473 int foo;
4475 return 0;
4477 _ACEOF
4478 if ac_fn_c_try_compile "$LINENO"; then :
4479 ac_fdsections=yes
4480 else
4481 ac_fdsections=no
4483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 if test "$ac_test_CFLAGS" = set; then
4485 CFLAGS="$ac_save_CFLAGS"
4486 else
4487 # this is the suspicious part
4488 CFLAGS=""
4490 if test x"$ac_fdsections" = x"yes"; then
4491 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4494 $as_echo "$ac_fdsections" >&6; }
4497 # Find other programs we need.
4498 if test -n "$ac_tool_prefix"; then
4499 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4500 set dummy ${ac_tool_prefix}as; ac_word=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if test "${ac_cv_prog_AS+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 if test -n "$AS"; then
4507 ac_cv_prog_AS="$AS" # Let the user override the test.
4508 else
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH
4512 IFS=$as_save_IFS
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_AS="${ac_tool_prefix}as"
4517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 break 2
4520 done
4521 done
4522 IFS=$as_save_IFS
4526 AS=$ac_cv_prog_AS
4527 if test -n "$AS"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4529 $as_echo "$AS" >&6; }
4530 else
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4537 if test -z "$ac_cv_prog_AS"; then
4538 ac_ct_AS=$AS
4539 # Extract the first word of "as", so it can be a program name with args.
4540 set dummy as; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4544 $as_echo_n "(cached) " >&6
4545 else
4546 if test -n "$ac_ct_AS"; then
4547 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4548 else
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 for as_dir in $PATH
4552 IFS=$as_save_IFS
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_ac_ct_AS="as"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 break 2
4560 done
4561 done
4562 IFS=$as_save_IFS
4566 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4567 if test -n "$ac_ct_AS"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4569 $as_echo "$ac_ct_AS" >&6; }
4570 else
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4575 if test "x$ac_ct_AS" = x; then
4576 AS=""
4577 else
4578 case $cross_compiling:$ac_tool_warned in
4579 yes:)
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4582 ac_tool_warned=yes ;;
4583 esac
4584 AS=$ac_ct_AS
4586 else
4587 AS="$ac_cv_prog_AS"
4590 if test -n "$ac_tool_prefix"; then
4591 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4592 set dummy ${ac_tool_prefix}ar; ac_word=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if test "${ac_cv_prog_AR+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test -n "$AR"; then
4599 ac_cv_prog_AR="$AR" # Let the user override the test.
4600 else
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH
4604 IFS=$as_save_IFS
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4608 ac_cv_prog_AR="${ac_tool_prefix}ar"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 break 2
4612 done
4613 done
4614 IFS=$as_save_IFS
4618 AR=$ac_cv_prog_AR
4619 if test -n "$AR"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4621 $as_echo "$AR" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4629 if test -z "$ac_cv_prog_AR"; then
4630 ac_ct_AR=$AR
4631 # Extract the first word of "ar", so it can be a program name with args.
4632 set dummy ar; ac_word=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4636 $as_echo_n "(cached) " >&6
4637 else
4638 if test -n "$ac_ct_AR"; then
4639 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4640 else
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 for as_dir in $PATH
4644 IFS=$as_save_IFS
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4648 ac_cv_prog_ac_ct_AR="ar"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 break 2
4652 done
4653 done
4654 IFS=$as_save_IFS
4658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4659 if test -n "$ac_ct_AR"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4661 $as_echo "$ac_ct_AR" >&6; }
4662 else
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4667 if test "x$ac_ct_AR" = x; then
4668 AR=""
4669 else
4670 case $cross_compiling:$ac_tool_warned in
4671 yes:)
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674 ac_tool_warned=yes ;;
4675 esac
4676 AR=$ac_ct_AR
4678 else
4679 AR="$ac_cv_prog_AR"
4682 if test -n "$ac_tool_prefix"; then
4683 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4684 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -n "$RANLIB"; then
4691 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4692 else
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 for as_dir in $PATH
4696 IFS=$as_save_IFS
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4700 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 break 2
4704 done
4705 done
4706 IFS=$as_save_IFS
4710 RANLIB=$ac_cv_prog_RANLIB
4711 if test -n "$RANLIB"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4713 $as_echo "$RANLIB" >&6; }
4714 else
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4721 if test -z "$ac_cv_prog_RANLIB"; then
4722 ac_ct_RANLIB=$RANLIB
4723 # Extract the first word of "ranlib", so it can be a program name with args.
4724 set dummy ranlib; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -n "$ac_ct_RANLIB"; then
4731 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4732 else
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_ac_ct_RANLIB="ranlib"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 break 2
4744 done
4745 done
4746 IFS=$as_save_IFS
4750 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4751 if test -n "$ac_ct_RANLIB"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4753 $as_echo "$ac_ct_RANLIB" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4759 if test "x$ac_ct_RANLIB" = x; then
4760 RANLIB="ranlib-not-found-in-path-error"
4761 else
4762 case $cross_compiling:$ac_tool_warned in
4763 yes:)
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4766 ac_tool_warned=yes ;;
4767 esac
4768 RANLIB=$ac_ct_RANLIB
4770 else
4771 RANLIB="$ac_cv_prog_RANLIB"
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4775 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4776 set x ${MAKE-make}
4777 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4778 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4779 $as_echo_n "(cached) " >&6
4780 else
4781 cat >conftest.make <<\_ACEOF
4782 SHELL = /bin/sh
4783 all:
4784 @echo '@@@%%%=$(MAKE)=@@@%%%'
4785 _ACEOF
4786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4788 *@@@%%%=?*=@@@%%%*)
4789 eval ac_cv_prog_make_${ac_make}_set=yes;;
4791 eval ac_cv_prog_make_${ac_make}_set=no;;
4792 esac
4793 rm -f conftest.make
4795 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4798 SET_MAKE=
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 SET_MAKE="MAKE=${MAKE-make}"
4807 # Configure libtool
4808 #AC_MSG_NOTICE([====== Starting libtool configuration])
4809 enable_dlopen=yes
4813 case `pwd` in
4814 *\ * | *\ *)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4816 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4817 esac
4821 macro_version='2.2.7a'
4822 macro_revision='1.3134'
4836 ltmain="$ac_aux_dir/ltmain.sh"
4838 # Backslashify metacharacters that are still active within
4839 # double-quoted strings.
4840 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4842 # Same as above, but do not quote variable references.
4843 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4845 # Sed substitution to delay expansion of an escaped shell variable in a
4846 # double_quote_subst'ed string.
4847 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4849 # Sed substitution to delay expansion of an escaped single quote.
4850 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4852 # Sed substitution to avoid accidental globbing in evaled expressions
4853 no_glob_subst='s/\*/\\\*/g'
4855 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4860 $as_echo_n "checking how to print strings... " >&6; }
4861 # Test print first, because it will be a builtin if present.
4862 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4863 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4864 ECHO='print -r --'
4865 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4866 ECHO='printf %s\n'
4867 else
4868 # Use this function as a fallback that always works.
4869 func_fallback_echo ()
4871 eval 'cat <<_LTECHO_EOF
4873 _LTECHO_EOF'
4875 ECHO='func_fallback_echo'
4878 # func_echo_all arg...
4879 # Invoke $ECHO with all args, space-separated.
4880 func_echo_all ()
4882 $ECHO ""
4885 case "$ECHO" in
4886 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4887 $as_echo "printf" >&6; } ;;
4888 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4889 $as_echo "print -r" >&6; } ;;
4890 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4891 $as_echo "cat" >&6; } ;;
4892 esac
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4908 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4909 if test "${ac_cv_path_SED+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4911 else
4912 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4913 for ac_i in 1 2 3 4 5 6 7; do
4914 ac_script="$ac_script$as_nl$ac_script"
4915 done
4916 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4917 { ac_script=; unset ac_script;}
4918 if test -z "$SED"; then
4919 ac_path_SED_found=false
4920 # Loop through the user's path and test for each of PROGNAME-LIST
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 for as_dir in $PATH
4924 IFS=$as_save_IFS
4925 test -z "$as_dir" && as_dir=.
4926 for ac_prog in sed gsed; do
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4929 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4930 # Check for GNU ac_path_SED and select it if it is found.
4931 # Check for GNU $ac_path_SED
4932 case `"$ac_path_SED" --version 2>&1` in
4933 *GNU*)
4934 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4936 ac_count=0
4937 $as_echo_n 0123456789 >"conftest.in"
4938 while :
4940 cat "conftest.in" "conftest.in" >"conftest.tmp"
4941 mv "conftest.tmp" "conftest.in"
4942 cp "conftest.in" "conftest.nl"
4943 $as_echo '' >> "conftest.nl"
4944 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4945 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4946 as_fn_arith $ac_count + 1 && ac_count=$as_val
4947 if test $ac_count -gt ${ac_path_SED_max-0}; then
4948 # Best one so far, save it but keep looking for a better one
4949 ac_cv_path_SED="$ac_path_SED"
4950 ac_path_SED_max=$ac_count
4952 # 10*(2^10) chars as input seems more than enough
4953 test $ac_count -gt 10 && break
4954 done
4955 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4956 esac
4958 $ac_path_SED_found && break 3
4959 done
4960 done
4961 done
4962 IFS=$as_save_IFS
4963 if test -z "$ac_cv_path_SED"; then
4964 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4966 else
4967 ac_cv_path_SED=$SED
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4972 $as_echo "$ac_cv_path_SED" >&6; }
4973 SED="$ac_cv_path_SED"
4974 rm -f conftest.sed
4976 test -z "$SED" && SED=sed
4977 Xsed="$SED -e 1s/^X//"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4990 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4991 if test "${ac_cv_path_GREP+set}" = set; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 if test -z "$GREP"; then
4995 ac_path_GREP_found=false
4996 # Loop through the user's path and test for each of PROGNAME-LIST
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5000 IFS=$as_save_IFS
5001 test -z "$as_dir" && as_dir=.
5002 for ac_prog in grep ggrep; do
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5005 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5006 # Check for GNU ac_path_GREP and select it if it is found.
5007 # Check for GNU $ac_path_GREP
5008 case `"$ac_path_GREP" --version 2>&1` in
5009 *GNU*)
5010 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5012 ac_count=0
5013 $as_echo_n 0123456789 >"conftest.in"
5014 while :
5016 cat "conftest.in" "conftest.in" >"conftest.tmp"
5017 mv "conftest.tmp" "conftest.in"
5018 cp "conftest.in" "conftest.nl"
5019 $as_echo 'GREP' >> "conftest.nl"
5020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5021 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5022 as_fn_arith $ac_count + 1 && ac_count=$as_val
5023 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5024 # Best one so far, save it but keep looking for a better one
5025 ac_cv_path_GREP="$ac_path_GREP"
5026 ac_path_GREP_max=$ac_count
5028 # 10*(2^10) chars as input seems more than enough
5029 test $ac_count -gt 10 && break
5030 done
5031 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5032 esac
5034 $ac_path_GREP_found && break 3
5035 done
5036 done
5037 done
5038 IFS=$as_save_IFS
5039 if test -z "$ac_cv_path_GREP"; then
5040 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5042 else
5043 ac_cv_path_GREP=$GREP
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5048 $as_echo "$ac_cv_path_GREP" >&6; }
5049 GREP="$ac_cv_path_GREP"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5053 $as_echo_n "checking for egrep... " >&6; }
5054 if test "${ac_cv_path_EGREP+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5058 then ac_cv_path_EGREP="$GREP -E"
5059 else
5060 if test -z "$EGREP"; then
5061 ac_path_EGREP_found=false
5062 # Loop through the user's path and test for each of PROGNAME-LIST
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_prog in egrep; do
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5071 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5072 # Check for GNU ac_path_EGREP and select it if it is found.
5073 # Check for GNU $ac_path_EGREP
5074 case `"$ac_path_EGREP" --version 2>&1` in
5075 *GNU*)
5076 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5078 ac_count=0
5079 $as_echo_n 0123456789 >"conftest.in"
5080 while :
5082 cat "conftest.in" "conftest.in" >"conftest.tmp"
5083 mv "conftest.tmp" "conftest.in"
5084 cp "conftest.in" "conftest.nl"
5085 $as_echo 'EGREP' >> "conftest.nl"
5086 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5088 as_fn_arith $ac_count + 1 && ac_count=$as_val
5089 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5090 # Best one so far, save it but keep looking for a better one
5091 ac_cv_path_EGREP="$ac_path_EGREP"
5092 ac_path_EGREP_max=$ac_count
5094 # 10*(2^10) chars as input seems more than enough
5095 test $ac_count -gt 10 && break
5096 done
5097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5098 esac
5100 $ac_path_EGREP_found && break 3
5101 done
5102 done
5103 done
5104 IFS=$as_save_IFS
5105 if test -z "$ac_cv_path_EGREP"; then
5106 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5108 else
5109 ac_cv_path_EGREP=$EGREP
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5115 $as_echo "$ac_cv_path_EGREP" >&6; }
5116 EGREP="$ac_cv_path_EGREP"
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5120 $as_echo_n "checking for fgrep... " >&6; }
5121 if test "${ac_cv_path_FGREP+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5125 then ac_cv_path_FGREP="$GREP -F"
5126 else
5127 if test -z "$FGREP"; then
5128 ac_path_FGREP_found=false
5129 # Loop through the user's path and test for each of PROGNAME-LIST
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_prog in fgrep; do
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5138 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5139 # Check for GNU ac_path_FGREP and select it if it is found.
5140 # Check for GNU $ac_path_FGREP
5141 case `"$ac_path_FGREP" --version 2>&1` in
5142 *GNU*)
5143 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5145 ac_count=0
5146 $as_echo_n 0123456789 >"conftest.in"
5147 while :
5149 cat "conftest.in" "conftest.in" >"conftest.tmp"
5150 mv "conftest.tmp" "conftest.in"
5151 cp "conftest.in" "conftest.nl"
5152 $as_echo 'FGREP' >> "conftest.nl"
5153 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5154 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5155 as_fn_arith $ac_count + 1 && ac_count=$as_val
5156 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5157 # Best one so far, save it but keep looking for a better one
5158 ac_cv_path_FGREP="$ac_path_FGREP"
5159 ac_path_FGREP_max=$ac_count
5161 # 10*(2^10) chars as input seems more than enough
5162 test $ac_count -gt 10 && break
5163 done
5164 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5165 esac
5167 $ac_path_FGREP_found && break 3
5168 done
5169 done
5170 done
5171 IFS=$as_save_IFS
5172 if test -z "$ac_cv_path_FGREP"; then
5173 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5175 else
5176 ac_cv_path_FGREP=$FGREP
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5182 $as_echo "$ac_cv_path_FGREP" >&6; }
5183 FGREP="$ac_cv_path_FGREP"
5186 test -z "$GREP" && GREP=grep
5206 # Check whether --with-gnu-ld was given.
5207 if test "${with_gnu_ld+set}" = set; then :
5208 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5209 else
5210 with_gnu_ld=no
5213 ac_prog=ld
5214 if test "$GCC" = yes; then
5215 # Check if gcc -print-prog-name=ld gives a path.
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5217 $as_echo_n "checking for ld used by $CC... " >&6; }
5218 case $host in
5219 *-*-mingw*)
5220 # gcc leaves a trailing carriage return which upsets mingw
5221 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5223 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5224 esac
5225 case $ac_prog in
5226 # Accept absolute paths.
5227 [\\/]* | ?:[\\/]*)
5228 re_direlt='/[^/][^/]*/\.\./'
5229 # Canonicalize the pathname of ld
5230 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5231 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5232 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5233 done
5234 test -z "$LD" && LD="$ac_prog"
5237 # If it fails, then pretend we aren't using GCC.
5238 ac_prog=ld
5241 # If it is relative, then search for the first ld in PATH.
5242 with_gnu_ld=unknown
5244 esac
5245 elif test "$with_gnu_ld" = yes; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5247 $as_echo_n "checking for GNU ld... " >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5250 $as_echo_n "checking for non-GNU ld... " >&6; }
5252 if test "${lt_cv_path_LD+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -z "$LD"; then
5256 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5257 for ac_dir in $PATH; do
5258 IFS="$lt_save_ifs"
5259 test -z "$ac_dir" && ac_dir=.
5260 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5261 lt_cv_path_LD="$ac_dir/$ac_prog"
5262 # Check to see if the program is GNU ld. I'd rather use --version,
5263 # but apparently some variants of GNU ld only accept -v.
5264 # Break only if it was the GNU/non-GNU ld that we prefer.
5265 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5266 *GNU* | *'with BFD'*)
5267 test "$with_gnu_ld" != no && break
5270 test "$with_gnu_ld" != yes && break
5272 esac
5274 done
5275 IFS="$lt_save_ifs"
5276 else
5277 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5281 LD="$lt_cv_path_LD"
5282 if test -n "$LD"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5284 $as_echo "$LD" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5289 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5291 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5292 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5293 $as_echo_n "(cached) " >&6
5294 else
5295 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5296 case `$LD -v 2>&1 </dev/null` in
5297 *GNU* | *'with BFD'*)
5298 lt_cv_prog_gnu_ld=yes
5301 lt_cv_prog_gnu_ld=no
5303 esac
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5306 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5307 with_gnu_ld=$lt_cv_prog_gnu_ld
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5318 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5319 if test "${lt_cv_path_NM+set}" = set; then :
5320 $as_echo_n "(cached) " >&6
5321 else
5322 if test -n "$NM"; then
5323 # Let the user override the test.
5324 lt_cv_path_NM="$NM"
5325 else
5326 lt_nm_to_check="${ac_tool_prefix}nm"
5327 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5328 lt_nm_to_check="$lt_nm_to_check nm"
5330 for lt_tmp_nm in $lt_nm_to_check; do
5331 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5332 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5333 IFS="$lt_save_ifs"
5334 test -z "$ac_dir" && ac_dir=.
5335 tmp_nm="$ac_dir/$lt_tmp_nm"
5336 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5337 # Check to see if the nm accepts a BSD-compat flag.
5338 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5339 # nm: unknown option "B" ignored
5340 # Tru64's nm complains that /dev/null is an invalid object file
5341 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5342 */dev/null* | *'Invalid file or object type'*)
5343 lt_cv_path_NM="$tmp_nm -B"
5344 break
5347 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5348 */dev/null*)
5349 lt_cv_path_NM="$tmp_nm -p"
5350 break
5353 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5354 continue # so that we can try to find one that supports BSD flags
5356 esac
5358 esac
5360 done
5361 IFS="$lt_save_ifs"
5362 done
5363 : ${lt_cv_path_NM=no}
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5367 $as_echo "$lt_cv_path_NM" >&6; }
5368 if test "$lt_cv_path_NM" != "no"; then
5369 NM="$lt_cv_path_NM"
5370 else
5371 # Didn't find any BSD compatible name lister, look for dumpbin.
5372 if test -n "$DUMPBIN"; then :
5373 # Let the user override the test.
5374 else
5375 if test -n "$ac_tool_prefix"; then
5376 for ac_prog in dumpbin "link -dump"
5378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$DUMPBIN"; then
5386 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 DUMPBIN=$ac_cv_prog_DUMPBIN
5406 if test -n "$DUMPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5408 $as_echo "$DUMPBIN" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5415 test -n "$DUMPBIN" && break
5416 done
5418 if test -z "$DUMPBIN"; then
5419 ac_ct_DUMPBIN=$DUMPBIN
5420 for ac_prog in dumpbin "link -dump"
5422 # Extract the first word of "$ac_prog", so it can be a program name with args.
5423 set dummy $ac_prog; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5427 $as_echo_n "(cached) " >&6
5428 else
5429 if test -n "$ac_ct_DUMPBIN"; then
5430 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5431 else
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in $PATH
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 break 2
5443 done
5444 done
5445 IFS=$as_save_IFS
5449 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5450 if test -n "$ac_ct_DUMPBIN"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5452 $as_echo "$ac_ct_DUMPBIN" >&6; }
5453 else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5459 test -n "$ac_ct_DUMPBIN" && break
5460 done
5462 if test "x$ac_ct_DUMPBIN" = x; then
5463 DUMPBIN=":"
5464 else
5465 case $cross_compiling:$ac_tool_warned in
5466 yes:)
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5470 esac
5471 DUMPBIN=$ac_ct_DUMPBIN
5475 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5476 *COFF*)
5477 DUMPBIN="$DUMPBIN -symbols"
5480 DUMPBIN=:
5482 esac
5485 if test "$DUMPBIN" != ":"; then
5486 NM="$DUMPBIN"
5489 test -z "$NM" && NM=nm
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5497 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5498 if test "${lt_cv_nm_interface+set}" = set; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 lt_cv_nm_interface="BSD nm"
5502 echo "int some_variable = 0;" > conftest.$ac_ext
5503 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5504 (eval "$ac_compile" 2>conftest.err)
5505 cat conftest.err >&5
5506 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5507 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5508 cat conftest.err >&5
5509 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5510 cat conftest.out >&5
5511 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5512 lt_cv_nm_interface="MS dumpbin"
5514 rm -f conftest*
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5517 $as_echo "$lt_cv_nm_interface" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5520 $as_echo_n "checking whether ln -s works... " >&6; }
5521 LN_S=$as_ln_s
5522 if test "$LN_S" = "ln -s"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5524 $as_echo "yes" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5527 $as_echo "no, using $LN_S" >&6; }
5530 # find the maximum length of command line arguments
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5532 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5533 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5537 teststring="ABCD"
5539 case $build_os in
5540 msdosdjgpp*)
5541 # On DJGPP, this test can blow up pretty badly due to problems in libc
5542 # (any single argument exceeding 2000 bytes causes a buffer overrun
5543 # during glob expansion). Even if it were fixed, the result of this
5544 # check would be larger than it should be.
5545 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5548 gnu*)
5549 # Under GNU Hurd, this test is not required because there is
5550 # no limit to the length of command line arguments.
5551 # Libtool will interpret -1 as no limit whatsoever
5552 lt_cv_sys_max_cmd_len=-1;
5555 cygwin* | mingw* | cegcc*)
5556 # On Win9x/ME, this test blows up -- it succeeds, but takes
5557 # about 5 minutes as the teststring grows exponentially.
5558 # Worse, since 9x/ME are not pre-emptively multitasking,
5559 # you end up with a "frozen" computer, even though with patience
5560 # the test eventually succeeds (with a max line length of 256k).
5561 # Instead, let's just punt: use the minimum linelength reported by
5562 # all of the supported platforms: 8192 (on NT/2K/XP).
5563 lt_cv_sys_max_cmd_len=8192;
5566 mint*)
5567 # On MiNT this can take a long time and run out of memory.
5568 lt_cv_sys_max_cmd_len=8192;
5571 amigaos*)
5572 # On AmigaOS with pdksh, this test takes hours, literally.
5573 # So we just punt and use a minimum line length of 8192.
5574 lt_cv_sys_max_cmd_len=8192;
5577 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5578 # This has been around since 386BSD, at least. Likely further.
5579 if test -x /sbin/sysctl; then
5580 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5581 elif test -x /usr/sbin/sysctl; then
5582 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5583 else
5584 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5586 # And add a safety zone
5587 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5588 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5591 interix*)
5592 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5593 lt_cv_sys_max_cmd_len=196608
5596 osf*)
5597 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5598 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5599 # nice to cause kernel panics so lets avoid the loop below.
5600 # First set a reasonable default.
5601 lt_cv_sys_max_cmd_len=16384
5603 if test -x /sbin/sysconfig; then
5604 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5605 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5606 esac
5609 sco3.2v5*)
5610 lt_cv_sys_max_cmd_len=102400
5612 sysv5* | sco5v6* | sysv4.2uw2*)
5613 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5614 if test -n "$kargmax"; then
5615 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5616 else
5617 lt_cv_sys_max_cmd_len=32768
5621 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5622 if test -n "$lt_cv_sys_max_cmd_len"; then
5623 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5625 else
5626 # Make teststring a little bigger before we do anything with it.
5627 # a 1K string should be a reasonable start.
5628 for i in 1 2 3 4 5 6 7 8 ; do
5629 teststring=$teststring$teststring
5630 done
5631 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5632 # If test is not a shell built-in, we'll probably end up computing a
5633 # maximum length that is only half of the actual maximum length, but
5634 # we can't tell.
5635 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5636 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5637 test $i != 17 # 1/2 MB should be enough
5639 i=`expr $i + 1`
5640 teststring=$teststring$teststring
5641 done
5642 # Only check the string length outside the loop.
5643 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5644 teststring=
5645 # Add a significant safety factor because C++ compilers can tack on
5646 # massive amounts of additional arguments before passing them to the
5647 # linker. It appears as though 1/2 is a usable value.
5648 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5651 esac
5655 if test -n $lt_cv_sys_max_cmd_len ; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5657 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5658 else
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5660 $as_echo "none" >&6; }
5662 max_cmd_len=$lt_cv_sys_max_cmd_len
5669 : ${CP="cp -f"}
5670 : ${MV="mv -f"}
5671 : ${RM="rm -f"}
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5674 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5675 # Try some XSI features
5676 xsi_shell=no
5677 ( _lt_dummy="a/b/c"
5678 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5679 = c,a/b,, \
5680 && eval 'test $(( 1 + 1 )) -eq 2 \
5681 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5682 && xsi_shell=yes
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5684 $as_echo "$xsi_shell" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5688 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5689 lt_shell_append=no
5690 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5691 >/dev/null 2>&1 \
5692 && lt_shell_append=yes
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5694 $as_echo "$lt_shell_append" >&6; }
5697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5698 lt_unset=unset
5699 else
5700 lt_unset=false
5707 # test EBCDIC or ASCII
5708 case `echo X|tr X '\101'` in
5709 A) # ASCII based system
5710 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5711 lt_SP2NL='tr \040 \012'
5712 lt_NL2SP='tr \015\012 \040\040'
5714 *) # EBCDIC based system
5715 lt_SP2NL='tr \100 \n'
5716 lt_NL2SP='tr \r\n \100\100'
5718 esac
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5729 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5730 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 lt_cv_ld_reload_flag='-r'
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5736 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5737 reload_flag=$lt_cv_ld_reload_flag
5738 case $reload_flag in
5739 "" | " "*) ;;
5740 *) reload_flag=" $reload_flag" ;;
5741 esac
5742 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5743 case $host_os in
5744 darwin*)
5745 if test "$GCC" = yes; then
5746 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5747 else
5748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5751 esac
5761 if test -n "$ac_tool_prefix"; then
5762 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5763 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 if test -n "$OBJDUMP"; then
5770 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5771 else
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 for as_dir in $PATH
5775 IFS=$as_save_IFS
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5779 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 OBJDUMP=$ac_cv_prog_OBJDUMP
5790 if test -n "$OBJDUMP"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5792 $as_echo "$OBJDUMP" >&6; }
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if test -z "$ac_cv_prog_OBJDUMP"; then
5801 ac_ct_OBJDUMP=$OBJDUMP
5802 # Extract the first word of "objdump", so it can be a program name with args.
5803 set dummy objdump; ac_word=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5808 else
5809 if test -n "$ac_ct_OBJDUMP"; then
5810 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5811 else
5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 for as_dir in $PATH
5815 IFS=$as_save_IFS
5816 test -z "$as_dir" && as_dir=.
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5819 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 break 2
5823 done
5824 done
5825 IFS=$as_save_IFS
5829 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5830 if test -n "$ac_ct_OBJDUMP"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5832 $as_echo "$ac_ct_OBJDUMP" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5838 if test "x$ac_ct_OBJDUMP" = x; then
5839 OBJDUMP="false"
5840 else
5841 case $cross_compiling:$ac_tool_warned in
5842 yes:)
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5845 ac_tool_warned=yes ;;
5846 esac
5847 OBJDUMP=$ac_ct_OBJDUMP
5849 else
5850 OBJDUMP="$ac_cv_prog_OBJDUMP"
5853 test -z "$OBJDUMP" && OBJDUMP=objdump
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5864 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5865 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 lt_cv_file_magic_cmd='$MAGIC_CMD'
5869 lt_cv_file_magic_test_file=
5870 lt_cv_deplibs_check_method='unknown'
5871 # Need to set the preceding variable on all platforms that support
5872 # interlibrary dependencies.
5873 # 'none' -- dependencies not supported.
5874 # `unknown' -- same as none, but documents that we really don't know.
5875 # 'pass_all' -- all dependencies passed with no checks.
5876 # 'test_compile' -- check by making test program.
5877 # 'file_magic [[regex]]' -- check by looking for files in library path
5878 # which responds to the $file_magic_cmd with a given extended regex.
5879 # If you have `file' or equivalent on your system and you're not sure
5880 # whether `pass_all' will *always* work, you probably want this one.
5882 case $host_os in
5883 aix[4-9]*)
5884 lt_cv_deplibs_check_method=pass_all
5887 beos*)
5888 lt_cv_deplibs_check_method=pass_all
5891 bsdi[45]*)
5892 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5893 lt_cv_file_magic_cmd='/usr/bin/file -L'
5894 lt_cv_file_magic_test_file=/shlib/libc.so
5897 cygwin*)
5898 # func_win32_libid is a shell function defined in ltmain.sh
5899 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5900 lt_cv_file_magic_cmd='func_win32_libid'
5903 mingw* | pw32*)
5904 # Base MSYS/MinGW do not provide the 'file' command needed by
5905 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5906 # unless we find 'file', for example because we are cross-compiling.
5907 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5908 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5909 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5910 lt_cv_file_magic_cmd='func_win32_libid'
5911 else
5912 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5913 lt_cv_file_magic_cmd='$OBJDUMP -f'
5917 cegcc*)
5918 # use the weaker test based on 'objdump'. See mingw*.
5919 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5920 lt_cv_file_magic_cmd='$OBJDUMP -f'
5923 darwin* | rhapsody*)
5924 lt_cv_deplibs_check_method=pass_all
5927 freebsd* | dragonfly*)
5928 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5929 case $host_cpu in
5930 i*86 )
5931 # Not sure whether the presence of OpenBSD here was a mistake.
5932 # Let's accept both of them until this is cleared up.
5933 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5934 lt_cv_file_magic_cmd=/usr/bin/file
5935 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5937 esac
5938 else
5939 lt_cv_deplibs_check_method=pass_all
5943 gnu*)
5944 lt_cv_deplibs_check_method=pass_all
5947 haiku*)
5948 lt_cv_deplibs_check_method=pass_all
5951 hpux10.20* | hpux11*)
5952 lt_cv_file_magic_cmd=/usr/bin/file
5953 case $host_cpu in
5954 ia64*)
5955 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5956 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5958 hppa*64*)
5959 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]'
5960 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5964 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5966 esac
5969 interix[3-9]*)
5970 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5971 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5974 irix5* | irix6* | nonstopux*)
5975 case $LD in
5976 *-32|*"-32 ") libmagic=32-bit;;
5977 *-n32|*"-n32 ") libmagic=N32;;
5978 *-64|*"-64 ") libmagic=64-bit;;
5979 *) libmagic=never-match;;
5980 esac
5981 lt_cv_deplibs_check_method=pass_all
5984 # This must be Linux ELF.
5985 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5986 lt_cv_deplibs_check_method=pass_all
5989 netbsd*)
5990 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5991 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5992 else
5993 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5997 newos6*)
5998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5999 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6003 *nto* | *qnx*)
6004 lt_cv_deplibs_check_method=pass_all
6007 openbsd*)
6008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6010 else
6011 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6015 osf3* | osf4* | osf5*)
6016 lt_cv_deplibs_check_method=pass_all
6019 rdos*)
6020 lt_cv_deplibs_check_method=pass_all
6023 solaris*)
6024 lt_cv_deplibs_check_method=pass_all
6027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6028 lt_cv_deplibs_check_method=pass_all
6031 sysv4 | sysv4.3*)
6032 case $host_vendor in
6033 motorola)
6034 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]'
6035 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6037 ncr)
6038 lt_cv_deplibs_check_method=pass_all
6040 sequent)
6041 lt_cv_file_magic_cmd='/bin/file'
6042 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6044 sni)
6045 lt_cv_file_magic_cmd='/bin/file'
6046 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6047 lt_cv_file_magic_test_file=/lib/libc.so
6049 siemens)
6050 lt_cv_deplibs_check_method=pass_all
6053 lt_cv_deplibs_check_method=pass_all
6055 esac
6058 tpf*)
6059 lt_cv_deplibs_check_method=pass_all
6061 esac
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6065 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6066 file_magic_cmd=$lt_cv_file_magic_cmd
6067 deplibs_check_method=$lt_cv_deplibs_check_method
6068 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}ar; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_AR+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$AR"; then
6090 ac_cv_prog_AR="$AR" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_AR="${ac_tool_prefix}ar"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6109 AR=$ac_cv_prog_AR
6110 if test -n "$AR"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6112 $as_echo "$AR" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_AR"; then
6121 ac_ct_AR=$AR
6122 # Extract the first word of "ar", so it can be a program name with args.
6123 set dummy ar; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ac_ct_AR"; then
6130 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_AR="ar"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6150 if test -n "$ac_ct_AR"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6152 $as_echo "$ac_ct_AR" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_AR" = x; then
6159 AR="false"
6160 else
6161 case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167 AR=$ac_ct_AR
6169 else
6170 AR="$ac_cv_prog_AR"
6173 test -z "$AR" && AR=ar
6174 test -z "$AR_FLAGS" && AR_FLAGS=cru
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}strip; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if test "${ac_cv_prog_STRIP+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$STRIP"; then
6195 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 STRIP=$ac_cv_prog_STRIP
6215 if test -n "$STRIP"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6217 $as_echo "$STRIP" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6225 if test -z "$ac_cv_prog_STRIP"; then
6226 ac_ct_STRIP=$STRIP
6227 # Extract the first word of "strip", so it can be a program name with args.
6228 set dummy strip; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if test -n "$ac_ct_STRIP"; then
6235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6240 IFS=$as_save_IFS
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 ac_cv_prog_ac_ct_STRIP="strip"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6248 done
6249 done
6250 IFS=$as_save_IFS
6254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6255 if test -n "$ac_ct_STRIP"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6257 $as_echo "$ac_ct_STRIP" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6263 if test "x$ac_ct_STRIP" = x; then
6264 STRIP=":"
6265 else
6266 case $cross_compiling:$ac_tool_warned in
6267 yes:)
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6270 ac_tool_warned=yes ;;
6271 esac
6272 STRIP=$ac_ct_STRIP
6274 else
6275 STRIP="$ac_cv_prog_STRIP"
6278 test -z "$STRIP" && STRIP=:
6285 if test -n "$ac_tool_prefix"; then
6286 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6287 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 if test -n "$RANLIB"; then
6294 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6299 IFS=$as_save_IFS
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 break 2
6307 done
6308 done
6309 IFS=$as_save_IFS
6313 RANLIB=$ac_cv_prog_RANLIB
6314 if test -n "$RANLIB"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6316 $as_echo "$RANLIB" >&6; }
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6324 if test -z "$ac_cv_prog_RANLIB"; then
6325 ac_ct_RANLIB=$RANLIB
6326 # Extract the first word of "ranlib", so it can be a program name with args.
6327 set dummy ranlib; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if test -n "$ac_ct_RANLIB"; then
6334 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6335 else
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6339 IFS=$as_save_IFS
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_ac_ct_RANLIB="ranlib"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 break 2
6347 done
6348 done
6349 IFS=$as_save_IFS
6353 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6354 if test -n "$ac_ct_RANLIB"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6356 $as_echo "$ac_ct_RANLIB" >&6; }
6357 else
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6362 if test "x$ac_ct_RANLIB" = x; then
6363 RANLIB=":"
6364 else
6365 case $cross_compiling:$ac_tool_warned in
6366 yes:)
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369 ac_tool_warned=yes ;;
6370 esac
6371 RANLIB=$ac_ct_RANLIB
6373 else
6374 RANLIB="$ac_cv_prog_RANLIB"
6377 test -z "$RANLIB" && RANLIB=:
6384 # Determine commands to create old-style static archives.
6385 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6386 old_postinstall_cmds='chmod 644 $oldlib'
6387 old_postuninstall_cmds=
6389 if test -n "$RANLIB"; then
6390 case $host_os in
6391 openbsd*)
6392 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6395 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6397 esac
6398 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6401 case $host_os in
6402 darwin*)
6403 lock_old_archive_extraction=yes ;;
6405 lock_old_archive_extraction=no ;;
6406 esac
6446 # If no C compiler was specified, use CC.
6447 LTCC=${LTCC-"$CC"}
6449 # If no C compiler flags were specified, use CFLAGS.
6450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6452 # Allow CC to be a program name with arguments.
6453 compiler=$CC
6456 # Check for command to grab the raw symbol name followed by C symbol from nm.
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6458 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6459 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6460 $as_echo_n "(cached) " >&6
6461 else
6463 # These are sane defaults that work on at least a few old systems.
6464 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6466 # Character class describing NM global symbol codes.
6467 symcode='[BCDEGRST]'
6469 # Regexp to match symbols that can be accessed directly from C.
6470 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6472 # Define system-specific variables.
6473 case $host_os in
6474 aix*)
6475 symcode='[BCDT]'
6477 cygwin* | mingw* | pw32* | cegcc*)
6478 symcode='[ABCDGISTW]'
6480 hpux*)
6481 if test "$host_cpu" = ia64; then
6482 symcode='[ABCDEGRST]'
6485 irix* | nonstopux*)
6486 symcode='[BCDEGRST]'
6488 osf*)
6489 symcode='[BCDEGQRST]'
6491 solaris*)
6492 symcode='[BDRT]'
6494 sco3.2v5*)
6495 symcode='[DT]'
6497 sysv4.2uw2*)
6498 symcode='[DT]'
6500 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6501 symcode='[ABDT]'
6503 sysv4)
6504 symcode='[DFNSTU]'
6506 esac
6508 # If we're using GNU nm, then use its standard symbol codes.
6509 case `$NM -V 2>&1` in
6510 *GNU* | *'with BFD'*)
6511 symcode='[ABCDGIRSTW]' ;;
6512 esac
6514 # Transform an extracted symbol line into a proper C declaration.
6515 # Some systems (esp. on ia64) link data and code symbols differently,
6516 # so use this general approach.
6517 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6519 # Transform an extracted symbol line into symbol name and symbol address
6520 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6521 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'"
6523 # Handle CRLF in mingw tool chain
6524 opt_cr=
6525 case $build_os in
6526 mingw*)
6527 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6529 esac
6531 # Try without a prefix underscore, then with it.
6532 for ac_symprfx in "" "_"; do
6534 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6535 symxfrm="\\1 $ac_symprfx\\2 \\2"
6537 # Write the raw and C identifiers.
6538 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6539 # Fake it for dumpbin and say T for any non-static function
6540 # and D for any global variable.
6541 # Also find C++ and __fastcall symbols from MSVC++,
6542 # which start with @ or ?.
6543 lt_cv_sys_global_symbol_pipe="$AWK '"\
6544 " {last_section=section; section=\$ 3};"\
6545 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6546 " \$ 0!~/External *\|/{next};"\
6547 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6548 " {if(hide[section]) next};"\
6549 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6550 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6551 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6552 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6553 " ' prfx=^$ac_symprfx"
6554 else
6555 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6558 # Check to see that the pipe works correctly.
6559 pipe_works=no
6561 rm -f conftest*
6562 cat > conftest.$ac_ext <<_LT_EOF
6563 #ifdef __cplusplus
6564 extern "C" {
6565 #endif
6566 char nm_test_var;
6567 void nm_test_func(void);
6568 void nm_test_func(void){}
6569 #ifdef __cplusplus
6571 #endif
6572 int main(){nm_test_var='a';nm_test_func();return(0);}
6573 _LT_EOF
6575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6576 (eval $ac_compile) 2>&5
6577 ac_status=$?
6578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6579 test $ac_status = 0; }; then
6580 # Now try to grab the symbols.
6581 nlist=conftest.nm
6582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6583 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6584 ac_status=$?
6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586 test $ac_status = 0; } && test -s "$nlist"; then
6587 # Try sorting and uniquifying the output.
6588 if sort "$nlist" | uniq > "$nlist"T; then
6589 mv -f "$nlist"T "$nlist"
6590 else
6591 rm -f "$nlist"T
6594 # Make sure that we snagged all the symbols we need.
6595 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6596 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6597 cat <<_LT_EOF > conftest.$ac_ext
6598 #ifdef __cplusplus
6599 extern "C" {
6600 #endif
6602 _LT_EOF
6603 # Now generate the symbol file.
6604 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6606 cat <<_LT_EOF >> conftest.$ac_ext
6608 /* The mapping between symbol names and symbols. */
6609 const struct {
6610 const char *name;
6611 void *address;
6613 lt__PROGRAM__LTX_preloaded_symbols[] =
6615 { "@PROGRAM@", (void *) 0 },
6616 _LT_EOF
6617 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6618 cat <<\_LT_EOF >> conftest.$ac_ext
6619 {0, (void *) 0}
6622 /* This works around a problem in FreeBSD linker */
6623 #ifdef FREEBSD_WORKAROUND
6624 static const void *lt_preloaded_setup() {
6625 return lt__PROGRAM__LTX_preloaded_symbols;
6627 #endif
6629 #ifdef __cplusplus
6631 #endif
6632 _LT_EOF
6633 # Now try linking the two files.
6634 mv conftest.$ac_objext conftstm.$ac_objext
6635 lt_save_LIBS="$LIBS"
6636 lt_save_CFLAGS="$CFLAGS"
6637 LIBS="conftstm.$ac_objext"
6638 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6640 (eval $ac_link) 2>&5
6641 ac_status=$?
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6643 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6644 pipe_works=yes
6646 LIBS="$lt_save_LIBS"
6647 CFLAGS="$lt_save_CFLAGS"
6648 else
6649 echo "cannot find nm_test_func in $nlist" >&5
6651 else
6652 echo "cannot find nm_test_var in $nlist" >&5
6654 else
6655 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6657 else
6658 echo "$progname: failed program was:" >&5
6659 cat conftest.$ac_ext >&5
6661 rm -rf conftest* conftst*
6663 # Do not use the global_symbol_pipe unless it works.
6664 if test "$pipe_works" = yes; then
6665 break
6666 else
6667 lt_cv_sys_global_symbol_pipe=
6669 done
6673 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6674 lt_cv_sys_global_symbol_to_cdecl=
6676 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6678 $as_echo "failed" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6681 $as_echo "ok" >&6; }
6705 # Check whether --enable-libtool-lock was given.
6706 if test "${enable_libtool_lock+set}" = set; then :
6707 enableval=$enable_libtool_lock;
6710 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6712 # Some flags need to be propagated to the compiler or linker for good
6713 # libtool support.
6714 case $host in
6715 ia64-*-hpux*)
6716 # Find out which ABI we are using.
6717 echo 'int i;' > conftest.$ac_ext
6718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719 (eval $ac_compile) 2>&5
6720 ac_status=$?
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722 test $ac_status = 0; }; then
6723 case `/usr/bin/file conftest.$ac_objext` in
6724 *ELF-32*)
6725 HPUX_IA64_MODE="32"
6727 *ELF-64*)
6728 HPUX_IA64_MODE="64"
6730 esac
6732 rm -rf conftest*
6734 *-*-irix6*)
6735 # Find out which ABI we are using.
6736 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738 (eval $ac_compile) 2>&5
6739 ac_status=$?
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741 test $ac_status = 0; }; then
6742 if test "$lt_cv_prog_gnu_ld" = yes; then
6743 case `/usr/bin/file conftest.$ac_objext` in
6744 *32-bit*)
6745 LD="${LD-ld} -melf32bsmip"
6747 *N32*)
6748 LD="${LD-ld} -melf32bmipn32"
6750 *64-bit*)
6751 LD="${LD-ld} -melf64bmip"
6753 esac
6754 else
6755 case `/usr/bin/file conftest.$ac_objext` in
6756 *32-bit*)
6757 LD="${LD-ld} -32"
6759 *N32*)
6760 LD="${LD-ld} -n32"
6762 *64-bit*)
6763 LD="${LD-ld} -64"
6765 esac
6768 rm -rf conftest*
6771 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6772 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6773 # Find out which ABI we are using.
6774 echo 'int i;' > conftest.$ac_ext
6775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6776 (eval $ac_compile) 2>&5
6777 ac_status=$?
6778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6779 test $ac_status = 0; }; then
6780 case `/usr/bin/file conftest.o` in
6781 *32-bit*)
6782 case $host in
6783 x86_64-*kfreebsd*-gnu)
6784 LD="${LD-ld} -m elf_i386_fbsd"
6786 x86_64-*linux*)
6787 LD="${LD-ld} -m elf_i386"
6789 ppc64-*linux*|powerpc64-*linux*)
6790 LD="${LD-ld} -m elf32ppclinux"
6792 s390x-*linux*)
6793 LD="${LD-ld} -m elf_s390"
6795 sparc64-*linux*)
6796 LD="${LD-ld} -m elf32_sparc"
6798 esac
6800 *64-bit*)
6801 case $host in
6802 x86_64-*kfreebsd*-gnu)
6803 LD="${LD-ld} -m elf_x86_64_fbsd"
6805 x86_64-*linux*)
6806 LD="${LD-ld} -m elf_x86_64"
6808 ppc*-*linux*|powerpc*-*linux*)
6809 LD="${LD-ld} -m elf64ppc"
6811 s390*-*linux*|s390*-*tpf*)
6812 LD="${LD-ld} -m elf64_s390"
6814 sparc*-*linux*)
6815 LD="${LD-ld} -m elf64_sparc"
6817 esac
6819 esac
6821 rm -rf conftest*
6824 *-*-sco3.2v5*)
6825 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6826 SAVE_CFLAGS="$CFLAGS"
6827 CFLAGS="$CFLAGS -belf"
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6829 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6830 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6831 $as_echo_n "(cached) " >&6
6832 else
6833 ac_ext=c
6834 ac_cpp='$CPP $CPPFLAGS'
6835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6839 if test x$gcc_no_link = xyes; then
6840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6846 main ()
6850 return 0;
6852 _ACEOF
6853 if ac_fn_c_try_link "$LINENO"; then :
6854 lt_cv_cc_needs_belf=yes
6855 else
6856 lt_cv_cc_needs_belf=no
6858 rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
6860 ac_ext=c
6861 ac_cpp='$CPP $CPPFLAGS'
6862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6868 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6869 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6870 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6871 CFLAGS="$SAVE_CFLAGS"
6874 sparc*-*solaris*)
6875 # Find out which ABI we are using.
6876 echo 'int i;' > conftest.$ac_ext
6877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6878 (eval $ac_compile) 2>&5
6879 ac_status=$?
6880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6881 test $ac_status = 0; }; then
6882 case `/usr/bin/file conftest.o` in
6883 *64-bit*)
6884 case $lt_cv_prog_gnu_ld in
6885 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6887 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6888 LD="${LD-ld} -64"
6891 esac
6893 esac
6895 rm -rf conftest*
6897 esac
6899 need_locks="$enable_libtool_lock"
6902 case $host_os in
6903 rhapsody* | darwin*)
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 if test -n "$DSYMUTIL"; then
6913 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6914 else
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 for as_dir in $PATH
6918 IFS=$as_save_IFS
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6924 break 2
6926 done
6927 done
6928 IFS=$as_save_IFS
6932 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6933 if test -n "$DSYMUTIL"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6935 $as_echo "$DSYMUTIL" >&6; }
6936 else
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6943 if test -z "$ac_cv_prog_DSYMUTIL"; then
6944 ac_ct_DSYMUTIL=$DSYMUTIL
6945 # Extract the first word of "dsymutil", so it can be a program name with args.
6946 set dummy dsymutil; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6950 $as_echo_n "(cached) " >&6
6951 else
6952 if test -n "$ac_ct_DSYMUTIL"; then
6953 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6954 else
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $PATH
6958 IFS=$as_save_IFS
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 break 2
6966 done
6967 done
6968 IFS=$as_save_IFS
6972 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6973 if test -n "$ac_ct_DSYMUTIL"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6975 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6976 else
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6981 if test "x$ac_ct_DSYMUTIL" = x; then
6982 DSYMUTIL=":"
6983 else
6984 case $cross_compiling:$ac_tool_warned in
6985 yes:)
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6988 ac_tool_warned=yes ;;
6989 esac
6990 DSYMUTIL=$ac_ct_DSYMUTIL
6992 else
6993 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6996 if test -n "$ac_tool_prefix"; then
6997 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6998 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 if test -n "$NMEDIT"; then
7005 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7006 else
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 for as_dir in $PATH
7010 IFS=$as_save_IFS
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7014 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 break 2
7018 done
7019 done
7020 IFS=$as_save_IFS
7024 NMEDIT=$ac_cv_prog_NMEDIT
7025 if test -n "$NMEDIT"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7027 $as_echo "$NMEDIT" >&6; }
7028 else
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7035 if test -z "$ac_cv_prog_NMEDIT"; then
7036 ac_ct_NMEDIT=$NMEDIT
7037 # Extract the first word of "nmedit", so it can be a program name with args.
7038 set dummy nmedit; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7042 $as_echo_n "(cached) " >&6
7043 else
7044 if test -n "$ac_ct_NMEDIT"; then
7045 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7050 IFS=$as_save_IFS
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7054 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 break 2
7058 done
7059 done
7060 IFS=$as_save_IFS
7064 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7065 if test -n "$ac_ct_NMEDIT"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7067 $as_echo "$ac_ct_NMEDIT" >&6; }
7068 else
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7073 if test "x$ac_ct_NMEDIT" = x; then
7074 NMEDIT=":"
7075 else
7076 case $cross_compiling:$ac_tool_warned in
7077 yes:)
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080 ac_tool_warned=yes ;;
7081 esac
7082 NMEDIT=$ac_ct_NMEDIT
7084 else
7085 NMEDIT="$ac_cv_prog_NMEDIT"
7088 if test -n "$ac_tool_prefix"; then
7089 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if test "${ac_cv_prog_LIPO+set}" = set; then :
7094 $as_echo_n "(cached) " >&6
7095 else
7096 if test -n "$LIPO"; then
7097 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7098 else
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in $PATH
7102 IFS=$as_save_IFS
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108 break 2
7110 done
7111 done
7112 IFS=$as_save_IFS
7116 LIPO=$ac_cv_prog_LIPO
7117 if test -n "$LIPO"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7119 $as_echo "$LIPO" >&6; }
7120 else
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7127 if test -z "$ac_cv_prog_LIPO"; then
7128 ac_ct_LIPO=$LIPO
7129 # Extract the first word of "lipo", so it can be a program name with args.
7130 set dummy lipo; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7134 $as_echo_n "(cached) " >&6
7135 else
7136 if test -n "$ac_ct_LIPO"; then
7137 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7142 IFS=$as_save_IFS
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7146 ac_cv_prog_ac_ct_LIPO="lipo"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148 break 2
7150 done
7151 done
7152 IFS=$as_save_IFS
7156 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7157 if test -n "$ac_ct_LIPO"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7159 $as_echo "$ac_ct_LIPO" >&6; }
7160 else
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7165 if test "x$ac_ct_LIPO" = x; then
7166 LIPO=":"
7167 else
7168 case $cross_compiling:$ac_tool_warned in
7169 yes:)
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7172 ac_tool_warned=yes ;;
7173 esac
7174 LIPO=$ac_ct_LIPO
7176 else
7177 LIPO="$ac_cv_prog_LIPO"
7180 if test -n "$ac_tool_prefix"; then
7181 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7182 set dummy ${ac_tool_prefix}otool; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7186 $as_echo_n "(cached) " >&6
7187 else
7188 if test -n "$OTOOL"; then
7189 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7190 else
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 for as_dir in $PATH
7194 IFS=$as_save_IFS
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7198 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 break 2
7202 done
7203 done
7204 IFS=$as_save_IFS
7208 OTOOL=$ac_cv_prog_OTOOL
7209 if test -n "$OTOOL"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7211 $as_echo "$OTOOL" >&6; }
7212 else
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7219 if test -z "$ac_cv_prog_OTOOL"; then
7220 ac_ct_OTOOL=$OTOOL
7221 # Extract the first word of "otool", so it can be a program name with args.
7222 set dummy otool; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7226 $as_echo_n "(cached) " >&6
7227 else
7228 if test -n "$ac_ct_OTOOL"; then
7229 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7230 else
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 for as_dir in $PATH
7234 IFS=$as_save_IFS
7235 test -z "$as_dir" && as_dir=.
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7238 ac_cv_prog_ac_ct_OTOOL="otool"
7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240 break 2
7242 done
7243 done
7244 IFS=$as_save_IFS
7248 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7249 if test -n "$ac_ct_OTOOL"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7251 $as_echo "$ac_ct_OTOOL" >&6; }
7252 else
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7257 if test "x$ac_ct_OTOOL" = x; then
7258 OTOOL=":"
7259 else
7260 case $cross_compiling:$ac_tool_warned in
7261 yes:)
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7264 ac_tool_warned=yes ;;
7265 esac
7266 OTOOL=$ac_ct_OTOOL
7268 else
7269 OTOOL="$ac_cv_prog_OTOOL"
7272 if test -n "$ac_tool_prefix"; then
7273 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7274 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 if test -n "$OTOOL64"; then
7281 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7286 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 OTOOL64=$ac_cv_prog_OTOOL64
7301 if test -n "$OTOOL64"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7303 $as_echo "$OTOOL64" >&6; }
7304 else
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7311 if test -z "$ac_cv_prog_OTOOL64"; then
7312 ac_ct_OTOOL64=$OTOOL64
7313 # Extract the first word of "otool64", so it can be a program name with args.
7314 set dummy otool64; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7319 else
7320 if test -n "$ac_ct_OTOOL64"; then
7321 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7326 IFS=$as_save_IFS
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_ac_ct_OTOOL64="otool64"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 break 2
7334 done
7335 done
7336 IFS=$as_save_IFS
7340 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7341 if test -n "$ac_ct_OTOOL64"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7343 $as_echo "$ac_ct_OTOOL64" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7349 if test "x$ac_ct_OTOOL64" = x; then
7350 OTOOL64=":"
7351 else
7352 case $cross_compiling:$ac_tool_warned in
7353 yes:)
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7356 ac_tool_warned=yes ;;
7357 esac
7358 OTOOL64=$ac_ct_OTOOL64
7360 else
7361 OTOOL64="$ac_cv_prog_OTOOL64"
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7391 $as_echo_n "checking for -single_module linker flag... " >&6; }
7392 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7393 $as_echo_n "(cached) " >&6
7394 else
7395 lt_cv_apple_cc_single_mod=no
7396 if test -z "${LT_MULTI_MODULE}"; then
7397 # By default we will add the -single_module flag. You can override
7398 # by either setting the environment variable LT_MULTI_MODULE
7399 # non-empty at configure time, or by adding -multi_module to the
7400 # link flags.
7401 rm -rf libconftest.dylib*
7402 echo "int foo(void){return 1;}" > conftest.c
7403 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7404 -dynamiclib -Wl,-single_module conftest.c" >&5
7405 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7406 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7407 _lt_result=$?
7408 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7409 lt_cv_apple_cc_single_mod=yes
7410 else
7411 cat conftest.err >&5
7413 rm -rf libconftest.dylib*
7414 rm -f conftest.*
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7418 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7420 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7421 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 lt_cv_ld_exported_symbols_list=no
7425 save_LDFLAGS=$LDFLAGS
7426 echo "_main" > conftest.sym
7427 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7428 if test x$gcc_no_link = xyes; then
7429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7435 main ()
7439 return 0;
7441 _ACEOF
7442 if ac_fn_c_try_link "$LINENO"; then :
7443 lt_cv_ld_exported_symbols_list=yes
7444 else
7445 lt_cv_ld_exported_symbols_list=no
7447 rm -f core conftest.err conftest.$ac_objext \
7448 conftest$ac_exeext conftest.$ac_ext
7449 LDFLAGS="$save_LDFLAGS"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7453 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7455 $as_echo_n "checking for -force_load linker flag... " >&6; }
7456 if test "${lt_cv_ld_force_load+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 lt_cv_ld_force_load=no
7460 cat > conftest.c << _LT_EOF
7461 int forced_loaded() { return 2;}
7462 _LT_EOF
7463 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7464 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7465 echo "$AR cru libconftest.a conftest.o" >&5
7466 $AR cru libconftest.a conftest.o 2>&5
7467 cat > conftest.c << _LT_EOF
7468 int main() { return 0;}
7469 _LT_EOF
7470 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7471 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7472 _lt_result=$?
7473 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7474 lt_cv_ld_force_load=yes
7475 else
7476 cat conftest.err >&5
7478 rm -f conftest.err libconftest.a conftest conftest.c
7479 rm -rf conftest.dSYM
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7483 $as_echo "$lt_cv_ld_force_load" >&6; }
7484 case $host_os in
7485 rhapsody* | darwin1.[012])
7486 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7487 darwin1.*)
7488 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7489 darwin*) # darwin 5.x on
7490 # if running on 10.5 or later, the deployment target defaults
7491 # to the OS version, if on x86, and 10.4, the deployment
7492 # target defaults to 10.4. Don't you love it?
7493 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7494 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7495 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7496 10.[012]*)
7497 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7498 10.*)
7499 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7500 esac
7502 esac
7503 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7504 _lt_dar_single_mod='$single_module'
7506 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7507 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7508 else
7509 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7511 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7512 _lt_dsymutil='~$DSYMUTIL $lib || :'
7513 else
7514 _lt_dsymutil=
7517 esac
7519 ac_ext=c
7520 ac_cpp='$CPP $CPPFLAGS'
7521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7525 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7526 # On Suns, sometimes $CPP names a directory.
7527 if test -n "$CPP" && test -d "$CPP"; then
7528 CPP=
7530 if test -z "$CPP"; then
7531 if test "${ac_cv_prog_CPP+set}" = set; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 # Double quotes because CPP needs to be expanded
7535 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7537 ac_preproc_ok=false
7538 for ac_c_preproc_warn_flag in '' yes
7540 # Use a header file that comes with gcc, so configuring glibc
7541 # with a fresh cross-compiler works.
7542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7543 # <limits.h> exists even on freestanding compilers.
7544 # On the NeXT, cc -E runs the code through the compiler's parser,
7545 # not just through cpp. "Syntax error" is here to catch this case.
7546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7548 #ifdef __STDC__
7549 # include <limits.h>
7550 #else
7551 # include <assert.h>
7552 #endif
7553 Syntax error
7554 _ACEOF
7555 if ac_fn_c_try_cpp "$LINENO"; then :
7557 else
7558 # Broken: fails on valid input.
7559 continue
7561 rm -f conftest.err conftest.$ac_ext
7563 # OK, works on sane cases. Now check whether nonexistent headers
7564 # can be detected and how.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7567 #include <ac_nonexistent.h>
7568 _ACEOF
7569 if ac_fn_c_try_cpp "$LINENO"; then :
7570 # Broken: success on invalid input.
7571 continue
7572 else
7573 # Passes both tests.
7574 ac_preproc_ok=:
7575 break
7577 rm -f conftest.err conftest.$ac_ext
7579 done
7580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7581 rm -f conftest.err conftest.$ac_ext
7582 if $ac_preproc_ok; then :
7583 break
7586 done
7587 ac_cv_prog_CPP=$CPP
7590 CPP=$ac_cv_prog_CPP
7591 else
7592 ac_cv_prog_CPP=$CPP
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7595 $as_echo "$CPP" >&6; }
7596 ac_preproc_ok=false
7597 for ac_c_preproc_warn_flag in '' yes
7599 # Use a header file that comes with gcc, so configuring glibc
7600 # with a fresh cross-compiler works.
7601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7602 # <limits.h> exists even on freestanding compilers.
7603 # On the NeXT, cc -E runs the code through the compiler's parser,
7604 # not just through cpp. "Syntax error" is here to catch this case.
7605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7607 #ifdef __STDC__
7608 # include <limits.h>
7609 #else
7610 # include <assert.h>
7611 #endif
7612 Syntax error
7613 _ACEOF
7614 if ac_fn_c_try_cpp "$LINENO"; then :
7616 else
7617 # Broken: fails on valid input.
7618 continue
7620 rm -f conftest.err conftest.$ac_ext
7622 # OK, works on sane cases. Now check whether nonexistent headers
7623 # can be detected and how.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <ac_nonexistent.h>
7627 _ACEOF
7628 if ac_fn_c_try_cpp "$LINENO"; then :
7629 # Broken: success on invalid input.
7630 continue
7631 else
7632 # Passes both tests.
7633 ac_preproc_ok=:
7634 break
7636 rm -f conftest.err conftest.$ac_ext
7638 done
7639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7640 rm -f conftest.err conftest.$ac_ext
7641 if $ac_preproc_ok; then :
7643 else
7644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7646 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7647 See \`config.log' for more details." "$LINENO" 5; }
7650 ac_ext=c
7651 ac_cpp='$CPP $CPPFLAGS'
7652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7658 $as_echo_n "checking for ANSI C header files... " >&6; }
7659 if test "${ac_cv_header_stdc+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7664 #include <stdlib.h>
7665 #include <stdarg.h>
7666 #include <string.h>
7667 #include <float.h>
7670 main ()
7674 return 0;
7676 _ACEOF
7677 if ac_fn_c_try_compile "$LINENO"; then :
7678 ac_cv_header_stdc=yes
7679 else
7680 ac_cv_header_stdc=no
7682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7684 if test $ac_cv_header_stdc = yes; then
7685 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7688 #include <string.h>
7690 _ACEOF
7691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7692 $EGREP "memchr" >/dev/null 2>&1; then :
7694 else
7695 ac_cv_header_stdc=no
7697 rm -f conftest*
7701 if test $ac_cv_header_stdc = yes; then
7702 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7705 #include <stdlib.h>
7707 _ACEOF
7708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7709 $EGREP "free" >/dev/null 2>&1; then :
7711 else
7712 ac_cv_header_stdc=no
7714 rm -f conftest*
7718 if test $ac_cv_header_stdc = yes; then
7719 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7720 if test "$cross_compiling" = yes; then :
7722 else
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #include <ctype.h>
7726 #include <stdlib.h>
7727 #if ((' ' & 0x0FF) == 0x020)
7728 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7729 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7730 #else
7731 # define ISLOWER(c) \
7732 (('a' <= (c) && (c) <= 'i') \
7733 || ('j' <= (c) && (c) <= 'r') \
7734 || ('s' <= (c) && (c) <= 'z'))
7735 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7736 #endif
7738 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7740 main ()
7742 int i;
7743 for (i = 0; i < 256; i++)
7744 if (XOR (islower (i), ISLOWER (i))
7745 || toupper (i) != TOUPPER (i))
7746 return 2;
7747 return 0;
7749 _ACEOF
7750 if ac_fn_c_try_run "$LINENO"; then :
7752 else
7753 ac_cv_header_stdc=no
7755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7756 conftest.$ac_objext conftest.beam conftest.$ac_ext
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7762 $as_echo "$ac_cv_header_stdc" >&6; }
7763 if test $ac_cv_header_stdc = yes; then
7765 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7769 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7770 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7771 inttypes.h stdint.h unistd.h
7772 do :
7773 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7774 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7776 eval as_val=\$$as_ac_Header
7777 if test "x$as_val" = x""yes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 _ACEOF
7784 done
7787 for ac_header in dlfcn.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7791 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7792 cat >>confdefs.h <<_ACEOF
7793 #define HAVE_DLFCN_H 1
7794 _ACEOF
7798 done
7804 # Set options
7809 enable_win32_dll=no
7812 # Check whether --enable-shared was given.
7813 if test "${enable_shared+set}" = set; then :
7814 enableval=$enable_shared; p=${PACKAGE-default}
7815 case $enableval in
7816 yes) enable_shared=yes ;;
7817 no) enable_shared=no ;;
7819 enable_shared=no
7820 # Look at the argument we got. We use all the common list separators.
7821 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7822 for pkg in $enableval; do
7823 IFS="$lt_save_ifs"
7824 if test "X$pkg" = "X$p"; then
7825 enable_shared=yes
7827 done
7828 IFS="$lt_save_ifs"
7830 esac
7831 else
7832 enable_shared=yes
7843 # Check whether --enable-static was given.
7844 if test "${enable_static+set}" = set; then :
7845 enableval=$enable_static; p=${PACKAGE-default}
7846 case $enableval in
7847 yes) enable_static=yes ;;
7848 no) enable_static=no ;;
7850 enable_static=no
7851 # Look at the argument we got. We use all the common list separators.
7852 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7853 for pkg in $enableval; do
7854 IFS="$lt_save_ifs"
7855 if test "X$pkg" = "X$p"; then
7856 enable_static=yes
7858 done
7859 IFS="$lt_save_ifs"
7861 esac
7862 else
7863 enable_static=yes
7875 # Check whether --with-pic was given.
7876 if test "${with_pic+set}" = set; then :
7877 withval=$with_pic; pic_mode="$withval"
7878 else
7879 pic_mode=default
7883 test -z "$pic_mode" && pic_mode=default
7891 # Check whether --enable-fast-install was given.
7892 if test "${enable_fast_install+set}" = set; then :
7893 enableval=$enable_fast_install; p=${PACKAGE-default}
7894 case $enableval in
7895 yes) enable_fast_install=yes ;;
7896 no) enable_fast_install=no ;;
7898 enable_fast_install=no
7899 # Look at the argument we got. We use all the common list separators.
7900 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7901 for pkg in $enableval; do
7902 IFS="$lt_save_ifs"
7903 if test "X$pkg" = "X$p"; then
7904 enable_fast_install=yes
7906 done
7907 IFS="$lt_save_ifs"
7909 esac
7910 else
7911 enable_fast_install=yes
7924 # This can be used to rebuild libtool when needed
7925 LIBTOOL_DEPS="$ltmain"
7927 # Always use our own libtool.
7928 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7955 test -z "$LN_S" && LN_S="ln -s"
7970 if test -n "${ZSH_VERSION+set}" ; then
7971 setopt NO_GLOB_SUBST
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7975 $as_echo_n "checking for objdir... " >&6; }
7976 if test "${lt_cv_objdir+set}" = set; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 rm -f .libs 2>/dev/null
7980 mkdir .libs 2>/dev/null
7981 if test -d .libs; then
7982 lt_cv_objdir=.libs
7983 else
7984 # MS-DOS does not allow filenames that begin with a dot.
7985 lt_cv_objdir=_libs
7987 rmdir .libs 2>/dev/null
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7990 $as_echo "$lt_cv_objdir" >&6; }
7991 objdir=$lt_cv_objdir
7997 cat >>confdefs.h <<_ACEOF
7998 #define LT_OBJDIR "$lt_cv_objdir/"
7999 _ACEOF
8004 case $host_os in
8005 aix3*)
8006 # AIX sometimes has problems with the GCC collect2 program. For some
8007 # reason, if we set the COLLECT_NAMES environment variable, the problems
8008 # vanish in a puff of smoke.
8009 if test "X${COLLECT_NAMES+set}" != Xset; then
8010 COLLECT_NAMES=
8011 export COLLECT_NAMES
8014 esac
8016 # Global variables:
8017 ofile=libtool
8018 can_build_shared=yes
8020 # All known linkers require a `.a' archive for static linking (except MSVC,
8021 # which needs '.lib').
8022 libext=a
8024 with_gnu_ld="$lt_cv_prog_gnu_ld"
8026 old_CC="$CC"
8027 old_CFLAGS="$CFLAGS"
8029 # Set sane defaults for various variables
8030 test -z "$CC" && CC=cc
8031 test -z "$LTCC" && LTCC=$CC
8032 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8033 test -z "$LD" && LD=ld
8034 test -z "$ac_objext" && ac_objext=o
8036 for cc_temp in $compiler""; do
8037 case $cc_temp in
8038 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8039 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8040 \-*) ;;
8041 *) break;;
8042 esac
8043 done
8044 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8047 # Only perform the check for file, if the check method requires it
8048 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8049 case $deplibs_check_method in
8050 file_magic*)
8051 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8053 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8054 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 case $MAGIC_CMD in
8058 [\\/*] | ?:[\\/]*)
8059 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8062 lt_save_MAGIC_CMD="$MAGIC_CMD"
8063 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8064 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8065 for ac_dir in $ac_dummy; do
8066 IFS="$lt_save_ifs"
8067 test -z "$ac_dir" && ac_dir=.
8068 if test -f $ac_dir/${ac_tool_prefix}file; then
8069 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8070 if test -n "$file_magic_test_file"; then
8071 case $deplibs_check_method in
8072 "file_magic "*)
8073 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8074 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8075 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8076 $EGREP "$file_magic_regex" > /dev/null; then
8078 else
8079 cat <<_LT_EOF 1>&2
8081 *** Warning: the command libtool uses to detect shared libraries,
8082 *** $file_magic_cmd, produces output that libtool cannot recognize.
8083 *** The result is that libtool may fail to recognize shared libraries
8084 *** as such. This will affect the creation of libtool libraries that
8085 *** depend on shared libraries, but programs linked with such libtool
8086 *** libraries will work regardless of this problem. Nevertheless, you
8087 *** may want to report the problem to your system manager and/or to
8088 *** bug-libtool@gnu.org
8090 _LT_EOF
8091 fi ;;
8092 esac
8094 break
8096 done
8097 IFS="$lt_save_ifs"
8098 MAGIC_CMD="$lt_save_MAGIC_CMD"
8100 esac
8103 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8104 if test -n "$MAGIC_CMD"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8106 $as_echo "$MAGIC_CMD" >&6; }
8107 else
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8116 if test -z "$lt_cv_path_MAGIC_CMD"; then
8117 if test -n "$ac_tool_prefix"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8119 $as_echo_n "checking for file... " >&6; }
8120 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8121 $as_echo_n "(cached) " >&6
8122 else
8123 case $MAGIC_CMD in
8124 [\\/*] | ?:[\\/]*)
8125 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8128 lt_save_MAGIC_CMD="$MAGIC_CMD"
8129 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8130 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8131 for ac_dir in $ac_dummy; do
8132 IFS="$lt_save_ifs"
8133 test -z "$ac_dir" && ac_dir=.
8134 if test -f $ac_dir/file; then
8135 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8136 if test -n "$file_magic_test_file"; then
8137 case $deplibs_check_method in
8138 "file_magic "*)
8139 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8140 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8141 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8142 $EGREP "$file_magic_regex" > /dev/null; then
8144 else
8145 cat <<_LT_EOF 1>&2
8147 *** Warning: the command libtool uses to detect shared libraries,
8148 *** $file_magic_cmd, produces output that libtool cannot recognize.
8149 *** The result is that libtool may fail to recognize shared libraries
8150 *** as such. This will affect the creation of libtool libraries that
8151 *** depend on shared libraries, but programs linked with such libtool
8152 *** libraries will work regardless of this problem. Nevertheless, you
8153 *** may want to report the problem to your system manager and/or to
8154 *** bug-libtool@gnu.org
8156 _LT_EOF
8157 fi ;;
8158 esac
8160 break
8162 done
8163 IFS="$lt_save_ifs"
8164 MAGIC_CMD="$lt_save_MAGIC_CMD"
8166 esac
8169 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8170 if test -n "$MAGIC_CMD"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8172 $as_echo "$MAGIC_CMD" >&6; }
8173 else
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8179 else
8180 MAGIC_CMD=:
8186 esac
8188 # Use C for the default configuration in the libtool script
8190 lt_save_CC="$CC"
8191 ac_ext=c
8192 ac_cpp='$CPP $CPPFLAGS'
8193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8198 # Source file extension for C test sources.
8199 ac_ext=c
8201 # Object file extension for compiled C test sources.
8202 objext=o
8203 objext=$objext
8205 # Code to be used in simple compile tests
8206 lt_simple_compile_test_code="int some_variable = 0;"
8208 # Code to be used in simple link tests
8209 lt_simple_link_test_code='int main(){return(0);}'
8217 # If no C compiler was specified, use CC.
8218 LTCC=${LTCC-"$CC"}
8220 # If no C compiler flags were specified, use CFLAGS.
8221 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8223 # Allow CC to be a program name with arguments.
8224 compiler=$CC
8226 # Save the default compiler, since it gets overwritten when the other
8227 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8228 compiler_DEFAULT=$CC
8230 # save warnings/boilerplate of simple test code
8231 ac_outfile=conftest.$ac_objext
8232 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8233 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8234 _lt_compiler_boilerplate=`cat conftest.err`
8235 $RM conftest*
8237 ac_outfile=conftest.$ac_objext
8238 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8239 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8240 _lt_linker_boilerplate=`cat conftest.err`
8241 $RM -r conftest*
8244 ## CAVEAT EMPTOR:
8245 ## There is no encapsulation within the following macros, do not change
8246 ## the running order or otherwise move them around unless you know exactly
8247 ## what you are doing...
8248 if test -n "$compiler"; then
8250 lt_prog_compiler_no_builtin_flag=
8252 if test "$GCC" = yes; then
8253 case $cc_basename in
8254 nvcc*)
8255 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8257 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8258 esac
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8261 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8262 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 lt_cv_prog_compiler_rtti_exceptions=no
8266 ac_outfile=conftest.$ac_objext
8267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8268 lt_compiler_flag="-fno-rtti -fno-exceptions"
8269 # Insert the option either (1) after the last *FLAGS variable, or
8270 # (2) before a word containing "conftest.", or (3) at the end.
8271 # Note that $ac_compile itself does not contain backslashes and begins
8272 # with a dollar sign (not a hyphen), so the echo should work correctly.
8273 # The option is referenced via a variable to avoid confusing sed.
8274 lt_compile=`echo "$ac_compile" | $SED \
8275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8277 -e 's:$: $lt_compiler_flag:'`
8278 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8279 (eval "$lt_compile" 2>conftest.err)
8280 ac_status=$?
8281 cat conftest.err >&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 if (exit $ac_status) && test -s "$ac_outfile"; then
8284 # The compiler can only warn and ignore the option if not recognized
8285 # So say no if there are warnings other than the usual output.
8286 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8287 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8288 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8289 lt_cv_prog_compiler_rtti_exceptions=yes
8292 $RM conftest*
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8296 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8298 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8299 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8300 else
8311 lt_prog_compiler_wl=
8312 lt_prog_compiler_pic=
8313 lt_prog_compiler_static=
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8316 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8318 if test "$GCC" = yes; then
8319 lt_prog_compiler_wl='-Wl,'
8320 lt_prog_compiler_static='-static'
8322 case $host_os in
8323 aix*)
8324 # All AIX code is PIC.
8325 if test "$host_cpu" = ia64; then
8326 # AIX 5 now supports IA64 processor
8327 lt_prog_compiler_static='-Bstatic'
8331 amigaos*)
8332 case $host_cpu in
8333 powerpc)
8334 # see comment about AmigaOS4 .so support
8335 lt_prog_compiler_pic='-fPIC'
8337 m68k)
8338 # FIXME: we need at least 68020 code to build shared libraries, but
8339 # adding the `-m68020' flag to GCC prevents building anything better,
8340 # like `-m68040'.
8341 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8343 esac
8346 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8347 # PIC is the default for these OSes.
8350 mingw* | cygwin* | pw32* | os2* | cegcc*)
8351 # This hack is so that the source file can tell whether it is being
8352 # built for inclusion in a dll (and should export symbols for example).
8353 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8354 # (--disable-auto-import) libraries
8355 lt_prog_compiler_pic='-DDLL_EXPORT'
8358 darwin* | rhapsody*)
8359 # PIC is the default on this platform
8360 # Common symbols not allowed in MH_DYLIB files
8361 lt_prog_compiler_pic='-fno-common'
8364 haiku*)
8365 # PIC is the default for Haiku.
8366 # The "-static" flag exists, but is broken.
8367 lt_prog_compiler_static=
8370 hpux*)
8371 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8372 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8373 # sets the default TLS model and affects inlining.
8374 case $host_cpu in
8375 hppa*64*)
8376 # +Z the default
8379 lt_prog_compiler_pic='-fPIC'
8381 esac
8384 interix[3-9]*)
8385 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8386 # Instead, we relocate shared libraries at runtime.
8389 msdosdjgpp*)
8390 # Just because we use GCC doesn't mean we suddenly get shared libraries
8391 # on systems that don't support them.
8392 lt_prog_compiler_can_build_shared=no
8393 enable_shared=no
8396 *nto* | *qnx*)
8397 # QNX uses GNU C++, but need to define -shared option too, otherwise
8398 # it will coredump.
8399 lt_prog_compiler_pic='-fPIC -shared'
8402 sysv4*MP*)
8403 if test -d /usr/nec; then
8404 lt_prog_compiler_pic=-Kconform_pic
8409 lt_prog_compiler_pic='-fPIC'
8411 esac
8413 case $cc_basename in
8414 nvcc*) # Cuda Compiler Driver 2.2
8415 lt_prog_compiler_wl='-Xlinker '
8416 lt_prog_compiler_pic='-Xcompiler -fPIC'
8418 esac
8419 else
8420 # PORTME Check for flag to pass linker flags through the system compiler.
8421 case $host_os in
8422 aix*)
8423 lt_prog_compiler_wl='-Wl,'
8424 if test "$host_cpu" = ia64; then
8425 # AIX 5 now supports IA64 processor
8426 lt_prog_compiler_static='-Bstatic'
8427 else
8428 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8432 mingw* | cygwin* | pw32* | os2* | cegcc*)
8433 # This hack is so that the source file can tell whether it is being
8434 # built for inclusion in a dll (and should export symbols for example).
8435 lt_prog_compiler_pic='-DDLL_EXPORT'
8438 hpux9* | hpux10* | hpux11*)
8439 lt_prog_compiler_wl='-Wl,'
8440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8441 # not for PA HP-UX.
8442 case $host_cpu in
8443 hppa*64*|ia64*)
8444 # +Z the default
8447 lt_prog_compiler_pic='+Z'
8449 esac
8450 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8451 lt_prog_compiler_static='${wl}-a ${wl}archive'
8454 irix5* | irix6* | nonstopux*)
8455 lt_prog_compiler_wl='-Wl,'
8456 # PIC (with -KPIC) is the default.
8457 lt_prog_compiler_static='-non_shared'
8460 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8461 case $cc_basename in
8462 # old Intel for x86_64 which still supported -KPIC.
8463 ecc*)
8464 lt_prog_compiler_wl='-Wl,'
8465 lt_prog_compiler_pic='-KPIC'
8466 lt_prog_compiler_static='-static'
8468 # icc used to be incompatible with GCC.
8469 # ICC 10 doesn't accept -KPIC any more.
8470 icc* | ifort*)
8471 lt_prog_compiler_wl='-Wl,'
8472 lt_prog_compiler_pic='-fPIC'
8473 lt_prog_compiler_static='-static'
8475 # Lahey Fortran 8.1.
8476 lf95*)
8477 lt_prog_compiler_wl='-Wl,'
8478 lt_prog_compiler_pic='--shared'
8479 lt_prog_compiler_static='--static'
8481 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8482 # Portland Group compilers (*not* the Pentium gcc compiler,
8483 # which looks to be a dead project)
8484 lt_prog_compiler_wl='-Wl,'
8485 lt_prog_compiler_pic='-fpic'
8486 lt_prog_compiler_static='-Bstatic'
8488 ccc*)
8489 lt_prog_compiler_wl='-Wl,'
8490 # All Alpha code is PIC.
8491 lt_prog_compiler_static='-non_shared'
8493 xl* | bgxl* | bgf* | mpixl*)
8494 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8495 lt_prog_compiler_wl='-Wl,'
8496 lt_prog_compiler_pic='-qpic'
8497 lt_prog_compiler_static='-qstaticlink'
8500 case `$CC -V 2>&1 | sed 5q` in
8501 *Sun\ F* | *Sun*Fortran*)
8502 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8503 lt_prog_compiler_pic='-KPIC'
8504 lt_prog_compiler_static='-Bstatic'
8505 lt_prog_compiler_wl=''
8507 *Sun\ C*)
8508 # Sun C 5.9
8509 lt_prog_compiler_pic='-KPIC'
8510 lt_prog_compiler_static='-Bstatic'
8511 lt_prog_compiler_wl='-Wl,'
8513 esac
8515 esac
8518 newsos6)
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8523 *nto* | *qnx*)
8524 # QNX uses GNU C++, but need to define -shared option too, otherwise
8525 # it will coredump.
8526 lt_prog_compiler_pic='-fPIC -shared'
8529 osf3* | osf4* | osf5*)
8530 lt_prog_compiler_wl='-Wl,'
8531 # All OSF/1 code is PIC.
8532 lt_prog_compiler_static='-non_shared'
8535 rdos*)
8536 lt_prog_compiler_static='-non_shared'
8539 solaris*)
8540 lt_prog_compiler_pic='-KPIC'
8541 lt_prog_compiler_static='-Bstatic'
8542 case $cc_basename in
8543 f77* | f90* | f95*)
8544 lt_prog_compiler_wl='-Qoption ld ';;
8546 lt_prog_compiler_wl='-Wl,';;
8547 esac
8550 sunos4*)
8551 lt_prog_compiler_wl='-Qoption ld '
8552 lt_prog_compiler_pic='-PIC'
8553 lt_prog_compiler_static='-Bstatic'
8556 sysv4 | sysv4.2uw2* | sysv4.3*)
8557 lt_prog_compiler_wl='-Wl,'
8558 lt_prog_compiler_pic='-KPIC'
8559 lt_prog_compiler_static='-Bstatic'
8562 sysv4*MP*)
8563 if test -d /usr/nec ;then
8564 lt_prog_compiler_pic='-Kconform_pic'
8565 lt_prog_compiler_static='-Bstatic'
8569 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8570 lt_prog_compiler_wl='-Wl,'
8571 lt_prog_compiler_pic='-KPIC'
8572 lt_prog_compiler_static='-Bstatic'
8575 unicos*)
8576 lt_prog_compiler_wl='-Wl,'
8577 lt_prog_compiler_can_build_shared=no
8580 uts4*)
8581 lt_prog_compiler_pic='-pic'
8582 lt_prog_compiler_static='-Bstatic'
8586 lt_prog_compiler_can_build_shared=no
8588 esac
8591 case $host_os in
8592 # For platforms which do not support PIC, -DPIC is meaningless:
8593 *djgpp*)
8594 lt_prog_compiler_pic=
8597 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8599 esac
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8601 $as_echo "$lt_prog_compiler_pic" >&6; }
8609 # Check to make sure the PIC flag actually works.
8611 if test -n "$lt_prog_compiler_pic"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8613 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8614 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 lt_cv_prog_compiler_pic_works=no
8618 ac_outfile=conftest.$ac_objext
8619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8620 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8621 # Insert the option either (1) after the last *FLAGS variable, or
8622 # (2) before a word containing "conftest.", or (3) at the end.
8623 # Note that $ac_compile itself does not contain backslashes and begins
8624 # with a dollar sign (not a hyphen), so the echo should work correctly.
8625 # The option is referenced via a variable to avoid confusing sed.
8626 lt_compile=`echo "$ac_compile" | $SED \
8627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8629 -e 's:$: $lt_compiler_flag:'`
8630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8631 (eval "$lt_compile" 2>conftest.err)
8632 ac_status=$?
8633 cat conftest.err >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 if (exit $ac_status) && test -s "$ac_outfile"; then
8636 # The compiler can only warn and ignore the option if not recognized
8637 # So say no if there are warnings other than the usual output.
8638 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8641 lt_cv_prog_compiler_pic_works=yes
8644 $RM conftest*
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8648 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8650 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8651 case $lt_prog_compiler_pic in
8652 "" | " "*) ;;
8653 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8654 esac
8655 else
8656 lt_prog_compiler_pic=
8657 lt_prog_compiler_can_build_shared=no
8668 # Check to make sure the static flag actually works.
8670 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8672 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8673 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 lt_cv_prog_compiler_static_works=no
8677 save_LDFLAGS="$LDFLAGS"
8678 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8679 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8680 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8681 # The linker can only warn and ignore the option if not recognized
8682 # So say no if there are warnings
8683 if test -s conftest.err; then
8684 # Append any errors to the config.log.
8685 cat conftest.err 1>&5
8686 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8687 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8688 if diff conftest.exp conftest.er2 >/dev/null; then
8689 lt_cv_prog_compiler_static_works=yes
8691 else
8692 lt_cv_prog_compiler_static_works=yes
8695 $RM -r conftest*
8696 LDFLAGS="$save_LDFLAGS"
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8700 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8702 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8704 else
8705 lt_prog_compiler_static=
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8715 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8716 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8717 $as_echo_n "(cached) " >&6
8718 else
8719 lt_cv_prog_compiler_c_o=no
8720 $RM -r conftest 2>/dev/null
8721 mkdir conftest
8722 cd conftest
8723 mkdir out
8724 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8726 lt_compiler_flag="-o out/conftest2.$ac_objext"
8727 # Insert the option either (1) after the last *FLAGS variable, or
8728 # (2) before a word containing "conftest.", or (3) at the end.
8729 # Note that $ac_compile itself does not contain backslashes and begins
8730 # with a dollar sign (not a hyphen), so the echo should work correctly.
8731 lt_compile=`echo "$ac_compile" | $SED \
8732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8734 -e 's:$: $lt_compiler_flag:'`
8735 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8736 (eval "$lt_compile" 2>out/conftest.err)
8737 ac_status=$?
8738 cat out/conftest.err >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8741 then
8742 # The compiler can only warn and ignore the option if not recognized
8743 # So say no if there are warnings
8744 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8745 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8746 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8747 lt_cv_prog_compiler_c_o=yes
8750 chmod u+w . 2>&5
8751 $RM conftest*
8752 # SGI C++ compiler will create directory out/ii_files/ for
8753 # template instantiation
8754 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8755 $RM out/* && rmdir out
8756 cd ..
8757 $RM -r conftest
8758 $RM conftest*
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8762 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8770 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8771 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8772 $as_echo_n "(cached) " >&6
8773 else
8774 lt_cv_prog_compiler_c_o=no
8775 $RM -r conftest 2>/dev/null
8776 mkdir conftest
8777 cd conftest
8778 mkdir out
8779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8781 lt_compiler_flag="-o out/conftest2.$ac_objext"
8782 # Insert the option either (1) after the last *FLAGS variable, or
8783 # (2) before a word containing "conftest.", or (3) at the end.
8784 # Note that $ac_compile itself does not contain backslashes and begins
8785 # with a dollar sign (not a hyphen), so the echo should work correctly.
8786 lt_compile=`echo "$ac_compile" | $SED \
8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789 -e 's:$: $lt_compiler_flag:'`
8790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8791 (eval "$lt_compile" 2>out/conftest.err)
8792 ac_status=$?
8793 cat out/conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8796 then
8797 # The compiler can only warn and ignore the option if not recognized
8798 # So say no if there are warnings
8799 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8800 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8801 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8802 lt_cv_prog_compiler_c_o=yes
8805 chmod u+w . 2>&5
8806 $RM conftest*
8807 # SGI C++ compiler will create directory out/ii_files/ for
8808 # template instantiation
8809 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8810 $RM out/* && rmdir out
8811 cd ..
8812 $RM -r conftest
8813 $RM conftest*
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8817 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8822 hard_links="nottested"
8823 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8824 # do not overwrite the value of need_locks provided by the user
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8826 $as_echo_n "checking if we can lock with hard links... " >&6; }
8827 hard_links=yes
8828 $RM conftest*
8829 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8830 touch conftest.a
8831 ln conftest.a conftest.b 2>&5 || hard_links=no
8832 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8834 $as_echo "$hard_links" >&6; }
8835 if test "$hard_links" = no; then
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8837 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8838 need_locks=warn
8840 else
8841 need_locks=no
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8850 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8852 runpath_var=
8853 allow_undefined_flag=
8854 always_export_symbols=no
8855 archive_cmds=
8856 archive_expsym_cmds=
8857 compiler_needs_object=no
8858 enable_shared_with_static_runtimes=no
8859 export_dynamic_flag_spec=
8860 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8861 hardcode_automatic=no
8862 hardcode_direct=no
8863 hardcode_direct_absolute=no
8864 hardcode_libdir_flag_spec=
8865 hardcode_libdir_flag_spec_ld=
8866 hardcode_libdir_separator=
8867 hardcode_minus_L=no
8868 hardcode_shlibpath_var=unsupported
8869 inherit_rpath=no
8870 link_all_deplibs=unknown
8871 module_cmds=
8872 module_expsym_cmds=
8873 old_archive_from_new_cmds=
8874 old_archive_from_expsyms_cmds=
8875 thread_safe_flag_spec=
8876 whole_archive_flag_spec=
8877 # include_expsyms should be a list of space-separated symbols to be *always*
8878 # included in the symbol list
8879 include_expsyms=
8880 # exclude_expsyms can be an extended regexp of symbols to exclude
8881 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8882 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8883 # as well as any symbol that contains `d'.
8884 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8885 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8886 # platforms (ab)use it in PIC code, but their linkers get confused if
8887 # the symbol is explicitly referenced. Since portable code cannot
8888 # rely on this symbol name, it's probably fine to never include it in
8889 # preloaded symbol tables.
8890 # Exclude shared library initialization/finalization symbols.
8891 extract_expsyms_cmds=
8893 case $host_os in
8894 cygwin* | mingw* | pw32* | cegcc*)
8895 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8896 # When not using gcc, we currently assume that we are using
8897 # Microsoft Visual C++.
8898 if test "$GCC" != yes; then
8899 with_gnu_ld=no
8902 interix*)
8903 # we just hope/assume this is gcc and not c89 (= MSVC++)
8904 with_gnu_ld=yes
8906 openbsd*)
8907 with_gnu_ld=no
8909 esac
8911 ld_shlibs=yes
8913 # On some targets, GNU ld is compatible enough with the native linker
8914 # that we're better off using the native interface for both.
8915 lt_use_gnu_ld_interface=no
8916 if test "$with_gnu_ld" = yes; then
8917 case $host_os in
8918 aix*)
8919 # The AIX port of GNU ld has always aspired to compatibility
8920 # with the native linker. However, as the warning in the GNU ld
8921 # block says, versions before 2.19.5* couldn't really create working
8922 # shared libraries, regardless of the interface used.
8923 case `$LD -v 2>&1` in
8924 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8925 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8926 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8928 lt_use_gnu_ld_interface=yes
8930 esac
8933 lt_use_gnu_ld_interface=yes
8935 esac
8938 if test "$lt_use_gnu_ld_interface" = yes; then
8939 # If archive_cmds runs LD, not CC, wlarc should be empty
8940 wlarc='${wl}'
8942 # Set some defaults for GNU ld with shared library support. These
8943 # are reset later if shared libraries are not supported. Putting them
8944 # here allows them to be overridden if necessary.
8945 runpath_var=LD_RUN_PATH
8946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8947 export_dynamic_flag_spec='${wl}--export-dynamic'
8948 # ancient GNU ld didn't support --whole-archive et. al.
8949 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8950 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8951 else
8952 whole_archive_flag_spec=
8954 supports_anon_versioning=no
8955 case `$LD -v 2>&1` in
8956 *GNU\ gold*) supports_anon_versioning=yes ;;
8957 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8958 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8959 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8960 *\ 2.11.*) ;; # other 2.11 versions
8961 *) supports_anon_versioning=yes ;;
8962 esac
8964 # See if GNU ld supports shared libraries.
8965 case $host_os in
8966 aix[3-9]*)
8967 # On AIX/PPC, the GNU linker is very broken
8968 if test "$host_cpu" != ia64; then
8969 ld_shlibs=no
8970 cat <<_LT_EOF 1>&2
8972 *** Warning: the GNU linker, at least up to release 2.19, is reported
8973 *** to be unable to reliably create shared libraries on AIX.
8974 *** Therefore, libtool is disabling shared libraries support. If you
8975 *** really care for shared libraries, you may want to install binutils
8976 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8977 *** You will then need to restart the configuration process.
8979 _LT_EOF
8983 amigaos*)
8984 case $host_cpu in
8985 powerpc)
8986 # see comment about AmigaOS4 .so support
8987 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8988 archive_expsym_cmds=''
8990 m68k)
8991 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)'
8992 hardcode_libdir_flag_spec='-L$libdir'
8993 hardcode_minus_L=yes
8995 esac
8998 beos*)
8999 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9000 allow_undefined_flag=unsupported
9001 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9002 # support --undefined. This deserves some investigation. FIXME
9003 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9004 else
9005 ld_shlibs=no
9009 cygwin* | mingw* | pw32* | cegcc*)
9010 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9011 # as there is no search path for DLLs.
9012 hardcode_libdir_flag_spec='-L$libdir'
9013 export_dynamic_flag_spec='${wl}--export-all-symbols'
9014 allow_undefined_flag=unsupported
9015 always_export_symbols=no
9016 enable_shared_with_static_runtimes=yes
9017 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9019 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9020 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9021 # If the export-symbols file already is a .def file (1st line
9022 # is EXPORTS), use it as is; otherwise, prepend...
9023 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9024 cp $export_symbols $output_objdir/$soname.def;
9025 else
9026 echo EXPORTS > $output_objdir/$soname.def;
9027 cat $export_symbols >> $output_objdir/$soname.def;
9029 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9030 else
9031 ld_shlibs=no
9035 haiku*)
9036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 link_all_deplibs=yes
9040 interix[3-9]*)
9041 hardcode_direct=no
9042 hardcode_shlibpath_var=no
9043 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9044 export_dynamic_flag_spec='${wl}-E'
9045 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9046 # Instead, shared libraries are loaded at an image base (0x10000000 by
9047 # default) and relocated if they conflict, which is a slow very memory
9048 # consuming and fragmenting process. To avoid this, we pick a random,
9049 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9050 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9051 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9052 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'
9055 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9056 tmp_diet=no
9057 if test "$host_os" = linux-dietlibc; then
9058 case $cc_basename in
9059 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9060 esac
9062 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9063 && test "$tmp_diet" = no
9064 then
9065 tmp_addflag=
9066 tmp_sharedflag='-shared'
9067 case $cc_basename,$host_cpu in
9068 pgcc*) # Portland Group C compiler
9069 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'
9070 tmp_addflag=' $pic_flag'
9072 pgf77* | pgf90* | pgf95* | pgfortran*)
9073 # Portland Group f77 and f90 compilers
9074 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'
9075 tmp_addflag=' $pic_flag -Mnomain' ;;
9076 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9077 tmp_addflag=' -i_dynamic' ;;
9078 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9079 tmp_addflag=' -i_dynamic -nofor_main' ;;
9080 ifc* | ifort*) # Intel Fortran compiler
9081 tmp_addflag=' -nofor_main' ;;
9082 lf95*) # Lahey Fortran 8.1
9083 whole_archive_flag_spec=
9084 tmp_sharedflag='--shared' ;;
9085 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9086 tmp_sharedflag='-qmkshrobj'
9087 tmp_addflag= ;;
9088 nvcc*) # Cuda Compiler Driver 2.2
9089 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'
9090 compiler_needs_object=yes
9092 esac
9093 case `$CC -V 2>&1 | sed 5q` in
9094 *Sun\ C*) # Sun C 5.9
9095 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'
9096 compiler_needs_object=yes
9097 tmp_sharedflag='-G' ;;
9098 *Sun\ F*) # Sun Fortran 8.3
9099 tmp_sharedflag='-G' ;;
9100 esac
9101 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103 if test "x$supports_anon_versioning" = xyes; then
9104 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9105 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9106 echo "local: *; };" >> $output_objdir/$libname.ver~
9107 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9110 case $cc_basename in
9111 xlf* | bgf* | bgxlf* | mpixlf*)
9112 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9113 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9114 hardcode_libdir_flag_spec=
9115 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9116 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9117 if test "x$supports_anon_versioning" = xyes; then
9118 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9119 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9120 echo "local: *; };" >> $output_objdir/$libname.ver~
9121 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9124 esac
9125 else
9126 ld_shlibs=no
9130 netbsd*)
9131 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9132 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9133 wlarc=
9134 else
9135 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9140 solaris*)
9141 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9142 ld_shlibs=no
9143 cat <<_LT_EOF 1>&2
9145 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9146 *** create shared libraries on Solaris systems. Therefore, libtool
9147 *** is disabling shared libraries support. We urge you to upgrade GNU
9148 *** binutils to release 2.9.1 or newer. Another option is to modify
9149 *** your PATH or compiler configuration so that the native linker is
9150 *** used, and then restart.
9152 _LT_EOF
9153 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9156 else
9157 ld_shlibs=no
9161 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9162 case `$LD -v 2>&1` in
9163 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9164 ld_shlibs=no
9165 cat <<_LT_EOF 1>&2
9167 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9168 *** reliably create shared libraries on SCO systems. Therefore, libtool
9169 *** is disabling shared libraries support. We urge you to upgrade GNU
9170 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9171 *** your PATH or compiler configuration so that the native linker is
9172 *** used, and then restart.
9174 _LT_EOF
9177 # For security reasons, it is highly recommended that you always
9178 # use absolute paths for naming shared libraries, and exclude the
9179 # DT_RUNPATH tag from executables and libraries. But doing so
9180 # requires that you compile everything twice, which is a pain.
9181 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9185 else
9186 ld_shlibs=no
9189 esac
9192 sunos4*)
9193 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9194 wlarc=
9195 hardcode_direct=yes
9196 hardcode_shlibpath_var=no
9200 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9203 else
9204 ld_shlibs=no
9207 esac
9209 if test "$ld_shlibs" = no; then
9210 runpath_var=
9211 hardcode_libdir_flag_spec=
9212 export_dynamic_flag_spec=
9213 whole_archive_flag_spec=
9215 else
9216 # PORTME fill in a description of your system's linker (not GNU ld)
9217 case $host_os in
9218 aix3*)
9219 allow_undefined_flag=unsupported
9220 always_export_symbols=yes
9221 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'
9222 # Note: this linker hardcodes the directories in LIBPATH if there
9223 # are no directories specified by -L.
9224 hardcode_minus_L=yes
9225 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9226 # Neither direct hardcoding nor static linking is supported with a
9227 # broken collect2.
9228 hardcode_direct=unsupported
9232 aix[4-9]*)
9233 if test "$host_cpu" = ia64; then
9234 # On IA64, the linker does run time linking by default, so we don't
9235 # have to do anything special.
9236 aix_use_runtimelinking=no
9237 exp_sym_flag='-Bexport'
9238 no_entry_flag=""
9239 else
9240 # If we're using GNU nm, then we don't want the "-C" option.
9241 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9242 # Also, AIX nm treats weak defined symbols like other global
9243 # defined symbols, whereas GNU nm marks them as "W".
9244 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9245 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'
9246 else
9247 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'
9249 aix_use_runtimelinking=no
9251 # Test if we are trying to use run time linking or normal
9252 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9253 # need to do runtime linking.
9254 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9255 for ld_flag in $LDFLAGS; do
9256 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9257 aix_use_runtimelinking=yes
9258 break
9260 done
9262 esac
9264 exp_sym_flag='-bexport'
9265 no_entry_flag='-bnoentry'
9268 # When large executables or shared objects are built, AIX ld can
9269 # have problems creating the table of contents. If linking a library
9270 # or program results in "error TOC overflow" add -mminimal-toc to
9271 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9272 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9274 archive_cmds=''
9275 hardcode_direct=yes
9276 hardcode_direct_absolute=yes
9277 hardcode_libdir_separator=':'
9278 link_all_deplibs=yes
9279 file_list_spec='${wl}-f,'
9281 if test "$GCC" = yes; then
9282 case $host_os in aix4.[012]|aix4.[012].*)
9283 # We only want to do this on AIX 4.2 and lower, the check
9284 # below for broken collect2 doesn't work under 4.3+
9285 collect2name=`${CC} -print-prog-name=collect2`
9286 if test -f "$collect2name" &&
9287 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9288 then
9289 # We have reworked collect2
9291 else
9292 # We have old collect2
9293 hardcode_direct=unsupported
9294 # It fails to find uninstalled libraries when the uninstalled
9295 # path is not listed in the libpath. Setting hardcode_minus_L
9296 # to unsupported forces relinking
9297 hardcode_minus_L=yes
9298 hardcode_libdir_flag_spec='-L$libdir'
9299 hardcode_libdir_separator=
9302 esac
9303 shared_flag='-shared'
9304 if test "$aix_use_runtimelinking" = yes; then
9305 shared_flag="$shared_flag "'${wl}-G'
9307 else
9308 # not using gcc
9309 if test "$host_cpu" = ia64; then
9310 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9311 # chokes on -Wl,-G. The following line is correct:
9312 shared_flag='-G'
9313 else
9314 if test "$aix_use_runtimelinking" = yes; then
9315 shared_flag='${wl}-G'
9316 else
9317 shared_flag='${wl}-bM:SRE'
9322 export_dynamic_flag_spec='${wl}-bexpall'
9323 # It seems that -bexpall does not export symbols beginning with
9324 # underscore (_), so it is better to generate a list of symbols to export.
9325 always_export_symbols=yes
9326 if test "$aix_use_runtimelinking" = yes; then
9327 # Warning - without using the other runtime loading flags (-brtl),
9328 # -berok will link without error, but may produce a broken library.
9329 allow_undefined_flag='-berok'
9330 # Determine the default libpath from the value encoded in an
9331 # empty executable.
9332 if test x$gcc_no_link = xyes; then
9333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9339 main ()
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9348 lt_aix_libpath_sed='
9349 /Import File Strings/,/^$/ {
9350 /^0/ {
9351 s/^0 *\(.*\)$/\1/
9355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9356 # Check for a 64-bit object if we didn't find anything.
9357 if test -z "$aix_libpath"; then
9358 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9365 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9366 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"
9367 else
9368 if test "$host_cpu" = ia64; then
9369 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9370 allow_undefined_flag="-z nodefs"
9371 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"
9372 else
9373 # Determine the default libpath from the value encoded in an
9374 # empty executable.
9375 if test x$gcc_no_link = xyes; then
9376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9382 main ()
9386 return 0;
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9391 lt_aix_libpath_sed='
9392 /Import File Strings/,/^$/ {
9393 /^0/ {
9394 s/^0 *\(.*\)$/\1/
9398 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9399 # Check for a 64-bit object if we didn't find anything.
9400 if test -z "$aix_libpath"; then
9401 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9408 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9409 # Warning - without using the other run time loading flags,
9410 # -berok will link without error, but may produce a broken library.
9411 no_undefined_flag=' ${wl}-bernotok'
9412 allow_undefined_flag=' ${wl}-berok'
9413 if test "$with_gnu_ld" = yes; then
9414 # We only use this code for GNU lds that support --whole-archive.
9415 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9416 else
9417 # Exported symbols can be pulled into shared objects from archives
9418 whole_archive_flag_spec='$convenience'
9420 archive_cmds_need_lc=yes
9421 # This is similar to how AIX traditionally builds its shared libraries.
9422 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'
9427 amigaos*)
9428 case $host_cpu in
9429 powerpc)
9430 # see comment about AmigaOS4 .so support
9431 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9432 archive_expsym_cmds=''
9434 m68k)
9435 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)'
9436 hardcode_libdir_flag_spec='-L$libdir'
9437 hardcode_minus_L=yes
9439 esac
9442 bsdi[45]*)
9443 export_dynamic_flag_spec=-rdynamic
9446 cygwin* | mingw* | pw32* | cegcc*)
9447 # When not using gcc, we currently assume that we are using
9448 # Microsoft Visual C++.
9449 # hardcode_libdir_flag_spec is actually meaningless, as there is
9450 # no search path for DLLs.
9451 hardcode_libdir_flag_spec=' '
9452 allow_undefined_flag=unsupported
9453 # Tell ltmain to make .lib files, not .a files.
9454 libext=lib
9455 # Tell ltmain to make .dll files, not .so files.
9456 shrext_cmds=".dll"
9457 # FIXME: Setting linknames here is a bad hack.
9458 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9459 # The linker will automatically build a .lib file if we build a DLL.
9460 old_archive_from_new_cmds='true'
9461 # FIXME: Should let the user specify the lib program.
9462 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9463 fix_srcfile_path='`cygpath -w "$srcfile"`'
9464 enable_shared_with_static_runtimes=yes
9467 darwin* | rhapsody*)
9470 archive_cmds_need_lc=no
9471 hardcode_direct=no
9472 hardcode_automatic=yes
9473 hardcode_shlibpath_var=unsupported
9474 if test "$lt_cv_ld_force_load" = "yes"; then
9475 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\"`'
9476 else
9477 whole_archive_flag_spec=''
9479 link_all_deplibs=yes
9480 allow_undefined_flag="$_lt_dar_allow_undefined"
9481 case $cc_basename in
9482 ifort*) _lt_dar_can_shared=yes ;;
9483 *) _lt_dar_can_shared=$GCC ;;
9484 esac
9485 if test "$_lt_dar_can_shared" = "yes"; then
9486 output_verbose_link_cmd=func_echo_all
9487 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9488 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9489 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}"
9490 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}"
9492 else
9493 ld_shlibs=no
9498 dgux*)
9499 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9500 hardcode_libdir_flag_spec='-L$libdir'
9501 hardcode_shlibpath_var=no
9504 freebsd1*)
9505 ld_shlibs=no
9508 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9509 # support. Future versions do this automatically, but an explicit c++rt0.o
9510 # does not break anything, and helps significantly (at the cost of a little
9511 # extra space).
9512 freebsd2.2*)
9513 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9514 hardcode_libdir_flag_spec='-R$libdir'
9515 hardcode_direct=yes
9516 hardcode_shlibpath_var=no
9519 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9520 freebsd2*)
9521 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9522 hardcode_direct=yes
9523 hardcode_minus_L=yes
9524 hardcode_shlibpath_var=no
9527 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9528 freebsd* | dragonfly*)
9529 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9530 hardcode_libdir_flag_spec='-R$libdir'
9531 hardcode_direct=yes
9532 hardcode_shlibpath_var=no
9535 hpux9*)
9536 if test "$GCC" = yes; then
9537 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'
9538 else
9539 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'
9541 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9542 hardcode_libdir_separator=:
9543 hardcode_direct=yes
9545 # hardcode_minus_L: Not really in the search PATH,
9546 # but as the default location of the library.
9547 hardcode_minus_L=yes
9548 export_dynamic_flag_spec='${wl}-E'
9551 hpux10*)
9552 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9553 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 else
9555 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9557 if test "$with_gnu_ld" = no; then
9558 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9559 hardcode_libdir_flag_spec_ld='+b $libdir'
9560 hardcode_libdir_separator=:
9561 hardcode_direct=yes
9562 hardcode_direct_absolute=yes
9563 export_dynamic_flag_spec='${wl}-E'
9564 # hardcode_minus_L: Not really in the search PATH,
9565 # but as the default location of the library.
9566 hardcode_minus_L=yes
9570 hpux11*)
9571 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9572 case $host_cpu in
9573 hppa*64*)
9574 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576 ia64*)
9577 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9582 esac
9583 else
9584 case $host_cpu in
9585 hppa*64*)
9586 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9588 ia64*)
9589 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593 # Older versions of the 11.00 compiler do not understand -b yet
9594 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9596 $as_echo_n "checking if $CC understands -b... " >&6; }
9597 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 lt_cv_prog_compiler__b=no
9601 save_LDFLAGS="$LDFLAGS"
9602 LDFLAGS="$LDFLAGS -b"
9603 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9604 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9605 # The linker can only warn and ignore the option if not recognized
9606 # So say no if there are warnings
9607 if test -s conftest.err; then
9608 # Append any errors to the config.log.
9609 cat conftest.err 1>&5
9610 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9611 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9612 if diff conftest.exp conftest.er2 >/dev/null; then
9613 lt_cv_prog_compiler__b=yes
9615 else
9616 lt_cv_prog_compiler__b=yes
9619 $RM -r conftest*
9620 LDFLAGS="$save_LDFLAGS"
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9624 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9626 if test x"$lt_cv_prog_compiler__b" = xyes; then
9627 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 else
9629 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9633 esac
9635 if test "$with_gnu_ld" = no; then
9636 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637 hardcode_libdir_separator=:
9639 case $host_cpu in
9640 hppa*64*|ia64*)
9641 hardcode_direct=no
9642 hardcode_shlibpath_var=no
9645 hardcode_direct=yes
9646 hardcode_direct_absolute=yes
9647 export_dynamic_flag_spec='${wl}-E'
9649 # hardcode_minus_L: Not really in the search PATH,
9650 # but as the default location of the library.
9651 hardcode_minus_L=yes
9653 esac
9657 irix5* | irix6* | nonstopux*)
9658 if test "$GCC" = yes; then
9659 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'
9660 # Try to use the -exported_symbol ld option, if it does not
9661 # work, assume that -exports_file does not work either and
9662 # implicitly export all symbols.
9663 save_LDFLAGS="$LDFLAGS"
9664 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9665 if test x$gcc_no_link = xyes; then
9666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9670 int foo(void) {}
9671 _ACEOF
9672 if ac_fn_c_try_link "$LINENO"; then :
9673 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'
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LDFLAGS="$save_LDFLAGS"
9679 else
9680 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'
9681 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'
9683 archive_cmds_need_lc='no'
9684 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9685 hardcode_libdir_separator=:
9686 inherit_rpath=yes
9687 link_all_deplibs=yes
9690 netbsd*)
9691 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9692 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9693 else
9694 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9696 hardcode_libdir_flag_spec='-R$libdir'
9697 hardcode_direct=yes
9698 hardcode_shlibpath_var=no
9701 newsos6)
9702 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703 hardcode_direct=yes
9704 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9705 hardcode_libdir_separator=:
9706 hardcode_shlibpath_var=no
9709 *nto* | *qnx*)
9712 openbsd*)
9713 if test -f /usr/libexec/ld.so; then
9714 hardcode_direct=yes
9715 hardcode_shlibpath_var=no
9716 hardcode_direct_absolute=yes
9717 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9718 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9720 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9721 export_dynamic_flag_spec='${wl}-E'
9722 else
9723 case $host_os in
9724 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9725 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec='-R$libdir'
9729 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9730 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9732 esac
9734 else
9735 ld_shlibs=no
9739 os2*)
9740 hardcode_libdir_flag_spec='-L$libdir'
9741 hardcode_minus_L=yes
9742 allow_undefined_flag=unsupported
9743 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'
9744 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9747 osf3*)
9748 if test "$GCC" = yes; then
9749 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9750 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'
9751 else
9752 allow_undefined_flag=' -expect_unresolved \*'
9753 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'
9755 archive_cmds_need_lc='no'
9756 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9757 hardcode_libdir_separator=:
9760 osf4* | osf5*) # as osf3* with the addition of -msym flag
9761 if test "$GCC" = yes; then
9762 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9763 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'
9764 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9765 else
9766 allow_undefined_flag=' -expect_unresolved \*'
9767 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'
9768 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~
9769 $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'
9771 # Both c and cxx compiler support -rpath directly
9772 hardcode_libdir_flag_spec='-rpath $libdir'
9774 archive_cmds_need_lc='no'
9775 hardcode_libdir_separator=:
9778 solaris*)
9779 no_undefined_flag=' -z defs'
9780 if test "$GCC" = yes; then
9781 wlarc='${wl}'
9782 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9784 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9785 else
9786 case `$CC -V 2>&1` in
9787 *"Compilers 5.0"*)
9788 wlarc=''
9789 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9790 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9791 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9794 wlarc='${wl}'
9795 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9797 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9799 esac
9801 hardcode_libdir_flag_spec='-R$libdir'
9802 hardcode_shlibpath_var=no
9803 case $host_os in
9804 solaris2.[0-5] | solaris2.[0-5].*) ;;
9806 # The compiler driver will combine and reorder linker options,
9807 # but understands `-z linker_flag'. GCC discards it without `$wl',
9808 # but is careful enough not to reorder.
9809 # Supported since Solaris 2.6 (maybe 2.5.1?)
9810 if test "$GCC" = yes; then
9811 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9812 else
9813 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9816 esac
9817 link_all_deplibs=yes
9820 sunos4*)
9821 if test "x$host_vendor" = xsequent; then
9822 # Use $CC to link under sequent, because it throws in some extra .o
9823 # files that make .init and .fini sections work.
9824 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9825 else
9826 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_direct=yes
9830 hardcode_minus_L=yes
9831 hardcode_shlibpath_var=no
9834 sysv4)
9835 case $host_vendor in
9836 sni)
9837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_direct=yes # is this really true???
9840 siemens)
9841 ## LD is ld it makes a PLAMLIB
9842 ## CC just makes a GrossModule.
9843 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9844 reload_cmds='$CC -r -o $output$reload_objs'
9845 hardcode_direct=no
9847 motorola)
9848 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9849 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9851 esac
9852 runpath_var='LD_RUN_PATH'
9853 hardcode_shlibpath_var=no
9856 sysv4.3*)
9857 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858 hardcode_shlibpath_var=no
9859 export_dynamic_flag_spec='-Bexport'
9862 sysv4*MP*)
9863 if test -d /usr/nec; then
9864 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_shlibpath_var=no
9866 runpath_var=LD_RUN_PATH
9867 hardcode_runpath_var=yes
9868 ld_shlibs=yes
9872 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9873 no_undefined_flag='${wl}-z,text'
9874 archive_cmds_need_lc=no
9875 hardcode_shlibpath_var=no
9876 runpath_var='LD_RUN_PATH'
9878 if test "$GCC" = yes; then
9879 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 else
9882 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 sysv5* | sco3.2v5* | sco5v6*)
9888 # Note: We can NOT use -z defs as we might desire, because we do not
9889 # link with -lc, and that would cause any symbols used from libc to
9890 # always be unresolved, which means just about no library would
9891 # ever link correctly. If we're not using GNU ld we use -z text
9892 # though, which does catch some bad symbols but isn't as heavy-handed
9893 # as -z defs.
9894 no_undefined_flag='${wl}-z,text'
9895 allow_undefined_flag='${wl}-z,nodefs'
9896 archive_cmds_need_lc=no
9897 hardcode_shlibpath_var=no
9898 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9899 hardcode_libdir_separator=':'
9900 link_all_deplibs=yes
9901 export_dynamic_flag_spec='${wl}-Bexport'
9902 runpath_var='LD_RUN_PATH'
9904 if test "$GCC" = yes; then
9905 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907 else
9908 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 uts4*)
9914 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_libdir_flag_spec='-L$libdir'
9916 hardcode_shlibpath_var=no
9920 ld_shlibs=no
9922 esac
9924 if test x$host_vendor = xsni; then
9925 case $host in
9926 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9927 export_dynamic_flag_spec='${wl}-Blargedynsym'
9929 esac
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9934 $as_echo "$ld_shlibs" >&6; }
9935 test "$ld_shlibs" = no && can_build_shared=no
9937 with_gnu_ld=$with_gnu_ld
9954 # Do we need to explicitly link libc?
9956 case "x$archive_cmds_need_lc" in
9957 x|xyes)
9958 # Assume -lc should be added
9959 archive_cmds_need_lc=yes
9961 if test "$enable_shared" = yes && test "$GCC" = yes; then
9962 case $archive_cmds in
9963 *'~'*)
9964 # FIXME: we may have to deal with multi-command sequences.
9966 '$CC '*)
9967 # Test whether the compiler implicitly links with -lc since on some
9968 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9969 # to ld, don't add -lc before -lgcc.
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9971 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9972 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 $RM conftest*
9976 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9979 (eval $ac_compile) 2>&5
9980 ac_status=$?
9981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9982 test $ac_status = 0; } 2>conftest.err; then
9983 soname=conftest
9984 lib=conftest
9985 libobjs=conftest.$ac_objext
9986 deplibs=
9987 wl=$lt_prog_compiler_wl
9988 pic_flag=$lt_prog_compiler_pic
9989 compiler_flags=-v
9990 linker_flags=-v
9991 verstring=
9992 output_objdir=.
9993 libname=conftest
9994 lt_save_allow_undefined_flag=$allow_undefined_flag
9995 allow_undefined_flag=
9996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9997 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9998 ac_status=$?
9999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10000 test $ac_status = 0; }
10001 then
10002 lt_cv_archive_cmds_need_lc=no
10003 else
10004 lt_cv_archive_cmds_need_lc=yes
10006 allow_undefined_flag=$lt_save_allow_undefined_flag
10007 else
10008 cat conftest.err 1>&5
10010 $RM conftest*
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10014 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10015 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10017 esac
10020 esac
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10179 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10181 if test "$GCC" = yes; then
10182 case $host_os in
10183 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10184 *) lt_awk_arg="/^libraries:/" ;;
10185 esac
10186 case $host_os in
10187 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10188 *) lt_sed_strip_eq="s,=/,/,g" ;;
10189 esac
10190 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10191 case $lt_search_path_spec in
10192 *\;*)
10193 # if the path contains ";" then we assume it to be the separator
10194 # otherwise default to the standard path separator (i.e. ":") - it is
10195 # assumed that no part of a normal pathname contains ";" but that should
10196 # okay in the real world where ";" in dirpaths is itself problematic.
10197 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10200 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10202 esac
10203 # Ok, now we have the path, separated by spaces, we can step through it
10204 # and add multilib dir if necessary.
10205 lt_tmp_lt_search_path_spec=
10206 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10207 for lt_sys_path in $lt_search_path_spec; do
10208 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10209 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10210 else
10211 test -d "$lt_sys_path" && \
10212 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10214 done
10215 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10216 BEGIN {RS=" "; FS="/|\n";} {
10217 lt_foo="";
10218 lt_count=0;
10219 for (lt_i = NF; lt_i > 0; lt_i--) {
10220 if ($lt_i != "" && $lt_i != ".") {
10221 if ($lt_i == "..") {
10222 lt_count++;
10223 } else {
10224 if (lt_count == 0) {
10225 lt_foo="/" $lt_i lt_foo;
10226 } else {
10227 lt_count--;
10232 if (lt_foo != "") { lt_freq[lt_foo]++; }
10233 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10235 # AWK program above erroneously prepends '/' to C:/dos/paths
10236 # for these hosts.
10237 case $host_os in
10238 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10239 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10240 esac
10241 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10242 else
10243 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10245 library_names_spec=
10246 libname_spec='lib$name'
10247 soname_spec=
10248 shrext_cmds=".so"
10249 postinstall_cmds=
10250 postuninstall_cmds=
10251 finish_cmds=
10252 finish_eval=
10253 shlibpath_var=
10254 shlibpath_overrides_runpath=unknown
10255 version_type=none
10256 dynamic_linker="$host_os ld.so"
10257 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10258 need_lib_prefix=unknown
10259 hardcode_into_libs=no
10261 # when you set need_version to no, make sure it does not cause -set_version
10262 # flags to be left without arguments
10263 need_version=unknown
10265 case $host_os in
10266 aix3*)
10267 version_type=linux
10268 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10269 shlibpath_var=LIBPATH
10271 # AIX 3 has no versioning support, so we append a major version to the name.
10272 soname_spec='${libname}${release}${shared_ext}$major'
10275 aix[4-9]*)
10276 version_type=linux
10277 need_lib_prefix=no
10278 need_version=no
10279 hardcode_into_libs=yes
10280 if test "$host_cpu" = ia64; then
10281 # AIX 5 supports IA64
10282 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10283 shlibpath_var=LD_LIBRARY_PATH
10284 else
10285 # With GCC up to 2.95.x, collect2 would create an import file
10286 # for dependence libraries. The import file would start with
10287 # the line `#! .'. This would cause the generated library to
10288 # depend on `.', always an invalid library. This was fixed in
10289 # development snapshots of GCC prior to 3.0.
10290 case $host_os in
10291 aix4 | aix4.[01] | aix4.[01].*)
10292 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10293 echo ' yes '
10294 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10296 else
10297 can_build_shared=no
10300 esac
10301 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10302 # soname into executable. Probably we can add versioning support to
10303 # collect2, so additional links can be useful in future.
10304 if test "$aix_use_runtimelinking" = yes; then
10305 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10306 # instead of lib<name>.a to let people know that these are not
10307 # typical AIX shared libraries.
10308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 else
10310 # We preserve .a as extension for shared libraries through AIX4.2
10311 # and later when we are not doing run time linking.
10312 library_names_spec='${libname}${release}.a $libname.a'
10313 soname_spec='${libname}${release}${shared_ext}$major'
10315 shlibpath_var=LIBPATH
10319 amigaos*)
10320 case $host_cpu in
10321 powerpc)
10322 # Since July 2007 AmigaOS4 officially supports .so libraries.
10323 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 m68k)
10327 library_names_spec='$libname.ixlibrary $libname.a'
10328 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10329 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'
10331 esac
10334 beos*)
10335 library_names_spec='${libname}${shared_ext}'
10336 dynamic_linker="$host_os ld.so"
10337 shlibpath_var=LIBRARY_PATH
10340 bsdi[45]*)
10341 version_type=linux
10342 need_version=no
10343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 soname_spec='${libname}${release}${shared_ext}$major'
10345 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10346 shlibpath_var=LD_LIBRARY_PATH
10347 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10348 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10349 # the default ld.so.conf also contains /usr/contrib/lib and
10350 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10351 # libtool to hard-code these into programs
10354 cygwin* | mingw* | pw32* | cegcc*)
10355 version_type=windows
10356 shrext_cmds=".dll"
10357 need_version=no
10358 need_lib_prefix=no
10360 case $GCC,$host_os in
10361 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10362 library_names_spec='$libname.dll.a'
10363 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10364 postinstall_cmds='base_file=`basename \${file}`~
10365 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10366 dldir=$destdir/`dirname \$dlpath`~
10367 test -d \$dldir || mkdir -p \$dldir~
10368 $install_prog $dir/$dlname \$dldir/$dlname~
10369 chmod a+x \$dldir/$dlname~
10370 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10371 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10373 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10374 dlpath=$dir/\$dldll~
10375 $RM \$dlpath'
10376 shlibpath_overrides_runpath=yes
10378 case $host_os in
10379 cygwin*)
10380 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10381 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10385 mingw* | cegcc*)
10386 # MinGW DLLs use traditional 'lib' prefix
10387 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10389 pw32*)
10390 # pw32 DLLs use 'pw' prefix rather than 'lib'
10391 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10393 esac
10397 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10399 esac
10400 dynamic_linker='Win32 ld.exe'
10401 # FIXME: first we should search . and the directory the executable is in
10402 shlibpath_var=PATH
10405 darwin* | rhapsody*)
10406 dynamic_linker="$host_os dyld"
10407 version_type=darwin
10408 need_lib_prefix=no
10409 need_version=no
10410 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10411 soname_spec='${libname}${release}${major}$shared_ext'
10412 shlibpath_overrides_runpath=yes
10413 shlibpath_var=DYLD_LIBRARY_PATH
10414 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10416 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10417 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10420 dgux*)
10421 version_type=linux
10422 need_lib_prefix=no
10423 need_version=no
10424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10425 soname_spec='${libname}${release}${shared_ext}$major'
10426 shlibpath_var=LD_LIBRARY_PATH
10429 freebsd1*)
10430 dynamic_linker=no
10433 freebsd* | dragonfly*)
10434 # DragonFly does not have aout. When/if they implement a new
10435 # versioning mechanism, adjust this.
10436 if test -x /usr/bin/objformat; then
10437 objformat=`/usr/bin/objformat`
10438 else
10439 case $host_os in
10440 freebsd[123]*) objformat=aout ;;
10441 *) objformat=elf ;;
10442 esac
10444 version_type=freebsd-$objformat
10445 case $version_type in
10446 freebsd-elf*)
10447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10448 need_version=no
10449 need_lib_prefix=no
10451 freebsd-*)
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10453 need_version=yes
10455 esac
10456 shlibpath_var=LD_LIBRARY_PATH
10457 case $host_os in
10458 freebsd2*)
10459 shlibpath_overrides_runpath=yes
10461 freebsd3.[01]* | freebsdelf3.[01]*)
10462 shlibpath_overrides_runpath=yes
10463 hardcode_into_libs=yes
10465 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10466 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10467 shlibpath_overrides_runpath=no
10468 hardcode_into_libs=yes
10470 *) # from 4.6 on, and DragonFly
10471 shlibpath_overrides_runpath=yes
10472 hardcode_into_libs=yes
10474 esac
10477 gnu*)
10478 version_type=linux
10479 need_lib_prefix=no
10480 need_version=no
10481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10482 soname_spec='${libname}${release}${shared_ext}$major'
10483 shlibpath_var=LD_LIBRARY_PATH
10484 hardcode_into_libs=yes
10487 haiku*)
10488 version_type=linux
10489 need_lib_prefix=no
10490 need_version=no
10491 dynamic_linker="$host_os runtime_loader"
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10493 soname_spec='${libname}${release}${shared_ext}$major'
10494 shlibpath_var=LIBRARY_PATH
10495 shlibpath_overrides_runpath=yes
10496 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10497 hardcode_into_libs=yes
10500 hpux9* | hpux10* | hpux11*)
10501 # Give a soname corresponding to the major version so that dld.sl refuses to
10502 # link against other versions.
10503 version_type=sunos
10504 need_lib_prefix=no
10505 need_version=no
10506 case $host_cpu in
10507 ia64*)
10508 shrext_cmds='.so'
10509 hardcode_into_libs=yes
10510 dynamic_linker="$host_os dld.so"
10511 shlibpath_var=LD_LIBRARY_PATH
10512 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10515 if test "X$HPUX_IA64_MODE" = X32; then
10516 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10517 else
10518 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10520 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10522 hppa*64*)
10523 shrext_cmds='.sl'
10524 hardcode_into_libs=yes
10525 dynamic_linker="$host_os dld.sl"
10526 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10527 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10531 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10534 shrext_cmds='.sl'
10535 dynamic_linker="$host_os dld.sl"
10536 shlibpath_var=SHLIB_PATH
10537 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10539 soname_spec='${libname}${release}${shared_ext}$major'
10541 esac
10542 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10543 postinstall_cmds='chmod 555 $lib'
10544 # or fails outright, so override atomically:
10545 install_override_mode=555
10548 interix[3-9]*)
10549 version_type=linux
10550 need_lib_prefix=no
10551 need_version=no
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10553 soname_spec='${libname}${release}${shared_ext}$major'
10554 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10555 shlibpath_var=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath=no
10557 hardcode_into_libs=yes
10560 irix5* | irix6* | nonstopux*)
10561 case $host_os in
10562 nonstopux*) version_type=nonstopux ;;
10564 if test "$lt_cv_prog_gnu_ld" = yes; then
10565 version_type=linux
10566 else
10567 version_type=irix
10568 fi ;;
10569 esac
10570 need_lib_prefix=no
10571 need_version=no
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10574 case $host_os in
10575 irix5* | nonstopux*)
10576 libsuff= shlibsuff=
10579 case $LD in # libtool.m4 will add one of these switches to LD
10580 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10581 libsuff= shlibsuff= libmagic=32-bit;;
10582 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10583 libsuff=32 shlibsuff=N32 libmagic=N32;;
10584 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10585 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10586 *) libsuff= shlibsuff= libmagic=never-match;;
10587 esac
10589 esac
10590 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10591 shlibpath_overrides_runpath=no
10592 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10593 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10594 hardcode_into_libs=yes
10597 # No shared lib support for Linux oldld, aout, or coff.
10598 linux*oldld* | linux*aout* | linux*coff*)
10599 dynamic_linker=no
10602 # This must be Linux ELF.
10603 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10604 version_type=linux
10605 need_lib_prefix=no
10606 need_version=no
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10610 shlibpath_var=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath=no
10613 # Some binutils ld are patched to set DT_RUNPATH
10614 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 lt_cv_shlibpath_overrides_runpath=no
10618 save_LDFLAGS=$LDFLAGS
10619 save_libdir=$libdir
10620 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10621 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10622 if test x$gcc_no_link = xyes; then
10623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10629 main ()
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10638 lt_cv_shlibpath_overrides_runpath=yes
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LDFLAGS=$save_LDFLAGS
10644 libdir=$save_libdir
10648 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10650 # This implies no fast_install, which is unacceptable.
10651 # Some rework will be needed to allow for fast_install
10652 # before this can be enabled.
10653 hardcode_into_libs=yes
10655 # Append ld.so.conf contents to the search path
10656 if test -f /etc/ld.so.conf; then
10657 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' ' '`
10658 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10661 # We used to test for /lib/ld.so.1 and disable shared libraries on
10662 # powerpc, because MkLinux only supported shared libraries with the
10663 # GNU dynamic linker. Since this was broken with cross compilers,
10664 # most powerpc-linux boxes support dynamic linking these days and
10665 # people can always --disable-shared, the test was removed, and we
10666 # assume the GNU/Linux dynamic linker is in use.
10667 dynamic_linker='GNU/Linux ld.so'
10670 netbsd*)
10671 version_type=sunos
10672 need_lib_prefix=no
10673 need_version=no
10674 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10676 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10677 dynamic_linker='NetBSD (a.out) ld.so'
10678 else
10679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10680 soname_spec='${libname}${release}${shared_ext}$major'
10681 dynamic_linker='NetBSD ld.elf_so'
10683 shlibpath_var=LD_LIBRARY_PATH
10684 shlibpath_overrides_runpath=yes
10685 hardcode_into_libs=yes
10688 newsos6)
10689 version_type=linux
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10691 shlibpath_var=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath=yes
10695 *nto* | *qnx*)
10696 version_type=qnx
10697 need_lib_prefix=no
10698 need_version=no
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 shlibpath_var=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath=no
10703 hardcode_into_libs=yes
10704 dynamic_linker='ldqnx.so'
10707 openbsd*)
10708 version_type=sunos
10709 sys_lib_dlsearch_path_spec="/usr/lib"
10710 need_lib_prefix=no
10711 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10712 case $host_os in
10713 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10714 *) need_version=no ;;
10715 esac
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10717 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10720 case $host_os in
10721 openbsd2.[89] | openbsd2.[89].*)
10722 shlibpath_overrides_runpath=no
10725 shlibpath_overrides_runpath=yes
10727 esac
10728 else
10729 shlibpath_overrides_runpath=yes
10733 os2*)
10734 libname_spec='$name'
10735 shrext_cmds=".dll"
10736 need_lib_prefix=no
10737 library_names_spec='$libname${shared_ext} $libname.a'
10738 dynamic_linker='OS/2 ld.exe'
10739 shlibpath_var=LIBPATH
10742 osf3* | osf4* | osf5*)
10743 version_type=osf
10744 need_lib_prefix=no
10745 need_version=no
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 shlibpath_var=LD_LIBRARY_PATH
10749 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10750 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10753 rdos*)
10754 dynamic_linker=no
10757 solaris*)
10758 version_type=linux
10759 need_lib_prefix=no
10760 need_version=no
10761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec='${libname}${release}${shared_ext}$major'
10763 shlibpath_var=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath=yes
10765 hardcode_into_libs=yes
10766 # ldd complains unless libraries are executable
10767 postinstall_cmds='chmod +x $lib'
10770 sunos4*)
10771 version_type=sunos
10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=yes
10776 if test "$with_gnu_ld" = yes; then
10777 need_lib_prefix=no
10779 need_version=yes
10782 sysv4 | sysv4.3*)
10783 version_type=linux
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 shlibpath_var=LD_LIBRARY_PATH
10787 case $host_vendor in
10788 sni)
10789 shlibpath_overrides_runpath=no
10790 need_lib_prefix=no
10791 runpath_var=LD_RUN_PATH
10793 siemens)
10794 need_lib_prefix=no
10796 motorola)
10797 need_lib_prefix=no
10798 need_version=no
10799 shlibpath_overrides_runpath=no
10800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10802 esac
10805 sysv4*MP*)
10806 if test -d /usr/nec ;then
10807 version_type=linux
10808 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10809 soname_spec='$libname${shared_ext}.$major'
10810 shlibpath_var=LD_LIBRARY_PATH
10814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10815 version_type=freebsd-elf
10816 need_lib_prefix=no
10817 need_version=no
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=yes
10822 hardcode_into_libs=yes
10823 if test "$with_gnu_ld" = yes; then
10824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10825 else
10826 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10827 case $host_os in
10828 sco3.2v5*)
10829 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10831 esac
10833 sys_lib_dlsearch_path_spec='/usr/lib'
10836 tpf*)
10837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10847 uts4*)
10848 version_type=linux
10849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 shlibpath_var=LD_LIBRARY_PATH
10855 dynamic_linker=no
10857 esac
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10859 $as_echo "$dynamic_linker" >&6; }
10860 test "$dynamic_linker" = no && can_build_shared=no
10862 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10863 if test "$GCC" = yes; then
10864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10867 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10868 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10870 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10871 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10966 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10967 hardcode_action=
10968 if test -n "$hardcode_libdir_flag_spec" ||
10969 test -n "$runpath_var" ||
10970 test "X$hardcode_automatic" = "Xyes" ; then
10972 # We can hardcode non-existent directories.
10973 if test "$hardcode_direct" != no &&
10974 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10975 # have to relink, otherwise we might link with an installed library
10976 # when we should be linking with a yet-to-be-installed one
10977 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10978 test "$hardcode_minus_L" != no; then
10979 # Linking always hardcodes the temporary library directory.
10980 hardcode_action=relink
10981 else
10982 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10983 hardcode_action=immediate
10985 else
10986 # We cannot hardcode anything, or else we can only hardcode existing
10987 # directories.
10988 hardcode_action=unsupported
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10991 $as_echo "$hardcode_action" >&6; }
10993 if test "$hardcode_action" = relink ||
10994 test "$inherit_rpath" = yes; then
10995 # Fast installation is not supported
10996 enable_fast_install=no
10997 elif test "$shlibpath_overrides_runpath" = yes ||
10998 test "$enable_shared" = no; then
10999 # Fast installation is not necessary
11000 enable_fast_install=needless
11008 if test "x$enable_dlopen" != xyes; then
11009 enable_dlopen=unknown
11010 enable_dlopen_self=unknown
11011 enable_dlopen_self_static=unknown
11012 else
11013 lt_cv_dlopen=no
11014 lt_cv_dlopen_libs=
11016 case $host_os in
11017 beos*)
11018 lt_cv_dlopen="load_add_on"
11019 lt_cv_dlopen_libs=
11020 lt_cv_dlopen_self=yes
11023 mingw* | pw32* | cegcc*)
11024 lt_cv_dlopen="LoadLibrary"
11025 lt_cv_dlopen_libs=
11028 cygwin*)
11029 lt_cv_dlopen="dlopen"
11030 lt_cv_dlopen_libs=
11033 darwin*)
11034 # if libdl is installed we need to link against it
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11036 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11037 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11038 $as_echo_n "(cached) " >&6
11039 else
11040 ac_check_lib_save_LIBS=$LIBS
11041 LIBS="-ldl $LIBS"
11042 if test x$gcc_no_link = xyes; then
11043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11051 #ifdef __cplusplus
11052 extern "C"
11053 #endif
11054 char dlopen ();
11056 main ()
11058 return dlopen ();
11060 return 0;
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"; then :
11064 ac_cv_lib_dl_dlopen=yes
11065 else
11066 ac_cv_lib_dl_dlopen=no
11068 rm -f core conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11070 LIBS=$ac_check_lib_save_LIBS
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11073 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11074 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11075 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11076 else
11078 lt_cv_dlopen="dyld"
11079 lt_cv_dlopen_libs=
11080 lt_cv_dlopen_self=yes
11087 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11088 if test "x$ac_cv_func_shl_load" = x""yes; then :
11089 lt_cv_dlopen="shl_load"
11090 else
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11092 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11093 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11094 $as_echo_n "(cached) " >&6
11095 else
11096 ac_check_lib_save_LIBS=$LIBS
11097 LIBS="-ldld $LIBS"
11098 if test x$gcc_no_link = xyes; then
11099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11107 #ifdef __cplusplus
11108 extern "C"
11109 #endif
11110 char shl_load ();
11112 main ()
11114 return shl_load ();
11116 return 0;
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_dld_shl_load=yes
11121 else
11122 ac_cv_lib_dld_shl_load=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11129 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11130 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11131 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11132 else
11133 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11134 if test "x$ac_cv_func_dlopen" = x""yes; then :
11135 lt_cv_dlopen="dlopen"
11136 else
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11138 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11139 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11140 $as_echo_n "(cached) " >&6
11141 else
11142 ac_check_lib_save_LIBS=$LIBS
11143 LIBS="-ldl $LIBS"
11144 if test x$gcc_no_link = xyes; then
11145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char dlopen ();
11158 main ()
11160 return dlopen ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_dl_dlopen=yes
11167 else
11168 ac_cv_lib_dl_dlopen=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11176 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11177 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11178 else
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11180 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11181 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lsvld $LIBS"
11186 if test x$gcc_no_link = xyes; then
11187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11195 #ifdef __cplusplus
11196 extern "C"
11197 #endif
11198 char dlopen ();
11200 main ()
11202 return dlopen ();
11204 return 0;
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 ac_cv_lib_svld_dlopen=yes
11209 else
11210 ac_cv_lib_svld_dlopen=no
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS=$ac_check_lib_save_LIBS
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11217 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11218 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11219 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11220 else
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11222 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11223 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_lib_save_LIBS=$LIBS
11227 LIBS="-ldld $LIBS"
11228 if test x$gcc_no_link = xyes; then
11229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char dld_link ();
11242 main ()
11244 return dld_link ();
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 ac_cv_lib_dld_dld_link=yes
11251 else
11252 ac_cv_lib_dld_dld_link=no
11254 rm -f core conftest.err conftest.$ac_objext \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_lib_save_LIBS
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11259 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11260 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11261 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11280 esac
11282 if test "x$lt_cv_dlopen" != xno; then
11283 enable_dlopen=yes
11284 else
11285 enable_dlopen=no
11288 case $lt_cv_dlopen in
11289 dlopen)
11290 save_CPPFLAGS="$CPPFLAGS"
11291 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11293 save_LDFLAGS="$LDFLAGS"
11294 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11296 save_LIBS="$LIBS"
11297 LIBS="$lt_cv_dlopen_libs $LIBS"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11300 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11301 if test "${lt_cv_dlopen_self+set}" = set; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 if test "$cross_compiling" = yes; then :
11305 lt_cv_dlopen_self=cross
11306 else
11307 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11308 lt_status=$lt_dlunknown
11309 cat > conftest.$ac_ext <<_LT_EOF
11310 #line 11310 "configure"
11311 #include "confdefs.h"
11313 #if HAVE_DLFCN_H
11314 #include <dlfcn.h>
11315 #endif
11317 #include <stdio.h>
11319 #ifdef RTLD_GLOBAL
11320 # define LT_DLGLOBAL RTLD_GLOBAL
11321 #else
11322 # ifdef DL_GLOBAL
11323 # define LT_DLGLOBAL DL_GLOBAL
11324 # else
11325 # define LT_DLGLOBAL 0
11326 # endif
11327 #endif
11329 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11330 find out it does not work in some platform. */
11331 #ifndef LT_DLLAZY_OR_NOW
11332 # ifdef RTLD_LAZY
11333 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11334 # else
11335 # ifdef DL_LAZY
11336 # define LT_DLLAZY_OR_NOW DL_LAZY
11337 # else
11338 # ifdef RTLD_NOW
11339 # define LT_DLLAZY_OR_NOW RTLD_NOW
11340 # else
11341 # ifdef DL_NOW
11342 # define LT_DLLAZY_OR_NOW DL_NOW
11343 # else
11344 # define LT_DLLAZY_OR_NOW 0
11345 # endif
11346 # endif
11347 # endif
11348 # endif
11349 #endif
11351 /* When -fvisbility=hidden is used, assume the code has been annotated
11352 correspondingly for the symbols needed. */
11353 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11354 void fnord () __attribute__((visibility("default")));
11355 #endif
11357 void fnord () { int i=42; }
11358 int main ()
11360 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11361 int status = $lt_dlunknown;
11363 if (self)
11365 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11366 else
11368 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11369 else puts (dlerror ());
11371 /* dlclose (self); */
11373 else
11374 puts (dlerror ());
11376 return status;
11378 _LT_EOF
11379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11380 (eval $ac_link) 2>&5
11381 ac_status=$?
11382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11383 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11384 (./conftest; exit; ) >&5 2>/dev/null
11385 lt_status=$?
11386 case x$lt_status in
11387 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11388 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11389 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11390 esac
11391 else :
11392 # compilation failed
11393 lt_cv_dlopen_self=no
11396 rm -fr conftest*
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11401 $as_echo "$lt_cv_dlopen_self" >&6; }
11403 if test "x$lt_cv_dlopen_self" = xyes; then
11404 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11406 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11407 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 if test "$cross_compiling" = yes; then :
11411 lt_cv_dlopen_self_static=cross
11412 else
11413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11414 lt_status=$lt_dlunknown
11415 cat > conftest.$ac_ext <<_LT_EOF
11416 #line 11416 "configure"
11417 #include "confdefs.h"
11419 #if HAVE_DLFCN_H
11420 #include <dlfcn.h>
11421 #endif
11423 #include <stdio.h>
11425 #ifdef RTLD_GLOBAL
11426 # define LT_DLGLOBAL RTLD_GLOBAL
11427 #else
11428 # ifdef DL_GLOBAL
11429 # define LT_DLGLOBAL DL_GLOBAL
11430 # else
11431 # define LT_DLGLOBAL 0
11432 # endif
11433 #endif
11435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11436 find out it does not work in some platform. */
11437 #ifndef LT_DLLAZY_OR_NOW
11438 # ifdef RTLD_LAZY
11439 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11440 # else
11441 # ifdef DL_LAZY
11442 # define LT_DLLAZY_OR_NOW DL_LAZY
11443 # else
11444 # ifdef RTLD_NOW
11445 # define LT_DLLAZY_OR_NOW RTLD_NOW
11446 # else
11447 # ifdef DL_NOW
11448 # define LT_DLLAZY_OR_NOW DL_NOW
11449 # else
11450 # define LT_DLLAZY_OR_NOW 0
11451 # endif
11452 # endif
11453 # endif
11454 # endif
11455 #endif
11457 /* When -fvisbility=hidden is used, assume the code has been annotated
11458 correspondingly for the symbols needed. */
11459 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11460 void fnord () __attribute__((visibility("default")));
11461 #endif
11463 void fnord () { int i=42; }
11464 int main ()
11466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11467 int status = $lt_dlunknown;
11469 if (self)
11471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11472 else
11474 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11475 else puts (dlerror ());
11477 /* dlclose (self); */
11479 else
11480 puts (dlerror ());
11482 return status;
11484 _LT_EOF
11485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11486 (eval $ac_link) 2>&5
11487 ac_status=$?
11488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11489 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11490 (./conftest; exit; ) >&5 2>/dev/null
11491 lt_status=$?
11492 case x$lt_status in
11493 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11494 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11495 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11496 esac
11497 else :
11498 # compilation failed
11499 lt_cv_dlopen_self_static=no
11502 rm -fr conftest*
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11507 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11510 CPPFLAGS="$save_CPPFLAGS"
11511 LDFLAGS="$save_LDFLAGS"
11512 LIBS="$save_LIBS"
11514 esac
11516 case $lt_cv_dlopen_self in
11517 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11518 *) enable_dlopen_self=unknown ;;
11519 esac
11521 case $lt_cv_dlopen_self_static in
11522 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11523 *) enable_dlopen_self_static=unknown ;;
11524 esac
11543 striplib=
11544 old_striplib=
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11546 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11547 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11548 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11549 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11551 $as_echo "yes" >&6; }
11552 else
11553 # FIXME - insert some real tests, host_os isn't really good enough
11554 case $host_os in
11555 darwin*)
11556 if test -n "$STRIP" ; then
11557 striplib="$STRIP -x"
11558 old_striplib="$STRIP -S"
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11560 $as_echo "yes" >&6; }
11561 else
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 $as_echo "no" >&6; }
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11568 $as_echo "no" >&6; }
11570 esac
11584 # Report which library types will actually be built
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11586 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11588 $as_echo "$can_build_shared" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11591 $as_echo_n "checking whether to build shared libraries... " >&6; }
11592 test "$can_build_shared" = "no" && enable_shared=no
11594 # On AIX, shared libraries and static libraries use the same namespace, and
11595 # are all built from PIC.
11596 case $host_os in
11597 aix3*)
11598 test "$enable_shared" = yes && enable_static=no
11599 if test -n "$RANLIB"; then
11600 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11601 postinstall_cmds='$RANLIB $lib'
11605 aix[4-9]*)
11606 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11607 test "$enable_shared" = yes && enable_static=no
11610 esac
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11612 $as_echo "$enable_shared" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11615 $as_echo_n "checking whether to build static libraries... " >&6; }
11616 # Make sure either enable_shared or enable_static is yes.
11617 test "$enable_shared" = yes || enable_static=yes
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11619 $as_echo "$enable_static" >&6; }
11625 ac_ext=c
11626 ac_cpp='$CPP $CPPFLAGS'
11627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11631 CC="$lt_save_CC"
11645 ac_config_commands="$ac_config_commands libtool"
11650 # Only expand once:
11655 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11657 # We need gfortran to compile parts of the library
11658 #AC_PROG_FC(gfortran)
11659 FC="$GFORTRAN"
11660 ac_ext=${ac_fc_srcext-f}
11661 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11662 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11663 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11664 if test -n "$ac_tool_prefix"; then
11665 for ac_prog in gfortran
11667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 $as_echo_n "checking for $ac_word... " >&6; }
11671 if test "${ac_cv_prog_FC+set}" = set; then :
11672 $as_echo_n "(cached) " >&6
11673 else
11674 if test -n "$FC"; then
11675 ac_cv_prog_FC="$FC" # Let the user override the test.
11676 else
11677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11678 for as_dir in $PATH
11680 IFS=$as_save_IFS
11681 test -z "$as_dir" && as_dir=.
11682 for ac_exec_ext in '' $ac_executable_extensions; do
11683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11684 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11686 break 2
11688 done
11689 done
11690 IFS=$as_save_IFS
11694 FC=$ac_cv_prog_FC
11695 if test -n "$FC"; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11697 $as_echo "$FC" >&6; }
11698 else
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11700 $as_echo "no" >&6; }
11704 test -n "$FC" && break
11705 done
11707 if test -z "$FC"; then
11708 ac_ct_FC=$FC
11709 for ac_prog in gfortran
11711 # Extract the first word of "$ac_prog", so it can be a program name with args.
11712 set dummy $ac_prog; ac_word=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11714 $as_echo_n "checking for $ac_word... " >&6; }
11715 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11716 $as_echo_n "(cached) " >&6
11717 else
11718 if test -n "$ac_ct_FC"; then
11719 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11720 else
11721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722 for as_dir in $PATH
11724 IFS=$as_save_IFS
11725 test -z "$as_dir" && as_dir=.
11726 for ac_exec_ext in '' $ac_executable_extensions; do
11727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11728 ac_cv_prog_ac_ct_FC="$ac_prog"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11730 break 2
11732 done
11733 done
11734 IFS=$as_save_IFS
11738 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11739 if test -n "$ac_ct_FC"; then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11741 $as_echo "$ac_ct_FC" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 test -n "$ac_ct_FC" && break
11749 done
11751 if test "x$ac_ct_FC" = x; then
11752 FC=""
11753 else
11754 case $cross_compiling:$ac_tool_warned in
11755 yes:)
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11758 ac_tool_warned=yes ;;
11759 esac
11760 FC=$ac_ct_FC
11765 # Provide some information about the compiler.
11766 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11767 set X $ac_compile
11768 ac_compiler=$2
11769 for ac_option in --version -v -V -qversion; do
11770 { { ac_try="$ac_compiler $ac_option >&5"
11771 case "(($ac_try" in
11772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11773 *) ac_try_echo=$ac_try;;
11774 esac
11775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11776 $as_echo "$ac_try_echo"; } >&5
11777 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11778 ac_status=$?
11779 if test -s conftest.err; then
11780 sed '10a\
11781 ... rest of stderr output deleted ...
11782 10q' conftest.err >conftest.er1
11783 cat conftest.er1 >&5
11784 rm -f conftest.er1 conftest.err
11786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11787 test $ac_status = 0; }
11788 done
11789 rm -f a.out
11791 # If we don't use `.F' as extension, the preprocessor is not run on the
11792 # input file. (Note that this only needs to work for GNU compilers.)
11793 ac_save_ext=$ac_ext
11794 ac_ext=F
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11796 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11797 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 cat > conftest.$ac_ext <<_ACEOF
11801 program main
11802 #ifndef __GNUC__
11803 choke me
11804 #endif
11807 _ACEOF
11808 if ac_fn_fc_try_compile "$LINENO"; then :
11809 ac_compiler_gnu=yes
11810 else
11811 ac_compiler_gnu=no
11813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11814 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11818 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11819 ac_ext=$ac_save_ext
11820 ac_test_FCFLAGS=${FCFLAGS+set}
11821 ac_save_FCFLAGS=$FCFLAGS
11822 FCFLAGS=
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11824 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11825 if test "${ac_cv_prog_fc_g+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 FCFLAGS=-g
11829 cat > conftest.$ac_ext <<_ACEOF
11830 program main
11833 _ACEOF
11834 if ac_fn_fc_try_compile "$LINENO"; then :
11835 ac_cv_prog_fc_g=yes
11836 else
11837 ac_cv_prog_fc_g=no
11839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11843 $as_echo "$ac_cv_prog_fc_g" >&6; }
11844 if test "$ac_test_FCFLAGS" = set; then
11845 FCFLAGS=$ac_save_FCFLAGS
11846 elif test $ac_cv_prog_fc_g = yes; then
11847 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11848 FCFLAGS="-g -O2"
11849 else
11850 FCFLAGS="-g"
11852 else
11853 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11854 FCFLAGS="-O2"
11855 else
11856 FCFLAGS=
11860 ac_ext=c
11861 ac_cpp='$CPP $CPPFLAGS'
11862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11866 ac_ext=${ac_fc_srcext-f}
11867 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11868 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11869 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11872 if test -z "$FC" || test "X$FC" = "Xno"; then
11873 _lt_disable_FC=yes
11876 archive_cmds_need_lc_FC=no
11877 allow_undefined_flag_FC=
11878 always_export_symbols_FC=no
11879 archive_expsym_cmds_FC=
11880 export_dynamic_flag_spec_FC=
11881 hardcode_direct_FC=no
11882 hardcode_direct_absolute_FC=no
11883 hardcode_libdir_flag_spec_FC=
11884 hardcode_libdir_flag_spec_ld_FC=
11885 hardcode_libdir_separator_FC=
11886 hardcode_minus_L_FC=no
11887 hardcode_automatic_FC=no
11888 inherit_rpath_FC=no
11889 module_cmds_FC=
11890 module_expsym_cmds_FC=
11891 link_all_deplibs_FC=unknown
11892 old_archive_cmds_FC=$old_archive_cmds
11893 reload_flag_FC=$reload_flag
11894 reload_cmds_FC=$reload_cmds
11895 no_undefined_flag_FC=
11896 whole_archive_flag_spec_FC=
11897 enable_shared_with_static_runtimes_FC=no
11899 # Source file extension for fc test sources.
11900 ac_ext=${ac_fc_srcext-f}
11902 # Object file extension for compiled fc test sources.
11903 objext=o
11904 objext_FC=$objext
11906 # No sense in running all these tests if we already determined that
11907 # the FC compiler isn't working. Some variables (like enable_shared)
11908 # are currently assumed to apply to all compilers on this platform,
11909 # and will be corrupted by setting them based on a non-working compiler.
11910 if test "$_lt_disable_FC" != yes; then
11911 # Code to be used in simple compile tests
11912 lt_simple_compile_test_code="\
11913 subroutine t
11914 return
11918 # Code to be used in simple link tests
11919 lt_simple_link_test_code="\
11920 program t
11924 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11931 # If no C compiler was specified, use CC.
11932 LTCC=${LTCC-"$CC"}
11934 # If no C compiler flags were specified, use CFLAGS.
11935 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11937 # Allow CC to be a program name with arguments.
11938 compiler=$CC
11941 # save warnings/boilerplate of simple test code
11942 ac_outfile=conftest.$ac_objext
11943 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11944 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11945 _lt_compiler_boilerplate=`cat conftest.err`
11946 $RM conftest*
11948 ac_outfile=conftest.$ac_objext
11949 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11950 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11951 _lt_linker_boilerplate=`cat conftest.err`
11952 $RM -r conftest*
11955 # Allow CC to be a program name with arguments.
11956 lt_save_CC="$CC"
11957 lt_save_GCC=$GCC
11958 CC=${FC-"f95"}
11959 compiler=$CC
11960 GCC=$ac_cv_fc_compiler_gnu
11962 compiler_FC=$CC
11963 for cc_temp in $compiler""; do
11964 case $cc_temp in
11965 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11966 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11967 \-*) ;;
11968 *) break;;
11969 esac
11970 done
11971 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11974 if test -n "$compiler"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11976 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11978 $as_echo "$can_build_shared" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11981 $as_echo_n "checking whether to build shared libraries... " >&6; }
11982 test "$can_build_shared" = "no" && enable_shared=no
11984 # On AIX, shared libraries and static libraries use the same namespace, and
11985 # are all built from PIC.
11986 case $host_os in
11987 aix3*)
11988 test "$enable_shared" = yes && enable_static=no
11989 if test -n "$RANLIB"; then
11990 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11991 postinstall_cmds='$RANLIB $lib'
11994 aix[4-9]*)
11995 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11996 test "$enable_shared" = yes && enable_static=no
11999 esac
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12001 $as_echo "$enable_shared" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12004 $as_echo_n "checking whether to build static libraries... " >&6; }
12005 # Make sure either enable_shared or enable_static is yes.
12006 test "$enable_shared" = yes || enable_static=yes
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12008 $as_echo "$enable_static" >&6; }
12010 GCC_FC="$ac_cv_fc_compiler_gnu"
12011 LD_FC="$LD"
12013 ## CAVEAT EMPTOR:
12014 ## There is no encapsulation within the following macros, do not change
12015 ## the running order or otherwise move them around unless you know exactly
12016 ## what you are doing...
12017 # Dependencies to place before and after the object being linked:
12018 predep_objects_FC=
12019 postdep_objects_FC=
12020 predeps_FC=
12021 postdeps_FC=
12022 compiler_lib_search_path_FC=
12024 cat > conftest.$ac_ext <<_LT_EOF
12025 subroutine foo
12026 implicit none
12027 integer a
12029 return
12031 _LT_EOF
12033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12034 (eval $ac_compile) 2>&5
12035 ac_status=$?
12036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12037 test $ac_status = 0; }; then
12038 # Parse the compiler output and extract the necessary
12039 # objects, libraries and library flags.
12041 # Sentinel used to keep track of whether or not we are before
12042 # the conftest object file.
12043 pre_test_object_deps_done=no
12045 for p in `eval "$output_verbose_link_cmd"`; do
12046 case $p in
12048 -L* | -R* | -l*)
12049 # Some compilers place space between "-{L,R}" and the path.
12050 # Remove the space.
12051 if test $p = "-L" ||
12052 test $p = "-R"; then
12053 prev=$p
12054 continue
12055 else
12056 prev=
12059 if test "$pre_test_object_deps_done" = no; then
12060 case $p in
12061 -L* | -R*)
12062 # Internal compiler library paths should come after those
12063 # provided the user. The postdeps already come after the
12064 # user supplied libs so there is no need to process them.
12065 if test -z "$compiler_lib_search_path_FC"; then
12066 compiler_lib_search_path_FC="${prev}${p}"
12067 else
12068 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12071 # The "-l" case would never come before the object being
12072 # linked, so don't bother handling this case.
12073 esac
12074 else
12075 if test -z "$postdeps_FC"; then
12076 postdeps_FC="${prev}${p}"
12077 else
12078 postdeps_FC="${postdeps_FC} ${prev}${p}"
12083 *.$objext)
12084 # This assumes that the test object file only shows up
12085 # once in the compiler output.
12086 if test "$p" = "conftest.$objext"; then
12087 pre_test_object_deps_done=yes
12088 continue
12091 if test "$pre_test_object_deps_done" = no; then
12092 if test -z "$predep_objects_FC"; then
12093 predep_objects_FC="$p"
12094 else
12095 predep_objects_FC="$predep_objects_FC $p"
12097 else
12098 if test -z "$postdep_objects_FC"; then
12099 postdep_objects_FC="$p"
12100 else
12101 postdep_objects_FC="$postdep_objects_FC $p"
12106 *) ;; # Ignore the rest.
12108 esac
12109 done
12111 # Clean up.
12112 rm -f a.out a.exe
12113 else
12114 echo "libtool.m4: error: problem compiling FC test program"
12117 $RM -f confest.$objext
12119 # PORTME: override above test on systems where it is broken
12122 case " $postdeps_FC " in
12123 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12124 esac
12125 compiler_lib_search_dirs_FC=
12126 if test -n "${compiler_lib_search_path_FC}"; then
12127 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12160 lt_prog_compiler_wl_FC=
12161 lt_prog_compiler_pic_FC=
12162 lt_prog_compiler_static_FC=
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12165 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12167 if test "$GCC" = yes; then
12168 lt_prog_compiler_wl_FC='-Wl,'
12169 lt_prog_compiler_static_FC='-static'
12171 case $host_os in
12172 aix*)
12173 # All AIX code is PIC.
12174 if test "$host_cpu" = ia64; then
12175 # AIX 5 now supports IA64 processor
12176 lt_prog_compiler_static_FC='-Bstatic'
12180 amigaos*)
12181 case $host_cpu in
12182 powerpc)
12183 # see comment about AmigaOS4 .so support
12184 lt_prog_compiler_pic_FC='-fPIC'
12186 m68k)
12187 # FIXME: we need at least 68020 code to build shared libraries, but
12188 # adding the `-m68020' flag to GCC prevents building anything better,
12189 # like `-m68040'.
12190 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12192 esac
12195 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12196 # PIC is the default for these OSes.
12199 mingw* | cygwin* | pw32* | os2* | cegcc*)
12200 # This hack is so that the source file can tell whether it is being
12201 # built for inclusion in a dll (and should export symbols for example).
12202 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12203 # (--disable-auto-import) libraries
12204 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12207 darwin* | rhapsody*)
12208 # PIC is the default on this platform
12209 # Common symbols not allowed in MH_DYLIB files
12210 lt_prog_compiler_pic_FC='-fno-common'
12213 haiku*)
12214 # PIC is the default for Haiku.
12215 # The "-static" flag exists, but is broken.
12216 lt_prog_compiler_static_FC=
12219 hpux*)
12220 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12221 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12222 # sets the default TLS model and affects inlining.
12223 case $host_cpu in
12224 hppa*64*)
12225 # +Z the default
12228 lt_prog_compiler_pic_FC='-fPIC'
12230 esac
12233 interix[3-9]*)
12234 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12235 # Instead, we relocate shared libraries at runtime.
12238 msdosdjgpp*)
12239 # Just because we use GCC doesn't mean we suddenly get shared libraries
12240 # on systems that don't support them.
12241 lt_prog_compiler_can_build_shared_FC=no
12242 enable_shared=no
12245 *nto* | *qnx*)
12246 # QNX uses GNU C++, but need to define -shared option too, otherwise
12247 # it will coredump.
12248 lt_prog_compiler_pic_FC='-fPIC -shared'
12251 sysv4*MP*)
12252 if test -d /usr/nec; then
12253 lt_prog_compiler_pic_FC=-Kconform_pic
12258 lt_prog_compiler_pic_FC='-fPIC'
12260 esac
12262 case $cc_basename in
12263 nvcc*) # Cuda Compiler Driver 2.2
12264 lt_prog_compiler_wl_FC='-Xlinker '
12265 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12267 esac
12268 else
12269 # PORTME Check for flag to pass linker flags through the system compiler.
12270 case $host_os in
12271 aix*)
12272 lt_prog_compiler_wl_FC='-Wl,'
12273 if test "$host_cpu" = ia64; then
12274 # AIX 5 now supports IA64 processor
12275 lt_prog_compiler_static_FC='-Bstatic'
12276 else
12277 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12281 mingw* | cygwin* | pw32* | os2* | cegcc*)
12282 # This hack is so that the source file can tell whether it is being
12283 # built for inclusion in a dll (and should export symbols for example).
12284 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12287 hpux9* | hpux10* | hpux11*)
12288 lt_prog_compiler_wl_FC='-Wl,'
12289 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12290 # not for PA HP-UX.
12291 case $host_cpu in
12292 hppa*64*|ia64*)
12293 # +Z the default
12296 lt_prog_compiler_pic_FC='+Z'
12298 esac
12299 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12300 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12303 irix5* | irix6* | nonstopux*)
12304 lt_prog_compiler_wl_FC='-Wl,'
12305 # PIC (with -KPIC) is the default.
12306 lt_prog_compiler_static_FC='-non_shared'
12309 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12310 case $cc_basename in
12311 # old Intel for x86_64 which still supported -KPIC.
12312 ecc*)
12313 lt_prog_compiler_wl_FC='-Wl,'
12314 lt_prog_compiler_pic_FC='-KPIC'
12315 lt_prog_compiler_static_FC='-static'
12317 # icc used to be incompatible with GCC.
12318 # ICC 10 doesn't accept -KPIC any more.
12319 icc* | ifort*)
12320 lt_prog_compiler_wl_FC='-Wl,'
12321 lt_prog_compiler_pic_FC='-fPIC'
12322 lt_prog_compiler_static_FC='-static'
12324 # Lahey Fortran 8.1.
12325 lf95*)
12326 lt_prog_compiler_wl_FC='-Wl,'
12327 lt_prog_compiler_pic_FC='--shared'
12328 lt_prog_compiler_static_FC='--static'
12330 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12331 # Portland Group compilers (*not* the Pentium gcc compiler,
12332 # which looks to be a dead project)
12333 lt_prog_compiler_wl_FC='-Wl,'
12334 lt_prog_compiler_pic_FC='-fpic'
12335 lt_prog_compiler_static_FC='-Bstatic'
12337 ccc*)
12338 lt_prog_compiler_wl_FC='-Wl,'
12339 # All Alpha code is PIC.
12340 lt_prog_compiler_static_FC='-non_shared'
12342 xl* | bgxl* | bgf* | mpixl*)
12343 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12344 lt_prog_compiler_wl_FC='-Wl,'
12345 lt_prog_compiler_pic_FC='-qpic'
12346 lt_prog_compiler_static_FC='-qstaticlink'
12349 case `$CC -V 2>&1 | sed 5q` in
12350 *Sun\ F* | *Sun*Fortran*)
12351 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12352 lt_prog_compiler_pic_FC='-KPIC'
12353 lt_prog_compiler_static_FC='-Bstatic'
12354 lt_prog_compiler_wl_FC=''
12356 *Sun\ C*)
12357 # Sun C 5.9
12358 lt_prog_compiler_pic_FC='-KPIC'
12359 lt_prog_compiler_static_FC='-Bstatic'
12360 lt_prog_compiler_wl_FC='-Wl,'
12362 esac
12364 esac
12367 newsos6)
12368 lt_prog_compiler_pic_FC='-KPIC'
12369 lt_prog_compiler_static_FC='-Bstatic'
12372 *nto* | *qnx*)
12373 # QNX uses GNU C++, but need to define -shared option too, otherwise
12374 # it will coredump.
12375 lt_prog_compiler_pic_FC='-fPIC -shared'
12378 osf3* | osf4* | osf5*)
12379 lt_prog_compiler_wl_FC='-Wl,'
12380 # All OSF/1 code is PIC.
12381 lt_prog_compiler_static_FC='-non_shared'
12384 rdos*)
12385 lt_prog_compiler_static_FC='-non_shared'
12388 solaris*)
12389 lt_prog_compiler_pic_FC='-KPIC'
12390 lt_prog_compiler_static_FC='-Bstatic'
12391 case $cc_basename in
12392 f77* | f90* | f95*)
12393 lt_prog_compiler_wl_FC='-Qoption ld ';;
12395 lt_prog_compiler_wl_FC='-Wl,';;
12396 esac
12399 sunos4*)
12400 lt_prog_compiler_wl_FC='-Qoption ld '
12401 lt_prog_compiler_pic_FC='-PIC'
12402 lt_prog_compiler_static_FC='-Bstatic'
12405 sysv4 | sysv4.2uw2* | sysv4.3*)
12406 lt_prog_compiler_wl_FC='-Wl,'
12407 lt_prog_compiler_pic_FC='-KPIC'
12408 lt_prog_compiler_static_FC='-Bstatic'
12411 sysv4*MP*)
12412 if test -d /usr/nec ;then
12413 lt_prog_compiler_pic_FC='-Kconform_pic'
12414 lt_prog_compiler_static_FC='-Bstatic'
12418 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12419 lt_prog_compiler_wl_FC='-Wl,'
12420 lt_prog_compiler_pic_FC='-KPIC'
12421 lt_prog_compiler_static_FC='-Bstatic'
12424 unicos*)
12425 lt_prog_compiler_wl_FC='-Wl,'
12426 lt_prog_compiler_can_build_shared_FC=no
12429 uts4*)
12430 lt_prog_compiler_pic_FC='-pic'
12431 lt_prog_compiler_static_FC='-Bstatic'
12435 lt_prog_compiler_can_build_shared_FC=no
12437 esac
12440 case $host_os in
12441 # For platforms which do not support PIC, -DPIC is meaningless:
12442 *djgpp*)
12443 lt_prog_compiler_pic_FC=
12446 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12448 esac
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12450 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12455 # Check to make sure the PIC flag actually works.
12457 if test -n "$lt_prog_compiler_pic_FC"; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12459 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12460 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12461 $as_echo_n "(cached) " >&6
12462 else
12463 lt_cv_prog_compiler_pic_works_FC=no
12464 ac_outfile=conftest.$ac_objext
12465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12466 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12467 # Insert the option either (1) after the last *FLAGS variable, or
12468 # (2) before a word containing "conftest.", or (3) at the end.
12469 # Note that $ac_compile itself does not contain backslashes and begins
12470 # with a dollar sign (not a hyphen), so the echo should work correctly.
12471 # The option is referenced via a variable to avoid confusing sed.
12472 lt_compile=`echo "$ac_compile" | $SED \
12473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12475 -e 's:$: $lt_compiler_flag:'`
12476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12477 (eval "$lt_compile" 2>conftest.err)
12478 ac_status=$?
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 if (exit $ac_status) && test -s "$ac_outfile"; then
12482 # The compiler can only warn and ignore the option if not recognized
12483 # So say no if there are warnings other than the usual output.
12484 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12487 lt_cv_prog_compiler_pic_works_FC=yes
12490 $RM conftest*
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12494 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12496 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12497 case $lt_prog_compiler_pic_FC in
12498 "" | " "*) ;;
12499 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12500 esac
12501 else
12502 lt_prog_compiler_pic_FC=
12503 lt_prog_compiler_can_build_shared_FC=no
12511 # Check to make sure the static flag actually works.
12513 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12515 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12516 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12517 $as_echo_n "(cached) " >&6
12518 else
12519 lt_cv_prog_compiler_static_works_FC=no
12520 save_LDFLAGS="$LDFLAGS"
12521 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12522 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12523 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12524 # The linker can only warn and ignore the option if not recognized
12525 # So say no if there are warnings
12526 if test -s conftest.err; then
12527 # Append any errors to the config.log.
12528 cat conftest.err 1>&5
12529 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12530 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12531 if diff conftest.exp conftest.er2 >/dev/null; then
12532 lt_cv_prog_compiler_static_works_FC=yes
12534 else
12535 lt_cv_prog_compiler_static_works_FC=yes
12538 $RM -r conftest*
12539 LDFLAGS="$save_LDFLAGS"
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12543 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12545 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12547 else
12548 lt_prog_compiler_static_FC=
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12555 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12556 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12557 $as_echo_n "(cached) " >&6
12558 else
12559 lt_cv_prog_compiler_c_o_FC=no
12560 $RM -r conftest 2>/dev/null
12561 mkdir conftest
12562 cd conftest
12563 mkdir out
12564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12566 lt_compiler_flag="-o out/conftest2.$ac_objext"
12567 # Insert the option either (1) after the last *FLAGS variable, or
12568 # (2) before a word containing "conftest.", or (3) at the end.
12569 # Note that $ac_compile itself does not contain backslashes and begins
12570 # with a dollar sign (not a hyphen), so the echo should work correctly.
12571 lt_compile=`echo "$ac_compile" | $SED \
12572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12574 -e 's:$: $lt_compiler_flag:'`
12575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12576 (eval "$lt_compile" 2>out/conftest.err)
12577 ac_status=$?
12578 cat out/conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12581 then
12582 # The compiler can only warn and ignore the option if not recognized
12583 # So say no if there are warnings
12584 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12585 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12586 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12587 lt_cv_prog_compiler_c_o_FC=yes
12590 chmod u+w . 2>&5
12591 $RM conftest*
12592 # SGI C++ compiler will create directory out/ii_files/ for
12593 # template instantiation
12594 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12595 $RM out/* && rmdir out
12596 cd ..
12597 $RM -r conftest
12598 $RM conftest*
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12602 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12607 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12608 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 lt_cv_prog_compiler_c_o_FC=no
12612 $RM -r conftest 2>/dev/null
12613 mkdir conftest
12614 cd conftest
12615 mkdir out
12616 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12618 lt_compiler_flag="-o out/conftest2.$ac_objext"
12619 # Insert the option either (1) after the last *FLAGS variable, or
12620 # (2) before a word containing "conftest.", or (3) at the end.
12621 # Note that $ac_compile itself does not contain backslashes and begins
12622 # with a dollar sign (not a hyphen), so the echo should work correctly.
12623 lt_compile=`echo "$ac_compile" | $SED \
12624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12626 -e 's:$: $lt_compiler_flag:'`
12627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12628 (eval "$lt_compile" 2>out/conftest.err)
12629 ac_status=$?
12630 cat out/conftest.err >&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12633 then
12634 # The compiler can only warn and ignore the option if not recognized
12635 # So say no if there are warnings
12636 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12637 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12638 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12639 lt_cv_prog_compiler_c_o_FC=yes
12642 chmod u+w . 2>&5
12643 $RM conftest*
12644 # SGI C++ compiler will create directory out/ii_files/ for
12645 # template instantiation
12646 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12647 $RM out/* && rmdir out
12648 cd ..
12649 $RM -r conftest
12650 $RM conftest*
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12654 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12659 hard_links="nottested"
12660 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12661 # do not overwrite the value of need_locks provided by the user
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12663 $as_echo_n "checking if we can lock with hard links... " >&6; }
12664 hard_links=yes
12665 $RM conftest*
12666 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12667 touch conftest.a
12668 ln conftest.a conftest.b 2>&5 || hard_links=no
12669 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12671 $as_echo "$hard_links" >&6; }
12672 if test "$hard_links" = no; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12674 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12675 need_locks=warn
12677 else
12678 need_locks=no
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12684 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12686 runpath_var=
12687 allow_undefined_flag_FC=
12688 always_export_symbols_FC=no
12689 archive_cmds_FC=
12690 archive_expsym_cmds_FC=
12691 compiler_needs_object_FC=no
12692 enable_shared_with_static_runtimes_FC=no
12693 export_dynamic_flag_spec_FC=
12694 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12695 hardcode_automatic_FC=no
12696 hardcode_direct_FC=no
12697 hardcode_direct_absolute_FC=no
12698 hardcode_libdir_flag_spec_FC=
12699 hardcode_libdir_flag_spec_ld_FC=
12700 hardcode_libdir_separator_FC=
12701 hardcode_minus_L_FC=no
12702 hardcode_shlibpath_var_FC=unsupported
12703 inherit_rpath_FC=no
12704 link_all_deplibs_FC=unknown
12705 module_cmds_FC=
12706 module_expsym_cmds_FC=
12707 old_archive_from_new_cmds_FC=
12708 old_archive_from_expsyms_cmds_FC=
12709 thread_safe_flag_spec_FC=
12710 whole_archive_flag_spec_FC=
12711 # include_expsyms should be a list of space-separated symbols to be *always*
12712 # included in the symbol list
12713 include_expsyms_FC=
12714 # exclude_expsyms can be an extended regexp of symbols to exclude
12715 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12716 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12717 # as well as any symbol that contains `d'.
12718 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12719 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12720 # platforms (ab)use it in PIC code, but their linkers get confused if
12721 # the symbol is explicitly referenced. Since portable code cannot
12722 # rely on this symbol name, it's probably fine to never include it in
12723 # preloaded symbol tables.
12724 # Exclude shared library initialization/finalization symbols.
12725 extract_expsyms_cmds=
12727 case $host_os in
12728 cygwin* | mingw* | pw32* | cegcc*)
12729 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12730 # When not using gcc, we currently assume that we are using
12731 # Microsoft Visual C++.
12732 if test "$GCC" != yes; then
12733 with_gnu_ld=no
12736 interix*)
12737 # we just hope/assume this is gcc and not c89 (= MSVC++)
12738 with_gnu_ld=yes
12740 openbsd*)
12741 with_gnu_ld=no
12743 esac
12745 ld_shlibs_FC=yes
12747 # On some targets, GNU ld is compatible enough with the native linker
12748 # that we're better off using the native interface for both.
12749 lt_use_gnu_ld_interface=no
12750 if test "$with_gnu_ld" = yes; then
12751 case $host_os in
12752 aix*)
12753 # The AIX port of GNU ld has always aspired to compatibility
12754 # with the native linker. However, as the warning in the GNU ld
12755 # block says, versions before 2.19.5* couldn't really create working
12756 # shared libraries, regardless of the interface used.
12757 case `$LD -v 2>&1` in
12758 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12759 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12760 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12762 lt_use_gnu_ld_interface=yes
12764 esac
12767 lt_use_gnu_ld_interface=yes
12769 esac
12772 if test "$lt_use_gnu_ld_interface" = yes; then
12773 # If archive_cmds runs LD, not CC, wlarc should be empty
12774 wlarc='${wl}'
12776 # Set some defaults for GNU ld with shared library support. These
12777 # are reset later if shared libraries are not supported. Putting them
12778 # here allows them to be overridden if necessary.
12779 runpath_var=LD_RUN_PATH
12780 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12781 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12782 # ancient GNU ld didn't support --whole-archive et. al.
12783 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12784 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12785 else
12786 whole_archive_flag_spec_FC=
12788 supports_anon_versioning=no
12789 case `$LD -v 2>&1` in
12790 *GNU\ gold*) supports_anon_versioning=yes ;;
12791 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12792 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12793 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12794 *\ 2.11.*) ;; # other 2.11 versions
12795 *) supports_anon_versioning=yes ;;
12796 esac
12798 # See if GNU ld supports shared libraries.
12799 case $host_os in
12800 aix[3-9]*)
12801 # On AIX/PPC, the GNU linker is very broken
12802 if test "$host_cpu" != ia64; then
12803 ld_shlibs_FC=no
12804 cat <<_LT_EOF 1>&2
12806 *** Warning: the GNU linker, at least up to release 2.19, is reported
12807 *** to be unable to reliably create shared libraries on AIX.
12808 *** Therefore, libtool is disabling shared libraries support. If you
12809 *** really care for shared libraries, you may want to install binutils
12810 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12811 *** You will then need to restart the configuration process.
12813 _LT_EOF
12817 amigaos*)
12818 case $host_cpu in
12819 powerpc)
12820 # see comment about AmigaOS4 .so support
12821 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12822 archive_expsym_cmds_FC=''
12824 m68k)
12825 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)'
12826 hardcode_libdir_flag_spec_FC='-L$libdir'
12827 hardcode_minus_L_FC=yes
12829 esac
12832 beos*)
12833 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12834 allow_undefined_flag_FC=unsupported
12835 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12836 # support --undefined. This deserves some investigation. FIXME
12837 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12838 else
12839 ld_shlibs_FC=no
12843 cygwin* | mingw* | pw32* | cegcc*)
12844 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12845 # as there is no search path for DLLs.
12846 hardcode_libdir_flag_spec_FC='-L$libdir'
12847 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12848 allow_undefined_flag_FC=unsupported
12849 always_export_symbols_FC=no
12850 enable_shared_with_static_runtimes_FC=yes
12851 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12853 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12854 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12855 # If the export-symbols file already is a .def file (1st line
12856 # is EXPORTS), use it as is; otherwise, prepend...
12857 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12858 cp $export_symbols $output_objdir/$soname.def;
12859 else
12860 echo EXPORTS > $output_objdir/$soname.def;
12861 cat $export_symbols >> $output_objdir/$soname.def;
12863 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12864 else
12865 ld_shlibs_FC=no
12869 haiku*)
12870 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12871 link_all_deplibs_FC=yes
12874 interix[3-9]*)
12875 hardcode_direct_FC=no
12876 hardcode_shlibpath_var_FC=no
12877 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12878 export_dynamic_flag_spec_FC='${wl}-E'
12879 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12880 # Instead, shared libraries are loaded at an image base (0x10000000 by
12881 # default) and relocated if they conflict, which is a slow very memory
12882 # consuming and fragmenting process. To avoid this, we pick a random,
12883 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12884 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12885 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'
12886 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'
12889 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12890 tmp_diet=no
12891 if test "$host_os" = linux-dietlibc; then
12892 case $cc_basename in
12893 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12894 esac
12896 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12897 && test "$tmp_diet" = no
12898 then
12899 tmp_addflag=
12900 tmp_sharedflag='-shared'
12901 case $cc_basename,$host_cpu in
12902 pgcc*) # Portland Group C compiler
12903 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'
12904 tmp_addflag=' $pic_flag'
12906 pgf77* | pgf90* | pgf95* | pgfortran*)
12907 # Portland Group f77 and f90 compilers
12908 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'
12909 tmp_addflag=' $pic_flag -Mnomain' ;;
12910 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12911 tmp_addflag=' -i_dynamic' ;;
12912 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12913 tmp_addflag=' -i_dynamic -nofor_main' ;;
12914 ifc* | ifort*) # Intel Fortran compiler
12915 tmp_addflag=' -nofor_main' ;;
12916 lf95*) # Lahey Fortran 8.1
12917 whole_archive_flag_spec_FC=
12918 tmp_sharedflag='--shared' ;;
12919 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12920 tmp_sharedflag='-qmkshrobj'
12921 tmp_addflag= ;;
12922 nvcc*) # Cuda Compiler Driver 2.2
12923 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'
12924 compiler_needs_object_FC=yes
12926 esac
12927 case `$CC -V 2>&1 | sed 5q` in
12928 *Sun\ C*) # Sun C 5.9
12929 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'
12930 compiler_needs_object_FC=yes
12931 tmp_sharedflag='-G' ;;
12932 *Sun\ F*) # Sun Fortran 8.3
12933 tmp_sharedflag='-G' ;;
12934 esac
12935 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937 if test "x$supports_anon_versioning" = xyes; then
12938 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12939 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12940 echo "local: *; };" >> $output_objdir/$libname.ver~
12941 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12944 case $cc_basename in
12945 xlf* | bgf* | bgxlf* | mpixlf*)
12946 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12947 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12948 hardcode_libdir_flag_spec_FC=
12949 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12950 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12951 if test "x$supports_anon_versioning" = xyes; then
12952 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12953 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12954 echo "local: *; };" >> $output_objdir/$libname.ver~
12955 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12958 esac
12959 else
12960 ld_shlibs_FC=no
12964 netbsd*)
12965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12966 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12967 wlarc=
12968 else
12969 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12970 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12974 solaris*)
12975 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12976 ld_shlibs_FC=no
12977 cat <<_LT_EOF 1>&2
12979 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12980 *** create shared libraries on Solaris systems. Therefore, libtool
12981 *** is disabling shared libraries support. We urge you to upgrade GNU
12982 *** binutils to release 2.9.1 or newer. Another option is to modify
12983 *** your PATH or compiler configuration so that the native linker is
12984 *** used, and then restart.
12986 _LT_EOF
12987 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12988 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12989 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12990 else
12991 ld_shlibs_FC=no
12995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12996 case `$LD -v 2>&1` in
12997 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12998 ld_shlibs_FC=no
12999 cat <<_LT_EOF 1>&2
13001 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13002 *** reliably create shared libraries on SCO systems. Therefore, libtool
13003 *** is disabling shared libraries support. We urge you to upgrade GNU
13004 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13005 *** your PATH or compiler configuration so that the native linker is
13006 *** used, and then restart.
13008 _LT_EOF
13011 # For security reasons, it is highly recommended that you always
13012 # use absolute paths for naming shared libraries, and exclude the
13013 # DT_RUNPATH tag from executables and libraries. But doing so
13014 # requires that you compile everything twice, which is a pain.
13015 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13016 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13017 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13018 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13019 else
13020 ld_shlibs_FC=no
13023 esac
13026 sunos4*)
13027 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13028 wlarc=
13029 hardcode_direct_FC=yes
13030 hardcode_shlibpath_var_FC=no
13034 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13035 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13036 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13037 else
13038 ld_shlibs_FC=no
13041 esac
13043 if test "$ld_shlibs_FC" = no; then
13044 runpath_var=
13045 hardcode_libdir_flag_spec_FC=
13046 export_dynamic_flag_spec_FC=
13047 whole_archive_flag_spec_FC=
13049 else
13050 # PORTME fill in a description of your system's linker (not GNU ld)
13051 case $host_os in
13052 aix3*)
13053 allow_undefined_flag_FC=unsupported
13054 always_export_symbols_FC=yes
13055 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'
13056 # Note: this linker hardcodes the directories in LIBPATH if there
13057 # are no directories specified by -L.
13058 hardcode_minus_L_FC=yes
13059 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13060 # Neither direct hardcoding nor static linking is supported with a
13061 # broken collect2.
13062 hardcode_direct_FC=unsupported
13066 aix[4-9]*)
13067 if test "$host_cpu" = ia64; then
13068 # On IA64, the linker does run time linking by default, so we don't
13069 # have to do anything special.
13070 aix_use_runtimelinking=no
13071 exp_sym_flag='-Bexport'
13072 no_entry_flag=""
13073 else
13074 # If we're using GNU nm, then we don't want the "-C" option.
13075 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13076 # Also, AIX nm treats weak defined symbols like other global
13077 # defined symbols, whereas GNU nm marks them as "W".
13078 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13079 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'
13080 else
13081 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'
13083 aix_use_runtimelinking=no
13085 # Test if we are trying to use run time linking or normal
13086 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13087 # need to do runtime linking.
13088 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13089 for ld_flag in $LDFLAGS; do
13090 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13091 aix_use_runtimelinking=yes
13092 break
13094 done
13096 esac
13098 exp_sym_flag='-bexport'
13099 no_entry_flag='-bnoentry'
13102 # When large executables or shared objects are built, AIX ld can
13103 # have problems creating the table of contents. If linking a library
13104 # or program results in "error TOC overflow" add -mminimal-toc to
13105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13108 archive_cmds_FC=''
13109 hardcode_direct_FC=yes
13110 hardcode_direct_absolute_FC=yes
13111 hardcode_libdir_separator_FC=':'
13112 link_all_deplibs_FC=yes
13113 file_list_spec_FC='${wl}-f,'
13115 if test "$GCC" = yes; then
13116 case $host_os in aix4.[012]|aix4.[012].*)
13117 # We only want to do this on AIX 4.2 and lower, the check
13118 # below for broken collect2 doesn't work under 4.3+
13119 collect2name=`${CC} -print-prog-name=collect2`
13120 if test -f "$collect2name" &&
13121 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13122 then
13123 # We have reworked collect2
13125 else
13126 # We have old collect2
13127 hardcode_direct_FC=unsupported
13128 # It fails to find uninstalled libraries when the uninstalled
13129 # path is not listed in the libpath. Setting hardcode_minus_L
13130 # to unsupported forces relinking
13131 hardcode_minus_L_FC=yes
13132 hardcode_libdir_flag_spec_FC='-L$libdir'
13133 hardcode_libdir_separator_FC=
13136 esac
13137 shared_flag='-shared'
13138 if test "$aix_use_runtimelinking" = yes; then
13139 shared_flag="$shared_flag "'${wl}-G'
13141 else
13142 # not using gcc
13143 if test "$host_cpu" = ia64; then
13144 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13145 # chokes on -Wl,-G. The following line is correct:
13146 shared_flag='-G'
13147 else
13148 if test "$aix_use_runtimelinking" = yes; then
13149 shared_flag='${wl}-G'
13150 else
13151 shared_flag='${wl}-bM:SRE'
13156 export_dynamic_flag_spec_FC='${wl}-bexpall'
13157 # It seems that -bexpall does not export symbols beginning with
13158 # underscore (_), so it is better to generate a list of symbols to export.
13159 always_export_symbols_FC=yes
13160 if test "$aix_use_runtimelinking" = yes; then
13161 # Warning - without using the other runtime loading flags (-brtl),
13162 # -berok will link without error, but may produce a broken library.
13163 allow_undefined_flag_FC='-berok'
13164 # Determine the default libpath from the value encoded in an
13165 # empty executable.
13166 if test x$gcc_no_link = xyes; then
13167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13169 cat > conftest.$ac_ext <<_ACEOF
13170 program main
13173 _ACEOF
13174 if ac_fn_fc_try_link "$LINENO"; then :
13176 lt_aix_libpath_sed='
13177 /Import File Strings/,/^$/ {
13178 /^0/ {
13179 s/^0 *\(.*\)$/\1/
13183 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13184 # Check for a 64-bit object if we didn't find anything.
13185 if test -z "$aix_libpath"; then
13186 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13189 rm -f core conftest.err conftest.$ac_objext \
13190 conftest$ac_exeext conftest.$ac_ext
13191 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13193 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13194 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"
13195 else
13196 if test "$host_cpu" = ia64; then
13197 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13198 allow_undefined_flag_FC="-z nodefs"
13199 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"
13200 else
13201 # Determine the default libpath from the value encoded in an
13202 # empty executable.
13203 if test x$gcc_no_link = xyes; then
13204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13206 cat > conftest.$ac_ext <<_ACEOF
13207 program main
13210 _ACEOF
13211 if ac_fn_fc_try_link "$LINENO"; then :
13213 lt_aix_libpath_sed='
13214 /Import File Strings/,/^$/ {
13215 /^0/ {
13216 s/^0 *\(.*\)$/\1/
13220 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13221 # Check for a 64-bit object if we didn't find anything.
13222 if test -z "$aix_libpath"; then
13223 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13226 rm -f core conftest.err conftest.$ac_objext \
13227 conftest$ac_exeext conftest.$ac_ext
13228 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13230 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13231 # Warning - without using the other run time loading flags,
13232 # -berok will link without error, but may produce a broken library.
13233 no_undefined_flag_FC=' ${wl}-bernotok'
13234 allow_undefined_flag_FC=' ${wl}-berok'
13235 if test "$with_gnu_ld" = yes; then
13236 # We only use this code for GNU lds that support --whole-archive.
13237 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13238 else
13239 # Exported symbols can be pulled into shared objects from archives
13240 whole_archive_flag_spec_FC='$convenience'
13242 archive_cmds_need_lc_FC=yes
13243 # This is similar to how AIX traditionally builds its shared libraries.
13244 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'
13249 amigaos*)
13250 case $host_cpu in
13251 powerpc)
13252 # see comment about AmigaOS4 .so support
13253 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254 archive_expsym_cmds_FC=''
13256 m68k)
13257 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)'
13258 hardcode_libdir_flag_spec_FC='-L$libdir'
13259 hardcode_minus_L_FC=yes
13261 esac
13264 bsdi[45]*)
13265 export_dynamic_flag_spec_FC=-rdynamic
13268 cygwin* | mingw* | pw32* | cegcc*)
13269 # When not using gcc, we currently assume that we are using
13270 # Microsoft Visual C++.
13271 # hardcode_libdir_flag_spec is actually meaningless, as there is
13272 # no search path for DLLs.
13273 hardcode_libdir_flag_spec_FC=' '
13274 allow_undefined_flag_FC=unsupported
13275 # Tell ltmain to make .lib files, not .a files.
13276 libext=lib
13277 # Tell ltmain to make .dll files, not .so files.
13278 shrext_cmds=".dll"
13279 # FIXME: Setting linknames here is a bad hack.
13280 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13281 # The linker will automatically build a .lib file if we build a DLL.
13282 old_archive_from_new_cmds_FC='true'
13283 # FIXME: Should let the user specify the lib program.
13284 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13285 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13286 enable_shared_with_static_runtimes_FC=yes
13289 darwin* | rhapsody*)
13292 archive_cmds_need_lc_FC=no
13293 hardcode_direct_FC=no
13294 hardcode_automatic_FC=yes
13295 hardcode_shlibpath_var_FC=unsupported
13296 if test "$lt_cv_ld_force_load" = "yes"; then
13297 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\"`'
13298 else
13299 whole_archive_flag_spec_FC=''
13301 link_all_deplibs_FC=yes
13302 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13303 case $cc_basename in
13304 ifort*) _lt_dar_can_shared=yes ;;
13305 *) _lt_dar_can_shared=$GCC ;;
13306 esac
13307 if test "$_lt_dar_can_shared" = "yes"; then
13308 output_verbose_link_cmd=func_echo_all
13309 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}"
13310 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13311 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}"
13312 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}"
13314 else
13315 ld_shlibs_FC=no
13320 dgux*)
13321 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13322 hardcode_libdir_flag_spec_FC='-L$libdir'
13323 hardcode_shlibpath_var_FC=no
13326 freebsd1*)
13327 ld_shlibs_FC=no
13330 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13331 # support. Future versions do this automatically, but an explicit c++rt0.o
13332 # does not break anything, and helps significantly (at the cost of a little
13333 # extra space).
13334 freebsd2.2*)
13335 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13336 hardcode_libdir_flag_spec_FC='-R$libdir'
13337 hardcode_direct_FC=yes
13338 hardcode_shlibpath_var_FC=no
13341 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13342 freebsd2*)
13343 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13344 hardcode_direct_FC=yes
13345 hardcode_minus_L_FC=yes
13346 hardcode_shlibpath_var_FC=no
13349 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13350 freebsd* | dragonfly*)
13351 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13352 hardcode_libdir_flag_spec_FC='-R$libdir'
13353 hardcode_direct_FC=yes
13354 hardcode_shlibpath_var_FC=no
13357 hpux9*)
13358 if test "$GCC" = yes; then
13359 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'
13360 else
13361 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'
13363 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13364 hardcode_libdir_separator_FC=:
13365 hardcode_direct_FC=yes
13367 # hardcode_minus_L: Not really in the search PATH,
13368 # but as the default location of the library.
13369 hardcode_minus_L_FC=yes
13370 export_dynamic_flag_spec_FC='${wl}-E'
13373 hpux10*)
13374 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13375 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13376 else
13377 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13379 if test "$with_gnu_ld" = no; then
13380 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13381 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13382 hardcode_libdir_separator_FC=:
13383 hardcode_direct_FC=yes
13384 hardcode_direct_absolute_FC=yes
13385 export_dynamic_flag_spec_FC='${wl}-E'
13386 # hardcode_minus_L: Not really in the search PATH,
13387 # but as the default location of the library.
13388 hardcode_minus_L_FC=yes
13392 hpux11*)
13393 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13394 case $host_cpu in
13395 hppa*64*)
13396 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13398 ia64*)
13399 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13402 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13404 esac
13405 else
13406 case $host_cpu in
13407 hppa*64*)
13408 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13410 ia64*)
13411 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13414 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13416 esac
13418 if test "$with_gnu_ld" = no; then
13419 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13420 hardcode_libdir_separator_FC=:
13422 case $host_cpu in
13423 hppa*64*|ia64*)
13424 hardcode_direct_FC=no
13425 hardcode_shlibpath_var_FC=no
13428 hardcode_direct_FC=yes
13429 hardcode_direct_absolute_FC=yes
13430 export_dynamic_flag_spec_FC='${wl}-E'
13432 # hardcode_minus_L: Not really in the search PATH,
13433 # but as the default location of the library.
13434 hardcode_minus_L_FC=yes
13436 esac
13440 irix5* | irix6* | nonstopux*)
13441 if test "$GCC" = yes; then
13442 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'
13443 # Try to use the -exported_symbol ld option, if it does not
13444 # work, assume that -exports_file does not work either and
13445 # implicitly export all symbols.
13446 save_LDFLAGS="$LDFLAGS"
13447 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13448 if test x$gcc_no_link = xyes; then
13449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13451 cat > conftest.$ac_ext <<_ACEOF
13452 int foo(void) {}
13453 _ACEOF
13454 if ac_fn_fc_try_link "$LINENO"; then :
13455 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'
13458 rm -f core conftest.err conftest.$ac_objext \
13459 conftest$ac_exeext conftest.$ac_ext
13460 LDFLAGS="$save_LDFLAGS"
13461 else
13462 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'
13463 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'
13465 archive_cmds_need_lc_FC='no'
13466 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13467 hardcode_libdir_separator_FC=:
13468 inherit_rpath_FC=yes
13469 link_all_deplibs_FC=yes
13472 netbsd*)
13473 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13474 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13475 else
13476 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13478 hardcode_libdir_flag_spec_FC='-R$libdir'
13479 hardcode_direct_FC=yes
13480 hardcode_shlibpath_var_FC=no
13483 newsos6)
13484 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13485 hardcode_direct_FC=yes
13486 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13487 hardcode_libdir_separator_FC=:
13488 hardcode_shlibpath_var_FC=no
13491 *nto* | *qnx*)
13494 openbsd*)
13495 if test -f /usr/libexec/ld.so; then
13496 hardcode_direct_FC=yes
13497 hardcode_shlibpath_var_FC=no
13498 hardcode_direct_absolute_FC=yes
13499 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13500 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13501 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13502 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13503 export_dynamic_flag_spec_FC='${wl}-E'
13504 else
13505 case $host_os in
13506 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13507 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13508 hardcode_libdir_flag_spec_FC='-R$libdir'
13511 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13512 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13514 esac
13516 else
13517 ld_shlibs_FC=no
13521 os2*)
13522 hardcode_libdir_flag_spec_FC='-L$libdir'
13523 hardcode_minus_L_FC=yes
13524 allow_undefined_flag_FC=unsupported
13525 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'
13526 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13529 osf3*)
13530 if test "$GCC" = yes; then
13531 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13532 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'
13533 else
13534 allow_undefined_flag_FC=' -expect_unresolved \*'
13535 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'
13537 archive_cmds_need_lc_FC='no'
13538 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13539 hardcode_libdir_separator_FC=:
13542 osf4* | osf5*) # as osf3* with the addition of -msym flag
13543 if test "$GCC" = yes; then
13544 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13545 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'
13546 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13547 else
13548 allow_undefined_flag_FC=' -expect_unresolved \*'
13549 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'
13550 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~
13551 $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'
13553 # Both c and cxx compiler support -rpath directly
13554 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13556 archive_cmds_need_lc_FC='no'
13557 hardcode_libdir_separator_FC=:
13560 solaris*)
13561 no_undefined_flag_FC=' -z defs'
13562 if test "$GCC" = yes; then
13563 wlarc='${wl}'
13564 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13565 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13566 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13567 else
13568 case `$CC -V 2>&1` in
13569 *"Compilers 5.0"*)
13570 wlarc=''
13571 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13572 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13573 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13576 wlarc='${wl}'
13577 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13578 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13579 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13581 esac
13583 hardcode_libdir_flag_spec_FC='-R$libdir'
13584 hardcode_shlibpath_var_FC=no
13585 case $host_os in
13586 solaris2.[0-5] | solaris2.[0-5].*) ;;
13588 # The compiler driver will combine and reorder linker options,
13589 # but understands `-z linker_flag'. GCC discards it without `$wl',
13590 # but is careful enough not to reorder.
13591 # Supported since Solaris 2.6 (maybe 2.5.1?)
13592 if test "$GCC" = yes; then
13593 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13594 else
13595 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13598 esac
13599 link_all_deplibs_FC=yes
13602 sunos4*)
13603 if test "x$host_vendor" = xsequent; then
13604 # Use $CC to link under sequent, because it throws in some extra .o
13605 # files that make .init and .fini sections work.
13606 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13607 else
13608 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13610 hardcode_libdir_flag_spec_FC='-L$libdir'
13611 hardcode_direct_FC=yes
13612 hardcode_minus_L_FC=yes
13613 hardcode_shlibpath_var_FC=no
13616 sysv4)
13617 case $host_vendor in
13618 sni)
13619 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13620 hardcode_direct_FC=yes # is this really true???
13622 siemens)
13623 ## LD is ld it makes a PLAMLIB
13624 ## CC just makes a GrossModule.
13625 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13626 reload_cmds_FC='$CC -r -o $output$reload_objs'
13627 hardcode_direct_FC=no
13629 motorola)
13630 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13631 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13633 esac
13634 runpath_var='LD_RUN_PATH'
13635 hardcode_shlibpath_var_FC=no
13638 sysv4.3*)
13639 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13640 hardcode_shlibpath_var_FC=no
13641 export_dynamic_flag_spec_FC='-Bexport'
13644 sysv4*MP*)
13645 if test -d /usr/nec; then
13646 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13647 hardcode_shlibpath_var_FC=no
13648 runpath_var=LD_RUN_PATH
13649 hardcode_runpath_var=yes
13650 ld_shlibs_FC=yes
13654 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13655 no_undefined_flag_FC='${wl}-z,text'
13656 archive_cmds_need_lc_FC=no
13657 hardcode_shlibpath_var_FC=no
13658 runpath_var='LD_RUN_PATH'
13660 if test "$GCC" = yes; then
13661 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13662 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13663 else
13664 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13665 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13669 sysv5* | sco3.2v5* | sco5v6*)
13670 # Note: We can NOT use -z defs as we might desire, because we do not
13671 # link with -lc, and that would cause any symbols used from libc to
13672 # always be unresolved, which means just about no library would
13673 # ever link correctly. If we're not using GNU ld we use -z text
13674 # though, which does catch some bad symbols but isn't as heavy-handed
13675 # as -z defs.
13676 no_undefined_flag_FC='${wl}-z,text'
13677 allow_undefined_flag_FC='${wl}-z,nodefs'
13678 archive_cmds_need_lc_FC=no
13679 hardcode_shlibpath_var_FC=no
13680 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13681 hardcode_libdir_separator_FC=':'
13682 link_all_deplibs_FC=yes
13683 export_dynamic_flag_spec_FC='${wl}-Bexport'
13684 runpath_var='LD_RUN_PATH'
13686 if test "$GCC" = yes; then
13687 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13688 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13689 else
13690 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13691 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13695 uts4*)
13696 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13697 hardcode_libdir_flag_spec_FC='-L$libdir'
13698 hardcode_shlibpath_var_FC=no
13702 ld_shlibs_FC=no
13704 esac
13706 if test x$host_vendor = xsni; then
13707 case $host in
13708 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13709 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13711 esac
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13716 $as_echo "$ld_shlibs_FC" >&6; }
13717 test "$ld_shlibs_FC" = no && can_build_shared=no
13719 with_gnu_ld_FC=$with_gnu_ld
13727 # Do we need to explicitly link libc?
13729 case "x$archive_cmds_need_lc_FC" in
13730 x|xyes)
13731 # Assume -lc should be added
13732 archive_cmds_need_lc_FC=yes
13734 if test "$enable_shared" = yes && test "$GCC" = yes; then
13735 case $archive_cmds_FC in
13736 *'~'*)
13737 # FIXME: we may have to deal with multi-command sequences.
13739 '$CC '*)
13740 # Test whether the compiler implicitly links with -lc since on some
13741 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13742 # to ld, don't add -lc before -lgcc.
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13744 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13745 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 $RM conftest*
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13752 (eval $ac_compile) 2>&5
13753 ac_status=$?
13754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13755 test $ac_status = 0; } 2>conftest.err; then
13756 soname=conftest
13757 lib=conftest
13758 libobjs=conftest.$ac_objext
13759 deplibs=
13760 wl=$lt_prog_compiler_wl_FC
13761 pic_flag=$lt_prog_compiler_pic_FC
13762 compiler_flags=-v
13763 linker_flags=-v
13764 verstring=
13765 output_objdir=.
13766 libname=conftest
13767 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13768 allow_undefined_flag_FC=
13769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13770 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13771 ac_status=$?
13772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13773 test $ac_status = 0; }
13774 then
13775 lt_cv_archive_cmds_need_lc_FC=no
13776 else
13777 lt_cv_archive_cmds_need_lc_FC=yes
13779 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13780 else
13781 cat conftest.err 1>&5
13783 $RM conftest*
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13787 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13788 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13790 esac
13793 esac
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13859 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13861 library_names_spec=
13862 libname_spec='lib$name'
13863 soname_spec=
13864 shrext_cmds=".so"
13865 postinstall_cmds=
13866 postuninstall_cmds=
13867 finish_cmds=
13868 finish_eval=
13869 shlibpath_var=
13870 shlibpath_overrides_runpath=unknown
13871 version_type=none
13872 dynamic_linker="$host_os ld.so"
13873 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13874 need_lib_prefix=unknown
13875 hardcode_into_libs=no
13877 # when you set need_version to no, make sure it does not cause -set_version
13878 # flags to be left without arguments
13879 need_version=unknown
13881 case $host_os in
13882 aix3*)
13883 version_type=linux
13884 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13885 shlibpath_var=LIBPATH
13887 # AIX 3 has no versioning support, so we append a major version to the name.
13888 soname_spec='${libname}${release}${shared_ext}$major'
13891 aix[4-9]*)
13892 version_type=linux
13893 need_lib_prefix=no
13894 need_version=no
13895 hardcode_into_libs=yes
13896 if test "$host_cpu" = ia64; then
13897 # AIX 5 supports IA64
13898 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13899 shlibpath_var=LD_LIBRARY_PATH
13900 else
13901 # With GCC up to 2.95.x, collect2 would create an import file
13902 # for dependence libraries. The import file would start with
13903 # the line `#! .'. This would cause the generated library to
13904 # depend on `.', always an invalid library. This was fixed in
13905 # development snapshots of GCC prior to 3.0.
13906 case $host_os in
13907 aix4 | aix4.[01] | aix4.[01].*)
13908 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13909 echo ' yes '
13910 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13912 else
13913 can_build_shared=no
13916 esac
13917 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13918 # soname into executable. Probably we can add versioning support to
13919 # collect2, so additional links can be useful in future.
13920 if test "$aix_use_runtimelinking" = yes; then
13921 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13922 # instead of lib<name>.a to let people know that these are not
13923 # typical AIX shared libraries.
13924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13925 else
13926 # We preserve .a as extension for shared libraries through AIX4.2
13927 # and later when we are not doing run time linking.
13928 library_names_spec='${libname}${release}.a $libname.a'
13929 soname_spec='${libname}${release}${shared_ext}$major'
13931 shlibpath_var=LIBPATH
13935 amigaos*)
13936 case $host_cpu in
13937 powerpc)
13938 # Since July 2007 AmigaOS4 officially supports .so libraries.
13939 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13942 m68k)
13943 library_names_spec='$libname.ixlibrary $libname.a'
13944 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13945 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'
13947 esac
13950 beos*)
13951 library_names_spec='${libname}${shared_ext}'
13952 dynamic_linker="$host_os ld.so"
13953 shlibpath_var=LIBRARY_PATH
13956 bsdi[45]*)
13957 version_type=linux
13958 need_version=no
13959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13960 soname_spec='${libname}${release}${shared_ext}$major'
13961 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13962 shlibpath_var=LD_LIBRARY_PATH
13963 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13964 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13965 # the default ld.so.conf also contains /usr/contrib/lib and
13966 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13967 # libtool to hard-code these into programs
13970 cygwin* | mingw* | pw32* | cegcc*)
13971 version_type=windows
13972 shrext_cmds=".dll"
13973 need_version=no
13974 need_lib_prefix=no
13976 case $GCC,$host_os in
13977 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13978 library_names_spec='$libname.dll.a'
13979 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13980 postinstall_cmds='base_file=`basename \${file}`~
13981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13982 dldir=$destdir/`dirname \$dlpath`~
13983 test -d \$dldir || mkdir -p \$dldir~
13984 $install_prog $dir/$dlname \$dldir/$dlname~
13985 chmod a+x \$dldir/$dlname~
13986 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13987 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13989 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13990 dlpath=$dir/\$dldll~
13991 $RM \$dlpath'
13992 shlibpath_overrides_runpath=yes
13994 case $host_os in
13995 cygwin*)
13996 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13997 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14000 mingw* | cegcc*)
14001 # MinGW DLLs use traditional 'lib' prefix
14002 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14004 pw32*)
14005 # pw32 DLLs use 'pw' prefix rather than 'lib'
14006 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14008 esac
14012 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14014 esac
14015 dynamic_linker='Win32 ld.exe'
14016 # FIXME: first we should search . and the directory the executable is in
14017 shlibpath_var=PATH
14020 darwin* | rhapsody*)
14021 dynamic_linker="$host_os dyld"
14022 version_type=darwin
14023 need_lib_prefix=no
14024 need_version=no
14025 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14026 soname_spec='${libname}${release}${major}$shared_ext'
14027 shlibpath_overrides_runpath=yes
14028 shlibpath_var=DYLD_LIBRARY_PATH
14029 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14031 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14034 dgux*)
14035 version_type=linux
14036 need_lib_prefix=no
14037 need_version=no
14038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14039 soname_spec='${libname}${release}${shared_ext}$major'
14040 shlibpath_var=LD_LIBRARY_PATH
14043 freebsd1*)
14044 dynamic_linker=no
14047 freebsd* | dragonfly*)
14048 # DragonFly does not have aout. When/if they implement a new
14049 # versioning mechanism, adjust this.
14050 if test -x /usr/bin/objformat; then
14051 objformat=`/usr/bin/objformat`
14052 else
14053 case $host_os in
14054 freebsd[123]*) objformat=aout ;;
14055 *) objformat=elf ;;
14056 esac
14058 version_type=freebsd-$objformat
14059 case $version_type in
14060 freebsd-elf*)
14061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14062 need_version=no
14063 need_lib_prefix=no
14065 freebsd-*)
14066 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14067 need_version=yes
14069 esac
14070 shlibpath_var=LD_LIBRARY_PATH
14071 case $host_os in
14072 freebsd2*)
14073 shlibpath_overrides_runpath=yes
14075 freebsd3.[01]* | freebsdelf3.[01]*)
14076 shlibpath_overrides_runpath=yes
14077 hardcode_into_libs=yes
14079 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14080 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14081 shlibpath_overrides_runpath=no
14082 hardcode_into_libs=yes
14084 *) # from 4.6 on, and DragonFly
14085 shlibpath_overrides_runpath=yes
14086 hardcode_into_libs=yes
14088 esac
14091 gnu*)
14092 version_type=linux
14093 need_lib_prefix=no
14094 need_version=no
14095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14096 soname_spec='${libname}${release}${shared_ext}$major'
14097 shlibpath_var=LD_LIBRARY_PATH
14098 hardcode_into_libs=yes
14101 haiku*)
14102 version_type=linux
14103 need_lib_prefix=no
14104 need_version=no
14105 dynamic_linker="$host_os runtime_loader"
14106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14107 soname_spec='${libname}${release}${shared_ext}$major'
14108 shlibpath_var=LIBRARY_PATH
14109 shlibpath_overrides_runpath=yes
14110 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14111 hardcode_into_libs=yes
14114 hpux9* | hpux10* | hpux11*)
14115 # Give a soname corresponding to the major version so that dld.sl refuses to
14116 # link against other versions.
14117 version_type=sunos
14118 need_lib_prefix=no
14119 need_version=no
14120 case $host_cpu in
14121 ia64*)
14122 shrext_cmds='.so'
14123 hardcode_into_libs=yes
14124 dynamic_linker="$host_os dld.so"
14125 shlibpath_var=LD_LIBRARY_PATH
14126 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14128 soname_spec='${libname}${release}${shared_ext}$major'
14129 if test "X$HPUX_IA64_MODE" = X32; then
14130 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14131 else
14132 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14134 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14136 hppa*64*)
14137 shrext_cmds='.sl'
14138 hardcode_into_libs=yes
14139 dynamic_linker="$host_os dld.sl"
14140 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14141 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14143 soname_spec='${libname}${release}${shared_ext}$major'
14144 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14145 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14148 shrext_cmds='.sl'
14149 dynamic_linker="$host_os dld.sl"
14150 shlibpath_var=SHLIB_PATH
14151 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14153 soname_spec='${libname}${release}${shared_ext}$major'
14155 esac
14156 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14157 postinstall_cmds='chmod 555 $lib'
14158 # or fails outright, so override atomically:
14159 install_override_mode=555
14162 interix[3-9]*)
14163 version_type=linux
14164 need_lib_prefix=no
14165 need_version=no
14166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14167 soname_spec='${libname}${release}${shared_ext}$major'
14168 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14169 shlibpath_var=LD_LIBRARY_PATH
14170 shlibpath_overrides_runpath=no
14171 hardcode_into_libs=yes
14174 irix5* | irix6* | nonstopux*)
14175 case $host_os in
14176 nonstopux*) version_type=nonstopux ;;
14178 if test "$lt_cv_prog_gnu_ld" = yes; then
14179 version_type=linux
14180 else
14181 version_type=irix
14182 fi ;;
14183 esac
14184 need_lib_prefix=no
14185 need_version=no
14186 soname_spec='${libname}${release}${shared_ext}$major'
14187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14188 case $host_os in
14189 irix5* | nonstopux*)
14190 libsuff= shlibsuff=
14193 case $LD in # libtool.m4 will add one of these switches to LD
14194 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14195 libsuff= shlibsuff= libmagic=32-bit;;
14196 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14197 libsuff=32 shlibsuff=N32 libmagic=N32;;
14198 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14199 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14200 *) libsuff= shlibsuff= libmagic=never-match;;
14201 esac
14203 esac
14204 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14205 shlibpath_overrides_runpath=no
14206 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14207 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14208 hardcode_into_libs=yes
14211 # No shared lib support for Linux oldld, aout, or coff.
14212 linux*oldld* | linux*aout* | linux*coff*)
14213 dynamic_linker=no
14216 # This must be Linux ELF.
14217 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14218 version_type=linux
14219 need_lib_prefix=no
14220 need_version=no
14221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14223 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14224 shlibpath_var=LD_LIBRARY_PATH
14225 shlibpath_overrides_runpath=no
14227 # Some binutils ld are patched to set DT_RUNPATH
14228 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 lt_cv_shlibpath_overrides_runpath=no
14232 save_LDFLAGS=$LDFLAGS
14233 save_libdir=$libdir
14234 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14235 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14236 if test x$gcc_no_link = xyes; then
14237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14239 cat > conftest.$ac_ext <<_ACEOF
14240 program main
14243 _ACEOF
14244 if ac_fn_fc_try_link "$LINENO"; then :
14245 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14246 lt_cv_shlibpath_overrides_runpath=yes
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LDFLAGS=$save_LDFLAGS
14252 libdir=$save_libdir
14256 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14258 # This implies no fast_install, which is unacceptable.
14259 # Some rework will be needed to allow for fast_install
14260 # before this can be enabled.
14261 hardcode_into_libs=yes
14263 # Append ld.so.conf contents to the search path
14264 if test -f /etc/ld.so.conf; then
14265 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' ' '`
14266 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14269 # We used to test for /lib/ld.so.1 and disable shared libraries on
14270 # powerpc, because MkLinux only supported shared libraries with the
14271 # GNU dynamic linker. Since this was broken with cross compilers,
14272 # most powerpc-linux boxes support dynamic linking these days and
14273 # people can always --disable-shared, the test was removed, and we
14274 # assume the GNU/Linux dynamic linker is in use.
14275 dynamic_linker='GNU/Linux ld.so'
14278 netbsd*)
14279 version_type=sunos
14280 need_lib_prefix=no
14281 need_version=no
14282 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14284 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14285 dynamic_linker='NetBSD (a.out) ld.so'
14286 else
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14288 soname_spec='${libname}${release}${shared_ext}$major'
14289 dynamic_linker='NetBSD ld.elf_so'
14291 shlibpath_var=LD_LIBRARY_PATH
14292 shlibpath_overrides_runpath=yes
14293 hardcode_into_libs=yes
14296 newsos6)
14297 version_type=linux
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 shlibpath_var=LD_LIBRARY_PATH
14300 shlibpath_overrides_runpath=yes
14303 *nto* | *qnx*)
14304 version_type=qnx
14305 need_lib_prefix=no
14306 need_version=no
14307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14308 soname_spec='${libname}${release}${shared_ext}$major'
14309 shlibpath_var=LD_LIBRARY_PATH
14310 shlibpath_overrides_runpath=no
14311 hardcode_into_libs=yes
14312 dynamic_linker='ldqnx.so'
14315 openbsd*)
14316 version_type=sunos
14317 sys_lib_dlsearch_path_spec="/usr/lib"
14318 need_lib_prefix=no
14319 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14320 case $host_os in
14321 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14322 *) need_version=no ;;
14323 esac
14324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14325 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14326 shlibpath_var=LD_LIBRARY_PATH
14327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14328 case $host_os in
14329 openbsd2.[89] | openbsd2.[89].*)
14330 shlibpath_overrides_runpath=no
14333 shlibpath_overrides_runpath=yes
14335 esac
14336 else
14337 shlibpath_overrides_runpath=yes
14341 os2*)
14342 libname_spec='$name'
14343 shrext_cmds=".dll"
14344 need_lib_prefix=no
14345 library_names_spec='$libname${shared_ext} $libname.a'
14346 dynamic_linker='OS/2 ld.exe'
14347 shlibpath_var=LIBPATH
14350 osf3* | osf4* | osf5*)
14351 version_type=osf
14352 need_lib_prefix=no
14353 need_version=no
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 shlibpath_var=LD_LIBRARY_PATH
14357 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14358 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14361 rdos*)
14362 dynamic_linker=no
14365 solaris*)
14366 version_type=linux
14367 need_lib_prefix=no
14368 need_version=no
14369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 soname_spec='${libname}${release}${shared_ext}$major'
14371 shlibpath_var=LD_LIBRARY_PATH
14372 shlibpath_overrides_runpath=yes
14373 hardcode_into_libs=yes
14374 # ldd complains unless libraries are executable
14375 postinstall_cmds='chmod +x $lib'
14378 sunos4*)
14379 version_type=sunos
14380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14381 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14382 shlibpath_var=LD_LIBRARY_PATH
14383 shlibpath_overrides_runpath=yes
14384 if test "$with_gnu_ld" = yes; then
14385 need_lib_prefix=no
14387 need_version=yes
14390 sysv4 | sysv4.3*)
14391 version_type=linux
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 shlibpath_var=LD_LIBRARY_PATH
14395 case $host_vendor in
14396 sni)
14397 shlibpath_overrides_runpath=no
14398 need_lib_prefix=no
14399 runpath_var=LD_RUN_PATH
14401 siemens)
14402 need_lib_prefix=no
14404 motorola)
14405 need_lib_prefix=no
14406 need_version=no
14407 shlibpath_overrides_runpath=no
14408 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14410 esac
14413 sysv4*MP*)
14414 if test -d /usr/nec ;then
14415 version_type=linux
14416 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14417 soname_spec='$libname${shared_ext}.$major'
14418 shlibpath_var=LD_LIBRARY_PATH
14422 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14423 version_type=freebsd-elf
14424 need_lib_prefix=no
14425 need_version=no
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14427 soname_spec='${libname}${release}${shared_ext}$major'
14428 shlibpath_var=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath=yes
14430 hardcode_into_libs=yes
14431 if test "$with_gnu_ld" = yes; then
14432 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14433 else
14434 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14435 case $host_os in
14436 sco3.2v5*)
14437 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14439 esac
14441 sys_lib_dlsearch_path_spec='/usr/lib'
14444 tpf*)
14445 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14446 version_type=linux
14447 need_lib_prefix=no
14448 need_version=no
14449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14450 shlibpath_var=LD_LIBRARY_PATH
14451 shlibpath_overrides_runpath=no
14452 hardcode_into_libs=yes
14455 uts4*)
14456 version_type=linux
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14459 shlibpath_var=LD_LIBRARY_PATH
14463 dynamic_linker=no
14465 esac
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14467 $as_echo "$dynamic_linker" >&6; }
14468 test "$dynamic_linker" = no && can_build_shared=no
14470 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14471 if test "$GCC" = yes; then
14472 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14475 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14476 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14478 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14479 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14520 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14521 hardcode_action_FC=
14522 if test -n "$hardcode_libdir_flag_spec_FC" ||
14523 test -n "$runpath_var_FC" ||
14524 test "X$hardcode_automatic_FC" = "Xyes" ; then
14526 # We can hardcode non-existent directories.
14527 if test "$hardcode_direct_FC" != no &&
14528 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14529 # have to relink, otherwise we might link with an installed library
14530 # when we should be linking with a yet-to-be-installed one
14531 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14532 test "$hardcode_minus_L_FC" != no; then
14533 # Linking always hardcodes the temporary library directory.
14534 hardcode_action_FC=relink
14535 else
14536 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14537 hardcode_action_FC=immediate
14539 else
14540 # We cannot hardcode anything, or else we can only hardcode existing
14541 # directories.
14542 hardcode_action_FC=unsupported
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14545 $as_echo "$hardcode_action_FC" >&6; }
14547 if test "$hardcode_action_FC" = relink ||
14548 test "$inherit_rpath_FC" = yes; then
14549 # Fast installation is not supported
14550 enable_fast_install=no
14551 elif test "$shlibpath_overrides_runpath" = yes ||
14552 test "$enable_shared" = no; then
14553 # Fast installation is not necessary
14554 enable_fast_install=needless
14563 fi # test -n "$compiler"
14565 GCC=$lt_save_GCC
14566 CC="$lt_save_CC"
14567 fi # test "$_lt_disable_FC" != yes
14569 ac_ext=c
14570 ac_cpp='$CPP $CPPFLAGS'
14571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14577 # extra LD Flags which are required for targets
14578 case "${host}" in
14579 *-darwin*)
14580 # Darwin needs -single_module when linking libgfortran
14581 extra_ldflags_libgfortran=-Wl,-single_module
14583 esac
14586 # We need a working compiler at that point, otherwise give a clear
14587 # error message and bail out.
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14590 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14591 ac_ext=${ac_fc_srcext-f}
14592 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14593 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14594 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14596 cat > conftest.$ac_ext <<_ACEOF
14598 program foo
14599 real, parameter :: bar = sin (12.34 / 2.5)
14600 end program foo
14601 _ACEOF
14602 if ac_fn_fc_try_compile "$LINENO"; then :
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14604 $as_echo "yes" >&6; }
14605 else
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14608 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14612 ac_ext=c
14613 ac_cpp='$CPP $CPPFLAGS'
14614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14620 # Check whether --enable-largefile was given.
14621 if test "${enable_largefile+set}" = set; then :
14622 enableval=$enable_largefile;
14625 if test "$enable_largefile" != no; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14628 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14629 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_cv_sys_largefile_CC=no
14633 if test "$GCC" != yes; then
14634 ac_save_CC=$CC
14635 while :; do
14636 # IRIX 6.2 and later do not support large files by default,
14637 # so use the C compiler's -n32 option if that helps.
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14640 #include <sys/types.h>
14641 /* Check that off_t can represent 2**63 - 1 correctly.
14642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14643 since some C++ compilers masquerading as C compilers
14644 incorrectly reject 9223372036854775807. */
14645 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14647 && LARGE_OFF_T % 2147483647 == 1)
14648 ? 1 : -1];
14650 main ()
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_compile "$LINENO"; then :
14658 break
14660 rm -f core conftest.err conftest.$ac_objext
14661 CC="$CC -n32"
14662 if ac_fn_c_try_compile "$LINENO"; then :
14663 ac_cv_sys_largefile_CC=' -n32'; break
14665 rm -f core conftest.err conftest.$ac_objext
14666 break
14667 done
14668 CC=$ac_save_CC
14669 rm -f conftest.$ac_ext
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14673 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14674 if test "$ac_cv_sys_largefile_CC" != no; then
14675 CC=$CC$ac_cv_sys_largefile_CC
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14679 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14680 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 while :; do
14684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14686 #include <sys/types.h>
14687 /* Check that off_t can represent 2**63 - 1 correctly.
14688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14689 since some C++ compilers masquerading as C compilers
14690 incorrectly reject 9223372036854775807. */
14691 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14693 && LARGE_OFF_T % 2147483647 == 1)
14694 ? 1 : -1];
14696 main ()
14700 return 0;
14702 _ACEOF
14703 if ac_fn_c_try_compile "$LINENO"; then :
14704 ac_cv_sys_file_offset_bits=no; break
14706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #define _FILE_OFFSET_BITS 64
14710 #include <sys/types.h>
14711 /* Check that off_t can represent 2**63 - 1 correctly.
14712 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14713 since some C++ compilers masquerading as C compilers
14714 incorrectly reject 9223372036854775807. */
14715 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14717 && LARGE_OFF_T % 2147483647 == 1)
14718 ? 1 : -1];
14720 main ()
14724 return 0;
14726 _ACEOF
14727 if ac_fn_c_try_compile "$LINENO"; then :
14728 ac_cv_sys_file_offset_bits=64; break
14730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14731 ac_cv_sys_file_offset_bits=unknown
14732 break
14733 done
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14736 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14737 case $ac_cv_sys_file_offset_bits in #(
14738 no | unknown) ;;
14740 cat >>confdefs.h <<_ACEOF
14741 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14742 _ACEOF
14744 esac
14745 rm -rf conftest*
14746 if test $ac_cv_sys_file_offset_bits = unknown; then
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14748 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14749 if test "${ac_cv_sys_large_files+set}" = set; then :
14750 $as_echo_n "(cached) " >&6
14751 else
14752 while :; do
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 #include <sys/types.h>
14756 /* Check that off_t can represent 2**63 - 1 correctly.
14757 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14758 since some C++ compilers masquerading as C compilers
14759 incorrectly reject 9223372036854775807. */
14760 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14761 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14762 && LARGE_OFF_T % 2147483647 == 1)
14763 ? 1 : -1];
14765 main ()
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_compile "$LINENO"; then :
14773 ac_cv_sys_large_files=no; break
14775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 #define _LARGE_FILES 1
14779 #include <sys/types.h>
14780 /* Check that off_t can represent 2**63 - 1 correctly.
14781 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14782 since some C++ compilers masquerading as C compilers
14783 incorrectly reject 9223372036854775807. */
14784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14785 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14786 && LARGE_OFF_T % 2147483647 == 1)
14787 ? 1 : -1];
14789 main ()
14793 return 0;
14795 _ACEOF
14796 if ac_fn_c_try_compile "$LINENO"; then :
14797 ac_cv_sys_large_files=1; break
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14800 ac_cv_sys_large_files=unknown
14801 break
14802 done
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14805 $as_echo "$ac_cv_sys_large_files" >&6; }
14806 case $ac_cv_sys_large_files in #(
14807 no | unknown) ;;
14809 cat >>confdefs.h <<_ACEOF
14810 #define _LARGE_FILES $ac_cv_sys_large_files
14811 _ACEOF
14813 esac
14814 rm -rf conftest*
14818 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14819 if test "x$ac_cv_type_off_t" = x""yes; then :
14821 else
14823 cat >>confdefs.h <<_ACEOF
14824 #define off_t long int
14825 _ACEOF
14830 # check header files
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14832 $as_echo_n "checking for ANSI C header files... " >&6; }
14833 if test "${ac_cv_header_stdc+set}" = set; then :
14834 $as_echo_n "(cached) " >&6
14835 else
14836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14838 #include <stdlib.h>
14839 #include <stdarg.h>
14840 #include <string.h>
14841 #include <float.h>
14844 main ()
14848 return 0;
14850 _ACEOF
14851 if ac_fn_c_try_compile "$LINENO"; then :
14852 ac_cv_header_stdc=yes
14853 else
14854 ac_cv_header_stdc=no
14856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14858 if test $ac_cv_header_stdc = yes; then
14859 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 #include <string.h>
14864 _ACEOF
14865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14866 $EGREP "memchr" >/dev/null 2>&1; then :
14868 else
14869 ac_cv_header_stdc=no
14871 rm -f conftest*
14875 if test $ac_cv_header_stdc = yes; then
14876 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 #include <stdlib.h>
14881 _ACEOF
14882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14883 $EGREP "free" >/dev/null 2>&1; then :
14885 else
14886 ac_cv_header_stdc=no
14888 rm -f conftest*
14892 if test $ac_cv_header_stdc = yes; then
14893 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14894 if test "$cross_compiling" = yes; then :
14896 else
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14899 #include <ctype.h>
14900 #include <stdlib.h>
14901 #if ((' ' & 0x0FF) == 0x020)
14902 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14903 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14904 #else
14905 # define ISLOWER(c) \
14906 (('a' <= (c) && (c) <= 'i') \
14907 || ('j' <= (c) && (c) <= 'r') \
14908 || ('s' <= (c) && (c) <= 'z'))
14909 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14910 #endif
14912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14914 main ()
14916 int i;
14917 for (i = 0; i < 256; i++)
14918 if (XOR (islower (i), ISLOWER (i))
14919 || toupper (i) != TOUPPER (i))
14920 return 2;
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_run "$LINENO"; then :
14926 else
14927 ac_cv_header_stdc=no
14929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14930 conftest.$ac_objext conftest.beam conftest.$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14936 $as_echo "$ac_cv_header_stdc" >&6; }
14937 if test $ac_cv_header_stdc = yes; then
14939 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14944 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14945 if test "${ac_cv_header_time+set}" = set; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #include <sys/types.h>
14951 #include <sys/time.h>
14952 #include <time.h>
14955 main ()
14957 if ((struct tm *) 0)
14958 return 0;
14960 return 0;
14962 _ACEOF
14963 if ac_fn_c_try_compile "$LINENO"; then :
14964 ac_cv_header_time=yes
14965 else
14966 ac_cv_header_time=no
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14971 $as_echo "$ac_cv_header_time" >&6; }
14972 if test $ac_cv_header_time = yes; then
14974 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14978 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14979 do :
14980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14981 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14982 eval as_val=\$$as_ac_Header
14983 if test "x$as_val" = x""yes; then :
14984 cat >>confdefs.h <<_ACEOF
14985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14986 _ACEOF
14990 done
14992 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14993 do :
14994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14995 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14996 eval as_val=\$$as_ac_Header
14997 if test "x$as_val" = x""yes; then :
14998 cat >>confdefs.h <<_ACEOF
14999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15000 _ACEOF
15004 done
15006 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15007 do :
15008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15009 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15010 eval as_val=\$$as_ac_Header
15011 if test "x$as_val" = x""yes; then :
15012 cat >>confdefs.h <<_ACEOF
15013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15014 _ACEOF
15018 done
15020 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15021 do :
15022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15023 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15024 eval as_val=\$$as_ac_Header
15025 if test "x$as_val" = x""yes; then :
15026 cat >>confdefs.h <<_ACEOF
15027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15028 _ACEOF
15032 done
15034 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15035 if test "x$ac_cv_header_complex_h" = x""yes; then :
15037 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15044 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15046 acx_cv_header_stdint=stddef.h
15047 acx_cv_header_stdint_kind="(already complete)"
15048 for i in stdint.h $inttype_headers; do
15049 unset ac_cv_type_uintptr_t
15050 unset ac_cv_type_uintmax_t
15051 unset ac_cv_type_int_least32_t
15052 unset ac_cv_type_int_fast32_t
15053 unset ac_cv_type_uint64_t
15054 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15055 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15056 #include <$i>
15058 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15059 acx_cv_header_stdint=$i
15060 else
15061 continue
15064 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15065 #include <$i>
15067 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15069 else
15070 acx_cv_header_stdint_kind="(mostly complete)"
15073 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15074 #include <$i>
15076 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15078 else
15079 acx_cv_header_stdint_kind="(mostly complete)"
15082 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15083 #include <$i>
15085 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15087 else
15088 acx_cv_header_stdint_kind="(mostly complete)"
15091 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15092 #include <$i>
15094 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15096 else
15097 acx_cv_header_stdint_kind="(lacks uint64_t)"
15100 break
15101 done
15102 if test "$acx_cv_header_stdint" = stddef.h; then
15103 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15104 for i in stdint.h $inttype_headers; do
15105 unset ac_cv_type_uintptr_t
15106 unset ac_cv_type_uint32_t
15107 unset ac_cv_type_uint64_t
15108 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15109 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15110 #include <$i>
15112 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15113 acx_cv_header_stdint=$i
15114 else
15115 continue
15118 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15119 #include <$i>
15121 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15125 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15126 #include <$i>
15128 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15132 break
15133 done
15135 if test "$acx_cv_header_stdint" = stddef.h; then
15136 acx_cv_header_stdint_kind="(u_intXX_t style)"
15137 for i in sys/types.h $inttype_headers; do
15138 unset ac_cv_type_u_int32_t
15139 unset ac_cv_type_u_int64_t
15140 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15141 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15142 #include <$i>
15144 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15145 acx_cv_header_stdint=$i
15146 else
15147 continue
15150 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15151 #include <$i>
15153 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15157 break
15158 done
15160 if test "$acx_cv_header_stdint" = stddef.h; then
15161 acx_cv_header_stdint_kind="(using manual detection)"
15164 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15165 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15166 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15167 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15168 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15170 # ----------------- Summarize what we found so far
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15173 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15175 case `$as_basename -- gstdint.h ||
15176 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15177 Xgstdint.h : 'X\(//\)$' \| \
15178 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15179 $as_echo X/gstdint.h |
15180 sed '/^.*\/\([^/][^/]*\)\/*$/{
15181 s//\1/
15184 /^X\/\(\/\/\)$/{
15185 s//\1/
15188 /^X\/\(\/\).*/{
15189 s//\1/
15192 s/.*/./; q'` in
15193 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15194 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15195 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15196 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15197 *) ;;
15198 esac
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15201 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15203 # ----------------- done included file, check C basic types --------
15205 # Lacking an uintptr_t? Test size of void *
15206 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15207 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15210 # This bug is HP SR number 8606223364.
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15212 $as_echo_n "checking size of void *... " >&6; }
15213 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15218 else
15219 if test "$ac_cv_type_void_p" = yes; then
15220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15222 { as_fn_set_status 77
15223 as_fn_error "cannot compute sizeof (void *)
15224 See \`config.log' for more details." "$LINENO" 5; }; }
15225 else
15226 ac_cv_sizeof_void_p=0
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15232 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15236 cat >>confdefs.h <<_ACEOF
15237 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15238 _ACEOF
15241 esac
15243 # Lacking an uint64_t? Test size of long
15244 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15245 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15248 # This bug is HP SR number 8606223364.
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15250 $as_echo_n "checking size of long... " >&6; }
15251 if test "${ac_cv_sizeof_long+set}" = set; then :
15252 $as_echo_n "(cached) " >&6
15253 else
15254 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15256 else
15257 if test "$ac_cv_type_long" = yes; then
15258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15260 { as_fn_set_status 77
15261 as_fn_error "cannot compute sizeof (long)
15262 See \`config.log' for more details." "$LINENO" 5; }; }
15263 else
15264 ac_cv_sizeof_long=0
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15270 $as_echo "$ac_cv_sizeof_long" >&6; }
15274 cat >>confdefs.h <<_ACEOF
15275 #define SIZEOF_LONG $ac_cv_sizeof_long
15276 _ACEOF
15279 esac
15281 if test $acx_cv_header_stdint = stddef.h; then
15282 # Lacking a good header? Test size of everything and deduce all types.
15283 # The cast to long int works around a bug in the HP C Compiler
15284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15286 # This bug is HP SR number 8606223364.
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15288 $as_echo_n "checking size of int... " >&6; }
15289 if test "${ac_cv_sizeof_int+set}" = set; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15294 else
15295 if test "$ac_cv_type_int" = yes; then
15296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15298 { as_fn_set_status 77
15299 as_fn_error "cannot compute sizeof (int)
15300 See \`config.log' for more details." "$LINENO" 5; }; }
15301 else
15302 ac_cv_sizeof_int=0
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15308 $as_echo "$ac_cv_sizeof_int" >&6; }
15312 cat >>confdefs.h <<_ACEOF
15313 #define SIZEOF_INT $ac_cv_sizeof_int
15314 _ACEOF
15317 # The cast to long int works around a bug in the HP C Compiler
15318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15320 # This bug is HP SR number 8606223364.
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15322 $as_echo_n "checking size of short... " >&6; }
15323 if test "${ac_cv_sizeof_short+set}" = set; then :
15324 $as_echo_n "(cached) " >&6
15325 else
15326 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15328 else
15329 if test "$ac_cv_type_short" = yes; then
15330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15332 { as_fn_set_status 77
15333 as_fn_error "cannot compute sizeof (short)
15334 See \`config.log' for more details." "$LINENO" 5; }; }
15335 else
15336 ac_cv_sizeof_short=0
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15342 $as_echo "$ac_cv_sizeof_short" >&6; }
15346 cat >>confdefs.h <<_ACEOF
15347 #define SIZEOF_SHORT $ac_cv_sizeof_short
15348 _ACEOF
15351 # The cast to long int works around a bug in the HP C Compiler
15352 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15354 # This bug is HP SR number 8606223364.
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15356 $as_echo_n "checking size of char... " >&6; }
15357 if test "${ac_cv_sizeof_char+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15362 else
15363 if test "$ac_cv_type_char" = yes; then
15364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15366 { as_fn_set_status 77
15367 as_fn_error "cannot compute sizeof (char)
15368 See \`config.log' for more details." "$LINENO" 5; }; }
15369 else
15370 ac_cv_sizeof_char=0
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15376 $as_echo "$ac_cv_sizeof_char" >&6; }
15380 cat >>confdefs.h <<_ACEOF
15381 #define SIZEOF_CHAR $ac_cv_sizeof_char
15382 _ACEOF
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15387 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15388 case "$ac_cv_sizeof_char" in
15389 1) acx_cv_type_int8_t=char ;;
15390 *) { as_fn_set_status please report a bug
15391 as_fn_error "no 8-bit type" "$LINENO" 5; }
15392 esac
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15394 $as_echo "$acx_cv_type_int8_t" >&6; }
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15397 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15398 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15399 2:*) acx_cv_type_int16_t=int ;;
15400 *:2) acx_cv_type_int16_t=short ;;
15401 *) { as_fn_set_status please report a bug
15402 as_fn_error "no 16-bit type" "$LINENO" 5; }
15403 esac
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15405 $as_echo "$acx_cv_type_int16_t" >&6; }
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15408 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15409 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15410 4:*) acx_cv_type_int32_t=int ;;
15411 *:4) acx_cv_type_int32_t=long ;;
15412 *) { as_fn_set_status please report a bug
15413 as_fn_error "no 32-bit type" "$LINENO" 5; }
15414 esac
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15416 $as_echo "$acx_cv_type_int32_t" >&6; }
15419 # These tests are here to make the output prettier
15421 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15422 case "$ac_cv_sizeof_long" in
15423 8) acx_cv_type_int64_t=long ;;
15424 esac
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15426 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15428 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15431 # Now we can use the above types
15433 if test "$ac_cv_type_uintptr_t" != yes; then
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15435 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15436 case $ac_cv_sizeof_void_p in
15437 2) acx_cv_type_intptr_t=int16_t ;;
15438 4) acx_cv_type_intptr_t=int32_t ;;
15439 8) acx_cv_type_intptr_t=int64_t ;;
15440 *) { as_fn_set_status please report a bug
15441 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
15442 esac
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15444 $as_echo "$acx_cv_type_intptr_t" >&6; }
15447 # ----------------- done all checks, emit header -------------
15448 ac_config_commands="$ac_config_commands gstdint.h"
15453 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15454 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15458 _ACEOF
15463 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15464 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15468 _ACEOF
15473 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15474 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15476 cat >>confdefs.h <<_ACEOF
15477 #define HAVE_STRUCT_STAT_ST_RDEV 1
15478 _ACEOF
15484 # Check for library functions.
15485 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15486 do :
15487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15489 eval as_val=\$$as_ac_var
15490 if test "x$as_val" = x""yes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15493 _ACEOF
15496 done
15498 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15499 do :
15500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15502 eval as_val=\$$as_ac_var
15503 if test "x$as_val" = x""yes; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15506 _ACEOF
15509 done
15511 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15512 do :
15513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15515 eval as_val=\$$as_ac_var
15516 if test "x$as_val" = x""yes; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15519 _ACEOF
15522 done
15524 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15525 do :
15526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15528 eval as_val=\$$as_ac_var
15529 if test "x$as_val" = x""yes; then :
15530 cat >>confdefs.h <<_ACEOF
15531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15532 _ACEOF
15535 done
15537 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15538 do :
15539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15541 eval as_val=\$$as_ac_var
15542 if test "x$as_val" = x""yes; then :
15543 cat >>confdefs.h <<_ACEOF
15544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15545 _ACEOF
15548 done
15550 for ac_func in localtime_r gmtime_r
15551 do :
15552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15554 eval as_val=\$$as_ac_var
15555 if test "x$as_val" = x""yes; then :
15556 cat >>confdefs.h <<_ACEOF
15557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15558 _ACEOF
15561 done
15564 # Check for glibc backtrace functions
15565 for ac_func in backtrace backtrace_symbols
15566 do :
15567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15569 eval as_val=\$$as_ac_var
15570 if test "x$as_val" = x""yes; then :
15571 cat >>confdefs.h <<_ACEOF
15572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15573 _ACEOF
15576 done
15579 # Check for types
15580 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15581 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15583 cat >>confdefs.h <<_ACEOF
15584 #define HAVE_INTPTR_T 1
15585 _ACEOF
15590 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15591 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_UINTPTR_T 1
15595 _ACEOF
15601 # Check libc for getgid, getpid, getuid
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15603 $as_echo_n "checking for getgid in -lc... " >&6; }
15604 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15605 $as_echo_n "(cached) " >&6
15606 else
15607 ac_check_lib_save_LIBS=$LIBS
15608 LIBS="-lc $LIBS"
15609 if test x$gcc_no_link = xyes; then
15610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15615 /* Override any GCC internal prototype to avoid an error.
15616 Use char because int might match the return type of a GCC
15617 builtin and then its argument prototype would still apply. */
15618 #ifdef __cplusplus
15619 extern "C"
15620 #endif
15621 char getgid ();
15623 main ()
15625 return getgid ();
15627 return 0;
15629 _ACEOF
15630 if ac_fn_c_try_link "$LINENO"; then :
15631 ac_cv_lib_c_getgid=yes
15632 else
15633 ac_cv_lib_c_getgid=no
15635 rm -f core conftest.err conftest.$ac_objext \
15636 conftest$ac_exeext conftest.$ac_ext
15637 LIBS=$ac_check_lib_save_LIBS
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15640 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15641 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15643 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15648 $as_echo_n "checking for getpid in -lc... " >&6; }
15649 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15650 $as_echo_n "(cached) " >&6
15651 else
15652 ac_check_lib_save_LIBS=$LIBS
15653 LIBS="-lc $LIBS"
15654 if test x$gcc_no_link = xyes; then
15655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 #ifdef __cplusplus
15664 extern "C"
15665 #endif
15666 char getpid ();
15668 main ()
15670 return getpid ();
15672 return 0;
15674 _ACEOF
15675 if ac_fn_c_try_link "$LINENO"; then :
15676 ac_cv_lib_c_getpid=yes
15677 else
15678 ac_cv_lib_c_getpid=no
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_check_lib_save_LIBS
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15685 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15686 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15688 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15693 $as_echo_n "checking for getppid in -lc... " >&6; }
15694 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 ac_check_lib_save_LIBS=$LIBS
15698 LIBS="-lc $LIBS"
15699 if test x$gcc_no_link = xyes; then
15700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 #ifdef __cplusplus
15709 extern "C"
15710 #endif
15711 char getppid ();
15713 main ()
15715 return getppid ();
15717 return 0;
15719 _ACEOF
15720 if ac_fn_c_try_link "$LINENO"; then :
15721 ac_cv_lib_c_getppid=yes
15722 else
15723 ac_cv_lib_c_getppid=no
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext conftest.$ac_ext
15727 LIBS=$ac_check_lib_save_LIBS
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15730 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15731 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15733 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15738 $as_echo_n "checking for getuid in -lc... " >&6; }
15739 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15740 $as_echo_n "(cached) " >&6
15741 else
15742 ac_check_lib_save_LIBS=$LIBS
15743 LIBS="-lc $LIBS"
15744 if test x$gcc_no_link = xyes; then
15745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15750 /* Override any GCC internal prototype to avoid an error.
15751 Use char because int might match the return type of a GCC
15752 builtin and then its argument prototype would still apply. */
15753 #ifdef __cplusplus
15754 extern "C"
15755 #endif
15756 char getuid ();
15758 main ()
15760 return getuid ();
15762 return 0;
15764 _ACEOF
15765 if ac_fn_c_try_link "$LINENO"; then :
15766 ac_cv_lib_c_getuid=yes
15767 else
15768 ac_cv_lib_c_getuid=no
15770 rm -f core conftest.err conftest.$ac_objext \
15771 conftest$ac_exeext conftest.$ac_ext
15772 LIBS=$ac_check_lib_save_LIBS
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15775 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15776 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15778 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15783 $as_echo_n "checking for geteuid in -lc... " >&6; }
15784 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15785 $as_echo_n "(cached) " >&6
15786 else
15787 ac_check_lib_save_LIBS=$LIBS
15788 LIBS="-lc $LIBS"
15789 if test x$gcc_no_link = xyes; then
15790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15795 /* Override any GCC internal prototype to avoid an error.
15796 Use char because int might match the return type of a GCC
15797 builtin and then its argument prototype would still apply. */
15798 #ifdef __cplusplus
15799 extern "C"
15800 #endif
15801 char geteuid ();
15803 main ()
15805 return geteuid ();
15807 return 0;
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"; then :
15811 ac_cv_lib_c_geteuid=yes
15812 else
15813 ac_cv_lib_c_geteuid=no
15815 rm -f core conftest.err conftest.$ac_objext \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_lib_save_LIBS
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15820 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15821 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15823 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15828 # Check for C99 (and other IEEE) math functions
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15830 $as_echo_n "checking for acosf in -lm... " >&6; }
15831 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15832 $as_echo_n "(cached) " >&6
15833 else
15834 ac_check_lib_save_LIBS=$LIBS
15835 LIBS="-lm $LIBS"
15836 if test x$gcc_no_link = xyes; then
15837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15842 /* Override any GCC internal prototype to avoid an error.
15843 Use char because int might match the return type of a GCC
15844 builtin and then its argument prototype would still apply. */
15845 #ifdef __cplusplus
15846 extern "C"
15847 #endif
15848 char acosf ();
15850 main ()
15852 return acosf ();
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_link "$LINENO"; then :
15858 ac_cv_lib_m_acosf=yes
15859 else
15860 ac_cv_lib_m_acosf=no
15862 rm -f core conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15864 LIBS=$ac_check_lib_save_LIBS
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15867 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15868 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15870 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15875 $as_echo_n "checking for acos in -lm... " >&6; }
15876 if test "${ac_cv_lib_m_acos+set}" = set; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 ac_check_lib_save_LIBS=$LIBS
15880 LIBS="-lm $LIBS"
15881 if test x$gcc_no_link = xyes; then
15882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 #ifdef __cplusplus
15891 extern "C"
15892 #endif
15893 char acos ();
15895 main ()
15897 return acos ();
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"; then :
15903 ac_cv_lib_m_acos=yes
15904 else
15905 ac_cv_lib_m_acos=no
15907 rm -f core conftest.err conftest.$ac_objext \
15908 conftest$ac_exeext conftest.$ac_ext
15909 LIBS=$ac_check_lib_save_LIBS
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15912 $as_echo "$ac_cv_lib_m_acos" >&6; }
15913 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15915 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15920 $as_echo_n "checking for acosl in -lm... " >&6; }
15921 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15922 $as_echo_n "(cached) " >&6
15923 else
15924 ac_check_lib_save_LIBS=$LIBS
15925 LIBS="-lm $LIBS"
15926 if test x$gcc_no_link = xyes; then
15927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15935 #ifdef __cplusplus
15936 extern "C"
15937 #endif
15938 char acosl ();
15940 main ()
15942 return acosl ();
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"; then :
15948 ac_cv_lib_m_acosl=yes
15949 else
15950 ac_cv_lib_m_acosl=no
15952 rm -f core conftest.err conftest.$ac_objext \
15953 conftest$ac_exeext conftest.$ac_ext
15954 LIBS=$ac_check_lib_save_LIBS
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
15957 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15958 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
15960 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15965 $as_echo_n "checking for acoshf in -lm... " >&6; }
15966 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
15967 $as_echo_n "(cached) " >&6
15968 else
15969 ac_check_lib_save_LIBS=$LIBS
15970 LIBS="-lm $LIBS"
15971 if test x$gcc_no_link = xyes; then
15972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15977 /* Override any GCC internal prototype to avoid an error.
15978 Use char because int might match the return type of a GCC
15979 builtin and then its argument prototype would still apply. */
15980 #ifdef __cplusplus
15981 extern "C"
15982 #endif
15983 char acoshf ();
15985 main ()
15987 return acoshf ();
15989 return 0;
15991 _ACEOF
15992 if ac_fn_c_try_link "$LINENO"; then :
15993 ac_cv_lib_m_acoshf=yes
15994 else
15995 ac_cv_lib_m_acoshf=no
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext conftest.$ac_ext
15999 LIBS=$ac_check_lib_save_LIBS
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16002 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16003 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16005 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16010 $as_echo_n "checking for acosh in -lm... " >&6; }
16011 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_check_lib_save_LIBS=$LIBS
16015 LIBS="-lm $LIBS"
16016 if test x$gcc_no_link = xyes; then
16017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16022 /* Override any GCC internal prototype to avoid an error.
16023 Use char because int might match the return type of a GCC
16024 builtin and then its argument prototype would still apply. */
16025 #ifdef __cplusplus
16026 extern "C"
16027 #endif
16028 char acosh ();
16030 main ()
16032 return acosh ();
16034 return 0;
16036 _ACEOF
16037 if ac_fn_c_try_link "$LINENO"; then :
16038 ac_cv_lib_m_acosh=yes
16039 else
16040 ac_cv_lib_m_acosh=no
16042 rm -f core conftest.err conftest.$ac_objext \
16043 conftest$ac_exeext conftest.$ac_ext
16044 LIBS=$ac_check_lib_save_LIBS
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16047 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16048 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16050 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16055 $as_echo_n "checking for acoshl in -lm... " >&6; }
16056 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16057 $as_echo_n "(cached) " >&6
16058 else
16059 ac_check_lib_save_LIBS=$LIBS
16060 LIBS="-lm $LIBS"
16061 if test x$gcc_no_link = xyes; then
16062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16067 /* Override any GCC internal prototype to avoid an error.
16068 Use char because int might match the return type of a GCC
16069 builtin and then its argument prototype would still apply. */
16070 #ifdef __cplusplus
16071 extern "C"
16072 #endif
16073 char acoshl ();
16075 main ()
16077 return acoshl ();
16079 return 0;
16081 _ACEOF
16082 if ac_fn_c_try_link "$LINENO"; then :
16083 ac_cv_lib_m_acoshl=yes
16084 else
16085 ac_cv_lib_m_acoshl=no
16087 rm -f core conftest.err conftest.$ac_objext \
16088 conftest$ac_exeext conftest.$ac_ext
16089 LIBS=$ac_check_lib_save_LIBS
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16092 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16093 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16095 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16100 $as_echo_n "checking for asinf in -lm... " >&6; }
16101 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 ac_check_lib_save_LIBS=$LIBS
16105 LIBS="-lm $LIBS"
16106 if test x$gcc_no_link = xyes; then
16107 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char asinf ();
16120 main ()
16122 return asinf ();
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_link "$LINENO"; then :
16128 ac_cv_lib_m_asinf=yes
16129 else
16130 ac_cv_lib_m_asinf=no
16132 rm -f core conftest.err conftest.$ac_objext \
16133 conftest$ac_exeext conftest.$ac_ext
16134 LIBS=$ac_check_lib_save_LIBS
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16137 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16138 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16140 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16145 $as_echo_n "checking for asin in -lm... " >&6; }
16146 if test "${ac_cv_lib_m_asin+set}" = set; then :
16147 $as_echo_n "(cached) " >&6
16148 else
16149 ac_check_lib_save_LIBS=$LIBS
16150 LIBS="-lm $LIBS"
16151 if test x$gcc_no_link = xyes; then
16152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16160 #ifdef __cplusplus
16161 extern "C"
16162 #endif
16163 char asin ();
16165 main ()
16167 return asin ();
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 ac_cv_lib_m_asin=yes
16174 else
16175 ac_cv_lib_m_asin=no
16177 rm -f core conftest.err conftest.$ac_objext \
16178 conftest$ac_exeext conftest.$ac_ext
16179 LIBS=$ac_check_lib_save_LIBS
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16182 $as_echo "$ac_cv_lib_m_asin" >&6; }
16183 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16185 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16190 $as_echo_n "checking for asinl in -lm... " >&6; }
16191 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 ac_check_lib_save_LIBS=$LIBS
16195 LIBS="-lm $LIBS"
16196 if test x$gcc_no_link = xyes; then
16197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16202 /* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16205 #ifdef __cplusplus
16206 extern "C"
16207 #endif
16208 char asinl ();
16210 main ()
16212 return asinl ();
16214 return 0;
16216 _ACEOF
16217 if ac_fn_c_try_link "$LINENO"; then :
16218 ac_cv_lib_m_asinl=yes
16219 else
16220 ac_cv_lib_m_asinl=no
16222 rm -f core conftest.err conftest.$ac_objext \
16223 conftest$ac_exeext conftest.$ac_ext
16224 LIBS=$ac_check_lib_save_LIBS
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16227 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16228 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16230 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16235 $as_echo_n "checking for asinhf in -lm... " >&6; }
16236 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 ac_check_lib_save_LIBS=$LIBS
16240 LIBS="-lm $LIBS"
16241 if test x$gcc_no_link = xyes; then
16242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16247 /* Override any GCC internal prototype to avoid an error.
16248 Use char because int might match the return type of a GCC
16249 builtin and then its argument prototype would still apply. */
16250 #ifdef __cplusplus
16251 extern "C"
16252 #endif
16253 char asinhf ();
16255 main ()
16257 return asinhf ();
16259 return 0;
16261 _ACEOF
16262 if ac_fn_c_try_link "$LINENO"; then :
16263 ac_cv_lib_m_asinhf=yes
16264 else
16265 ac_cv_lib_m_asinhf=no
16267 rm -f core conftest.err conftest.$ac_objext \
16268 conftest$ac_exeext conftest.$ac_ext
16269 LIBS=$ac_check_lib_save_LIBS
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16272 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16273 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16275 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16280 $as_echo_n "checking for asinh in -lm... " >&6; }
16281 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_check_lib_save_LIBS=$LIBS
16285 LIBS="-lm $LIBS"
16286 if test x$gcc_no_link = xyes; then
16287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16295 #ifdef __cplusplus
16296 extern "C"
16297 #endif
16298 char asinh ();
16300 main ()
16302 return asinh ();
16304 return 0;
16306 _ACEOF
16307 if ac_fn_c_try_link "$LINENO"; then :
16308 ac_cv_lib_m_asinh=yes
16309 else
16310 ac_cv_lib_m_asinh=no
16312 rm -f core conftest.err conftest.$ac_objext \
16313 conftest$ac_exeext conftest.$ac_ext
16314 LIBS=$ac_check_lib_save_LIBS
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16317 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16318 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16320 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16325 $as_echo_n "checking for asinhl in -lm... " >&6; }
16326 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16327 $as_echo_n "(cached) " >&6
16328 else
16329 ac_check_lib_save_LIBS=$LIBS
16330 LIBS="-lm $LIBS"
16331 if test x$gcc_no_link = xyes; then
16332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16340 #ifdef __cplusplus
16341 extern "C"
16342 #endif
16343 char asinhl ();
16345 main ()
16347 return asinhl ();
16349 return 0;
16351 _ACEOF
16352 if ac_fn_c_try_link "$LINENO"; then :
16353 ac_cv_lib_m_asinhl=yes
16354 else
16355 ac_cv_lib_m_asinhl=no
16357 rm -f core conftest.err conftest.$ac_objext \
16358 conftest$ac_exeext conftest.$ac_ext
16359 LIBS=$ac_check_lib_save_LIBS
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16362 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16363 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16365 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16370 $as_echo_n "checking for atan2f in -lm... " >&6; }
16371 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 ac_check_lib_save_LIBS=$LIBS
16375 LIBS="-lm $LIBS"
16376 if test x$gcc_no_link = xyes; then
16377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 #ifdef __cplusplus
16386 extern "C"
16387 #endif
16388 char atan2f ();
16390 main ()
16392 return atan2f ();
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 ac_cv_lib_m_atan2f=yes
16399 else
16400 ac_cv_lib_m_atan2f=no
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_lib_save_LIBS
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16407 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16408 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16410 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16415 $as_echo_n "checking for atan2 in -lm... " >&6; }
16416 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16417 $as_echo_n "(cached) " >&6
16418 else
16419 ac_check_lib_save_LIBS=$LIBS
16420 LIBS="-lm $LIBS"
16421 if test x$gcc_no_link = xyes; then
16422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16427 /* Override any GCC internal prototype to avoid an error.
16428 Use char because int might match the return type of a GCC
16429 builtin and then its argument prototype would still apply. */
16430 #ifdef __cplusplus
16431 extern "C"
16432 #endif
16433 char atan2 ();
16435 main ()
16437 return atan2 ();
16439 return 0;
16441 _ACEOF
16442 if ac_fn_c_try_link "$LINENO"; then :
16443 ac_cv_lib_m_atan2=yes
16444 else
16445 ac_cv_lib_m_atan2=no
16447 rm -f core conftest.err conftest.$ac_objext \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_lib_save_LIBS
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16452 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16453 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16455 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16460 $as_echo_n "checking for atan2l in -lm... " >&6; }
16461 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 ac_check_lib_save_LIBS=$LIBS
16465 LIBS="-lm $LIBS"
16466 if test x$gcc_no_link = xyes; then
16467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16472 /* Override any GCC internal prototype to avoid an error.
16473 Use char because int might match the return type of a GCC
16474 builtin and then its argument prototype would still apply. */
16475 #ifdef __cplusplus
16476 extern "C"
16477 #endif
16478 char atan2l ();
16480 main ()
16482 return atan2l ();
16484 return 0;
16486 _ACEOF
16487 if ac_fn_c_try_link "$LINENO"; then :
16488 ac_cv_lib_m_atan2l=yes
16489 else
16490 ac_cv_lib_m_atan2l=no
16492 rm -f core conftest.err conftest.$ac_objext \
16493 conftest$ac_exeext conftest.$ac_ext
16494 LIBS=$ac_check_lib_save_LIBS
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16497 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16498 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16500 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16505 $as_echo_n "checking for atanf in -lm... " >&6; }
16506 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509 ac_check_lib_save_LIBS=$LIBS
16510 LIBS="-lm $LIBS"
16511 if test x$gcc_no_link = xyes; then
16512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16515 /* end confdefs.h. */
16517 /* Override any GCC internal prototype to avoid an error.
16518 Use char because int might match the return type of a GCC
16519 builtin and then its argument prototype would still apply. */
16520 #ifdef __cplusplus
16521 extern "C"
16522 #endif
16523 char atanf ();
16525 main ()
16527 return atanf ();
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_link "$LINENO"; then :
16533 ac_cv_lib_m_atanf=yes
16534 else
16535 ac_cv_lib_m_atanf=no
16537 rm -f core conftest.err conftest.$ac_objext \
16538 conftest$ac_exeext conftest.$ac_ext
16539 LIBS=$ac_check_lib_save_LIBS
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16542 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16543 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16545 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16550 $as_echo_n "checking for atan in -lm... " >&6; }
16551 if test "${ac_cv_lib_m_atan+set}" = set; then :
16552 $as_echo_n "(cached) " >&6
16553 else
16554 ac_check_lib_save_LIBS=$LIBS
16555 LIBS="-lm $LIBS"
16556 if test x$gcc_no_link = xyes; then
16557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16560 /* end confdefs.h. */
16562 /* Override any GCC internal prototype to avoid an error.
16563 Use char because int might match the return type of a GCC
16564 builtin and then its argument prototype would still apply. */
16565 #ifdef __cplusplus
16566 extern "C"
16567 #endif
16568 char atan ();
16570 main ()
16572 return atan ();
16574 return 0;
16576 _ACEOF
16577 if ac_fn_c_try_link "$LINENO"; then :
16578 ac_cv_lib_m_atan=yes
16579 else
16580 ac_cv_lib_m_atan=no
16582 rm -f core conftest.err conftest.$ac_objext \
16583 conftest$ac_exeext conftest.$ac_ext
16584 LIBS=$ac_check_lib_save_LIBS
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16587 $as_echo "$ac_cv_lib_m_atan" >&6; }
16588 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16590 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16595 $as_echo_n "checking for atanl in -lm... " >&6; }
16596 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16597 $as_echo_n "(cached) " >&6
16598 else
16599 ac_check_lib_save_LIBS=$LIBS
16600 LIBS="-lm $LIBS"
16601 if test x$gcc_no_link = xyes; then
16602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16607 /* Override any GCC internal prototype to avoid an error.
16608 Use char because int might match the return type of a GCC
16609 builtin and then its argument prototype would still apply. */
16610 #ifdef __cplusplus
16611 extern "C"
16612 #endif
16613 char atanl ();
16615 main ()
16617 return atanl ();
16619 return 0;
16621 _ACEOF
16622 if ac_fn_c_try_link "$LINENO"; then :
16623 ac_cv_lib_m_atanl=yes
16624 else
16625 ac_cv_lib_m_atanl=no
16627 rm -f core conftest.err conftest.$ac_objext \
16628 conftest$ac_exeext conftest.$ac_ext
16629 LIBS=$ac_check_lib_save_LIBS
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16632 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16633 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16635 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16640 $as_echo_n "checking for atanhf in -lm... " >&6; }
16641 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 ac_check_lib_save_LIBS=$LIBS
16645 LIBS="-lm $LIBS"
16646 if test x$gcc_no_link = xyes; then
16647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16652 /* Override any GCC internal prototype to avoid an error.
16653 Use char because int might match the return type of a GCC
16654 builtin and then its argument prototype would still apply. */
16655 #ifdef __cplusplus
16656 extern "C"
16657 #endif
16658 char atanhf ();
16660 main ()
16662 return atanhf ();
16664 return 0;
16666 _ACEOF
16667 if ac_fn_c_try_link "$LINENO"; then :
16668 ac_cv_lib_m_atanhf=yes
16669 else
16670 ac_cv_lib_m_atanhf=no
16672 rm -f core conftest.err conftest.$ac_objext \
16673 conftest$ac_exeext conftest.$ac_ext
16674 LIBS=$ac_check_lib_save_LIBS
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16677 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16678 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16680 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16685 $as_echo_n "checking for atanh in -lm... " >&6; }
16686 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16687 $as_echo_n "(cached) " >&6
16688 else
16689 ac_check_lib_save_LIBS=$LIBS
16690 LIBS="-lm $LIBS"
16691 if test x$gcc_no_link = xyes; then
16692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16697 /* Override any GCC internal prototype to avoid an error.
16698 Use char because int might match the return type of a GCC
16699 builtin and then its argument prototype would still apply. */
16700 #ifdef __cplusplus
16701 extern "C"
16702 #endif
16703 char atanh ();
16705 main ()
16707 return atanh ();
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 ac_cv_lib_m_atanh=yes
16714 else
16715 ac_cv_lib_m_atanh=no
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16719 LIBS=$ac_check_lib_save_LIBS
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16722 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16723 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16725 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16730 $as_echo_n "checking for atanhl in -lm... " >&6; }
16731 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 ac_check_lib_save_LIBS=$LIBS
16735 LIBS="-lm $LIBS"
16736 if test x$gcc_no_link = xyes; then
16737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 #ifdef __cplusplus
16746 extern "C"
16747 #endif
16748 char atanhl ();
16750 main ()
16752 return atanhl ();
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 ac_cv_lib_m_atanhl=yes
16759 else
16760 ac_cv_lib_m_atanhl=no
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 LIBS=$ac_check_lib_save_LIBS
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16767 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16768 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16770 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16775 $as_echo_n "checking for cargf in -lm... " >&6; }
16776 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 ac_check_lib_save_LIBS=$LIBS
16780 LIBS="-lm $LIBS"
16781 if test x$gcc_no_link = xyes; then
16782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16787 /* Override any GCC internal prototype to avoid an error.
16788 Use char because int might match the return type of a GCC
16789 builtin and then its argument prototype would still apply. */
16790 #ifdef __cplusplus
16791 extern "C"
16792 #endif
16793 char cargf ();
16795 main ()
16797 return cargf ();
16799 return 0;
16801 _ACEOF
16802 if ac_fn_c_try_link "$LINENO"; then :
16803 ac_cv_lib_m_cargf=yes
16804 else
16805 ac_cv_lib_m_cargf=no
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 LIBS=$ac_check_lib_save_LIBS
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16812 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16813 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16815 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16820 $as_echo_n "checking for carg in -lm... " >&6; }
16821 if test "${ac_cv_lib_m_carg+set}" = set; then :
16822 $as_echo_n "(cached) " >&6
16823 else
16824 ac_check_lib_save_LIBS=$LIBS
16825 LIBS="-lm $LIBS"
16826 if test x$gcc_no_link = xyes; then
16827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16835 #ifdef __cplusplus
16836 extern "C"
16837 #endif
16838 char carg ();
16840 main ()
16842 return carg ();
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"; then :
16848 ac_cv_lib_m_carg=yes
16849 else
16850 ac_cv_lib_m_carg=no
16852 rm -f core conftest.err conftest.$ac_objext \
16853 conftest$ac_exeext conftest.$ac_ext
16854 LIBS=$ac_check_lib_save_LIBS
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16857 $as_echo "$ac_cv_lib_m_carg" >&6; }
16858 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16860 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16865 $as_echo_n "checking for cargl in -lm... " >&6; }
16866 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869 ac_check_lib_save_LIBS=$LIBS
16870 LIBS="-lm $LIBS"
16871 if test x$gcc_no_link = xyes; then
16872 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16877 /* Override any GCC internal prototype to avoid an error.
16878 Use char because int might match the return type of a GCC
16879 builtin and then its argument prototype would still apply. */
16880 #ifdef __cplusplus
16881 extern "C"
16882 #endif
16883 char cargl ();
16885 main ()
16887 return cargl ();
16889 return 0;
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"; then :
16893 ac_cv_lib_m_cargl=yes
16894 else
16895 ac_cv_lib_m_cargl=no
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16899 LIBS=$ac_check_lib_save_LIBS
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16902 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16903 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16905 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16910 $as_echo_n "checking for ceilf in -lm... " >&6; }
16911 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 ac_check_lib_save_LIBS=$LIBS
16915 LIBS="-lm $LIBS"
16916 if test x$gcc_no_link = xyes; then
16917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 /* Override any GCC internal prototype to avoid an error.
16923 Use char because int might match the return type of a GCC
16924 builtin and then its argument prototype would still apply. */
16925 #ifdef __cplusplus
16926 extern "C"
16927 #endif
16928 char ceilf ();
16930 main ()
16932 return ceilf ();
16934 return 0;
16936 _ACEOF
16937 if ac_fn_c_try_link "$LINENO"; then :
16938 ac_cv_lib_m_ceilf=yes
16939 else
16940 ac_cv_lib_m_ceilf=no
16942 rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext conftest.$ac_ext
16944 LIBS=$ac_check_lib_save_LIBS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16947 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16948 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
16950 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16955 $as_echo_n "checking for ceil in -lm... " >&6; }
16956 if test "${ac_cv_lib_m_ceil+set}" = set; then :
16957 $as_echo_n "(cached) " >&6
16958 else
16959 ac_check_lib_save_LIBS=$LIBS
16960 LIBS="-lm $LIBS"
16961 if test x$gcc_no_link = xyes; then
16962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16967 /* Override any GCC internal prototype to avoid an error.
16968 Use char because int might match the return type of a GCC
16969 builtin and then its argument prototype would still apply. */
16970 #ifdef __cplusplus
16971 extern "C"
16972 #endif
16973 char ceil ();
16975 main ()
16977 return ceil ();
16979 return 0;
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_lib_m_ceil=yes
16984 else
16985 ac_cv_lib_m_ceil=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 LIBS=$ac_check_lib_save_LIBS
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
16992 $as_echo "$ac_cv_lib_m_ceil" >&6; }
16993 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
16995 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17000 $as_echo_n "checking for ceill in -lm... " >&6; }
17001 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 ac_check_lib_save_LIBS=$LIBS
17005 LIBS="-lm $LIBS"
17006 if test x$gcc_no_link = xyes; then
17007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17012 /* Override any GCC internal prototype to avoid an error.
17013 Use char because int might match the return type of a GCC
17014 builtin and then its argument prototype would still apply. */
17015 #ifdef __cplusplus
17016 extern "C"
17017 #endif
17018 char ceill ();
17020 main ()
17022 return ceill ();
17024 return 0;
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_lib_m_ceill=yes
17029 else
17030 ac_cv_lib_m_ceill=no
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext conftest.$ac_ext
17034 LIBS=$ac_check_lib_save_LIBS
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17037 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17038 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17040 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17045 $as_echo_n "checking for copysignf in -lm... " >&6; }
17046 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17047 $as_echo_n "(cached) " >&6
17048 else
17049 ac_check_lib_save_LIBS=$LIBS
17050 LIBS="-lm $LIBS"
17051 if test x$gcc_no_link = xyes; then
17052 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 #ifdef __cplusplus
17061 extern "C"
17062 #endif
17063 char copysignf ();
17065 main ()
17067 return copysignf ();
17069 return 0;
17071 _ACEOF
17072 if ac_fn_c_try_link "$LINENO"; then :
17073 ac_cv_lib_m_copysignf=yes
17074 else
17075 ac_cv_lib_m_copysignf=no
17077 rm -f core conftest.err conftest.$ac_objext \
17078 conftest$ac_exeext conftest.$ac_ext
17079 LIBS=$ac_check_lib_save_LIBS
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17082 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17083 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17085 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17090 $as_echo_n "checking for copysign in -lm... " >&6; }
17091 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 ac_check_lib_save_LIBS=$LIBS
17095 LIBS="-lm $LIBS"
17096 if test x$gcc_no_link = xyes; then
17097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17102 /* Override any GCC internal prototype to avoid an error.
17103 Use char because int might match the return type of a GCC
17104 builtin and then its argument prototype would still apply. */
17105 #ifdef __cplusplus
17106 extern "C"
17107 #endif
17108 char copysign ();
17110 main ()
17112 return copysign ();
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_lib_m_copysign=yes
17119 else
17120 ac_cv_lib_m_copysign=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 LIBS=$ac_check_lib_save_LIBS
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17127 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17128 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17130 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17135 $as_echo_n "checking for copysignl in -lm... " >&6; }
17136 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17137 $as_echo_n "(cached) " >&6
17138 else
17139 ac_check_lib_save_LIBS=$LIBS
17140 LIBS="-lm $LIBS"
17141 if test x$gcc_no_link = xyes; then
17142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17147 /* Override any GCC internal prototype to avoid an error.
17148 Use char because int might match the return type of a GCC
17149 builtin and then its argument prototype would still apply. */
17150 #ifdef __cplusplus
17151 extern "C"
17152 #endif
17153 char copysignl ();
17155 main ()
17157 return copysignl ();
17159 return 0;
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_lib_m_copysignl=yes
17164 else
17165 ac_cv_lib_m_copysignl=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 LIBS=$ac_check_lib_save_LIBS
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17172 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17173 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17175 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17180 $as_echo_n "checking for cosf in -lm... " >&6; }
17181 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17184 ac_check_lib_save_LIBS=$LIBS
17185 LIBS="-lm $LIBS"
17186 if test x$gcc_no_link = xyes; then
17187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17192 /* Override any GCC internal prototype to avoid an error.
17193 Use char because int might match the return type of a GCC
17194 builtin and then its argument prototype would still apply. */
17195 #ifdef __cplusplus
17196 extern "C"
17197 #endif
17198 char cosf ();
17200 main ()
17202 return cosf ();
17204 return 0;
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_lib_m_cosf=yes
17209 else
17210 ac_cv_lib_m_cosf=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 LIBS=$ac_check_lib_save_LIBS
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17217 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17218 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17220 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17225 $as_echo_n "checking for cos in -lm... " >&6; }
17226 if test "${ac_cv_lib_m_cos+set}" = set; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_check_lib_save_LIBS=$LIBS
17230 LIBS="-lm $LIBS"
17231 if test x$gcc_no_link = xyes; then
17232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17237 /* Override any GCC internal prototype to avoid an error.
17238 Use char because int might match the return type of a GCC
17239 builtin and then its argument prototype would still apply. */
17240 #ifdef __cplusplus
17241 extern "C"
17242 #endif
17243 char cos ();
17245 main ()
17247 return cos ();
17249 return 0;
17251 _ACEOF
17252 if ac_fn_c_try_link "$LINENO"; then :
17253 ac_cv_lib_m_cos=yes
17254 else
17255 ac_cv_lib_m_cos=no
17257 rm -f core conftest.err conftest.$ac_objext \
17258 conftest$ac_exeext conftest.$ac_ext
17259 LIBS=$ac_check_lib_save_LIBS
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17262 $as_echo "$ac_cv_lib_m_cos" >&6; }
17263 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17265 $as_echo "#define HAVE_COS 1" >>confdefs.h
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17270 $as_echo_n "checking for cosl in -lm... " >&6; }
17271 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 ac_check_lib_save_LIBS=$LIBS
17275 LIBS="-lm $LIBS"
17276 if test x$gcc_no_link = xyes; then
17277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17282 /* Override any GCC internal prototype to avoid an error.
17283 Use char because int might match the return type of a GCC
17284 builtin and then its argument prototype would still apply. */
17285 #ifdef __cplusplus
17286 extern "C"
17287 #endif
17288 char cosl ();
17290 main ()
17292 return cosl ();
17294 return 0;
17296 _ACEOF
17297 if ac_fn_c_try_link "$LINENO"; then :
17298 ac_cv_lib_m_cosl=yes
17299 else
17300 ac_cv_lib_m_cosl=no
17302 rm -f core conftest.err conftest.$ac_objext \
17303 conftest$ac_exeext conftest.$ac_ext
17304 LIBS=$ac_check_lib_save_LIBS
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17307 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17308 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17310 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17315 $as_echo_n "checking for ccosf in -lm... " >&6; }
17316 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 ac_check_lib_save_LIBS=$LIBS
17320 LIBS="-lm $LIBS"
17321 if test x$gcc_no_link = xyes; then
17322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17327 /* Override any GCC internal prototype to avoid an error.
17328 Use char because int might match the return type of a GCC
17329 builtin and then its argument prototype would still apply. */
17330 #ifdef __cplusplus
17331 extern "C"
17332 #endif
17333 char ccosf ();
17335 main ()
17337 return ccosf ();
17339 return 0;
17341 _ACEOF
17342 if ac_fn_c_try_link "$LINENO"; then :
17343 ac_cv_lib_m_ccosf=yes
17344 else
17345 ac_cv_lib_m_ccosf=no
17347 rm -f core conftest.err conftest.$ac_objext \
17348 conftest$ac_exeext conftest.$ac_ext
17349 LIBS=$ac_check_lib_save_LIBS
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17352 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17353 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17355 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17360 $as_echo_n "checking for ccos in -lm... " >&6; }
17361 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 ac_check_lib_save_LIBS=$LIBS
17365 LIBS="-lm $LIBS"
17366 if test x$gcc_no_link = xyes; then
17367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17372 /* Override any GCC internal prototype to avoid an error.
17373 Use char because int might match the return type of a GCC
17374 builtin and then its argument prototype would still apply. */
17375 #ifdef __cplusplus
17376 extern "C"
17377 #endif
17378 char ccos ();
17380 main ()
17382 return ccos ();
17384 return 0;
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_lib_m_ccos=yes
17389 else
17390 ac_cv_lib_m_ccos=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 LIBS=$ac_check_lib_save_LIBS
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17397 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17398 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17400 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17405 $as_echo_n "checking for ccosl in -lm... " >&6; }
17406 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 ac_check_lib_save_LIBS=$LIBS
17410 LIBS="-lm $LIBS"
17411 if test x$gcc_no_link = xyes; then
17412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char ccosl ();
17425 main ()
17427 return ccosl ();
17429 return 0;
17431 _ACEOF
17432 if ac_fn_c_try_link "$LINENO"; then :
17433 ac_cv_lib_m_ccosl=yes
17434 else
17435 ac_cv_lib_m_ccosl=no
17437 rm -f core conftest.err conftest.$ac_objext \
17438 conftest$ac_exeext conftest.$ac_ext
17439 LIBS=$ac_check_lib_save_LIBS
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17442 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17443 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17445 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17450 $as_echo_n "checking for coshf in -lm... " >&6; }
17451 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 ac_check_lib_save_LIBS=$LIBS
17455 LIBS="-lm $LIBS"
17456 if test x$gcc_no_link = xyes; then
17457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17462 /* Override any GCC internal prototype to avoid an error.
17463 Use char because int might match the return type of a GCC
17464 builtin and then its argument prototype would still apply. */
17465 #ifdef __cplusplus
17466 extern "C"
17467 #endif
17468 char coshf ();
17470 main ()
17472 return coshf ();
17474 return 0;
17476 _ACEOF
17477 if ac_fn_c_try_link "$LINENO"; then :
17478 ac_cv_lib_m_coshf=yes
17479 else
17480 ac_cv_lib_m_coshf=no
17482 rm -f core conftest.err conftest.$ac_objext \
17483 conftest$ac_exeext conftest.$ac_ext
17484 LIBS=$ac_check_lib_save_LIBS
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17487 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17488 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17490 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17495 $as_echo_n "checking for cosh in -lm... " >&6; }
17496 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17497 $as_echo_n "(cached) " >&6
17498 else
17499 ac_check_lib_save_LIBS=$LIBS
17500 LIBS="-lm $LIBS"
17501 if test x$gcc_no_link = xyes; then
17502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17507 /* Override any GCC internal prototype to avoid an error.
17508 Use char because int might match the return type of a GCC
17509 builtin and then its argument prototype would still apply. */
17510 #ifdef __cplusplus
17511 extern "C"
17512 #endif
17513 char cosh ();
17515 main ()
17517 return cosh ();
17519 return 0;
17521 _ACEOF
17522 if ac_fn_c_try_link "$LINENO"; then :
17523 ac_cv_lib_m_cosh=yes
17524 else
17525 ac_cv_lib_m_cosh=no
17527 rm -f core conftest.err conftest.$ac_objext \
17528 conftest$ac_exeext conftest.$ac_ext
17529 LIBS=$ac_check_lib_save_LIBS
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17532 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17533 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17535 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17540 $as_echo_n "checking for coshl in -lm... " >&6; }
17541 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17542 $as_echo_n "(cached) " >&6
17543 else
17544 ac_check_lib_save_LIBS=$LIBS
17545 LIBS="-lm $LIBS"
17546 if test x$gcc_no_link = xyes; then
17547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17552 /* Override any GCC internal prototype to avoid an error.
17553 Use char because int might match the return type of a GCC
17554 builtin and then its argument prototype would still apply. */
17555 #ifdef __cplusplus
17556 extern "C"
17557 #endif
17558 char coshl ();
17560 main ()
17562 return coshl ();
17564 return 0;
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568 ac_cv_lib_m_coshl=yes
17569 else
17570 ac_cv_lib_m_coshl=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17574 LIBS=$ac_check_lib_save_LIBS
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17577 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17578 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17580 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17585 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17586 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 ac_check_lib_save_LIBS=$LIBS
17590 LIBS="-lm $LIBS"
17591 if test x$gcc_no_link = xyes; then
17592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 /* Override any GCC internal prototype to avoid an error.
17598 Use char because int might match the return type of a GCC
17599 builtin and then its argument prototype would still apply. */
17600 #ifdef __cplusplus
17601 extern "C"
17602 #endif
17603 char ccoshf ();
17605 main ()
17607 return ccoshf ();
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_link "$LINENO"; then :
17613 ac_cv_lib_m_ccoshf=yes
17614 else
17615 ac_cv_lib_m_ccoshf=no
17617 rm -f core conftest.err conftest.$ac_objext \
17618 conftest$ac_exeext conftest.$ac_ext
17619 LIBS=$ac_check_lib_save_LIBS
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17622 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17623 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17625 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17630 $as_echo_n "checking for ccosh in -lm... " >&6; }
17631 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17632 $as_echo_n "(cached) " >&6
17633 else
17634 ac_check_lib_save_LIBS=$LIBS
17635 LIBS="-lm $LIBS"
17636 if test x$gcc_no_link = xyes; then
17637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17642 /* Override any GCC internal prototype to avoid an error.
17643 Use char because int might match the return type of a GCC
17644 builtin and then its argument prototype would still apply. */
17645 #ifdef __cplusplus
17646 extern "C"
17647 #endif
17648 char ccosh ();
17650 main ()
17652 return ccosh ();
17654 return 0;
17656 _ACEOF
17657 if ac_fn_c_try_link "$LINENO"; then :
17658 ac_cv_lib_m_ccosh=yes
17659 else
17660 ac_cv_lib_m_ccosh=no
17662 rm -f core conftest.err conftest.$ac_objext \
17663 conftest$ac_exeext conftest.$ac_ext
17664 LIBS=$ac_check_lib_save_LIBS
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17667 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17668 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17670 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17675 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17676 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17677 $as_echo_n "(cached) " >&6
17678 else
17679 ac_check_lib_save_LIBS=$LIBS
17680 LIBS="-lm $LIBS"
17681 if test x$gcc_no_link = xyes; then
17682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17687 /* Override any GCC internal prototype to avoid an error.
17688 Use char because int might match the return type of a GCC
17689 builtin and then its argument prototype would still apply. */
17690 #ifdef __cplusplus
17691 extern "C"
17692 #endif
17693 char ccoshl ();
17695 main ()
17697 return ccoshl ();
17699 return 0;
17701 _ACEOF
17702 if ac_fn_c_try_link "$LINENO"; then :
17703 ac_cv_lib_m_ccoshl=yes
17704 else
17705 ac_cv_lib_m_ccoshl=no
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17712 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17713 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17715 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17720 $as_echo_n "checking for expf in -lm... " >&6; }
17721 if test "${ac_cv_lib_m_expf+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17724 ac_check_lib_save_LIBS=$LIBS
17725 LIBS="-lm $LIBS"
17726 if test x$gcc_no_link = xyes; then
17727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17732 /* Override any GCC internal prototype to avoid an error.
17733 Use char because int might match the return type of a GCC
17734 builtin and then its argument prototype would still apply. */
17735 #ifdef __cplusplus
17736 extern "C"
17737 #endif
17738 char expf ();
17740 main ()
17742 return expf ();
17744 return 0;
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"; then :
17748 ac_cv_lib_m_expf=yes
17749 else
17750 ac_cv_lib_m_expf=no
17752 rm -f core conftest.err conftest.$ac_objext \
17753 conftest$ac_exeext conftest.$ac_ext
17754 LIBS=$ac_check_lib_save_LIBS
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17757 $as_echo "$ac_cv_lib_m_expf" >&6; }
17758 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17760 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17765 $as_echo_n "checking for exp in -lm... " >&6; }
17766 if test "${ac_cv_lib_m_exp+set}" = set; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 ac_check_lib_save_LIBS=$LIBS
17770 LIBS="-lm $LIBS"
17771 if test x$gcc_no_link = xyes; then
17772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17780 #ifdef __cplusplus
17781 extern "C"
17782 #endif
17783 char exp ();
17785 main ()
17787 return exp ();
17789 return 0;
17791 _ACEOF
17792 if ac_fn_c_try_link "$LINENO"; then :
17793 ac_cv_lib_m_exp=yes
17794 else
17795 ac_cv_lib_m_exp=no
17797 rm -f core conftest.err conftest.$ac_objext \
17798 conftest$ac_exeext conftest.$ac_ext
17799 LIBS=$ac_check_lib_save_LIBS
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17802 $as_echo "$ac_cv_lib_m_exp" >&6; }
17803 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17805 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17810 $as_echo_n "checking for expl in -lm... " >&6; }
17811 if test "${ac_cv_lib_m_expl+set}" = set; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814 ac_check_lib_save_LIBS=$LIBS
17815 LIBS="-lm $LIBS"
17816 if test x$gcc_no_link = xyes; then
17817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 /* Override any GCC internal prototype to avoid an error.
17823 Use char because int might match the return type of a GCC
17824 builtin and then its argument prototype would still apply. */
17825 #ifdef __cplusplus
17826 extern "C"
17827 #endif
17828 char expl ();
17830 main ()
17832 return expl ();
17834 return 0;
17836 _ACEOF
17837 if ac_fn_c_try_link "$LINENO"; then :
17838 ac_cv_lib_m_expl=yes
17839 else
17840 ac_cv_lib_m_expl=no
17842 rm -f core conftest.err conftest.$ac_objext \
17843 conftest$ac_exeext conftest.$ac_ext
17844 LIBS=$ac_check_lib_save_LIBS
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17847 $as_echo "$ac_cv_lib_m_expl" >&6; }
17848 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17850 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17855 $as_echo_n "checking for cexpf in -lm... " >&6; }
17856 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17857 $as_echo_n "(cached) " >&6
17858 else
17859 ac_check_lib_save_LIBS=$LIBS
17860 LIBS="-lm $LIBS"
17861 if test x$gcc_no_link = xyes; then
17862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17867 /* Override any GCC internal prototype to avoid an error.
17868 Use char because int might match the return type of a GCC
17869 builtin and then its argument prototype would still apply. */
17870 #ifdef __cplusplus
17871 extern "C"
17872 #endif
17873 char cexpf ();
17875 main ()
17877 return cexpf ();
17879 return 0;
17881 _ACEOF
17882 if ac_fn_c_try_link "$LINENO"; then :
17883 ac_cv_lib_m_cexpf=yes
17884 else
17885 ac_cv_lib_m_cexpf=no
17887 rm -f core conftest.err conftest.$ac_objext \
17888 conftest$ac_exeext conftest.$ac_ext
17889 LIBS=$ac_check_lib_save_LIBS
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17892 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17893 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17895 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17900 $as_echo_n "checking for cexp in -lm... " >&6; }
17901 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17902 $as_echo_n "(cached) " >&6
17903 else
17904 ac_check_lib_save_LIBS=$LIBS
17905 LIBS="-lm $LIBS"
17906 if test x$gcc_no_link = xyes; then
17907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17912 /* Override any GCC internal prototype to avoid an error.
17913 Use char because int might match the return type of a GCC
17914 builtin and then its argument prototype would still apply. */
17915 #ifdef __cplusplus
17916 extern "C"
17917 #endif
17918 char cexp ();
17920 main ()
17922 return cexp ();
17924 return 0;
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"; then :
17928 ac_cv_lib_m_cexp=yes
17929 else
17930 ac_cv_lib_m_cexp=no
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext conftest.$ac_ext
17934 LIBS=$ac_check_lib_save_LIBS
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17937 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17938 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
17940 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17945 $as_echo_n "checking for cexpl in -lm... " >&6; }
17946 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 ac_check_lib_save_LIBS=$LIBS
17950 LIBS="-lm $LIBS"
17951 if test x$gcc_no_link = xyes; then
17952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17960 #ifdef __cplusplus
17961 extern "C"
17962 #endif
17963 char cexpl ();
17965 main ()
17967 return cexpl ();
17969 return 0;
17971 _ACEOF
17972 if ac_fn_c_try_link "$LINENO"; then :
17973 ac_cv_lib_m_cexpl=yes
17974 else
17975 ac_cv_lib_m_cexpl=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
17982 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
17983 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
17985 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
17990 $as_echo_n "checking for fabsf in -lm... " >&6; }
17991 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
17992 $as_echo_n "(cached) " >&6
17993 else
17994 ac_check_lib_save_LIBS=$LIBS
17995 LIBS="-lm $LIBS"
17996 if test x$gcc_no_link = xyes; then
17997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18002 /* Override any GCC internal prototype to avoid an error.
18003 Use char because int might match the return type of a GCC
18004 builtin and then its argument prototype would still apply. */
18005 #ifdef __cplusplus
18006 extern "C"
18007 #endif
18008 char fabsf ();
18010 main ()
18012 return fabsf ();
18014 return 0;
18016 _ACEOF
18017 if ac_fn_c_try_link "$LINENO"; then :
18018 ac_cv_lib_m_fabsf=yes
18019 else
18020 ac_cv_lib_m_fabsf=no
18022 rm -f core conftest.err conftest.$ac_objext \
18023 conftest$ac_exeext conftest.$ac_ext
18024 LIBS=$ac_check_lib_save_LIBS
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18027 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18028 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18030 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18035 $as_echo_n "checking for fabs in -lm... " >&6; }
18036 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 ac_check_lib_save_LIBS=$LIBS
18040 LIBS="-lm $LIBS"
18041 if test x$gcc_no_link = xyes; then
18042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 #ifdef __cplusplus
18051 extern "C"
18052 #endif
18053 char fabs ();
18055 main ()
18057 return fabs ();
18059 return 0;
18061 _ACEOF
18062 if ac_fn_c_try_link "$LINENO"; then :
18063 ac_cv_lib_m_fabs=yes
18064 else
18065 ac_cv_lib_m_fabs=no
18067 rm -f core conftest.err conftest.$ac_objext \
18068 conftest$ac_exeext conftest.$ac_ext
18069 LIBS=$ac_check_lib_save_LIBS
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18072 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18073 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18075 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18080 $as_echo_n "checking for fabsl in -lm... " >&6; }
18081 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084 ac_check_lib_save_LIBS=$LIBS
18085 LIBS="-lm $LIBS"
18086 if test x$gcc_no_link = xyes; then
18087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18092 /* Override any GCC internal prototype to avoid an error.
18093 Use char because int might match the return type of a GCC
18094 builtin and then its argument prototype would still apply. */
18095 #ifdef __cplusplus
18096 extern "C"
18097 #endif
18098 char fabsl ();
18100 main ()
18102 return fabsl ();
18104 return 0;
18106 _ACEOF
18107 if ac_fn_c_try_link "$LINENO"; then :
18108 ac_cv_lib_m_fabsl=yes
18109 else
18110 ac_cv_lib_m_fabsl=no
18112 rm -f core conftest.err conftest.$ac_objext \
18113 conftest$ac_exeext conftest.$ac_ext
18114 LIBS=$ac_check_lib_save_LIBS
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18117 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18118 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18120 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18125 $as_echo_n "checking for cabsf in -lm... " >&6; }
18126 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18127 $as_echo_n "(cached) " >&6
18128 else
18129 ac_check_lib_save_LIBS=$LIBS
18130 LIBS="-lm $LIBS"
18131 if test x$gcc_no_link = xyes; then
18132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18137 /* Override any GCC internal prototype to avoid an error.
18138 Use char because int might match the return type of a GCC
18139 builtin and then its argument prototype would still apply. */
18140 #ifdef __cplusplus
18141 extern "C"
18142 #endif
18143 char cabsf ();
18145 main ()
18147 return cabsf ();
18149 return 0;
18151 _ACEOF
18152 if ac_fn_c_try_link "$LINENO"; then :
18153 ac_cv_lib_m_cabsf=yes
18154 else
18155 ac_cv_lib_m_cabsf=no
18157 rm -f core conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18159 LIBS=$ac_check_lib_save_LIBS
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18162 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18163 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18165 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18170 $as_echo_n "checking for cabs in -lm... " >&6; }
18171 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18172 $as_echo_n "(cached) " >&6
18173 else
18174 ac_check_lib_save_LIBS=$LIBS
18175 LIBS="-lm $LIBS"
18176 if test x$gcc_no_link = xyes; then
18177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18182 /* Override any GCC internal prototype to avoid an error.
18183 Use char because int might match the return type of a GCC
18184 builtin and then its argument prototype would still apply. */
18185 #ifdef __cplusplus
18186 extern "C"
18187 #endif
18188 char cabs ();
18190 main ()
18192 return cabs ();
18194 return 0;
18196 _ACEOF
18197 if ac_fn_c_try_link "$LINENO"; then :
18198 ac_cv_lib_m_cabs=yes
18199 else
18200 ac_cv_lib_m_cabs=no
18202 rm -f core conftest.err conftest.$ac_objext \
18203 conftest$ac_exeext conftest.$ac_ext
18204 LIBS=$ac_check_lib_save_LIBS
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18207 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18208 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18210 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18215 $as_echo_n "checking for cabsl in -lm... " >&6; }
18216 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18217 $as_echo_n "(cached) " >&6
18218 else
18219 ac_check_lib_save_LIBS=$LIBS
18220 LIBS="-lm $LIBS"
18221 if test x$gcc_no_link = xyes; then
18222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18227 /* Override any GCC internal prototype to avoid an error.
18228 Use char because int might match the return type of a GCC
18229 builtin and then its argument prototype would still apply. */
18230 #ifdef __cplusplus
18231 extern "C"
18232 #endif
18233 char cabsl ();
18235 main ()
18237 return cabsl ();
18239 return 0;
18241 _ACEOF
18242 if ac_fn_c_try_link "$LINENO"; then :
18243 ac_cv_lib_m_cabsl=yes
18244 else
18245 ac_cv_lib_m_cabsl=no
18247 rm -f core conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext conftest.$ac_ext
18249 LIBS=$ac_check_lib_save_LIBS
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18252 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18253 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18255 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18260 $as_echo_n "checking for floorf in -lm... " >&6; }
18261 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18262 $as_echo_n "(cached) " >&6
18263 else
18264 ac_check_lib_save_LIBS=$LIBS
18265 LIBS="-lm $LIBS"
18266 if test x$gcc_no_link = xyes; then
18267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18272 /* Override any GCC internal prototype to avoid an error.
18273 Use char because int might match the return type of a GCC
18274 builtin and then its argument prototype would still apply. */
18275 #ifdef __cplusplus
18276 extern "C"
18277 #endif
18278 char floorf ();
18280 main ()
18282 return floorf ();
18284 return 0;
18286 _ACEOF
18287 if ac_fn_c_try_link "$LINENO"; then :
18288 ac_cv_lib_m_floorf=yes
18289 else
18290 ac_cv_lib_m_floorf=no
18292 rm -f core conftest.err conftest.$ac_objext \
18293 conftest$ac_exeext conftest.$ac_ext
18294 LIBS=$ac_check_lib_save_LIBS
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18297 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18298 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18300 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18305 $as_echo_n "checking for floor in -lm... " >&6; }
18306 if test "${ac_cv_lib_m_floor+set}" = set; then :
18307 $as_echo_n "(cached) " >&6
18308 else
18309 ac_check_lib_save_LIBS=$LIBS
18310 LIBS="-lm $LIBS"
18311 if test x$gcc_no_link = xyes; then
18312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 /* Override any GCC internal prototype to avoid an error.
18318 Use char because int might match the return type of a GCC
18319 builtin and then its argument prototype would still apply. */
18320 #ifdef __cplusplus
18321 extern "C"
18322 #endif
18323 char floor ();
18325 main ()
18327 return floor ();
18329 return 0;
18331 _ACEOF
18332 if ac_fn_c_try_link "$LINENO"; then :
18333 ac_cv_lib_m_floor=yes
18334 else
18335 ac_cv_lib_m_floor=no
18337 rm -f core conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18339 LIBS=$ac_check_lib_save_LIBS
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18342 $as_echo "$ac_cv_lib_m_floor" >&6; }
18343 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18345 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18350 $as_echo_n "checking for floorl in -lm... " >&6; }
18351 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18352 $as_echo_n "(cached) " >&6
18353 else
18354 ac_check_lib_save_LIBS=$LIBS
18355 LIBS="-lm $LIBS"
18356 if test x$gcc_no_link = xyes; then
18357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
18365 #ifdef __cplusplus
18366 extern "C"
18367 #endif
18368 char floorl ();
18370 main ()
18372 return floorl ();
18374 return 0;
18376 _ACEOF
18377 if ac_fn_c_try_link "$LINENO"; then :
18378 ac_cv_lib_m_floorl=yes
18379 else
18380 ac_cv_lib_m_floorl=no
18382 rm -f core conftest.err conftest.$ac_objext \
18383 conftest$ac_exeext conftest.$ac_ext
18384 LIBS=$ac_check_lib_save_LIBS
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18387 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18388 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18390 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18395 $as_echo_n "checking for fmodf in -lm... " >&6; }
18396 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18397 $as_echo_n "(cached) " >&6
18398 else
18399 ac_check_lib_save_LIBS=$LIBS
18400 LIBS="-lm $LIBS"
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18407 /* Override any GCC internal prototype to avoid an error.
18408 Use char because int might match the return type of a GCC
18409 builtin and then its argument prototype would still apply. */
18410 #ifdef __cplusplus
18411 extern "C"
18412 #endif
18413 char fmodf ();
18415 main ()
18417 return fmodf ();
18419 return 0;
18421 _ACEOF
18422 if ac_fn_c_try_link "$LINENO"; then :
18423 ac_cv_lib_m_fmodf=yes
18424 else
18425 ac_cv_lib_m_fmodf=no
18427 rm -f core conftest.err conftest.$ac_objext \
18428 conftest$ac_exeext conftest.$ac_ext
18429 LIBS=$ac_check_lib_save_LIBS
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18432 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18433 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18435 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18440 $as_echo_n "checking for fmod in -lm... " >&6; }
18441 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18443 else
18444 ac_check_lib_save_LIBS=$LIBS
18445 LIBS="-lm $LIBS"
18446 if test x$gcc_no_link = xyes; then
18447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18452 /* Override any GCC internal prototype to avoid an error.
18453 Use char because int might match the return type of a GCC
18454 builtin and then its argument prototype would still apply. */
18455 #ifdef __cplusplus
18456 extern "C"
18457 #endif
18458 char fmod ();
18460 main ()
18462 return fmod ();
18464 return 0;
18466 _ACEOF
18467 if ac_fn_c_try_link "$LINENO"; then :
18468 ac_cv_lib_m_fmod=yes
18469 else
18470 ac_cv_lib_m_fmod=no
18472 rm -f core conftest.err conftest.$ac_objext \
18473 conftest$ac_exeext conftest.$ac_ext
18474 LIBS=$ac_check_lib_save_LIBS
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18477 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18478 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18480 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18485 $as_echo_n "checking for fmodl in -lm... " >&6; }
18486 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18489 ac_check_lib_save_LIBS=$LIBS
18490 LIBS="-lm $LIBS"
18491 if test x$gcc_no_link = xyes; then
18492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18497 /* Override any GCC internal prototype to avoid an error.
18498 Use char because int might match the return type of a GCC
18499 builtin and then its argument prototype would still apply. */
18500 #ifdef __cplusplus
18501 extern "C"
18502 #endif
18503 char fmodl ();
18505 main ()
18507 return fmodl ();
18509 return 0;
18511 _ACEOF
18512 if ac_fn_c_try_link "$LINENO"; then :
18513 ac_cv_lib_m_fmodl=yes
18514 else
18515 ac_cv_lib_m_fmodl=no
18517 rm -f core conftest.err conftest.$ac_objext \
18518 conftest$ac_exeext conftest.$ac_ext
18519 LIBS=$ac_check_lib_save_LIBS
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18522 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18523 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18525 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18530 $as_echo_n "checking for frexpf in -lm... " >&6; }
18531 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18534 ac_check_lib_save_LIBS=$LIBS
18535 LIBS="-lm $LIBS"
18536 if test x$gcc_no_link = xyes; then
18537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18545 #ifdef __cplusplus
18546 extern "C"
18547 #endif
18548 char frexpf ();
18550 main ()
18552 return frexpf ();
18554 return 0;
18556 _ACEOF
18557 if ac_fn_c_try_link "$LINENO"; then :
18558 ac_cv_lib_m_frexpf=yes
18559 else
18560 ac_cv_lib_m_frexpf=no
18562 rm -f core conftest.err conftest.$ac_objext \
18563 conftest$ac_exeext conftest.$ac_ext
18564 LIBS=$ac_check_lib_save_LIBS
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18567 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18568 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18570 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18575 $as_echo_n "checking for frexp in -lm... " >&6; }
18576 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18577 $as_echo_n "(cached) " >&6
18578 else
18579 ac_check_lib_save_LIBS=$LIBS
18580 LIBS="-lm $LIBS"
18581 if test x$gcc_no_link = xyes; then
18582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18587 /* Override any GCC internal prototype to avoid an error.
18588 Use char because int might match the return type of a GCC
18589 builtin and then its argument prototype would still apply. */
18590 #ifdef __cplusplus
18591 extern "C"
18592 #endif
18593 char frexp ();
18595 main ()
18597 return frexp ();
18599 return 0;
18601 _ACEOF
18602 if ac_fn_c_try_link "$LINENO"; then :
18603 ac_cv_lib_m_frexp=yes
18604 else
18605 ac_cv_lib_m_frexp=no
18607 rm -f core conftest.err conftest.$ac_objext \
18608 conftest$ac_exeext conftest.$ac_ext
18609 LIBS=$ac_check_lib_save_LIBS
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18612 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18613 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18615 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18620 $as_echo_n "checking for frexpl in -lm... " >&6; }
18621 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18623 else
18624 ac_check_lib_save_LIBS=$LIBS
18625 LIBS="-lm $LIBS"
18626 if test x$gcc_no_link = xyes; then
18627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18635 #ifdef __cplusplus
18636 extern "C"
18637 #endif
18638 char frexpl ();
18640 main ()
18642 return frexpl ();
18644 return 0;
18646 _ACEOF
18647 if ac_fn_c_try_link "$LINENO"; then :
18648 ac_cv_lib_m_frexpl=yes
18649 else
18650 ac_cv_lib_m_frexpl=no
18652 rm -f core conftest.err conftest.$ac_objext \
18653 conftest$ac_exeext conftest.$ac_ext
18654 LIBS=$ac_check_lib_save_LIBS
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18657 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18658 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18660 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18665 $as_echo_n "checking for hypotf in -lm... " >&6; }
18666 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18669 ac_check_lib_save_LIBS=$LIBS
18670 LIBS="-lm $LIBS"
18671 if test x$gcc_no_link = xyes; then
18672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18677 /* Override any GCC internal prototype to avoid an error.
18678 Use char because int might match the return type of a GCC
18679 builtin and then its argument prototype would still apply. */
18680 #ifdef __cplusplus
18681 extern "C"
18682 #endif
18683 char hypotf ();
18685 main ()
18687 return hypotf ();
18689 return 0;
18691 _ACEOF
18692 if ac_fn_c_try_link "$LINENO"; then :
18693 ac_cv_lib_m_hypotf=yes
18694 else
18695 ac_cv_lib_m_hypotf=no
18697 rm -f core conftest.err conftest.$ac_objext \
18698 conftest$ac_exeext conftest.$ac_ext
18699 LIBS=$ac_check_lib_save_LIBS
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18702 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18703 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18705 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18710 $as_echo_n "checking for hypot in -lm... " >&6; }
18711 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18712 $as_echo_n "(cached) " >&6
18713 else
18714 ac_check_lib_save_LIBS=$LIBS
18715 LIBS="-lm $LIBS"
18716 if test x$gcc_no_link = xyes; then
18717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18722 /* Override any GCC internal prototype to avoid an error.
18723 Use char because int might match the return type of a GCC
18724 builtin and then its argument prototype would still apply. */
18725 #ifdef __cplusplus
18726 extern "C"
18727 #endif
18728 char hypot ();
18730 main ()
18732 return hypot ();
18734 return 0;
18736 _ACEOF
18737 if ac_fn_c_try_link "$LINENO"; then :
18738 ac_cv_lib_m_hypot=yes
18739 else
18740 ac_cv_lib_m_hypot=no
18742 rm -f core conftest.err conftest.$ac_objext \
18743 conftest$ac_exeext conftest.$ac_ext
18744 LIBS=$ac_check_lib_save_LIBS
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18747 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18748 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18750 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18755 $as_echo_n "checking for hypotl in -lm... " >&6; }
18756 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18757 $as_echo_n "(cached) " >&6
18758 else
18759 ac_check_lib_save_LIBS=$LIBS
18760 LIBS="-lm $LIBS"
18761 if test x$gcc_no_link = xyes; then
18762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18767 /* Override any GCC internal prototype to avoid an error.
18768 Use char because int might match the return type of a GCC
18769 builtin and then its argument prototype would still apply. */
18770 #ifdef __cplusplus
18771 extern "C"
18772 #endif
18773 char hypotl ();
18775 main ()
18777 return hypotl ();
18779 return 0;
18781 _ACEOF
18782 if ac_fn_c_try_link "$LINENO"; then :
18783 ac_cv_lib_m_hypotl=yes
18784 else
18785 ac_cv_lib_m_hypotl=no
18787 rm -f core conftest.err conftest.$ac_objext \
18788 conftest$ac_exeext conftest.$ac_ext
18789 LIBS=$ac_check_lib_save_LIBS
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18792 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18793 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18795 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18800 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18801 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18802 $as_echo_n "(cached) " >&6
18803 else
18804 ac_check_lib_save_LIBS=$LIBS
18805 LIBS="-lm $LIBS"
18806 if test x$gcc_no_link = xyes; then
18807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18812 /* Override any GCC internal prototype to avoid an error.
18813 Use char because int might match the return type of a GCC
18814 builtin and then its argument prototype would still apply. */
18815 #ifdef __cplusplus
18816 extern "C"
18817 #endif
18818 char ldexpf ();
18820 main ()
18822 return ldexpf ();
18824 return 0;
18826 _ACEOF
18827 if ac_fn_c_try_link "$LINENO"; then :
18828 ac_cv_lib_m_ldexpf=yes
18829 else
18830 ac_cv_lib_m_ldexpf=no
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18834 LIBS=$ac_check_lib_save_LIBS
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18837 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18838 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18840 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18845 $as_echo_n "checking for ldexp in -lm... " >&6; }
18846 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18849 ac_check_lib_save_LIBS=$LIBS
18850 LIBS="-lm $LIBS"
18851 if test x$gcc_no_link = xyes; then
18852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18857 /* Override any GCC internal prototype to avoid an error.
18858 Use char because int might match the return type of a GCC
18859 builtin and then its argument prototype would still apply. */
18860 #ifdef __cplusplus
18861 extern "C"
18862 #endif
18863 char ldexp ();
18865 main ()
18867 return ldexp ();
18869 return 0;
18871 _ACEOF
18872 if ac_fn_c_try_link "$LINENO"; then :
18873 ac_cv_lib_m_ldexp=yes
18874 else
18875 ac_cv_lib_m_ldexp=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18879 LIBS=$ac_check_lib_save_LIBS
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18882 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18883 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18885 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18890 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18891 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18892 $as_echo_n "(cached) " >&6
18893 else
18894 ac_check_lib_save_LIBS=$LIBS
18895 LIBS="-lm $LIBS"
18896 if test x$gcc_no_link = xyes; then
18897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18902 /* Override any GCC internal prototype to avoid an error.
18903 Use char because int might match the return type of a GCC
18904 builtin and then its argument prototype would still apply. */
18905 #ifdef __cplusplus
18906 extern "C"
18907 #endif
18908 char ldexpl ();
18910 main ()
18912 return ldexpl ();
18914 return 0;
18916 _ACEOF
18917 if ac_fn_c_try_link "$LINENO"; then :
18918 ac_cv_lib_m_ldexpl=yes
18919 else
18920 ac_cv_lib_m_ldexpl=no
18922 rm -f core conftest.err conftest.$ac_objext \
18923 conftest$ac_exeext conftest.$ac_ext
18924 LIBS=$ac_check_lib_save_LIBS
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18927 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18928 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18930 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18935 $as_echo_n "checking for logf in -lm... " >&6; }
18936 if test "${ac_cv_lib_m_logf+set}" = set; then :
18937 $as_echo_n "(cached) " >&6
18938 else
18939 ac_check_lib_save_LIBS=$LIBS
18940 LIBS="-lm $LIBS"
18941 if test x$gcc_no_link = xyes; then
18942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18947 /* Override any GCC internal prototype to avoid an error.
18948 Use char because int might match the return type of a GCC
18949 builtin and then its argument prototype would still apply. */
18950 #ifdef __cplusplus
18951 extern "C"
18952 #endif
18953 char logf ();
18955 main ()
18957 return logf ();
18959 return 0;
18961 _ACEOF
18962 if ac_fn_c_try_link "$LINENO"; then :
18963 ac_cv_lib_m_logf=yes
18964 else
18965 ac_cv_lib_m_logf=no
18967 rm -f core conftest.err conftest.$ac_objext \
18968 conftest$ac_exeext conftest.$ac_ext
18969 LIBS=$ac_check_lib_save_LIBS
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
18972 $as_echo "$ac_cv_lib_m_logf" >&6; }
18973 if test "x$ac_cv_lib_m_logf" = x""yes; then :
18975 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
18980 $as_echo_n "checking for log in -lm... " >&6; }
18981 if test "${ac_cv_lib_m_log+set}" = set; then :
18982 $as_echo_n "(cached) " >&6
18983 else
18984 ac_check_lib_save_LIBS=$LIBS
18985 LIBS="-lm $LIBS"
18986 if test x$gcc_no_link = xyes; then
18987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18992 /* Override any GCC internal prototype to avoid an error.
18993 Use char because int might match the return type of a GCC
18994 builtin and then its argument prototype would still apply. */
18995 #ifdef __cplusplus
18996 extern "C"
18997 #endif
18998 char log ();
19000 main ()
19002 return log ();
19004 return 0;
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"; then :
19008 ac_cv_lib_m_log=yes
19009 else
19010 ac_cv_lib_m_log=no
19012 rm -f core conftest.err conftest.$ac_objext \
19013 conftest$ac_exeext conftest.$ac_ext
19014 LIBS=$ac_check_lib_save_LIBS
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19017 $as_echo "$ac_cv_lib_m_log" >&6; }
19018 if test "x$ac_cv_lib_m_log" = x""yes; then :
19020 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19025 $as_echo_n "checking for logl in -lm... " >&6; }
19026 if test "${ac_cv_lib_m_logl+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19029 ac_check_lib_save_LIBS=$LIBS
19030 LIBS="-lm $LIBS"
19031 if test x$gcc_no_link = xyes; then
19032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 /* Override any GCC internal prototype to avoid an error.
19038 Use char because int might match the return type of a GCC
19039 builtin and then its argument prototype would still apply. */
19040 #ifdef __cplusplus
19041 extern "C"
19042 #endif
19043 char logl ();
19045 main ()
19047 return logl ();
19049 return 0;
19051 _ACEOF
19052 if ac_fn_c_try_link "$LINENO"; then :
19053 ac_cv_lib_m_logl=yes
19054 else
19055 ac_cv_lib_m_logl=no
19057 rm -f core conftest.err conftest.$ac_objext \
19058 conftest$ac_exeext conftest.$ac_ext
19059 LIBS=$ac_check_lib_save_LIBS
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19062 $as_echo "$ac_cv_lib_m_logl" >&6; }
19063 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19065 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19070 $as_echo_n "checking for clogf in -lm... " >&6; }
19071 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19072 $as_echo_n "(cached) " >&6
19073 else
19074 ac_check_lib_save_LIBS=$LIBS
19075 LIBS="-lm $LIBS"
19076 if test x$gcc_no_link = xyes; then
19077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19082 /* Override any GCC internal prototype to avoid an error.
19083 Use char because int might match the return type of a GCC
19084 builtin and then its argument prototype would still apply. */
19085 #ifdef __cplusplus
19086 extern "C"
19087 #endif
19088 char clogf ();
19090 main ()
19092 return clogf ();
19094 return 0;
19096 _ACEOF
19097 if ac_fn_c_try_link "$LINENO"; then :
19098 ac_cv_lib_m_clogf=yes
19099 else
19100 ac_cv_lib_m_clogf=no
19102 rm -f core conftest.err conftest.$ac_objext \
19103 conftest$ac_exeext conftest.$ac_ext
19104 LIBS=$ac_check_lib_save_LIBS
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19107 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19108 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19110 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19115 $as_echo_n "checking for clog in -lm... " >&6; }
19116 if test "${ac_cv_lib_m_clog+set}" = set; then :
19117 $as_echo_n "(cached) " >&6
19118 else
19119 ac_check_lib_save_LIBS=$LIBS
19120 LIBS="-lm $LIBS"
19121 if test x$gcc_no_link = xyes; then
19122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19127 /* Override any GCC internal prototype to avoid an error.
19128 Use char because int might match the return type of a GCC
19129 builtin and then its argument prototype would still apply. */
19130 #ifdef __cplusplus
19131 extern "C"
19132 #endif
19133 char clog ();
19135 main ()
19137 return clog ();
19139 return 0;
19141 _ACEOF
19142 if ac_fn_c_try_link "$LINENO"; then :
19143 ac_cv_lib_m_clog=yes
19144 else
19145 ac_cv_lib_m_clog=no
19147 rm -f core conftest.err conftest.$ac_objext \
19148 conftest$ac_exeext conftest.$ac_ext
19149 LIBS=$ac_check_lib_save_LIBS
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19152 $as_echo "$ac_cv_lib_m_clog" >&6; }
19153 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19155 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19160 $as_echo_n "checking for clogl in -lm... " >&6; }
19161 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19162 $as_echo_n "(cached) " >&6
19163 else
19164 ac_check_lib_save_LIBS=$LIBS
19165 LIBS="-lm $LIBS"
19166 if test x$gcc_no_link = xyes; then
19167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19172 /* Override any GCC internal prototype to avoid an error.
19173 Use char because int might match the return type of a GCC
19174 builtin and then its argument prototype would still apply. */
19175 #ifdef __cplusplus
19176 extern "C"
19177 #endif
19178 char clogl ();
19180 main ()
19182 return clogl ();
19184 return 0;
19186 _ACEOF
19187 if ac_fn_c_try_link "$LINENO"; then :
19188 ac_cv_lib_m_clogl=yes
19189 else
19190 ac_cv_lib_m_clogl=no
19192 rm -f core conftest.err conftest.$ac_objext \
19193 conftest$ac_exeext conftest.$ac_ext
19194 LIBS=$ac_check_lib_save_LIBS
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19197 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19198 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19200 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19205 $as_echo_n "checking for log10f in -lm... " >&6; }
19206 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19207 $as_echo_n "(cached) " >&6
19208 else
19209 ac_check_lib_save_LIBS=$LIBS
19210 LIBS="-lm $LIBS"
19211 if test x$gcc_no_link = xyes; then
19212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19217 /* Override any GCC internal prototype to avoid an error.
19218 Use char because int might match the return type of a GCC
19219 builtin and then its argument prototype would still apply. */
19220 #ifdef __cplusplus
19221 extern "C"
19222 #endif
19223 char log10f ();
19225 main ()
19227 return log10f ();
19229 return 0;
19231 _ACEOF
19232 if ac_fn_c_try_link "$LINENO"; then :
19233 ac_cv_lib_m_log10f=yes
19234 else
19235 ac_cv_lib_m_log10f=no
19237 rm -f core conftest.err conftest.$ac_objext \
19238 conftest$ac_exeext conftest.$ac_ext
19239 LIBS=$ac_check_lib_save_LIBS
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19242 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19243 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19245 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19250 $as_echo_n "checking for log10 in -lm... " >&6; }
19251 if test "${ac_cv_lib_m_log10+set}" = set; then :
19252 $as_echo_n "(cached) " >&6
19253 else
19254 ac_check_lib_save_LIBS=$LIBS
19255 LIBS="-lm $LIBS"
19256 if test x$gcc_no_link = xyes; then
19257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19262 /* Override any GCC internal prototype to avoid an error.
19263 Use char because int might match the return type of a GCC
19264 builtin and then its argument prototype would still apply. */
19265 #ifdef __cplusplus
19266 extern "C"
19267 #endif
19268 char log10 ();
19270 main ()
19272 return log10 ();
19274 return 0;
19276 _ACEOF
19277 if ac_fn_c_try_link "$LINENO"; then :
19278 ac_cv_lib_m_log10=yes
19279 else
19280 ac_cv_lib_m_log10=no
19282 rm -f core conftest.err conftest.$ac_objext \
19283 conftest$ac_exeext conftest.$ac_ext
19284 LIBS=$ac_check_lib_save_LIBS
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19287 $as_echo "$ac_cv_lib_m_log10" >&6; }
19288 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19290 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19295 $as_echo_n "checking for log10l in -lm... " >&6; }
19296 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19297 $as_echo_n "(cached) " >&6
19298 else
19299 ac_check_lib_save_LIBS=$LIBS
19300 LIBS="-lm $LIBS"
19301 if test x$gcc_no_link = xyes; then
19302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19307 /* Override any GCC internal prototype to avoid an error.
19308 Use char because int might match the return type of a GCC
19309 builtin and then its argument prototype would still apply. */
19310 #ifdef __cplusplus
19311 extern "C"
19312 #endif
19313 char log10l ();
19315 main ()
19317 return log10l ();
19319 return 0;
19321 _ACEOF
19322 if ac_fn_c_try_link "$LINENO"; then :
19323 ac_cv_lib_m_log10l=yes
19324 else
19325 ac_cv_lib_m_log10l=no
19327 rm -f core conftest.err conftest.$ac_objext \
19328 conftest$ac_exeext conftest.$ac_ext
19329 LIBS=$ac_check_lib_save_LIBS
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19332 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19333 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19335 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19340 $as_echo_n "checking for clog10f in -lm... " >&6; }
19341 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19342 $as_echo_n "(cached) " >&6
19343 else
19344 ac_check_lib_save_LIBS=$LIBS
19345 LIBS="-lm $LIBS"
19346 if test x$gcc_no_link = xyes; then
19347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19352 /* Override any GCC internal prototype to avoid an error.
19353 Use char because int might match the return type of a GCC
19354 builtin and then its argument prototype would still apply. */
19355 #ifdef __cplusplus
19356 extern "C"
19357 #endif
19358 char clog10f ();
19360 main ()
19362 return clog10f ();
19364 return 0;
19366 _ACEOF
19367 if ac_fn_c_try_link "$LINENO"; then :
19368 ac_cv_lib_m_clog10f=yes
19369 else
19370 ac_cv_lib_m_clog10f=no
19372 rm -f core conftest.err conftest.$ac_objext \
19373 conftest$ac_exeext conftest.$ac_ext
19374 LIBS=$ac_check_lib_save_LIBS
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19377 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19378 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19380 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19385 $as_echo_n "checking for clog10 in -lm... " >&6; }
19386 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 ac_check_lib_save_LIBS=$LIBS
19390 LIBS="-lm $LIBS"
19391 if test x$gcc_no_link = xyes; then
19392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19397 /* Override any GCC internal prototype to avoid an error.
19398 Use char because int might match the return type of a GCC
19399 builtin and then its argument prototype would still apply. */
19400 #ifdef __cplusplus
19401 extern "C"
19402 #endif
19403 char clog10 ();
19405 main ()
19407 return clog10 ();
19409 return 0;
19411 _ACEOF
19412 if ac_fn_c_try_link "$LINENO"; then :
19413 ac_cv_lib_m_clog10=yes
19414 else
19415 ac_cv_lib_m_clog10=no
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext conftest.$ac_ext
19419 LIBS=$ac_check_lib_save_LIBS
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19422 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19423 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19425 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19430 $as_echo_n "checking for clog10l in -lm... " >&6; }
19431 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19432 $as_echo_n "(cached) " >&6
19433 else
19434 ac_check_lib_save_LIBS=$LIBS
19435 LIBS="-lm $LIBS"
19436 if test x$gcc_no_link = xyes; then
19437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19442 /* Override any GCC internal prototype to avoid an error.
19443 Use char because int might match the return type of a GCC
19444 builtin and then its argument prototype would still apply. */
19445 #ifdef __cplusplus
19446 extern "C"
19447 #endif
19448 char clog10l ();
19450 main ()
19452 return clog10l ();
19454 return 0;
19456 _ACEOF
19457 if ac_fn_c_try_link "$LINENO"; then :
19458 ac_cv_lib_m_clog10l=yes
19459 else
19460 ac_cv_lib_m_clog10l=no
19462 rm -f core conftest.err conftest.$ac_objext \
19463 conftest$ac_exeext conftest.$ac_ext
19464 LIBS=$ac_check_lib_save_LIBS
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19467 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19468 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19470 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19475 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19476 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 ac_check_lib_save_LIBS=$LIBS
19480 LIBS="-lm $LIBS"
19481 if test x$gcc_no_link = xyes; then
19482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19487 /* Override any GCC internal prototype to avoid an error.
19488 Use char because int might match the return type of a GCC
19489 builtin and then its argument prototype would still apply. */
19490 #ifdef __cplusplus
19491 extern "C"
19492 #endif
19493 char nextafterf ();
19495 main ()
19497 return nextafterf ();
19499 return 0;
19501 _ACEOF
19502 if ac_fn_c_try_link "$LINENO"; then :
19503 ac_cv_lib_m_nextafterf=yes
19504 else
19505 ac_cv_lib_m_nextafterf=no
19507 rm -f core conftest.err conftest.$ac_objext \
19508 conftest$ac_exeext conftest.$ac_ext
19509 LIBS=$ac_check_lib_save_LIBS
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19512 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19513 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19515 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19520 $as_echo_n "checking for nextafter in -lm... " >&6; }
19521 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19522 $as_echo_n "(cached) " >&6
19523 else
19524 ac_check_lib_save_LIBS=$LIBS
19525 LIBS="-lm $LIBS"
19526 if test x$gcc_no_link = xyes; then
19527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19532 /* Override any GCC internal prototype to avoid an error.
19533 Use char because int might match the return type of a GCC
19534 builtin and then its argument prototype would still apply. */
19535 #ifdef __cplusplus
19536 extern "C"
19537 #endif
19538 char nextafter ();
19540 main ()
19542 return nextafter ();
19544 return 0;
19546 _ACEOF
19547 if ac_fn_c_try_link "$LINENO"; then :
19548 ac_cv_lib_m_nextafter=yes
19549 else
19550 ac_cv_lib_m_nextafter=no
19552 rm -f core conftest.err conftest.$ac_objext \
19553 conftest$ac_exeext conftest.$ac_ext
19554 LIBS=$ac_check_lib_save_LIBS
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19557 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19558 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19560 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19565 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19566 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19567 $as_echo_n "(cached) " >&6
19568 else
19569 ac_check_lib_save_LIBS=$LIBS
19570 LIBS="-lm $LIBS"
19571 if test x$gcc_no_link = xyes; then
19572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19577 /* Override any GCC internal prototype to avoid an error.
19578 Use char because int might match the return type of a GCC
19579 builtin and then its argument prototype would still apply. */
19580 #ifdef __cplusplus
19581 extern "C"
19582 #endif
19583 char nextafterl ();
19585 main ()
19587 return nextafterl ();
19589 return 0;
19591 _ACEOF
19592 if ac_fn_c_try_link "$LINENO"; then :
19593 ac_cv_lib_m_nextafterl=yes
19594 else
19595 ac_cv_lib_m_nextafterl=no
19597 rm -f core conftest.err conftest.$ac_objext \
19598 conftest$ac_exeext conftest.$ac_ext
19599 LIBS=$ac_check_lib_save_LIBS
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19602 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19603 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19605 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19610 $as_echo_n "checking for powf in -lm... " >&6; }
19611 if test "${ac_cv_lib_m_powf+set}" = set; then :
19612 $as_echo_n "(cached) " >&6
19613 else
19614 ac_check_lib_save_LIBS=$LIBS
19615 LIBS="-lm $LIBS"
19616 if test x$gcc_no_link = xyes; then
19617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19622 /* Override any GCC internal prototype to avoid an error.
19623 Use char because int might match the return type of a GCC
19624 builtin and then its argument prototype would still apply. */
19625 #ifdef __cplusplus
19626 extern "C"
19627 #endif
19628 char powf ();
19630 main ()
19632 return powf ();
19634 return 0;
19636 _ACEOF
19637 if ac_fn_c_try_link "$LINENO"; then :
19638 ac_cv_lib_m_powf=yes
19639 else
19640 ac_cv_lib_m_powf=no
19642 rm -f core conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext conftest.$ac_ext
19644 LIBS=$ac_check_lib_save_LIBS
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19647 $as_echo "$ac_cv_lib_m_powf" >&6; }
19648 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19650 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19655 $as_echo_n "checking for pow in -lm... " >&6; }
19656 if test "${ac_cv_lib_m_pow+set}" = set; then :
19657 $as_echo_n "(cached) " >&6
19658 else
19659 ac_check_lib_save_LIBS=$LIBS
19660 LIBS="-lm $LIBS"
19661 if test x$gcc_no_link = xyes; then
19662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19667 /* Override any GCC internal prototype to avoid an error.
19668 Use char because int might match the return type of a GCC
19669 builtin and then its argument prototype would still apply. */
19670 #ifdef __cplusplus
19671 extern "C"
19672 #endif
19673 char pow ();
19675 main ()
19677 return pow ();
19679 return 0;
19681 _ACEOF
19682 if ac_fn_c_try_link "$LINENO"; then :
19683 ac_cv_lib_m_pow=yes
19684 else
19685 ac_cv_lib_m_pow=no
19687 rm -f core conftest.err conftest.$ac_objext \
19688 conftest$ac_exeext conftest.$ac_ext
19689 LIBS=$ac_check_lib_save_LIBS
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19692 $as_echo "$ac_cv_lib_m_pow" >&6; }
19693 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19695 $as_echo "#define HAVE_POW 1" >>confdefs.h
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19700 $as_echo_n "checking for powl in -lm... " >&6; }
19701 if test "${ac_cv_lib_m_powl+set}" = set; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 ac_check_lib_save_LIBS=$LIBS
19705 LIBS="-lm $LIBS"
19706 if test x$gcc_no_link = xyes; then
19707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19712 /* Override any GCC internal prototype to avoid an error.
19713 Use char because int might match the return type of a GCC
19714 builtin and then its argument prototype would still apply. */
19715 #ifdef __cplusplus
19716 extern "C"
19717 #endif
19718 char powl ();
19720 main ()
19722 return powl ();
19724 return 0;
19726 _ACEOF
19727 if ac_fn_c_try_link "$LINENO"; then :
19728 ac_cv_lib_m_powl=yes
19729 else
19730 ac_cv_lib_m_powl=no
19732 rm -f core conftest.err conftest.$ac_objext \
19733 conftest$ac_exeext conftest.$ac_ext
19734 LIBS=$ac_check_lib_save_LIBS
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19737 $as_echo "$ac_cv_lib_m_powl" >&6; }
19738 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19740 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19745 $as_echo_n "checking for cpowf in -lm... " >&6; }
19746 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19747 $as_echo_n "(cached) " >&6
19748 else
19749 ac_check_lib_save_LIBS=$LIBS
19750 LIBS="-lm $LIBS"
19751 if test x$gcc_no_link = xyes; then
19752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 /* Override any GCC internal prototype to avoid an error.
19758 Use char because int might match the return type of a GCC
19759 builtin and then its argument prototype would still apply. */
19760 #ifdef __cplusplus
19761 extern "C"
19762 #endif
19763 char cpowf ();
19765 main ()
19767 return cpowf ();
19769 return 0;
19771 _ACEOF
19772 if ac_fn_c_try_link "$LINENO"; then :
19773 ac_cv_lib_m_cpowf=yes
19774 else
19775 ac_cv_lib_m_cpowf=no
19777 rm -f core conftest.err conftest.$ac_objext \
19778 conftest$ac_exeext conftest.$ac_ext
19779 LIBS=$ac_check_lib_save_LIBS
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19782 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19783 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19785 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19790 $as_echo_n "checking for cpow in -lm... " >&6; }
19791 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19792 $as_echo_n "(cached) " >&6
19793 else
19794 ac_check_lib_save_LIBS=$LIBS
19795 LIBS="-lm $LIBS"
19796 if test x$gcc_no_link = xyes; then
19797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 /* Override any GCC internal prototype to avoid an error.
19803 Use char because int might match the return type of a GCC
19804 builtin and then its argument prototype would still apply. */
19805 #ifdef __cplusplus
19806 extern "C"
19807 #endif
19808 char cpow ();
19810 main ()
19812 return cpow ();
19814 return 0;
19816 _ACEOF
19817 if ac_fn_c_try_link "$LINENO"; then :
19818 ac_cv_lib_m_cpow=yes
19819 else
19820 ac_cv_lib_m_cpow=no
19822 rm -f core conftest.err conftest.$ac_objext \
19823 conftest$ac_exeext conftest.$ac_ext
19824 LIBS=$ac_check_lib_save_LIBS
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19827 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19828 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19830 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19835 $as_echo_n "checking for cpowl in -lm... " >&6; }
19836 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19837 $as_echo_n "(cached) " >&6
19838 else
19839 ac_check_lib_save_LIBS=$LIBS
19840 LIBS="-lm $LIBS"
19841 if test x$gcc_no_link = xyes; then
19842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19847 /* Override any GCC internal prototype to avoid an error.
19848 Use char because int might match the return type of a GCC
19849 builtin and then its argument prototype would still apply. */
19850 #ifdef __cplusplus
19851 extern "C"
19852 #endif
19853 char cpowl ();
19855 main ()
19857 return cpowl ();
19859 return 0;
19861 _ACEOF
19862 if ac_fn_c_try_link "$LINENO"; then :
19863 ac_cv_lib_m_cpowl=yes
19864 else
19865 ac_cv_lib_m_cpowl=no
19867 rm -f core conftest.err conftest.$ac_objext \
19868 conftest$ac_exeext conftest.$ac_ext
19869 LIBS=$ac_check_lib_save_LIBS
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19872 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19873 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19875 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19880 $as_echo_n "checking for roundf in -lm... " >&6; }
19881 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 ac_check_lib_save_LIBS=$LIBS
19885 LIBS="-lm $LIBS"
19886 if test x$gcc_no_link = xyes; then
19887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19895 #ifdef __cplusplus
19896 extern "C"
19897 #endif
19898 char roundf ();
19900 main ()
19902 return roundf ();
19904 return 0;
19906 _ACEOF
19907 if ac_fn_c_try_link "$LINENO"; then :
19908 ac_cv_lib_m_roundf=yes
19909 else
19910 ac_cv_lib_m_roundf=no
19912 rm -f core conftest.err conftest.$ac_objext \
19913 conftest$ac_exeext conftest.$ac_ext
19914 LIBS=$ac_check_lib_save_LIBS
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19917 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19918 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19920 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19925 $as_echo_n "checking for round in -lm... " >&6; }
19926 if test "${ac_cv_lib_m_round+set}" = set; then :
19927 $as_echo_n "(cached) " >&6
19928 else
19929 ac_check_lib_save_LIBS=$LIBS
19930 LIBS="-lm $LIBS"
19931 if test x$gcc_no_link = xyes; then
19932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19937 /* Override any GCC internal prototype to avoid an error.
19938 Use char because int might match the return type of a GCC
19939 builtin and then its argument prototype would still apply. */
19940 #ifdef __cplusplus
19941 extern "C"
19942 #endif
19943 char round ();
19945 main ()
19947 return round ();
19949 return 0;
19951 _ACEOF
19952 if ac_fn_c_try_link "$LINENO"; then :
19953 ac_cv_lib_m_round=yes
19954 else
19955 ac_cv_lib_m_round=no
19957 rm -f core conftest.err conftest.$ac_objext \
19958 conftest$ac_exeext conftest.$ac_ext
19959 LIBS=$ac_check_lib_save_LIBS
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
19962 $as_echo "$ac_cv_lib_m_round" >&6; }
19963 if test "x$ac_cv_lib_m_round" = x""yes; then :
19965 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19970 $as_echo_n "checking for roundl in -lm... " >&6; }
19971 if test "${ac_cv_lib_m_roundl+set}" = set; then :
19972 $as_echo_n "(cached) " >&6
19973 else
19974 ac_check_lib_save_LIBS=$LIBS
19975 LIBS="-lm $LIBS"
19976 if test x$gcc_no_link = xyes; then
19977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 /* Override any GCC internal prototype to avoid an error.
19983 Use char because int might match the return type of a GCC
19984 builtin and then its argument prototype would still apply. */
19985 #ifdef __cplusplus
19986 extern "C"
19987 #endif
19988 char roundl ();
19990 main ()
19992 return roundl ();
19994 return 0;
19996 _ACEOF
19997 if ac_fn_c_try_link "$LINENO"; then :
19998 ac_cv_lib_m_roundl=yes
19999 else
20000 ac_cv_lib_m_roundl=no
20002 rm -f core conftest.err conftest.$ac_objext \
20003 conftest$ac_exeext conftest.$ac_ext
20004 LIBS=$ac_check_lib_save_LIBS
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20007 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20008 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20010 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20015 $as_echo_n "checking for lroundf in -lm... " >&6; }
20016 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20017 $as_echo_n "(cached) " >&6
20018 else
20019 ac_check_lib_save_LIBS=$LIBS
20020 LIBS="-lm $LIBS"
20021 if test x$gcc_no_link = xyes; then
20022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20027 /* Override any GCC internal prototype to avoid an error.
20028 Use char because int might match the return type of a GCC
20029 builtin and then its argument prototype would still apply. */
20030 #ifdef __cplusplus
20031 extern "C"
20032 #endif
20033 char lroundf ();
20035 main ()
20037 return lroundf ();
20039 return 0;
20041 _ACEOF
20042 if ac_fn_c_try_link "$LINENO"; then :
20043 ac_cv_lib_m_lroundf=yes
20044 else
20045 ac_cv_lib_m_lroundf=no
20047 rm -f core conftest.err conftest.$ac_objext \
20048 conftest$ac_exeext conftest.$ac_ext
20049 LIBS=$ac_check_lib_save_LIBS
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20052 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20053 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20055 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20060 $as_echo_n "checking for lround in -lm... " >&6; }
20061 if test "${ac_cv_lib_m_lround+set}" = set; then :
20062 $as_echo_n "(cached) " >&6
20063 else
20064 ac_check_lib_save_LIBS=$LIBS
20065 LIBS="-lm $LIBS"
20066 if test x$gcc_no_link = xyes; then
20067 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20072 /* Override any GCC internal prototype to avoid an error.
20073 Use char because int might match the return type of a GCC
20074 builtin and then its argument prototype would still apply. */
20075 #ifdef __cplusplus
20076 extern "C"
20077 #endif
20078 char lround ();
20080 main ()
20082 return lround ();
20084 return 0;
20086 _ACEOF
20087 if ac_fn_c_try_link "$LINENO"; then :
20088 ac_cv_lib_m_lround=yes
20089 else
20090 ac_cv_lib_m_lround=no
20092 rm -f core conftest.err conftest.$ac_objext \
20093 conftest$ac_exeext conftest.$ac_ext
20094 LIBS=$ac_check_lib_save_LIBS
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20097 $as_echo "$ac_cv_lib_m_lround" >&6; }
20098 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20100 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20105 $as_echo_n "checking for lroundl in -lm... " >&6; }
20106 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20107 $as_echo_n "(cached) " >&6
20108 else
20109 ac_check_lib_save_LIBS=$LIBS
20110 LIBS="-lm $LIBS"
20111 if test x$gcc_no_link = xyes; then
20112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20115 /* end confdefs.h. */
20117 /* Override any GCC internal prototype to avoid an error.
20118 Use char because int might match the return type of a GCC
20119 builtin and then its argument prototype would still apply. */
20120 #ifdef __cplusplus
20121 extern "C"
20122 #endif
20123 char lroundl ();
20125 main ()
20127 return lroundl ();
20129 return 0;
20131 _ACEOF
20132 if ac_fn_c_try_link "$LINENO"; then :
20133 ac_cv_lib_m_lroundl=yes
20134 else
20135 ac_cv_lib_m_lroundl=no
20137 rm -f core conftest.err conftest.$ac_objext \
20138 conftest$ac_exeext conftest.$ac_ext
20139 LIBS=$ac_check_lib_save_LIBS
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20142 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20143 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20145 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20150 $as_echo_n "checking for llroundf in -lm... " >&6; }
20151 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20152 $as_echo_n "(cached) " >&6
20153 else
20154 ac_check_lib_save_LIBS=$LIBS
20155 LIBS="-lm $LIBS"
20156 if test x$gcc_no_link = xyes; then
20157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20160 /* end confdefs.h. */
20162 /* Override any GCC internal prototype to avoid an error.
20163 Use char because int might match the return type of a GCC
20164 builtin and then its argument prototype would still apply. */
20165 #ifdef __cplusplus
20166 extern "C"
20167 #endif
20168 char llroundf ();
20170 main ()
20172 return llroundf ();
20174 return 0;
20176 _ACEOF
20177 if ac_fn_c_try_link "$LINENO"; then :
20178 ac_cv_lib_m_llroundf=yes
20179 else
20180 ac_cv_lib_m_llroundf=no
20182 rm -f core conftest.err conftest.$ac_objext \
20183 conftest$ac_exeext conftest.$ac_ext
20184 LIBS=$ac_check_lib_save_LIBS
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20187 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20188 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20190 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20195 $as_echo_n "checking for llround in -lm... " >&6; }
20196 if test "${ac_cv_lib_m_llround+set}" = set; then :
20197 $as_echo_n "(cached) " >&6
20198 else
20199 ac_check_lib_save_LIBS=$LIBS
20200 LIBS="-lm $LIBS"
20201 if test x$gcc_no_link = xyes; then
20202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20205 /* end confdefs.h. */
20207 /* Override any GCC internal prototype to avoid an error.
20208 Use char because int might match the return type of a GCC
20209 builtin and then its argument prototype would still apply. */
20210 #ifdef __cplusplus
20211 extern "C"
20212 #endif
20213 char llround ();
20215 main ()
20217 return llround ();
20219 return 0;
20221 _ACEOF
20222 if ac_fn_c_try_link "$LINENO"; then :
20223 ac_cv_lib_m_llround=yes
20224 else
20225 ac_cv_lib_m_llround=no
20227 rm -f core conftest.err conftest.$ac_objext \
20228 conftest$ac_exeext conftest.$ac_ext
20229 LIBS=$ac_check_lib_save_LIBS
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20232 $as_echo "$ac_cv_lib_m_llround" >&6; }
20233 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20235 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20240 $as_echo_n "checking for llroundl in -lm... " >&6; }
20241 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20242 $as_echo_n "(cached) " >&6
20243 else
20244 ac_check_lib_save_LIBS=$LIBS
20245 LIBS="-lm $LIBS"
20246 if test x$gcc_no_link = xyes; then
20247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20250 /* end confdefs.h. */
20252 /* Override any GCC internal prototype to avoid an error.
20253 Use char because int might match the return type of a GCC
20254 builtin and then its argument prototype would still apply. */
20255 #ifdef __cplusplus
20256 extern "C"
20257 #endif
20258 char llroundl ();
20260 main ()
20262 return llroundl ();
20264 return 0;
20266 _ACEOF
20267 if ac_fn_c_try_link "$LINENO"; then :
20268 ac_cv_lib_m_llroundl=yes
20269 else
20270 ac_cv_lib_m_llroundl=no
20272 rm -f core conftest.err conftest.$ac_objext \
20273 conftest$ac_exeext conftest.$ac_ext
20274 LIBS=$ac_check_lib_save_LIBS
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20277 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20278 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20280 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20285 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20286 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20287 $as_echo_n "(cached) " >&6
20288 else
20289 ac_check_lib_save_LIBS=$LIBS
20290 LIBS="-lm $LIBS"
20291 if test x$gcc_no_link = xyes; then
20292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20295 /* end confdefs.h. */
20297 /* Override any GCC internal prototype to avoid an error.
20298 Use char because int might match the return type of a GCC
20299 builtin and then its argument prototype would still apply. */
20300 #ifdef __cplusplus
20301 extern "C"
20302 #endif
20303 char scalbnf ();
20305 main ()
20307 return scalbnf ();
20309 return 0;
20311 _ACEOF
20312 if ac_fn_c_try_link "$LINENO"; then :
20313 ac_cv_lib_m_scalbnf=yes
20314 else
20315 ac_cv_lib_m_scalbnf=no
20317 rm -f core conftest.err conftest.$ac_objext \
20318 conftest$ac_exeext conftest.$ac_ext
20319 LIBS=$ac_check_lib_save_LIBS
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20322 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20323 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20325 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20330 $as_echo_n "checking for scalbn in -lm... " >&6; }
20331 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20334 ac_check_lib_save_LIBS=$LIBS
20335 LIBS="-lm $LIBS"
20336 if test x$gcc_no_link = xyes; then
20337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20340 /* end confdefs.h. */
20342 /* Override any GCC internal prototype to avoid an error.
20343 Use char because int might match the return type of a GCC
20344 builtin and then its argument prototype would still apply. */
20345 #ifdef __cplusplus
20346 extern "C"
20347 #endif
20348 char scalbn ();
20350 main ()
20352 return scalbn ();
20354 return 0;
20356 _ACEOF
20357 if ac_fn_c_try_link "$LINENO"; then :
20358 ac_cv_lib_m_scalbn=yes
20359 else
20360 ac_cv_lib_m_scalbn=no
20362 rm -f core conftest.err conftest.$ac_objext \
20363 conftest$ac_exeext conftest.$ac_ext
20364 LIBS=$ac_check_lib_save_LIBS
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20367 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20368 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20370 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20375 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20376 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20377 $as_echo_n "(cached) " >&6
20378 else
20379 ac_check_lib_save_LIBS=$LIBS
20380 LIBS="-lm $LIBS"
20381 if test x$gcc_no_link = xyes; then
20382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20387 /* Override any GCC internal prototype to avoid an error.
20388 Use char because int might match the return type of a GCC
20389 builtin and then its argument prototype would still apply. */
20390 #ifdef __cplusplus
20391 extern "C"
20392 #endif
20393 char scalbnl ();
20395 main ()
20397 return scalbnl ();
20399 return 0;
20401 _ACEOF
20402 if ac_fn_c_try_link "$LINENO"; then :
20403 ac_cv_lib_m_scalbnl=yes
20404 else
20405 ac_cv_lib_m_scalbnl=no
20407 rm -f core conftest.err conftest.$ac_objext \
20408 conftest$ac_exeext conftest.$ac_ext
20409 LIBS=$ac_check_lib_save_LIBS
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20412 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20413 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20415 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20420 $as_echo_n "checking for sinf in -lm... " >&6; }
20421 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20422 $as_echo_n "(cached) " >&6
20423 else
20424 ac_check_lib_save_LIBS=$LIBS
20425 LIBS="-lm $LIBS"
20426 if test x$gcc_no_link = xyes; then
20427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20432 /* Override any GCC internal prototype to avoid an error.
20433 Use char because int might match the return type of a GCC
20434 builtin and then its argument prototype would still apply. */
20435 #ifdef __cplusplus
20436 extern "C"
20437 #endif
20438 char sinf ();
20440 main ()
20442 return sinf ();
20444 return 0;
20446 _ACEOF
20447 if ac_fn_c_try_link "$LINENO"; then :
20448 ac_cv_lib_m_sinf=yes
20449 else
20450 ac_cv_lib_m_sinf=no
20452 rm -f core conftest.err conftest.$ac_objext \
20453 conftest$ac_exeext conftest.$ac_ext
20454 LIBS=$ac_check_lib_save_LIBS
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20457 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20458 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20460 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20465 $as_echo_n "checking for sin in -lm... " >&6; }
20466 if test "${ac_cv_lib_m_sin+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20468 else
20469 ac_check_lib_save_LIBS=$LIBS
20470 LIBS="-lm $LIBS"
20471 if test x$gcc_no_link = xyes; then
20472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20477 /* Override any GCC internal prototype to avoid an error.
20478 Use char because int might match the return type of a GCC
20479 builtin and then its argument prototype would still apply. */
20480 #ifdef __cplusplus
20481 extern "C"
20482 #endif
20483 char sin ();
20485 main ()
20487 return sin ();
20489 return 0;
20491 _ACEOF
20492 if ac_fn_c_try_link "$LINENO"; then :
20493 ac_cv_lib_m_sin=yes
20494 else
20495 ac_cv_lib_m_sin=no
20497 rm -f core conftest.err conftest.$ac_objext \
20498 conftest$ac_exeext conftest.$ac_ext
20499 LIBS=$ac_check_lib_save_LIBS
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20502 $as_echo "$ac_cv_lib_m_sin" >&6; }
20503 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20505 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20510 $as_echo_n "checking for sinl in -lm... " >&6; }
20511 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20512 $as_echo_n "(cached) " >&6
20513 else
20514 ac_check_lib_save_LIBS=$LIBS
20515 LIBS="-lm $LIBS"
20516 if test x$gcc_no_link = xyes; then
20517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20522 /* Override any GCC internal prototype to avoid an error.
20523 Use char because int might match the return type of a GCC
20524 builtin and then its argument prototype would still apply. */
20525 #ifdef __cplusplus
20526 extern "C"
20527 #endif
20528 char sinl ();
20530 main ()
20532 return sinl ();
20534 return 0;
20536 _ACEOF
20537 if ac_fn_c_try_link "$LINENO"; then :
20538 ac_cv_lib_m_sinl=yes
20539 else
20540 ac_cv_lib_m_sinl=no
20542 rm -f core conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext conftest.$ac_ext
20544 LIBS=$ac_check_lib_save_LIBS
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20547 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20548 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20550 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20555 $as_echo_n "checking for csinf in -lm... " >&6; }
20556 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20557 $as_echo_n "(cached) " >&6
20558 else
20559 ac_check_lib_save_LIBS=$LIBS
20560 LIBS="-lm $LIBS"
20561 if test x$gcc_no_link = xyes; then
20562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20567 /* Override any GCC internal prototype to avoid an error.
20568 Use char because int might match the return type of a GCC
20569 builtin and then its argument prototype would still apply. */
20570 #ifdef __cplusplus
20571 extern "C"
20572 #endif
20573 char csinf ();
20575 main ()
20577 return csinf ();
20579 return 0;
20581 _ACEOF
20582 if ac_fn_c_try_link "$LINENO"; then :
20583 ac_cv_lib_m_csinf=yes
20584 else
20585 ac_cv_lib_m_csinf=no
20587 rm -f core conftest.err conftest.$ac_objext \
20588 conftest$ac_exeext conftest.$ac_ext
20589 LIBS=$ac_check_lib_save_LIBS
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20592 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20593 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20595 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20600 $as_echo_n "checking for csin in -lm... " >&6; }
20601 if test "${ac_cv_lib_m_csin+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20603 else
20604 ac_check_lib_save_LIBS=$LIBS
20605 LIBS="-lm $LIBS"
20606 if test x$gcc_no_link = xyes; then
20607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20610 /* end confdefs.h. */
20612 /* Override any GCC internal prototype to avoid an error.
20613 Use char because int might match the return type of a GCC
20614 builtin and then its argument prototype would still apply. */
20615 #ifdef __cplusplus
20616 extern "C"
20617 #endif
20618 char csin ();
20620 main ()
20622 return csin ();
20624 return 0;
20626 _ACEOF
20627 if ac_fn_c_try_link "$LINENO"; then :
20628 ac_cv_lib_m_csin=yes
20629 else
20630 ac_cv_lib_m_csin=no
20632 rm -f core conftest.err conftest.$ac_objext \
20633 conftest$ac_exeext conftest.$ac_ext
20634 LIBS=$ac_check_lib_save_LIBS
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20637 $as_echo "$ac_cv_lib_m_csin" >&6; }
20638 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20640 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20645 $as_echo_n "checking for csinl in -lm... " >&6; }
20646 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20647 $as_echo_n "(cached) " >&6
20648 else
20649 ac_check_lib_save_LIBS=$LIBS
20650 LIBS="-lm $LIBS"
20651 if test x$gcc_no_link = xyes; then
20652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20657 /* Override any GCC internal prototype to avoid an error.
20658 Use char because int might match the return type of a GCC
20659 builtin and then its argument prototype would still apply. */
20660 #ifdef __cplusplus
20661 extern "C"
20662 #endif
20663 char csinl ();
20665 main ()
20667 return csinl ();
20669 return 0;
20671 _ACEOF
20672 if ac_fn_c_try_link "$LINENO"; then :
20673 ac_cv_lib_m_csinl=yes
20674 else
20675 ac_cv_lib_m_csinl=no
20677 rm -f core conftest.err conftest.$ac_objext \
20678 conftest$ac_exeext conftest.$ac_ext
20679 LIBS=$ac_check_lib_save_LIBS
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20682 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20683 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20685 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20690 $as_echo_n "checking for sinhf in -lm... " >&6; }
20691 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20692 $as_echo_n "(cached) " >&6
20693 else
20694 ac_check_lib_save_LIBS=$LIBS
20695 LIBS="-lm $LIBS"
20696 if test x$gcc_no_link = xyes; then
20697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20702 /* Override any GCC internal prototype to avoid an error.
20703 Use char because int might match the return type of a GCC
20704 builtin and then its argument prototype would still apply. */
20705 #ifdef __cplusplus
20706 extern "C"
20707 #endif
20708 char sinhf ();
20710 main ()
20712 return sinhf ();
20714 return 0;
20716 _ACEOF
20717 if ac_fn_c_try_link "$LINENO"; then :
20718 ac_cv_lib_m_sinhf=yes
20719 else
20720 ac_cv_lib_m_sinhf=no
20722 rm -f core conftest.err conftest.$ac_objext \
20723 conftest$ac_exeext conftest.$ac_ext
20724 LIBS=$ac_check_lib_save_LIBS
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20727 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20728 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20730 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20735 $as_echo_n "checking for sinh in -lm... " >&6; }
20736 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20738 else
20739 ac_check_lib_save_LIBS=$LIBS
20740 LIBS="-lm $LIBS"
20741 if test x$gcc_no_link = xyes; then
20742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20747 /* Override any GCC internal prototype to avoid an error.
20748 Use char because int might match the return type of a GCC
20749 builtin and then its argument prototype would still apply. */
20750 #ifdef __cplusplus
20751 extern "C"
20752 #endif
20753 char sinh ();
20755 main ()
20757 return sinh ();
20759 return 0;
20761 _ACEOF
20762 if ac_fn_c_try_link "$LINENO"; then :
20763 ac_cv_lib_m_sinh=yes
20764 else
20765 ac_cv_lib_m_sinh=no
20767 rm -f core conftest.err conftest.$ac_objext \
20768 conftest$ac_exeext conftest.$ac_ext
20769 LIBS=$ac_check_lib_save_LIBS
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20772 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20773 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20775 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20780 $as_echo_n "checking for sinhl in -lm... " >&6; }
20781 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20782 $as_echo_n "(cached) " >&6
20783 else
20784 ac_check_lib_save_LIBS=$LIBS
20785 LIBS="-lm $LIBS"
20786 if test x$gcc_no_link = xyes; then
20787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h. */
20792 /* Override any GCC internal prototype to avoid an error.
20793 Use char because int might match the return type of a GCC
20794 builtin and then its argument prototype would still apply. */
20795 #ifdef __cplusplus
20796 extern "C"
20797 #endif
20798 char sinhl ();
20800 main ()
20802 return sinhl ();
20804 return 0;
20806 _ACEOF
20807 if ac_fn_c_try_link "$LINENO"; then :
20808 ac_cv_lib_m_sinhl=yes
20809 else
20810 ac_cv_lib_m_sinhl=no
20812 rm -f core conftest.err conftest.$ac_objext \
20813 conftest$ac_exeext conftest.$ac_ext
20814 LIBS=$ac_check_lib_save_LIBS
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20817 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20818 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20820 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20825 $as_echo_n "checking for csinhf in -lm... " >&6; }
20826 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20827 $as_echo_n "(cached) " >&6
20828 else
20829 ac_check_lib_save_LIBS=$LIBS
20830 LIBS="-lm $LIBS"
20831 if test x$gcc_no_link = xyes; then
20832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20837 /* Override any GCC internal prototype to avoid an error.
20838 Use char because int might match the return type of a GCC
20839 builtin and then its argument prototype would still apply. */
20840 #ifdef __cplusplus
20841 extern "C"
20842 #endif
20843 char csinhf ();
20845 main ()
20847 return csinhf ();
20849 return 0;
20851 _ACEOF
20852 if ac_fn_c_try_link "$LINENO"; then :
20853 ac_cv_lib_m_csinhf=yes
20854 else
20855 ac_cv_lib_m_csinhf=no
20857 rm -f core conftest.err conftest.$ac_objext \
20858 conftest$ac_exeext conftest.$ac_ext
20859 LIBS=$ac_check_lib_save_LIBS
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20862 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20863 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20865 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20870 $as_echo_n "checking for csinh in -lm... " >&6; }
20871 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20872 $as_echo_n "(cached) " >&6
20873 else
20874 ac_check_lib_save_LIBS=$LIBS
20875 LIBS="-lm $LIBS"
20876 if test x$gcc_no_link = xyes; then
20877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20882 /* Override any GCC internal prototype to avoid an error.
20883 Use char because int might match the return type of a GCC
20884 builtin and then its argument prototype would still apply. */
20885 #ifdef __cplusplus
20886 extern "C"
20887 #endif
20888 char csinh ();
20890 main ()
20892 return csinh ();
20894 return 0;
20896 _ACEOF
20897 if ac_fn_c_try_link "$LINENO"; then :
20898 ac_cv_lib_m_csinh=yes
20899 else
20900 ac_cv_lib_m_csinh=no
20902 rm -f core conftest.err conftest.$ac_objext \
20903 conftest$ac_exeext conftest.$ac_ext
20904 LIBS=$ac_check_lib_save_LIBS
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20907 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20908 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20910 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20915 $as_echo_n "checking for csinhl in -lm... " >&6; }
20916 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20917 $as_echo_n "(cached) " >&6
20918 else
20919 ac_check_lib_save_LIBS=$LIBS
20920 LIBS="-lm $LIBS"
20921 if test x$gcc_no_link = xyes; then
20922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20927 /* Override any GCC internal prototype to avoid an error.
20928 Use char because int might match the return type of a GCC
20929 builtin and then its argument prototype would still apply. */
20930 #ifdef __cplusplus
20931 extern "C"
20932 #endif
20933 char csinhl ();
20935 main ()
20937 return csinhl ();
20939 return 0;
20941 _ACEOF
20942 if ac_fn_c_try_link "$LINENO"; then :
20943 ac_cv_lib_m_csinhl=yes
20944 else
20945 ac_cv_lib_m_csinhl=no
20947 rm -f core conftest.err conftest.$ac_objext \
20948 conftest$ac_exeext conftest.$ac_ext
20949 LIBS=$ac_check_lib_save_LIBS
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
20952 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20953 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
20955 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20960 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20961 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
20962 $as_echo_n "(cached) " >&6
20963 else
20964 ac_check_lib_save_LIBS=$LIBS
20965 LIBS="-lm $LIBS"
20966 if test x$gcc_no_link = xyes; then
20967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20972 /* Override any GCC internal prototype to avoid an error.
20973 Use char because int might match the return type of a GCC
20974 builtin and then its argument prototype would still apply. */
20975 #ifdef __cplusplus
20976 extern "C"
20977 #endif
20978 char sqrtf ();
20980 main ()
20982 return sqrtf ();
20984 return 0;
20986 _ACEOF
20987 if ac_fn_c_try_link "$LINENO"; then :
20988 ac_cv_lib_m_sqrtf=yes
20989 else
20990 ac_cv_lib_m_sqrtf=no
20992 rm -f core conftest.err conftest.$ac_objext \
20993 conftest$ac_exeext conftest.$ac_ext
20994 LIBS=$ac_check_lib_save_LIBS
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
20997 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
20998 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21000 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21005 $as_echo_n "checking for sqrt in -lm... " >&6; }
21006 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21008 else
21009 ac_check_lib_save_LIBS=$LIBS
21010 LIBS="-lm $LIBS"
21011 if test x$gcc_no_link = xyes; then
21012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h. */
21017 /* Override any GCC internal prototype to avoid an error.
21018 Use char because int might match the return type of a GCC
21019 builtin and then its argument prototype would still apply. */
21020 #ifdef __cplusplus
21021 extern "C"
21022 #endif
21023 char sqrt ();
21025 main ()
21027 return sqrt ();
21029 return 0;
21031 _ACEOF
21032 if ac_fn_c_try_link "$LINENO"; then :
21033 ac_cv_lib_m_sqrt=yes
21034 else
21035 ac_cv_lib_m_sqrt=no
21037 rm -f core conftest.err conftest.$ac_objext \
21038 conftest$ac_exeext conftest.$ac_ext
21039 LIBS=$ac_check_lib_save_LIBS
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21042 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21043 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21045 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21050 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21051 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21053 else
21054 ac_check_lib_save_LIBS=$LIBS
21055 LIBS="-lm $LIBS"
21056 if test x$gcc_no_link = xyes; then
21057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21062 /* Override any GCC internal prototype to avoid an error.
21063 Use char because int might match the return type of a GCC
21064 builtin and then its argument prototype would still apply. */
21065 #ifdef __cplusplus
21066 extern "C"
21067 #endif
21068 char sqrtl ();
21070 main ()
21072 return sqrtl ();
21074 return 0;
21076 _ACEOF
21077 if ac_fn_c_try_link "$LINENO"; then :
21078 ac_cv_lib_m_sqrtl=yes
21079 else
21080 ac_cv_lib_m_sqrtl=no
21082 rm -f core conftest.err conftest.$ac_objext \
21083 conftest$ac_exeext conftest.$ac_ext
21084 LIBS=$ac_check_lib_save_LIBS
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21087 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21088 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21090 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21095 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21096 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21097 $as_echo_n "(cached) " >&6
21098 else
21099 ac_check_lib_save_LIBS=$LIBS
21100 LIBS="-lm $LIBS"
21101 if test x$gcc_no_link = xyes; then
21102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21107 /* Override any GCC internal prototype to avoid an error.
21108 Use char because int might match the return type of a GCC
21109 builtin and then its argument prototype would still apply. */
21110 #ifdef __cplusplus
21111 extern "C"
21112 #endif
21113 char csqrtf ();
21115 main ()
21117 return csqrtf ();
21119 return 0;
21121 _ACEOF
21122 if ac_fn_c_try_link "$LINENO"; then :
21123 ac_cv_lib_m_csqrtf=yes
21124 else
21125 ac_cv_lib_m_csqrtf=no
21127 rm -f core conftest.err conftest.$ac_objext \
21128 conftest$ac_exeext conftest.$ac_ext
21129 LIBS=$ac_check_lib_save_LIBS
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21132 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21133 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21135 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21140 $as_echo_n "checking for csqrt in -lm... " >&6; }
21141 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21142 $as_echo_n "(cached) " >&6
21143 else
21144 ac_check_lib_save_LIBS=$LIBS
21145 LIBS="-lm $LIBS"
21146 if test x$gcc_no_link = xyes; then
21147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h. */
21152 /* Override any GCC internal prototype to avoid an error.
21153 Use char because int might match the return type of a GCC
21154 builtin and then its argument prototype would still apply. */
21155 #ifdef __cplusplus
21156 extern "C"
21157 #endif
21158 char csqrt ();
21160 main ()
21162 return csqrt ();
21164 return 0;
21166 _ACEOF
21167 if ac_fn_c_try_link "$LINENO"; then :
21168 ac_cv_lib_m_csqrt=yes
21169 else
21170 ac_cv_lib_m_csqrt=no
21172 rm -f core conftest.err conftest.$ac_objext \
21173 conftest$ac_exeext conftest.$ac_ext
21174 LIBS=$ac_check_lib_save_LIBS
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21177 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21178 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21180 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21185 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21186 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21187 $as_echo_n "(cached) " >&6
21188 else
21189 ac_check_lib_save_LIBS=$LIBS
21190 LIBS="-lm $LIBS"
21191 if test x$gcc_no_link = xyes; then
21192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21195 /* end confdefs.h. */
21197 /* Override any GCC internal prototype to avoid an error.
21198 Use char because int might match the return type of a GCC
21199 builtin and then its argument prototype would still apply. */
21200 #ifdef __cplusplus
21201 extern "C"
21202 #endif
21203 char csqrtl ();
21205 main ()
21207 return csqrtl ();
21209 return 0;
21211 _ACEOF
21212 if ac_fn_c_try_link "$LINENO"; then :
21213 ac_cv_lib_m_csqrtl=yes
21214 else
21215 ac_cv_lib_m_csqrtl=no
21217 rm -f core conftest.err conftest.$ac_objext \
21218 conftest$ac_exeext conftest.$ac_ext
21219 LIBS=$ac_check_lib_save_LIBS
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21222 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21223 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21225 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21230 $as_echo_n "checking for tanf in -lm... " >&6; }
21231 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21232 $as_echo_n "(cached) " >&6
21233 else
21234 ac_check_lib_save_LIBS=$LIBS
21235 LIBS="-lm $LIBS"
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21242 /* Override any GCC internal prototype to avoid an error.
21243 Use char because int might match the return type of a GCC
21244 builtin and then its argument prototype would still apply. */
21245 #ifdef __cplusplus
21246 extern "C"
21247 #endif
21248 char tanf ();
21250 main ()
21252 return tanf ();
21254 return 0;
21256 _ACEOF
21257 if ac_fn_c_try_link "$LINENO"; then :
21258 ac_cv_lib_m_tanf=yes
21259 else
21260 ac_cv_lib_m_tanf=no
21262 rm -f core conftest.err conftest.$ac_objext \
21263 conftest$ac_exeext conftest.$ac_ext
21264 LIBS=$ac_check_lib_save_LIBS
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21267 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21268 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21275 $as_echo_n "checking for tan in -lm... " >&6; }
21276 if test "${ac_cv_lib_m_tan+set}" = set; then :
21277 $as_echo_n "(cached) " >&6
21278 else
21279 ac_check_lib_save_LIBS=$LIBS
21280 LIBS="-lm $LIBS"
21281 if test x$gcc_no_link = xyes; then
21282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21285 /* end confdefs.h. */
21287 /* Override any GCC internal prototype to avoid an error.
21288 Use char because int might match the return type of a GCC
21289 builtin and then its argument prototype would still apply. */
21290 #ifdef __cplusplus
21291 extern "C"
21292 #endif
21293 char tan ();
21295 main ()
21297 return tan ();
21299 return 0;
21301 _ACEOF
21302 if ac_fn_c_try_link "$LINENO"; then :
21303 ac_cv_lib_m_tan=yes
21304 else
21305 ac_cv_lib_m_tan=no
21307 rm -f core conftest.err conftest.$ac_objext \
21308 conftest$ac_exeext conftest.$ac_ext
21309 LIBS=$ac_check_lib_save_LIBS
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21312 $as_echo "$ac_cv_lib_m_tan" >&6; }
21313 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21315 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21320 $as_echo_n "checking for tanl in -lm... " >&6; }
21321 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21322 $as_echo_n "(cached) " >&6
21323 else
21324 ac_check_lib_save_LIBS=$LIBS
21325 LIBS="-lm $LIBS"
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21332 /* Override any GCC internal prototype to avoid an error.
21333 Use char because int might match the return type of a GCC
21334 builtin and then its argument prototype would still apply. */
21335 #ifdef __cplusplus
21336 extern "C"
21337 #endif
21338 char tanl ();
21340 main ()
21342 return tanl ();
21344 return 0;
21346 _ACEOF
21347 if ac_fn_c_try_link "$LINENO"; then :
21348 ac_cv_lib_m_tanl=yes
21349 else
21350 ac_cv_lib_m_tanl=no
21352 rm -f core conftest.err conftest.$ac_objext \
21353 conftest$ac_exeext conftest.$ac_ext
21354 LIBS=$ac_check_lib_save_LIBS
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21357 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21358 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21360 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21365 $as_echo_n "checking for ctanf in -lm... " >&6; }
21366 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21367 $as_echo_n "(cached) " >&6
21368 else
21369 ac_check_lib_save_LIBS=$LIBS
21370 LIBS="-lm $LIBS"
21371 if test x$gcc_no_link = xyes; then
21372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21377 /* Override any GCC internal prototype to avoid an error.
21378 Use char because int might match the return type of a GCC
21379 builtin and then its argument prototype would still apply. */
21380 #ifdef __cplusplus
21381 extern "C"
21382 #endif
21383 char ctanf ();
21385 main ()
21387 return ctanf ();
21389 return 0;
21391 _ACEOF
21392 if ac_fn_c_try_link "$LINENO"; then :
21393 ac_cv_lib_m_ctanf=yes
21394 else
21395 ac_cv_lib_m_ctanf=no
21397 rm -f core conftest.err conftest.$ac_objext \
21398 conftest$ac_exeext conftest.$ac_ext
21399 LIBS=$ac_check_lib_save_LIBS
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21402 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21403 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21405 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21410 $as_echo_n "checking for ctan in -lm... " >&6; }
21411 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21412 $as_echo_n "(cached) " >&6
21413 else
21414 ac_check_lib_save_LIBS=$LIBS
21415 LIBS="-lm $LIBS"
21416 if test x$gcc_no_link = xyes; then
21417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21420 /* end confdefs.h. */
21422 /* Override any GCC internal prototype to avoid an error.
21423 Use char because int might match the return type of a GCC
21424 builtin and then its argument prototype would still apply. */
21425 #ifdef __cplusplus
21426 extern "C"
21427 #endif
21428 char ctan ();
21430 main ()
21432 return ctan ();
21434 return 0;
21436 _ACEOF
21437 if ac_fn_c_try_link "$LINENO"; then :
21438 ac_cv_lib_m_ctan=yes
21439 else
21440 ac_cv_lib_m_ctan=no
21442 rm -f core conftest.err conftest.$ac_objext \
21443 conftest$ac_exeext conftest.$ac_ext
21444 LIBS=$ac_check_lib_save_LIBS
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21447 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21448 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21450 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21455 $as_echo_n "checking for ctanl in -lm... " >&6; }
21456 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21457 $as_echo_n "(cached) " >&6
21458 else
21459 ac_check_lib_save_LIBS=$LIBS
21460 LIBS="-lm $LIBS"
21461 if test x$gcc_no_link = xyes; then
21462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21467 /* Override any GCC internal prototype to avoid an error.
21468 Use char because int might match the return type of a GCC
21469 builtin and then its argument prototype would still apply. */
21470 #ifdef __cplusplus
21471 extern "C"
21472 #endif
21473 char ctanl ();
21475 main ()
21477 return ctanl ();
21479 return 0;
21481 _ACEOF
21482 if ac_fn_c_try_link "$LINENO"; then :
21483 ac_cv_lib_m_ctanl=yes
21484 else
21485 ac_cv_lib_m_ctanl=no
21487 rm -f core conftest.err conftest.$ac_objext \
21488 conftest$ac_exeext conftest.$ac_ext
21489 LIBS=$ac_check_lib_save_LIBS
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21492 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21493 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21495 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21500 $as_echo_n "checking for tanhf in -lm... " >&6; }
21501 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21502 $as_echo_n "(cached) " >&6
21503 else
21504 ac_check_lib_save_LIBS=$LIBS
21505 LIBS="-lm $LIBS"
21506 if test x$gcc_no_link = xyes; then
21507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21512 /* Override any GCC internal prototype to avoid an error.
21513 Use char because int might match the return type of a GCC
21514 builtin and then its argument prototype would still apply. */
21515 #ifdef __cplusplus
21516 extern "C"
21517 #endif
21518 char tanhf ();
21520 main ()
21522 return tanhf ();
21524 return 0;
21526 _ACEOF
21527 if ac_fn_c_try_link "$LINENO"; then :
21528 ac_cv_lib_m_tanhf=yes
21529 else
21530 ac_cv_lib_m_tanhf=no
21532 rm -f core conftest.err conftest.$ac_objext \
21533 conftest$ac_exeext conftest.$ac_ext
21534 LIBS=$ac_check_lib_save_LIBS
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21537 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21538 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21540 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21545 $as_echo_n "checking for tanh in -lm... " >&6; }
21546 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21547 $as_echo_n "(cached) " >&6
21548 else
21549 ac_check_lib_save_LIBS=$LIBS
21550 LIBS="-lm $LIBS"
21551 if test x$gcc_no_link = xyes; then
21552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21555 /* end confdefs.h. */
21557 /* Override any GCC internal prototype to avoid an error.
21558 Use char because int might match the return type of a GCC
21559 builtin and then its argument prototype would still apply. */
21560 #ifdef __cplusplus
21561 extern "C"
21562 #endif
21563 char tanh ();
21565 main ()
21567 return tanh ();
21569 return 0;
21571 _ACEOF
21572 if ac_fn_c_try_link "$LINENO"; then :
21573 ac_cv_lib_m_tanh=yes
21574 else
21575 ac_cv_lib_m_tanh=no
21577 rm -f core conftest.err conftest.$ac_objext \
21578 conftest$ac_exeext conftest.$ac_ext
21579 LIBS=$ac_check_lib_save_LIBS
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21582 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21583 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21585 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21590 $as_echo_n "checking for tanhl in -lm... " >&6; }
21591 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21592 $as_echo_n "(cached) " >&6
21593 else
21594 ac_check_lib_save_LIBS=$LIBS
21595 LIBS="-lm $LIBS"
21596 if test x$gcc_no_link = xyes; then
21597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21602 /* Override any GCC internal prototype to avoid an error.
21603 Use char because int might match the return type of a GCC
21604 builtin and then its argument prototype would still apply. */
21605 #ifdef __cplusplus
21606 extern "C"
21607 #endif
21608 char tanhl ();
21610 main ()
21612 return tanhl ();
21614 return 0;
21616 _ACEOF
21617 if ac_fn_c_try_link "$LINENO"; then :
21618 ac_cv_lib_m_tanhl=yes
21619 else
21620 ac_cv_lib_m_tanhl=no
21622 rm -f core conftest.err conftest.$ac_objext \
21623 conftest$ac_exeext conftest.$ac_ext
21624 LIBS=$ac_check_lib_save_LIBS
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21627 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21628 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21630 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21635 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21636 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21637 $as_echo_n "(cached) " >&6
21638 else
21639 ac_check_lib_save_LIBS=$LIBS
21640 LIBS="-lm $LIBS"
21641 if test x$gcc_no_link = xyes; then
21642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21647 /* Override any GCC internal prototype to avoid an error.
21648 Use char because int might match the return type of a GCC
21649 builtin and then its argument prototype would still apply. */
21650 #ifdef __cplusplus
21651 extern "C"
21652 #endif
21653 char ctanhf ();
21655 main ()
21657 return ctanhf ();
21659 return 0;
21661 _ACEOF
21662 if ac_fn_c_try_link "$LINENO"; then :
21663 ac_cv_lib_m_ctanhf=yes
21664 else
21665 ac_cv_lib_m_ctanhf=no
21667 rm -f core conftest.err conftest.$ac_objext \
21668 conftest$ac_exeext conftest.$ac_ext
21669 LIBS=$ac_check_lib_save_LIBS
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21672 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21673 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21675 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21680 $as_echo_n "checking for ctanh in -lm... " >&6; }
21681 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21682 $as_echo_n "(cached) " >&6
21683 else
21684 ac_check_lib_save_LIBS=$LIBS
21685 LIBS="-lm $LIBS"
21686 if test x$gcc_no_link = xyes; then
21687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21690 /* end confdefs.h. */
21692 /* Override any GCC internal prototype to avoid an error.
21693 Use char because int might match the return type of a GCC
21694 builtin and then its argument prototype would still apply. */
21695 #ifdef __cplusplus
21696 extern "C"
21697 #endif
21698 char ctanh ();
21700 main ()
21702 return ctanh ();
21704 return 0;
21706 _ACEOF
21707 if ac_fn_c_try_link "$LINENO"; then :
21708 ac_cv_lib_m_ctanh=yes
21709 else
21710 ac_cv_lib_m_ctanh=no
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21714 LIBS=$ac_check_lib_save_LIBS
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21717 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21718 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21720 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21725 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21726 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21727 $as_echo_n "(cached) " >&6
21728 else
21729 ac_check_lib_save_LIBS=$LIBS
21730 LIBS="-lm $LIBS"
21731 if test x$gcc_no_link = xyes; then
21732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21737 /* Override any GCC internal prototype to avoid an error.
21738 Use char because int might match the return type of a GCC
21739 builtin and then its argument prototype would still apply. */
21740 #ifdef __cplusplus
21741 extern "C"
21742 #endif
21743 char ctanhl ();
21745 main ()
21747 return ctanhl ();
21749 return 0;
21751 _ACEOF
21752 if ac_fn_c_try_link "$LINENO"; then :
21753 ac_cv_lib_m_ctanhl=yes
21754 else
21755 ac_cv_lib_m_ctanhl=no
21757 rm -f core conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21759 LIBS=$ac_check_lib_save_LIBS
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21762 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21763 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21765 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21770 $as_echo_n "checking for truncf in -lm... " >&6; }
21771 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21772 $as_echo_n "(cached) " >&6
21773 else
21774 ac_check_lib_save_LIBS=$LIBS
21775 LIBS="-lm $LIBS"
21776 if test x$gcc_no_link = xyes; then
21777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21782 /* Override any GCC internal prototype to avoid an error.
21783 Use char because int might match the return type of a GCC
21784 builtin and then its argument prototype would still apply. */
21785 #ifdef __cplusplus
21786 extern "C"
21787 #endif
21788 char truncf ();
21790 main ()
21792 return truncf ();
21794 return 0;
21796 _ACEOF
21797 if ac_fn_c_try_link "$LINENO"; then :
21798 ac_cv_lib_m_truncf=yes
21799 else
21800 ac_cv_lib_m_truncf=no
21802 rm -f core conftest.err conftest.$ac_objext \
21803 conftest$ac_exeext conftest.$ac_ext
21804 LIBS=$ac_check_lib_save_LIBS
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21807 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21808 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21810 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21815 $as_echo_n "checking for trunc in -lm... " >&6; }
21816 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21817 $as_echo_n "(cached) " >&6
21818 else
21819 ac_check_lib_save_LIBS=$LIBS
21820 LIBS="-lm $LIBS"
21821 if test x$gcc_no_link = xyes; then
21822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21825 /* end confdefs.h. */
21827 /* Override any GCC internal prototype to avoid an error.
21828 Use char because int might match the return type of a GCC
21829 builtin and then its argument prototype would still apply. */
21830 #ifdef __cplusplus
21831 extern "C"
21832 #endif
21833 char trunc ();
21835 main ()
21837 return trunc ();
21839 return 0;
21841 _ACEOF
21842 if ac_fn_c_try_link "$LINENO"; then :
21843 ac_cv_lib_m_trunc=yes
21844 else
21845 ac_cv_lib_m_trunc=no
21847 rm -f core conftest.err conftest.$ac_objext \
21848 conftest$ac_exeext conftest.$ac_ext
21849 LIBS=$ac_check_lib_save_LIBS
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21852 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21853 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21855 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21860 $as_echo_n "checking for truncl in -lm... " >&6; }
21861 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21862 $as_echo_n "(cached) " >&6
21863 else
21864 ac_check_lib_save_LIBS=$LIBS
21865 LIBS="-lm $LIBS"
21866 if test x$gcc_no_link = xyes; then
21867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21872 /* Override any GCC internal prototype to avoid an error.
21873 Use char because int might match the return type of a GCC
21874 builtin and then its argument prototype would still apply. */
21875 #ifdef __cplusplus
21876 extern "C"
21877 #endif
21878 char truncl ();
21880 main ()
21882 return truncl ();
21884 return 0;
21886 _ACEOF
21887 if ac_fn_c_try_link "$LINENO"; then :
21888 ac_cv_lib_m_truncl=yes
21889 else
21890 ac_cv_lib_m_truncl=no
21892 rm -f core conftest.err conftest.$ac_objext \
21893 conftest$ac_exeext conftest.$ac_ext
21894 LIBS=$ac_check_lib_save_LIBS
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21897 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21898 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21900 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21905 $as_echo_n "checking for erff in -lm... " >&6; }
21906 if test "${ac_cv_lib_m_erff+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21909 ac_check_lib_save_LIBS=$LIBS
21910 LIBS="-lm $LIBS"
21911 if test x$gcc_no_link = xyes; then
21912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21915 /* end confdefs.h. */
21917 /* Override any GCC internal prototype to avoid an error.
21918 Use char because int might match the return type of a GCC
21919 builtin and then its argument prototype would still apply. */
21920 #ifdef __cplusplus
21921 extern "C"
21922 #endif
21923 char erff ();
21925 main ()
21927 return erff ();
21929 return 0;
21931 _ACEOF
21932 if ac_fn_c_try_link "$LINENO"; then :
21933 ac_cv_lib_m_erff=yes
21934 else
21935 ac_cv_lib_m_erff=no
21937 rm -f core conftest.err conftest.$ac_objext \
21938 conftest$ac_exeext conftest.$ac_ext
21939 LIBS=$ac_check_lib_save_LIBS
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21942 $as_echo "$ac_cv_lib_m_erff" >&6; }
21943 if test "x$ac_cv_lib_m_erff" = x""yes; then :
21945 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21950 $as_echo_n "checking for erf in -lm... " >&6; }
21951 if test "${ac_cv_lib_m_erf+set}" = set; then :
21952 $as_echo_n "(cached) " >&6
21953 else
21954 ac_check_lib_save_LIBS=$LIBS
21955 LIBS="-lm $LIBS"
21956 if test x$gcc_no_link = xyes; then
21957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21960 /* end confdefs.h. */
21962 /* Override any GCC internal prototype to avoid an error.
21963 Use char because int might match the return type of a GCC
21964 builtin and then its argument prototype would still apply. */
21965 #ifdef __cplusplus
21966 extern "C"
21967 #endif
21968 char erf ();
21970 main ()
21972 return erf ();
21974 return 0;
21976 _ACEOF
21977 if ac_fn_c_try_link "$LINENO"; then :
21978 ac_cv_lib_m_erf=yes
21979 else
21980 ac_cv_lib_m_erf=no
21982 rm -f core conftest.err conftest.$ac_objext \
21983 conftest$ac_exeext conftest.$ac_ext
21984 LIBS=$ac_check_lib_save_LIBS
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
21987 $as_echo "$ac_cv_lib_m_erf" >&6; }
21988 if test "x$ac_cv_lib_m_erf" = x""yes; then :
21990 $as_echo "#define HAVE_ERF 1" >>confdefs.h
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
21995 $as_echo_n "checking for erfl in -lm... " >&6; }
21996 if test "${ac_cv_lib_m_erfl+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
21999 ac_check_lib_save_LIBS=$LIBS
22000 LIBS="-lm $LIBS"
22001 if test x$gcc_no_link = xyes; then
22002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22005 /* end confdefs.h. */
22007 /* Override any GCC internal prototype to avoid an error.
22008 Use char because int might match the return type of a GCC
22009 builtin and then its argument prototype would still apply. */
22010 #ifdef __cplusplus
22011 extern "C"
22012 #endif
22013 char erfl ();
22015 main ()
22017 return erfl ();
22019 return 0;
22021 _ACEOF
22022 if ac_fn_c_try_link "$LINENO"; then :
22023 ac_cv_lib_m_erfl=yes
22024 else
22025 ac_cv_lib_m_erfl=no
22027 rm -f core conftest.err conftest.$ac_objext \
22028 conftest$ac_exeext conftest.$ac_ext
22029 LIBS=$ac_check_lib_save_LIBS
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22032 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22033 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22035 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22040 $as_echo_n "checking for erfcf in -lm... " >&6; }
22041 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22043 else
22044 ac_check_lib_save_LIBS=$LIBS
22045 LIBS="-lm $LIBS"
22046 if test x$gcc_no_link = xyes; then
22047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22050 /* end confdefs.h. */
22052 /* Override any GCC internal prototype to avoid an error.
22053 Use char because int might match the return type of a GCC
22054 builtin and then its argument prototype would still apply. */
22055 #ifdef __cplusplus
22056 extern "C"
22057 #endif
22058 char erfcf ();
22060 main ()
22062 return erfcf ();
22064 return 0;
22066 _ACEOF
22067 if ac_fn_c_try_link "$LINENO"; then :
22068 ac_cv_lib_m_erfcf=yes
22069 else
22070 ac_cv_lib_m_erfcf=no
22072 rm -f core conftest.err conftest.$ac_objext \
22073 conftest$ac_exeext conftest.$ac_ext
22074 LIBS=$ac_check_lib_save_LIBS
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22077 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22078 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22080 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22085 $as_echo_n "checking for erfc in -lm... " >&6; }
22086 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22087 $as_echo_n "(cached) " >&6
22088 else
22089 ac_check_lib_save_LIBS=$LIBS
22090 LIBS="-lm $LIBS"
22091 if test x$gcc_no_link = xyes; then
22092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22097 /* Override any GCC internal prototype to avoid an error.
22098 Use char because int might match the return type of a GCC
22099 builtin and then its argument prototype would still apply. */
22100 #ifdef __cplusplus
22101 extern "C"
22102 #endif
22103 char erfc ();
22105 main ()
22107 return erfc ();
22109 return 0;
22111 _ACEOF
22112 if ac_fn_c_try_link "$LINENO"; then :
22113 ac_cv_lib_m_erfc=yes
22114 else
22115 ac_cv_lib_m_erfc=no
22117 rm -f core conftest.err conftest.$ac_objext \
22118 conftest$ac_exeext conftest.$ac_ext
22119 LIBS=$ac_check_lib_save_LIBS
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22122 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22123 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22125 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22130 $as_echo_n "checking for erfcl in -lm... " >&6; }
22131 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22132 $as_echo_n "(cached) " >&6
22133 else
22134 ac_check_lib_save_LIBS=$LIBS
22135 LIBS="-lm $LIBS"
22136 if test x$gcc_no_link = xyes; then
22137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22142 /* Override any GCC internal prototype to avoid an error.
22143 Use char because int might match the return type of a GCC
22144 builtin and then its argument prototype would still apply. */
22145 #ifdef __cplusplus
22146 extern "C"
22147 #endif
22148 char erfcl ();
22150 main ()
22152 return erfcl ();
22154 return 0;
22156 _ACEOF
22157 if ac_fn_c_try_link "$LINENO"; then :
22158 ac_cv_lib_m_erfcl=yes
22159 else
22160 ac_cv_lib_m_erfcl=no
22162 rm -f core conftest.err conftest.$ac_objext \
22163 conftest$ac_exeext conftest.$ac_ext
22164 LIBS=$ac_check_lib_save_LIBS
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22167 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22168 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22170 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22175 $as_echo_n "checking for j0f in -lm... " >&6; }
22176 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22177 $as_echo_n "(cached) " >&6
22178 else
22179 ac_check_lib_save_LIBS=$LIBS
22180 LIBS="-lm $LIBS"
22181 if test x$gcc_no_link = xyes; then
22182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22187 /* Override any GCC internal prototype to avoid an error.
22188 Use char because int might match the return type of a GCC
22189 builtin and then its argument prototype would still apply. */
22190 #ifdef __cplusplus
22191 extern "C"
22192 #endif
22193 char j0f ();
22195 main ()
22197 return j0f ();
22199 return 0;
22201 _ACEOF
22202 if ac_fn_c_try_link "$LINENO"; then :
22203 ac_cv_lib_m_j0f=yes
22204 else
22205 ac_cv_lib_m_j0f=no
22207 rm -f core conftest.err conftest.$ac_objext \
22208 conftest$ac_exeext conftest.$ac_ext
22209 LIBS=$ac_check_lib_save_LIBS
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22212 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22213 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22215 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22220 $as_echo_n "checking for j0 in -lm... " >&6; }
22221 if test "${ac_cv_lib_m_j0+set}" = set; then :
22222 $as_echo_n "(cached) " >&6
22223 else
22224 ac_check_lib_save_LIBS=$LIBS
22225 LIBS="-lm $LIBS"
22226 if test x$gcc_no_link = xyes; then
22227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22230 /* end confdefs.h. */
22232 /* Override any GCC internal prototype to avoid an error.
22233 Use char because int might match the return type of a GCC
22234 builtin and then its argument prototype would still apply. */
22235 #ifdef __cplusplus
22236 extern "C"
22237 #endif
22238 char j0 ();
22240 main ()
22242 return j0 ();
22244 return 0;
22246 _ACEOF
22247 if ac_fn_c_try_link "$LINENO"; then :
22248 ac_cv_lib_m_j0=yes
22249 else
22250 ac_cv_lib_m_j0=no
22252 rm -f core conftest.err conftest.$ac_objext \
22253 conftest$ac_exeext conftest.$ac_ext
22254 LIBS=$ac_check_lib_save_LIBS
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22257 $as_echo "$ac_cv_lib_m_j0" >&6; }
22258 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22260 $as_echo "#define HAVE_J0 1" >>confdefs.h
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22265 $as_echo_n "checking for j0l in -lm... " >&6; }
22266 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269 ac_check_lib_save_LIBS=$LIBS
22270 LIBS="-lm $LIBS"
22271 if test x$gcc_no_link = xyes; then
22272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22275 /* end confdefs.h. */
22277 /* Override any GCC internal prototype to avoid an error.
22278 Use char because int might match the return type of a GCC
22279 builtin and then its argument prototype would still apply. */
22280 #ifdef __cplusplus
22281 extern "C"
22282 #endif
22283 char j0l ();
22285 main ()
22287 return j0l ();
22289 return 0;
22291 _ACEOF
22292 if ac_fn_c_try_link "$LINENO"; then :
22293 ac_cv_lib_m_j0l=yes
22294 else
22295 ac_cv_lib_m_j0l=no
22297 rm -f core conftest.err conftest.$ac_objext \
22298 conftest$ac_exeext conftest.$ac_ext
22299 LIBS=$ac_check_lib_save_LIBS
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22302 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22303 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22305 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22310 $as_echo_n "checking for j1f in -lm... " >&6; }
22311 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22312 $as_echo_n "(cached) " >&6
22313 else
22314 ac_check_lib_save_LIBS=$LIBS
22315 LIBS="-lm $LIBS"
22316 if test x$gcc_no_link = xyes; then
22317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22320 /* end confdefs.h. */
22322 /* Override any GCC internal prototype to avoid an error.
22323 Use char because int might match the return type of a GCC
22324 builtin and then its argument prototype would still apply. */
22325 #ifdef __cplusplus
22326 extern "C"
22327 #endif
22328 char j1f ();
22330 main ()
22332 return j1f ();
22334 return 0;
22336 _ACEOF
22337 if ac_fn_c_try_link "$LINENO"; then :
22338 ac_cv_lib_m_j1f=yes
22339 else
22340 ac_cv_lib_m_j1f=no
22342 rm -f core conftest.err conftest.$ac_objext \
22343 conftest$ac_exeext conftest.$ac_ext
22344 LIBS=$ac_check_lib_save_LIBS
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22347 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22348 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22350 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22355 $as_echo_n "checking for j1 in -lm... " >&6; }
22356 if test "${ac_cv_lib_m_j1+set}" = set; then :
22357 $as_echo_n "(cached) " >&6
22358 else
22359 ac_check_lib_save_LIBS=$LIBS
22360 LIBS="-lm $LIBS"
22361 if test x$gcc_no_link = xyes; then
22362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h. */
22367 /* Override any GCC internal prototype to avoid an error.
22368 Use char because int might match the return type of a GCC
22369 builtin and then its argument prototype would still apply. */
22370 #ifdef __cplusplus
22371 extern "C"
22372 #endif
22373 char j1 ();
22375 main ()
22377 return j1 ();
22379 return 0;
22381 _ACEOF
22382 if ac_fn_c_try_link "$LINENO"; then :
22383 ac_cv_lib_m_j1=yes
22384 else
22385 ac_cv_lib_m_j1=no
22387 rm -f core conftest.err conftest.$ac_objext \
22388 conftest$ac_exeext conftest.$ac_ext
22389 LIBS=$ac_check_lib_save_LIBS
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22392 $as_echo "$ac_cv_lib_m_j1" >&6; }
22393 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22395 $as_echo "#define HAVE_J1 1" >>confdefs.h
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22400 $as_echo_n "checking for j1l in -lm... " >&6; }
22401 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22402 $as_echo_n "(cached) " >&6
22403 else
22404 ac_check_lib_save_LIBS=$LIBS
22405 LIBS="-lm $LIBS"
22406 if test x$gcc_no_link = xyes; then
22407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22410 /* end confdefs.h. */
22412 /* Override any GCC internal prototype to avoid an error.
22413 Use char because int might match the return type of a GCC
22414 builtin and then its argument prototype would still apply. */
22415 #ifdef __cplusplus
22416 extern "C"
22417 #endif
22418 char j1l ();
22420 main ()
22422 return j1l ();
22424 return 0;
22426 _ACEOF
22427 if ac_fn_c_try_link "$LINENO"; then :
22428 ac_cv_lib_m_j1l=yes
22429 else
22430 ac_cv_lib_m_j1l=no
22432 rm -f core conftest.err conftest.$ac_objext \
22433 conftest$ac_exeext conftest.$ac_ext
22434 LIBS=$ac_check_lib_save_LIBS
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22437 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22438 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22440 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22445 $as_echo_n "checking for jnf in -lm... " >&6; }
22446 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22447 $as_echo_n "(cached) " >&6
22448 else
22449 ac_check_lib_save_LIBS=$LIBS
22450 LIBS="-lm $LIBS"
22451 if test x$gcc_no_link = xyes; then
22452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22457 /* Override any GCC internal prototype to avoid an error.
22458 Use char because int might match the return type of a GCC
22459 builtin and then its argument prototype would still apply. */
22460 #ifdef __cplusplus
22461 extern "C"
22462 #endif
22463 char jnf ();
22465 main ()
22467 return jnf ();
22469 return 0;
22471 _ACEOF
22472 if ac_fn_c_try_link "$LINENO"; then :
22473 ac_cv_lib_m_jnf=yes
22474 else
22475 ac_cv_lib_m_jnf=no
22477 rm -f core conftest.err conftest.$ac_objext \
22478 conftest$ac_exeext conftest.$ac_ext
22479 LIBS=$ac_check_lib_save_LIBS
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22482 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22483 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22485 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22490 $as_echo_n "checking for jn in -lm... " >&6; }
22491 if test "${ac_cv_lib_m_jn+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22493 else
22494 ac_check_lib_save_LIBS=$LIBS
22495 LIBS="-lm $LIBS"
22496 if test x$gcc_no_link = xyes; then
22497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h. */
22502 /* Override any GCC internal prototype to avoid an error.
22503 Use char because int might match the return type of a GCC
22504 builtin and then its argument prototype would still apply. */
22505 #ifdef __cplusplus
22506 extern "C"
22507 #endif
22508 char jn ();
22510 main ()
22512 return jn ();
22514 return 0;
22516 _ACEOF
22517 if ac_fn_c_try_link "$LINENO"; then :
22518 ac_cv_lib_m_jn=yes
22519 else
22520 ac_cv_lib_m_jn=no
22522 rm -f core conftest.err conftest.$ac_objext \
22523 conftest$ac_exeext conftest.$ac_ext
22524 LIBS=$ac_check_lib_save_LIBS
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22527 $as_echo "$ac_cv_lib_m_jn" >&6; }
22528 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22530 $as_echo "#define HAVE_JN 1" >>confdefs.h
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22535 $as_echo_n "checking for jnl in -lm... " >&6; }
22536 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22537 $as_echo_n "(cached) " >&6
22538 else
22539 ac_check_lib_save_LIBS=$LIBS
22540 LIBS="-lm $LIBS"
22541 if test x$gcc_no_link = xyes; then
22542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22547 /* Override any GCC internal prototype to avoid an error.
22548 Use char because int might match the return type of a GCC
22549 builtin and then its argument prototype would still apply. */
22550 #ifdef __cplusplus
22551 extern "C"
22552 #endif
22553 char jnl ();
22555 main ()
22557 return jnl ();
22559 return 0;
22561 _ACEOF
22562 if ac_fn_c_try_link "$LINENO"; then :
22563 ac_cv_lib_m_jnl=yes
22564 else
22565 ac_cv_lib_m_jnl=no
22567 rm -f core conftest.err conftest.$ac_objext \
22568 conftest$ac_exeext conftest.$ac_ext
22569 LIBS=$ac_check_lib_save_LIBS
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22572 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22573 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22575 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22580 $as_echo_n "checking for y0f in -lm... " >&6; }
22581 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22584 ac_check_lib_save_LIBS=$LIBS
22585 LIBS="-lm $LIBS"
22586 if test x$gcc_no_link = xyes; then
22587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22590 /* end confdefs.h. */
22592 /* Override any GCC internal prototype to avoid an error.
22593 Use char because int might match the return type of a GCC
22594 builtin and then its argument prototype would still apply. */
22595 #ifdef __cplusplus
22596 extern "C"
22597 #endif
22598 char y0f ();
22600 main ()
22602 return y0f ();
22604 return 0;
22606 _ACEOF
22607 if ac_fn_c_try_link "$LINENO"; then :
22608 ac_cv_lib_m_y0f=yes
22609 else
22610 ac_cv_lib_m_y0f=no
22612 rm -f core conftest.err conftest.$ac_objext \
22613 conftest$ac_exeext conftest.$ac_ext
22614 LIBS=$ac_check_lib_save_LIBS
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22617 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22618 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22620 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22625 $as_echo_n "checking for y0 in -lm... " >&6; }
22626 if test "${ac_cv_lib_m_y0+set}" = set; then :
22627 $as_echo_n "(cached) " >&6
22628 else
22629 ac_check_lib_save_LIBS=$LIBS
22630 LIBS="-lm $LIBS"
22631 if test x$gcc_no_link = xyes; then
22632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22637 /* Override any GCC internal prototype to avoid an error.
22638 Use char because int might match the return type of a GCC
22639 builtin and then its argument prototype would still apply. */
22640 #ifdef __cplusplus
22641 extern "C"
22642 #endif
22643 char y0 ();
22645 main ()
22647 return y0 ();
22649 return 0;
22651 _ACEOF
22652 if ac_fn_c_try_link "$LINENO"; then :
22653 ac_cv_lib_m_y0=yes
22654 else
22655 ac_cv_lib_m_y0=no
22657 rm -f core conftest.err conftest.$ac_objext \
22658 conftest$ac_exeext conftest.$ac_ext
22659 LIBS=$ac_check_lib_save_LIBS
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22662 $as_echo "$ac_cv_lib_m_y0" >&6; }
22663 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22665 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22670 $as_echo_n "checking for y0l in -lm... " >&6; }
22671 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22672 $as_echo_n "(cached) " >&6
22673 else
22674 ac_check_lib_save_LIBS=$LIBS
22675 LIBS="-lm $LIBS"
22676 if test x$gcc_no_link = xyes; then
22677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 /* Override any GCC internal prototype to avoid an error.
22683 Use char because int might match the return type of a GCC
22684 builtin and then its argument prototype would still apply. */
22685 #ifdef __cplusplus
22686 extern "C"
22687 #endif
22688 char y0l ();
22690 main ()
22692 return y0l ();
22694 return 0;
22696 _ACEOF
22697 if ac_fn_c_try_link "$LINENO"; then :
22698 ac_cv_lib_m_y0l=yes
22699 else
22700 ac_cv_lib_m_y0l=no
22702 rm -f core conftest.err conftest.$ac_objext \
22703 conftest$ac_exeext conftest.$ac_ext
22704 LIBS=$ac_check_lib_save_LIBS
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22707 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22708 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22710 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22715 $as_echo_n "checking for y1f in -lm... " >&6; }
22716 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22718 else
22719 ac_check_lib_save_LIBS=$LIBS
22720 LIBS="-lm $LIBS"
22721 if test x$gcc_no_link = xyes; then
22722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22725 /* end confdefs.h. */
22727 /* Override any GCC internal prototype to avoid an error.
22728 Use char because int might match the return type of a GCC
22729 builtin and then its argument prototype would still apply. */
22730 #ifdef __cplusplus
22731 extern "C"
22732 #endif
22733 char y1f ();
22735 main ()
22737 return y1f ();
22739 return 0;
22741 _ACEOF
22742 if ac_fn_c_try_link "$LINENO"; then :
22743 ac_cv_lib_m_y1f=yes
22744 else
22745 ac_cv_lib_m_y1f=no
22747 rm -f core conftest.err conftest.$ac_objext \
22748 conftest$ac_exeext conftest.$ac_ext
22749 LIBS=$ac_check_lib_save_LIBS
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22752 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22753 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22755 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22760 $as_echo_n "checking for y1 in -lm... " >&6; }
22761 if test "${ac_cv_lib_m_y1+set}" = set; then :
22762 $as_echo_n "(cached) " >&6
22763 else
22764 ac_check_lib_save_LIBS=$LIBS
22765 LIBS="-lm $LIBS"
22766 if test x$gcc_no_link = xyes; then
22767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22770 /* end confdefs.h. */
22772 /* Override any GCC internal prototype to avoid an error.
22773 Use char because int might match the return type of a GCC
22774 builtin and then its argument prototype would still apply. */
22775 #ifdef __cplusplus
22776 extern "C"
22777 #endif
22778 char y1 ();
22780 main ()
22782 return y1 ();
22784 return 0;
22786 _ACEOF
22787 if ac_fn_c_try_link "$LINENO"; then :
22788 ac_cv_lib_m_y1=yes
22789 else
22790 ac_cv_lib_m_y1=no
22792 rm -f core conftest.err conftest.$ac_objext \
22793 conftest$ac_exeext conftest.$ac_ext
22794 LIBS=$ac_check_lib_save_LIBS
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22797 $as_echo "$ac_cv_lib_m_y1" >&6; }
22798 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22800 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22805 $as_echo_n "checking for y1l in -lm... " >&6; }
22806 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22807 $as_echo_n "(cached) " >&6
22808 else
22809 ac_check_lib_save_LIBS=$LIBS
22810 LIBS="-lm $LIBS"
22811 if test x$gcc_no_link = xyes; then
22812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22815 /* end confdefs.h. */
22817 /* Override any GCC internal prototype to avoid an error.
22818 Use char because int might match the return type of a GCC
22819 builtin and then its argument prototype would still apply. */
22820 #ifdef __cplusplus
22821 extern "C"
22822 #endif
22823 char y1l ();
22825 main ()
22827 return y1l ();
22829 return 0;
22831 _ACEOF
22832 if ac_fn_c_try_link "$LINENO"; then :
22833 ac_cv_lib_m_y1l=yes
22834 else
22835 ac_cv_lib_m_y1l=no
22837 rm -f core conftest.err conftest.$ac_objext \
22838 conftest$ac_exeext conftest.$ac_ext
22839 LIBS=$ac_check_lib_save_LIBS
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22842 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22843 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22845 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22850 $as_echo_n "checking for ynf in -lm... " >&6; }
22851 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22852 $as_echo_n "(cached) " >&6
22853 else
22854 ac_check_lib_save_LIBS=$LIBS
22855 LIBS="-lm $LIBS"
22856 if test x$gcc_no_link = xyes; then
22857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22862 /* Override any GCC internal prototype to avoid an error.
22863 Use char because int might match the return type of a GCC
22864 builtin and then its argument prototype would still apply. */
22865 #ifdef __cplusplus
22866 extern "C"
22867 #endif
22868 char ynf ();
22870 main ()
22872 return ynf ();
22874 return 0;
22876 _ACEOF
22877 if ac_fn_c_try_link "$LINENO"; then :
22878 ac_cv_lib_m_ynf=yes
22879 else
22880 ac_cv_lib_m_ynf=no
22882 rm -f core conftest.err conftest.$ac_objext \
22883 conftest$ac_exeext conftest.$ac_ext
22884 LIBS=$ac_check_lib_save_LIBS
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22887 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22888 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22890 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22895 $as_echo_n "checking for yn in -lm... " >&6; }
22896 if test "${ac_cv_lib_m_yn+set}" = set; then :
22897 $as_echo_n "(cached) " >&6
22898 else
22899 ac_check_lib_save_LIBS=$LIBS
22900 LIBS="-lm $LIBS"
22901 if test x$gcc_no_link = xyes; then
22902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22907 /* Override any GCC internal prototype to avoid an error.
22908 Use char because int might match the return type of a GCC
22909 builtin and then its argument prototype would still apply. */
22910 #ifdef __cplusplus
22911 extern "C"
22912 #endif
22913 char yn ();
22915 main ()
22917 return yn ();
22919 return 0;
22921 _ACEOF
22922 if ac_fn_c_try_link "$LINENO"; then :
22923 ac_cv_lib_m_yn=yes
22924 else
22925 ac_cv_lib_m_yn=no
22927 rm -f core conftest.err conftest.$ac_objext \
22928 conftest$ac_exeext conftest.$ac_ext
22929 LIBS=$ac_check_lib_save_LIBS
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22932 $as_echo "$ac_cv_lib_m_yn" >&6; }
22933 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22935 $as_echo "#define HAVE_YN 1" >>confdefs.h
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22940 $as_echo_n "checking for ynl in -lm... " >&6; }
22941 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22942 $as_echo_n "(cached) " >&6
22943 else
22944 ac_check_lib_save_LIBS=$LIBS
22945 LIBS="-lm $LIBS"
22946 if test x$gcc_no_link = xyes; then
22947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22950 /* end confdefs.h. */
22952 /* Override any GCC internal prototype to avoid an error.
22953 Use char because int might match the return type of a GCC
22954 builtin and then its argument prototype would still apply. */
22955 #ifdef __cplusplus
22956 extern "C"
22957 #endif
22958 char ynl ();
22960 main ()
22962 return ynl ();
22964 return 0;
22966 _ACEOF
22967 if ac_fn_c_try_link "$LINENO"; then :
22968 ac_cv_lib_m_ynl=yes
22969 else
22970 ac_cv_lib_m_ynl=no
22972 rm -f core conftest.err conftest.$ac_objext \
22973 conftest$ac_exeext conftest.$ac_ext
22974 LIBS=$ac_check_lib_save_LIBS
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
22977 $as_echo "$ac_cv_lib_m_ynl" >&6; }
22978 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
22980 $as_echo "#define HAVE_YNL 1" >>confdefs.h
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
22985 $as_echo_n "checking for tgamma in -lm... " >&6; }
22986 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
22987 $as_echo_n "(cached) " >&6
22988 else
22989 ac_check_lib_save_LIBS=$LIBS
22990 LIBS="-lm $LIBS"
22991 if test x$gcc_no_link = xyes; then
22992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
22997 /* Override any GCC internal prototype to avoid an error.
22998 Use char because int might match the return type of a GCC
22999 builtin and then its argument prototype would still apply. */
23000 #ifdef __cplusplus
23001 extern "C"
23002 #endif
23003 char tgamma ();
23005 main ()
23007 return tgamma ();
23009 return 0;
23011 _ACEOF
23012 if ac_fn_c_try_link "$LINENO"; then :
23013 ac_cv_lib_m_tgamma=yes
23014 else
23015 ac_cv_lib_m_tgamma=no
23017 rm -f core conftest.err conftest.$ac_objext \
23018 conftest$ac_exeext conftest.$ac_ext
23019 LIBS=$ac_check_lib_save_LIBS
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23022 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23023 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23025 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23030 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23031 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23032 $as_echo_n "(cached) " >&6
23033 else
23034 ac_check_lib_save_LIBS=$LIBS
23035 LIBS="-lm $LIBS"
23036 if test x$gcc_no_link = xyes; then
23037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23042 /* Override any GCC internal prototype to avoid an error.
23043 Use char because int might match the return type of a GCC
23044 builtin and then its argument prototype would still apply. */
23045 #ifdef __cplusplus
23046 extern "C"
23047 #endif
23048 char tgammaf ();
23050 main ()
23052 return tgammaf ();
23054 return 0;
23056 _ACEOF
23057 if ac_fn_c_try_link "$LINENO"; then :
23058 ac_cv_lib_m_tgammaf=yes
23059 else
23060 ac_cv_lib_m_tgammaf=no
23062 rm -f core conftest.err conftest.$ac_objext \
23063 conftest$ac_exeext conftest.$ac_ext
23064 LIBS=$ac_check_lib_save_LIBS
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23067 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23068 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23070 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23075 $as_echo_n "checking for tgammal in -lm... " >&6; }
23076 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23077 $as_echo_n "(cached) " >&6
23078 else
23079 ac_check_lib_save_LIBS=$LIBS
23080 LIBS="-lm $LIBS"
23081 if test x$gcc_no_link = xyes; then
23082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23085 /* end confdefs.h. */
23087 /* Override any GCC internal prototype to avoid an error.
23088 Use char because int might match the return type of a GCC
23089 builtin and then its argument prototype would still apply. */
23090 #ifdef __cplusplus
23091 extern "C"
23092 #endif
23093 char tgammal ();
23095 main ()
23097 return tgammal ();
23099 return 0;
23101 _ACEOF
23102 if ac_fn_c_try_link "$LINENO"; then :
23103 ac_cv_lib_m_tgammal=yes
23104 else
23105 ac_cv_lib_m_tgammal=no
23107 rm -f core conftest.err conftest.$ac_objext \
23108 conftest$ac_exeext conftest.$ac_ext
23109 LIBS=$ac_check_lib_save_LIBS
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23112 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23113 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23115 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23120 $as_echo_n "checking for lgamma in -lm... " >&6; }
23121 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23122 $as_echo_n "(cached) " >&6
23123 else
23124 ac_check_lib_save_LIBS=$LIBS
23125 LIBS="-lm $LIBS"
23126 if test x$gcc_no_link = xyes; then
23127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23130 /* end confdefs.h. */
23132 /* Override any GCC internal prototype to avoid an error.
23133 Use char because int might match the return type of a GCC
23134 builtin and then its argument prototype would still apply. */
23135 #ifdef __cplusplus
23136 extern "C"
23137 #endif
23138 char lgamma ();
23140 main ()
23142 return lgamma ();
23144 return 0;
23146 _ACEOF
23147 if ac_fn_c_try_link "$LINENO"; then :
23148 ac_cv_lib_m_lgamma=yes
23149 else
23150 ac_cv_lib_m_lgamma=no
23152 rm -f core conftest.err conftest.$ac_objext \
23153 conftest$ac_exeext conftest.$ac_ext
23154 LIBS=$ac_check_lib_save_LIBS
23156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23157 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23158 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23160 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23165 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23166 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23167 $as_echo_n "(cached) " >&6
23168 else
23169 ac_check_lib_save_LIBS=$LIBS
23170 LIBS="-lm $LIBS"
23171 if test x$gcc_no_link = xyes; then
23172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23177 /* Override any GCC internal prototype to avoid an error.
23178 Use char because int might match the return type of a GCC
23179 builtin and then its argument prototype would still apply. */
23180 #ifdef __cplusplus
23181 extern "C"
23182 #endif
23183 char lgammaf ();
23185 main ()
23187 return lgammaf ();
23189 return 0;
23191 _ACEOF
23192 if ac_fn_c_try_link "$LINENO"; then :
23193 ac_cv_lib_m_lgammaf=yes
23194 else
23195 ac_cv_lib_m_lgammaf=no
23197 rm -f core conftest.err conftest.$ac_objext \
23198 conftest$ac_exeext conftest.$ac_ext
23199 LIBS=$ac_check_lib_save_LIBS
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23202 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23203 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23205 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23210 $as_echo_n "checking for lgammal in -lm... " >&6; }
23211 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23213 else
23214 ac_check_lib_save_LIBS=$LIBS
23215 LIBS="-lm $LIBS"
23216 if test x$gcc_no_link = xyes; then
23217 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23220 /* end confdefs.h. */
23222 /* Override any GCC internal prototype to avoid an error.
23223 Use char because int might match the return type of a GCC
23224 builtin and then its argument prototype would still apply. */
23225 #ifdef __cplusplus
23226 extern "C"
23227 #endif
23228 char lgammal ();
23230 main ()
23232 return lgammal ();
23234 return 0;
23236 _ACEOF
23237 if ac_fn_c_try_link "$LINENO"; then :
23238 ac_cv_lib_m_lgammal=yes
23239 else
23240 ac_cv_lib_m_lgammal=no
23242 rm -f core conftest.err conftest.$ac_objext \
23243 conftest$ac_exeext conftest.$ac_ext
23244 LIBS=$ac_check_lib_save_LIBS
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23247 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23248 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23250 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23255 # Check for GFORTRAN_C99_1.1 funcs
23256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23257 $as_echo_n "checking for cacos in -lm... " >&6; }
23258 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23259 $as_echo_n "(cached) " >&6
23260 else
23261 ac_check_lib_save_LIBS=$LIBS
23262 LIBS="-lm $LIBS"
23263 if test x$gcc_no_link = xyes; then
23264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23269 /* Override any GCC internal prototype to avoid an error.
23270 Use char because int might match the return type of a GCC
23271 builtin and then its argument prototype would still apply. */
23272 #ifdef __cplusplus
23273 extern "C"
23274 #endif
23275 char cacos ();
23277 main ()
23279 return cacos ();
23281 return 0;
23283 _ACEOF
23284 if ac_fn_c_try_link "$LINENO"; then :
23285 ac_cv_lib_m_cacos=yes
23286 else
23287 ac_cv_lib_m_cacos=no
23289 rm -f core conftest.err conftest.$ac_objext \
23290 conftest$ac_exeext conftest.$ac_ext
23291 LIBS=$ac_check_lib_save_LIBS
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23294 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23295 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23297 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23302 $as_echo_n "checking for cacosf in -lm... " >&6; }
23303 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23304 $as_echo_n "(cached) " >&6
23305 else
23306 ac_check_lib_save_LIBS=$LIBS
23307 LIBS="-lm $LIBS"
23308 if test x$gcc_no_link = xyes; then
23309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23314 /* Override any GCC internal prototype to avoid an error.
23315 Use char because int might match the return type of a GCC
23316 builtin and then its argument prototype would still apply. */
23317 #ifdef __cplusplus
23318 extern "C"
23319 #endif
23320 char cacosf ();
23322 main ()
23324 return cacosf ();
23326 return 0;
23328 _ACEOF
23329 if ac_fn_c_try_link "$LINENO"; then :
23330 ac_cv_lib_m_cacosf=yes
23331 else
23332 ac_cv_lib_m_cacosf=no
23334 rm -f core conftest.err conftest.$ac_objext \
23335 conftest$ac_exeext conftest.$ac_ext
23336 LIBS=$ac_check_lib_save_LIBS
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23339 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23340 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23342 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23347 $as_echo_n "checking for cacosh in -lm... " >&6; }
23348 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23349 $as_echo_n "(cached) " >&6
23350 else
23351 ac_check_lib_save_LIBS=$LIBS
23352 LIBS="-lm $LIBS"
23353 if test x$gcc_no_link = xyes; then
23354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23357 /* end confdefs.h. */
23359 /* Override any GCC internal prototype to avoid an error.
23360 Use char because int might match the return type of a GCC
23361 builtin and then its argument prototype would still apply. */
23362 #ifdef __cplusplus
23363 extern "C"
23364 #endif
23365 char cacosh ();
23367 main ()
23369 return cacosh ();
23371 return 0;
23373 _ACEOF
23374 if ac_fn_c_try_link "$LINENO"; then :
23375 ac_cv_lib_m_cacosh=yes
23376 else
23377 ac_cv_lib_m_cacosh=no
23379 rm -f core conftest.err conftest.$ac_objext \
23380 conftest$ac_exeext conftest.$ac_ext
23381 LIBS=$ac_check_lib_save_LIBS
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23384 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23385 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23387 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23392 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23393 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23395 else
23396 ac_check_lib_save_LIBS=$LIBS
23397 LIBS="-lm $LIBS"
23398 if test x$gcc_no_link = xyes; then
23399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23402 /* end confdefs.h. */
23404 /* Override any GCC internal prototype to avoid an error.
23405 Use char because int might match the return type of a GCC
23406 builtin and then its argument prototype would still apply. */
23407 #ifdef __cplusplus
23408 extern "C"
23409 #endif
23410 char cacoshf ();
23412 main ()
23414 return cacoshf ();
23416 return 0;
23418 _ACEOF
23419 if ac_fn_c_try_link "$LINENO"; then :
23420 ac_cv_lib_m_cacoshf=yes
23421 else
23422 ac_cv_lib_m_cacoshf=no
23424 rm -f core conftest.err conftest.$ac_objext \
23425 conftest$ac_exeext conftest.$ac_ext
23426 LIBS=$ac_check_lib_save_LIBS
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23429 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23430 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23432 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23437 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23438 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23439 $as_echo_n "(cached) " >&6
23440 else
23441 ac_check_lib_save_LIBS=$LIBS
23442 LIBS="-lm $LIBS"
23443 if test x$gcc_no_link = xyes; then
23444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23447 /* end confdefs.h. */
23449 /* Override any GCC internal prototype to avoid an error.
23450 Use char because int might match the return type of a GCC
23451 builtin and then its argument prototype would still apply. */
23452 #ifdef __cplusplus
23453 extern "C"
23454 #endif
23455 char cacoshl ();
23457 main ()
23459 return cacoshl ();
23461 return 0;
23463 _ACEOF
23464 if ac_fn_c_try_link "$LINENO"; then :
23465 ac_cv_lib_m_cacoshl=yes
23466 else
23467 ac_cv_lib_m_cacoshl=no
23469 rm -f core conftest.err conftest.$ac_objext \
23470 conftest$ac_exeext conftest.$ac_ext
23471 LIBS=$ac_check_lib_save_LIBS
23473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23474 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23475 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23477 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23482 $as_echo_n "checking for cacosl in -lm... " >&6; }
23483 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23486 ac_check_lib_save_LIBS=$LIBS
23487 LIBS="-lm $LIBS"
23488 if test x$gcc_no_link = xyes; then
23489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23492 /* end confdefs.h. */
23494 /* Override any GCC internal prototype to avoid an error.
23495 Use char because int might match the return type of a GCC
23496 builtin and then its argument prototype would still apply. */
23497 #ifdef __cplusplus
23498 extern "C"
23499 #endif
23500 char cacosl ();
23502 main ()
23504 return cacosl ();
23506 return 0;
23508 _ACEOF
23509 if ac_fn_c_try_link "$LINENO"; then :
23510 ac_cv_lib_m_cacosl=yes
23511 else
23512 ac_cv_lib_m_cacosl=no
23514 rm -f core conftest.err conftest.$ac_objext \
23515 conftest$ac_exeext conftest.$ac_ext
23516 LIBS=$ac_check_lib_save_LIBS
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23519 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23520 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23522 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23527 $as_echo_n "checking for casin in -lm... " >&6; }
23528 if test "${ac_cv_lib_m_casin+set}" = set; then :
23529 $as_echo_n "(cached) " >&6
23530 else
23531 ac_check_lib_save_LIBS=$LIBS
23532 LIBS="-lm $LIBS"
23533 if test x$gcc_no_link = xyes; then
23534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h. */
23539 /* Override any GCC internal prototype to avoid an error.
23540 Use char because int might match the return type of a GCC
23541 builtin and then its argument prototype would still apply. */
23542 #ifdef __cplusplus
23543 extern "C"
23544 #endif
23545 char casin ();
23547 main ()
23549 return casin ();
23551 return 0;
23553 _ACEOF
23554 if ac_fn_c_try_link "$LINENO"; then :
23555 ac_cv_lib_m_casin=yes
23556 else
23557 ac_cv_lib_m_casin=no
23559 rm -f core conftest.err conftest.$ac_objext \
23560 conftest$ac_exeext conftest.$ac_ext
23561 LIBS=$ac_check_lib_save_LIBS
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23564 $as_echo "$ac_cv_lib_m_casin" >&6; }
23565 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23567 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23572 $as_echo_n "checking for casinf in -lm... " >&6; }
23573 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23576 ac_check_lib_save_LIBS=$LIBS
23577 LIBS="-lm $LIBS"
23578 if test x$gcc_no_link = xyes; then
23579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23584 /* Override any GCC internal prototype to avoid an error.
23585 Use char because int might match the return type of a GCC
23586 builtin and then its argument prototype would still apply. */
23587 #ifdef __cplusplus
23588 extern "C"
23589 #endif
23590 char casinf ();
23592 main ()
23594 return casinf ();
23596 return 0;
23598 _ACEOF
23599 if ac_fn_c_try_link "$LINENO"; then :
23600 ac_cv_lib_m_casinf=yes
23601 else
23602 ac_cv_lib_m_casinf=no
23604 rm -f core conftest.err conftest.$ac_objext \
23605 conftest$ac_exeext conftest.$ac_ext
23606 LIBS=$ac_check_lib_save_LIBS
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23609 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23610 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23612 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23617 $as_echo_n "checking for casinh in -lm... " >&6; }
23618 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23619 $as_echo_n "(cached) " >&6
23620 else
23621 ac_check_lib_save_LIBS=$LIBS
23622 LIBS="-lm $LIBS"
23623 if test x$gcc_no_link = xyes; then
23624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23627 /* end confdefs.h. */
23629 /* Override any GCC internal prototype to avoid an error.
23630 Use char because int might match the return type of a GCC
23631 builtin and then its argument prototype would still apply. */
23632 #ifdef __cplusplus
23633 extern "C"
23634 #endif
23635 char casinh ();
23637 main ()
23639 return casinh ();
23641 return 0;
23643 _ACEOF
23644 if ac_fn_c_try_link "$LINENO"; then :
23645 ac_cv_lib_m_casinh=yes
23646 else
23647 ac_cv_lib_m_casinh=no
23649 rm -f core conftest.err conftest.$ac_objext \
23650 conftest$ac_exeext conftest.$ac_ext
23651 LIBS=$ac_check_lib_save_LIBS
23653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23654 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23655 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23657 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23662 $as_echo_n "checking for casinhf in -lm... " >&6; }
23663 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23664 $as_echo_n "(cached) " >&6
23665 else
23666 ac_check_lib_save_LIBS=$LIBS
23667 LIBS="-lm $LIBS"
23668 if test x$gcc_no_link = xyes; then
23669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h. */
23674 /* Override any GCC internal prototype to avoid an error.
23675 Use char because int might match the return type of a GCC
23676 builtin and then its argument prototype would still apply. */
23677 #ifdef __cplusplus
23678 extern "C"
23679 #endif
23680 char casinhf ();
23682 main ()
23684 return casinhf ();
23686 return 0;
23688 _ACEOF
23689 if ac_fn_c_try_link "$LINENO"; then :
23690 ac_cv_lib_m_casinhf=yes
23691 else
23692 ac_cv_lib_m_casinhf=no
23694 rm -f core conftest.err conftest.$ac_objext \
23695 conftest$ac_exeext conftest.$ac_ext
23696 LIBS=$ac_check_lib_save_LIBS
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23699 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23700 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23702 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23707 $as_echo_n "checking for casinhl in -lm... " >&6; }
23708 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23709 $as_echo_n "(cached) " >&6
23710 else
23711 ac_check_lib_save_LIBS=$LIBS
23712 LIBS="-lm $LIBS"
23713 if test x$gcc_no_link = xyes; then
23714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23719 /* Override any GCC internal prototype to avoid an error.
23720 Use char because int might match the return type of a GCC
23721 builtin and then its argument prototype would still apply. */
23722 #ifdef __cplusplus
23723 extern "C"
23724 #endif
23725 char casinhl ();
23727 main ()
23729 return casinhl ();
23731 return 0;
23733 _ACEOF
23734 if ac_fn_c_try_link "$LINENO"; then :
23735 ac_cv_lib_m_casinhl=yes
23736 else
23737 ac_cv_lib_m_casinhl=no
23739 rm -f core conftest.err conftest.$ac_objext \
23740 conftest$ac_exeext conftest.$ac_ext
23741 LIBS=$ac_check_lib_save_LIBS
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23744 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23745 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23747 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23752 $as_echo_n "checking for casinl in -lm... " >&6; }
23753 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23754 $as_echo_n "(cached) " >&6
23755 else
23756 ac_check_lib_save_LIBS=$LIBS
23757 LIBS="-lm $LIBS"
23758 if test x$gcc_no_link = xyes; then
23759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23762 /* end confdefs.h. */
23764 /* Override any GCC internal prototype to avoid an error.
23765 Use char because int might match the return type of a GCC
23766 builtin and then its argument prototype would still apply. */
23767 #ifdef __cplusplus
23768 extern "C"
23769 #endif
23770 char casinl ();
23772 main ()
23774 return casinl ();
23776 return 0;
23778 _ACEOF
23779 if ac_fn_c_try_link "$LINENO"; then :
23780 ac_cv_lib_m_casinl=yes
23781 else
23782 ac_cv_lib_m_casinl=no
23784 rm -f core conftest.err conftest.$ac_objext \
23785 conftest$ac_exeext conftest.$ac_ext
23786 LIBS=$ac_check_lib_save_LIBS
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23789 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23790 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23792 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23797 $as_echo_n "checking for catan in -lm... " >&6; }
23798 if test "${ac_cv_lib_m_catan+set}" = set; then :
23799 $as_echo_n "(cached) " >&6
23800 else
23801 ac_check_lib_save_LIBS=$LIBS
23802 LIBS="-lm $LIBS"
23803 if test x$gcc_no_link = xyes; then
23804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23807 /* end confdefs.h. */
23809 /* Override any GCC internal prototype to avoid an error.
23810 Use char because int might match the return type of a GCC
23811 builtin and then its argument prototype would still apply. */
23812 #ifdef __cplusplus
23813 extern "C"
23814 #endif
23815 char catan ();
23817 main ()
23819 return catan ();
23821 return 0;
23823 _ACEOF
23824 if ac_fn_c_try_link "$LINENO"; then :
23825 ac_cv_lib_m_catan=yes
23826 else
23827 ac_cv_lib_m_catan=no
23829 rm -f core conftest.err conftest.$ac_objext \
23830 conftest$ac_exeext conftest.$ac_ext
23831 LIBS=$ac_check_lib_save_LIBS
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23834 $as_echo "$ac_cv_lib_m_catan" >&6; }
23835 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23837 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23842 $as_echo_n "checking for catanf in -lm... " >&6; }
23843 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23844 $as_echo_n "(cached) " >&6
23845 else
23846 ac_check_lib_save_LIBS=$LIBS
23847 LIBS="-lm $LIBS"
23848 if test x$gcc_no_link = xyes; then
23849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23852 /* end confdefs.h. */
23854 /* Override any GCC internal prototype to avoid an error.
23855 Use char because int might match the return type of a GCC
23856 builtin and then its argument prototype would still apply. */
23857 #ifdef __cplusplus
23858 extern "C"
23859 #endif
23860 char catanf ();
23862 main ()
23864 return catanf ();
23866 return 0;
23868 _ACEOF
23869 if ac_fn_c_try_link "$LINENO"; then :
23870 ac_cv_lib_m_catanf=yes
23871 else
23872 ac_cv_lib_m_catanf=no
23874 rm -f core conftest.err conftest.$ac_objext \
23875 conftest$ac_exeext conftest.$ac_ext
23876 LIBS=$ac_check_lib_save_LIBS
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23879 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23880 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23882 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23887 $as_echo_n "checking for catanh in -lm... " >&6; }
23888 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23889 $as_echo_n "(cached) " >&6
23890 else
23891 ac_check_lib_save_LIBS=$LIBS
23892 LIBS="-lm $LIBS"
23893 if test x$gcc_no_link = xyes; then
23894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23899 /* Override any GCC internal prototype to avoid an error.
23900 Use char because int might match the return type of a GCC
23901 builtin and then its argument prototype would still apply. */
23902 #ifdef __cplusplus
23903 extern "C"
23904 #endif
23905 char catanh ();
23907 main ()
23909 return catanh ();
23911 return 0;
23913 _ACEOF
23914 if ac_fn_c_try_link "$LINENO"; then :
23915 ac_cv_lib_m_catanh=yes
23916 else
23917 ac_cv_lib_m_catanh=no
23919 rm -f core conftest.err conftest.$ac_objext \
23920 conftest$ac_exeext conftest.$ac_ext
23921 LIBS=$ac_check_lib_save_LIBS
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23924 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23925 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23927 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23932 $as_echo_n "checking for catanhf in -lm... " >&6; }
23933 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23934 $as_echo_n "(cached) " >&6
23935 else
23936 ac_check_lib_save_LIBS=$LIBS
23937 LIBS="-lm $LIBS"
23938 if test x$gcc_no_link = xyes; then
23939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h. */
23944 /* Override any GCC internal prototype to avoid an error.
23945 Use char because int might match the return type of a GCC
23946 builtin and then its argument prototype would still apply. */
23947 #ifdef __cplusplus
23948 extern "C"
23949 #endif
23950 char catanhf ();
23952 main ()
23954 return catanhf ();
23956 return 0;
23958 _ACEOF
23959 if ac_fn_c_try_link "$LINENO"; then :
23960 ac_cv_lib_m_catanhf=yes
23961 else
23962 ac_cv_lib_m_catanhf=no
23964 rm -f core conftest.err conftest.$ac_objext \
23965 conftest$ac_exeext conftest.$ac_ext
23966 LIBS=$ac_check_lib_save_LIBS
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
23969 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
23970 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
23972 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
23977 $as_echo_n "checking for catanhl in -lm... " >&6; }
23978 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
23979 $as_echo_n "(cached) " >&6
23980 else
23981 ac_check_lib_save_LIBS=$LIBS
23982 LIBS="-lm $LIBS"
23983 if test x$gcc_no_link = xyes; then
23984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23987 /* end confdefs.h. */
23989 /* Override any GCC internal prototype to avoid an error.
23990 Use char because int might match the return type of a GCC
23991 builtin and then its argument prototype would still apply. */
23992 #ifdef __cplusplus
23993 extern "C"
23994 #endif
23995 char catanhl ();
23997 main ()
23999 return catanhl ();
24001 return 0;
24003 _ACEOF
24004 if ac_fn_c_try_link "$LINENO"; then :
24005 ac_cv_lib_m_catanhl=yes
24006 else
24007 ac_cv_lib_m_catanhl=no
24009 rm -f core conftest.err conftest.$ac_objext \
24010 conftest$ac_exeext conftest.$ac_ext
24011 LIBS=$ac_check_lib_save_LIBS
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24014 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24015 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24017 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24022 $as_echo_n "checking for catanl in -lm... " >&6; }
24023 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24024 $as_echo_n "(cached) " >&6
24025 else
24026 ac_check_lib_save_LIBS=$LIBS
24027 LIBS="-lm $LIBS"
24028 if test x$gcc_no_link = xyes; then
24029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24034 /* Override any GCC internal prototype to avoid an error.
24035 Use char because int might match the return type of a GCC
24036 builtin and then its argument prototype would still apply. */
24037 #ifdef __cplusplus
24038 extern "C"
24039 #endif
24040 char catanl ();
24042 main ()
24044 return catanl ();
24046 return 0;
24048 _ACEOF
24049 if ac_fn_c_try_link "$LINENO"; then :
24050 ac_cv_lib_m_catanl=yes
24051 else
24052 ac_cv_lib_m_catanl=no
24054 rm -f core conftest.err conftest.$ac_objext \
24055 conftest$ac_exeext conftest.$ac_ext
24056 LIBS=$ac_check_lib_save_LIBS
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24059 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24060 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24062 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24067 # On AIX, clog is present in libm as __clog
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24069 $as_echo_n "checking for __clog in -lm... " >&6; }
24070 if test "${ac_cv_lib_m___clog+set}" = set; then :
24071 $as_echo_n "(cached) " >&6
24072 else
24073 ac_check_lib_save_LIBS=$LIBS
24074 LIBS="-lm $LIBS"
24075 if test x$gcc_no_link = xyes; then
24076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24079 /* end confdefs.h. */
24081 /* Override any GCC internal prototype to avoid an error.
24082 Use char because int might match the return type of a GCC
24083 builtin and then its argument prototype would still apply. */
24084 #ifdef __cplusplus
24085 extern "C"
24086 #endif
24087 char __clog ();
24089 main ()
24091 return __clog ();
24093 return 0;
24095 _ACEOF
24096 if ac_fn_c_try_link "$LINENO"; then :
24097 ac_cv_lib_m___clog=yes
24098 else
24099 ac_cv_lib_m___clog=no
24101 rm -f core conftest.err conftest.$ac_objext \
24102 conftest$ac_exeext conftest.$ac_ext
24103 LIBS=$ac_check_lib_save_LIBS
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24106 $as_echo "$ac_cv_lib_m___clog" >&6; }
24107 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24109 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24114 # Check for a isfinite macro that works on long doubles.
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24117 $as_echo_n "checking whether isfinite is broken... " >&6; }
24118 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24119 $as_echo_n "(cached) " >&6
24120 else
24122 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
24123 LIBS="$LIBS -lm"
24124 if test "$cross_compiling" = yes; then :
24126 case "${target}" in
24127 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
24128 *) libgfor_cv_have_broken_isfinite=no ;;
24129 esac
24130 else
24131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24134 #include <math.h>
24135 #include <float.h>
24136 int main ()
24138 #ifdef isfinite
24139 #ifdef LDBL_MAX
24140 if (!isfinite(LDBL_MAX)) return 1;
24141 #endif
24142 #ifdef DBL_MAX
24143 if (!isfinite(DBL_MAX)) return 1;
24144 #endif
24145 #endif
24146 return 0;
24148 _ACEOF
24149 if ac_fn_c_try_run "$LINENO"; then :
24150 libgfor_cv_have_broken_isfinite=no
24151 else
24152 libgfor_cv_have_broken_isfinite=yes
24154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24155 conftest.$ac_objext conftest.beam conftest.$ac_ext
24158 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24161 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24162 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
24164 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24168 # Check for a isnan macro that works on long doubles.
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24171 $as_echo_n "checking whether isnan is broken... " >&6; }
24172 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24173 $as_echo_n "(cached) " >&6
24174 else
24176 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
24177 LIBS="$LIBS -lm"
24178 if test "$cross_compiling" = yes; then :
24180 case "${target}" in
24181 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
24182 *) libgfor_cv_have_broken_isnan=no ;;
24183 esac
24184 else
24185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h. */
24188 #include <math.h>
24189 #include <float.h>
24190 int main ()
24192 #ifdef isnan
24193 #ifdef LDBL_MAX
24195 long double x;
24196 x = __builtin_nanl ("");
24197 if (!isnan(x)) return 1;
24198 if (isnan(LDBL_MAX)) return 1;
24199 #ifdef NAN
24200 x = (long double) NAN;
24201 if (!isnan(x)) return 1;
24202 #endif
24204 #endif
24205 #ifdef DBL_MAX
24207 double y;
24208 y = __builtin_nan ("");
24209 if (!isnan(y)) return 1;
24210 if (isnan(DBL_MAX)) return 1;
24211 #ifdef NAN
24212 y = (double) NAN;
24213 if (!isnan(y)) return 1;
24214 #endif
24216 #endif
24217 #endif
24218 return 0;
24220 _ACEOF
24221 if ac_fn_c_try_run "$LINENO"; then :
24222 libgfor_cv_have_broken_isnan=no
24223 else
24224 libgfor_cv_have_broken_isnan=yes
24226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24227 conftest.$ac_objext conftest.beam conftest.$ac_ext
24230 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24233 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24234 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
24236 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24240 # Check for a fpclassify macro that works on long doubles.
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24243 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24244 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24245 $as_echo_n "(cached) " >&6
24246 else
24248 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
24249 LIBS="$LIBS -lm"
24250 if test "$cross_compiling" = yes; then :
24252 case "${target}" in
24253 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
24254 *) libgfor_cv_have_broken_fpclassify=no ;;
24255 esac
24256 else
24257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24258 /* end confdefs.h. */
24260 #include <math.h>
24261 #include <float.h>
24262 int main ()
24264 #ifdef fpclassify
24265 #ifdef LDBL_MAX
24266 if (fpclassify(LDBL_MAX) == FP_NAN
24267 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24268 #endif
24269 #ifdef DBL_MAX
24270 if (fpclassify(DBL_MAX) == FP_NAN
24271 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24272 #endif
24273 #endif
24274 return 0;
24276 _ACEOF
24277 if ac_fn_c_try_run "$LINENO"; then :
24278 libgfor_cv_have_broken_fpclassify=no
24279 else
24280 libgfor_cv_have_broken_fpclassify=yes
24282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24283 conftest.$ac_objext conftest.beam conftest.$ac_ext
24286 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24289 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24290 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
24292 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24296 # Check whether the system has a working stat()
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24299 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24300 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24301 $as_echo_n "(cached) " >&6
24302 else
24304 if test "$cross_compiling" = yes; then :
24306 case "${target}" in
24307 *mingw*) libgfor_cv_have_working_stat=no ;;
24308 *) libgfor_cv_have_working_stat=yes;;
24309 esac
24310 else
24311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24314 #include <stdio.h>
24315 #include <sys/types.h>
24316 #include <sys/stat.h>
24317 #include <unistd.h>
24319 int main ()
24321 FILE *f, *g;
24322 struct stat st1, st2;
24324 f = fopen ("foo", "w");
24325 g = fopen ("bar", "w");
24326 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24327 return 1;
24328 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24329 return 1;
24330 fclose(f);
24331 fclose(g);
24332 return 0;
24334 _ACEOF
24335 if ac_fn_c_try_run "$LINENO"; then :
24336 libgfor_cv_have_working_stat=yes
24337 else
24338 libgfor_cv_have_working_stat=no
24340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24341 conftest.$ac_objext conftest.beam conftest.$ac_ext
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24346 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24347 if test x"$libgfor_cv_have_working_stat" = xyes; then
24349 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24353 # Check whether __mingw_snprintf() is present
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24356 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24357 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24358 $as_echo_n "(cached) " >&6
24359 else
24361 if test x$gcc_no_link = xyes; then
24362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24365 /* end confdefs.h. */
24367 #include <stdio.h>
24368 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24371 main ()
24374 __mingw_snprintf (NULL, 0, "%d\n", 1);
24377 return 0;
24379 _ACEOF
24380 if ac_fn_c_try_link "$LINENO"; then :
24381 eval "libgfor_cv_have_mingw_snprintf=yes"
24382 else
24383 eval "libgfor_cv_have_mingw_snprintf=no"
24385 rm -f core conftest.err conftest.$ac_objext \
24386 conftest$ac_exeext conftest.$ac_ext
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24390 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24391 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24393 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24398 # Check for a broken powf implementation
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24401 $as_echo_n "checking whether powf is broken... " >&6; }
24402 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24403 $as_echo_n "(cached) " >&6
24404 else
24406 case "${target}" in
24407 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24408 *) libgfor_cv_have_broken_powf=no;;
24409 esac
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24412 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24413 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24415 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24420 # Check for GNU libc feenableexcept
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24422 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24423 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24424 $as_echo_n "(cached) " >&6
24425 else
24426 ac_check_lib_save_LIBS=$LIBS
24427 LIBS="-lm $LIBS"
24428 if test x$gcc_no_link = xyes; then
24429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24434 /* Override any GCC internal prototype to avoid an error.
24435 Use char because int might match the return type of a GCC
24436 builtin and then its argument prototype would still apply. */
24437 #ifdef __cplusplus
24438 extern "C"
24439 #endif
24440 char feenableexcept ();
24442 main ()
24444 return feenableexcept ();
24446 return 0;
24448 _ACEOF
24449 if ac_fn_c_try_link "$LINENO"; then :
24450 ac_cv_lib_m_feenableexcept=yes
24451 else
24452 ac_cv_lib_m_feenableexcept=no
24454 rm -f core conftest.err conftest.$ac_objext \
24455 conftest$ac_exeext conftest.$ac_ext
24456 LIBS=$ac_check_lib_save_LIBS
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24459 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24460 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24461 have_feenableexcept=yes
24462 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24467 # Check for SysV fpsetmask
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24470 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24471 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24472 $as_echo_n "(cached) " >&6
24473 else
24475 if test x$gcc_no_link = xyes; then
24476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24481 #if HAVE_FLOATINGPOINT_H
24482 # include <floatingpoint.h>
24483 #endif /* HAVE_FLOATINGPOINT_H */
24484 #if HAVE_IEEEFP_H
24485 # include <ieeefp.h>
24486 #endif /* HAVE_IEEEFP_H */
24488 main ()
24490 fpsetmask(0);
24492 return 0;
24494 _ACEOF
24495 if ac_fn_c_try_link "$LINENO"; then :
24496 eval "libgfor_cv_have_fpsetmask=yes"
24497 else
24498 eval "libgfor_cv_have_fpsetmask=no"
24500 rm -f core conftest.err conftest.$ac_objext \
24501 conftest$ac_exeext conftest.$ac_ext
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24505 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24506 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24508 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24513 # Check for AIX fp_trap and fp_enable
24514 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24515 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24516 have_fp_trap=yes
24517 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24521 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24522 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24523 have_fp_enable=yes
24524 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24529 # Runs configure.host to set up necessary host-dependent shell variables.
24530 # We then display a message about it, and propagate them through the
24531 # build chain.
24532 . ${srcdir}/configure.host
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24534 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24535 FPU_HOST_HEADER=config/${fpu_host}.h
24538 # Some targets require additional compiler options for IEEE compatibility.
24539 IEEE_FLAGS="${ieee_flags}"
24542 # Check out attribute support.
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24545 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24546 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24547 $as_echo_n "(cached) " >&6
24548 else
24550 save_CFLAGS="$CFLAGS"
24551 CFLAGS="$CFLAGS -Werror"
24552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24554 void __attribute__((visibility("hidden"))) foo(void) { }
24556 main ()
24560 return 0;
24562 _ACEOF
24563 if ac_fn_c_try_compile "$LINENO"; then :
24564 libgfor_cv_have_attribute_visibility=yes
24565 else
24566 libgfor_cv_have_attribute_visibility=no
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 CFLAGS="$save_CFLAGS"
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24572 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24573 if test $libgfor_cv_have_attribute_visibility = yes; then
24575 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24580 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24581 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24582 $as_echo_n "(cached) " >&6
24583 else
24585 save_CFLAGS="$CFLAGS"
24586 CFLAGS="$CFLAGS -Werror"
24587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h. */
24589 void __attribute__((dllexport)) foo(void) { }
24591 main ()
24595 return 0;
24597 _ACEOF
24598 if ac_fn_c_try_compile "$LINENO"; then :
24599 libgfor_cv_have_attribute_dllexport=yes
24600 else
24601 libgfor_cv_have_attribute_dllexport=no
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 CFLAGS="$save_CFLAGS"
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24607 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24608 if test $libgfor_cv_have_attribute_dllexport = yes; then
24610 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24615 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24616 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24618 else
24620 if test x$gcc_no_link = xyes; then
24621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24624 /* end confdefs.h. */
24626 void foo(void) { }
24627 extern void bar(void) __attribute__((alias("foo")));
24629 main ()
24631 bar();
24633 return 0;
24635 _ACEOF
24636 if ac_fn_c_try_link "$LINENO"; then :
24637 libgfor_cv_have_attribute_alias=yes
24638 else
24639 libgfor_cv_have_attribute_alias=no
24641 rm -f core conftest.err conftest.$ac_objext \
24642 conftest$ac_exeext conftest.$ac_ext
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24645 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24646 if test $libgfor_cv_have_attribute_alias = yes; then
24648 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24652 # Check out sync builtins support.
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24655 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24656 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24657 $as_echo_n "(cached) " >&6
24658 else
24660 if test x$gcc_no_link = xyes; then
24661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665 int foovar = 0;
24667 main ()
24670 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24671 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24673 return 0;
24675 _ACEOF
24676 if ac_fn_c_try_link "$LINENO"; then :
24677 libgfor_cv_have_sync_fetch_and_add=yes
24678 else
24679 libgfor_cv_have_sync_fetch_and_add=no
24681 rm -f core conftest.err conftest.$ac_objext \
24682 conftest$ac_exeext conftest.$ac_ext
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24685 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24686 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24688 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24692 # Check out thread support.
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24695 $as_echo_n "checking configured target thread model... " >&6; }
24696 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24697 $as_echo_n "(cached) " >&6
24698 else
24700 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24703 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24705 if test $libgfor_cv_target_thread_file != single; then
24707 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24711 # Check out #pragma weak.
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24714 $as_echo_n "checking whether pragma weak works... " >&6; }
24715 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24716 $as_echo_n "(cached) " >&6
24717 else
24719 gfor_save_CFLAGS="$CFLAGS"
24720 CFLAGS="$CFLAGS -Wunknown-pragmas"
24721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24722 /* end confdefs.h. */
24723 void foo (void);
24724 #pragma weak foo
24726 main ()
24728 if (foo) foo ();
24730 return 0;
24732 _ACEOF
24733 if ac_fn_c_try_compile "$LINENO"; then :
24734 libgfor_cv_have_pragma_weak=yes
24735 else
24736 libgfor_cv_have_pragma_weak=no
24738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24741 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24742 if test $libgfor_cv_have_pragma_weak = yes; then
24744 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24747 case "$host" in
24748 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24750 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24753 esac
24755 # Various other checks on target
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24758 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24759 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24760 $as_echo_n "(cached) " >&6
24761 else
24763 if test "$cross_compiling" = yes; then :
24765 case "${target}" in
24766 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24767 *) libgfor_cv_have_unlink_open_file=yes;;
24768 esac
24769 else
24770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24771 /* end confdefs.h. */
24773 #include <errno.h>
24774 #include <fcntl.h>
24775 #include <unistd.h>
24776 #include <sys/stat.h>
24778 int main ()
24780 int fd;
24782 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24783 if (fd <= 0)
24784 return 0;
24785 if (unlink ("testfile") == -1)
24786 return 1;
24787 write (fd, "This is a test\n", 15);
24788 close (fd);
24790 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24791 return 0;
24792 else
24793 return 1;
24795 _ACEOF
24796 if ac_fn_c_try_run "$LINENO"; then :
24797 libgfor_cv_have_unlink_open_file=yes
24798 else
24799 libgfor_cv_have_unlink_open_file=no
24801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24802 conftest.$ac_objext conftest.beam conftest.$ac_ext
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24807 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24808 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24810 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24814 # Check whether line terminator is LF or CRLF
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24817 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24818 if test "${libgfor_cv_have_crlf+set}" = set; then :
24819 $as_echo_n "(cached) " >&6
24820 else
24822 if test "$cross_compiling" = yes; then :
24824 case "${target}" in
24825 *mingw*) libgfor_cv_have_crlf=yes ;;
24826 *) libgfor_cv_have_crlf=no;;
24827 esac
24828 else
24829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24832 /* This test program should exit with status 0 if system uses a CRLF as
24833 line terminator, and status 1 otherwise.
24834 Since it is used to check for mingw systems, and should return 0 in any
24835 other case, in case of a failure we will not use CRLF. */
24836 #include <sys/stat.h>
24837 #include <stdlib.h>
24838 #include <fcntl.h>
24839 #include <stdio.h>
24841 int main ()
24843 #ifndef O_BINARY
24844 exit(1);
24845 #else
24846 int fd, bytes;
24847 char buff[5];
24849 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24850 if (fd < 0)
24851 exit(1);
24852 if (write (fd, "\n", 1) < 0)
24853 perror ("write");
24855 close (fd);
24857 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24858 exit(1);
24859 bytes = read (fd, buff, 5);
24860 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24861 exit(0);
24862 else
24863 exit(1);
24864 #endif
24866 _ACEOF
24867 if ac_fn_c_try_run "$LINENO"; then :
24868 libgfor_cv_have_crlf=yes
24869 else
24870 libgfor_cv_have_crlf=no
24872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24873 conftest.$ac_objext conftest.beam conftest.$ac_ext
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24878 $as_echo "$libgfor_cv_have_crlf" >&6; }
24879 if test x"$libgfor_cv_have_crlf" = xyes; then
24881 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24885 cat >confcache <<\_ACEOF
24886 # This file is a shell script that caches the results of configure
24887 # tests run on this system so they can be shared between configure
24888 # scripts and configure runs, see configure's option --config-cache.
24889 # It is not useful on other systems. If it contains results you don't
24890 # want to keep, you may remove or edit it.
24892 # config.status only pays attention to the cache file if you give it
24893 # the --recheck option to rerun configure.
24895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24897 # following values.
24899 _ACEOF
24901 # The following way of writing the cache mishandles newlines in values,
24902 # but we know of no workaround that is simple, portable, and efficient.
24903 # So, we kill variables containing newlines.
24904 # Ultrix sh set writes to stderr and can't be redirected directly,
24905 # and sets the high bit in the cache file unless we assign to the vars.
24907 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24908 eval ac_val=\$$ac_var
24909 case $ac_val in #(
24910 *${as_nl}*)
24911 case $ac_var in #(
24912 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24913 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24914 esac
24915 case $ac_var in #(
24916 _ | IFS | as_nl) ;; #(
24917 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24918 *) { eval $ac_var=; unset $ac_var;} ;;
24919 esac ;;
24920 esac
24921 done
24923 (set) 2>&1 |
24924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24925 *${as_nl}ac_space=\ *)
24926 # `set' does not quote correctly, so add quotes: double-quote
24927 # substitution turns \\\\ into \\, and sed turns \\ into \.
24928 sed -n \
24929 "s/'/'\\\\''/g;
24930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24931 ;; #(
24933 # `set' quotes correctly as required by POSIX, so do not add quotes.
24934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24936 esac |
24937 sort
24939 sed '
24940 /^ac_cv_env_/b end
24941 t clear
24942 :clear
24943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24944 t end
24945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24946 :end' >>confcache
24947 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24948 if test -w "$cache_file"; then
24949 test "x$cache_file" != "x/dev/null" &&
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24951 $as_echo "$as_me: updating cache $cache_file" >&6;}
24952 cat confcache >$cache_file
24953 else
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24955 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24958 rm -f confcache
24960 if test ${multilib} = yes; then
24961 multilib_arg="--enable-multilib"
24962 else
24963 multilib_arg=
24966 # Write our Makefile.
24967 ac_config_files="$ac_config_files Makefile"
24969 cat >confcache <<\_ACEOF
24970 # This file is a shell script that caches the results of configure
24971 # tests run on this system so they can be shared between configure
24972 # scripts and configure runs, see configure's option --config-cache.
24973 # It is not useful on other systems. If it contains results you don't
24974 # want to keep, you may remove or edit it.
24976 # config.status only pays attention to the cache file if you give it
24977 # the --recheck option to rerun configure.
24979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24981 # following values.
24983 _ACEOF
24985 # The following way of writing the cache mishandles newlines in values,
24986 # but we know of no workaround that is simple, portable, and efficient.
24987 # So, we kill variables containing newlines.
24988 # Ultrix sh set writes to stderr and can't be redirected directly,
24989 # and sets the high bit in the cache file unless we assign to the vars.
24991 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24992 eval ac_val=\$$ac_var
24993 case $ac_val in #(
24994 *${as_nl}*)
24995 case $ac_var in #(
24996 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24998 esac
24999 case $ac_var in #(
25000 _ | IFS | as_nl) ;; #(
25001 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25002 *) { eval $ac_var=; unset $ac_var;} ;;
25003 esac ;;
25004 esac
25005 done
25007 (set) 2>&1 |
25008 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25009 *${as_nl}ac_space=\ *)
25010 # `set' does not quote correctly, so add quotes: double-quote
25011 # substitution turns \\\\ into \\, and sed turns \\ into \.
25012 sed -n \
25013 "s/'/'\\\\''/g;
25014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25015 ;; #(
25017 # `set' quotes correctly as required by POSIX, so do not add quotes.
25018 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25020 esac |
25021 sort
25023 sed '
25024 /^ac_cv_env_/b end
25025 t clear
25026 :clear
25027 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25028 t end
25029 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25030 :end' >>confcache
25031 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25032 if test -w "$cache_file"; then
25033 test "x$cache_file" != "x/dev/null" &&
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25035 $as_echo "$as_me: updating cache $cache_file" >&6;}
25036 cat confcache >$cache_file
25037 else
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25039 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25042 rm -f confcache
25044 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25045 # Let make expand exec_prefix.
25046 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25048 DEFS=-DHAVE_CONFIG_H
25050 ac_libobjs=
25051 ac_ltlibobjs=
25052 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25053 # 1. Remove the extension, and $U if already installed.
25054 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25055 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25056 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25057 # will be set to the directory where LIBOBJS objects are built.
25058 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25059 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25060 done
25061 LIBOBJS=$ac_libobjs
25063 LTLIBOBJS=$ac_ltlibobjs
25066 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25067 as_fn_error "conditional \"onestep\" was never defined.
25068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25070 if test -n "$EXEEXT"; then
25071 am__EXEEXT_TRUE=
25072 am__EXEEXT_FALSE='#'
25073 else
25074 am__EXEEXT_TRUE='#'
25075 am__EXEEXT_FALSE=
25078 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25079 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25083 as_fn_error "conditional \"AMDEP\" was never defined.
25084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25087 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25090 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25091 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25095 : ${CONFIG_STATUS=./config.status}
25096 ac_write_fail=0
25097 ac_clean_files_save=$ac_clean_files
25098 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25100 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25101 as_write_fail=0
25102 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25103 #! $SHELL
25104 # Generated by $as_me.
25105 # Run this file to recreate the current configuration.
25106 # Compiler output produced by configure, useful for debugging
25107 # configure, is in config.log if it exists.
25109 debug=false
25110 ac_cs_recheck=false
25111 ac_cs_silent=false
25113 SHELL=\${CONFIG_SHELL-$SHELL}
25114 export SHELL
25115 _ASEOF
25116 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25117 ## -------------------- ##
25118 ## M4sh Initialization. ##
25119 ## -------------------- ##
25121 # Be more Bourne compatible
25122 DUALCASE=1; export DUALCASE # for MKS sh
25123 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25124 emulate sh
25125 NULLCMD=:
25126 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25127 # is contrary to our usage. Disable this feature.
25128 alias -g '${1+"$@"}'='"$@"'
25129 setopt NO_GLOB_SUBST
25130 else
25131 case `(set -o) 2>/dev/null` in #(
25132 *posix*) :
25133 set -o posix ;; #(
25134 *) :
25136 esac
25140 as_nl='
25142 export as_nl
25143 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25144 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25147 # Prefer a ksh shell builtin over an external printf program on Solaris,
25148 # but without wasting forks for bash or zsh.
25149 if test -z "$BASH_VERSION$ZSH_VERSION" \
25150 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25151 as_echo='print -r --'
25152 as_echo_n='print -rn --'
25153 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25154 as_echo='printf %s\n'
25155 as_echo_n='printf %s'
25156 else
25157 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25158 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25159 as_echo_n='/usr/ucb/echo -n'
25160 else
25161 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25162 as_echo_n_body='eval
25163 arg=$1;
25164 case $arg in #(
25165 *"$as_nl"*)
25166 expr "X$arg" : "X\\(.*\\)$as_nl";
25167 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25168 esac;
25169 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25171 export as_echo_n_body
25172 as_echo_n='sh -c $as_echo_n_body as_echo'
25174 export as_echo_body
25175 as_echo='sh -c $as_echo_body as_echo'
25178 # The user is always right.
25179 if test "${PATH_SEPARATOR+set}" != set; then
25180 PATH_SEPARATOR=:
25181 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25182 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25183 PATH_SEPARATOR=';'
25188 # IFS
25189 # We need space, tab and new line, in precisely that order. Quoting is
25190 # there to prevent editors from complaining about space-tab.
25191 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25192 # splitting by setting IFS to empty value.)
25193 IFS=" "" $as_nl"
25195 # Find who we are. Look in the path if we contain no directory separator.
25196 case $0 in #((
25197 *[\\/]* ) as_myself=$0 ;;
25198 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25199 for as_dir in $PATH
25201 IFS=$as_save_IFS
25202 test -z "$as_dir" && as_dir=.
25203 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25204 done
25205 IFS=$as_save_IFS
25208 esac
25209 # We did not find ourselves, most probably we were run as `sh COMMAND'
25210 # in which case we are not to be found in the path.
25211 if test "x$as_myself" = x; then
25212 as_myself=$0
25214 if test ! -f "$as_myself"; then
25215 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25216 exit 1
25219 # Unset variables that we do not need and which cause bugs (e.g. in
25220 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25221 # suppresses any "Segmentation fault" message there. '((' could
25222 # trigger a bug in pdksh 5.2.14.
25223 for as_var in BASH_ENV ENV MAIL MAILPATH
25224 do eval test x\${$as_var+set} = xset \
25225 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25226 done
25227 PS1='$ '
25228 PS2='> '
25229 PS4='+ '
25231 # NLS nuisances.
25232 LC_ALL=C
25233 export LC_ALL
25234 LANGUAGE=C
25235 export LANGUAGE
25237 # CDPATH.
25238 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25241 # as_fn_error ERROR [LINENO LOG_FD]
25242 # ---------------------------------
25243 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25244 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25245 # script with status $?, using 1 if that was 0.
25246 as_fn_error ()
25248 as_status=$?; test $as_status -eq 0 && as_status=1
25249 if test "$3"; then
25250 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25251 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25253 $as_echo "$as_me: error: $1" >&2
25254 as_fn_exit $as_status
25255 } # as_fn_error
25258 # as_fn_set_status STATUS
25259 # -----------------------
25260 # Set $? to STATUS, without forking.
25261 as_fn_set_status ()
25263 return $1
25264 } # as_fn_set_status
25266 # as_fn_exit STATUS
25267 # -----------------
25268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25269 as_fn_exit ()
25271 set +e
25272 as_fn_set_status $1
25273 exit $1
25274 } # as_fn_exit
25276 # as_fn_unset VAR
25277 # ---------------
25278 # Portably unset VAR.
25279 as_fn_unset ()
25281 { eval $1=; unset $1;}
25283 as_unset=as_fn_unset
25284 # as_fn_append VAR VALUE
25285 # ----------------------
25286 # Append the text in VALUE to the end of the definition contained in VAR. Take
25287 # advantage of any shell optimizations that allow amortized linear growth over
25288 # repeated appends, instead of the typical quadratic growth present in naive
25289 # implementations.
25290 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25291 eval 'as_fn_append ()
25293 eval $1+=\$2
25295 else
25296 as_fn_append ()
25298 eval $1=\$$1\$2
25300 fi # as_fn_append
25302 # as_fn_arith ARG...
25303 # ------------------
25304 # Perform arithmetic evaluation on the ARGs, and store the result in the
25305 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25306 # must be portable across $(()) and expr.
25307 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25308 eval 'as_fn_arith ()
25310 as_val=$(( $* ))
25312 else
25313 as_fn_arith ()
25315 as_val=`expr "$@" || test $? -eq 1`
25317 fi # as_fn_arith
25320 if expr a : '\(a\)' >/dev/null 2>&1 &&
25321 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25322 as_expr=expr
25323 else
25324 as_expr=false
25327 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25328 as_basename=basename
25329 else
25330 as_basename=false
25333 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25334 as_dirname=dirname
25335 else
25336 as_dirname=false
25339 as_me=`$as_basename -- "$0" ||
25340 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25341 X"$0" : 'X\(//\)$' \| \
25342 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25343 $as_echo X/"$0" |
25344 sed '/^.*\/\([^/][^/]*\)\/*$/{
25345 s//\1/
25348 /^X\/\(\/\/\)$/{
25349 s//\1/
25352 /^X\/\(\/\).*/{
25353 s//\1/
25356 s/.*/./; q'`
25358 # Avoid depending upon Character Ranges.
25359 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25360 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25361 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25362 as_cr_digits='0123456789'
25363 as_cr_alnum=$as_cr_Letters$as_cr_digits
25365 ECHO_C= ECHO_N= ECHO_T=
25366 case `echo -n x` in #(((((
25367 -n*)
25368 case `echo 'xy\c'` in
25369 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25370 xy) ECHO_C='\c';;
25371 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25372 ECHO_T=' ';;
25373 esac;;
25375 ECHO_N='-n';;
25376 esac
25378 rm -f conf$$ conf$$.exe conf$$.file
25379 if test -d conf$$.dir; then
25380 rm -f conf$$.dir/conf$$.file
25381 else
25382 rm -f conf$$.dir
25383 mkdir conf$$.dir 2>/dev/null
25385 if (echo >conf$$.file) 2>/dev/null; then
25386 if ln -s conf$$.file conf$$ 2>/dev/null; then
25387 as_ln_s='ln -s'
25388 # ... but there are two gotchas:
25389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25391 # In both cases, we have to default to `cp -p'.
25392 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25393 as_ln_s='cp -p'
25394 elif ln conf$$.file conf$$ 2>/dev/null; then
25395 as_ln_s=ln
25396 else
25397 as_ln_s='cp -p'
25399 else
25400 as_ln_s='cp -p'
25402 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25403 rmdir conf$$.dir 2>/dev/null
25406 # as_fn_mkdir_p
25407 # -------------
25408 # Create "$as_dir" as a directory, including parents if necessary.
25409 as_fn_mkdir_p ()
25412 case $as_dir in #(
25413 -*) as_dir=./$as_dir;;
25414 esac
25415 test -d "$as_dir" || eval $as_mkdir_p || {
25416 as_dirs=
25417 while :; do
25418 case $as_dir in #(
25419 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25420 *) as_qdir=$as_dir;;
25421 esac
25422 as_dirs="'$as_qdir' $as_dirs"
25423 as_dir=`$as_dirname -- "$as_dir" ||
25424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25425 X"$as_dir" : 'X\(//\)[^/]' \| \
25426 X"$as_dir" : 'X\(//\)$' \| \
25427 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25428 $as_echo X"$as_dir" |
25429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25430 s//\1/
25433 /^X\(\/\/\)[^/].*/{
25434 s//\1/
25437 /^X\(\/\/\)$/{
25438 s//\1/
25441 /^X\(\/\).*/{
25442 s//\1/
25445 s/.*/./; q'`
25446 test -d "$as_dir" && break
25447 done
25448 test -z "$as_dirs" || eval "mkdir $as_dirs"
25449 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25452 } # as_fn_mkdir_p
25453 if mkdir -p . 2>/dev/null; then
25454 as_mkdir_p='mkdir -p "$as_dir"'
25455 else
25456 test -d ./-p && rmdir ./-p
25457 as_mkdir_p=false
25460 if test -x / >/dev/null 2>&1; then
25461 as_test_x='test -x'
25462 else
25463 if ls -dL / >/dev/null 2>&1; then
25464 as_ls_L_option=L
25465 else
25466 as_ls_L_option=
25468 as_test_x='
25469 eval sh -c '\''
25470 if test -d "$1"; then
25471 test -d "$1/.";
25472 else
25473 case $1 in #(
25474 -*)set "./$1";;
25475 esac;
25476 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25477 ???[sx]*):;;*)false;;esac;fi
25478 '\'' sh
25481 as_executable_p=$as_test_x
25483 # Sed expression to map a string onto a valid CPP name.
25484 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25486 # Sed expression to map a string onto a valid variable name.
25487 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25490 exec 6>&1
25491 ## ----------------------------------- ##
25492 ## Main body of $CONFIG_STATUS script. ##
25493 ## ----------------------------------- ##
25494 _ASEOF
25495 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25498 # Save the log message, to keep $0 and so on meaningful, and to
25499 # report actual input values of CONFIG_FILES etc. instead of their
25500 # values after options handling.
25501 ac_log="
25502 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25503 generated by GNU Autoconf 2.64. Invocation command line was
25505 CONFIG_FILES = $CONFIG_FILES
25506 CONFIG_HEADERS = $CONFIG_HEADERS
25507 CONFIG_LINKS = $CONFIG_LINKS
25508 CONFIG_COMMANDS = $CONFIG_COMMANDS
25509 $ $0 $@
25511 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25514 _ACEOF
25516 case $ac_config_files in *"
25517 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25518 esac
25520 case $ac_config_headers in *"
25521 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25522 esac
25525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25526 # Files that config.status was made for.
25527 config_files="$ac_config_files"
25528 config_headers="$ac_config_headers"
25529 config_commands="$ac_config_commands"
25531 _ACEOF
25533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25534 ac_cs_usage="\
25535 \`$as_me' instantiates files and other configuration actions
25536 from templates according to the current configuration. Unless the files
25537 and actions are specified as TAGs, all are instantiated by default.
25539 Usage: $0 [OPTION]... [TAG]...
25541 -h, --help print this help, then exit
25542 -V, --version print version number and configuration settings, then exit
25543 -q, --quiet, --silent
25544 do not print progress messages
25545 -d, --debug don't remove temporary files
25546 --recheck update $as_me by reconfiguring in the same conditions
25547 --file=FILE[:TEMPLATE]
25548 instantiate the configuration file FILE
25549 --header=FILE[:TEMPLATE]
25550 instantiate the configuration header FILE
25552 Configuration files:
25553 $config_files
25555 Configuration headers:
25556 $config_headers
25558 Configuration commands:
25559 $config_commands
25561 Report bugs to the package provider.
25562 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25563 General help using GNU software: <http://www.gnu.org/gethelp/>."
25565 _ACEOF
25566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25567 ac_cs_version="\\
25568 GNU Fortran Runtime Library config.status 0.3
25569 configured by $0, generated by GNU Autoconf 2.64,
25570 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25572 Copyright (C) 2009 Free Software Foundation, Inc.
25573 This config.status script is free software; the Free Software Foundation
25574 gives unlimited permission to copy, distribute and modify it."
25576 ac_pwd='$ac_pwd'
25577 srcdir='$srcdir'
25578 INSTALL='$INSTALL'
25579 MKDIR_P='$MKDIR_P'
25580 AWK='$AWK'
25581 test -n "\$AWK" || AWK=awk
25582 _ACEOF
25584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25585 # The default lists apply if the user does not specify any file.
25586 ac_need_defaults=:
25587 while test $# != 0
25589 case $1 in
25590 --*=*)
25591 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25592 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25593 ac_shift=:
25596 ac_option=$1
25597 ac_optarg=$2
25598 ac_shift=shift
25600 esac
25602 case $ac_option in
25603 # Handling of the options.
25604 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25605 ac_cs_recheck=: ;;
25606 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25607 $as_echo "$ac_cs_version"; exit ;;
25608 --debug | --debu | --deb | --de | --d | -d )
25609 debug=: ;;
25610 --file | --fil | --fi | --f )
25611 $ac_shift
25612 case $ac_optarg in
25613 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25614 esac
25615 as_fn_append CONFIG_FILES " '$ac_optarg'"
25616 ac_need_defaults=false;;
25617 --header | --heade | --head | --hea )
25618 $ac_shift
25619 case $ac_optarg in
25620 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25621 esac
25622 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25623 ac_need_defaults=false;;
25624 --he | --h)
25625 # Conflict between --help and --header
25626 as_fn_error "ambiguous option: \`$1'
25627 Try \`$0 --help' for more information.";;
25628 --help | --hel | -h )
25629 $as_echo "$ac_cs_usage"; exit ;;
25630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25631 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25632 ac_cs_silent=: ;;
25634 # This is an error.
25635 -*) as_fn_error "unrecognized option: \`$1'
25636 Try \`$0 --help' for more information." ;;
25638 *) as_fn_append ac_config_targets " $1"
25639 ac_need_defaults=false ;;
25641 esac
25642 shift
25643 done
25645 ac_configure_extra_args=
25647 if $ac_cs_silent; then
25648 exec 6>/dev/null
25649 ac_configure_extra_args="$ac_configure_extra_args --silent"
25652 _ACEOF
25653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25654 if \$ac_cs_recheck; then
25655 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25656 shift
25657 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25658 CONFIG_SHELL='$SHELL'
25659 export CONFIG_SHELL
25660 exec "\$@"
25663 _ACEOF
25664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25665 exec 5>>config.log
25667 echo
25668 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25669 ## Running $as_me. ##
25670 _ASBOX
25671 $as_echo "$ac_log"
25672 } >&5
25674 _ACEOF
25675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25677 # INIT-COMMANDS
25680 srcdir="$srcdir"
25681 host="$host"
25682 target="$target"
25683 with_multisubdir="$with_multisubdir"
25684 with_multisrctop="$with_multisrctop"
25685 with_target_subdir="$with_target_subdir"
25686 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25687 multi_basedir="$multi_basedir"
25688 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25689 CC="$CC"
25690 CXX="$CXX"
25691 GFORTRAN="$GFORTRAN"
25692 GCJ="$GCJ"
25693 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25696 # The HP-UX ksh and POSIX shell print the target directory to stdout
25697 # if CDPATH is set.
25698 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25700 sed_quote_subst='$sed_quote_subst'
25701 double_quote_subst='$double_quote_subst'
25702 delay_variable_subst='$delay_variable_subst'
25703 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25704 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25705 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25706 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25707 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25708 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25709 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25710 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25711 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25712 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25713 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25714 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25715 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25716 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25717 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25718 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25719 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25720 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25721 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25722 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25723 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25724 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25725 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25726 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25727 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25728 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25729 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25730 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25731 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25732 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25733 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25734 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25735 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25736 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25737 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25738 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25739 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25740 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25741 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25742 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25743 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25744 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25745 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25746 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25747 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25748 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25749 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25750 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25751 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"`'
25752 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25753 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25754 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25755 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25756 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25757 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25758 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25759 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25760 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25761 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25762 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25763 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25764 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25765 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25766 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25767 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25768 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25769 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25770 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25771 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25772 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25773 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25774 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25775 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25776 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25777 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25778 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25779 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25780 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25781 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25782 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25783 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25784 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25785 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25786 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25787 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25788 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25789 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25790 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25791 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25792 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25793 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25794 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25795 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25796 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25797 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25798 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25799 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25800 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25801 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25802 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25803 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25804 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25805 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25806 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25807 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25808 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25809 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25810 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25811 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25812 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25813 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25814 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25815 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25816 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25817 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25818 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25819 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25820 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25821 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25822 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25823 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25824 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25825 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25826 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25827 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25828 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25829 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25830 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25831 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25832 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25833 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25834 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25835 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25836 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25837 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25838 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25839 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25840 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25841 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25842 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25843 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25844 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25845 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25846 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25847 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25850 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25851 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25852 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25853 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25854 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25855 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25856 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25857 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25858 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25859 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25860 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25861 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25862 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25863 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25864 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25865 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25866 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25867 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25868 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25869 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25870 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25871 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25872 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25873 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25874 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25875 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25876 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25877 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25879 LTCC='$LTCC'
25880 LTCFLAGS='$LTCFLAGS'
25881 compiler='$compiler_DEFAULT'
25883 # A function that is used when there is no print builtin or printf.
25884 func_fallback_echo ()
25886 eval 'cat <<_LTECHO_EOF
25888 _LTECHO_EOF'
25891 # Quote evaled strings.
25892 for var in SHELL \
25893 ECHO \
25894 SED \
25895 GREP \
25896 EGREP \
25897 FGREP \
25898 LD \
25899 NM \
25900 LN_S \
25901 lt_SP2NL \
25902 lt_NL2SP \
25903 reload_flag \
25904 OBJDUMP \
25905 deplibs_check_method \
25906 file_magic_cmd \
25907 AR \
25908 AR_FLAGS \
25909 STRIP \
25910 RANLIB \
25911 CC \
25912 CFLAGS \
25913 compiler \
25914 lt_cv_sys_global_symbol_pipe \
25915 lt_cv_sys_global_symbol_to_cdecl \
25916 lt_cv_sys_global_symbol_to_c_name_address \
25917 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25918 lt_prog_compiler_no_builtin_flag \
25919 lt_prog_compiler_wl \
25920 lt_prog_compiler_pic \
25921 lt_prog_compiler_static \
25922 lt_cv_prog_compiler_c_o \
25923 need_locks \
25924 DSYMUTIL \
25925 NMEDIT \
25926 LIPO \
25927 OTOOL \
25928 OTOOL64 \
25929 shrext_cmds \
25930 export_dynamic_flag_spec \
25931 whole_archive_flag_spec \
25932 compiler_needs_object \
25933 with_gnu_ld \
25934 allow_undefined_flag \
25935 no_undefined_flag \
25936 hardcode_libdir_flag_spec \
25937 hardcode_libdir_flag_spec_ld \
25938 hardcode_libdir_separator \
25939 fix_srcfile_path \
25940 exclude_expsyms \
25941 include_expsyms \
25942 file_list_spec \
25943 variables_saved_for_relink \
25944 libname_spec \
25945 library_names_spec \
25946 soname_spec \
25947 install_override_mode \
25948 finish_eval \
25949 old_striplib \
25950 striplib \
25951 compiler_lib_search_dirs \
25952 predep_objects \
25953 postdep_objects \
25954 predeps \
25955 postdeps \
25956 compiler_lib_search_path \
25957 LD_FC \
25958 reload_flag_FC \
25959 compiler_FC \
25960 lt_prog_compiler_no_builtin_flag_FC \
25961 lt_prog_compiler_wl_FC \
25962 lt_prog_compiler_pic_FC \
25963 lt_prog_compiler_static_FC \
25964 lt_cv_prog_compiler_c_o_FC \
25965 export_dynamic_flag_spec_FC \
25966 whole_archive_flag_spec_FC \
25967 compiler_needs_object_FC \
25968 with_gnu_ld_FC \
25969 allow_undefined_flag_FC \
25970 no_undefined_flag_FC \
25971 hardcode_libdir_flag_spec_FC \
25972 hardcode_libdir_flag_spec_ld_FC \
25973 hardcode_libdir_separator_FC \
25974 fix_srcfile_path_FC \
25975 exclude_expsyms_FC \
25976 include_expsyms_FC \
25977 file_list_spec_FC \
25978 compiler_lib_search_dirs_FC \
25979 predep_objects_FC \
25980 postdep_objects_FC \
25981 predeps_FC \
25982 postdeps_FC \
25983 compiler_lib_search_path_FC; do
25984 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25985 *[\\\\\\\`\\"\\\$]*)
25986 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25989 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25991 esac
25992 done
25994 # Double-quote double-evaled strings.
25995 for var in reload_cmds \
25996 old_postinstall_cmds \
25997 old_postuninstall_cmds \
25998 old_archive_cmds \
25999 extract_expsyms_cmds \
26000 old_archive_from_new_cmds \
26001 old_archive_from_expsyms_cmds \
26002 archive_cmds \
26003 archive_expsym_cmds \
26004 module_cmds \
26005 module_expsym_cmds \
26006 export_symbols_cmds \
26007 prelink_cmds \
26008 postinstall_cmds \
26009 postuninstall_cmds \
26010 finish_cmds \
26011 sys_lib_search_path_spec \
26012 sys_lib_dlsearch_path_spec \
26013 reload_cmds_FC \
26014 old_archive_cmds_FC \
26015 old_archive_from_new_cmds_FC \
26016 old_archive_from_expsyms_cmds_FC \
26017 archive_cmds_FC \
26018 archive_expsym_cmds_FC \
26019 module_cmds_FC \
26020 module_expsym_cmds_FC \
26021 export_symbols_cmds_FC \
26022 prelink_cmds_FC; do
26023 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26024 *[\\\\\\\`\\"\\\$]*)
26025 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26028 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26030 esac
26031 done
26033 ac_aux_dir='$ac_aux_dir'
26034 xsi_shell='$xsi_shell'
26035 lt_shell_append='$lt_shell_append'
26037 # See if we are running on zsh, and set the options which allow our
26038 # commands through without removal of \ escapes INIT.
26039 if test -n "\${ZSH_VERSION+set}" ; then
26040 setopt NO_GLOB_SUBST
26044 PACKAGE='$PACKAGE'
26045 VERSION='$VERSION'
26046 TIMESTAMP='$TIMESTAMP'
26047 RM='$RM'
26048 ofile='$ofile'
26055 GCC="$GCC"
26056 CC="$CC"
26057 acx_cv_header_stdint="$acx_cv_header_stdint"
26058 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26059 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26060 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26061 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26062 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26063 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26064 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26065 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26066 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26067 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26068 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26069 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26070 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26073 _ACEOF
26075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26077 # Handling of arguments.
26078 for ac_config_target in $ac_config_targets
26080 case $ac_config_target in
26081 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26082 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26083 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26084 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26085 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26086 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26088 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26089 esac
26090 done
26093 # If the user did not use the arguments to specify the items to instantiate,
26094 # then the envvar interface is used. Set only those that are not.
26095 # We use the long form for the default assignment because of an extremely
26096 # bizarre bug on SunOS 4.1.3.
26097 if $ac_need_defaults; then
26098 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26099 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26100 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26103 # Have a temporary directory for convenience. Make it in the build tree
26104 # simply because there is no reason against having it here, and in addition,
26105 # creating and moving files from /tmp can sometimes cause problems.
26106 # Hook for its removal unless debugging.
26107 # Note that there is a small window in which the directory will not be cleaned:
26108 # after its creation but before its name has been assigned to `$tmp'.
26109 $debug ||
26111 tmp=
26112 trap 'exit_status=$?
26113 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26115 trap 'as_fn_exit 1' 1 2 13 15
26117 # Create a (secure) tmp directory for tmp files.
26120 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26121 test -n "$tmp" && test -d "$tmp"
26122 } ||
26124 tmp=./conf$$-$RANDOM
26125 (umask 077 && mkdir "$tmp")
26126 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26128 # Set up the scripts for CONFIG_FILES section.
26129 # No need to generate them if there are no CONFIG_FILES.
26130 # This happens for instance with `./config.status config.h'.
26131 if test -n "$CONFIG_FILES"; then
26134 ac_cr=`echo X | tr X '\015'`
26135 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26136 # But we know of no other shell where ac_cr would be empty at this
26137 # point, so we can use a bashism as a fallback.
26138 if test "x$ac_cr" = x; then
26139 eval ac_cr=\$\'\\r\'
26141 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26142 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26143 ac_cs_awk_cr='\r'
26144 else
26145 ac_cs_awk_cr=$ac_cr
26148 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26149 _ACEOF
26153 echo "cat >conf$$subs.awk <<_ACEOF" &&
26154 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26155 echo "_ACEOF"
26156 } >conf$$subs.sh ||
26157 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26158 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26159 ac_delim='%!_!# '
26160 for ac_last_try in false false false false false :; do
26161 . ./conf$$subs.sh ||
26162 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26164 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26165 if test $ac_delim_n = $ac_delim_num; then
26166 break
26167 elif $ac_last_try; then
26168 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26169 else
26170 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26172 done
26173 rm -f conf$$subs.sh
26175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26176 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26177 _ACEOF
26178 sed -n '
26180 s/^/S["/; s/!.*/"]=/
26183 s/^[^!]*!//
26184 :repl
26185 t repl
26186 s/'"$ac_delim"'$//
26187 t delim
26190 s/\(.\{148\}\).*/\1/
26191 t more1
26192 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26195 b repl
26196 :more1
26197 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26200 s/.\{148\}//
26201 t nl
26202 :delim
26204 s/\(.\{148\}\).*/\1/
26205 t more2
26206 s/["\\]/\\&/g; s/^/"/; s/$/"/
26209 :more2
26210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26213 s/.\{148\}//
26214 t delim
26215 ' <conf$$subs.awk | sed '
26216 /^[^""]/{
26218 s/\n//
26220 ' >>$CONFIG_STATUS || ac_write_fail=1
26221 rm -f conf$$subs.awk
26222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26223 _ACAWK
26224 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26225 for (key in S) S_is_set[key] = 1
26226 FS = "\a"
26230 line = $ 0
26231 nfields = split(line, field, "@")
26232 substed = 0
26233 len = length(field[1])
26234 for (i = 2; i < nfields; i++) {
26235 key = field[i]
26236 keylen = length(key)
26237 if (S_is_set[key]) {
26238 value = S[key]
26239 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26240 len += length(value) + length(field[++i])
26241 substed = 1
26242 } else
26243 len += 1 + keylen
26246 print line
26249 _ACAWK
26250 _ACEOF
26251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26252 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26253 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26254 else
26256 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26257 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26258 _ACEOF
26260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26262 # trailing colons and then remove the whole line if VPATH becomes empty
26263 # (actually we leave an empty line to preserve line numbers).
26264 if test "x$srcdir" = x.; then
26265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26266 s/:*\$(srcdir):*/:/
26267 s/:*\${srcdir}:*/:/
26268 s/:*@srcdir@:*/:/
26269 s/^\([^=]*=[ ]*\):*/\1/
26270 s/:*$//
26271 s/^[^=]*=[ ]*$//
26275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26276 fi # test -n "$CONFIG_FILES"
26278 # Set up the scripts for CONFIG_HEADERS section.
26279 # No need to generate them if there are no CONFIG_HEADERS.
26280 # This happens for instance with `./config.status Makefile'.
26281 if test -n "$CONFIG_HEADERS"; then
26282 cat >"$tmp/defines.awk" <<\_ACAWK ||
26283 BEGIN {
26284 _ACEOF
26286 # Transform confdefs.h into an awk script `defines.awk', embedded as
26287 # here-document in config.status, that substitutes the proper values into
26288 # config.h.in to produce config.h.
26290 # Create a delimiter string that does not exist in confdefs.h, to ease
26291 # handling of long lines.
26292 ac_delim='%!_!# '
26293 for ac_last_try in false false :; do
26294 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26295 if test -z "$ac_t"; then
26296 break
26297 elif $ac_last_try; then
26298 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26299 else
26300 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26302 done
26304 # For the awk script, D is an array of macro values keyed by name,
26305 # likewise P contains macro parameters if any. Preserve backslash
26306 # newline sequences.
26308 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26309 sed -n '
26310 s/.\{148\}/&'"$ac_delim"'/g
26311 t rset
26312 :rset
26313 s/^[ ]*#[ ]*define[ ][ ]*/ /
26314 t def
26316 :def
26317 s/\\$//
26318 t bsnl
26319 s/["\\]/\\&/g
26320 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26321 D["\1"]=" \3"/p
26322 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26324 :bsnl
26325 s/["\\]/\\&/g
26326 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26327 D["\1"]=" \3\\\\\\n"\\/p
26328 t cont
26329 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26330 t cont
26332 :cont
26334 s/.\{148\}/&'"$ac_delim"'/g
26335 t clear
26336 :clear
26337 s/\\$//
26338 t bsnlc
26339 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26341 :bsnlc
26342 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26343 b cont
26344 ' <confdefs.h | sed '
26345 s/'"$ac_delim"'/"\\\
26346 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26349 for (key in D) D_is_set[key] = 1
26350 FS = "\a"
26352 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26353 line = \$ 0
26354 split(line, arg, " ")
26355 if (arg[1] == "#") {
26356 defundef = arg[2]
26357 mac1 = arg[3]
26358 } else {
26359 defundef = substr(arg[1], 2)
26360 mac1 = arg[2]
26362 split(mac1, mac2, "(") #)
26363 macro = mac2[1]
26364 prefix = substr(line, 1, index(line, defundef) - 1)
26365 if (D_is_set[macro]) {
26366 # Preserve the white space surrounding the "#".
26367 print prefix "define", macro P[macro] D[macro]
26368 next
26369 } else {
26370 # Replace #undef with comments. This is necessary, for example,
26371 # in the case of _POSIX_SOURCE, which is predefined and required
26372 # on some systems where configure will not decide to define it.
26373 if (defundef == "undef") {
26374 print "/*", prefix defundef, macro, "*/"
26375 next
26379 { print }
26380 _ACAWK
26381 _ACEOF
26382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26383 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26384 fi # test -n "$CONFIG_HEADERS"
26387 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26388 shift
26389 for ac_tag
26391 case $ac_tag in
26392 :[FHLC]) ac_mode=$ac_tag; continue;;
26393 esac
26394 case $ac_mode$ac_tag in
26395 :[FHL]*:*);;
26396 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26397 :[FH]-) ac_tag=-:-;;
26398 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26399 esac
26400 ac_save_IFS=$IFS
26401 IFS=:
26402 set x $ac_tag
26403 IFS=$ac_save_IFS
26404 shift
26405 ac_file=$1
26406 shift
26408 case $ac_mode in
26409 :L) ac_source=$1;;
26410 :[FH])
26411 ac_file_inputs=
26412 for ac_f
26414 case $ac_f in
26415 -) ac_f="$tmp/stdin";;
26416 *) # Look for the file first in the build tree, then in the source tree
26417 # (if the path is not absolute). The absolute path cannot be DOS-style,
26418 # because $ac_f cannot contain `:'.
26419 test -f "$ac_f" ||
26420 case $ac_f in
26421 [\\/$]*) false;;
26422 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26423 esac ||
26424 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26425 esac
26426 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26427 as_fn_append ac_file_inputs " '$ac_f'"
26428 done
26430 # Let's still pretend it is `configure' which instantiates (i.e., don't
26431 # use $as_me), people would be surprised to read:
26432 # /* config.h. Generated by config.status. */
26433 configure_input='Generated from '`
26434 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26435 `' by configure.'
26436 if test x"$ac_file" != x-; then
26437 configure_input="$ac_file. $configure_input"
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26439 $as_echo "$as_me: creating $ac_file" >&6;}
26441 # Neutralize special characters interpreted by sed in replacement strings.
26442 case $configure_input in #(
26443 *\&* | *\|* | *\\* )
26444 ac_sed_conf_input=`$as_echo "$configure_input" |
26445 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26446 *) ac_sed_conf_input=$configure_input;;
26447 esac
26449 case $ac_tag in
26450 *:-:* | *:-) cat >"$tmp/stdin" \
26451 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26452 esac
26454 esac
26456 ac_dir=`$as_dirname -- "$ac_file" ||
26457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26458 X"$ac_file" : 'X\(//\)[^/]' \| \
26459 X"$ac_file" : 'X\(//\)$' \| \
26460 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26461 $as_echo X"$ac_file" |
26462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26463 s//\1/
26466 /^X\(\/\/\)[^/].*/{
26467 s//\1/
26470 /^X\(\/\/\)$/{
26471 s//\1/
26474 /^X\(\/\).*/{
26475 s//\1/
26478 s/.*/./; q'`
26479 as_dir="$ac_dir"; as_fn_mkdir_p
26480 ac_builddir=.
26482 case "$ac_dir" in
26483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26485 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26486 # A ".." for each directory in $ac_dir_suffix.
26487 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26488 case $ac_top_builddir_sub in
26489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26491 esac ;;
26492 esac
26493 ac_abs_top_builddir=$ac_pwd
26494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26495 # for backward compatibility:
26496 ac_top_builddir=$ac_top_build_prefix
26498 case $srcdir in
26499 .) # We are building in place.
26500 ac_srcdir=.
26501 ac_top_srcdir=$ac_top_builddir_sub
26502 ac_abs_top_srcdir=$ac_pwd ;;
26503 [\\/]* | ?:[\\/]* ) # Absolute name.
26504 ac_srcdir=$srcdir$ac_dir_suffix;
26505 ac_top_srcdir=$srcdir
26506 ac_abs_top_srcdir=$srcdir ;;
26507 *) # Relative name.
26508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26509 ac_top_srcdir=$ac_top_build_prefix$srcdir
26510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26511 esac
26512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26515 case $ac_mode in
26518 # CONFIG_FILE
26521 case $INSTALL in
26522 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26523 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26524 esac
26525 ac_MKDIR_P=$MKDIR_P
26526 case $MKDIR_P in
26527 [\\/$]* | ?:[\\/]* ) ;;
26528 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26529 esac
26530 _ACEOF
26532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26533 # If the template does not know about datarootdir, expand it.
26534 # FIXME: This hack should be removed a few years after 2.60.
26535 ac_datarootdir_hack=; ac_datarootdir_seen=
26536 ac_sed_dataroot='
26537 /datarootdir/ {
26541 /@datadir@/p
26542 /@docdir@/p
26543 /@infodir@/p
26544 /@localedir@/p
26545 /@mandir@/p'
26546 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26547 *datarootdir*) ac_datarootdir_seen=yes;;
26548 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26550 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26551 _ACEOF
26552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26553 ac_datarootdir_hack='
26554 s&@datadir@&$datadir&g
26555 s&@docdir@&$docdir&g
26556 s&@infodir@&$infodir&g
26557 s&@localedir@&$localedir&g
26558 s&@mandir@&$mandir&g
26559 s&\\\${datarootdir}&$datarootdir&g' ;;
26560 esac
26561 _ACEOF
26563 # Neutralize VPATH when `$srcdir' = `.'.
26564 # Shell code in configure.ac might set extrasub.
26565 # FIXME: do we really want to maintain this feature?
26566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26567 ac_sed_extra="$ac_vpsub
26568 $extrasub
26569 _ACEOF
26570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26572 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26573 s|@configure_input@|$ac_sed_conf_input|;t t
26574 s&@top_builddir@&$ac_top_builddir_sub&;t t
26575 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26576 s&@srcdir@&$ac_srcdir&;t t
26577 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26578 s&@top_srcdir@&$ac_top_srcdir&;t t
26579 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26580 s&@builddir@&$ac_builddir&;t t
26581 s&@abs_builddir@&$ac_abs_builddir&;t t
26582 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26583 s&@INSTALL@&$ac_INSTALL&;t t
26584 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26585 $ac_datarootdir_hack
26587 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26588 || as_fn_error "could not create $ac_file" "$LINENO" 5
26590 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26591 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26592 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26594 which seems to be undefined. Please make sure it is defined." >&5
26595 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26596 which seems to be undefined. Please make sure it is defined." >&2;}
26598 rm -f "$tmp/stdin"
26599 case $ac_file in
26600 -) cat "$tmp/out" && rm -f "$tmp/out";;
26601 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26602 esac \
26603 || as_fn_error "could not create $ac_file" "$LINENO" 5
26607 # CONFIG_HEADER
26609 if test x"$ac_file" != x-; then
26611 $as_echo "/* $configure_input */" \
26612 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26613 } >"$tmp/config.h" \
26614 || as_fn_error "could not create $ac_file" "$LINENO" 5
26615 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26617 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26618 else
26619 rm -f "$ac_file"
26620 mv "$tmp/config.h" "$ac_file" \
26621 || as_fn_error "could not create $ac_file" "$LINENO" 5
26623 else
26624 $as_echo "/* $configure_input */" \
26625 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26626 || as_fn_error "could not create -" "$LINENO" 5
26628 # Compute "$ac_file"'s index in $config_headers.
26629 _am_arg="$ac_file"
26630 _am_stamp_count=1
26631 for _am_header in $config_headers :; do
26632 case $_am_header in
26633 $_am_arg | $_am_arg:* )
26634 break ;;
26636 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26637 esac
26638 done
26639 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26640 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26641 X"$_am_arg" : 'X\(//\)[^/]' \| \
26642 X"$_am_arg" : 'X\(//\)$' \| \
26643 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26644 $as_echo X"$_am_arg" |
26645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26646 s//\1/
26649 /^X\(\/\/\)[^/].*/{
26650 s//\1/
26653 /^X\(\/\/\)$/{
26654 s//\1/
26657 /^X\(\/\).*/{
26658 s//\1/
26661 s/.*/./; q'`/stamp-h$_am_stamp_count
26664 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26665 $as_echo "$as_me: executing $ac_file commands" >&6;}
26667 esac
26670 case $ac_file$ac_mode in
26671 "default-1":C)
26672 # Only add multilib support code if we just rebuilt the top-level
26673 # Makefile.
26674 case " $CONFIG_FILES " in
26675 *" Makefile "*)
26676 ac_file=Makefile . ${multi_basedir}/config-ml.in
26678 esac ;;
26679 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26680 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26681 # are listed without --file. Let's play safe and only enable the eval
26682 # if we detect the quoting.
26683 case $CONFIG_FILES in
26684 *\'*) eval set x "$CONFIG_FILES" ;;
26685 *) set x $CONFIG_FILES ;;
26686 esac
26687 shift
26688 for mf
26690 # Strip MF so we end up with the name of the file.
26691 mf=`echo "$mf" | sed -e 's/:.*$//'`
26692 # Check whether this is an Automake generated Makefile or not.
26693 # We used to match only the files named `Makefile.in', but
26694 # some people rename them; so instead we look at the file content.
26695 # Grep'ing the first line is not enough: some people post-process
26696 # each Makefile.in and add a new line on top of each file to say so.
26697 # Grep'ing the whole file is not good either: AIX grep has a line
26698 # limit of 2048, but all sed's we know have understand at least 4000.
26699 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26700 dirpart=`$as_dirname -- "$mf" ||
26701 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26702 X"$mf" : 'X\(//\)[^/]' \| \
26703 X"$mf" : 'X\(//\)$' \| \
26704 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26705 $as_echo X"$mf" |
26706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26707 s//\1/
26710 /^X\(\/\/\)[^/].*/{
26711 s//\1/
26714 /^X\(\/\/\)$/{
26715 s//\1/
26718 /^X\(\/\).*/{
26719 s//\1/
26722 s/.*/./; q'`
26723 else
26724 continue
26726 # Extract the definition of DEPDIR, am__include, and am__quote
26727 # from the Makefile without running `make'.
26728 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26729 test -z "$DEPDIR" && continue
26730 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26731 test -z "am__include" && continue
26732 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26733 # When using ansi2knr, U may be empty or an underscore; expand it
26734 U=`sed -n 's/^U = //p' < "$mf"`
26735 # Find all dependency output files, they are included files with
26736 # $(DEPDIR) in their names. We invoke sed twice because it is the
26737 # simplest approach to changing $(DEPDIR) to its actual value in the
26738 # expansion.
26739 for file in `sed -n "
26740 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26741 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26742 # Make sure the directory exists.
26743 test -f "$dirpart/$file" && continue
26744 fdir=`$as_dirname -- "$file" ||
26745 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26746 X"$file" : 'X\(//\)[^/]' \| \
26747 X"$file" : 'X\(//\)$' \| \
26748 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26749 $as_echo X"$file" |
26750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26751 s//\1/
26754 /^X\(\/\/\)[^/].*/{
26755 s//\1/
26758 /^X\(\/\/\)$/{
26759 s//\1/
26762 /^X\(\/\).*/{
26763 s//\1/
26766 s/.*/./; q'`
26767 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26768 # echo "creating $dirpart/$file"
26769 echo '# dummy' > "$dirpart/$file"
26770 done
26771 done
26774 "libtool":C)
26776 # See if we are running on zsh, and set the options which allow our
26777 # commands through without removal of \ escapes.
26778 if test -n "${ZSH_VERSION+set}" ; then
26779 setopt NO_GLOB_SUBST
26782 cfgfile="${ofile}T"
26783 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26784 $RM "$cfgfile"
26786 cat <<_LT_EOF >> "$cfgfile"
26787 #! $SHELL
26789 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26790 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26791 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26792 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26794 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26795 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26796 # Written by Gordon Matzigkeit, 1996
26798 # This file is part of GNU Libtool.
26800 # GNU Libtool is free software; you can redistribute it and/or
26801 # modify it under the terms of the GNU General Public License as
26802 # published by the Free Software Foundation; either version 2 of
26803 # the License, or (at your option) any later version.
26805 # As a special exception to the GNU General Public License,
26806 # if you distribute this file as part of a program or library that
26807 # is built using GNU Libtool, you may include this file under the
26808 # same distribution terms that you use for the rest of that program.
26810 # GNU Libtool is distributed in the hope that it will be useful,
26811 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26812 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26813 # GNU General Public License for more details.
26815 # You should have received a copy of the GNU General Public License
26816 # along with GNU Libtool; see the file COPYING. If not, a copy
26817 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26818 # obtained by writing to the Free Software Foundation, Inc.,
26819 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26822 # The names of the tagged configurations supported by this script.
26823 available_tags="FC "
26825 # ### BEGIN LIBTOOL CONFIG
26827 # Which release of libtool.m4 was used?
26828 macro_version=$macro_version
26829 macro_revision=$macro_revision
26831 # Whether or not to build shared libraries.
26832 build_libtool_libs=$enable_shared
26834 # Whether or not to build static libraries.
26835 build_old_libs=$enable_static
26837 # What type of objects to build.
26838 pic_mode=$pic_mode
26840 # Whether or not to optimize for fast installation.
26841 fast_install=$enable_fast_install
26843 # Shell to use when invoking shell scripts.
26844 SHELL=$lt_SHELL
26846 # An echo program that protects backslashes.
26847 ECHO=$lt_ECHO
26849 # The host system.
26850 host_alias=$host_alias
26851 host=$host
26852 host_os=$host_os
26854 # The build system.
26855 build_alias=$build_alias
26856 build=$build
26857 build_os=$build_os
26859 # A sed program that does not truncate output.
26860 SED=$lt_SED
26862 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26863 Xsed="\$SED -e 1s/^X//"
26865 # A grep program that handles long lines.
26866 GREP=$lt_GREP
26868 # An ERE matcher.
26869 EGREP=$lt_EGREP
26871 # A literal string matcher.
26872 FGREP=$lt_FGREP
26874 # A BSD- or MS-compatible name lister.
26875 NM=$lt_NM
26877 # Whether we need soft or hard links.
26878 LN_S=$lt_LN_S
26880 # What is the maximum length of a command?
26881 max_cmd_len=$max_cmd_len
26883 # Object file suffix (normally "o").
26884 objext=$ac_objext
26886 # Executable file suffix (normally "").
26887 exeext=$exeext
26889 # whether the shell understands "unset".
26890 lt_unset=$lt_unset
26892 # turn spaces into newlines.
26893 SP2NL=$lt_lt_SP2NL
26895 # turn newlines into spaces.
26896 NL2SP=$lt_lt_NL2SP
26898 # An object symbol dumper.
26899 OBJDUMP=$lt_OBJDUMP
26901 # Method to check whether dependent libraries are shared objects.
26902 deplibs_check_method=$lt_deplibs_check_method
26904 # Command to use when deplibs_check_method == "file_magic".
26905 file_magic_cmd=$lt_file_magic_cmd
26907 # The archiver.
26908 AR=$lt_AR
26909 AR_FLAGS=$lt_AR_FLAGS
26911 # A symbol stripping program.
26912 STRIP=$lt_STRIP
26914 # Commands used to install an old-style archive.
26915 RANLIB=$lt_RANLIB
26916 old_postinstall_cmds=$lt_old_postinstall_cmds
26917 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26919 # Whether to use a lock for old archive extraction.
26920 lock_old_archive_extraction=$lock_old_archive_extraction
26922 # A C compiler.
26923 LTCC=$lt_CC
26925 # LTCC compiler flags.
26926 LTCFLAGS=$lt_CFLAGS
26928 # Take the output of nm and produce a listing of raw symbols and C names.
26929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26931 # Transform the output of nm in a proper C declaration.
26932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26934 # Transform the output of nm in a C name address pair.
26935 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26937 # Transform the output of nm in a C name address pair when lib prefix is needed.
26938 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26940 # The name of the directory that contains temporary libtool files.
26941 objdir=$objdir
26943 # Used to examine libraries when file_magic_cmd begins with "file".
26944 MAGIC_CMD=$MAGIC_CMD
26946 # Must we lock files when doing compilation?
26947 need_locks=$lt_need_locks
26949 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26950 DSYMUTIL=$lt_DSYMUTIL
26952 # Tool to change global to local symbols on Mac OS X.
26953 NMEDIT=$lt_NMEDIT
26955 # Tool to manipulate fat objects and archives on Mac OS X.
26956 LIPO=$lt_LIPO
26958 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26959 OTOOL=$lt_OTOOL
26961 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26962 OTOOL64=$lt_OTOOL64
26964 # Old archive suffix (normally "a").
26965 libext=$libext
26967 # Shared library suffix (normally ".so").
26968 shrext_cmds=$lt_shrext_cmds
26970 # The commands to extract the exported symbol list from a shared archive.
26971 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26973 # Variables whose values should be saved in libtool wrapper scripts and
26974 # restored at link time.
26975 variables_saved_for_relink=$lt_variables_saved_for_relink
26977 # Do we need the "lib" prefix for modules?
26978 need_lib_prefix=$need_lib_prefix
26980 # Do we need a version for libraries?
26981 need_version=$need_version
26983 # Library versioning type.
26984 version_type=$version_type
26986 # Shared library runtime path variable.
26987 runpath_var=$runpath_var
26989 # Shared library path variable.
26990 shlibpath_var=$shlibpath_var
26992 # Is shlibpath searched before the hard-coded library search path?
26993 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26995 # Format of library name prefix.
26996 libname_spec=$lt_libname_spec
26998 # List of archive names. First name is the real one, the rest are links.
26999 # The last name is the one that the linker finds with -lNAME
27000 library_names_spec=$lt_library_names_spec
27002 # The coded name of the library, if different from the real name.
27003 soname_spec=$lt_soname_spec
27005 # Permission mode override for installation of shared libraries.
27006 install_override_mode=$lt_install_override_mode
27008 # Command to use after installation of a shared archive.
27009 postinstall_cmds=$lt_postinstall_cmds
27011 # Command to use after uninstallation of a shared archive.
27012 postuninstall_cmds=$lt_postuninstall_cmds
27014 # Commands used to finish a libtool library installation in a directory.
27015 finish_cmds=$lt_finish_cmds
27017 # As "finish_cmds", except a single script fragment to be evaled but
27018 # not shown.
27019 finish_eval=$lt_finish_eval
27021 # Whether we should hardcode library paths into libraries.
27022 hardcode_into_libs=$hardcode_into_libs
27024 # Compile-time system search path for libraries.
27025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27027 # Run-time system search path for libraries.
27028 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27030 # Whether dlopen is supported.
27031 dlopen_support=$enable_dlopen
27033 # Whether dlopen of programs is supported.
27034 dlopen_self=$enable_dlopen_self
27036 # Whether dlopen of statically linked programs is supported.
27037 dlopen_self_static=$enable_dlopen_self_static
27039 # Commands to strip libraries.
27040 old_striplib=$lt_old_striplib
27041 striplib=$lt_striplib
27044 # The linker used to build libraries.
27045 LD=$lt_LD
27047 # How to create reloadable object files.
27048 reload_flag=$lt_reload_flag
27049 reload_cmds=$lt_reload_cmds
27051 # Commands used to build an old-style archive.
27052 old_archive_cmds=$lt_old_archive_cmds
27054 # A language specific compiler.
27055 CC=$lt_compiler
27057 # Is the compiler the GNU compiler?
27058 with_gcc=$GCC
27060 # Compiler flag to turn off builtin functions.
27061 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27063 # How to pass a linker flag through the compiler.
27064 wl=$lt_lt_prog_compiler_wl
27066 # Additional compiler flags for building library objects.
27067 pic_flag=$lt_lt_prog_compiler_pic
27069 # Compiler flag to prevent dynamic linking.
27070 link_static_flag=$lt_lt_prog_compiler_static
27072 # Does compiler simultaneously support -c and -o options?
27073 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27075 # Whether or not to add -lc for building shared libraries.
27076 build_libtool_need_lc=$archive_cmds_need_lc
27078 # Whether or not to disallow shared libs when runtime libs are static.
27079 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27081 # Compiler flag to allow reflexive dlopens.
27082 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27084 # Compiler flag to generate shared objects directly from archives.
27085 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27087 # Whether the compiler copes with passing no objects directly.
27088 compiler_needs_object=$lt_compiler_needs_object
27090 # Create an old-style archive from a shared archive.
27091 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27093 # Create a temporary old-style archive to link instead of a shared archive.
27094 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27096 # Commands used to build a shared archive.
27097 archive_cmds=$lt_archive_cmds
27098 archive_expsym_cmds=$lt_archive_expsym_cmds
27100 # Commands used to build a loadable module if different from building
27101 # a shared archive.
27102 module_cmds=$lt_module_cmds
27103 module_expsym_cmds=$lt_module_expsym_cmds
27105 # Whether we are building with GNU ld or not.
27106 with_gnu_ld=$lt_with_gnu_ld
27108 # Flag that allows shared libraries with undefined symbols to be built.
27109 allow_undefined_flag=$lt_allow_undefined_flag
27111 # Flag that enforces no undefined symbols.
27112 no_undefined_flag=$lt_no_undefined_flag
27114 # Flag to hardcode \$libdir into a binary during linking.
27115 # This must work even if \$libdir does not exist
27116 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27118 # If ld is used when linking, flag to hardcode \$libdir into a binary
27119 # during linking. This must work even if \$libdir does not exist.
27120 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27122 # Whether we need a single "-rpath" flag with a separated argument.
27123 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27125 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27126 # DIR into the resulting binary.
27127 hardcode_direct=$hardcode_direct
27129 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27130 # DIR into the resulting binary and the resulting library dependency is
27131 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27132 # library is relocated.
27133 hardcode_direct_absolute=$hardcode_direct_absolute
27135 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27136 # into the resulting binary.
27137 hardcode_minus_L=$hardcode_minus_L
27139 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27140 # into the resulting binary.
27141 hardcode_shlibpath_var=$hardcode_shlibpath_var
27143 # Set to "yes" if building a shared library automatically hardcodes DIR
27144 # into the library and all subsequent libraries and executables linked
27145 # against it.
27146 hardcode_automatic=$hardcode_automatic
27148 # Set to yes if linker adds runtime paths of dependent libraries
27149 # to runtime path list.
27150 inherit_rpath=$inherit_rpath
27152 # Whether libtool must link a program against all its dependency libraries.
27153 link_all_deplibs=$link_all_deplibs
27155 # Fix the shell variable \$srcfile for the compiler.
27156 fix_srcfile_path=$lt_fix_srcfile_path
27158 # Set to "yes" if exported symbols are required.
27159 always_export_symbols=$always_export_symbols
27161 # The commands to list exported symbols.
27162 export_symbols_cmds=$lt_export_symbols_cmds
27164 # Symbols that should not be listed in the preloaded symbols.
27165 exclude_expsyms=$lt_exclude_expsyms
27167 # Symbols that must always be exported.
27168 include_expsyms=$lt_include_expsyms
27170 # Commands necessary for linking programs (against libraries) with templates.
27171 prelink_cmds=$lt_prelink_cmds
27173 # Specify filename containing input files.
27174 file_list_spec=$lt_file_list_spec
27176 # How to hardcode a shared library path into an executable.
27177 hardcode_action=$hardcode_action
27179 # The directories searched by this compiler when creating a shared library.
27180 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27182 # Dependencies to place before and after the objects being linked to
27183 # create a shared library.
27184 predep_objects=$lt_predep_objects
27185 postdep_objects=$lt_postdep_objects
27186 predeps=$lt_predeps
27187 postdeps=$lt_postdeps
27189 # The library search path used internally by the compiler when linking
27190 # a shared library.
27191 compiler_lib_search_path=$lt_compiler_lib_search_path
27193 # ### END LIBTOOL CONFIG
27195 _LT_EOF
27197 case $host_os in
27198 aix3*)
27199 cat <<\_LT_EOF >> "$cfgfile"
27200 # AIX sometimes has problems with the GCC collect2 program. For some
27201 # reason, if we set the COLLECT_NAMES environment variable, the problems
27202 # vanish in a puff of smoke.
27203 if test "X${COLLECT_NAMES+set}" != Xset; then
27204 COLLECT_NAMES=
27205 export COLLECT_NAMES
27207 _LT_EOF
27209 esac
27212 ltmain="$ac_aux_dir/ltmain.sh"
27215 # We use sed instead of cat because bash on DJGPP gets confused if
27216 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27217 # text mode, it properly converts lines to CR/LF. This bash problem
27218 # is reportedly fixed, but why not run on old versions too?
27219 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27220 || (rm -f "$cfgfile"; exit 1)
27222 case $xsi_shell in
27223 yes)
27224 cat << \_LT_EOF >> "$cfgfile"
27226 # func_dirname file append nondir_replacement
27227 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27228 # otherwise set result to NONDIR_REPLACEMENT.
27229 func_dirname ()
27231 case ${1} in
27232 */*) func_dirname_result="${1%/*}${2}" ;;
27233 * ) func_dirname_result="${3}" ;;
27234 esac
27237 # func_basename file
27238 func_basename ()
27240 func_basename_result="${1##*/}"
27243 # func_dirname_and_basename file append nondir_replacement
27244 # perform func_basename and func_dirname in a single function
27245 # call:
27246 # dirname: Compute the dirname of FILE. If nonempty,
27247 # add APPEND to the result, otherwise set result
27248 # to NONDIR_REPLACEMENT.
27249 # value returned in "$func_dirname_result"
27250 # basename: Compute filename of FILE.
27251 # value retuned in "$func_basename_result"
27252 # Implementation must be kept synchronized with func_dirname
27253 # and func_basename. For efficiency, we do not delegate to
27254 # those functions but instead duplicate the functionality here.
27255 func_dirname_and_basename ()
27257 case ${1} in
27258 */*) func_dirname_result="${1%/*}${2}" ;;
27259 * ) func_dirname_result="${3}" ;;
27260 esac
27261 func_basename_result="${1##*/}"
27264 # func_stripname prefix suffix name
27265 # strip PREFIX and SUFFIX off of NAME.
27266 # PREFIX and SUFFIX must not contain globbing or regex special
27267 # characters, hashes, percent signs, but SUFFIX may contain a leading
27268 # dot (in which case that matches only a dot).
27269 func_stripname ()
27271 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27272 # positional parameters, so assign one to ordinary parameter first.
27273 func_stripname_result=${3}
27274 func_stripname_result=${func_stripname_result#"${1}"}
27275 func_stripname_result=${func_stripname_result%"${2}"}
27278 # func_opt_split
27279 func_opt_split ()
27281 func_opt_split_opt=${1%%=*}
27282 func_opt_split_arg=${1#*=}
27285 # func_lo2o object
27286 func_lo2o ()
27288 case ${1} in
27289 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27290 *) func_lo2o_result=${1} ;;
27291 esac
27294 # func_xform libobj-or-source
27295 func_xform ()
27297 func_xform_result=${1%.*}.lo
27300 # func_arith arithmetic-term...
27301 func_arith ()
27303 func_arith_result=$(( $* ))
27306 # func_len string
27307 # STRING may not start with a hyphen.
27308 func_len ()
27310 func_len_result=${#1}
27313 _LT_EOF
27315 *) # Bourne compatible functions.
27316 cat << \_LT_EOF >> "$cfgfile"
27318 # func_dirname file append nondir_replacement
27319 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27320 # otherwise set result to NONDIR_REPLACEMENT.
27321 func_dirname ()
27323 # Extract subdirectory from the argument.
27324 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27325 if test "X$func_dirname_result" = "X${1}"; then
27326 func_dirname_result="${3}"
27327 else
27328 func_dirname_result="$func_dirname_result${2}"
27332 # func_basename file
27333 func_basename ()
27335 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27339 # func_stripname prefix suffix name
27340 # strip PREFIX and SUFFIX off of NAME.
27341 # PREFIX and SUFFIX must not contain globbing or regex special
27342 # characters, hashes, percent signs, but SUFFIX may contain a leading
27343 # dot (in which case that matches only a dot).
27344 # func_strip_suffix prefix name
27345 func_stripname ()
27347 case ${2} in
27348 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27349 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27350 esac
27353 # sed scripts:
27354 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27355 my_sed_long_arg='1s/^-[^=]*=//'
27357 # func_opt_split
27358 func_opt_split ()
27360 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27361 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27364 # func_lo2o object
27365 func_lo2o ()
27367 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27370 # func_xform libobj-or-source
27371 func_xform ()
27373 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27376 # func_arith arithmetic-term...
27377 func_arith ()
27379 func_arith_result=`expr "$@"`
27382 # func_len string
27383 # STRING may not start with a hyphen.
27384 func_len ()
27386 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27389 _LT_EOF
27390 esac
27392 case $lt_shell_append in
27393 yes)
27394 cat << \_LT_EOF >> "$cfgfile"
27396 # func_append var value
27397 # Append VALUE to the end of shell variable VAR.
27398 func_append ()
27400 eval "$1+=\$2"
27402 _LT_EOF
27405 cat << \_LT_EOF >> "$cfgfile"
27407 # func_append var value
27408 # Append VALUE to the end of shell variable VAR.
27409 func_append ()
27411 eval "$1=\$$1\$2"
27414 _LT_EOF
27416 esac
27419 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27420 || (rm -f "$cfgfile"; exit 1)
27422 mv -f "$cfgfile" "$ofile" ||
27423 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27424 chmod +x "$ofile"
27427 cat <<_LT_EOF >> "$ofile"
27429 # ### BEGIN LIBTOOL TAG CONFIG: FC
27431 # The linker used to build libraries.
27432 LD=$lt_LD_FC
27434 # How to create reloadable object files.
27435 reload_flag=$lt_reload_flag_FC
27436 reload_cmds=$lt_reload_cmds_FC
27438 # Commands used to build an old-style archive.
27439 old_archive_cmds=$lt_old_archive_cmds_FC
27441 # A language specific compiler.
27442 CC=$lt_compiler_FC
27444 # Is the compiler the GNU compiler?
27445 with_gcc=$GCC_FC
27447 # Compiler flag to turn off builtin functions.
27448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27450 # How to pass a linker flag through the compiler.
27451 wl=$lt_lt_prog_compiler_wl_FC
27453 # Additional compiler flags for building library objects.
27454 pic_flag=$lt_lt_prog_compiler_pic_FC
27456 # Compiler flag to prevent dynamic linking.
27457 link_static_flag=$lt_lt_prog_compiler_static_FC
27459 # Does compiler simultaneously support -c and -o options?
27460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27462 # Whether or not to add -lc for building shared libraries.
27463 build_libtool_need_lc=$archive_cmds_need_lc_FC
27465 # Whether or not to disallow shared libs when runtime libs are static.
27466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27468 # Compiler flag to allow reflexive dlopens.
27469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27471 # Compiler flag to generate shared objects directly from archives.
27472 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27474 # Whether the compiler copes with passing no objects directly.
27475 compiler_needs_object=$lt_compiler_needs_object_FC
27477 # Create an old-style archive from a shared archive.
27478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27480 # Create a temporary old-style archive to link instead of a shared archive.
27481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27483 # Commands used to build a shared archive.
27484 archive_cmds=$lt_archive_cmds_FC
27485 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27487 # Commands used to build a loadable module if different from building
27488 # a shared archive.
27489 module_cmds=$lt_module_cmds_FC
27490 module_expsym_cmds=$lt_module_expsym_cmds_FC
27492 # Whether we are building with GNU ld or not.
27493 with_gnu_ld=$lt_with_gnu_ld_FC
27495 # Flag that allows shared libraries with undefined symbols to be built.
27496 allow_undefined_flag=$lt_allow_undefined_flag_FC
27498 # Flag that enforces no undefined symbols.
27499 no_undefined_flag=$lt_no_undefined_flag_FC
27501 # Flag to hardcode \$libdir into a binary during linking.
27502 # This must work even if \$libdir does not exist
27503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27505 # If ld is used when linking, flag to hardcode \$libdir into a binary
27506 # during linking. This must work even if \$libdir does not exist.
27507 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27509 # Whether we need a single "-rpath" flag with a separated argument.
27510 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27513 # DIR into the resulting binary.
27514 hardcode_direct=$hardcode_direct_FC
27516 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27517 # DIR into the resulting binary and the resulting library dependency is
27518 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27519 # library is relocated.
27520 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27522 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27523 # into the resulting binary.
27524 hardcode_minus_L=$hardcode_minus_L_FC
27526 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27527 # into the resulting binary.
27528 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27530 # Set to "yes" if building a shared library automatically hardcodes DIR
27531 # into the library and all subsequent libraries and executables linked
27532 # against it.
27533 hardcode_automatic=$hardcode_automatic_FC
27535 # Set to yes if linker adds runtime paths of dependent libraries
27536 # to runtime path list.
27537 inherit_rpath=$inherit_rpath_FC
27539 # Whether libtool must link a program against all its dependency libraries.
27540 link_all_deplibs=$link_all_deplibs_FC
27542 # Fix the shell variable \$srcfile for the compiler.
27543 fix_srcfile_path=$lt_fix_srcfile_path_FC
27545 # Set to "yes" if exported symbols are required.
27546 always_export_symbols=$always_export_symbols_FC
27548 # The commands to list exported symbols.
27549 export_symbols_cmds=$lt_export_symbols_cmds_FC
27551 # Symbols that should not be listed in the preloaded symbols.
27552 exclude_expsyms=$lt_exclude_expsyms_FC
27554 # Symbols that must always be exported.
27555 include_expsyms=$lt_include_expsyms_FC
27557 # Commands necessary for linking programs (against libraries) with templates.
27558 prelink_cmds=$lt_prelink_cmds_FC
27560 # Specify filename containing input files.
27561 file_list_spec=$lt_file_list_spec_FC
27563 # How to hardcode a shared library path into an executable.
27564 hardcode_action=$hardcode_action_FC
27566 # The directories searched by this compiler when creating a shared library.
27567 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27569 # Dependencies to place before and after the objects being linked to
27570 # create a shared library.
27571 predep_objects=$lt_predep_objects_FC
27572 postdep_objects=$lt_postdep_objects_FC
27573 predeps=$lt_predeps_FC
27574 postdeps=$lt_postdeps_FC
27576 # The library search path used internally by the compiler when linking
27577 # a shared library.
27578 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27580 # ### END LIBTOOL TAG CONFIG: FC
27581 _LT_EOF
27584 "gstdint.h":C)
27585 if test "$GCC" = yes; then
27586 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27587 else
27588 echo "/* generated for $CC */" > tmp-stdint.h
27591 sed 's/^ *//' >> tmp-stdint.h <<EOF
27593 #ifndef GCC_GENERATED_STDINT_H
27594 #define GCC_GENERATED_STDINT_H 1
27596 #include <sys/types.h>
27599 if test "$acx_cv_header_stdint" != stdint.h; then
27600 echo "#include <stddef.h>" >> tmp-stdint.h
27602 if test "$acx_cv_header_stdint" != stddef.h; then
27603 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27606 sed 's/^ *//' >> tmp-stdint.h <<EOF
27607 /* glibc uses these symbols as guards to prevent redefinitions. */
27608 #ifdef __int8_t_defined
27609 #define _INT8_T
27610 #define _INT16_T
27611 #define _INT32_T
27612 #endif
27613 #ifdef __uint32_t_defined
27614 #define _UINT32_T
27615 #endif
27619 # ----------------- done header, emit basic int types -------------
27620 if test "$acx_cv_header_stdint" = stddef.h; then
27621 sed 's/^ *//' >> tmp-stdint.h <<EOF
27623 #ifndef _UINT8_T
27624 #define _UINT8_T
27625 #ifndef __uint8_t_defined
27626 #define __uint8_t_defined
27627 #ifndef uint8_t
27628 typedef unsigned $acx_cv_type_int8_t uint8_t;
27629 #endif
27630 #endif
27631 #endif
27633 #ifndef _UINT16_T
27634 #define _UINT16_T
27635 #ifndef __uint16_t_defined
27636 #define __uint16_t_defined
27637 #ifndef uint16_t
27638 typedef unsigned $acx_cv_type_int16_t uint16_t;
27639 #endif
27640 #endif
27641 #endif
27643 #ifndef _UINT32_T
27644 #define _UINT32_T
27645 #ifndef __uint32_t_defined
27646 #define __uint32_t_defined
27647 #ifndef uint32_t
27648 typedef unsigned $acx_cv_type_int32_t uint32_t;
27649 #endif
27650 #endif
27651 #endif
27653 #ifndef _INT8_T
27654 #define _INT8_T
27655 #ifndef __int8_t_defined
27656 #define __int8_t_defined
27657 #ifndef int8_t
27658 typedef $acx_cv_type_int8_t int8_t;
27659 #endif
27660 #endif
27661 #endif
27663 #ifndef _INT16_T
27664 #define _INT16_T
27665 #ifndef __int16_t_defined
27666 #define __int16_t_defined
27667 #ifndef int16_t
27668 typedef $acx_cv_type_int16_t int16_t;
27669 #endif
27670 #endif
27671 #endif
27673 #ifndef _INT32_T
27674 #define _INT32_T
27675 #ifndef __int32_t_defined
27676 #define __int32_t_defined
27677 #ifndef int32_t
27678 typedef $acx_cv_type_int32_t int32_t;
27679 #endif
27680 #endif
27681 #endif
27683 elif test "$ac_cv_type_u_int32_t" = yes; then
27684 sed 's/^ *//' >> tmp-stdint.h <<EOF
27686 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27687 #ifndef _INT8_T
27688 #define _INT8_T
27689 #endif
27690 #ifndef _INT16_T
27691 #define _INT16_T
27692 #endif
27693 #ifndef _INT32_T
27694 #define _INT32_T
27695 #endif
27697 #ifndef _UINT8_T
27698 #define _UINT8_T
27699 #ifndef __uint8_t_defined
27700 #define __uint8_t_defined
27701 #ifndef uint8_t
27702 typedef u_int8_t uint8_t;
27703 #endif
27704 #endif
27705 #endif
27707 #ifndef _UINT16_T
27708 #define _UINT16_T
27709 #ifndef __uint16_t_defined
27710 #define __uint16_t_defined
27711 #ifndef uint16_t
27712 typedef u_int16_t uint16_t;
27713 #endif
27714 #endif
27715 #endif
27717 #ifndef _UINT32_T
27718 #define _UINT32_T
27719 #ifndef __uint32_t_defined
27720 #define __uint32_t_defined
27721 #ifndef uint32_t
27722 typedef u_int32_t uint32_t;
27723 #endif
27724 #endif
27725 #endif
27727 else
27728 sed 's/^ *//' >> tmp-stdint.h <<EOF
27730 /* Some systems have guard macros to prevent redefinitions, define them. */
27731 #ifndef _INT8_T
27732 #define _INT8_T
27733 #endif
27734 #ifndef _INT16_T
27735 #define _INT16_T
27736 #endif
27737 #ifndef _INT32_T
27738 #define _INT32_T
27739 #endif
27740 #ifndef _UINT8_T
27741 #define _UINT8_T
27742 #endif
27743 #ifndef _UINT16_T
27744 #define _UINT16_T
27745 #endif
27746 #ifndef _UINT32_T
27747 #define _UINT32_T
27748 #endif
27752 # ------------- done basic int types, emit int64_t types ------------
27753 if test "$ac_cv_type_uint64_t" = yes; then
27754 sed 's/^ *//' >> tmp-stdint.h <<EOF
27756 /* system headers have good uint64_t and int64_t */
27757 #ifndef _INT64_T
27758 #define _INT64_T
27759 #endif
27760 #ifndef _UINT64_T
27761 #define _UINT64_T
27762 #endif
27764 elif test "$ac_cv_type_u_int64_t" = yes; then
27765 sed 's/^ *//' >> tmp-stdint.h <<EOF
27767 /* system headers have an u_int64_t (and int64_t) */
27768 #ifndef _INT64_T
27769 #define _INT64_T
27770 #endif
27771 #ifndef _UINT64_T
27772 #define _UINT64_T
27773 #ifndef __uint64_t_defined
27774 #define __uint64_t_defined
27775 #ifndef uint64_t
27776 typedef u_int64_t uint64_t;
27777 #endif
27778 #endif
27779 #endif
27781 elif test -n "$acx_cv_type_int64_t"; then
27782 sed 's/^ *//' >> tmp-stdint.h <<EOF
27784 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27785 #ifndef _INT64_T
27786 #define _INT64_T
27787 #ifndef int64_t
27788 typedef $acx_cv_type_int64_t int64_t;
27789 #endif
27790 #endif
27791 #ifndef _UINT64_T
27792 #define _UINT64_T
27793 #ifndef __uint64_t_defined
27794 #define __uint64_t_defined
27795 #ifndef uint64_t
27796 typedef unsigned $acx_cv_type_int64_t uint64_t;
27797 #endif
27798 #endif
27799 #endif
27801 else
27802 sed 's/^ *//' >> tmp-stdint.h <<EOF
27804 /* some common heuristics for int64_t, using compiler-specific tests */
27805 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27806 #ifndef _INT64_T
27807 #define _INT64_T
27808 #ifndef __int64_t_defined
27809 #ifndef int64_t
27810 typedef long long int64_t;
27811 #endif
27812 #endif
27813 #endif
27814 #ifndef _UINT64_T
27815 #define _UINT64_T
27816 #ifndef uint64_t
27817 typedef unsigned long long uint64_t;
27818 #endif
27819 #endif
27821 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27822 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27823 does not implement __extension__. But that compiler doesn't define
27824 __GNUC_MINOR__. */
27825 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27826 # define __extension__
27827 # endif
27829 # ifndef _INT64_T
27830 # define _INT64_T
27831 # ifndef int64_t
27832 __extension__ typedef long long int64_t;
27833 # endif
27834 # endif
27835 # ifndef _UINT64_T
27836 # define _UINT64_T
27837 # ifndef uint64_t
27838 __extension__ typedef unsigned long long uint64_t;
27839 # endif
27840 # endif
27842 #elif !defined __STRICT_ANSI__
27843 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27845 # ifndef _INT64_T
27846 # define _INT64_T
27847 # ifndef int64_t
27848 typedef __int64 int64_t;
27849 # endif
27850 # endif
27851 # ifndef _UINT64_T
27852 # define _UINT64_T
27853 # ifndef uint64_t
27854 typedef unsigned __int64 uint64_t;
27855 # endif
27856 # endif
27857 # endif /* compiler */
27859 #endif /* ANSI version */
27863 # ------------- done int64_t types, emit intptr types ------------
27864 if test "$ac_cv_type_uintptr_t" != yes; then
27865 sed 's/^ *//' >> tmp-stdint.h <<EOF
27867 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27868 #ifndef __uintptr_t_defined
27869 #ifndef uintptr_t
27870 typedef u$acx_cv_type_intptr_t uintptr_t;
27871 #endif
27872 #endif
27873 #ifndef __intptr_t_defined
27874 #ifndef intptr_t
27875 typedef $acx_cv_type_intptr_t intptr_t;
27876 #endif
27877 #endif
27881 # ------------- done intptr types, emit int_least types ------------
27882 if test "$ac_cv_type_int_least32_t" != yes; then
27883 sed 's/^ *//' >> tmp-stdint.h <<EOF
27885 /* Define int_least types */
27886 typedef int8_t int_least8_t;
27887 typedef int16_t int_least16_t;
27888 typedef int32_t int_least32_t;
27889 #ifdef _INT64_T
27890 typedef int64_t int_least64_t;
27891 #endif
27893 typedef uint8_t uint_least8_t;
27894 typedef uint16_t uint_least16_t;
27895 typedef uint32_t uint_least32_t;
27896 #ifdef _UINT64_T
27897 typedef uint64_t uint_least64_t;
27898 #endif
27902 # ------------- done intptr types, emit int_fast types ------------
27903 if test "$ac_cv_type_int_fast32_t" != yes; then
27904 sed 's/^ *//' >> tmp-stdint.h <<EOF
27906 /* Define int_fast types. short is often slow */
27907 typedef int8_t int_fast8_t;
27908 typedef int int_fast16_t;
27909 typedef int32_t int_fast32_t;
27910 #ifdef _INT64_T
27911 typedef int64_t int_fast64_t;
27912 #endif
27914 typedef uint8_t uint_fast8_t;
27915 typedef unsigned int uint_fast16_t;
27916 typedef uint32_t uint_fast32_t;
27917 #ifdef _UINT64_T
27918 typedef uint64_t uint_fast64_t;
27919 #endif
27923 if test "$ac_cv_type_uintmax_t" != yes; then
27924 sed 's/^ *//' >> tmp-stdint.h <<EOF
27926 /* Define intmax based on what we found */
27927 #ifndef intmax_t
27928 #ifdef _INT64_T
27929 typedef int64_t intmax_t;
27930 #else
27931 typedef long intmax_t;
27932 #endif
27933 #endif
27934 #ifndef uintmax_t
27935 #ifdef _UINT64_T
27936 typedef uint64_t uintmax_t;
27937 #else
27938 typedef unsigned long uintmax_t;
27939 #endif
27940 #endif
27944 sed 's/^ *//' >> tmp-stdint.h <<EOF
27946 #endif /* GCC_GENERATED_STDINT_H */
27949 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27950 rm -f tmp-stdint.h
27951 else
27952 mv -f tmp-stdint.h gstdint.h
27957 esac
27958 done # for ac_tag
27961 as_fn_exit 0
27962 _ACEOF
27963 ac_clean_files=$ac_clean_files_save
27965 test $ac_write_fail = 0 ||
27966 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27969 # configure is writing to config.log, and then calls config.status.
27970 # config.status does its own redirection, appending to config.log.
27971 # Unfortunately, on DOS this fails, as config.log is still kept open
27972 # by configure, so config.status won't be able to write to it; its
27973 # output is simply discarded. So we exec the FD to /dev/null,
27974 # effectively closing config.log, so it can be properly (re)opened and
27975 # appended to by config.status. When coming back to configure, we
27976 # need to make the FD available again.
27977 if test "$no_create" != yes; then
27978 ac_cs_success=:
27979 ac_config_status_args=
27980 test "$silent" = yes &&
27981 ac_config_status_args="$ac_config_status_args --quiet"
27982 exec 5>/dev/null
27983 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27984 exec 5>>config.log
27985 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27986 # would make configure fail if this is the last instruction.
27987 $ac_cs_success || as_fn_exit $?
27989 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27991 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}