Fix PR number in changelog entry.
[official-gcc.git] / libgfortran / configure
blob53df412c89b62ead062870fefd7c16483ac402f3
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
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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_c_werror_flag=
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 IEEE_FLAGS
606 FPU_HOST_HEADER
607 LIBGFOR_BUILD_QUAD_FALSE
608 LIBGFOR_BUILD_QUAD_TRUE
609 LIBQUADINCLUDE
610 LIBQUADLIB_DEP
611 LIBQUADLIB
612 LIBQUADSPEC
613 extra_ldflags_libgfortran
614 ac_ct_FC
615 FCFLAGS
617 enable_static
618 enable_shared
619 lt_host_flags
620 OTOOL64
621 OTOOL
622 LIPO
623 NMEDIT
624 DSYMUTIL
625 OBJDUMP
626 LN_S
628 ac_ct_DUMPBIN
629 DUMPBIN
631 FGREP
633 LIBTOOL
634 RANLIB
637 SECTION_FLAGS
638 LIBGFOR_USE_SYMVER_SUN_FALSE
639 LIBGFOR_USE_SYMVER_SUN_TRUE
640 LIBGFOR_USE_SYMVER_GNU_FALSE
641 LIBGFOR_USE_SYMVER_GNU_TRUE
642 LIBGFOR_USE_SYMVER_FALSE
643 LIBGFOR_USE_SYMVER_TRUE
644 AM_CFLAGS
645 AM_FCFLAGS
646 toolexeclibdir
647 toolexecdir
648 EGREP
649 GREP
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 AMDEPBACKSLASH
655 AMDEP_FALSE
656 AMDEP_TRUE
657 am__quote
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
667 multi_basedir
668 MAINT
669 MAINTAINER_MODE_FALSE
670 MAINTAINER_MODE_TRUE
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
677 mkdir_p
678 MKDIR_P
679 INSTALL_STRIP_PROGRAM
680 STRIP
681 install_sh
682 MAKEINFO
683 AUTOHEADER
684 AUTOMAKE
685 AUTOCONF
686 ACLOCAL
687 VERSION
688 PACKAGE
689 CYGPATH_W
690 am__isrc
691 INSTALL_DATA
692 INSTALL_SCRIPT
693 INSTALL_PROGRAM
694 target_os
695 target_vendor
696 target_cpu
697 target
698 host_os
699 host_vendor
700 host_cpu
701 host
702 onestep
703 onestep_FALSE
704 onestep_TRUE
705 target_subdir
706 host_subdir
707 build_subdir
708 build_libsubdir
709 build_os
710 build_vendor
711 build_cpu
712 build
713 target_alias
714 host_alias
715 build_alias
716 LIBS
717 ECHO_T
718 ECHO_N
719 ECHO_C
720 DEFS
721 mandir
722 localedir
723 libdir
724 psdir
725 pdfdir
726 dvidir
727 htmldir
728 infodir
729 docdir
730 oldincludedir
731 includedir
732 localstatedir
733 sharedstatedir
734 sysconfdir
735 datadir
736 datarootdir
737 libexecdir
738 sbindir
739 bindir
740 program_transform_name
741 prefix
742 exec_prefix
743 PACKAGE_URL
744 PACKAGE_BUGREPORT
745 PACKAGE_STRING
746 PACKAGE_VERSION
747 PACKAGE_TARNAME
748 PACKAGE_NAME
749 PATH_SEPARATOR
750 SHELL'
751 ac_subst_files=''
752 ac_user_opts='
753 enable_option_checking
754 with_build_libsubdir
755 enable_version_specific_runtime_libs
756 enable_intermodule
757 enable_maintainer_mode
758 enable_multilib
759 enable_dependency_tracking
760 enable_symvers
761 enable_shared
762 enable_static
763 with_pic
764 enable_fast_install
765 with_gnu_ld
766 enable_libtool_lock
767 enable_largefile
768 enable_libquadmath_support
770 ac_precious_vars='build_alias
771 host_alias
772 target_alias
774 CFLAGS
775 LDFLAGS
776 LIBS
777 CPPFLAGS
780 FCFLAGS'
783 # Initialize some variables set by options.
784 ac_init_help=
785 ac_init_version=false
786 ac_unrecognized_opts=
787 ac_unrecognized_sep=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
790 cache_file=/dev/null
791 exec_prefix=NONE
792 no_create=
793 no_recursion=
794 prefix=NONE
795 program_prefix=NONE
796 program_suffix=NONE
797 program_transform_name=s,x,x,
798 silent=
799 site=
800 srcdir=
801 verbose=
802 x_includes=NONE
803 x_libraries=NONE
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir='${exec_prefix}/bin'
812 sbindir='${exec_prefix}/sbin'
813 libexecdir='${exec_prefix}/libexec'
814 datarootdir='${prefix}/share'
815 datadir='${datarootdir}'
816 sysconfdir='${prefix}/etc'
817 sharedstatedir='${prefix}/com'
818 localstatedir='${prefix}/var'
819 includedir='${prefix}/include'
820 oldincludedir='/usr/include'
821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir='${datarootdir}/info'
823 htmldir='${docdir}'
824 dvidir='${docdir}'
825 pdfdir='${docdir}'
826 psdir='${docdir}'
827 libdir='${exec_prefix}/lib'
828 localedir='${datarootdir}/locale'
829 mandir='${datarootdir}/man'
831 ac_prev=
832 ac_dashdash=
833 for ac_option
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\$ac_option
838 ac_prev=
839 continue
842 case $ac_option in
843 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 *) ac_optarg=yes ;;
845 esac
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
851 ac_dashdash=yes ;;
853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
854 ac_prev=bindir ;;
855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856 bindir=$ac_optarg ;;
858 -build | --build | --buil | --bui | --bu)
859 ac_prev=build_alias ;;
860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861 build_alias=$ac_optarg ;;
863 -cache-file | --cache-file | --cache-fil | --cache-fi \
864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865 ac_prev=cache_file ;;
866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868 cache_file=$ac_optarg ;;
870 --config-cache | -C)
871 cache_file=config.cache ;;
873 -datadir | --datadir | --datadi | --datad)
874 ac_prev=datadir ;;
875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
876 datadir=$ac_optarg ;;
878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879 | --dataroo | --dataro | --datar)
880 ac_prev=datarootdir ;;
881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883 datarootdir=$ac_optarg ;;
885 -disable-* | --disable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
894 "enable_$ac_useropt"
895 "*) ;;
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
898 esac
899 eval enable_$ac_useropt=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915 as_fn_error "invalid feature name: $ac_useropt"
916 ac_useropt_orig=$ac_useropt
917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
920 "enable_$ac_useropt"
921 "*) ;;
922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep=', ';;
924 esac
925 eval enable_$ac_useropt=\$ac_optarg ;;
927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
929 | --exec | --exe | --ex)
930 ac_prev=exec_prefix ;;
931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
933 | --exec=* | --exe=* | --ex=*)
934 exec_prefix=$ac_optarg ;;
936 -gas | --gas | --ga | --g)
937 # Obsolete; use --with-gas.
938 with_gas=yes ;;
940 -help | --help | --hel | --he | -h)
941 ac_init_help=long ;;
942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
943 ac_init_help=recursive ;;
944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
945 ac_init_help=short ;;
947 -host | --host | --hos | --ho)
948 ac_prev=host_alias ;;
949 -host=* | --host=* | --hos=* | --ho=*)
950 host_alias=$ac_optarg ;;
952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953 ac_prev=htmldir ;;
954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
955 | --ht=*)
956 htmldir=$ac_optarg ;;
958 -includedir | --includedir | --includedi | --included | --include \
959 | --includ | --inclu | --incl | --inc)
960 ac_prev=includedir ;;
961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
962 | --includ=* | --inclu=* | --incl=* | --inc=*)
963 includedir=$ac_optarg ;;
965 -infodir | --infodir | --infodi | --infod | --info | --inf)
966 ac_prev=infodir ;;
967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
968 infodir=$ac_optarg ;;
970 -libdir | --libdir | --libdi | --libd)
971 ac_prev=libdir ;;
972 -libdir=* | --libdir=* | --libdi=* | --libd=*)
973 libdir=$ac_optarg ;;
975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
976 | --libexe | --libex | --libe)
977 ac_prev=libexecdir ;;
978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
979 | --libexe=* | --libex=* | --libe=*)
980 libexecdir=$ac_optarg ;;
982 -localedir | --localedir | --localedi | --localed | --locale)
983 ac_prev=localedir ;;
984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
985 localedir=$ac_optarg ;;
987 -localstatedir | --localstatedir | --localstatedi | --localstated \
988 | --localstate | --localstat | --localsta | --localst | --locals)
989 ac_prev=localstatedir ;;
990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
992 localstatedir=$ac_optarg ;;
994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995 ac_prev=mandir ;;
996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 mandir=$ac_optarg ;;
999 -nfp | --nfp | --nf)
1000 # Obsolete; use --without-fp.
1001 with_fp=no ;;
1003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1004 | --no-cr | --no-c | -n)
1005 no_create=yes ;;
1007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1009 no_recursion=yes ;;
1011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1013 | --oldin | --oldi | --old | --ol | --o)
1014 ac_prev=oldincludedir ;;
1015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1018 oldincludedir=$ac_optarg ;;
1020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021 ac_prev=prefix ;;
1022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1023 prefix=$ac_optarg ;;
1025 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1026 | --program-pre | --program-pr | --program-p)
1027 ac_prev=program_prefix ;;
1028 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1030 program_prefix=$ac_optarg ;;
1032 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1033 | --program-suf | --program-su | --program-s)
1034 ac_prev=program_suffix ;;
1035 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1037 program_suffix=$ac_optarg ;;
1039 -program-transform-name | --program-transform-name \
1040 | --program-transform-nam | --program-transform-na \
1041 | --program-transform-n | --program-transform- \
1042 | --program-transform | --program-transfor \
1043 | --program-transfo | --program-transf \
1044 | --program-trans | --program-tran \
1045 | --progr-tra | --program-tr | --program-t)
1046 ac_prev=program_transform_name ;;
1047 -program-transform-name=* | --program-transform-name=* \
1048 | --program-transform-nam=* | --program-transform-na=* \
1049 | --program-transform-n=* | --program-transform-=* \
1050 | --program-transform=* | --program-transfor=* \
1051 | --program-transfo=* | --program-transf=* \
1052 | --program-trans=* | --program-tran=* \
1053 | --progr-tra=* | --program-tr=* | --program-t=*)
1054 program_transform_name=$ac_optarg ;;
1056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057 ac_prev=pdfdir ;;
1058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1059 pdfdir=$ac_optarg ;;
1061 -psdir | --psdir | --psdi | --psd | --ps)
1062 ac_prev=psdir ;;
1063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1064 psdir=$ac_optarg ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1068 silent=yes ;;
1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071 ac_prev=sbindir ;;
1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1073 | --sbi=* | --sb=*)
1074 sbindir=$ac_optarg ;;
1076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1078 | --sharedst | --shareds | --shared | --share | --shar \
1079 | --sha | --sh)
1080 ac_prev=sharedstatedir ;;
1081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1084 | --sha=* | --sh=*)
1085 sharedstatedir=$ac_optarg ;;
1087 -site | --site | --sit)
1088 ac_prev=site ;;
1089 -site=* | --site=* | --sit=*)
1090 site=$ac_optarg ;;
1092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093 ac_prev=srcdir ;;
1094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1095 srcdir=$ac_optarg ;;
1097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1098 | --syscon | --sysco | --sysc | --sys | --sy)
1099 ac_prev=sysconfdir ;;
1100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1102 sysconfdir=$ac_optarg ;;
1104 -target | --target | --targe | --targ | --tar | --ta | --t)
1105 ac_prev=target_alias ;;
1106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1107 target_alias=$ac_optarg ;;
1109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1110 verbose=yes ;;
1112 -version | --version | --versio | --versi | --vers | -V)
1113 ac_init_version=: ;;
1115 -with-* | --with-*)
1116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1128 esac
1129 eval with_$ac_useropt=\$ac_optarg ;;
1131 -without-* | --without-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1140 "with_$ac_useropt"
1141 "*) ;;
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1144 esac
1145 eval with_$ac_useropt=no ;;
1147 --x)
1148 # Obsolete; use --with-x.
1149 with_x=yes ;;
1151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1152 | --x-incl | --x-inc | --x-in | --x-i)
1153 ac_prev=x_includes ;;
1154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1156 x_includes=$ac_optarg ;;
1158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1160 ac_prev=x_libraries ;;
1161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1163 x_libraries=$ac_optarg ;;
1165 -*) as_fn_error "unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information."
1169 *=*)
1170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' | [0-9]* | *[!_$as_cr_alnum]* )
1174 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1175 esac
1176 eval $ac_envvar=\$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1187 esac
1188 done
1190 if test -n "$ac_prev"; then
1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error "missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1197 no) ;;
1198 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 esac
1203 # Check all directory arguments for consistency.
1204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val=\$$ac_var
1210 # Remove trailing slashes.
1211 case $ac_val in
1212 */ )
1213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\$ac_val;;
1215 esac
1216 # Be sure to have absolute directory names.
1217 case $ac_val in
1218 [\\/$]* | ?:[\\/]* ) continue;;
1219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1220 esac
1221 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1222 done
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1227 build=$build_alias
1228 host=$host_alias
1229 target=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x; then
1233 if test "x$build_alias" = x; then
1234 cross_compiling=maybe
1235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1236 If a cross compiler is detected then cross compile mode will be used." >&2
1237 elif test "x$build_alias" != "x$host_alias"; then
1238 cross_compiling=yes
1242 ac_tool_prefix=
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 test "$silent" = yes && exec 6>/dev/null
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error "pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 s//\1/
1270 /^X\(\/\/\)[^/].*/{
1271 s//\1/
1274 /^X\(\/\/\)$/{
1275 s//\1/
1278 /^X\(\/\).*/{
1279 s//\1/
1282 s/.*/./; q'`
1283 srcdir=$ac_confdir
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 srcdir=..
1287 else
1288 ac_srcdir_defaulted=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`(
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1297 pwd)`
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 srcdir=.
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1305 case $srcdir in
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 esac
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 done
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1321 cat <<_ACEOF
1322 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1331 Configuration:
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 [PREFIX]
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1375 _ACEOF
1377 cat <<\_ACEOF
1379 Program names:
1380 --program-prefix=PREFIX prepend PREFIX to installed program names
1381 --program-suffix=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1384 System types:
1385 --build=BUILD configure for building on BUILD [guessed]
1386 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1387 --target=TARGET configure for building compilers for TARGET [HOST]
1388 _ACEOF
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1394 esac
1395 cat <<\_ACEOF
1397 Optional Features:
1398 --disable-option-checking ignore unrecognized --enable/--with options
1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1401 --enable-version-specific-runtime-libs
1402 specify that runtime libraries should be installed
1403 in a compiler-specific directory
1404 --enable-intermodule build the library in one step
1405 --enable-maintainer-mode enable make rules and dependencies not useful
1406 (and sometimes confusing) to the casual installer
1407 --enable-multilib build many library versions (default)
1408 --disable-dependency-tracking speeds up one-time build
1409 --enable-dependency-tracking do not reject slow dependency extractors
1410 --disable-symvers disable symbol versioning for libgfortran
1411 --enable-shared[=PKGS] build shared libraries [default=yes]
1412 --enable-static[=PKGS] build static libraries [default=yes]
1413 --enable-fast-install[=PKGS]
1414 optimize for fast installation [default=yes]
1415 --disable-libtool-lock avoid locking (might break parallel builds)
1416 --disable-largefile omit support for large files
1417 --disable-libquadmath-support
1418 disable libquadmath support for Fortran
1420 Optional Packages:
1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1423 --with-build-libsubdir=DIR Directory where to find libraries for build system
1424 --with-pic try to use only PIC/non-PIC objects [default=use
1425 both]
1426 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1428 Some influential environment variables:
1429 CC C compiler command
1430 CFLAGS C compiler flags
1431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1432 nonstandard directory <lib dir>
1433 LIBS libraries to pass to the linker, e.g. -l<library>
1434 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1435 you have headers in a nonstandard directory <include dir>
1436 CPP C preprocessor
1437 FC Fortran compiler command
1438 FCFLAGS Fortran compiler flags
1440 Use these variables to override the choices made by `configure' or to help
1441 it to find libraries and programs with nonstandard names/locations.
1443 Report bugs to the package provider.
1444 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1445 General help using GNU software: <http://www.gnu.org/gethelp/>.
1446 _ACEOF
1447 ac_status=$?
1450 if test "$ac_init_help" = "recursive"; then
1451 # If there are subdirs, report their specific --help.
1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1453 test -d "$ac_dir" ||
1454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1455 continue
1456 ac_builddir=.
1458 case "$ac_dir" in
1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1462 # A ".." for each directory in $ac_dir_suffix.
1463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1464 case $ac_top_builddir_sub in
1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1467 esac ;;
1468 esac
1469 ac_abs_top_builddir=$ac_pwd
1470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1471 # for backward compatibility:
1472 ac_top_builddir=$ac_top_build_prefix
1474 case $srcdir in
1475 .) # We are building in place.
1476 ac_srcdir=.
1477 ac_top_srcdir=$ac_top_builddir_sub
1478 ac_abs_top_srcdir=$ac_pwd ;;
1479 [\\/]* | ?:[\\/]* ) # Absolute name.
1480 ac_srcdir=$srcdir$ac_dir_suffix;
1481 ac_top_srcdir=$srcdir
1482 ac_abs_top_srcdir=$srcdir ;;
1483 *) # Relative name.
1484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1485 ac_top_srcdir=$ac_top_build_prefix$srcdir
1486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 esac
1488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1490 cd "$ac_dir" || { ac_status=$?; continue; }
1491 # Check for guested configure.
1492 if test -f "$ac_srcdir/configure.gnu"; then
1493 echo &&
1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1495 elif test -f "$ac_srcdir/configure"; then
1496 echo &&
1497 $SHELL "$ac_srcdir/configure" --help=recursive
1498 else
1499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 fi || ac_status=$?
1501 cd "$ac_pwd" || { ac_status=$?; break; }
1502 done
1505 test -n "$ac_init_help" && exit $ac_status
1506 if $ac_init_version; then
1507 cat <<\_ACEOF
1508 GNU Fortran Runtime Library configure 0.3
1509 generated by GNU Autoconf 2.64
1511 Copyright (C) 2009 Free Software Foundation, Inc.
1512 This configure script is free software; the Free Software Foundation
1513 gives unlimited permission to copy, distribute and modify it.
1514 _ACEOF
1515 exit
1518 ## ------------------------ ##
1519 ## Autoconf initialization. ##
1520 ## ------------------------ ##
1522 # ac_fn_c_try_compile LINENO
1523 # --------------------------
1524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1525 ac_fn_c_try_compile ()
1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528 rm -f conftest.$ac_objext
1529 if { { ac_try="$ac_compile"
1530 case "(($ac_try" in
1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1532 *) ac_try_echo=$ac_try;;
1533 esac
1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535 $as_echo "$ac_try_echo"; } >&5
1536 (eval "$ac_compile") 2>conftest.err
1537 ac_status=$?
1538 if test -s conftest.err; then
1539 grep -v '^ *+' conftest.err >conftest.er1
1540 cat conftest.er1 >&5
1541 mv -f conftest.er1 conftest.err
1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1544 test $ac_status = 0; } && {
1545 test -z "$ac_c_werror_flag" ||
1546 test ! -s conftest.err
1547 } && test -s conftest.$ac_objext; then :
1548 ac_retval=0
1549 else
1550 $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1553 ac_retval=1
1555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1556 return $ac_retval
1558 } # ac_fn_c_try_compile
1560 # ac_fn_c_try_cpp LINENO
1561 # ----------------------
1562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1563 ac_fn_c_try_cpp ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if { { ac_try="$ac_cpp conftest.$ac_ext"
1567 case "(($ac_try" in
1568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1570 esac
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574 ac_status=$?
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } >/dev/null && {
1582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 }; then :
1585 ac_retval=0
1586 else
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1590 ac_retval=1
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593 return $ac_retval
1595 } # ac_fn_c_try_cpp
1597 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1598 # -------------------------------------------------------
1599 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1600 # the include files in INCLUDES and setting the cache variable VAR
1601 # accordingly.
1602 ac_fn_c_check_header_mongrel ()
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1607 $as_echo_n "checking for $2... " >&6; }
1608 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1609 $as_echo_n "(cached) " >&6
1611 eval ac_res=\$$3
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1613 $as_echo "$ac_res" >&6; }
1614 else
1615 # Is the header compilable?
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1617 $as_echo_n "checking $2 usability... " >&6; }
1618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1619 /* end confdefs.h. */
1621 #include <$2>
1622 _ACEOF
1623 if ac_fn_c_try_compile "$LINENO"; then :
1624 ac_header_compiler=yes
1625 else
1626 ac_header_compiler=no
1628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1630 $as_echo "$ac_header_compiler" >&6; }
1632 # Is the header present?
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1634 $as_echo_n "checking $2 presence... " >&6; }
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1637 #include <$2>
1638 _ACEOF
1639 if ac_fn_c_try_cpp "$LINENO"; then :
1640 ac_header_preproc=yes
1641 else
1642 ac_header_preproc=no
1644 rm -f conftest.err conftest.$ac_ext
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1646 $as_echo "$ac_header_preproc" >&6; }
1648 # So? What about this header?
1649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1650 yes:no: )
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1652 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 no:yes:* )
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1658 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1660 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1662 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1664 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1668 esac
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670 $as_echo_n "checking for $2... " >&6; }
1671 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1672 $as_echo_n "(cached) " >&6
1673 else
1674 eval "$3=\$ac_header_compiler"
1676 eval ac_res=\$$3
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1682 } # ac_fn_c_check_header_mongrel
1684 # ac_fn_c_try_run LINENO
1685 # ----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1687 # that executables *can* be run.
1688 ac_fn_c_try_run ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_link"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>&5
1699 ac_status=$?
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1702 { { case "(($ac_try" in
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_try") 2>&5
1709 ac_status=$?
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; }; }; then :
1712 ac_retval=0
1713 else
1714 $as_echo "$as_me: program exited with status $ac_status" >&5
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1718 ac_retval=$ac_status
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 return $ac_retval
1724 } # ac_fn_c_try_run
1726 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1727 # -------------------------------------------------------
1728 # Tests whether HEADER exists and can be compiled using the include files in
1729 # INCLUDES, setting the cache variable VAR accordingly.
1730 ac_fn_c_check_header_compile ()
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1736 $as_echo_n "(cached) " >&6
1737 else
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1741 #include <$2>
1742 _ACEOF
1743 if ac_fn_c_try_compile "$LINENO"; then :
1744 eval "$3=yes"
1745 else
1746 eval "$3=no"
1748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750 eval ac_res=\$$3
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755 } # ac_fn_c_check_header_compile
1757 # ac_fn_c_try_link LINENO
1758 # -----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_c_try_link ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext conftest$ac_exeext
1764 if { { ac_try="$ac_link"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>conftest.err
1772 ac_status=$?
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest$ac_exeext && {
1783 test "$cross_compiling" = yes ||
1784 $as_test_x conftest$ac_exeext
1785 }; then :
1786 ac_retval=0
1787 else
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 ac_retval=1
1793 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1794 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1795 # interfere with the next link command; also delete a directory that is
1796 # left behind by Apple's compiler. We do this before executing the actions.
1797 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 return $ac_retval
1801 } # ac_fn_c_try_link
1803 # ac_fn_c_check_func LINENO FUNC VAR
1804 # ----------------------------------
1805 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1806 ac_fn_c_check_func ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812 $as_echo_n "(cached) " >&6
1813 else
1814 if test x$gcc_no_link = xyes; then
1815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1819 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1821 #define $2 innocuous_$2
1823 /* System header to define __stub macros and hopefully few prototypes,
1824 which can conflict with char $2 (); below.
1825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1826 <limits.h> exists even on freestanding compilers. */
1828 #ifdef __STDC__
1829 # include <limits.h>
1830 #else
1831 # include <assert.h>
1832 #endif
1834 #undef $2
1836 /* Override any GCC internal prototype to avoid an error.
1837 Use char because int might match the return type of a GCC
1838 builtin and then its argument prototype would still apply. */
1839 #ifdef __cplusplus
1840 extern "C"
1841 #endif
1842 char $2 ();
1843 /* The GNU C library defines this for functions which it implements
1844 to always fail with ENOSYS. Some functions are actually named
1845 something starting with __ and the normal name is an alias. */
1846 #if defined __stub_$2 || defined __stub___$2
1847 choke me
1848 #endif
1851 main ()
1853 return $2 ();
1855 return 0;
1857 _ACEOF
1858 if ac_fn_c_try_link "$LINENO"; then :
1859 eval "$3=yes"
1860 else
1861 eval "$3=no"
1863 rm -f core conftest.err conftest.$ac_objext \
1864 conftest$ac_exeext conftest.$ac_ext
1866 eval ac_res=\$$3
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 } # ac_fn_c_check_func
1873 # ac_fn_fc_try_compile LINENO
1874 # ---------------------------
1875 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1876 ac_fn_fc_try_compile ()
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 rm -f conftest.$ac_objext
1880 if { { ac_try="$ac_compile"
1881 case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_compile") 2>conftest.err
1888 ac_status=$?
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } && {
1896 test -z "$ac_fc_werror_flag" ||
1897 test ! -s conftest.err
1898 } && test -s conftest.$ac_objext; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1904 ac_retval=1
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 return $ac_retval
1909 } # ac_fn_fc_try_compile
1911 # ac_fn_fc_try_link LINENO
1912 # ------------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_fc_try_link ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 rm -f conftest.$ac_objext conftest$ac_exeext
1918 if { { ac_try="$ac_link"
1919 case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>conftest.err
1926 ac_status=$?
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_fc_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest$ac_exeext && {
1937 test "$cross_compiling" = yes ||
1938 $as_test_x conftest$ac_exeext
1939 }; then :
1940 ac_retval=0
1941 else
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1945 ac_retval=1
1947 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1948 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1949 # interfere with the next link command; also delete a directory that is
1950 # left behind by Apple's compiler. We do this before executing the actions.
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 return $ac_retval
1955 } # ac_fn_fc_try_link
1957 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1958 # -------------------------------------------
1959 # Tests whether TYPE exists after having included INCLUDES, setting cache
1960 # variable VAR accordingly.
1961 ac_fn_c_check_type ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 eval "$3=no"
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1974 main ()
1976 if (sizeof ($2))
1977 return 0;
1979 return 0;
1981 _ACEOF
1982 if ac_fn_c_try_compile "$LINENO"; then :
1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1984 /* end confdefs.h. */
1987 main ()
1989 if (sizeof (($2)))
1990 return 0;
1992 return 0;
1994 _ACEOF
1995 if ac_fn_c_try_compile "$LINENO"; then :
1997 else
1998 eval "$3=yes"
2000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 eval ac_res=\$$3
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 } # ac_fn_c_check_type
2011 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2012 # --------------------------------------------
2013 # Tries to find the compile-time value of EXPR in a program that includes
2014 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2015 # computed
2016 ac_fn_c_compute_int ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 if test "$cross_compiling" = yes; then
2020 # Depending upon the size, compute the lo and hi bounds.
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2025 main ()
2027 static int test_array [1 - 2 * !(($2) >= 0)];
2028 test_array [0] = 0
2031 return 0;
2033 _ACEOF
2034 if ac_fn_c_try_compile "$LINENO"; then :
2035 ac_lo=0 ac_mid=0
2036 while :; do
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2041 main ()
2043 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2044 test_array [0] = 0
2047 return 0;
2049 _ACEOF
2050 if ac_fn_c_try_compile "$LINENO"; then :
2051 ac_hi=$ac_mid; break
2052 else
2053 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2054 if test $ac_lo -le $ac_mid; then
2055 ac_lo= ac_hi=
2056 break
2058 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061 done
2062 else
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2067 main ()
2069 static int test_array [1 - 2 * !(($2) < 0)];
2070 test_array [0] = 0
2073 return 0;
2075 _ACEOF
2076 if ac_fn_c_try_compile "$LINENO"; then :
2077 ac_hi=-1 ac_mid=-1
2078 while :; do
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2083 main ()
2085 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2086 test_array [0] = 0
2089 return 0;
2091 _ACEOF
2092 if ac_fn_c_try_compile "$LINENO"; then :
2093 ac_lo=$ac_mid; break
2094 else
2095 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2096 if test $ac_mid -le $ac_hi; then
2097 ac_lo= ac_hi=
2098 break
2100 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 done
2104 else
2105 ac_lo= ac_hi=
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 # Binary search between lo and hi bounds.
2111 while test "x$ac_lo" != "x$ac_hi"; do
2112 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2117 main ()
2119 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2120 test_array [0] = 0
2123 return 0;
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_hi=$ac_mid
2128 else
2129 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 done
2133 case $ac_lo in #((
2134 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2135 '') ac_retval=1 ;;
2136 esac
2137 else
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2141 static long int longval () { return $2; }
2142 static unsigned long int ulongval () { return $2; }
2143 #include <stdio.h>
2144 #include <stdlib.h>
2146 main ()
2149 FILE *f = fopen ("conftest.val", "w");
2150 if (! f)
2151 return 1;
2152 if (($2) < 0)
2154 long int i = longval ();
2155 if (i != ($2))
2156 return 1;
2157 fprintf (f, "%ld", i);
2159 else
2161 unsigned long int i = ulongval ();
2162 if (i != ($2))
2163 return 1;
2164 fprintf (f, "%lu", i);
2166 /* Do not output a trailing newline, as this causes \r\n confusion
2167 on some platforms. */
2168 return ferror (f) || fclose (f) != 0;
2171 return 0;
2173 _ACEOF
2174 if ac_fn_c_try_run "$LINENO"; then :
2175 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2176 else
2177 ac_retval=1
2179 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2180 conftest.$ac_objext conftest.beam conftest.$ac_ext
2181 rm -f conftest.val
2184 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2185 return $ac_retval
2187 } # ac_fn_c_compute_int
2189 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2190 # ----------------------------------------------------
2191 # Tries to find if the field MEMBER exists in type AGGR, after including
2192 # INCLUDES, setting cache variable VAR accordingly.
2193 ac_fn_c_check_member ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2197 $as_echo_n "checking for $2.$3... " >&6; }
2198 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2200 else
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2205 main ()
2207 static $2 ac_aggr;
2208 if (ac_aggr.$3)
2209 return 0;
2211 return 0;
2213 _ACEOF
2214 if ac_fn_c_try_compile "$LINENO"; then :
2215 eval "$4=yes"
2216 else
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2221 main ()
2223 static $2 ac_aggr;
2224 if (sizeof ac_aggr.$3)
2225 return 0;
2227 return 0;
2229 _ACEOF
2230 if ac_fn_c_try_compile "$LINENO"; then :
2231 eval "$4=yes"
2232 else
2233 eval "$4=no"
2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2239 eval ac_res=\$$4
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2241 $as_echo "$ac_res" >&6; }
2242 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2244 } # ac_fn_c_check_member
2245 cat >config.log <<_ACEOF
2246 This file contains any messages produced by compilers while
2247 running configure, to aid debugging if configure makes a mistake.
2249 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2250 generated by GNU Autoconf 2.64. Invocation command line was
2252 $ $0 $@
2254 _ACEOF
2255 exec 5>>config.log
2257 cat <<_ASUNAME
2258 ## --------- ##
2259 ## Platform. ##
2260 ## --------- ##
2262 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2263 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2264 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2265 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2266 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2268 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2269 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2271 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2272 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2273 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2274 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2275 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2276 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2277 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2279 _ASUNAME
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 $as_echo "PATH: $as_dir"
2287 done
2288 IFS=$as_save_IFS
2290 } >&5
2292 cat >&5 <<_ACEOF
2295 ## ----------- ##
2296 ## Core tests. ##
2297 ## ----------- ##
2299 _ACEOF
2302 # Keep a trace of the command line.
2303 # Strip out --no-create and --no-recursion so they do not pile up.
2304 # Strip out --silent because we don't want to record it for future runs.
2305 # Also quote any args containing shell meta-characters.
2306 # Make two passes to allow for proper duplicate-argument suppression.
2307 ac_configure_args=
2308 ac_configure_args0=
2309 ac_configure_args1=
2310 ac_must_keep_next=false
2311 for ac_pass in 1 2
2313 for ac_arg
2315 case $ac_arg in
2316 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318 | -silent | --silent | --silen | --sile | --sil)
2319 continue ;;
2320 *\'*)
2321 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2322 esac
2323 case $ac_pass in
2324 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2326 as_fn_append ac_configure_args1 " '$ac_arg'"
2327 if test $ac_must_keep_next = true; then
2328 ac_must_keep_next=false # Got value, back to normal.
2329 else
2330 case $ac_arg in
2331 *=* | --config-cache | -C | -disable-* | --disable-* \
2332 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2333 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2334 | -with-* | --with-* | -without-* | --without-* | --x)
2335 case "$ac_configure_args0 " in
2336 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2337 esac
2339 -* ) ac_must_keep_next=true ;;
2340 esac
2342 as_fn_append ac_configure_args " '$ac_arg'"
2344 esac
2345 done
2346 done
2347 { ac_configure_args0=; unset ac_configure_args0;}
2348 { ac_configure_args1=; unset ac_configure_args1;}
2350 # When interrupted or exit'd, cleanup temporary files, and complete
2351 # config.log. We remove comments because anyway the quotes in there
2352 # would cause problems or look ugly.
2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2355 trap 'exit_status=$?
2356 # Save into config.log some information that might help in debugging.
2358 echo
2360 cat <<\_ASBOX
2361 ## ---------------- ##
2362 ## Cache variables. ##
2363 ## ---------------- ##
2364 _ASBOX
2365 echo
2366 # The following way of writing the cache mishandles newlines in values,
2368 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2369 eval ac_val=\$$ac_var
2370 case $ac_val in #(
2371 *${as_nl}*)
2372 case $ac_var in #(
2373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2375 esac
2376 case $ac_var in #(
2377 _ | IFS | as_nl) ;; #(
2378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2379 *) { eval $ac_var=; unset $ac_var;} ;;
2380 esac ;;
2381 esac
2382 done
2383 (set) 2>&1 |
2384 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2385 *${as_nl}ac_space=\ *)
2386 sed -n \
2387 "s/'\''/'\''\\\\'\'''\''/g;
2388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2389 ;; #(
2391 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2393 esac |
2394 sort
2396 echo
2398 cat <<\_ASBOX
2399 ## ----------------- ##
2400 ## Output variables. ##
2401 ## ----------------- ##
2402 _ASBOX
2403 echo
2404 for ac_var in $ac_subst_vars
2406 eval ac_val=\$$ac_var
2407 case $ac_val in
2408 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2409 esac
2410 $as_echo "$ac_var='\''$ac_val'\''"
2411 done | sort
2412 echo
2414 if test -n "$ac_subst_files"; then
2415 cat <<\_ASBOX
2416 ## ------------------- ##
2417 ## File substitutions. ##
2418 ## ------------------- ##
2419 _ASBOX
2420 echo
2421 for ac_var in $ac_subst_files
2423 eval ac_val=\$$ac_var
2424 case $ac_val in
2425 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426 esac
2427 $as_echo "$ac_var='\''$ac_val'\''"
2428 done | sort
2429 echo
2432 if test -s confdefs.h; then
2433 cat <<\_ASBOX
2434 ## ----------- ##
2435 ## confdefs.h. ##
2436 ## ----------- ##
2437 _ASBOX
2438 echo
2439 cat confdefs.h
2440 echo
2442 test "$ac_signal" != 0 &&
2443 $as_echo "$as_me: caught signal $ac_signal"
2444 $as_echo "$as_me: exit $exit_status"
2445 } >&5
2446 rm -f core *.core core.conftest.* &&
2447 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2448 exit $exit_status
2450 for ac_signal in 1 2 13 15; do
2451 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2452 done
2453 ac_signal=0
2455 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2456 rm -f -r conftest* confdefs.h
2458 $as_echo "/* confdefs.h */" > confdefs.h
2460 # Predefined preprocessor variables.
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_NAME "$PACKAGE_NAME"
2464 _ACEOF
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2468 _ACEOF
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2472 _ACEOF
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_STRING "$PACKAGE_STRING"
2476 _ACEOF
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2480 _ACEOF
2482 cat >>confdefs.h <<_ACEOF
2483 #define PACKAGE_URL "$PACKAGE_URL"
2484 _ACEOF
2487 # Let the site file select an alternate cache file if it wants to.
2488 # Prefer an explicitly selected file to automatically selected ones.
2489 ac_site_file1=NONE
2490 ac_site_file2=NONE
2491 if test -n "$CONFIG_SITE"; then
2492 ac_site_file1=$CONFIG_SITE
2493 elif test "x$prefix" != xNONE; then
2494 ac_site_file1=$prefix/share/config.site
2495 ac_site_file2=$prefix/etc/config.site
2496 else
2497 ac_site_file1=$ac_default_prefix/share/config.site
2498 ac_site_file2=$ac_default_prefix/etc/config.site
2500 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2502 test "x$ac_site_file" = xNONE && continue
2503 if test -r "$ac_site_file"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2505 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2506 sed 's/^/| /' "$ac_site_file" >&5
2507 . "$ac_site_file"
2509 done
2511 if test -r "$cache_file"; then
2512 # Some versions of bash will fail to source /dev/null (special
2513 # files actually), so we avoid doing that.
2514 if test -f "$cache_file"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2516 $as_echo "$as_me: loading cache $cache_file" >&6;}
2517 case $cache_file in
2518 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2519 *) . "./$cache_file";;
2520 esac
2522 else
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2524 $as_echo "$as_me: creating cache $cache_file" >&6;}
2525 >$cache_file
2528 # Check that the precious variables saved in the cache have kept the same
2529 # value.
2530 ac_cache_corrupted=false
2531 for ac_var in $ac_precious_vars; do
2532 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2533 eval ac_new_set=\$ac_env_${ac_var}_set
2534 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2535 eval ac_new_val=\$ac_env_${ac_var}_value
2536 case $ac_old_set,$ac_new_set in
2537 set,)
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2539 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2540 ac_cache_corrupted=: ;;
2541 ,set)
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2543 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2544 ac_cache_corrupted=: ;;
2545 ,);;
2547 if test "x$ac_old_val" != "x$ac_new_val"; then
2548 # differences in whitespace do not lead to failure.
2549 ac_old_val_w=`echo x $ac_old_val`
2550 ac_new_val_w=`echo x $ac_new_val`
2551 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2553 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2554 ac_cache_corrupted=:
2555 else
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2557 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2558 eval $ac_var=\$ac_old_val
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2561 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2563 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2564 fi;;
2565 esac
2566 # Pass precious variables to config.status.
2567 if test "$ac_new_set" = set; then
2568 case $ac_new_val in
2569 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2570 *) ac_arg=$ac_var=$ac_new_val ;;
2571 esac
2572 case " $ac_configure_args " in
2573 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2574 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2575 esac
2577 done
2578 if $ac_cache_corrupted; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2582 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2583 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2585 ## -------------------- ##
2586 ## Main body of script. ##
2587 ## -------------------- ##
2589 ac_ext=c
2590 ac_cpp='$CPP $CPPFLAGS'
2591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2599 ac_config_headers="$ac_config_headers config.h"
2601 ac_aux_dir=
2602 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2603 for ac_t in install-sh install.sh shtool; do
2604 if test -f "$ac_dir/$ac_t"; then
2605 ac_aux_dir=$ac_dir
2606 ac_install_sh="$ac_aux_dir/$ac_t -c"
2607 break 2
2609 done
2610 done
2611 if test -z "$ac_aux_dir"; then
2612 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2615 # These three variables are undocumented and unsupported,
2616 # and are intended to be withdrawn in a future Autoconf release.
2617 # They can cause serious problems if a builder's source tree is in a directory
2618 # whose full name contains unusual characters.
2619 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2620 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2621 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2624 # Make sure we can run config.sub.
2625 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2626 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2629 $as_echo_n "checking build system type... " >&6; }
2630 if test "${ac_cv_build+set}" = set; then :
2631 $as_echo_n "(cached) " >&6
2632 else
2633 ac_build_alias=$build_alias
2634 test "x$ac_build_alias" = x &&
2635 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2636 test "x$ac_build_alias" = x &&
2637 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2639 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2643 $as_echo "$ac_cv_build" >&6; }
2644 case $ac_cv_build in
2645 *-*-*) ;;
2646 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2647 esac
2648 build=$ac_cv_build
2649 ac_save_IFS=$IFS; IFS='-'
2650 set x $ac_cv_build
2651 shift
2652 build_cpu=$1
2653 build_vendor=$2
2654 shift; shift
2655 # Remember, the first character of IFS is used to create $*,
2656 # except with old shells:
2657 build_os=$*
2658 IFS=$ac_save_IFS
2659 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2662 case ${build_alias} in
2663 "") build_noncanonical=${build} ;;
2664 *) build_noncanonical=${build_alias} ;;
2665 esac
2667 case ${host_alias} in
2668 "") host_noncanonical=${build_noncanonical} ;;
2669 *) host_noncanonical=${host_alias} ;;
2670 esac
2672 case ${target_alias} in
2673 "") target_noncanonical=${host_noncanonical} ;;
2674 *) target_noncanonical=${target_alias} ;;
2675 esac
2678 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2679 # have matching libraries, they should use host libraries: Makefile.tpl
2680 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2681 # However, they still use the build modules, because the corresponding
2682 # host modules (e.g. bison) are only built for the host when bootstrap
2683 # finishes. So:
2684 # - build_subdir is where we find build modules, and never changes.
2685 # - build_libsubdir is where we find build libraries, and can be overridden.
2687 # Prefix 'build-' so this never conflicts with target_subdir.
2688 build_subdir="build-${build_noncanonical}"
2690 # Check whether --with-build-libsubdir was given.
2691 if test "${with_build_libsubdir+set}" = set; then :
2692 withval=$with_build_libsubdir; build_libsubdir="$withval"
2693 else
2694 build_libsubdir="$build_subdir"
2697 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2698 if ( test $srcdir = . && test -d gcc ) \
2699 || test -d $srcdir/../host-${host_noncanonical}; then
2700 host_subdir="host-${host_noncanonical}"
2701 else
2702 host_subdir=.
2704 # No prefix.
2705 target_subdir=${target_noncanonical}
2708 # -------
2709 # Options
2710 # -------
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2713 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2714 # Check whether --enable-version-specific-runtime-libs was given.
2715 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2716 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2717 yes) version_specific_libs=yes ;;
2718 no) version_specific_libs=no ;;
2719 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2720 esac
2721 else
2722 version_specific_libs=no
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2726 $as_echo "$version_specific_libs" >&6; }
2728 # Build with intermodule optimisations
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2730 $as_echo_n "checking for --enable-intermodule... " >&6; }
2731 # Check whether --enable-intermodule was given.
2732 if test "${enable_intermodule+set}" = set; then :
2733 enableval=$enable_intermodule; case "$enable_intermodule" in
2734 yes) onestep="-onestep";;
2735 *) onestep="";;
2736 esac
2737 else
2738 onestep=""
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2742 $as_echo "$enable_intermodule" >&6; }
2743 if test x$onestep = x-onestep; then
2744 onestep_TRUE=
2745 onestep_FALSE='#'
2746 else
2747 onestep_TRUE='#'
2748 onestep_FALSE=
2753 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2755 # You will slowly go insane if you do not grok the following fact: when
2756 # building this library, the top-level /target/ becomes the library's /host/.
2758 # configure then causes --target to default to --host, exactly like any
2759 # other package using autoconf. Therefore, 'target' and 'host' will
2760 # always be the same. This makes sense both for native and cross compilers
2761 # just think about it for a little while. :-)
2763 # Also, if this library is being configured as part of a cross compiler, the
2764 # top-level configure script will pass the "real" host as $with_cross_host.
2766 # Do not delete or change the following two lines. For why, see
2767 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2769 $as_echo_n "checking host system type... " >&6; }
2770 if test "${ac_cv_host+set}" = set; then :
2771 $as_echo_n "(cached) " >&6
2772 else
2773 if test "x$host_alias" = x; then
2774 ac_cv_host=$ac_cv_build
2775 else
2776 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2777 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2782 $as_echo "$ac_cv_host" >&6; }
2783 case $ac_cv_host in
2784 *-*-*) ;;
2785 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2786 esac
2787 host=$ac_cv_host
2788 ac_save_IFS=$IFS; IFS='-'
2789 set x $ac_cv_host
2790 shift
2791 host_cpu=$1
2792 host_vendor=$2
2793 shift; shift
2794 # Remember, the first character of IFS is used to create $*,
2795 # except with old shells:
2796 host_os=$*
2797 IFS=$ac_save_IFS
2798 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2802 $as_echo_n "checking target system type... " >&6; }
2803 if test "${ac_cv_target+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2805 else
2806 if test "x$target_alias" = x; then
2807 ac_cv_target=$ac_cv_host
2808 else
2809 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2810 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2815 $as_echo "$ac_cv_target" >&6; }
2816 case $ac_cv_target in
2817 *-*-*) ;;
2818 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2819 esac
2820 target=$ac_cv_target
2821 ac_save_IFS=$IFS; IFS='-'
2822 set x $ac_cv_target
2823 shift
2824 target_cpu=$1
2825 target_vendor=$2
2826 shift; shift
2827 # Remember, the first character of IFS is used to create $*,
2828 # except with old shells:
2829 target_os=$*
2830 IFS=$ac_save_IFS
2831 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2834 # The aliases save the names the user supplied, while $host etc.
2835 # will get canonicalized.
2836 test -n "$target_alias" &&
2837 test "$program_prefix$program_suffix$program_transform_name" = \
2838 NONENONEs,x,x, &&
2839 program_prefix=${target_alias}-
2841 target_alias=${target_alias-$host_alias}
2843 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2844 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2845 # 1.9.6: minimum required version
2846 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2847 # of other PACKAGE_* variables will, however, and there's nothing
2848 # we can do about that; they come from AC_INIT).
2849 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2850 # file in the top srcdir, etc, etc), so stop complaining.
2851 # no-dist: we don't want 'dist' and related rules.
2852 # -Wall: turns on all automake warnings...
2853 # -Wno-portability: ...except this one, since GNU make is required.
2854 am__api_version='1.11'
2856 # Find a good install program. We prefer a C program (faster),
2857 # so one script is as good as another. But avoid the broken or
2858 # incompatible versions:
2859 # SysV /etc/install, /usr/sbin/install
2860 # SunOS /usr/etc/install
2861 # IRIX /sbin/install
2862 # AIX /bin/install
2863 # AmigaOS /C/install, which installs bootblocks on floppy discs
2864 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2865 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2866 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2867 # OS/2's system install, which has a completely different semantic
2868 # ./install, which can be erroneously created by make from ./install.sh.
2869 # Reject install programs that cannot install multiple files.
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2871 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2872 if test -z "$INSTALL"; then
2873 if test "${ac_cv_path_install+set}" = set; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 for as_dir in $PATH
2879 IFS=$as_save_IFS
2880 test -z "$as_dir" && as_dir=.
2881 # Account for people who put trailing slashes in PATH elements.
2882 case $as_dir/ in #((
2883 ./ | .// | /[cC]/* | \
2884 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2885 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2886 /usr/ucb/* ) ;;
2888 # OSF1 and SCO ODT 3.0 have their own names for install.
2889 # Don't use installbsd from OSF since it installs stuff as root
2890 # by default.
2891 for ac_prog in ginstall scoinst install; do
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2894 if test $ac_prog = install &&
2895 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2896 # AIX install. It has an incompatible calling convention.
2898 elif test $ac_prog = install &&
2899 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2900 # program-specific install script used by HP pwplus--don't use.
2902 else
2903 rm -rf conftest.one conftest.two conftest.dir
2904 echo one > conftest.one
2905 echo two > conftest.two
2906 mkdir conftest.dir
2907 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2908 test -s conftest.one && test -s conftest.two &&
2909 test -s conftest.dir/conftest.one &&
2910 test -s conftest.dir/conftest.two
2911 then
2912 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2913 break 3
2917 done
2918 done
2920 esac
2922 done
2923 IFS=$as_save_IFS
2925 rm -rf conftest.one conftest.two conftest.dir
2928 if test "${ac_cv_path_install+set}" = set; then
2929 INSTALL=$ac_cv_path_install
2930 else
2931 # As a last resort, use the slow shell script. Don't cache a
2932 # value for INSTALL within a source directory, because that will
2933 # break other packages using the cache if that directory is
2934 # removed, or if the value is a relative name.
2935 INSTALL=$ac_install_sh
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2939 $as_echo "$INSTALL" >&6; }
2941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2942 # It thinks the first close brace ends the variable substitution.
2943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2945 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2947 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2950 $as_echo_n "checking whether build environment is sane... " >&6; }
2951 # Just in case
2952 sleep 1
2953 echo timestamp > conftest.file
2954 # Reject unsafe characters in $srcdir or the absolute working directory
2955 # name. Accept space and tab only in the latter.
2956 am_lf='
2958 case `pwd` in
2959 *[\\\"\#\$\&\'\`$am_lf]*)
2960 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2961 esac
2962 case $srcdir in
2963 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2964 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2965 esac
2967 # Do `set' in a subshell so we don't clobber the current shell's
2968 # arguments. Must try -L first in case configure is actually a
2969 # symlink; some systems play weird games with the mod time of symlinks
2970 # (eg FreeBSD returns the mod time of the symlink's containing
2971 # directory).
2972 if (
2973 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2974 if test "$*" = "X"; then
2975 # -L didn't work.
2976 set X `ls -t "$srcdir/configure" conftest.file`
2978 rm -f conftest.file
2979 if test "$*" != "X $srcdir/configure conftest.file" \
2980 && test "$*" != "X conftest.file $srcdir/configure"; then
2982 # If neither matched, then we have a broken ls. This can happen
2983 # if, for instance, CONFIG_SHELL is bash and it inherits a
2984 # broken ls alias from the environment. This has actually
2985 # happened. Such a system could not be considered "sane".
2986 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2987 alias in your environment" "$LINENO" 5
2990 test "$2" = conftest.file
2992 then
2993 # Ok.
2995 else
2996 as_fn_error "newly created file is older than distributed files!
2997 Check your system clock" "$LINENO" 5
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000 $as_echo "yes" >&6; }
3001 test "$program_prefix" != NONE &&
3002 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3003 # Use a double $ so make ignores it.
3004 test "$program_suffix" != NONE &&
3005 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3006 # Double any \ or $.
3007 # By default was `s,x,x', remove it if useless.
3008 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3009 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3011 # expand $ac_aux_dir to an absolute path
3012 am_aux_dir=`cd $ac_aux_dir && pwd`
3014 if test x"${MISSING+set}" != xset; then
3015 case $am_aux_dir in
3016 *\ * | *\ *)
3017 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3019 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3020 esac
3022 # Use eval to expand $SHELL
3023 if eval "$MISSING --run true"; then
3024 am_missing_run="$MISSING --run "
3025 else
3026 am_missing_run=
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3028 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3031 if test x"${install_sh}" != xset; then
3032 case $am_aux_dir in
3033 *\ * | *\ *)
3034 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3036 install_sh="\${SHELL} $am_aux_dir/install-sh"
3037 esac
3040 # Installed binaries are usually stripped using `strip' when the user
3041 # run `make install-strip'. However `strip' might not be the right
3042 # tool to use in cross-compilation environments, therefore Automake
3043 # will honor the `STRIP' environment variable to overrule this program.
3044 if test "$cross_compiling" != no; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3047 set dummy ${ac_tool_prefix}strip; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if test "${ac_cv_prog_STRIP+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 if test -n "$STRIP"; then
3054 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3063 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3069 IFS=$as_save_IFS
3073 STRIP=$ac_cv_prog_STRIP
3074 if test -n "$STRIP"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3076 $as_echo "$STRIP" >&6; }
3077 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3084 if test -z "$ac_cv_prog_STRIP"; then
3085 ac_ct_STRIP=$STRIP
3086 # Extract the first word of "strip", so it can be a program name with args.
3087 set dummy strip; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 if test -n "$ac_ct_STRIP"; then
3094 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_ac_ct_STRIP="strip"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 break 2
3107 done
3108 done
3109 IFS=$as_save_IFS
3113 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3114 if test -n "$ac_ct_STRIP"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3116 $as_echo "$ac_ct_STRIP" >&6; }
3117 else
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3122 if test "x$ac_ct_STRIP" = x; then
3123 STRIP=":"
3124 else
3125 case $cross_compiling:$ac_tool_warned in
3126 yes:)
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129 ac_tool_warned=yes ;;
3130 esac
3131 STRIP=$ac_ct_STRIP
3133 else
3134 STRIP="$ac_cv_prog_STRIP"
3138 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3141 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3142 if test -z "$MKDIR_P"; then
3143 if test "${ac_cv_path_mkdir+set}" = set; then :
3144 $as_echo_n "(cached) " >&6
3145 else
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3149 IFS=$as_save_IFS
3150 test -z "$as_dir" && as_dir=.
3151 for ac_prog in mkdir gmkdir; do
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3154 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3155 'mkdir (GNU coreutils) '* | \
3156 'mkdir (coreutils) '* | \
3157 'mkdir (fileutils) '4.1*)
3158 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3159 break 3;;
3160 esac
3161 done
3162 done
3163 done
3164 IFS=$as_save_IFS
3168 if test "${ac_cv_path_mkdir+set}" = set; then
3169 MKDIR_P="$ac_cv_path_mkdir -p"
3170 else
3171 # As a last resort, use the slow shell script. Don't cache a
3172 # value for MKDIR_P within a source directory, because that will
3173 # break other packages using the cache if that directory is
3174 # removed, or if the value is a relative name.
3175 test -d ./--version && rmdir ./--version
3176 MKDIR_P="$ac_install_sh -d"
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3180 $as_echo "$MKDIR_P" >&6; }
3182 mkdir_p="$MKDIR_P"
3183 case $mkdir_p in
3184 [\\/$]* | ?:[\\/]*) ;;
3185 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3186 esac
3188 for ac_prog in gawk mawk nawk awk
3190 # Extract the first word of "$ac_prog", so it can be a program name with args.
3191 set dummy $ac_prog; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if test "${ac_cv_prog_AWK+set}" = set; then :
3195 $as_echo_n "(cached) " >&6
3196 else
3197 if test -n "$AWK"; then
3198 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3199 else
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH
3203 IFS=$as_save_IFS
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207 ac_cv_prog_AWK="$ac_prog"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 break 2
3211 done
3212 done
3213 IFS=$as_save_IFS
3217 AWK=$ac_cv_prog_AWK
3218 if test -n "$AWK"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3220 $as_echo "$AWK" >&6; }
3221 else
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3227 test -n "$AWK" && break
3228 done
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3231 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3232 set x ${MAKE-make}
3233 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3234 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 cat >conftest.make <<\_ACEOF
3238 SHELL = /bin/sh
3239 all:
3240 @echo '@@@%%%=$(MAKE)=@@@%%%'
3241 _ACEOF
3242 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3243 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3244 *@@@%%%=?*=@@@%%%*)
3245 eval ac_cv_prog_make_${ac_make}_set=yes;;
3247 eval ac_cv_prog_make_${ac_make}_set=no;;
3248 esac
3249 rm -f conftest.make
3251 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3253 $as_echo "yes" >&6; }
3254 SET_MAKE=
3255 else
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3258 SET_MAKE="MAKE=${MAKE-make}"
3261 rm -rf .tst 2>/dev/null
3262 mkdir .tst 2>/dev/null
3263 if test -d .tst; then
3264 am__leading_dot=.
3265 else
3266 am__leading_dot=_
3268 rmdir .tst 2>/dev/null
3270 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3271 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3272 # is not polluted with repeated "-I."
3273 am__isrc=' -I$(srcdir)'
3274 # test to see if srcdir already configured
3275 if test -f $srcdir/config.status; then
3276 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3280 # test whether we have cygpath
3281 if test -z "$CYGPATH_W"; then
3282 if (cygpath --version) >/dev/null 2>/dev/null; then
3283 CYGPATH_W='cygpath -w'
3284 else
3285 CYGPATH_W=echo
3290 # Define the identity of the package.
3291 PACKAGE='libgfortran'
3292 VERSION='0.3'
3295 # Some tools Automake needs.
3297 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3300 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3303 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3306 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3309 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3311 # We need awk for the "check" target. The system "awk" is bad on
3312 # some platforms.
3313 # Always define AMTAR for backward compatibility.
3315 AMTAR=${AMTAR-"${am_missing_run}tar"}
3317 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3326 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3327 # Check whether --enable-maintainer-mode was given.
3328 if test "${enable_maintainer_mode+set}" = set; then :
3329 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3330 else
3331 USE_MAINTAINER_MODE=no
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3335 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3336 if test $USE_MAINTAINER_MODE = yes; then
3337 MAINTAINER_MODE_TRUE=
3338 MAINTAINER_MODE_FALSE='#'
3339 else
3340 MAINTAINER_MODE_TRUE='#'
3341 MAINTAINER_MODE_FALSE=
3344 MAINT=$MAINTAINER_MODE_TRUE
3347 # Default to --enable-multilib
3348 # Check whether --enable-multilib was given.
3349 if test "${enable_multilib+set}" = set; then :
3350 enableval=$enable_multilib; case "$enableval" in
3351 yes) multilib=yes ;;
3352 no) multilib=no ;;
3353 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3354 esac
3355 else
3356 multilib=yes
3360 # We may get other options which we leave undocumented:
3361 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3362 # See config-ml.in if you want the gory details.
3364 if test "$srcdir" = "."; then
3365 if test "$with_target_subdir" != "."; then
3366 multi_basedir="$srcdir/$with_multisrctop../.."
3367 else
3368 multi_basedir="$srcdir/$with_multisrctop.."
3370 else
3371 multi_basedir="$srcdir/.."
3375 # Even if the default multilib is not a cross compilation,
3376 # it may be that some of the other multilibs are.
3377 if test $cross_compiling = no && test $multilib = yes \
3378 && test "x${with_multisubdir}" != x ; then
3379 cross_compiling=maybe
3382 ac_config_commands="$ac_config_commands default-1"
3385 # Handy for debugging:
3386 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3388 # Are we being configured with some form of cross compiler?
3389 # NB: We don't actually need to know this just now, but when, say, a test
3390 # suite is included, we'll have to know.
3391 if test "$build" != "$host"; then
3392 LIBGFOR_IS_NATIVE=false
3394 else
3395 LIBGFOR_IS_NATIVE=true
3398 DEPDIR="${am__leading_dot}deps"
3400 ac_config_commands="$ac_config_commands depfiles"
3403 am_make=${MAKE-make}
3404 cat > confinc << 'END'
3405 am__doit:
3406 @echo this is the am__doit target
3407 .PHONY: am__doit
3409 # If we don't find an include directive, just comment out the code.
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3411 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3412 am__include="#"
3413 am__quote=
3414 _am_result=none
3415 # First try GNU make style include.
3416 echo "include confinc" > confmf
3417 # Ignore all kinds of additional output from `make'.
3418 case `$am_make -s -f confmf 2> /dev/null` in #(
3419 *the\ am__doit\ target*)
3420 am__include=include
3421 am__quote=
3422 _am_result=GNU
3424 esac
3425 # Now try BSD make style include.
3426 if test "$am__include" = "#"; then
3427 echo '.include "confinc"' > confmf
3428 case `$am_make -s -f confmf 2> /dev/null` in #(
3429 *the\ am__doit\ target*)
3430 am__include=.include
3431 am__quote="\""
3432 _am_result=BSD
3434 esac
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3439 $as_echo "$_am_result" >&6; }
3440 rm -f confinc confmf
3442 # Check whether --enable-dependency-tracking was given.
3443 if test "${enable_dependency_tracking+set}" = set; then :
3444 enableval=$enable_dependency_tracking;
3447 if test "x$enable_dependency_tracking" != xno; then
3448 am_depcomp="$ac_aux_dir/depcomp"
3449 AMDEPBACKSLASH='\'
3451 if test "x$enable_dependency_tracking" != xno; then
3452 AMDEP_TRUE=
3453 AMDEP_FALSE='#'
3454 else
3455 AMDEP_TRUE='#'
3456 AMDEP_FALSE=
3460 ac_ext=c
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465 if test -n "$ac_tool_prefix"; then
3466 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3467 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469 $as_echo_n "checking for $ac_word... " >&6; }
3470 if test "${ac_cv_prog_CC+set}" = set; then :
3471 $as_echo_n "(cached) " >&6
3472 else
3473 if test -n "$CC"; then
3474 ac_cv_prog_CC="$CC" # Let the user override the test.
3475 else
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH
3479 IFS=$as_save_IFS
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3483 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 break 2
3487 done
3488 done
3489 IFS=$as_save_IFS
3493 CC=$ac_cv_prog_CC
3494 if test -n "$CC"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3496 $as_echo "$CC" >&6; }
3497 else
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3504 if test -z "$ac_cv_prog_CC"; then
3505 ac_ct_CC=$CC
3506 # Extract the first word of "gcc", so it can be a program name with args.
3507 set dummy gcc; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3511 $as_echo_n "(cached) " >&6
3512 else
3513 if test -n "$ac_ct_CC"; then
3514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3519 IFS=$as_save_IFS
3520 test -z "$as_dir" && as_dir=.
3521 for ac_exec_ext in '' $ac_executable_extensions; do
3522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523 ac_cv_prog_ac_ct_CC="gcc"
3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525 break 2
3527 done
3528 done
3529 IFS=$as_save_IFS
3533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3534 if test -n "$ac_ct_CC"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3536 $as_echo "$ac_ct_CC" >&6; }
3537 else
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3542 if test "x$ac_ct_CC" = x; then
3543 CC=""
3544 else
3545 case $cross_compiling:$ac_tool_warned in
3546 yes:)
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3549 ac_tool_warned=yes ;;
3550 esac
3551 CC=$ac_ct_CC
3553 else
3554 CC="$ac_cv_prog_CC"
3557 if test -z "$CC"; then
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3560 set dummy ${ac_tool_prefix}cc; ac_word=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if test "${ac_cv_prog_CC+set}" = set; then :
3564 $as_echo_n "(cached) " >&6
3565 else
3566 if test -n "$CC"; then
3567 ac_cv_prog_CC="$CC" # Let the user override the test.
3568 else
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3572 IFS=$as_save_IFS
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3576 ac_cv_prog_CC="${ac_tool_prefix}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
3586 CC=$ac_cv_prog_CC
3587 if test -n "$CC"; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589 $as_echo "$CC" >&6; }
3590 else
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3598 if test -z "$CC"; then
3599 # Extract the first word of "cc", so it can be a program name with args.
3600 set dummy cc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if test "${ac_cv_prog_CC+set}" = set; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 if test -n "$CC"; then
3607 ac_cv_prog_CC="$CC" # Let the user override the test.
3608 else
3609 ac_prog_rejected=no
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3618 ac_prog_rejected=yes
3619 continue
3621 ac_cv_prog_CC="cc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3629 if test $ac_prog_rejected = yes; then
3630 # We found a bogon in the path, so make sure we never use it.
3631 set dummy $ac_cv_prog_CC
3632 shift
3633 if test $# != 0; then
3634 # We chose a different compiler from the bogus one.
3635 # However, it has the same basename, so the bogon will be chosen
3636 # first if we set CC to just the basename; use the full file name.
3637 shift
3638 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3643 CC=$ac_cv_prog_CC
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3647 else
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$CC"; then
3655 if test -n "$ac_tool_prefix"; then
3656 for ac_prog in cl.exe
3658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if test "${ac_cv_prog_CC+set}" = set; then :
3663 $as_echo_n "(cached) " >&6
3664 else
3665 if test -n "$CC"; then
3666 ac_cv_prog_CC="$CC" # Let the user override the test.
3667 else
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 break 2
3679 done
3680 done
3681 IFS=$as_save_IFS
3685 CC=$ac_cv_prog_CC
3686 if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3689 else
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3695 test -n "$CC" && break
3696 done
3698 if test -z "$CC"; then
3699 ac_ct_CC=$CC
3700 for ac_prog in cl.exe
3702 # Extract the first word of "$ac_prog", so it can be a program name with args.
3703 set dummy $ac_prog; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$ac_ct_CC"; then
3710 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 ac_cv_prog_ac_ct_CC="$ac_prog"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3730 if test -n "$ac_ct_CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3732 $as_echo "$ac_ct_CC" >&6; }
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3739 test -n "$ac_ct_CC" && break
3740 done
3742 if test "x$ac_ct_CC" = x; then
3743 CC=""
3744 else
3745 case $cross_compiling:$ac_tool_warned in
3746 yes:)
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3749 ac_tool_warned=yes ;;
3750 esac
3751 CC=$ac_ct_CC
3758 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760 as_fn_error "no acceptable C compiler found in \$PATH
3761 See \`config.log' for more details." "$LINENO" 5; }
3763 # Provide some information about the compiler.
3764 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3765 set X $ac_compile
3766 ac_compiler=$2
3767 for ac_option in --version -v -V -qversion; do
3768 { { ac_try="$ac_compiler $ac_option >&5"
3769 case "(($ac_try" in
3770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3772 esac
3773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774 $as_echo "$ac_try_echo"; } >&5
3775 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3776 ac_status=$?
3777 if test -s conftest.err; then
3778 sed '10a\
3779 ... rest of stderr output deleted ...
3780 10q' conftest.err >conftest.er1
3781 cat conftest.er1 >&5
3782 rm -f conftest.er1 conftest.err
3784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3785 test $ac_status = 0; }
3786 done
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3792 main ()
3796 return 0;
3798 _ACEOF
3799 # FIXME: Cleanup?
3800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3801 (eval $ac_link) 2>&5
3802 ac_status=$?
3803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804 test $ac_status = 0; }; then :
3805 gcc_no_link=no
3806 else
3807 gcc_no_link=yes
3809 if test x$gcc_no_link = xyes; then
3810 # Setting cross_compile will disable run tests; it will
3811 # also disable AC_CHECK_FILE but that's generally
3812 # correct if we can't link.
3813 cross_compiling=yes
3814 EXEEXT=
3815 else
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3820 main ()
3824 return 0;
3826 _ACEOF
3827 ac_clean_files_save=$ac_clean_files
3828 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3829 # Try to create an executable without -o first, disregard a.out.
3830 # It will help us diagnose broken compilers, and finding out an intuition
3831 # of exeext.
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3833 $as_echo_n "checking for C compiler default output file name... " >&6; }
3834 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3836 # The possible output files:
3837 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3839 ac_rmfiles=
3840 for ac_file in $ac_files
3842 case $ac_file in
3843 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3844 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3845 esac
3846 done
3847 rm -f $ac_rmfiles
3849 if { { ac_try="$ac_link_default"
3850 case "(($ac_try" in
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3853 esac
3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3855 $as_echo "$ac_try_echo"; } >&5
3856 (eval "$ac_link_default") 2>&5
3857 ac_status=$?
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }; then :
3860 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3861 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3862 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3863 # so that the user can short-circuit this test for compilers unknown to
3864 # Autoconf.
3865 for ac_file in $ac_files ''
3867 test -f "$ac_file" || continue
3868 case $ac_file in
3869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3871 [ab].out )
3872 # We found the default executable, but exeext='' is most
3873 # certainly right.
3874 break;;
3875 *.* )
3876 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3877 then :; else
3878 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3880 # We set ac_cv_exeext here because the later test for it is not
3881 # safe: cross compilers may not add the suffix if given an `-o'
3882 # argument, so we may need to know it at that point already.
3883 # Even if this section looks crufty: it has the advantage of
3884 # actually working.
3885 break;;
3887 break;;
3888 esac
3889 done
3890 test "$ac_cv_exeext" = no && ac_cv_exeext=
3892 else
3893 ac_file=''
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3896 $as_echo "$ac_file" >&6; }
3897 if test -z "$ac_file"; then :
3898 $as_echo "$as_me: failed program was:" >&5
3899 sed 's/^/| /' conftest.$ac_ext >&5
3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 { as_fn_set_status 77
3904 as_fn_error "C compiler cannot create executables
3905 See \`config.log' for more details." "$LINENO" 5; }; }
3907 ac_exeext=$ac_cv_exeext
3909 # Check that the compiler produces executables we can run. If not, either
3910 # the compiler is broken, or we cross compile.
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3912 $as_echo_n "checking whether the C compiler works... " >&6; }
3913 # If not cross compiling, check that we can run a simple program.
3914 if test "$cross_compiling" != yes; then
3915 if { ac_try='./$ac_file'
3916 { { case "(($ac_try" in
3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918 *) ac_try_echo=$ac_try;;
3919 esac
3920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3921 $as_echo "$ac_try_echo"; } >&5
3922 (eval "$ac_try") 2>&5
3923 ac_status=$?
3924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3925 test $ac_status = 0; }; }; then
3926 cross_compiling=no
3927 else
3928 if test "$cross_compiling" = maybe; then
3929 cross_compiling=yes
3930 else
3931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_error "cannot run C compiled programs.
3934 If you meant to cross compile, use \`--host'.
3935 See \`config.log' for more details." "$LINENO" 5; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3940 $as_echo "yes" >&6; }
3942 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3943 ac_clean_files=$ac_clean_files_save
3944 # Check that the compiler produces executables we can run. If not, either
3945 # the compiler is broken, or we cross compile.
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3947 $as_echo_n "checking whether we are cross compiling... " >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3949 $as_echo "$cross_compiling" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3952 $as_echo_n "checking for suffix of executables... " >&6; }
3953 if { { ac_try="$ac_link"
3954 case "(($ac_try" in
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3957 esac
3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_link") 2>&5
3961 ac_status=$?
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }; then :
3964 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3965 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3966 # work properly (i.e., refer to `conftest.exe'), while it won't with
3967 # `rm'.
3968 for ac_file in conftest.exe conftest conftest.*; do
3969 test -f "$ac_file" || continue
3970 case $ac_file in
3971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3972 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3973 break;;
3974 * ) break;;
3975 esac
3976 done
3977 else
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 as_fn_error "cannot compute suffix of executables: cannot compile and link
3981 See \`config.log' for more details." "$LINENO" 5; }
3983 rm -f conftest$ac_cv_exeext
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3985 $as_echo "$ac_cv_exeext" >&6; }
3987 rm -f conftest.$ac_ext
3988 EXEEXT=$ac_cv_exeext
3989 ac_exeext=$EXEEXT
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3992 $as_echo_n "checking for suffix of object files... " >&6; }
3993 if test "${ac_cv_objext+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3995 else
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4000 main ()
4004 return 0;
4006 _ACEOF
4007 rm -f conftest.o conftest.obj
4008 if { { ac_try="$ac_compile"
4009 case "(($ac_try" in
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4012 esac
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015 (eval "$ac_compile") 2>&5
4016 ac_status=$?
4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018 test $ac_status = 0; }; then :
4019 for ac_file in conftest.o conftest.obj conftest.*; do
4020 test -f "$ac_file" || continue;
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4023 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4024 break;;
4025 esac
4026 done
4027 else
4028 $as_echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.$ac_ext >&5
4031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4033 as_fn_error "cannot compute suffix of object files: cannot compile
4034 See \`config.log' for more details." "$LINENO" 5; }
4036 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4039 $as_echo "$ac_cv_objext" >&6; }
4040 OBJEXT=$ac_cv_objext
4041 ac_objext=$OBJEXT
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4043 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4044 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 main ()
4053 #ifndef __GNUC__
4054 choke me
4055 #endif
4058 return 0;
4060 _ACEOF
4061 if ac_fn_c_try_compile "$LINENO"; then :
4062 ac_compiler_gnu=yes
4063 else
4064 ac_compiler_gnu=no
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4071 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4072 if test $ac_compiler_gnu = yes; then
4073 GCC=yes
4074 else
4075 GCC=
4077 ac_test_CFLAGS=${CFLAGS+set}
4078 ac_save_CFLAGS=$CFLAGS
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4080 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4081 if test "${ac_cv_prog_cc_g+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4083 else
4084 ac_save_c_werror_flag=$ac_c_werror_flag
4085 ac_c_werror_flag=yes
4086 ac_cv_prog_cc_g=no
4087 CFLAGS="-g"
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 main ()
4096 return 0;
4098 _ACEOF
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100 ac_cv_prog_cc_g=yes
4101 else
4102 CFLAGS=""
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4107 main ()
4111 return 0;
4113 _ACEOF
4114 if ac_fn_c_try_compile "$LINENO"; then :
4116 else
4117 ac_c_werror_flag=$ac_save_c_werror_flag
4118 CFLAGS="-g"
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4123 main ()
4127 return 0;
4129 _ACEOF
4130 if ac_fn_c_try_compile "$LINENO"; then :
4131 ac_cv_prog_cc_g=yes
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 ac_c_werror_flag=$ac_save_c_werror_flag
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4141 $as_echo "$ac_cv_prog_cc_g" >&6; }
4142 if test "$ac_test_CFLAGS" = set; then
4143 CFLAGS=$ac_save_CFLAGS
4144 elif test $ac_cv_prog_cc_g = yes; then
4145 if test "$GCC" = yes; then
4146 CFLAGS="-g -O2"
4147 else
4148 CFLAGS="-g"
4150 else
4151 if test "$GCC" = yes; then
4152 CFLAGS="-O2"
4153 else
4154 CFLAGS=
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4158 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4159 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 ac_cv_prog_cc_c89=no
4163 ac_save_CC=$CC
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4166 #include <stdarg.h>
4167 #include <stdio.h>
4168 #include <sys/types.h>
4169 #include <sys/stat.h>
4170 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4171 struct buf { int x; };
4172 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4173 static char *e (p, i)
4174 char **p;
4175 int i;
4177 return p[i];
4179 static char *f (char * (*g) (char **, int), char **p, ...)
4181 char *s;
4182 va_list v;
4183 va_start (v,p);
4184 s = g (p, va_arg (v,int));
4185 va_end (v);
4186 return s;
4189 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4190 function prototypes and stuff, but not '\xHH' hex character constants.
4191 These don't provoke an error unfortunately, instead are silently treated
4192 as 'x'. The following induces an error, until -std is added to get
4193 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4194 array size at least. It's necessary to write '\x00'==0 to get something
4195 that's true only with -std. */
4196 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4198 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4199 inside strings and character constants. */
4200 #define FOO(x) 'x'
4201 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4203 int test (int i, double x);
4204 struct s1 {int (*f) (int a);};
4205 struct s2 {int (*f) (double a);};
4206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4207 int argc;
4208 char **argv;
4210 main ()
4212 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4214 return 0;
4216 _ACEOF
4217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4218 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4220 CC="$ac_save_CC $ac_arg"
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_c89=$ac_arg
4224 rm -f core conftest.err conftest.$ac_objext
4225 test "x$ac_cv_prog_cc_c89" != "xno" && break
4226 done
4227 rm -f conftest.$ac_ext
4228 CC=$ac_save_CC
4231 # AC_CACHE_VAL
4232 case "x$ac_cv_prog_cc_c89" in
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4235 $as_echo "none needed" >&6; } ;;
4236 xno)
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4238 $as_echo "unsupported" >&6; } ;;
4240 CC="$CC $ac_cv_prog_cc_c89"
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4242 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4243 esac
4244 if test "x$ac_cv_prog_cc_c89" != xno; then :
4248 ac_ext=c
4249 ac_cpp='$CPP $CPPFLAGS'
4250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4254 depcc="$CC" am_compiler_list=
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4257 $as_echo_n "checking dependency style of $depcc... " >&6; }
4258 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4262 # We make a subdir and do the tests there. Otherwise we can end up
4263 # making bogus files that we don't know about and never remove. For
4264 # instance it was reported that on HP-UX the gcc test will end up
4265 # making a dummy file named `D' -- because `-MD' means `put the output
4266 # in D'.
4267 mkdir conftest.dir
4268 # Copy depcomp to subdir because otherwise we won't find it if we're
4269 # using a relative directory.
4270 cp "$am_depcomp" conftest.dir
4271 cd conftest.dir
4272 # We will build objects and dependencies in a subdirectory because
4273 # it helps to detect inapplicable dependency modes. For instance
4274 # both Tru64's cc and ICC support -MD to output dependencies as a
4275 # side effect of compilation, but ICC will put the dependencies in
4276 # the current directory while Tru64 will put them in the object
4277 # directory.
4278 mkdir sub
4280 am_cv_CC_dependencies_compiler_type=none
4281 if test "$am_compiler_list" = ""; then
4282 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4284 am__universal=false
4285 case " $depcc " in #(
4286 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4287 esac
4289 for depmode in $am_compiler_list; do
4290 # Setup a source with many dependencies, because some compilers
4291 # like to wrap large dependency lists on column 80 (with \), and
4292 # we should not choose a depcomp mode which is confused by this.
4294 # We need to recreate these files for each test, as the compiler may
4295 # overwrite some of them when testing with obscure command lines.
4296 # This happens at least with the AIX C compiler.
4297 : > sub/conftest.c
4298 for i in 1 2 3 4 5 6; do
4299 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4300 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4301 # Solaris 8's {/usr,}/bin/sh.
4302 touch sub/conftst$i.h
4303 done
4304 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4306 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4307 # mode. It turns out that the SunPro C++ compiler does not properly
4308 # handle `-M -o', and we need to detect this. Also, some Intel
4309 # versions had trouble with output in subdirs
4310 am__obj=sub/conftest.${OBJEXT-o}
4311 am__minus_obj="-o $am__obj"
4312 case $depmode in
4313 gcc)
4314 # This depmode causes a compiler race in universal mode.
4315 test "$am__universal" = false || continue
4317 nosideeffect)
4318 # after this tag, mechanisms are not by side-effect, so they'll
4319 # only be used when explicitly requested
4320 if test "x$enable_dependency_tracking" = xyes; then
4321 continue
4322 else
4323 break
4326 msvisualcpp | msvcmsys)
4327 # This compiler won't grok `-c -o', but also, the minuso test has
4328 # not run yet. These depmodes are late enough in the game, and
4329 # so weak that their functioning should not be impacted.
4330 am__obj=conftest.${OBJEXT-o}
4331 am__minus_obj=
4333 none) break ;;
4334 esac
4335 if depmode=$depmode \
4336 source=sub/conftest.c object=$am__obj \
4337 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4338 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4339 >/dev/null 2>conftest.err &&
4340 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4341 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4342 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4343 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4344 # icc doesn't choke on unknown options, it will just issue warnings
4345 # or remarks (even with -Werror). So we grep stderr for any message
4346 # that says an option was ignored or not supported.
4347 # When given -MP, icc 7.0 and 7.1 complain thusly:
4348 # icc: Command line warning: ignoring option '-M'; no argument required
4349 # The diagnosis changed in icc 8.0:
4350 # icc: Command line remark: option '-MP' not supported
4351 if (grep 'ignoring option' conftest.err ||
4352 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4353 am_cv_CC_dependencies_compiler_type=$depmode
4354 break
4357 done
4359 cd ..
4360 rm -rf conftest.dir
4361 else
4362 am_cv_CC_dependencies_compiler_type=none
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4367 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4368 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4371 test "x$enable_dependency_tracking" != xno \
4372 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4373 am__fastdepCC_TRUE=
4374 am__fastdepCC_FALSE='#'
4375 else
4376 am__fastdepCC_TRUE='#'
4377 am__fastdepCC_FALSE=
4382 ac_ext=c
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4388 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4389 # On Suns, sometimes $CPP names a directory.
4390 if test -n "$CPP" && test -d "$CPP"; then
4391 CPP=
4393 if test -z "$CPP"; then
4394 if test "${ac_cv_prog_CPP+set}" = set; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 # Double quotes because CPP needs to be expanded
4398 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4400 ac_preproc_ok=false
4401 for ac_c_preproc_warn_flag in '' yes
4403 # Use a header file that comes with gcc, so configuring glibc
4404 # with a fresh cross-compiler works.
4405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4406 # <limits.h> exists even on freestanding compilers.
4407 # On the NeXT, cc -E runs the code through the compiler's parser,
4408 # not just through cpp. "Syntax error" is here to catch this case.
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #ifdef __STDC__
4412 # include <limits.h>
4413 #else
4414 # include <assert.h>
4415 #endif
4416 Syntax error
4417 _ACEOF
4418 if ac_fn_c_try_cpp "$LINENO"; then :
4420 else
4421 # Broken: fails on valid input.
4422 continue
4424 rm -f conftest.err conftest.$ac_ext
4426 # OK, works on sane cases. Now check whether nonexistent headers
4427 # can be detected and how.
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430 #include <ac_nonexistent.h>
4431 _ACEOF
4432 if ac_fn_c_try_cpp "$LINENO"; then :
4433 # Broken: success on invalid input.
4434 continue
4435 else
4436 # Passes both tests.
4437 ac_preproc_ok=:
4438 break
4440 rm -f conftest.err conftest.$ac_ext
4442 done
4443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4444 rm -f conftest.err conftest.$ac_ext
4445 if $ac_preproc_ok; then :
4446 break
4449 done
4450 ac_cv_prog_CPP=$CPP
4453 CPP=$ac_cv_prog_CPP
4454 else
4455 ac_cv_prog_CPP=$CPP
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4458 $as_echo "$CPP" >&6; }
4459 ac_preproc_ok=false
4460 for ac_c_preproc_warn_flag in '' yes
4462 # Use a header file that comes with gcc, so configuring glibc
4463 # with a fresh cross-compiler works.
4464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4465 # <limits.h> exists even on freestanding compilers.
4466 # On the NeXT, cc -E runs the code through the compiler's parser,
4467 # not just through cpp. "Syntax error" is here to catch this case.
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4470 #ifdef __STDC__
4471 # include <limits.h>
4472 #else
4473 # include <assert.h>
4474 #endif
4475 Syntax error
4476 _ACEOF
4477 if ac_fn_c_try_cpp "$LINENO"; then :
4479 else
4480 # Broken: fails on valid input.
4481 continue
4483 rm -f conftest.err conftest.$ac_ext
4485 # OK, works on sane cases. Now check whether nonexistent headers
4486 # can be detected and how.
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4489 #include <ac_nonexistent.h>
4490 _ACEOF
4491 if ac_fn_c_try_cpp "$LINENO"; then :
4492 # Broken: success on invalid input.
4493 continue
4494 else
4495 # Passes both tests.
4496 ac_preproc_ok=:
4497 break
4499 rm -f conftest.err conftest.$ac_ext
4501 done
4502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4503 rm -f conftest.err conftest.$ac_ext
4504 if $ac_preproc_ok; then :
4506 else
4507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4509 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4510 See \`config.log' for more details." "$LINENO" 5; }
4513 ac_ext=c
4514 ac_cpp='$CPP $CPPFLAGS'
4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4521 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4522 if test "${ac_cv_path_GREP+set}" = set; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 if test -z "$GREP"; then
4526 ac_path_GREP_found=false
4527 # Loop through the user's path and test for each of PROGNAME-LIST
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4531 IFS=$as_save_IFS
4532 test -z "$as_dir" && as_dir=.
4533 for ac_prog in grep ggrep; do
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4536 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4537 # Check for GNU ac_path_GREP and select it if it is found.
4538 # Check for GNU $ac_path_GREP
4539 case `"$ac_path_GREP" --version 2>&1` in
4540 *GNU*)
4541 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4543 ac_count=0
4544 $as_echo_n 0123456789 >"conftest.in"
4545 while :
4547 cat "conftest.in" "conftest.in" >"conftest.tmp"
4548 mv "conftest.tmp" "conftest.in"
4549 cp "conftest.in" "conftest.nl"
4550 $as_echo 'GREP' >> "conftest.nl"
4551 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4552 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4553 as_fn_arith $ac_count + 1 && ac_count=$as_val
4554 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4555 # Best one so far, save it but keep looking for a better one
4556 ac_cv_path_GREP="$ac_path_GREP"
4557 ac_path_GREP_max=$ac_count
4559 # 10*(2^10) chars as input seems more than enough
4560 test $ac_count -gt 10 && break
4561 done
4562 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4563 esac
4565 $ac_path_GREP_found && break 3
4566 done
4567 done
4568 done
4569 IFS=$as_save_IFS
4570 if test -z "$ac_cv_path_GREP"; then
4571 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4573 else
4574 ac_cv_path_GREP=$GREP
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4579 $as_echo "$ac_cv_path_GREP" >&6; }
4580 GREP="$ac_cv_path_GREP"
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4584 $as_echo_n "checking for egrep... " >&6; }
4585 if test "${ac_cv_path_EGREP+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4589 then ac_cv_path_EGREP="$GREP -E"
4590 else
4591 if test -z "$EGREP"; then
4592 ac_path_EGREP_found=false
4593 # Loop through the user's path and test for each of PROGNAME-LIST
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4597 IFS=$as_save_IFS
4598 test -z "$as_dir" && as_dir=.
4599 for ac_prog in egrep; do
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4602 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4603 # Check for GNU ac_path_EGREP and select it if it is found.
4604 # Check for GNU $ac_path_EGREP
4605 case `"$ac_path_EGREP" --version 2>&1` in
4606 *GNU*)
4607 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4609 ac_count=0
4610 $as_echo_n 0123456789 >"conftest.in"
4611 while :
4613 cat "conftest.in" "conftest.in" >"conftest.tmp"
4614 mv "conftest.tmp" "conftest.in"
4615 cp "conftest.in" "conftest.nl"
4616 $as_echo 'EGREP' >> "conftest.nl"
4617 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4618 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4619 as_fn_arith $ac_count + 1 && ac_count=$as_val
4620 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4621 # Best one so far, save it but keep looking for a better one
4622 ac_cv_path_EGREP="$ac_path_EGREP"
4623 ac_path_EGREP_max=$ac_count
4625 # 10*(2^10) chars as input seems more than enough
4626 test $ac_count -gt 10 && break
4627 done
4628 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4629 esac
4631 $ac_path_EGREP_found && break 3
4632 done
4633 done
4634 done
4635 IFS=$as_save_IFS
4636 if test -z "$ac_cv_path_EGREP"; then
4637 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4639 else
4640 ac_cv_path_EGREP=$EGREP
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4646 $as_echo "$ac_cv_path_EGREP" >&6; }
4647 EGREP="$ac_cv_path_EGREP"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4651 $as_echo_n "checking for ANSI C header files... " >&6; }
4652 if test "${ac_cv_header_stdc+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #include <stdlib.h>
4658 #include <stdarg.h>
4659 #include <string.h>
4660 #include <float.h>
4663 main ()
4667 return 0;
4669 _ACEOF
4670 if ac_fn_c_try_compile "$LINENO"; then :
4671 ac_cv_header_stdc=yes
4672 else
4673 ac_cv_header_stdc=no
4675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 if test $ac_cv_header_stdc = yes; then
4678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #include <string.h>
4683 _ACEOF
4684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4685 $EGREP "memchr" >/dev/null 2>&1; then :
4687 else
4688 ac_cv_header_stdc=no
4690 rm -f conftest*
4694 if test $ac_cv_header_stdc = yes; then
4695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <stdlib.h>
4700 _ACEOF
4701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4702 $EGREP "free" >/dev/null 2>&1; then :
4704 else
4705 ac_cv_header_stdc=no
4707 rm -f conftest*
4711 if test $ac_cv_header_stdc = yes; then
4712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4713 if test "$cross_compiling" = yes; then :
4715 else
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4718 #include <ctype.h>
4719 #include <stdlib.h>
4720 #if ((' ' & 0x0FF) == 0x020)
4721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4723 #else
4724 # define ISLOWER(c) \
4725 (('a' <= (c) && (c) <= 'i') \
4726 || ('j' <= (c) && (c) <= 'r') \
4727 || ('s' <= (c) && (c) <= 'z'))
4728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4729 #endif
4731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4733 main ()
4735 int i;
4736 for (i = 0; i < 256; i++)
4737 if (XOR (islower (i), ISLOWER (i))
4738 || toupper (i) != TOUPPER (i))
4739 return 2;
4740 return 0;
4742 _ACEOF
4743 if ac_fn_c_try_run "$LINENO"; then :
4745 else
4746 ac_cv_header_stdc=no
4748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4749 conftest.$ac_objext conftest.beam conftest.$ac_ext
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4755 $as_echo "$ac_cv_header_stdc" >&6; }
4756 if test $ac_cv_header_stdc = yes; then
4758 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4762 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4763 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4764 inttypes.h stdint.h unistd.h
4765 do :
4766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4767 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4769 eval as_val=\$$as_ac_Header
4770 if test "x$as_val" = x""yes; then :
4771 cat >>confdefs.h <<_ACEOF
4772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773 _ACEOF
4777 done
4781 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4782 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4783 MINIX=yes
4784 else
4785 MINIX=
4789 if test "$MINIX" = yes; then
4791 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4794 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4797 $as_echo "#define _MINIX 1" >>confdefs.h
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4803 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4804 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4810 # define __EXTENSIONS__ 1
4811 $ac_includes_default
4813 main ()
4817 return 0;
4819 _ACEOF
4820 if ac_fn_c_try_compile "$LINENO"; then :
4821 ac_cv_safe_to_define___extensions__=yes
4822 else
4823 ac_cv_safe_to_define___extensions__=no
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4828 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4829 test $ac_cv_safe_to_define___extensions__ = yes &&
4830 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4832 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4834 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4836 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4838 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4842 # Calculate toolexeclibdir
4843 # Also toolexecdir, though it's only used in toolexeclibdir
4844 case ${version_specific_libs} in
4845 yes)
4846 # Need the gcc compiler version to know where to install libraries
4847 # and header files if --enable-version-specific-runtime-libs option
4848 # is selected.
4849 toolexecdir='$(libdir)/gcc/$(target_alias)'
4850 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4853 if test -n "$with_cross_host" &&
4854 test x"$with_cross_host" != x"no"; then
4855 # Install a library built with a cross compiler in tooldir, not libdir.
4856 toolexecdir='$(exec_prefix)/$(target_alias)'
4857 toolexeclibdir='$(toolexecdir)/lib'
4858 else
4859 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4860 toolexeclibdir='$(libdir)'
4862 multi_os_directory=`$CC -print-multi-os-directory`
4863 case $multi_os_directory in
4864 .) ;; # Avoid trailing /.
4865 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4866 esac
4868 esac
4872 # Create a spec file, so that compile/link tests don't fail
4873 test -f libgfortran.spec || touch libgfortran.spec
4875 # Check the compiler.
4876 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4877 # We must force CC to /not/ be precious variables; otherwise
4878 # the wrong, non-multilib-adjusted value will be used in multilibs.
4879 # As a side effect, we have to subst CFLAGS ourselves.
4883 ac_ext=c
4884 ac_cpp='$CPP $CPPFLAGS'
4885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4888 if test -n "$ac_tool_prefix"; then
4889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if test "${ac_cv_prog_CC+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4895 else
4896 if test -n "$CC"; then
4897 ac_cv_prog_CC="$CC" # Let the user override the test.
4898 else
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 for as_dir in $PATH
4902 IFS=$as_save_IFS
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 break 2
4910 done
4911 done
4912 IFS=$as_save_IFS
4916 CC=$ac_cv_prog_CC
4917 if test -n "$CC"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4919 $as_echo "$CC" >&6; }
4920 else
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4927 if test -z "$ac_cv_prog_CC"; then
4928 ac_ct_CC=$CC
4929 # Extract the first word of "gcc", so it can be a program name with args.
4930 set dummy gcc; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$ac_ct_CC"; then
4937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_ac_ct_CC="gcc"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4957 if test -n "$ac_ct_CC"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4959 $as_echo "$ac_ct_CC" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4965 if test "x$ac_ct_CC" = x; then
4966 CC=""
4967 else
4968 case $cross_compiling:$ac_tool_warned in
4969 yes:)
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4972 ac_tool_warned=yes ;;
4973 esac
4974 CC=$ac_ct_CC
4976 else
4977 CC="$ac_cv_prog_CC"
4980 if test -z "$CC"; then
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4983 set dummy ${ac_tool_prefix}cc; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_CC+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 if test -n "$CC"; then
4990 ac_cv_prog_CC="$CC" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4995 IFS=$as_save_IFS
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_CC="${ac_tool_prefix}cc"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 CC=$ac_cv_prog_CC
5010 if test -n "$CC"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5012 $as_echo "$CC" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5021 if test -z "$CC"; then
5022 # Extract the first word of "cc", so it can be a program name with args.
5023 set dummy cc; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_CC+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$CC"; then
5030 ac_cv_prog_CC="$CC" # Let the user override the test.
5031 else
5032 ac_prog_rejected=no
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5041 ac_prog_rejected=yes
5042 continue
5044 ac_cv_prog_CC="cc"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5052 if test $ac_prog_rejected = yes; then
5053 # We found a bogon in the path, so make sure we never use it.
5054 set dummy $ac_cv_prog_CC
5055 shift
5056 if test $# != 0; then
5057 # We chose a different compiler from the bogus one.
5058 # However, it has the same basename, so the bogon will be chosen
5059 # first if we set CC to just the basename; use the full file name.
5060 shift
5061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5066 CC=$ac_cv_prog_CC
5067 if test -n "$CC"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5069 $as_echo "$CC" >&6; }
5070 else
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test -z "$CC"; then
5078 if test -n "$ac_tool_prefix"; then
5079 for ac_prog in cl.exe
5081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if test "${ac_cv_prog_CC+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$CC"; then
5089 ac_cv_prog_CC="$CC" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5108 CC=$ac_cv_prog_CC
5109 if test -n "$CC"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5111 $as_echo "$CC" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5118 test -n "$CC" && break
5119 done
5121 if test -z "$CC"; then
5122 ac_ct_CC=$CC
5123 for ac_prog in cl.exe
5125 # Extract the first word of "$ac_prog", so it can be a program name with args.
5126 set dummy $ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 if test -n "$ac_ct_CC"; then
5133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5138 IFS=$as_save_IFS
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 ac_cv_prog_ac_ct_CC="$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 break 2
5146 done
5147 done
5148 IFS=$as_save_IFS
5152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5153 if test -n "$ac_ct_CC"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5155 $as_echo "$ac_ct_CC" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 test -n "$ac_ct_CC" && break
5163 done
5165 if test "x$ac_ct_CC" = x; then
5166 CC=""
5167 else
5168 case $cross_compiling:$ac_tool_warned in
5169 yes:)
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned=yes ;;
5173 esac
5174 CC=$ac_ct_CC
5181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5183 as_fn_error "no acceptable C compiler found in \$PATH
5184 See \`config.log' for more details." "$LINENO" 5; }
5186 # Provide some information about the compiler.
5187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5188 set X $ac_compile
5189 ac_compiler=$2
5190 for ac_option in --version -v -V -qversion; do
5191 { { ac_try="$ac_compiler $ac_option >&5"
5192 case "(($ac_try" in
5193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5194 *) ac_try_echo=$ac_try;;
5195 esac
5196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5197 $as_echo "$ac_try_echo"; } >&5
5198 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5199 ac_status=$?
5200 if test -s conftest.err; then
5201 sed '10a\
5202 ... rest of stderr output deleted ...
5203 10q' conftest.err >conftest.er1
5204 cat conftest.er1 >&5
5205 rm -f conftest.er1 conftest.err
5207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5208 test $ac_status = 0; }
5209 done
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5220 main ()
5222 #ifndef __GNUC__
5223 choke me
5224 #endif
5227 return 0;
5229 _ACEOF
5230 if ac_fn_c_try_compile "$LINENO"; then :
5231 ac_compiler_gnu=yes
5232 else
5233 ac_compiler_gnu=no
5235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5241 if test $ac_compiler_gnu = yes; then
5242 GCC=yes
5243 else
5244 GCC=
5246 ac_test_CFLAGS=${CFLAGS+set}
5247 ac_save_CFLAGS=$CFLAGS
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5250 if test "${ac_cv_prog_cc_g+set}" = set; then :
5251 $as_echo_n "(cached) " >&6
5252 else
5253 ac_save_c_werror_flag=$ac_c_werror_flag
5254 ac_c_werror_flag=yes
5255 ac_cv_prog_cc_g=no
5256 CFLAGS="-g"
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5261 main ()
5265 return 0;
5267 _ACEOF
5268 if ac_fn_c_try_compile "$LINENO"; then :
5269 ac_cv_prog_cc_g=yes
5270 else
5271 CFLAGS=""
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5276 main ()
5280 return 0;
5282 _ACEOF
5283 if ac_fn_c_try_compile "$LINENO"; then :
5285 else
5286 ac_c_werror_flag=$ac_save_c_werror_flag
5287 CFLAGS="-g"
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5292 main ()
5296 return 0;
5298 _ACEOF
5299 if ac_fn_c_try_compile "$LINENO"; then :
5300 ac_cv_prog_cc_g=yes
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 ac_c_werror_flag=$ac_save_c_werror_flag
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5310 $as_echo "$ac_cv_prog_cc_g" >&6; }
5311 if test "$ac_test_CFLAGS" = set; then
5312 CFLAGS=$ac_save_CFLAGS
5313 elif test $ac_cv_prog_cc_g = yes; then
5314 if test "$GCC" = yes; then
5315 CFLAGS="-g -O2"
5316 else
5317 CFLAGS="-g"
5319 else
5320 if test "$GCC" = yes; then
5321 CFLAGS="-O2"
5322 else
5323 CFLAGS=
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5329 $as_echo_n "(cached) " >&6
5330 else
5331 ac_cv_prog_cc_c89=no
5332 ac_save_CC=$CC
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5335 #include <stdarg.h>
5336 #include <stdio.h>
5337 #include <sys/types.h>
5338 #include <sys/stat.h>
5339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5340 struct buf { int x; };
5341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5342 static char *e (p, i)
5343 char **p;
5344 int i;
5346 return p[i];
5348 static char *f (char * (*g) (char **, int), char **p, ...)
5350 char *s;
5351 va_list v;
5352 va_start (v,p);
5353 s = g (p, va_arg (v,int));
5354 va_end (v);
5355 return s;
5358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5359 function prototypes and stuff, but not '\xHH' hex character constants.
5360 These don't provoke an error unfortunately, instead are silently treated
5361 as 'x'. The following induces an error, until -std is added to get
5362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5363 array size at least. It's necessary to write '\x00'==0 to get something
5364 that's true only with -std. */
5365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5368 inside strings and character constants. */
5369 #define FOO(x) 'x'
5370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5372 int test (int i, double x);
5373 struct s1 {int (*f) (int a);};
5374 struct s2 {int (*f) (double a);};
5375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5376 int argc;
5377 char **argv;
5379 main ()
5381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5383 return 0;
5385 _ACEOF
5386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5389 CC="$ac_save_CC $ac_arg"
5390 if ac_fn_c_try_compile "$LINENO"; then :
5391 ac_cv_prog_cc_c89=$ac_arg
5393 rm -f core conftest.err conftest.$ac_objext
5394 test "x$ac_cv_prog_cc_c89" != "xno" && break
5395 done
5396 rm -f conftest.$ac_ext
5397 CC=$ac_save_CC
5400 # AC_CACHE_VAL
5401 case "x$ac_cv_prog_cc_c89" in
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5404 $as_echo "none needed" >&6; } ;;
5405 xno)
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5407 $as_echo "unsupported" >&6; } ;;
5409 CC="$CC $ac_cv_prog_cc_c89"
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5412 esac
5413 if test "x$ac_cv_prog_cc_c89" != xno; then :
5417 ac_ext=c
5418 ac_cpp='$CPP $CPPFLAGS'
5419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5423 depcc="$CC" am_compiler_list=
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5426 $as_echo_n "checking dependency style of $depcc... " >&6; }
5427 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5428 $as_echo_n "(cached) " >&6
5429 else
5430 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5431 # We make a subdir and do the tests there. Otherwise we can end up
5432 # making bogus files that we don't know about and never remove. For
5433 # instance it was reported that on HP-UX the gcc test will end up
5434 # making a dummy file named `D' -- because `-MD' means `put the output
5435 # in D'.
5436 mkdir conftest.dir
5437 # Copy depcomp to subdir because otherwise we won't find it if we're
5438 # using a relative directory.
5439 cp "$am_depcomp" conftest.dir
5440 cd conftest.dir
5441 # We will build objects and dependencies in a subdirectory because
5442 # it helps to detect inapplicable dependency modes. For instance
5443 # both Tru64's cc and ICC support -MD to output dependencies as a
5444 # side effect of compilation, but ICC will put the dependencies in
5445 # the current directory while Tru64 will put them in the object
5446 # directory.
5447 mkdir sub
5449 am_cv_CC_dependencies_compiler_type=none
5450 if test "$am_compiler_list" = ""; then
5451 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5453 am__universal=false
5454 case " $depcc " in #(
5455 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5456 esac
5458 for depmode in $am_compiler_list; do
5459 # Setup a source with many dependencies, because some compilers
5460 # like to wrap large dependency lists on column 80 (with \), and
5461 # we should not choose a depcomp mode which is confused by this.
5463 # We need to recreate these files for each test, as the compiler may
5464 # overwrite some of them when testing with obscure command lines.
5465 # This happens at least with the AIX C compiler.
5466 : > sub/conftest.c
5467 for i in 1 2 3 4 5 6; do
5468 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5469 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5470 # Solaris 8's {/usr,}/bin/sh.
5471 touch sub/conftst$i.h
5472 done
5473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5475 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5476 # mode. It turns out that the SunPro C++ compiler does not properly
5477 # handle `-M -o', and we need to detect this. Also, some Intel
5478 # versions had trouble with output in subdirs
5479 am__obj=sub/conftest.${OBJEXT-o}
5480 am__minus_obj="-o $am__obj"
5481 case $depmode in
5482 gcc)
5483 # This depmode causes a compiler race in universal mode.
5484 test "$am__universal" = false || continue
5486 nosideeffect)
5487 # after this tag, mechanisms are not by side-effect, so they'll
5488 # only be used when explicitly requested
5489 if test "x$enable_dependency_tracking" = xyes; then
5490 continue
5491 else
5492 break
5495 msvisualcpp | msvcmsys)
5496 # This compiler won't grok `-c -o', but also, the minuso test has
5497 # not run yet. These depmodes are late enough in the game, and
5498 # so weak that their functioning should not be impacted.
5499 am__obj=conftest.${OBJEXT-o}
5500 am__minus_obj=
5502 none) break ;;
5503 esac
5504 if depmode=$depmode \
5505 source=sub/conftest.c object=$am__obj \
5506 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5507 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5508 >/dev/null 2>conftest.err &&
5509 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5510 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5511 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5512 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5513 # icc doesn't choke on unknown options, it will just issue warnings
5514 # or remarks (even with -Werror). So we grep stderr for any message
5515 # that says an option was ignored or not supported.
5516 # When given -MP, icc 7.0 and 7.1 complain thusly:
5517 # icc: Command line warning: ignoring option '-M'; no argument required
5518 # The diagnosis changed in icc 8.0:
5519 # icc: Command line remark: option '-MP' not supported
5520 if (grep 'ignoring option' conftest.err ||
5521 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5522 am_cv_CC_dependencies_compiler_type=$depmode
5523 break
5526 done
5528 cd ..
5529 rm -rf conftest.dir
5530 else
5531 am_cv_CC_dependencies_compiler_type=none
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5537 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5540 test "x$enable_dependency_tracking" != xno \
5541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5542 am__fastdepCC_TRUE=
5543 am__fastdepCC_FALSE='#'
5544 else
5545 am__fastdepCC_TRUE='#'
5546 am__fastdepCC_FALSE=
5552 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5553 if test "x$GCC" = "xyes"; then
5554 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5555 ## We like to use C99 routines when available. This makes sure that
5556 ## __STDC_VERSION__ is set such that libc includes make them available.
5557 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5558 ## Compile the following tests with the same system header contents
5559 ## that we'll encounter when compiling our own source files.
5560 CFLAGS="-std=gnu99 $CFLAGS"
5566 # Check for symbol versioning (copied from libssp).
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5568 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5569 # Check whether --enable-symvers was given.
5570 if test "${enable_symvers+set}" = set; then :
5571 enableval=$enable_symvers; gfortran_use_symver=$enableval
5572 else
5573 gfortran_use_symver=yes
5576 if test "x$gfortran_use_symver" = xyes; then
5577 save_LDFLAGS="$LDFLAGS"
5578 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5579 cat > conftest.map <<EOF
5580 FOO_1.0 {
5581 global: *foo*; bar; local: *;
5584 if test x$gcc_no_link = xyes; then
5585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5589 int foo;
5591 main ()
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_link "$LINENO"; then :
5599 gfortran_use_symver=gnu
5600 else
5601 gfortran_use_symver=no
5603 rm -f core conftest.err conftest.$ac_objext \
5604 conftest$ac_exeext conftest.$ac_ext
5605 if test x$gfortran_use_symver = xno; then
5606 case "$target_os" in
5607 solaris2*)
5608 LDFLAGS="$save_LDFLAGS"
5609 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5610 # Sun ld cannot handle wildcards and treats all entries as undefined.
5611 cat > conftest.map <<EOF
5612 FOO_1.0 {
5613 global: foo; local: *;
5616 if test x$gcc_no_link = xyes; then
5617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5621 int foo;
5623 main ()
5627 return 0;
5629 _ACEOF
5630 if ac_fn_c_try_link "$LINENO"; then :
5631 gfortran_use_symver=sun
5632 else
5633 gfortran_use_symver=no
5635 rm -f core conftest.err conftest.$ac_objext \
5636 conftest$ac_exeext conftest.$ac_ext
5638 esac
5640 LDFLAGS="$save_LDFLAGS"
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5643 $as_echo "$gfortran_use_symver" >&6; }
5644 if test "x$gfortran_use_symver" != xno; then
5645 LIBGFOR_USE_SYMVER_TRUE=
5646 LIBGFOR_USE_SYMVER_FALSE='#'
5647 else
5648 LIBGFOR_USE_SYMVER_TRUE='#'
5649 LIBGFOR_USE_SYMVER_FALSE=
5652 if test "x$gfortran_use_symver" = xgnu; then
5653 LIBGFOR_USE_SYMVER_GNU_TRUE=
5654 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5655 else
5656 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5657 LIBGFOR_USE_SYMVER_GNU_FALSE=
5660 if test "x$gfortran_use_symver" = xsun; then
5661 LIBGFOR_USE_SYMVER_SUN_TRUE=
5662 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5663 else
5664 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5665 LIBGFOR_USE_SYMVER_SUN_FALSE=
5669 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5670 # similarly to how libstdc++ does it
5671 ac_test_CFLAGS="${CFLAGS+set}"
5672 ac_save_CFLAGS="$CFLAGS"
5674 # Check for -ffunction-sections -fdata-sections
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5676 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5677 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5679 /* end confdefs.h. */
5682 main ()
5684 int foo;
5686 return 0;
5688 _ACEOF
5689 if ac_fn_c_try_compile "$LINENO"; then :
5690 ac_fdsections=yes
5691 else
5692 ac_fdsections=no
5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5695 if test "$ac_test_CFLAGS" = set; then
5696 CFLAGS="$ac_save_CFLAGS"
5697 else
5698 # this is the suspicious part
5699 CFLAGS=""
5701 if test x"$ac_fdsections" = x"yes"; then
5702 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5705 $as_echo "$ac_fdsections" >&6; }
5708 # Find other programs we need.
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}as; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if test "${ac_cv_prog_AS+set}" = set; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$AS"; then
5718 ac_cv_prog_AS="$AS" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_AS="${ac_tool_prefix}as"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 AS=$ac_cv_prog_AS
5738 if test -n "$AS"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5740 $as_echo "$AS" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5748 if test -z "$ac_cv_prog_AS"; then
5749 ac_ct_AS=$AS
5750 # Extract the first word of "as", so it can be a program name with args.
5751 set dummy as; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 if test -n "$ac_ct_AS"; then
5758 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5763 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_ac_ct_AS="as"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2
5771 done
5772 done
5773 IFS=$as_save_IFS
5777 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5778 if test -n "$ac_ct_AS"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5780 $as_echo "$ac_ct_AS" >&6; }
5781 else
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5786 if test "x$ac_ct_AS" = x; then
5787 AS=""
5788 else
5789 case $cross_compiling:$ac_tool_warned in
5790 yes:)
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5793 ac_tool_warned=yes ;;
5794 esac
5795 AS=$ac_ct_AS
5797 else
5798 AS="$ac_cv_prog_AS"
5801 if test -n "$ac_tool_prefix"; then
5802 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5803 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5808 else
5809 if test -n "$AR"; then
5810 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
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 AR=$ac_cv_prog_AR
5830 if test -n "$AR"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5832 $as_echo "$AR" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5840 if test -z "$ac_cv_prog_AR"; then
5841 ac_ct_AR=$AR
5842 # Extract the first word of "ar", so it can be a program name with args.
5843 set dummy ar; ac_word=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5848 else
5849 if test -n "$ac_ct_AR"; then
5850 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5851 else
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 for as_dir in $PATH
5855 IFS=$as_save_IFS
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_ac_ct_AR="ar"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 break 2
5863 done
5864 done
5865 IFS=$as_save_IFS
5869 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5870 if test -n "$ac_ct_AR"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5872 $as_echo "$ac_ct_AR" >&6; }
5873 else
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5878 if test "x$ac_ct_AR" = x; then
5879 AR=""
5880 else
5881 case $cross_compiling:$ac_tool_warned in
5882 yes:)
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 ac_tool_warned=yes ;;
5886 esac
5887 AR=$ac_ct_AR
5889 else
5890 AR="$ac_cv_prog_AR"
5893 if test -n "$ac_tool_prefix"; then
5894 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5895 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 if test -n "$RANLIB"; then
5902 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5907 IFS=$as_save_IFS
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 break 2
5915 done
5916 done
5917 IFS=$as_save_IFS
5921 RANLIB=$ac_cv_prog_RANLIB
5922 if test -n "$RANLIB"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5924 $as_echo "$RANLIB" >&6; }
5925 else
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5932 if test -z "$ac_cv_prog_RANLIB"; then
5933 ac_ct_RANLIB=$RANLIB
5934 # Extract the first word of "ranlib", so it can be a program name with args.
5935 set dummy ranlib; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$ac_ct_RANLIB"; then
5942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_ac_ct_RANLIB="ranlib"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5962 if test -n "$ac_ct_RANLIB"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5964 $as_echo "$ac_ct_RANLIB" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5970 if test "x$ac_ct_RANLIB" = x; then
5971 RANLIB="ranlib-not-found-in-path-error"
5972 else
5973 case $cross_compiling:$ac_tool_warned in
5974 yes:)
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5977 ac_tool_warned=yes ;;
5978 esac
5979 RANLIB=$ac_ct_RANLIB
5981 else
5982 RANLIB="$ac_cv_prog_RANLIB"
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5986 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5987 set x ${MAKE-make}
5988 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5989 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5990 $as_echo_n "(cached) " >&6
5991 else
5992 cat >conftest.make <<\_ACEOF
5993 SHELL = /bin/sh
5994 all:
5995 @echo '@@@%%%=$(MAKE)=@@@%%%'
5996 _ACEOF
5997 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5998 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5999 *@@@%%%=?*=@@@%%%*)
6000 eval ac_cv_prog_make_${ac_make}_set=yes;;
6002 eval ac_cv_prog_make_${ac_make}_set=no;;
6003 esac
6004 rm -f conftest.make
6006 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6008 $as_echo "yes" >&6; }
6009 SET_MAKE=
6010 else
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6013 SET_MAKE="MAKE=${MAKE-make}"
6018 # Configure libtool
6019 #AC_MSG_NOTICE([====== Starting libtool configuration])
6020 enable_dlopen=yes
6024 case `pwd` in
6025 *\ * | *\ *)
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6027 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6028 esac
6032 macro_version='2.2.7a'
6033 macro_revision='1.3134'
6047 ltmain="$ac_aux_dir/ltmain.sh"
6049 # Backslashify metacharacters that are still active within
6050 # double-quoted strings.
6051 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6053 # Same as above, but do not quote variable references.
6054 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6056 # Sed substitution to delay expansion of an escaped shell variable in a
6057 # double_quote_subst'ed string.
6058 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6060 # Sed substitution to delay expansion of an escaped single quote.
6061 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6063 # Sed substitution to avoid accidental globbing in evaled expressions
6064 no_glob_subst='s/\*/\\\*/g'
6066 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6067 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6068 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6071 $as_echo_n "checking how to print strings... " >&6; }
6072 # Test print first, because it will be a builtin if present.
6073 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6074 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6075 ECHO='print -r --'
6076 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6077 ECHO='printf %s\n'
6078 else
6079 # Use this function as a fallback that always works.
6080 func_fallback_echo ()
6082 eval 'cat <<_LTECHO_EOF
6084 _LTECHO_EOF'
6086 ECHO='func_fallback_echo'
6089 # func_echo_all arg...
6090 # Invoke $ECHO with all args, space-separated.
6091 func_echo_all ()
6093 $ECHO ""
6096 case "$ECHO" in
6097 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6098 $as_echo "printf" >&6; } ;;
6099 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6100 $as_echo "print -r" >&6; } ;;
6101 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6102 $as_echo "cat" >&6; } ;;
6103 esac
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6119 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6120 if test "${ac_cv_path_SED+set}" = set; then :
6121 $as_echo_n "(cached) " >&6
6122 else
6123 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6124 for ac_i in 1 2 3 4 5 6 7; do
6125 ac_script="$ac_script$as_nl$ac_script"
6126 done
6127 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6128 { ac_script=; unset ac_script;}
6129 if test -z "$SED"; then
6130 ac_path_SED_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
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_prog in sed gsed; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6140 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6141 # Check for GNU ac_path_SED and select it if it is found.
6142 # Check for GNU $ac_path_SED
6143 case `"$ac_path_SED" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo '' >> "conftest.nl"
6155 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_SED_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_SED="$ac_path_SED"
6161 ac_path_SED_max=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6169 $ac_path_SED_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_SED"; then
6175 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6177 else
6178 ac_cv_path_SED=$SED
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6183 $as_echo "$ac_cv_path_SED" >&6; }
6184 SED="$ac_cv_path_SED"
6185 rm -f conftest.sed
6187 test -z "$SED" && SED=sed
6188 Xsed="$SED -e 1s/^X//"
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6201 $as_echo_n "checking for fgrep... " >&6; }
6202 if test "${ac_cv_path_FGREP+set}" = set; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6206 then ac_cv_path_FGREP="$GREP -F"
6207 else
6208 if test -z "$FGREP"; then
6209 ac_path_FGREP_found=false
6210 # Loop through the user's path and test for each of PROGNAME-LIST
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6214 IFS=$as_save_IFS
6215 test -z "$as_dir" && as_dir=.
6216 for ac_prog in fgrep; do
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6219 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6220 # Check for GNU ac_path_FGREP and select it if it is found.
6221 # Check for GNU $ac_path_FGREP
6222 case `"$ac_path_FGREP" --version 2>&1` in
6223 *GNU*)
6224 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6226 ac_count=0
6227 $as_echo_n 0123456789 >"conftest.in"
6228 while :
6230 cat "conftest.in" "conftest.in" >"conftest.tmp"
6231 mv "conftest.tmp" "conftest.in"
6232 cp "conftest.in" "conftest.nl"
6233 $as_echo 'FGREP' >> "conftest.nl"
6234 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6236 as_fn_arith $ac_count + 1 && ac_count=$as_val
6237 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6238 # Best one so far, save it but keep looking for a better one
6239 ac_cv_path_FGREP="$ac_path_FGREP"
6240 ac_path_FGREP_max=$ac_count
6242 # 10*(2^10) chars as input seems more than enough
6243 test $ac_count -gt 10 && break
6244 done
6245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6246 esac
6248 $ac_path_FGREP_found && break 3
6249 done
6250 done
6251 done
6252 IFS=$as_save_IFS
6253 if test -z "$ac_cv_path_FGREP"; then
6254 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6256 else
6257 ac_cv_path_FGREP=$FGREP
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6263 $as_echo "$ac_cv_path_FGREP" >&6; }
6264 FGREP="$ac_cv_path_FGREP"
6267 test -z "$GREP" && GREP=grep
6287 # Check whether --with-gnu-ld was given.
6288 if test "${with_gnu_ld+set}" = set; then :
6289 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6290 else
6291 with_gnu_ld=no
6294 ac_prog=ld
6295 if test "$GCC" = yes; then
6296 # Check if gcc -print-prog-name=ld gives a path.
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6298 $as_echo_n "checking for ld used by $CC... " >&6; }
6299 case $host in
6300 *-*-mingw*)
6301 # gcc leaves a trailing carriage return which upsets mingw
6302 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6304 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6305 esac
6306 case $ac_prog in
6307 # Accept absolute paths.
6308 [\\/]* | ?:[\\/]*)
6309 re_direlt='/[^/][^/]*/\.\./'
6310 # Canonicalize the pathname of ld
6311 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6312 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6313 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6314 done
6315 test -z "$LD" && LD="$ac_prog"
6318 # If it fails, then pretend we aren't using GCC.
6319 ac_prog=ld
6322 # If it is relative, then search for the first ld in PATH.
6323 with_gnu_ld=unknown
6325 esac
6326 elif test "$with_gnu_ld" = yes; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6328 $as_echo_n "checking for GNU ld... " >&6; }
6329 else
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6331 $as_echo_n "checking for non-GNU ld... " >&6; }
6333 if test "${lt_cv_path_LD+set}" = set; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 if test -z "$LD"; then
6337 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6338 for ac_dir in $PATH; do
6339 IFS="$lt_save_ifs"
6340 test -z "$ac_dir" && ac_dir=.
6341 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6342 lt_cv_path_LD="$ac_dir/$ac_prog"
6343 # Check to see if the program is GNU ld. I'd rather use --version,
6344 # but apparently some variants of GNU ld only accept -v.
6345 # Break only if it was the GNU/non-GNU ld that we prefer.
6346 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6347 *GNU* | *'with BFD'*)
6348 test "$with_gnu_ld" != no && break
6351 test "$with_gnu_ld" != yes && break
6353 esac
6355 done
6356 IFS="$lt_save_ifs"
6357 else
6358 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6362 LD="$lt_cv_path_LD"
6363 if test -n "$LD"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6365 $as_echo "$LD" >&6; }
6366 else
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6370 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6372 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6373 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6377 case `$LD -v 2>&1 </dev/null` in
6378 *GNU* | *'with BFD'*)
6379 lt_cv_prog_gnu_ld=yes
6382 lt_cv_prog_gnu_ld=no
6384 esac
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6387 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6388 with_gnu_ld=$lt_cv_prog_gnu_ld
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6399 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6400 if test "${lt_cv_path_NM+set}" = set; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 if test -n "$NM"; then
6404 # Let the user override the test.
6405 lt_cv_path_NM="$NM"
6406 else
6407 lt_nm_to_check="${ac_tool_prefix}nm"
6408 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6409 lt_nm_to_check="$lt_nm_to_check nm"
6411 for lt_tmp_nm in $lt_nm_to_check; do
6412 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6413 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6414 IFS="$lt_save_ifs"
6415 test -z "$ac_dir" && ac_dir=.
6416 tmp_nm="$ac_dir/$lt_tmp_nm"
6417 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6418 # Check to see if the nm accepts a BSD-compat flag.
6419 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6420 # nm: unknown option "B" ignored
6421 # Tru64's nm complains that /dev/null is an invalid object file
6422 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6423 */dev/null* | *'Invalid file or object type'*)
6424 lt_cv_path_NM="$tmp_nm -B"
6425 break
6428 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6429 */dev/null*)
6430 lt_cv_path_NM="$tmp_nm -p"
6431 break
6434 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6435 continue # so that we can try to find one that supports BSD flags
6437 esac
6439 esac
6441 done
6442 IFS="$lt_save_ifs"
6443 done
6444 : ${lt_cv_path_NM=no}
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6448 $as_echo "$lt_cv_path_NM" >&6; }
6449 if test "$lt_cv_path_NM" != "no"; then
6450 NM="$lt_cv_path_NM"
6451 else
6452 # Didn't find any BSD compatible name lister, look for dumpbin.
6453 if test -n "$DUMPBIN"; then :
6454 # Let the user override the test.
6455 else
6456 if test -n "$ac_tool_prefix"; then
6457 for ac_prog in dumpbin "link -dump"
6459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 if test -n "$DUMPBIN"; then
6467 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6472 IFS=$as_save_IFS
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 break 2
6480 done
6481 done
6482 IFS=$as_save_IFS
6486 DUMPBIN=$ac_cv_prog_DUMPBIN
6487 if test -n "$DUMPBIN"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6489 $as_echo "$DUMPBIN" >&6; }
6490 else
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6496 test -n "$DUMPBIN" && break
6497 done
6499 if test -z "$DUMPBIN"; then
6500 ac_ct_DUMPBIN=$DUMPBIN
6501 for ac_prog in dumpbin "link -dump"
6503 # Extract the first word of "$ac_prog", so it can be a program name with args.
6504 set dummy $ac_prog; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$ac_ct_DUMPBIN"; then
6511 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6531 if test -n "$ac_ct_DUMPBIN"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6533 $as_echo "$ac_ct_DUMPBIN" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6540 test -n "$ac_ct_DUMPBIN" && break
6541 done
6543 if test "x$ac_ct_DUMPBIN" = x; then
6544 DUMPBIN=":"
6545 else
6546 case $cross_compiling:$ac_tool_warned in
6547 yes:)
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6551 esac
6552 DUMPBIN=$ac_ct_DUMPBIN
6556 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6557 *COFF*)
6558 DUMPBIN="$DUMPBIN -symbols"
6561 DUMPBIN=:
6563 esac
6566 if test "$DUMPBIN" != ":"; then
6567 NM="$DUMPBIN"
6570 test -z "$NM" && NM=nm
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6578 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6579 if test "${lt_cv_nm_interface+set}" = set; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 lt_cv_nm_interface="BSD nm"
6583 echo "int some_variable = 0;" > conftest.$ac_ext
6584 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6585 (eval "$ac_compile" 2>conftest.err)
6586 cat conftest.err >&5
6587 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6588 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6589 cat conftest.err >&5
6590 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6591 cat conftest.out >&5
6592 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6593 lt_cv_nm_interface="MS dumpbin"
6595 rm -f conftest*
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6598 $as_echo "$lt_cv_nm_interface" >&6; }
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6601 $as_echo_n "checking whether ln -s works... " >&6; }
6602 LN_S=$as_ln_s
6603 if test "$LN_S" = "ln -s"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6605 $as_echo "yes" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6608 $as_echo "no, using $LN_S" >&6; }
6611 # find the maximum length of command line arguments
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6613 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6614 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6618 teststring="ABCD"
6620 case $build_os in
6621 msdosdjgpp*)
6622 # On DJGPP, this test can blow up pretty badly due to problems in libc
6623 # (any single argument exceeding 2000 bytes causes a buffer overrun
6624 # during glob expansion). Even if it were fixed, the result of this
6625 # check would be larger than it should be.
6626 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6629 gnu*)
6630 # Under GNU Hurd, this test is not required because there is
6631 # no limit to the length of command line arguments.
6632 # Libtool will interpret -1 as no limit whatsoever
6633 lt_cv_sys_max_cmd_len=-1;
6636 cygwin* | mingw* | cegcc*)
6637 # On Win9x/ME, this test blows up -- it succeeds, but takes
6638 # about 5 minutes as the teststring grows exponentially.
6639 # Worse, since 9x/ME are not pre-emptively multitasking,
6640 # you end up with a "frozen" computer, even though with patience
6641 # the test eventually succeeds (with a max line length of 256k).
6642 # Instead, let's just punt: use the minimum linelength reported by
6643 # all of the supported platforms: 8192 (on NT/2K/XP).
6644 lt_cv_sys_max_cmd_len=8192;
6647 mint*)
6648 # On MiNT this can take a long time and run out of memory.
6649 lt_cv_sys_max_cmd_len=8192;
6652 amigaos*)
6653 # On AmigaOS with pdksh, this test takes hours, literally.
6654 # So we just punt and use a minimum line length of 8192.
6655 lt_cv_sys_max_cmd_len=8192;
6658 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6659 # This has been around since 386BSD, at least. Likely further.
6660 if test -x /sbin/sysctl; then
6661 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6662 elif test -x /usr/sbin/sysctl; then
6663 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6664 else
6665 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6667 # And add a safety zone
6668 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6669 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6672 interix*)
6673 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6674 lt_cv_sys_max_cmd_len=196608
6677 osf*)
6678 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6679 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6680 # nice to cause kernel panics so lets avoid the loop below.
6681 # First set a reasonable default.
6682 lt_cv_sys_max_cmd_len=16384
6684 if test -x /sbin/sysconfig; then
6685 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6686 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6687 esac
6690 sco3.2v5*)
6691 lt_cv_sys_max_cmd_len=102400
6693 sysv5* | sco5v6* | sysv4.2uw2*)
6694 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6695 if test -n "$kargmax"; then
6696 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6697 else
6698 lt_cv_sys_max_cmd_len=32768
6702 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6703 if test -n "$lt_cv_sys_max_cmd_len"; then
6704 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6705 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6706 else
6707 # Make teststring a little bigger before we do anything with it.
6708 # a 1K string should be a reasonable start.
6709 for i in 1 2 3 4 5 6 7 8 ; do
6710 teststring=$teststring$teststring
6711 done
6712 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6713 # If test is not a shell built-in, we'll probably end up computing a
6714 # maximum length that is only half of the actual maximum length, but
6715 # we can't tell.
6716 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6717 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6718 test $i != 17 # 1/2 MB should be enough
6720 i=`expr $i + 1`
6721 teststring=$teststring$teststring
6722 done
6723 # Only check the string length outside the loop.
6724 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6725 teststring=
6726 # Add a significant safety factor because C++ compilers can tack on
6727 # massive amounts of additional arguments before passing them to the
6728 # linker. It appears as though 1/2 is a usable value.
6729 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6732 esac
6736 if test -n $lt_cv_sys_max_cmd_len ; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6738 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6739 else
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6741 $as_echo "none" >&6; }
6743 max_cmd_len=$lt_cv_sys_max_cmd_len
6750 : ${CP="cp -f"}
6751 : ${MV="mv -f"}
6752 : ${RM="rm -f"}
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6755 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6756 # Try some XSI features
6757 xsi_shell=no
6758 ( _lt_dummy="a/b/c"
6759 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6760 = c,a/b,, \
6761 && eval 'test $(( 1 + 1 )) -eq 2 \
6762 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6763 && xsi_shell=yes
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6765 $as_echo "$xsi_shell" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6769 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6770 lt_shell_append=no
6771 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6772 >/dev/null 2>&1 \
6773 && lt_shell_append=yes
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6775 $as_echo "$lt_shell_append" >&6; }
6778 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6779 lt_unset=unset
6780 else
6781 lt_unset=false
6788 # test EBCDIC or ASCII
6789 case `echo X|tr X '\101'` in
6790 A) # ASCII based system
6791 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6792 lt_SP2NL='tr \040 \012'
6793 lt_NL2SP='tr \015\012 \040\040'
6795 *) # EBCDIC based system
6796 lt_SP2NL='tr \100 \n'
6797 lt_NL2SP='tr \r\n \100\100'
6799 esac
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6810 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6811 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6812 $as_echo_n "(cached) " >&6
6813 else
6814 lt_cv_ld_reload_flag='-r'
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6817 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6818 reload_flag=$lt_cv_ld_reload_flag
6819 case $reload_flag in
6820 "" | " "*) ;;
6821 *) reload_flag=" $reload_flag" ;;
6822 esac
6823 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6824 case $host_os in
6825 darwin*)
6826 if test "$GCC" = yes; then
6827 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6828 else
6829 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6832 esac
6842 if test -n "$ac_tool_prefix"; then
6843 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6844 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846 $as_echo_n "checking for $ac_word... " >&6; }
6847 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6848 $as_echo_n "(cached) " >&6
6849 else
6850 if test -n "$OBJDUMP"; then
6851 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6852 else
6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 for as_dir in $PATH
6856 IFS=$as_save_IFS
6857 test -z "$as_dir" && as_dir=.
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 break 2
6864 done
6865 done
6866 IFS=$as_save_IFS
6870 OBJDUMP=$ac_cv_prog_OBJDUMP
6871 if test -n "$OBJDUMP"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6873 $as_echo "$OBJDUMP" >&6; }
6874 else
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 $as_echo "no" >&6; }
6881 if test -z "$ac_cv_prog_OBJDUMP"; then
6882 ac_ct_OBJDUMP=$OBJDUMP
6883 # Extract the first word of "objdump", so it can be a program name with args.
6884 set dummy objdump; ac_word=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6886 $as_echo_n "checking for $ac_word... " >&6; }
6887 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6888 $as_echo_n "(cached) " >&6
6889 else
6890 if test -n "$ac_ct_OBJDUMP"; then
6891 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6892 else
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 for as_dir in $PATH
6896 IFS=$as_save_IFS
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 break 2
6904 done
6905 done
6906 IFS=$as_save_IFS
6910 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6911 if test -n "$ac_ct_OBJDUMP"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6913 $as_echo "$ac_ct_OBJDUMP" >&6; }
6914 else
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 $as_echo "no" >&6; }
6919 if test "x$ac_ct_OBJDUMP" = x; then
6920 OBJDUMP="false"
6921 else
6922 case $cross_compiling:$ac_tool_warned in
6923 yes:)
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6926 ac_tool_warned=yes ;;
6927 esac
6928 OBJDUMP=$ac_ct_OBJDUMP
6930 else
6931 OBJDUMP="$ac_cv_prog_OBJDUMP"
6934 test -z "$OBJDUMP" && OBJDUMP=objdump
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6945 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6946 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6947 $as_echo_n "(cached) " >&6
6948 else
6949 lt_cv_file_magic_cmd='$MAGIC_CMD'
6950 lt_cv_file_magic_test_file=
6951 lt_cv_deplibs_check_method='unknown'
6952 # Need to set the preceding variable on all platforms that support
6953 # interlibrary dependencies.
6954 # 'none' -- dependencies not supported.
6955 # `unknown' -- same as none, but documents that we really don't know.
6956 # 'pass_all' -- all dependencies passed with no checks.
6957 # 'test_compile' -- check by making test program.
6958 # 'file_magic [[regex]]' -- check by looking for files in library path
6959 # which responds to the $file_magic_cmd with a given extended regex.
6960 # If you have `file' or equivalent on your system and you're not sure
6961 # whether `pass_all' will *always* work, you probably want this one.
6963 case $host_os in
6964 aix[4-9]*)
6965 lt_cv_deplibs_check_method=pass_all
6968 beos*)
6969 lt_cv_deplibs_check_method=pass_all
6972 bsdi[45]*)
6973 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6974 lt_cv_file_magic_cmd='/usr/bin/file -L'
6975 lt_cv_file_magic_test_file=/shlib/libc.so
6978 cygwin*)
6979 # func_win32_libid is a shell function defined in ltmain.sh
6980 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6981 lt_cv_file_magic_cmd='func_win32_libid'
6984 mingw* | pw32*)
6985 # Base MSYS/MinGW do not provide the 'file' command needed by
6986 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6987 # unless we find 'file', for example because we are cross-compiling.
6988 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6989 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6990 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6991 lt_cv_file_magic_cmd='func_win32_libid'
6992 else
6993 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6994 lt_cv_file_magic_cmd='$OBJDUMP -f'
6998 cegcc*)
6999 # use the weaker test based on 'objdump'. See mingw*.
7000 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7001 lt_cv_file_magic_cmd='$OBJDUMP -f'
7004 darwin* | rhapsody*)
7005 lt_cv_deplibs_check_method=pass_all
7008 freebsd* | dragonfly*)
7009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7010 case $host_cpu in
7011 i*86 )
7012 # Not sure whether the presence of OpenBSD here was a mistake.
7013 # Let's accept both of them until this is cleared up.
7014 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7015 lt_cv_file_magic_cmd=/usr/bin/file
7016 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7018 esac
7019 else
7020 lt_cv_deplibs_check_method=pass_all
7024 gnu*)
7025 lt_cv_deplibs_check_method=pass_all
7028 haiku*)
7029 lt_cv_deplibs_check_method=pass_all
7032 hpux10.20* | hpux11*)
7033 lt_cv_file_magic_cmd=/usr/bin/file
7034 case $host_cpu in
7035 ia64*)
7036 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7037 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7039 hppa*64*)
7040 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]'
7041 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7044 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7045 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7047 esac
7050 interix[3-9]*)
7051 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7052 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7055 irix5* | irix6* | nonstopux*)
7056 case $LD in
7057 *-32|*"-32 ") libmagic=32-bit;;
7058 *-n32|*"-n32 ") libmagic=N32;;
7059 *-64|*"-64 ") libmagic=64-bit;;
7060 *) libmagic=never-match;;
7061 esac
7062 lt_cv_deplibs_check_method=pass_all
7065 # This must be Linux ELF.
7066 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7067 lt_cv_deplibs_check_method=pass_all
7070 netbsd*)
7071 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7073 else
7074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7078 newos6*)
7079 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7080 lt_cv_file_magic_cmd=/usr/bin/file
7081 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7084 *nto* | *qnx*)
7085 lt_cv_deplibs_check_method=pass_all
7088 openbsd*)
7089 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7090 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7091 else
7092 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7096 osf3* | osf4* | osf5*)
7097 lt_cv_deplibs_check_method=pass_all
7100 rdos*)
7101 lt_cv_deplibs_check_method=pass_all
7104 solaris*)
7105 lt_cv_deplibs_check_method=pass_all
7108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7109 lt_cv_deplibs_check_method=pass_all
7112 sysv4 | sysv4.3*)
7113 case $host_vendor in
7114 motorola)
7115 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]'
7116 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7118 ncr)
7119 lt_cv_deplibs_check_method=pass_all
7121 sequent)
7122 lt_cv_file_magic_cmd='/bin/file'
7123 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7125 sni)
7126 lt_cv_file_magic_cmd='/bin/file'
7127 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7128 lt_cv_file_magic_test_file=/lib/libc.so
7130 siemens)
7131 lt_cv_deplibs_check_method=pass_all
7134 lt_cv_deplibs_check_method=pass_all
7136 esac
7139 tpf*)
7140 lt_cv_deplibs_check_method=pass_all
7142 esac
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7146 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7147 file_magic_cmd=$lt_cv_file_magic_cmd
7148 deplibs_check_method=$lt_cv_deplibs_check_method
7149 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7162 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}ar; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if test "${ac_cv_prog_AR+set}" = set; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 if test -n "$AR"; then
7171 ac_cv_prog_AR="$AR" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7176 IFS=$as_save_IFS
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7180 ac_cv_prog_AR="${ac_tool_prefix}ar"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 break 2
7184 done
7185 done
7186 IFS=$as_save_IFS
7190 AR=$ac_cv_prog_AR
7191 if test -n "$AR"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7193 $as_echo "$AR" >&6; }
7194 else
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7201 if test -z "$ac_cv_prog_AR"; then
7202 ac_ct_AR=$AR
7203 # Extract the first word of "ar", so it can be a program name with args.
7204 set dummy ar; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7208 $as_echo_n "(cached) " >&6
7209 else
7210 if test -n "$ac_ct_AR"; then
7211 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7216 IFS=$as_save_IFS
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220 ac_cv_prog_ac_ct_AR="ar"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 break 2
7224 done
7225 done
7226 IFS=$as_save_IFS
7230 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7231 if test -n "$ac_ct_AR"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7233 $as_echo "$ac_ct_AR" >&6; }
7234 else
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7239 if test "x$ac_ct_AR" = x; then
7240 AR="false"
7241 else
7242 case $cross_compiling:$ac_tool_warned in
7243 yes:)
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned=yes ;;
7247 esac
7248 AR=$ac_ct_AR
7250 else
7251 AR="$ac_cv_prog_AR"
7254 test -z "$AR" && AR=ar
7255 test -z "$AR_FLAGS" && AR_FLAGS=cru
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}strip; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_STRIP+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$STRIP"; then
7276 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 STRIP=$ac_cv_prog_STRIP
7296 if test -n "$STRIP"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7298 $as_echo "$STRIP" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_STRIP"; then
7307 ac_ct_STRIP=$STRIP
7308 # Extract the first word of "strip", so it can be a program name with args.
7309 set dummy strip; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_STRIP"; then
7316 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_STRIP="strip"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7336 if test -n "$ac_ct_STRIP"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7338 $as_echo "$ac_ct_STRIP" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_STRIP" = x; then
7345 STRIP=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 STRIP=$ac_ct_STRIP
7355 else
7356 STRIP="$ac_cv_prog_STRIP"
7359 test -z "$STRIP" && STRIP=:
7366 if test -n "$ac_tool_prefix"; then
7367 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7368 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7372 $as_echo_n "(cached) " >&6
7373 else
7374 if test -n "$RANLIB"; then
7375 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7380 IFS=$as_save_IFS
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386 break 2
7388 done
7389 done
7390 IFS=$as_save_IFS
7394 RANLIB=$ac_cv_prog_RANLIB
7395 if test -n "$RANLIB"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7397 $as_echo "$RANLIB" >&6; }
7398 else
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7405 if test -z "$ac_cv_prog_RANLIB"; then
7406 ac_ct_RANLIB=$RANLIB
7407 # Extract the first word of "ranlib", so it can be a program name with args.
7408 set dummy ranlib; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7412 $as_echo_n "(cached) " >&6
7413 else
7414 if test -n "$ac_ct_RANLIB"; then
7415 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7416 else
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 for as_dir in $PATH
7420 IFS=$as_save_IFS
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7424 ac_cv_prog_ac_ct_RANLIB="ranlib"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 break 2
7428 done
7429 done
7430 IFS=$as_save_IFS
7434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7435 if test -n "$ac_ct_RANLIB"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7437 $as_echo "$ac_ct_RANLIB" >&6; }
7438 else
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7443 if test "x$ac_ct_RANLIB" = x; then
7444 RANLIB=":"
7445 else
7446 case $cross_compiling:$ac_tool_warned in
7447 yes:)
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7450 ac_tool_warned=yes ;;
7451 esac
7452 RANLIB=$ac_ct_RANLIB
7454 else
7455 RANLIB="$ac_cv_prog_RANLIB"
7458 test -z "$RANLIB" && RANLIB=:
7465 # Determine commands to create old-style static archives.
7466 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7467 old_postinstall_cmds='chmod 644 $oldlib'
7468 old_postuninstall_cmds=
7470 if test -n "$RANLIB"; then
7471 case $host_os in
7472 openbsd*)
7473 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7476 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7478 esac
7479 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7482 case $host_os in
7483 darwin*)
7484 lock_old_archive_extraction=yes ;;
7486 lock_old_archive_extraction=no ;;
7487 esac
7527 # If no C compiler was specified, use CC.
7528 LTCC=${LTCC-"$CC"}
7530 # If no C compiler flags were specified, use CFLAGS.
7531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7533 # Allow CC to be a program name with arguments.
7534 compiler=$CC
7537 # Check for command to grab the raw symbol name followed by C symbol from nm.
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7539 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7540 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7541 $as_echo_n "(cached) " >&6
7542 else
7544 # These are sane defaults that work on at least a few old systems.
7545 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7547 # Character class describing NM global symbol codes.
7548 symcode='[BCDEGRST]'
7550 # Regexp to match symbols that can be accessed directly from C.
7551 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7553 # Define system-specific variables.
7554 case $host_os in
7555 aix*)
7556 symcode='[BCDT]'
7558 cygwin* | mingw* | pw32* | cegcc*)
7559 symcode='[ABCDGISTW]'
7561 hpux*)
7562 if test "$host_cpu" = ia64; then
7563 symcode='[ABCDEGRST]'
7566 irix* | nonstopux*)
7567 symcode='[BCDEGRST]'
7569 osf*)
7570 symcode='[BCDEGQRST]'
7572 solaris*)
7573 symcode='[BDRT]'
7575 sco3.2v5*)
7576 symcode='[DT]'
7578 sysv4.2uw2*)
7579 symcode='[DT]'
7581 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7582 symcode='[ABDT]'
7584 sysv4)
7585 symcode='[DFNSTU]'
7587 esac
7589 # If we're using GNU nm, then use its standard symbol codes.
7590 case `$NM -V 2>&1` in
7591 *GNU* | *'with BFD'*)
7592 symcode='[ABCDGIRSTW]' ;;
7593 esac
7595 # Transform an extracted symbol line into a proper C declaration.
7596 # Some systems (esp. on ia64) link data and code symbols differently,
7597 # so use this general approach.
7598 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7600 # Transform an extracted symbol line into symbol name and symbol address
7601 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7602 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'"
7604 # Handle CRLF in mingw tool chain
7605 opt_cr=
7606 case $build_os in
7607 mingw*)
7608 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7610 esac
7612 # Try without a prefix underscore, then with it.
7613 for ac_symprfx in "" "_"; do
7615 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7616 symxfrm="\\1 $ac_symprfx\\2 \\2"
7618 # Write the raw and C identifiers.
7619 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7620 # Fake it for dumpbin and say T for any non-static function
7621 # and D for any global variable.
7622 # Also find C++ and __fastcall symbols from MSVC++,
7623 # which start with @ or ?.
7624 lt_cv_sys_global_symbol_pipe="$AWK '"\
7625 " {last_section=section; section=\$ 3};"\
7626 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7627 " \$ 0!~/External *\|/{next};"\
7628 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7629 " {if(hide[section]) next};"\
7630 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7631 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7632 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7633 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7634 " ' prfx=^$ac_symprfx"
7635 else
7636 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7639 # Check to see that the pipe works correctly.
7640 pipe_works=no
7642 rm -f conftest*
7643 cat > conftest.$ac_ext <<_LT_EOF
7644 #ifdef __cplusplus
7645 extern "C" {
7646 #endif
7647 char nm_test_var;
7648 void nm_test_func(void);
7649 void nm_test_func(void){}
7650 #ifdef __cplusplus
7652 #endif
7653 int main(){nm_test_var='a';nm_test_func();return(0);}
7654 _LT_EOF
7656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7657 (eval $ac_compile) 2>&5
7658 ac_status=$?
7659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7660 test $ac_status = 0; }; then
7661 # Now try to grab the symbols.
7662 nlist=conftest.nm
7663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7664 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7665 ac_status=$?
7666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7667 test $ac_status = 0; } && test -s "$nlist"; then
7668 # Try sorting and uniquifying the output.
7669 if sort "$nlist" | uniq > "$nlist"T; then
7670 mv -f "$nlist"T "$nlist"
7671 else
7672 rm -f "$nlist"T
7675 # Make sure that we snagged all the symbols we need.
7676 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7677 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7678 cat <<_LT_EOF > conftest.$ac_ext
7679 #ifdef __cplusplus
7680 extern "C" {
7681 #endif
7683 _LT_EOF
7684 # Now generate the symbol file.
7685 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7687 cat <<_LT_EOF >> conftest.$ac_ext
7689 /* The mapping between symbol names and symbols. */
7690 const struct {
7691 const char *name;
7692 void *address;
7694 lt__PROGRAM__LTX_preloaded_symbols[] =
7696 { "@PROGRAM@", (void *) 0 },
7697 _LT_EOF
7698 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7699 cat <<\_LT_EOF >> conftest.$ac_ext
7700 {0, (void *) 0}
7703 /* This works around a problem in FreeBSD linker */
7704 #ifdef FREEBSD_WORKAROUND
7705 static const void *lt_preloaded_setup() {
7706 return lt__PROGRAM__LTX_preloaded_symbols;
7708 #endif
7710 #ifdef __cplusplus
7712 #endif
7713 _LT_EOF
7714 # Now try linking the two files.
7715 mv conftest.$ac_objext conftstm.$ac_objext
7716 lt_save_LIBS="$LIBS"
7717 lt_save_CFLAGS="$CFLAGS"
7718 LIBS="conftstm.$ac_objext"
7719 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7721 (eval $ac_link) 2>&5
7722 ac_status=$?
7723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7724 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7725 pipe_works=yes
7727 LIBS="$lt_save_LIBS"
7728 CFLAGS="$lt_save_CFLAGS"
7729 else
7730 echo "cannot find nm_test_func in $nlist" >&5
7732 else
7733 echo "cannot find nm_test_var in $nlist" >&5
7735 else
7736 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7738 else
7739 echo "$progname: failed program was:" >&5
7740 cat conftest.$ac_ext >&5
7742 rm -rf conftest* conftst*
7744 # Do not use the global_symbol_pipe unless it works.
7745 if test "$pipe_works" = yes; then
7746 break
7747 else
7748 lt_cv_sys_global_symbol_pipe=
7750 done
7754 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7755 lt_cv_sys_global_symbol_to_cdecl=
7757 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7759 $as_echo "failed" >&6; }
7760 else
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7762 $as_echo "ok" >&6; }
7786 # Check whether --enable-libtool-lock was given.
7787 if test "${enable_libtool_lock+set}" = set; then :
7788 enableval=$enable_libtool_lock;
7791 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7793 # Some flags need to be propagated to the compiler or linker for good
7794 # libtool support.
7795 case $host in
7796 ia64-*-hpux*)
7797 # Find out which ABI we are using.
7798 echo 'int i;' > conftest.$ac_ext
7799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7800 (eval $ac_compile) 2>&5
7801 ac_status=$?
7802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7803 test $ac_status = 0; }; then
7804 case `/usr/bin/file conftest.$ac_objext` in
7805 *ELF-32*)
7806 HPUX_IA64_MODE="32"
7808 *ELF-64*)
7809 HPUX_IA64_MODE="64"
7811 esac
7813 rm -rf conftest*
7815 *-*-irix6*)
7816 # Find out which ABI we are using.
7817 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7819 (eval $ac_compile) 2>&5
7820 ac_status=$?
7821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822 test $ac_status = 0; }; then
7823 if test "$lt_cv_prog_gnu_ld" = yes; then
7824 case `/usr/bin/file conftest.$ac_objext` in
7825 *32-bit*)
7826 LD="${LD-ld} -melf32bsmip"
7828 *N32*)
7829 LD="${LD-ld} -melf32bmipn32"
7831 *64-bit*)
7832 LD="${LD-ld} -melf64bmip"
7834 esac
7835 else
7836 case `/usr/bin/file conftest.$ac_objext` in
7837 *32-bit*)
7838 LD="${LD-ld} -32"
7840 *N32*)
7841 LD="${LD-ld} -n32"
7843 *64-bit*)
7844 LD="${LD-ld} -64"
7846 esac
7849 rm -rf conftest*
7852 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7853 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7854 # Find out which ABI we are using.
7855 echo 'int i;' > conftest.$ac_ext
7856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7857 (eval $ac_compile) 2>&5
7858 ac_status=$?
7859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7860 test $ac_status = 0; }; then
7861 case `/usr/bin/file conftest.o` in
7862 *32-bit*)
7863 case $host in
7864 x86_64-*kfreebsd*-gnu)
7865 LD="${LD-ld} -m elf_i386_fbsd"
7867 x86_64-*linux*)
7868 LD="${LD-ld} -m elf_i386"
7870 ppc64-*linux*|powerpc64-*linux*)
7871 LD="${LD-ld} -m elf32ppclinux"
7873 s390x-*linux*)
7874 LD="${LD-ld} -m elf_s390"
7876 sparc64-*linux*)
7877 LD="${LD-ld} -m elf32_sparc"
7879 esac
7881 *64-bit*)
7882 case $host in
7883 x86_64-*kfreebsd*-gnu)
7884 LD="${LD-ld} -m elf_x86_64_fbsd"
7886 x86_64-*linux*)
7887 LD="${LD-ld} -m elf_x86_64"
7889 ppc*-*linux*|powerpc*-*linux*)
7890 LD="${LD-ld} -m elf64ppc"
7892 s390*-*linux*|s390*-*tpf*)
7893 LD="${LD-ld} -m elf64_s390"
7895 sparc*-*linux*)
7896 LD="${LD-ld} -m elf64_sparc"
7898 esac
7900 esac
7902 rm -rf conftest*
7905 *-*-sco3.2v5*)
7906 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7907 SAVE_CFLAGS="$CFLAGS"
7908 CFLAGS="$CFLAGS -belf"
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7910 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7911 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7912 $as_echo_n "(cached) " >&6
7913 else
7914 ac_ext=c
7915 ac_cpp='$CPP $CPPFLAGS'
7916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7920 if test x$gcc_no_link = xyes; then
7921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h. */
7927 main ()
7931 return 0;
7933 _ACEOF
7934 if ac_fn_c_try_link "$LINENO"; then :
7935 lt_cv_cc_needs_belf=yes
7936 else
7937 lt_cv_cc_needs_belf=no
7939 rm -f core conftest.err conftest.$ac_objext \
7940 conftest$ac_exeext conftest.$ac_ext
7941 ac_ext=c
7942 ac_cpp='$CPP $CPPFLAGS'
7943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7949 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7950 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7951 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7952 CFLAGS="$SAVE_CFLAGS"
7955 sparc*-*solaris*)
7956 # Find out which ABI we are using.
7957 echo 'int i;' > conftest.$ac_ext
7958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7959 (eval $ac_compile) 2>&5
7960 ac_status=$?
7961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7962 test $ac_status = 0; }; then
7963 case `/usr/bin/file conftest.o` in
7964 *64-bit*)
7965 case $lt_cv_prog_gnu_ld in
7966 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7968 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7969 LD="${LD-ld} -64"
7972 esac
7974 esac
7976 rm -rf conftest*
7978 esac
7980 need_locks="$enable_libtool_lock"
7983 case $host_os in
7984 rhapsody* | darwin*)
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$DSYMUTIL"; then
7994 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8003 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8014 if test -n "$DSYMUTIL"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8016 $as_echo "$DSYMUTIL" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_DSYMUTIL"; then
8025 ac_ct_DSYMUTIL=$DSYMUTIL
8026 # Extract the first word of "dsymutil", so it can be a program name with args.
8027 set dummy dsymutil; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_DSYMUTIL"; then
8034 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8043 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8054 if test -n "$ac_ct_DSYMUTIL"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8056 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_DSYMUTIL" = x; then
8063 DSYMUTIL=":"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 DSYMUTIL=$ac_ct_DSYMUTIL
8073 else
8074 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8077 if test -n "$ac_tool_prefix"; then
8078 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8079 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081 $as_echo_n "checking for $ac_word... " >&6; }
8082 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8083 $as_echo_n "(cached) " >&6
8084 else
8085 if test -n "$NMEDIT"; then
8086 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8087 else
8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 for as_dir in $PATH
8091 IFS=$as_save_IFS
8092 test -z "$as_dir" && as_dir=.
8093 for ac_exec_ext in '' $ac_executable_extensions; do
8094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8095 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8097 break 2
8099 done
8100 done
8101 IFS=$as_save_IFS
8105 NMEDIT=$ac_cv_prog_NMEDIT
8106 if test -n "$NMEDIT"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8108 $as_echo "$NMEDIT" >&6; }
8109 else
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8116 if test -z "$ac_cv_prog_NMEDIT"; then
8117 ac_ct_NMEDIT=$NMEDIT
8118 # Extract the first word of "nmedit", so it can be a program name with args.
8119 set dummy nmedit; ac_word=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8121 $as_echo_n "checking for $ac_word... " >&6; }
8122 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8123 $as_echo_n "(cached) " >&6
8124 else
8125 if test -n "$ac_ct_NMEDIT"; then
8126 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8127 else
8128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8129 for as_dir in $PATH
8131 IFS=$as_save_IFS
8132 test -z "$as_dir" && as_dir=.
8133 for ac_exec_ext in '' $ac_executable_extensions; do
8134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8135 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8137 break 2
8139 done
8140 done
8141 IFS=$as_save_IFS
8145 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8146 if test -n "$ac_ct_NMEDIT"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8148 $as_echo "$ac_ct_NMEDIT" >&6; }
8149 else
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151 $as_echo "no" >&6; }
8154 if test "x$ac_ct_NMEDIT" = x; then
8155 NMEDIT=":"
8156 else
8157 case $cross_compiling:$ac_tool_warned in
8158 yes:)
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8161 ac_tool_warned=yes ;;
8162 esac
8163 NMEDIT=$ac_ct_NMEDIT
8165 else
8166 NMEDIT="$ac_cv_prog_NMEDIT"
8169 if test -n "$ac_tool_prefix"; then
8170 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8171 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if test "${ac_cv_prog_LIPO+set}" = set; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 if test -n "$LIPO"; then
8178 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8179 else
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 for as_dir in $PATH
8183 IFS=$as_save_IFS
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189 break 2
8191 done
8192 done
8193 IFS=$as_save_IFS
8197 LIPO=$ac_cv_prog_LIPO
8198 if test -n "$LIPO"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8200 $as_echo "$LIPO" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8208 if test -z "$ac_cv_prog_LIPO"; then
8209 ac_ct_LIPO=$LIPO
8210 # Extract the first word of "lipo", so it can be a program name with args.
8211 set dummy lipo; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213 $as_echo_n "checking for $ac_word... " >&6; }
8214 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 if test -n "$ac_ct_LIPO"; then
8218 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8219 else
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 for as_dir in $PATH
8223 IFS=$as_save_IFS
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227 ac_cv_prog_ac_ct_LIPO="lipo"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 break 2
8231 done
8232 done
8233 IFS=$as_save_IFS
8237 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8238 if test -n "$ac_ct_LIPO"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8240 $as_echo "$ac_ct_LIPO" >&6; }
8241 else
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8246 if test "x$ac_ct_LIPO" = x; then
8247 LIPO=":"
8248 else
8249 case $cross_compiling:$ac_tool_warned in
8250 yes:)
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253 ac_tool_warned=yes ;;
8254 esac
8255 LIPO=$ac_ct_LIPO
8257 else
8258 LIPO="$ac_cv_prog_LIPO"
8261 if test -n "$ac_tool_prefix"; then
8262 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8263 set dummy ${ac_tool_prefix}otool; ac_word=$2
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8265 $as_echo_n "checking for $ac_word... " >&6; }
8266 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 if test -n "$OTOOL"; then
8270 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8271 else
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8273 for as_dir in $PATH
8275 IFS=$as_save_IFS
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8281 break 2
8283 done
8284 done
8285 IFS=$as_save_IFS
8289 OTOOL=$ac_cv_prog_OTOOL
8290 if test -n "$OTOOL"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8292 $as_echo "$OTOOL" >&6; }
8293 else
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8300 if test -z "$ac_cv_prog_OTOOL"; then
8301 ac_ct_OTOOL=$OTOOL
8302 # Extract the first word of "otool", so it can be a program name with args.
8303 set dummy otool; ac_word=$2
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8305 $as_echo_n "checking for $ac_word... " >&6; }
8306 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 if test -n "$ac_ct_OTOOL"; then
8310 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8311 else
8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8313 for as_dir in $PATH
8315 IFS=$as_save_IFS
8316 test -z "$as_dir" && as_dir=.
8317 for ac_exec_ext in '' $ac_executable_extensions; do
8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319 ac_cv_prog_ac_ct_OTOOL="otool"
8320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 break 2
8323 done
8324 done
8325 IFS=$as_save_IFS
8329 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8330 if test -n "$ac_ct_OTOOL"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8332 $as_echo "$ac_ct_OTOOL" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8338 if test "x$ac_ct_OTOOL" = x; then
8339 OTOOL=":"
8340 else
8341 case $cross_compiling:$ac_tool_warned in
8342 yes:)
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8345 ac_tool_warned=yes ;;
8346 esac
8347 OTOOL=$ac_ct_OTOOL
8349 else
8350 OTOOL="$ac_cv_prog_OTOOL"
8353 if test -n "$ac_tool_prefix"; then
8354 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8355 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 if test -n "$OTOOL64"; then
8362 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8363 else
8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 for as_dir in $PATH
8367 IFS=$as_save_IFS
8368 test -z "$as_dir" && as_dir=.
8369 for ac_exec_ext in '' $ac_executable_extensions; do
8370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8373 break 2
8375 done
8376 done
8377 IFS=$as_save_IFS
8381 OTOOL64=$ac_cv_prog_OTOOL64
8382 if test -n "$OTOOL64"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8384 $as_echo "$OTOOL64" >&6; }
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8392 if test -z "$ac_cv_prog_OTOOL64"; then
8393 ac_ct_OTOOL64=$OTOOL64
8394 # Extract the first word of "otool64", so it can be a program name with args.
8395 set dummy otool64; ac_word=$2
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8397 $as_echo_n "checking for $ac_word... " >&6; }
8398 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 if test -n "$ac_ct_OTOOL64"; then
8402 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8403 else
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8405 for as_dir in $PATH
8407 IFS=$as_save_IFS
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411 ac_cv_prog_ac_ct_OTOOL64="otool64"
8412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 break 2
8415 done
8416 done
8417 IFS=$as_save_IFS
8421 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8422 if test -n "$ac_ct_OTOOL64"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8424 $as_echo "$ac_ct_OTOOL64" >&6; }
8425 else
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 $as_echo "no" >&6; }
8430 if test "x$ac_ct_OTOOL64" = x; then
8431 OTOOL64=":"
8432 else
8433 case $cross_compiling:$ac_tool_warned in
8434 yes:)
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8437 ac_tool_warned=yes ;;
8438 esac
8439 OTOOL64=$ac_ct_OTOOL64
8441 else
8442 OTOOL64="$ac_cv_prog_OTOOL64"
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8472 $as_echo_n "checking for -single_module linker flag... " >&6; }
8473 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 lt_cv_apple_cc_single_mod=no
8477 if test -z "${LT_MULTI_MODULE}"; then
8478 # By default we will add the -single_module flag. You can override
8479 # by either setting the environment variable LT_MULTI_MODULE
8480 # non-empty at configure time, or by adding -multi_module to the
8481 # link flags.
8482 rm -rf libconftest.dylib*
8483 echo "int foo(void){return 1;}" > conftest.c
8484 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8485 -dynamiclib -Wl,-single_module conftest.c" >&5
8486 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8487 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8488 _lt_result=$?
8489 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8490 lt_cv_apple_cc_single_mod=yes
8491 else
8492 cat conftest.err >&5
8494 rm -rf libconftest.dylib*
8495 rm -f conftest.*
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8499 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8501 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8502 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 lt_cv_ld_exported_symbols_list=no
8506 save_LDFLAGS=$LDFLAGS
8507 echo "_main" > conftest.sym
8508 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8509 if test x$gcc_no_link = xyes; then
8510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8520 return 0;
8522 _ACEOF
8523 if ac_fn_c_try_link "$LINENO"; then :
8524 lt_cv_ld_exported_symbols_list=yes
8525 else
8526 lt_cv_ld_exported_symbols_list=no
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 LDFLAGS="$save_LDFLAGS"
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8534 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8536 $as_echo_n "checking for -force_load linker flag... " >&6; }
8537 if test "${lt_cv_ld_force_load+set}" = set; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 lt_cv_ld_force_load=no
8541 cat > conftest.c << _LT_EOF
8542 int forced_loaded() { return 2;}
8543 _LT_EOF
8544 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8545 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8546 echo "$AR cru libconftest.a conftest.o" >&5
8547 $AR cru libconftest.a conftest.o 2>&5
8548 cat > conftest.c << _LT_EOF
8549 int main() { return 0;}
8550 _LT_EOF
8551 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8552 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8553 _lt_result=$?
8554 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8555 lt_cv_ld_force_load=yes
8556 else
8557 cat conftest.err >&5
8559 rm -f conftest.err libconftest.a conftest conftest.c
8560 rm -rf conftest.dSYM
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8564 $as_echo "$lt_cv_ld_force_load" >&6; }
8565 case $host_os in
8566 rhapsody* | darwin1.[012])
8567 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8568 darwin1.*)
8569 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8570 darwin*) # darwin 5.x on
8571 # if running on 10.5 or later, the deployment target defaults
8572 # to the OS version, if on x86, and 10.4, the deployment
8573 # target defaults to 10.4. Don't you love it?
8574 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8575 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8576 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8577 10.[012]*)
8578 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8579 10.*)
8580 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8581 esac
8583 esac
8584 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8585 _lt_dar_single_mod='$single_module'
8587 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8588 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8589 else
8590 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8592 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8593 _lt_dsymutil='~$DSYMUTIL $lib || :'
8594 else
8595 _lt_dsymutil=
8598 esac
8600 for ac_header in dlfcn.h
8601 do :
8602 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8604 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8605 cat >>confdefs.h <<_ACEOF
8606 #define HAVE_DLFCN_H 1
8607 _ACEOF
8611 done
8617 # Set options
8622 enable_win32_dll=no
8625 # Check whether --enable-shared was given.
8626 if test "${enable_shared+set}" = set; then :
8627 enableval=$enable_shared; p=${PACKAGE-default}
8628 case $enableval in
8629 yes) enable_shared=yes ;;
8630 no) enable_shared=no ;;
8632 enable_shared=no
8633 # Look at the argument we got. We use all the common list separators.
8634 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8635 for pkg in $enableval; do
8636 IFS="$lt_save_ifs"
8637 if test "X$pkg" = "X$p"; then
8638 enable_shared=yes
8640 done
8641 IFS="$lt_save_ifs"
8643 esac
8644 else
8645 enable_shared=yes
8656 # Check whether --enable-static was given.
8657 if test "${enable_static+set}" = set; then :
8658 enableval=$enable_static; p=${PACKAGE-default}
8659 case $enableval in
8660 yes) enable_static=yes ;;
8661 no) enable_static=no ;;
8663 enable_static=no
8664 # Look at the argument we got. We use all the common list separators.
8665 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8666 for pkg in $enableval; do
8667 IFS="$lt_save_ifs"
8668 if test "X$pkg" = "X$p"; then
8669 enable_static=yes
8671 done
8672 IFS="$lt_save_ifs"
8674 esac
8675 else
8676 enable_static=yes
8688 # Check whether --with-pic was given.
8689 if test "${with_pic+set}" = set; then :
8690 withval=$with_pic; pic_mode="$withval"
8691 else
8692 pic_mode=default
8696 test -z "$pic_mode" && pic_mode=default
8704 # Check whether --enable-fast-install was given.
8705 if test "${enable_fast_install+set}" = set; then :
8706 enableval=$enable_fast_install; p=${PACKAGE-default}
8707 case $enableval in
8708 yes) enable_fast_install=yes ;;
8709 no) enable_fast_install=no ;;
8711 enable_fast_install=no
8712 # Look at the argument we got. We use all the common list separators.
8713 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8714 for pkg in $enableval; do
8715 IFS="$lt_save_ifs"
8716 if test "X$pkg" = "X$p"; then
8717 enable_fast_install=yes
8719 done
8720 IFS="$lt_save_ifs"
8722 esac
8723 else
8724 enable_fast_install=yes
8737 # This can be used to rebuild libtool when needed
8738 LIBTOOL_DEPS="$ltmain"
8740 # Always use our own libtool.
8741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8768 test -z "$LN_S" && LN_S="ln -s"
8783 if test -n "${ZSH_VERSION+set}" ; then
8784 setopt NO_GLOB_SUBST
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8788 $as_echo_n "checking for objdir... " >&6; }
8789 if test "${lt_cv_objdir+set}" = set; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 rm -f .libs 2>/dev/null
8793 mkdir .libs 2>/dev/null
8794 if test -d .libs; then
8795 lt_cv_objdir=.libs
8796 else
8797 # MS-DOS does not allow filenames that begin with a dot.
8798 lt_cv_objdir=_libs
8800 rmdir .libs 2>/dev/null
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8803 $as_echo "$lt_cv_objdir" >&6; }
8804 objdir=$lt_cv_objdir
8810 cat >>confdefs.h <<_ACEOF
8811 #define LT_OBJDIR "$lt_cv_objdir/"
8812 _ACEOF
8817 case $host_os in
8818 aix3*)
8819 # AIX sometimes has problems with the GCC collect2 program. For some
8820 # reason, if we set the COLLECT_NAMES environment variable, the problems
8821 # vanish in a puff of smoke.
8822 if test "X${COLLECT_NAMES+set}" != Xset; then
8823 COLLECT_NAMES=
8824 export COLLECT_NAMES
8827 esac
8829 # Global variables:
8830 ofile=libtool
8831 can_build_shared=yes
8833 # All known linkers require a `.a' archive for static linking (except MSVC,
8834 # which needs '.lib').
8835 libext=a
8837 with_gnu_ld="$lt_cv_prog_gnu_ld"
8839 old_CC="$CC"
8840 old_CFLAGS="$CFLAGS"
8842 # Set sane defaults for various variables
8843 test -z "$CC" && CC=cc
8844 test -z "$LTCC" && LTCC=$CC
8845 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8846 test -z "$LD" && LD=ld
8847 test -z "$ac_objext" && ac_objext=o
8849 for cc_temp in $compiler""; do
8850 case $cc_temp in
8851 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8852 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8853 \-*) ;;
8854 *) break;;
8855 esac
8856 done
8857 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8860 # Only perform the check for file, if the check method requires it
8861 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8862 case $deplibs_check_method in
8863 file_magic*)
8864 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8866 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8867 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 case $MAGIC_CMD in
8871 [\\/*] | ?:[\\/]*)
8872 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8875 lt_save_MAGIC_CMD="$MAGIC_CMD"
8876 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8877 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8878 for ac_dir in $ac_dummy; do
8879 IFS="$lt_save_ifs"
8880 test -z "$ac_dir" && ac_dir=.
8881 if test -f $ac_dir/${ac_tool_prefix}file; then
8882 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8883 if test -n "$file_magic_test_file"; then
8884 case $deplibs_check_method in
8885 "file_magic "*)
8886 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8887 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8888 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8889 $EGREP "$file_magic_regex" > /dev/null; then
8891 else
8892 cat <<_LT_EOF 1>&2
8894 *** Warning: the command libtool uses to detect shared libraries,
8895 *** $file_magic_cmd, produces output that libtool cannot recognize.
8896 *** The result is that libtool may fail to recognize shared libraries
8897 *** as such. This will affect the creation of libtool libraries that
8898 *** depend on shared libraries, but programs linked with such libtool
8899 *** libraries will work regardless of this problem. Nevertheless, you
8900 *** may want to report the problem to your system manager and/or to
8901 *** bug-libtool@gnu.org
8903 _LT_EOF
8904 fi ;;
8905 esac
8907 break
8909 done
8910 IFS="$lt_save_ifs"
8911 MAGIC_CMD="$lt_save_MAGIC_CMD"
8913 esac
8916 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8917 if test -n "$MAGIC_CMD"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8919 $as_echo "$MAGIC_CMD" >&6; }
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8929 if test -z "$lt_cv_path_MAGIC_CMD"; then
8930 if test -n "$ac_tool_prefix"; then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8932 $as_echo_n "checking for file... " >&6; }
8933 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8934 $as_echo_n "(cached) " >&6
8935 else
8936 case $MAGIC_CMD in
8937 [\\/*] | ?:[\\/]*)
8938 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8941 lt_save_MAGIC_CMD="$MAGIC_CMD"
8942 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8943 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8944 for ac_dir in $ac_dummy; do
8945 IFS="$lt_save_ifs"
8946 test -z "$ac_dir" && ac_dir=.
8947 if test -f $ac_dir/file; then
8948 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8949 if test -n "$file_magic_test_file"; then
8950 case $deplibs_check_method in
8951 "file_magic "*)
8952 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8954 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8955 $EGREP "$file_magic_regex" > /dev/null; then
8957 else
8958 cat <<_LT_EOF 1>&2
8960 *** Warning: the command libtool uses to detect shared libraries,
8961 *** $file_magic_cmd, produces output that libtool cannot recognize.
8962 *** The result is that libtool may fail to recognize shared libraries
8963 *** as such. This will affect the creation of libtool libraries that
8964 *** depend on shared libraries, but programs linked with such libtool
8965 *** libraries will work regardless of this problem. Nevertheless, you
8966 *** may want to report the problem to your system manager and/or to
8967 *** bug-libtool@gnu.org
8969 _LT_EOF
8970 fi ;;
8971 esac
8973 break
8975 done
8976 IFS="$lt_save_ifs"
8977 MAGIC_CMD="$lt_save_MAGIC_CMD"
8979 esac
8982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8983 if test -n "$MAGIC_CMD"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8985 $as_echo "$MAGIC_CMD" >&6; }
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8992 else
8993 MAGIC_CMD=:
8999 esac
9001 # Use C for the default configuration in the libtool script
9003 lt_save_CC="$CC"
9004 ac_ext=c
9005 ac_cpp='$CPP $CPPFLAGS'
9006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9011 # Source file extension for C test sources.
9012 ac_ext=c
9014 # Object file extension for compiled C test sources.
9015 objext=o
9016 objext=$objext
9018 # Code to be used in simple compile tests
9019 lt_simple_compile_test_code="int some_variable = 0;"
9021 # Code to be used in simple link tests
9022 lt_simple_link_test_code='int main(){return(0);}'
9030 # If no C compiler was specified, use CC.
9031 LTCC=${LTCC-"$CC"}
9033 # If no C compiler flags were specified, use CFLAGS.
9034 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9036 # Allow CC to be a program name with arguments.
9037 compiler=$CC
9039 # Save the default compiler, since it gets overwritten when the other
9040 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9041 compiler_DEFAULT=$CC
9043 # save warnings/boilerplate of simple test code
9044 ac_outfile=conftest.$ac_objext
9045 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9046 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9047 _lt_compiler_boilerplate=`cat conftest.err`
9048 $RM conftest*
9050 ac_outfile=conftest.$ac_objext
9051 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9052 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9053 _lt_linker_boilerplate=`cat conftest.err`
9054 $RM -r conftest*
9057 ## CAVEAT EMPTOR:
9058 ## There is no encapsulation within the following macros, do not change
9059 ## the running order or otherwise move them around unless you know exactly
9060 ## what you are doing...
9061 if test -n "$compiler"; then
9063 lt_prog_compiler_no_builtin_flag=
9065 if test "$GCC" = yes; then
9066 case $cc_basename in
9067 nvcc*)
9068 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9070 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9071 esac
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9074 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9075 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9076 $as_echo_n "(cached) " >&6
9077 else
9078 lt_cv_prog_compiler_rtti_exceptions=no
9079 ac_outfile=conftest.$ac_objext
9080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9081 lt_compiler_flag="-fno-rtti -fno-exceptions"
9082 # Insert the option either (1) after the last *FLAGS variable, or
9083 # (2) before a word containing "conftest.", or (3) at the end.
9084 # Note that $ac_compile itself does not contain backslashes and begins
9085 # with a dollar sign (not a hyphen), so the echo should work correctly.
9086 # The option is referenced via a variable to avoid confusing sed.
9087 lt_compile=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>conftest.err)
9093 ac_status=$?
9094 cat conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s "$ac_outfile"; then
9097 # The compiler can only warn and ignore the option if not recognized
9098 # So say no if there are warnings other than the usual output.
9099 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9100 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9101 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9102 lt_cv_prog_compiler_rtti_exceptions=yes
9105 $RM conftest*
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9109 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9111 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9112 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9113 else
9124 lt_prog_compiler_wl=
9125 lt_prog_compiler_pic=
9126 lt_prog_compiler_static=
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9129 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9131 if test "$GCC" = yes; then
9132 lt_prog_compiler_wl='-Wl,'
9133 lt_prog_compiler_static='-static'
9135 case $host_os in
9136 aix*)
9137 # All AIX code is PIC.
9138 if test "$host_cpu" = ia64; then
9139 # AIX 5 now supports IA64 processor
9140 lt_prog_compiler_static='-Bstatic'
9144 amigaos*)
9145 case $host_cpu in
9146 powerpc)
9147 # see comment about AmigaOS4 .so support
9148 lt_prog_compiler_pic='-fPIC'
9150 m68k)
9151 # FIXME: we need at least 68020 code to build shared libraries, but
9152 # adding the `-m68020' flag to GCC prevents building anything better,
9153 # like `-m68040'.
9154 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9156 esac
9159 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9160 # PIC is the default for these OSes.
9163 mingw* | cygwin* | pw32* | os2* | cegcc*)
9164 # This hack is so that the source file can tell whether it is being
9165 # built for inclusion in a dll (and should export symbols for example).
9166 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9167 # (--disable-auto-import) libraries
9168 lt_prog_compiler_pic='-DDLL_EXPORT'
9171 darwin* | rhapsody*)
9172 # PIC is the default on this platform
9173 # Common symbols not allowed in MH_DYLIB files
9174 lt_prog_compiler_pic='-fno-common'
9177 haiku*)
9178 # PIC is the default for Haiku.
9179 # The "-static" flag exists, but is broken.
9180 lt_prog_compiler_static=
9183 hpux*)
9184 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9185 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9186 # sets the default TLS model and affects inlining.
9187 case $host_cpu in
9188 hppa*64*)
9189 # +Z the default
9192 lt_prog_compiler_pic='-fPIC'
9194 esac
9197 interix[3-9]*)
9198 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9199 # Instead, we relocate shared libraries at runtime.
9202 msdosdjgpp*)
9203 # Just because we use GCC doesn't mean we suddenly get shared libraries
9204 # on systems that don't support them.
9205 lt_prog_compiler_can_build_shared=no
9206 enable_shared=no
9209 *nto* | *qnx*)
9210 # QNX uses GNU C++, but need to define -shared option too, otherwise
9211 # it will coredump.
9212 lt_prog_compiler_pic='-fPIC -shared'
9215 sysv4*MP*)
9216 if test -d /usr/nec; then
9217 lt_prog_compiler_pic=-Kconform_pic
9222 lt_prog_compiler_pic='-fPIC'
9224 esac
9226 case $cc_basename in
9227 nvcc*) # Cuda Compiler Driver 2.2
9228 lt_prog_compiler_wl='-Xlinker '
9229 lt_prog_compiler_pic='-Xcompiler -fPIC'
9231 esac
9232 else
9233 # PORTME Check for flag to pass linker flags through the system compiler.
9234 case $host_os in
9235 aix*)
9236 lt_prog_compiler_wl='-Wl,'
9237 if test "$host_cpu" = ia64; then
9238 # AIX 5 now supports IA64 processor
9239 lt_prog_compiler_static='-Bstatic'
9240 else
9241 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9245 mingw* | cygwin* | pw32* | os2* | cegcc*)
9246 # This hack is so that the source file can tell whether it is being
9247 # built for inclusion in a dll (and should export symbols for example).
9248 lt_prog_compiler_pic='-DDLL_EXPORT'
9251 hpux9* | hpux10* | hpux11*)
9252 lt_prog_compiler_wl='-Wl,'
9253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9254 # not for PA HP-UX.
9255 case $host_cpu in
9256 hppa*64*|ia64*)
9257 # +Z the default
9260 lt_prog_compiler_pic='+Z'
9262 esac
9263 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9264 lt_prog_compiler_static='${wl}-a ${wl}archive'
9267 irix5* | irix6* | nonstopux*)
9268 lt_prog_compiler_wl='-Wl,'
9269 # PIC (with -KPIC) is the default.
9270 lt_prog_compiler_static='-non_shared'
9273 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9274 case $cc_basename in
9275 # old Intel for x86_64 which still supported -KPIC.
9276 ecc*)
9277 lt_prog_compiler_wl='-Wl,'
9278 lt_prog_compiler_pic='-KPIC'
9279 lt_prog_compiler_static='-static'
9281 # icc used to be incompatible with GCC.
9282 # ICC 10 doesn't accept -KPIC any more.
9283 icc* | ifort*)
9284 lt_prog_compiler_wl='-Wl,'
9285 lt_prog_compiler_pic='-fPIC'
9286 lt_prog_compiler_static='-static'
9288 # Lahey Fortran 8.1.
9289 lf95*)
9290 lt_prog_compiler_wl='-Wl,'
9291 lt_prog_compiler_pic='--shared'
9292 lt_prog_compiler_static='--static'
9294 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9295 # Portland Group compilers (*not* the Pentium gcc compiler,
9296 # which looks to be a dead project)
9297 lt_prog_compiler_wl='-Wl,'
9298 lt_prog_compiler_pic='-fpic'
9299 lt_prog_compiler_static='-Bstatic'
9301 ccc*)
9302 lt_prog_compiler_wl='-Wl,'
9303 # All Alpha code is PIC.
9304 lt_prog_compiler_static='-non_shared'
9306 xl* | bgxl* | bgf* | mpixl*)
9307 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9308 lt_prog_compiler_wl='-Wl,'
9309 lt_prog_compiler_pic='-qpic'
9310 lt_prog_compiler_static='-qstaticlink'
9313 case `$CC -V 2>&1 | sed 5q` in
9314 *Sun\ F* | *Sun*Fortran*)
9315 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9316 lt_prog_compiler_pic='-KPIC'
9317 lt_prog_compiler_static='-Bstatic'
9318 lt_prog_compiler_wl=''
9320 *Sun\ C*)
9321 # Sun C 5.9
9322 lt_prog_compiler_pic='-KPIC'
9323 lt_prog_compiler_static='-Bstatic'
9324 lt_prog_compiler_wl='-Wl,'
9326 esac
9328 esac
9331 newsos6)
9332 lt_prog_compiler_pic='-KPIC'
9333 lt_prog_compiler_static='-Bstatic'
9336 *nto* | *qnx*)
9337 # QNX uses GNU C++, but need to define -shared option too, otherwise
9338 # it will coredump.
9339 lt_prog_compiler_pic='-fPIC -shared'
9342 osf3* | osf4* | osf5*)
9343 lt_prog_compiler_wl='-Wl,'
9344 # All OSF/1 code is PIC.
9345 lt_prog_compiler_static='-non_shared'
9348 rdos*)
9349 lt_prog_compiler_static='-non_shared'
9352 solaris*)
9353 lt_prog_compiler_pic='-KPIC'
9354 lt_prog_compiler_static='-Bstatic'
9355 case $cc_basename in
9356 f77* | f90* | f95*)
9357 lt_prog_compiler_wl='-Qoption ld ';;
9359 lt_prog_compiler_wl='-Wl,';;
9360 esac
9363 sunos4*)
9364 lt_prog_compiler_wl='-Qoption ld '
9365 lt_prog_compiler_pic='-PIC'
9366 lt_prog_compiler_static='-Bstatic'
9369 sysv4 | sysv4.2uw2* | sysv4.3*)
9370 lt_prog_compiler_wl='-Wl,'
9371 lt_prog_compiler_pic='-KPIC'
9372 lt_prog_compiler_static='-Bstatic'
9375 sysv4*MP*)
9376 if test -d /usr/nec ;then
9377 lt_prog_compiler_pic='-Kconform_pic'
9378 lt_prog_compiler_static='-Bstatic'
9382 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9383 lt_prog_compiler_wl='-Wl,'
9384 lt_prog_compiler_pic='-KPIC'
9385 lt_prog_compiler_static='-Bstatic'
9388 unicos*)
9389 lt_prog_compiler_wl='-Wl,'
9390 lt_prog_compiler_can_build_shared=no
9393 uts4*)
9394 lt_prog_compiler_pic='-pic'
9395 lt_prog_compiler_static='-Bstatic'
9399 lt_prog_compiler_can_build_shared=no
9401 esac
9404 case $host_os in
9405 # For platforms which do not support PIC, -DPIC is meaningless:
9406 *djgpp*)
9407 lt_prog_compiler_pic=
9410 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9412 esac
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9414 $as_echo "$lt_prog_compiler_pic" >&6; }
9422 # Check to make sure the PIC flag actually works.
9424 if test -n "$lt_prog_compiler_pic"; then
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9426 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9427 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9428 $as_echo_n "(cached) " >&6
9429 else
9430 lt_cv_prog_compiler_pic_works=no
9431 ac_outfile=conftest.$ac_objext
9432 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9433 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9434 # Insert the option either (1) after the last *FLAGS variable, or
9435 # (2) before a word containing "conftest.", or (3) at the end.
9436 # Note that $ac_compile itself does not contain backslashes and begins
9437 # with a dollar sign (not a hyphen), so the echo should work correctly.
9438 # The option is referenced via a variable to avoid confusing sed.
9439 lt_compile=`echo "$ac_compile" | $SED \
9440 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9441 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9442 -e 's:$: $lt_compiler_flag:'`
9443 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9444 (eval "$lt_compile" 2>conftest.err)
9445 ac_status=$?
9446 cat conftest.err >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 if (exit $ac_status) && test -s "$ac_outfile"; then
9449 # The compiler can only warn and ignore the option if not recognized
9450 # So say no if there are warnings other than the usual output.
9451 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9452 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9453 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9454 lt_cv_prog_compiler_pic_works=yes
9457 $RM conftest*
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9461 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9463 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9464 case $lt_prog_compiler_pic in
9465 "" | " "*) ;;
9466 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9467 esac
9468 else
9469 lt_prog_compiler_pic=
9470 lt_prog_compiler_can_build_shared=no
9481 # Check to make sure the static flag actually works.
9483 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9485 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9486 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 lt_cv_prog_compiler_static_works=no
9490 save_LDFLAGS="$LDFLAGS"
9491 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9492 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9493 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9494 # The linker can only warn and ignore the option if not recognized
9495 # So say no if there are warnings
9496 if test -s conftest.err; then
9497 # Append any errors to the config.log.
9498 cat conftest.err 1>&5
9499 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9501 if diff conftest.exp conftest.er2 >/dev/null; then
9502 lt_cv_prog_compiler_static_works=yes
9504 else
9505 lt_cv_prog_compiler_static_works=yes
9508 $RM -r conftest*
9509 LDFLAGS="$save_LDFLAGS"
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9513 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9515 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9517 else
9518 lt_prog_compiler_static=
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9528 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9529 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 lt_cv_prog_compiler_c_o=no
9533 $RM -r conftest 2>/dev/null
9534 mkdir conftest
9535 cd conftest
9536 mkdir out
9537 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9539 lt_compiler_flag="-o out/conftest2.$ac_objext"
9540 # Insert the option either (1) after the last *FLAGS variable, or
9541 # (2) before a word containing "conftest.", or (3) at the end.
9542 # Note that $ac_compile itself does not contain backslashes and begins
9543 # with a dollar sign (not a hyphen), so the echo should work correctly.
9544 lt_compile=`echo "$ac_compile" | $SED \
9545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9547 -e 's:$: $lt_compiler_flag:'`
9548 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9549 (eval "$lt_compile" 2>out/conftest.err)
9550 ac_status=$?
9551 cat out/conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9554 then
9555 # The compiler can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9558 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9559 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9560 lt_cv_prog_compiler_c_o=yes
9563 chmod u+w . 2>&5
9564 $RM conftest*
9565 # SGI C++ compiler will create directory out/ii_files/ for
9566 # template instantiation
9567 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9568 $RM out/* && rmdir out
9569 cd ..
9570 $RM -r conftest
9571 $RM conftest*
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9575 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9583 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9584 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 lt_cv_prog_compiler_c_o=no
9588 $RM -r conftest 2>/dev/null
9589 mkdir conftest
9590 cd conftest
9591 mkdir out
9592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9594 lt_compiler_flag="-o out/conftest2.$ac_objext"
9595 # Insert the option either (1) after the last *FLAGS variable, or
9596 # (2) before a word containing "conftest.", or (3) at the end.
9597 # Note that $ac_compile itself does not contain backslashes and begins
9598 # with a dollar sign (not a hyphen), so the echo should work correctly.
9599 lt_compile=`echo "$ac_compile" | $SED \
9600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9602 -e 's:$: $lt_compiler_flag:'`
9603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9604 (eval "$lt_compile" 2>out/conftest.err)
9605 ac_status=$?
9606 cat out/conftest.err >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9609 then
9610 # The compiler can only warn and ignore the option if not recognized
9611 # So say no if there are warnings
9612 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9615 lt_cv_prog_compiler_c_o=yes
9618 chmod u+w . 2>&5
9619 $RM conftest*
9620 # SGI C++ compiler will create directory out/ii_files/ for
9621 # template instantiation
9622 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9623 $RM out/* && rmdir out
9624 cd ..
9625 $RM -r conftest
9626 $RM conftest*
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9630 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9635 hard_links="nottested"
9636 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9637 # do not overwrite the value of need_locks provided by the user
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9639 $as_echo_n "checking if we can lock with hard links... " >&6; }
9640 hard_links=yes
9641 $RM conftest*
9642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9643 touch conftest.a
9644 ln conftest.a conftest.b 2>&5 || hard_links=no
9645 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9647 $as_echo "$hard_links" >&6; }
9648 if test "$hard_links" = no; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9650 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9651 need_locks=warn
9653 else
9654 need_locks=no
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9663 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9665 runpath_var=
9666 allow_undefined_flag=
9667 always_export_symbols=no
9668 archive_cmds=
9669 archive_expsym_cmds=
9670 compiler_needs_object=no
9671 enable_shared_with_static_runtimes=no
9672 export_dynamic_flag_spec=
9673 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9674 hardcode_automatic=no
9675 hardcode_direct=no
9676 hardcode_direct_absolute=no
9677 hardcode_libdir_flag_spec=
9678 hardcode_libdir_flag_spec_ld=
9679 hardcode_libdir_separator=
9680 hardcode_minus_L=no
9681 hardcode_shlibpath_var=unsupported
9682 inherit_rpath=no
9683 link_all_deplibs=unknown
9684 module_cmds=
9685 module_expsym_cmds=
9686 old_archive_from_new_cmds=
9687 old_archive_from_expsyms_cmds=
9688 thread_safe_flag_spec=
9689 whole_archive_flag_spec=
9690 # include_expsyms should be a list of space-separated symbols to be *always*
9691 # included in the symbol list
9692 include_expsyms=
9693 # exclude_expsyms can be an extended regexp of symbols to exclude
9694 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9695 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9696 # as well as any symbol that contains `d'.
9697 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9698 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9699 # platforms (ab)use it in PIC code, but their linkers get confused if
9700 # the symbol is explicitly referenced. Since portable code cannot
9701 # rely on this symbol name, it's probably fine to never include it in
9702 # preloaded symbol tables.
9703 # Exclude shared library initialization/finalization symbols.
9704 extract_expsyms_cmds=
9706 case $host_os in
9707 cygwin* | mingw* | pw32* | cegcc*)
9708 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9709 # When not using gcc, we currently assume that we are using
9710 # Microsoft Visual C++.
9711 if test "$GCC" != yes; then
9712 with_gnu_ld=no
9715 interix*)
9716 # we just hope/assume this is gcc and not c89 (= MSVC++)
9717 with_gnu_ld=yes
9719 openbsd*)
9720 with_gnu_ld=no
9722 esac
9724 ld_shlibs=yes
9726 # On some targets, GNU ld is compatible enough with the native linker
9727 # that we're better off using the native interface for both.
9728 lt_use_gnu_ld_interface=no
9729 if test "$with_gnu_ld" = yes; then
9730 case $host_os in
9731 aix*)
9732 # The AIX port of GNU ld has always aspired to compatibility
9733 # with the native linker. However, as the warning in the GNU ld
9734 # block says, versions before 2.19.5* couldn't really create working
9735 # shared libraries, regardless of the interface used.
9736 case `$LD -v 2>&1` in
9737 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9738 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9739 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9741 lt_use_gnu_ld_interface=yes
9743 esac
9746 lt_use_gnu_ld_interface=yes
9748 esac
9751 if test "$lt_use_gnu_ld_interface" = yes; then
9752 # If archive_cmds runs LD, not CC, wlarc should be empty
9753 wlarc='${wl}'
9755 # Set some defaults for GNU ld with shared library support. These
9756 # are reset later if shared libraries are not supported. Putting them
9757 # here allows them to be overridden if necessary.
9758 runpath_var=LD_RUN_PATH
9759 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9760 export_dynamic_flag_spec='${wl}--export-dynamic'
9761 # ancient GNU ld didn't support --whole-archive et. al.
9762 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9763 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9764 else
9765 whole_archive_flag_spec=
9767 supports_anon_versioning=no
9768 case `$LD -v 2>&1` in
9769 *GNU\ gold*) supports_anon_versioning=yes ;;
9770 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9771 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9772 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9773 *\ 2.11.*) ;; # other 2.11 versions
9774 *) supports_anon_versioning=yes ;;
9775 esac
9777 # See if GNU ld supports shared libraries.
9778 case $host_os in
9779 aix[3-9]*)
9780 # On AIX/PPC, the GNU linker is very broken
9781 if test "$host_cpu" != ia64; then
9782 ld_shlibs=no
9783 cat <<_LT_EOF 1>&2
9785 *** Warning: the GNU linker, at least up to release 2.19, is reported
9786 *** to be unable to reliably create shared libraries on AIX.
9787 *** Therefore, libtool is disabling shared libraries support. If you
9788 *** really care for shared libraries, you may want to install binutils
9789 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9790 *** You will then need to restart the configuration process.
9792 _LT_EOF
9796 amigaos*)
9797 case $host_cpu in
9798 powerpc)
9799 # see comment about AmigaOS4 .so support
9800 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9801 archive_expsym_cmds=''
9803 m68k)
9804 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)'
9805 hardcode_libdir_flag_spec='-L$libdir'
9806 hardcode_minus_L=yes
9808 esac
9811 beos*)
9812 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9813 allow_undefined_flag=unsupported
9814 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9815 # support --undefined. This deserves some investigation. FIXME
9816 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9817 else
9818 ld_shlibs=no
9822 cygwin* | mingw* | pw32* | cegcc*)
9823 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9824 # as there is no search path for DLLs.
9825 hardcode_libdir_flag_spec='-L$libdir'
9826 export_dynamic_flag_spec='${wl}--export-all-symbols'
9827 allow_undefined_flag=unsupported
9828 always_export_symbols=no
9829 enable_shared_with_static_runtimes=yes
9830 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9832 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9833 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9834 # If the export-symbols file already is a .def file (1st line
9835 # is EXPORTS), use it as is; otherwise, prepend...
9836 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9837 cp $export_symbols $output_objdir/$soname.def;
9838 else
9839 echo EXPORTS > $output_objdir/$soname.def;
9840 cat $export_symbols >> $output_objdir/$soname.def;
9842 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9843 else
9844 ld_shlibs=no
9848 haiku*)
9849 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9850 link_all_deplibs=yes
9853 interix[3-9]*)
9854 hardcode_direct=no
9855 hardcode_shlibpath_var=no
9856 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9857 export_dynamic_flag_spec='${wl}-E'
9858 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9859 # Instead, shared libraries are loaded at an image base (0x10000000 by
9860 # default) and relocated if they conflict, which is a slow very memory
9861 # consuming and fragmenting process. To avoid this, we pick a random,
9862 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9863 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9864 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9865 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'
9868 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9869 tmp_diet=no
9870 if test "$host_os" = linux-dietlibc; then
9871 case $cc_basename in
9872 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9873 esac
9875 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9876 && test "$tmp_diet" = no
9877 then
9878 tmp_addflag=
9879 tmp_sharedflag='-shared'
9880 case $cc_basename,$host_cpu in
9881 pgcc*) # Portland Group C compiler
9882 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'
9883 tmp_addflag=' $pic_flag'
9885 pgf77* | pgf90* | pgf95* | pgfortran*)
9886 # Portland Group f77 and f90 compilers
9887 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'
9888 tmp_addflag=' $pic_flag -Mnomain' ;;
9889 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9890 tmp_addflag=' -i_dynamic' ;;
9891 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9892 tmp_addflag=' -i_dynamic -nofor_main' ;;
9893 ifc* | ifort*) # Intel Fortran compiler
9894 tmp_addflag=' -nofor_main' ;;
9895 lf95*) # Lahey Fortran 8.1
9896 whole_archive_flag_spec=
9897 tmp_sharedflag='--shared' ;;
9898 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9899 tmp_sharedflag='-qmkshrobj'
9900 tmp_addflag= ;;
9901 nvcc*) # Cuda Compiler Driver 2.2
9902 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'
9903 compiler_needs_object=yes
9905 esac
9906 case `$CC -V 2>&1 | sed 5q` in
9907 *Sun\ C*) # Sun C 5.9
9908 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'
9909 compiler_needs_object=yes
9910 tmp_sharedflag='-G' ;;
9911 *Sun\ F*) # Sun Fortran 8.3
9912 tmp_sharedflag='-G' ;;
9913 esac
9914 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9916 if test "x$supports_anon_versioning" = xyes; then
9917 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9918 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9919 echo "local: *; };" >> $output_objdir/$libname.ver~
9920 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9923 case $cc_basename in
9924 xlf* | bgf* | bgxlf* | mpixlf*)
9925 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9926 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9927 hardcode_libdir_flag_spec=
9928 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9929 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9930 if test "x$supports_anon_versioning" = xyes; then
9931 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9933 echo "local: *; };" >> $output_objdir/$libname.ver~
9934 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9937 esac
9938 else
9939 ld_shlibs=no
9943 netbsd*)
9944 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9945 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9946 wlarc=
9947 else
9948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9949 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9953 solaris*)
9954 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9955 ld_shlibs=no
9956 cat <<_LT_EOF 1>&2
9958 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9959 *** create shared libraries on Solaris systems. Therefore, libtool
9960 *** is disabling shared libraries support. We urge you to upgrade GNU
9961 *** binutils to release 2.9.1 or newer. Another option is to modify
9962 *** your PATH or compiler configuration so that the native linker is
9963 *** used, and then restart.
9965 _LT_EOF
9966 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9968 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 else
9970 ld_shlibs=no
9974 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9975 case `$LD -v 2>&1` in
9976 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9977 ld_shlibs=no
9978 cat <<_LT_EOF 1>&2
9980 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9981 *** reliably create shared libraries on SCO systems. Therefore, libtool
9982 *** is disabling shared libraries support. We urge you to upgrade GNU
9983 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9984 *** your PATH or compiler configuration so that the native linker is
9985 *** used, and then restart.
9987 _LT_EOF
9990 # For security reasons, it is highly recommended that you always
9991 # use absolute paths for naming shared libraries, and exclude the
9992 # DT_RUNPATH tag from executables and libraries. But doing so
9993 # requires that you compile everything twice, which is a pain.
9994 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9997 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9998 else
9999 ld_shlibs=no
10002 esac
10005 sunos4*)
10006 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10007 wlarc=
10008 hardcode_direct=yes
10009 hardcode_shlibpath_var=no
10013 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10014 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10015 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10016 else
10017 ld_shlibs=no
10020 esac
10022 if test "$ld_shlibs" = no; then
10023 runpath_var=
10024 hardcode_libdir_flag_spec=
10025 export_dynamic_flag_spec=
10026 whole_archive_flag_spec=
10028 else
10029 # PORTME fill in a description of your system's linker (not GNU ld)
10030 case $host_os in
10031 aix3*)
10032 allow_undefined_flag=unsupported
10033 always_export_symbols=yes
10034 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'
10035 # Note: this linker hardcodes the directories in LIBPATH if there
10036 # are no directories specified by -L.
10037 hardcode_minus_L=yes
10038 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10039 # Neither direct hardcoding nor static linking is supported with a
10040 # broken collect2.
10041 hardcode_direct=unsupported
10045 aix[4-9]*)
10046 if test "$host_cpu" = ia64; then
10047 # On IA64, the linker does run time linking by default, so we don't
10048 # have to do anything special.
10049 aix_use_runtimelinking=no
10050 exp_sym_flag='-Bexport'
10051 no_entry_flag=""
10052 else
10053 # If we're using GNU nm, then we don't want the "-C" option.
10054 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10055 # Also, AIX nm treats weak defined symbols like other global
10056 # defined symbols, whereas GNU nm marks them as "W".
10057 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10058 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'
10059 else
10060 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'
10062 aix_use_runtimelinking=no
10064 # Test if we are trying to use run time linking or normal
10065 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10066 # need to do runtime linking.
10067 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10068 for ld_flag in $LDFLAGS; do
10069 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10070 aix_use_runtimelinking=yes
10071 break
10073 done
10075 esac
10077 exp_sym_flag='-bexport'
10078 no_entry_flag='-bnoentry'
10081 # When large executables or shared objects are built, AIX ld can
10082 # have problems creating the table of contents. If linking a library
10083 # or program results in "error TOC overflow" add -mminimal-toc to
10084 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10085 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10087 archive_cmds=''
10088 hardcode_direct=yes
10089 hardcode_direct_absolute=yes
10090 hardcode_libdir_separator=':'
10091 link_all_deplibs=yes
10092 file_list_spec='${wl}-f,'
10094 if test "$GCC" = yes; then
10095 case $host_os in aix4.[012]|aix4.[012].*)
10096 # We only want to do this on AIX 4.2 and lower, the check
10097 # below for broken collect2 doesn't work under 4.3+
10098 collect2name=`${CC} -print-prog-name=collect2`
10099 if test -f "$collect2name" &&
10100 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10101 then
10102 # We have reworked collect2
10104 else
10105 # We have old collect2
10106 hardcode_direct=unsupported
10107 # It fails to find uninstalled libraries when the uninstalled
10108 # path is not listed in the libpath. Setting hardcode_minus_L
10109 # to unsupported forces relinking
10110 hardcode_minus_L=yes
10111 hardcode_libdir_flag_spec='-L$libdir'
10112 hardcode_libdir_separator=
10115 esac
10116 shared_flag='-shared'
10117 if test "$aix_use_runtimelinking" = yes; then
10118 shared_flag="$shared_flag "'${wl}-G'
10120 else
10121 # not using gcc
10122 if test "$host_cpu" = ia64; then
10123 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10124 # chokes on -Wl,-G. The following line is correct:
10125 shared_flag='-G'
10126 else
10127 if test "$aix_use_runtimelinking" = yes; then
10128 shared_flag='${wl}-G'
10129 else
10130 shared_flag='${wl}-bM:SRE'
10135 export_dynamic_flag_spec='${wl}-bexpall'
10136 # It seems that -bexpall does not export symbols beginning with
10137 # underscore (_), so it is better to generate a list of symbols to export.
10138 always_export_symbols=yes
10139 if test "$aix_use_runtimelinking" = yes; then
10140 # Warning - without using the other runtime loading flags (-brtl),
10141 # -berok will link without error, but may produce a broken library.
10142 allow_undefined_flag='-berok'
10143 # Determine the default libpath from the value encoded in an
10144 # empty executable.
10145 if test x$gcc_no_link = xyes; then
10146 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10152 main ()
10156 return 0;
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10161 lt_aix_libpath_sed='
10162 /Import File Strings/,/^$/ {
10163 /^0/ {
10164 s/^0 *\(.*\)$/\1/
10168 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10169 # Check for a 64-bit object if we didn't find anything.
10170 if test -z "$aix_libpath"; then
10171 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10178 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10179 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"
10180 else
10181 if test "$host_cpu" = ia64; then
10182 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10183 allow_undefined_flag="-z nodefs"
10184 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"
10185 else
10186 # Determine the default libpath from the value encoded in an
10187 # empty executable.
10188 if test x$gcc_no_link = xyes; then
10189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10195 main ()
10199 return 0;
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"; then :
10204 lt_aix_libpath_sed='
10205 /Import File Strings/,/^$/ {
10206 /^0/ {
10207 s/^0 *\(.*\)$/\1/
10211 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10212 # Check for a 64-bit object if we didn't find anything.
10213 if test -z "$aix_libpath"; then
10214 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10221 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10222 # Warning - without using the other run time loading flags,
10223 # -berok will link without error, but may produce a broken library.
10224 no_undefined_flag=' ${wl}-bernotok'
10225 allow_undefined_flag=' ${wl}-berok'
10226 if test "$with_gnu_ld" = yes; then
10227 # We only use this code for GNU lds that support --whole-archive.
10228 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10229 else
10230 # Exported symbols can be pulled into shared objects from archives
10231 whole_archive_flag_spec='$convenience'
10233 archive_cmds_need_lc=yes
10234 # This is similar to how AIX traditionally builds its shared libraries.
10235 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'
10240 amigaos*)
10241 case $host_cpu in
10242 powerpc)
10243 # see comment about AmigaOS4 .so support
10244 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10245 archive_expsym_cmds=''
10247 m68k)
10248 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)'
10249 hardcode_libdir_flag_spec='-L$libdir'
10250 hardcode_minus_L=yes
10252 esac
10255 bsdi[45]*)
10256 export_dynamic_flag_spec=-rdynamic
10259 cygwin* | mingw* | pw32* | cegcc*)
10260 # When not using gcc, we currently assume that we are using
10261 # Microsoft Visual C++.
10262 # hardcode_libdir_flag_spec is actually meaningless, as there is
10263 # no search path for DLLs.
10264 hardcode_libdir_flag_spec=' '
10265 allow_undefined_flag=unsupported
10266 # Tell ltmain to make .lib files, not .a files.
10267 libext=lib
10268 # Tell ltmain to make .dll files, not .so files.
10269 shrext_cmds=".dll"
10270 # FIXME: Setting linknames here is a bad hack.
10271 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10272 # The linker will automatically build a .lib file if we build a DLL.
10273 old_archive_from_new_cmds='true'
10274 # FIXME: Should let the user specify the lib program.
10275 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10276 fix_srcfile_path='`cygpath -w "$srcfile"`'
10277 enable_shared_with_static_runtimes=yes
10280 darwin* | rhapsody*)
10283 archive_cmds_need_lc=no
10284 hardcode_direct=no
10285 hardcode_automatic=yes
10286 hardcode_shlibpath_var=unsupported
10287 if test "$lt_cv_ld_force_load" = "yes"; then
10288 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\"`'
10289 else
10290 whole_archive_flag_spec=''
10292 link_all_deplibs=yes
10293 allow_undefined_flag="$_lt_dar_allow_undefined"
10294 case $cc_basename in
10295 ifort*) _lt_dar_can_shared=yes ;;
10296 *) _lt_dar_can_shared=$GCC ;;
10297 esac
10298 if test "$_lt_dar_can_shared" = "yes"; then
10299 output_verbose_link_cmd=func_echo_all
10300 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10301 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10302 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}"
10303 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}"
10305 else
10306 ld_shlibs=no
10311 dgux*)
10312 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10313 hardcode_libdir_flag_spec='-L$libdir'
10314 hardcode_shlibpath_var=no
10317 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10318 # support. Future versions do this automatically, but an explicit c++rt0.o
10319 # does not break anything, and helps significantly (at the cost of a little
10320 # extra space).
10321 freebsd2.2*)
10322 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10323 hardcode_libdir_flag_spec='-R$libdir'
10324 hardcode_direct=yes
10325 hardcode_shlibpath_var=no
10328 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10329 freebsd2*)
10330 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10331 hardcode_direct=yes
10332 hardcode_minus_L=yes
10333 hardcode_shlibpath_var=no
10336 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10337 freebsd* | dragonfly*)
10338 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10339 hardcode_libdir_flag_spec='-R$libdir'
10340 hardcode_direct=yes
10341 hardcode_shlibpath_var=no
10344 hpux9*)
10345 if test "$GCC" = yes; then
10346 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'
10347 else
10348 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'
10350 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10351 hardcode_libdir_separator=:
10352 hardcode_direct=yes
10354 # hardcode_minus_L: Not really in the search PATH,
10355 # but as the default location of the library.
10356 hardcode_minus_L=yes
10357 export_dynamic_flag_spec='${wl}-E'
10360 hpux10*)
10361 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10362 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10363 else
10364 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10366 if test "$with_gnu_ld" = no; then
10367 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10368 hardcode_libdir_flag_spec_ld='+b $libdir'
10369 hardcode_libdir_separator=:
10370 hardcode_direct=yes
10371 hardcode_direct_absolute=yes
10372 export_dynamic_flag_spec='${wl}-E'
10373 # hardcode_minus_L: Not really in the search PATH,
10374 # but as the default location of the library.
10375 hardcode_minus_L=yes
10379 hpux11*)
10380 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10381 case $host_cpu in
10382 hppa*64*)
10383 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10385 ia64*)
10386 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10389 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10391 esac
10392 else
10393 case $host_cpu in
10394 hppa*64*)
10395 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10397 ia64*)
10398 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10402 # Older versions of the 11.00 compiler do not understand -b yet
10403 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10405 $as_echo_n "checking if $CC understands -b... " >&6; }
10406 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 lt_cv_prog_compiler__b=no
10410 save_LDFLAGS="$LDFLAGS"
10411 LDFLAGS="$LDFLAGS -b"
10412 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10413 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10414 # The linker can only warn and ignore the option if not recognized
10415 # So say no if there are warnings
10416 if test -s conftest.err; then
10417 # Append any errors to the config.log.
10418 cat conftest.err 1>&5
10419 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10420 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10421 if diff conftest.exp conftest.er2 >/dev/null; then
10422 lt_cv_prog_compiler__b=yes
10424 else
10425 lt_cv_prog_compiler__b=yes
10428 $RM -r conftest*
10429 LDFLAGS="$save_LDFLAGS"
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10433 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10435 if test x"$lt_cv_prog_compiler__b" = xyes; then
10436 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10437 else
10438 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10442 esac
10444 if test "$with_gnu_ld" = no; then
10445 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10446 hardcode_libdir_separator=:
10448 case $host_cpu in
10449 hppa*64*|ia64*)
10450 hardcode_direct=no
10451 hardcode_shlibpath_var=no
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 export_dynamic_flag_spec='${wl}-E'
10458 # hardcode_minus_L: Not really in the search PATH,
10459 # but as the default location of the library.
10460 hardcode_minus_L=yes
10462 esac
10466 irix5* | irix6* | nonstopux*)
10467 if test "$GCC" = yes; then
10468 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'
10469 # Try to use the -exported_symbol ld option, if it does not
10470 # work, assume that -exports_file does not work either and
10471 # implicitly export all symbols.
10472 save_LDFLAGS="$LDFLAGS"
10473 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10474 if test x$gcc_no_link = xyes; then
10475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479 int foo(void) {}
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 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'
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LDFLAGS="$save_LDFLAGS"
10488 else
10489 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'
10490 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'
10492 archive_cmds_need_lc='no'
10493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10494 hardcode_libdir_separator=:
10495 inherit_rpath=yes
10496 link_all_deplibs=yes
10499 netbsd*)
10500 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10501 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10502 else
10503 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10505 hardcode_libdir_flag_spec='-R$libdir'
10506 hardcode_direct=yes
10507 hardcode_shlibpath_var=no
10510 newsos6)
10511 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10512 hardcode_direct=yes
10513 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10514 hardcode_libdir_separator=:
10515 hardcode_shlibpath_var=no
10518 *nto* | *qnx*)
10521 openbsd*)
10522 if test -f /usr/libexec/ld.so; then
10523 hardcode_direct=yes
10524 hardcode_shlibpath_var=no
10525 hardcode_direct_absolute=yes
10526 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10527 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10529 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10530 export_dynamic_flag_spec='${wl}-E'
10531 else
10532 case $host_os in
10533 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10534 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10535 hardcode_libdir_flag_spec='-R$libdir'
10538 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10539 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10541 esac
10543 else
10544 ld_shlibs=no
10548 os2*)
10549 hardcode_libdir_flag_spec='-L$libdir'
10550 hardcode_minus_L=yes
10551 allow_undefined_flag=unsupported
10552 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'
10553 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10556 osf3*)
10557 if test "$GCC" = yes; then
10558 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10559 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'
10560 else
10561 allow_undefined_flag=' -expect_unresolved \*'
10562 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'
10564 archive_cmds_need_lc='no'
10565 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10566 hardcode_libdir_separator=:
10569 osf4* | osf5*) # as osf3* with the addition of -msym flag
10570 if test "$GCC" = yes; then
10571 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10572 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'
10573 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10574 else
10575 allow_undefined_flag=' -expect_unresolved \*'
10576 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'
10577 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~
10578 $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'
10580 # Both c and cxx compiler support -rpath directly
10581 hardcode_libdir_flag_spec='-rpath $libdir'
10583 archive_cmds_need_lc='no'
10584 hardcode_libdir_separator=:
10587 solaris*)
10588 no_undefined_flag=' -z defs'
10589 if test "$GCC" = yes; then
10590 wlarc='${wl}'
10591 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10593 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10594 else
10595 case `$CC -V 2>&1` in
10596 *"Compilers 5.0"*)
10597 wlarc=''
10598 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10600 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10603 wlarc='${wl}'
10604 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10605 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10606 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10608 esac
10610 hardcode_libdir_flag_spec='-R$libdir'
10611 hardcode_shlibpath_var=no
10612 case $host_os in
10613 solaris2.[0-5] | solaris2.[0-5].*) ;;
10615 # The compiler driver will combine and reorder linker options,
10616 # but understands `-z linker_flag'. GCC discards it without `$wl',
10617 # but is careful enough not to reorder.
10618 # Supported since Solaris 2.6 (maybe 2.5.1?)
10619 if test "$GCC" = yes; then
10620 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10621 else
10622 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10625 esac
10626 link_all_deplibs=yes
10629 sunos4*)
10630 if test "x$host_vendor" = xsequent; then
10631 # Use $CC to link under sequent, because it throws in some extra .o
10632 # files that make .init and .fini sections work.
10633 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10634 else
10635 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10637 hardcode_libdir_flag_spec='-L$libdir'
10638 hardcode_direct=yes
10639 hardcode_minus_L=yes
10640 hardcode_shlibpath_var=no
10643 sysv4)
10644 case $host_vendor in
10645 sni)
10646 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10647 hardcode_direct=yes # is this really true???
10649 siemens)
10650 ## LD is ld it makes a PLAMLIB
10651 ## CC just makes a GrossModule.
10652 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10653 reload_cmds='$CC -r -o $output$reload_objs'
10654 hardcode_direct=no
10656 motorola)
10657 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10658 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10660 esac
10661 runpath_var='LD_RUN_PATH'
10662 hardcode_shlibpath_var=no
10665 sysv4.3*)
10666 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10667 hardcode_shlibpath_var=no
10668 export_dynamic_flag_spec='-Bexport'
10671 sysv4*MP*)
10672 if test -d /usr/nec; then
10673 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10674 hardcode_shlibpath_var=no
10675 runpath_var=LD_RUN_PATH
10676 hardcode_runpath_var=yes
10677 ld_shlibs=yes
10681 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10682 no_undefined_flag='${wl}-z,text'
10683 archive_cmds_need_lc=no
10684 hardcode_shlibpath_var=no
10685 runpath_var='LD_RUN_PATH'
10687 if test "$GCC" = yes; then
10688 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10690 else
10691 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10692 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10696 sysv5* | sco3.2v5* | sco5v6*)
10697 # Note: We can NOT use -z defs as we might desire, because we do not
10698 # link with -lc, and that would cause any symbols used from libc to
10699 # always be unresolved, which means just about no library would
10700 # ever link correctly. If we're not using GNU ld we use -z text
10701 # though, which does catch some bad symbols but isn't as heavy-handed
10702 # as -z defs.
10703 no_undefined_flag='${wl}-z,text'
10704 allow_undefined_flag='${wl}-z,nodefs'
10705 archive_cmds_need_lc=no
10706 hardcode_shlibpath_var=no
10707 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10708 hardcode_libdir_separator=':'
10709 link_all_deplibs=yes
10710 export_dynamic_flag_spec='${wl}-Bexport'
10711 runpath_var='LD_RUN_PATH'
10713 if test "$GCC" = yes; then
10714 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10715 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10716 else
10717 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10718 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10722 uts4*)
10723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10724 hardcode_libdir_flag_spec='-L$libdir'
10725 hardcode_shlibpath_var=no
10729 ld_shlibs=no
10731 esac
10733 if test x$host_vendor = xsni; then
10734 case $host in
10735 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10736 export_dynamic_flag_spec='${wl}-Blargedynsym'
10738 esac
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10743 $as_echo "$ld_shlibs" >&6; }
10744 test "$ld_shlibs" = no && can_build_shared=no
10746 with_gnu_ld=$with_gnu_ld
10763 # Do we need to explicitly link libc?
10765 case "x$archive_cmds_need_lc" in
10766 x|xyes)
10767 # Assume -lc should be added
10768 archive_cmds_need_lc=yes
10770 if test "$enable_shared" = yes && test "$GCC" = yes; then
10771 case $archive_cmds in
10772 *'~'*)
10773 # FIXME: we may have to deal with multi-command sequences.
10775 '$CC '*)
10776 # Test whether the compiler implicitly links with -lc since on some
10777 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10778 # to ld, don't add -lc before -lgcc.
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10780 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10781 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10782 $as_echo_n "(cached) " >&6
10783 else
10784 $RM conftest*
10785 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10788 (eval $ac_compile) 2>&5
10789 ac_status=$?
10790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10791 test $ac_status = 0; } 2>conftest.err; then
10792 soname=conftest
10793 lib=conftest
10794 libobjs=conftest.$ac_objext
10795 deplibs=
10796 wl=$lt_prog_compiler_wl
10797 pic_flag=$lt_prog_compiler_pic
10798 compiler_flags=-v
10799 linker_flags=-v
10800 verstring=
10801 output_objdir=.
10802 libname=conftest
10803 lt_save_allow_undefined_flag=$allow_undefined_flag
10804 allow_undefined_flag=
10805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10806 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10807 ac_status=$?
10808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10809 test $ac_status = 0; }
10810 then
10811 lt_cv_archive_cmds_need_lc=no
10812 else
10813 lt_cv_archive_cmds_need_lc=yes
10815 allow_undefined_flag=$lt_save_allow_undefined_flag
10816 else
10817 cat conftest.err 1>&5
10819 $RM conftest*
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10823 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10824 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10826 esac
10829 esac
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10988 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10990 if test "$GCC" = yes; then
10991 case $host_os in
10992 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10993 *) lt_awk_arg="/^libraries:/" ;;
10994 esac
10995 case $host_os in
10996 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10997 *) lt_sed_strip_eq="s,=/,/,g" ;;
10998 esac
10999 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11000 case $lt_search_path_spec in
11001 *\;*)
11002 # if the path contains ";" then we assume it to be the separator
11003 # otherwise default to the standard path separator (i.e. ":") - it is
11004 # assumed that no part of a normal pathname contains ";" but that should
11005 # okay in the real world where ";" in dirpaths is itself problematic.
11006 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11009 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11011 esac
11012 # Ok, now we have the path, separated by spaces, we can step through it
11013 # and add multilib dir if necessary.
11014 lt_tmp_lt_search_path_spec=
11015 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11016 for lt_sys_path in $lt_search_path_spec; do
11017 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11018 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11019 else
11020 test -d "$lt_sys_path" && \
11021 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11023 done
11024 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11025 BEGIN {RS=" "; FS="/|\n";} {
11026 lt_foo="";
11027 lt_count=0;
11028 for (lt_i = NF; lt_i > 0; lt_i--) {
11029 if ($lt_i != "" && $lt_i != ".") {
11030 if ($lt_i == "..") {
11031 lt_count++;
11032 } else {
11033 if (lt_count == 0) {
11034 lt_foo="/" $lt_i lt_foo;
11035 } else {
11036 lt_count--;
11041 if (lt_foo != "") { lt_freq[lt_foo]++; }
11042 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11044 # AWK program above erroneously prepends '/' to C:/dos/paths
11045 # for these hosts.
11046 case $host_os in
11047 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11048 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11049 esac
11050 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11051 else
11052 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11054 library_names_spec=
11055 libname_spec='lib$name'
11056 soname_spec=
11057 shrext_cmds=".so"
11058 postinstall_cmds=
11059 postuninstall_cmds=
11060 finish_cmds=
11061 finish_eval=
11062 shlibpath_var=
11063 shlibpath_overrides_runpath=unknown
11064 version_type=none
11065 dynamic_linker="$host_os ld.so"
11066 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11067 need_lib_prefix=unknown
11068 hardcode_into_libs=no
11070 # when you set need_version to no, make sure it does not cause -set_version
11071 # flags to be left without arguments
11072 need_version=unknown
11074 case $host_os in
11075 aix3*)
11076 version_type=linux
11077 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11078 shlibpath_var=LIBPATH
11080 # AIX 3 has no versioning support, so we append a major version to the name.
11081 soname_spec='${libname}${release}${shared_ext}$major'
11084 aix[4-9]*)
11085 version_type=linux
11086 need_lib_prefix=no
11087 need_version=no
11088 hardcode_into_libs=yes
11089 if test "$host_cpu" = ia64; then
11090 # AIX 5 supports IA64
11091 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11092 shlibpath_var=LD_LIBRARY_PATH
11093 else
11094 # With GCC up to 2.95.x, collect2 would create an import file
11095 # for dependence libraries. The import file would start with
11096 # the line `#! .'. This would cause the generated library to
11097 # depend on `.', always an invalid library. This was fixed in
11098 # development snapshots of GCC prior to 3.0.
11099 case $host_os in
11100 aix4 | aix4.[01] | aix4.[01].*)
11101 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11102 echo ' yes '
11103 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11105 else
11106 can_build_shared=no
11109 esac
11110 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11111 # soname into executable. Probably we can add versioning support to
11112 # collect2, so additional links can be useful in future.
11113 if test "$aix_use_runtimelinking" = yes; then
11114 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11115 # instead of lib<name>.a to let people know that these are not
11116 # typical AIX shared libraries.
11117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118 else
11119 # We preserve .a as extension for shared libraries through AIX4.2
11120 # and later when we are not doing run time linking.
11121 library_names_spec='${libname}${release}.a $libname.a'
11122 soname_spec='${libname}${release}${shared_ext}$major'
11124 shlibpath_var=LIBPATH
11128 amigaos*)
11129 case $host_cpu in
11130 powerpc)
11131 # Since July 2007 AmigaOS4 officially supports .so libraries.
11132 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11135 m68k)
11136 library_names_spec='$libname.ixlibrary $libname.a'
11137 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11138 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'
11140 esac
11143 beos*)
11144 library_names_spec='${libname}${shared_ext}'
11145 dynamic_linker="$host_os ld.so"
11146 shlibpath_var=LIBRARY_PATH
11149 bsdi[45]*)
11150 version_type=linux
11151 need_version=no
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153 soname_spec='${libname}${release}${shared_ext}$major'
11154 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11155 shlibpath_var=LD_LIBRARY_PATH
11156 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11157 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11158 # the default ld.so.conf also contains /usr/contrib/lib and
11159 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11160 # libtool to hard-code these into programs
11163 cygwin* | mingw* | pw32* | cegcc*)
11164 version_type=windows
11165 shrext_cmds=".dll"
11166 need_version=no
11167 need_lib_prefix=no
11169 case $GCC,$host_os in
11170 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11171 library_names_spec='$libname.dll.a'
11172 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11173 postinstall_cmds='base_file=`basename \${file}`~
11174 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11175 dldir=$destdir/`dirname \$dlpath`~
11176 test -d \$dldir || mkdir -p \$dldir~
11177 $install_prog $dir/$dlname \$dldir/$dlname~
11178 chmod a+x \$dldir/$dlname~
11179 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11180 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11182 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11183 dlpath=$dir/\$dldll~
11184 $RM \$dlpath'
11185 shlibpath_overrides_runpath=yes
11187 case $host_os in
11188 cygwin*)
11189 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11190 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11192 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11194 mingw* | cegcc*)
11195 # MinGW DLLs use traditional 'lib' prefix
11196 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11198 pw32*)
11199 # pw32 DLLs use 'pw' prefix rather than 'lib'
11200 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11202 esac
11206 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11208 esac
11209 dynamic_linker='Win32 ld.exe'
11210 # FIXME: first we should search . and the directory the executable is in
11211 shlibpath_var=PATH
11214 darwin* | rhapsody*)
11215 dynamic_linker="$host_os dyld"
11216 version_type=darwin
11217 need_lib_prefix=no
11218 need_version=no
11219 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11220 soname_spec='${libname}${release}${major}$shared_ext'
11221 shlibpath_overrides_runpath=yes
11222 shlibpath_var=DYLD_LIBRARY_PATH
11223 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11225 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11226 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11229 dgux*)
11230 version_type=linux
11231 need_lib_prefix=no
11232 need_version=no
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11234 soname_spec='${libname}${release}${shared_ext}$major'
11235 shlibpath_var=LD_LIBRARY_PATH
11238 freebsd* | dragonfly*)
11239 # DragonFly does not have aout. When/if they implement a new
11240 # versioning mechanism, adjust this.
11241 if test -x /usr/bin/objformat; then
11242 objformat=`/usr/bin/objformat`
11243 else
11244 case $host_os in
11245 freebsd[123]*) objformat=aout ;;
11246 *) objformat=elf ;;
11247 esac
11249 version_type=freebsd-$objformat
11250 case $version_type in
11251 freebsd-elf*)
11252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11253 need_version=no
11254 need_lib_prefix=no
11256 freebsd-*)
11257 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11258 need_version=yes
11260 esac
11261 shlibpath_var=LD_LIBRARY_PATH
11262 case $host_os in
11263 freebsd2*)
11264 shlibpath_overrides_runpath=yes
11266 freebsd3.[01]* | freebsdelf3.[01]*)
11267 shlibpath_overrides_runpath=yes
11268 hardcode_into_libs=yes
11270 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11271 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11272 shlibpath_overrides_runpath=no
11273 hardcode_into_libs=yes
11275 *) # from 4.6 on, and DragonFly
11276 shlibpath_overrides_runpath=yes
11277 hardcode_into_libs=yes
11279 esac
11282 gnu*)
11283 version_type=linux
11284 need_lib_prefix=no
11285 need_version=no
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11287 soname_spec='${libname}${release}${shared_ext}$major'
11288 shlibpath_var=LD_LIBRARY_PATH
11289 hardcode_into_libs=yes
11292 haiku*)
11293 version_type=linux
11294 need_lib_prefix=no
11295 need_version=no
11296 dynamic_linker="$host_os runtime_loader"
11297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11298 soname_spec='${libname}${release}${shared_ext}$major'
11299 shlibpath_var=LIBRARY_PATH
11300 shlibpath_overrides_runpath=yes
11301 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11302 hardcode_into_libs=yes
11305 hpux9* | hpux10* | hpux11*)
11306 # Give a soname corresponding to the major version so that dld.sl refuses to
11307 # link against other versions.
11308 version_type=sunos
11309 need_lib_prefix=no
11310 need_version=no
11311 case $host_cpu in
11312 ia64*)
11313 shrext_cmds='.so'
11314 hardcode_into_libs=yes
11315 dynamic_linker="$host_os dld.so"
11316 shlibpath_var=LD_LIBRARY_PATH
11317 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319 soname_spec='${libname}${release}${shared_ext}$major'
11320 if test "X$HPUX_IA64_MODE" = X32; then
11321 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11322 else
11323 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11327 hppa*64*)
11328 shrext_cmds='.sl'
11329 hardcode_into_libs=yes
11330 dynamic_linker="$host_os dld.sl"
11331 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334 soname_spec='${libname}${release}${shared_ext}$major'
11335 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11336 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11339 shrext_cmds='.sl'
11340 dynamic_linker="$host_os dld.sl"
11341 shlibpath_var=SHLIB_PATH
11342 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11344 soname_spec='${libname}${release}${shared_ext}$major'
11346 esac
11347 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11348 postinstall_cmds='chmod 555 $lib'
11349 # or fails outright, so override atomically:
11350 install_override_mode=555
11353 interix[3-9]*)
11354 version_type=linux
11355 need_lib_prefix=no
11356 need_version=no
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11358 soname_spec='${libname}${release}${shared_ext}$major'
11359 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11360 shlibpath_var=LD_LIBRARY_PATH
11361 shlibpath_overrides_runpath=no
11362 hardcode_into_libs=yes
11365 irix5* | irix6* | nonstopux*)
11366 case $host_os in
11367 nonstopux*) version_type=nonstopux ;;
11369 if test "$lt_cv_prog_gnu_ld" = yes; then
11370 version_type=linux
11371 else
11372 version_type=irix
11373 fi ;;
11374 esac
11375 need_lib_prefix=no
11376 need_version=no
11377 soname_spec='${libname}${release}${shared_ext}$major'
11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11379 case $host_os in
11380 irix5* | nonstopux*)
11381 libsuff= shlibsuff=
11384 case $LD in # libtool.m4 will add one of these switches to LD
11385 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11386 libsuff= shlibsuff= libmagic=32-bit;;
11387 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11388 libsuff=32 shlibsuff=N32 libmagic=N32;;
11389 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11390 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11391 *) libsuff= shlibsuff= libmagic=never-match;;
11392 esac
11394 esac
11395 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11396 shlibpath_overrides_runpath=no
11397 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11398 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11399 hardcode_into_libs=yes
11402 # No shared lib support for Linux oldld, aout, or coff.
11403 linux*oldld* | linux*aout* | linux*coff*)
11404 dynamic_linker=no
11407 # This must be Linux ELF.
11408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11409 version_type=linux
11410 need_lib_prefix=no
11411 need_version=no
11412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11413 soname_spec='${libname}${release}${shared_ext}$major'
11414 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11415 shlibpath_var=LD_LIBRARY_PATH
11416 shlibpath_overrides_runpath=no
11418 # Some binutils ld are patched to set DT_RUNPATH
11419 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 lt_cv_shlibpath_overrides_runpath=no
11423 save_LDFLAGS=$LDFLAGS
11424 save_libdir=$libdir
11425 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11426 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11427 if test x$gcc_no_link = xyes; then
11428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11434 main ()
11438 return 0;
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"; then :
11442 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11443 lt_cv_shlibpath_overrides_runpath=yes
11446 rm -f core conftest.err conftest.$ac_objext \
11447 conftest$ac_exeext conftest.$ac_ext
11448 LDFLAGS=$save_LDFLAGS
11449 libdir=$save_libdir
11453 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11455 # This implies no fast_install, which is unacceptable.
11456 # Some rework will be needed to allow for fast_install
11457 # before this can be enabled.
11458 hardcode_into_libs=yes
11460 # Append ld.so.conf contents to the search path
11461 if test -f /etc/ld.so.conf; then
11462 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' ' '`
11463 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11466 # We used to test for /lib/ld.so.1 and disable shared libraries on
11467 # powerpc, because MkLinux only supported shared libraries with the
11468 # GNU dynamic linker. Since this was broken with cross compilers,
11469 # most powerpc-linux boxes support dynamic linking these days and
11470 # people can always --disable-shared, the test was removed, and we
11471 # assume the GNU/Linux dynamic linker is in use.
11472 dynamic_linker='GNU/Linux ld.so'
11475 netbsd*)
11476 version_type=sunos
11477 need_lib_prefix=no
11478 need_version=no
11479 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11482 dynamic_linker='NetBSD (a.out) ld.so'
11483 else
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 dynamic_linker='NetBSD ld.elf_so'
11488 shlibpath_var=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath=yes
11490 hardcode_into_libs=yes
11493 newsos6)
11494 version_type=linux
11495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496 shlibpath_var=LD_LIBRARY_PATH
11497 shlibpath_overrides_runpath=yes
11500 *nto* | *qnx*)
11501 version_type=qnx
11502 need_lib_prefix=no
11503 need_version=no
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 soname_spec='${libname}${release}${shared_ext}$major'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=no
11508 hardcode_into_libs=yes
11509 dynamic_linker='ldqnx.so'
11512 openbsd*)
11513 version_type=sunos
11514 sys_lib_dlsearch_path_spec="/usr/lib"
11515 need_lib_prefix=no
11516 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11517 case $host_os in
11518 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11519 *) need_version=no ;;
11520 esac
11521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11523 shlibpath_var=LD_LIBRARY_PATH
11524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11525 case $host_os in
11526 openbsd2.[89] | openbsd2.[89].*)
11527 shlibpath_overrides_runpath=no
11530 shlibpath_overrides_runpath=yes
11532 esac
11533 else
11534 shlibpath_overrides_runpath=yes
11538 os2*)
11539 libname_spec='$name'
11540 shrext_cmds=".dll"
11541 need_lib_prefix=no
11542 library_names_spec='$libname${shared_ext} $libname.a'
11543 dynamic_linker='OS/2 ld.exe'
11544 shlibpath_var=LIBPATH
11547 osf3* | osf4* | osf5*)
11548 version_type=osf
11549 need_lib_prefix=no
11550 need_version=no
11551 soname_spec='${libname}${release}${shared_ext}$major'
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 shlibpath_var=LD_LIBRARY_PATH
11554 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11555 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11558 rdos*)
11559 dynamic_linker=no
11562 solaris*)
11563 version_type=linux
11564 need_lib_prefix=no
11565 need_version=no
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11568 shlibpath_var=LD_LIBRARY_PATH
11569 shlibpath_overrides_runpath=yes
11570 hardcode_into_libs=yes
11571 # ldd complains unless libraries are executable
11572 postinstall_cmds='chmod +x $lib'
11575 sunos4*)
11576 version_type=sunos
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 shlibpath_overrides_runpath=yes
11581 if test "$with_gnu_ld" = yes; then
11582 need_lib_prefix=no
11584 need_version=yes
11587 sysv4 | sysv4.3*)
11588 version_type=linux
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 shlibpath_var=LD_LIBRARY_PATH
11592 case $host_vendor in
11593 sni)
11594 shlibpath_overrides_runpath=no
11595 need_lib_prefix=no
11596 runpath_var=LD_RUN_PATH
11598 siemens)
11599 need_lib_prefix=no
11601 motorola)
11602 need_lib_prefix=no
11603 need_version=no
11604 shlibpath_overrides_runpath=no
11605 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11607 esac
11610 sysv4*MP*)
11611 if test -d /usr/nec ;then
11612 version_type=linux
11613 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11614 soname_spec='$libname${shared_ext}.$major'
11615 shlibpath_var=LD_LIBRARY_PATH
11619 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11620 version_type=freebsd-elf
11621 need_lib_prefix=no
11622 need_version=no
11623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11624 soname_spec='${libname}${release}${shared_ext}$major'
11625 shlibpath_var=LD_LIBRARY_PATH
11626 shlibpath_overrides_runpath=yes
11627 hardcode_into_libs=yes
11628 if test "$with_gnu_ld" = yes; then
11629 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11630 else
11631 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11632 case $host_os in
11633 sco3.2v5*)
11634 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11636 esac
11638 sys_lib_dlsearch_path_spec='/usr/lib'
11641 tpf*)
11642 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11643 version_type=linux
11644 need_lib_prefix=no
11645 need_version=no
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=no
11649 hardcode_into_libs=yes
11652 uts4*)
11653 version_type=linux
11654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11655 soname_spec='${libname}${release}${shared_ext}$major'
11656 shlibpath_var=LD_LIBRARY_PATH
11660 dynamic_linker=no
11662 esac
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11664 $as_echo "$dynamic_linker" >&6; }
11665 test "$dynamic_linker" = no && can_build_shared=no
11667 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11668 if test "$GCC" = yes; then
11669 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11672 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11673 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11675 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11676 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11771 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11772 hardcode_action=
11773 if test -n "$hardcode_libdir_flag_spec" ||
11774 test -n "$runpath_var" ||
11775 test "X$hardcode_automatic" = "Xyes" ; then
11777 # We can hardcode non-existent directories.
11778 if test "$hardcode_direct" != no &&
11779 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11780 # have to relink, otherwise we might link with an installed library
11781 # when we should be linking with a yet-to-be-installed one
11782 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11783 test "$hardcode_minus_L" != no; then
11784 # Linking always hardcodes the temporary library directory.
11785 hardcode_action=relink
11786 else
11787 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11788 hardcode_action=immediate
11790 else
11791 # We cannot hardcode anything, or else we can only hardcode existing
11792 # directories.
11793 hardcode_action=unsupported
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11796 $as_echo "$hardcode_action" >&6; }
11798 if test "$hardcode_action" = relink ||
11799 test "$inherit_rpath" = yes; then
11800 # Fast installation is not supported
11801 enable_fast_install=no
11802 elif test "$shlibpath_overrides_runpath" = yes ||
11803 test "$enable_shared" = no; then
11804 # Fast installation is not necessary
11805 enable_fast_install=needless
11813 if test "x$enable_dlopen" != xyes; then
11814 enable_dlopen=unknown
11815 enable_dlopen_self=unknown
11816 enable_dlopen_self_static=unknown
11817 else
11818 lt_cv_dlopen=no
11819 lt_cv_dlopen_libs=
11821 case $host_os in
11822 beos*)
11823 lt_cv_dlopen="load_add_on"
11824 lt_cv_dlopen_libs=
11825 lt_cv_dlopen_self=yes
11828 mingw* | pw32* | cegcc*)
11829 lt_cv_dlopen="LoadLibrary"
11830 lt_cv_dlopen_libs=
11833 cygwin*)
11834 lt_cv_dlopen="dlopen"
11835 lt_cv_dlopen_libs=
11838 darwin*)
11839 # if libdl is installed we need to link against it
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11841 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11843 $as_echo_n "(cached) " >&6
11844 else
11845 ac_check_lib_save_LIBS=$LIBS
11846 LIBS="-ldl $LIBS"
11847 if test x$gcc_no_link = xyes; then
11848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char dlopen ();
11861 main ()
11863 return dlopen ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_dl_dlopen=yes
11870 else
11871 ac_cv_lib_dl_dlopen=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11879 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11880 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11881 else
11883 lt_cv_dlopen="dyld"
11884 lt_cv_dlopen_libs=
11885 lt_cv_dlopen_self=yes
11892 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11893 if test "x$ac_cv_func_shl_load" = x""yes; then :
11894 lt_cv_dlopen="shl_load"
11895 else
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11897 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11898 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11899 $as_echo_n "(cached) " >&6
11900 else
11901 ac_check_lib_save_LIBS=$LIBS
11902 LIBS="-ldld $LIBS"
11903 if test x$gcc_no_link = xyes; then
11904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 #ifdef __cplusplus
11913 extern "C"
11914 #endif
11915 char shl_load ();
11917 main ()
11919 return shl_load ();
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_link "$LINENO"; then :
11925 ac_cv_lib_dld_shl_load=yes
11926 else
11927 ac_cv_lib_dld_shl_load=no
11929 rm -f core conftest.err conftest.$ac_objext \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_lib_save_LIBS
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11934 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11935 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11936 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11937 else
11938 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11939 if test "x$ac_cv_func_dlopen" = x""yes; then :
11940 lt_cv_dlopen="dlopen"
11941 else
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11943 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11944 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 ac_check_lib_save_LIBS=$LIBS
11948 LIBS="-ldl $LIBS"
11949 if test x$gcc_no_link = xyes; then
11950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11958 #ifdef __cplusplus
11959 extern "C"
11960 #endif
11961 char dlopen ();
11963 main ()
11965 return dlopen ();
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_link "$LINENO"; then :
11971 ac_cv_lib_dl_dlopen=yes
11972 else
11973 ac_cv_lib_dl_dlopen=no
11975 rm -f core conftest.err conftest.$ac_objext \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_lib_save_LIBS
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11980 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11981 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11982 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11983 else
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11985 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11986 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11987 $as_echo_n "(cached) " >&6
11988 else
11989 ac_check_lib_save_LIBS=$LIBS
11990 LIBS="-lsvld $LIBS"
11991 if test x$gcc_no_link = xyes; then
11992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char dlopen ();
12005 main ()
12007 return dlopen ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 ac_cv_lib_svld_dlopen=yes
12014 else
12015 ac_cv_lib_svld_dlopen=no
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12022 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12023 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12024 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12027 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12028 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_lib_save_LIBS=$LIBS
12032 LIBS="-ldld $LIBS"
12033 if test x$gcc_no_link = xyes; then
12034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char dld_link ();
12047 main ()
12049 return dld_link ();
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"; then :
12055 ac_cv_lib_dld_dld_link=yes
12056 else
12057 ac_cv_lib_dld_dld_link=no
12059 rm -f core conftest.err conftest.$ac_objext \
12060 conftest$ac_exeext conftest.$ac_ext
12061 LIBS=$ac_check_lib_save_LIBS
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12064 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12065 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12066 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12085 esac
12087 if test "x$lt_cv_dlopen" != xno; then
12088 enable_dlopen=yes
12089 else
12090 enable_dlopen=no
12093 case $lt_cv_dlopen in
12094 dlopen)
12095 save_CPPFLAGS="$CPPFLAGS"
12096 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12098 save_LDFLAGS="$LDFLAGS"
12099 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12101 save_LIBS="$LIBS"
12102 LIBS="$lt_cv_dlopen_libs $LIBS"
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12105 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12106 if test "${lt_cv_dlopen_self+set}" = set; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 if test "$cross_compiling" = yes; then :
12110 lt_cv_dlopen_self=cross
12111 else
12112 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12113 lt_status=$lt_dlunknown
12114 cat > conftest.$ac_ext <<_LT_EOF
12115 #line 12115 "configure"
12116 #include "confdefs.h"
12118 #if HAVE_DLFCN_H
12119 #include <dlfcn.h>
12120 #endif
12122 #include <stdio.h>
12124 #ifdef RTLD_GLOBAL
12125 # define LT_DLGLOBAL RTLD_GLOBAL
12126 #else
12127 # ifdef DL_GLOBAL
12128 # define LT_DLGLOBAL DL_GLOBAL
12129 # else
12130 # define LT_DLGLOBAL 0
12131 # endif
12132 #endif
12134 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12135 find out it does not work in some platform. */
12136 #ifndef LT_DLLAZY_OR_NOW
12137 # ifdef RTLD_LAZY
12138 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12139 # else
12140 # ifdef DL_LAZY
12141 # define LT_DLLAZY_OR_NOW DL_LAZY
12142 # else
12143 # ifdef RTLD_NOW
12144 # define LT_DLLAZY_OR_NOW RTLD_NOW
12145 # else
12146 # ifdef DL_NOW
12147 # define LT_DLLAZY_OR_NOW DL_NOW
12148 # else
12149 # define LT_DLLAZY_OR_NOW 0
12150 # endif
12151 # endif
12152 # endif
12153 # endif
12154 #endif
12156 /* When -fvisbility=hidden is used, assume the code has been annotated
12157 correspondingly for the symbols needed. */
12158 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12159 void fnord () __attribute__((visibility("default")));
12160 #endif
12162 void fnord () { int i=42; }
12163 int main ()
12165 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12166 int status = $lt_dlunknown;
12168 if (self)
12170 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12171 else
12173 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12174 else puts (dlerror ());
12176 /* dlclose (self); */
12178 else
12179 puts (dlerror ());
12181 return status;
12183 _LT_EOF
12184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12185 (eval $ac_link) 2>&5
12186 ac_status=$?
12187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12188 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12189 (./conftest; exit; ) >&5 2>/dev/null
12190 lt_status=$?
12191 case x$lt_status in
12192 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12193 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12194 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12195 esac
12196 else :
12197 # compilation failed
12198 lt_cv_dlopen_self=no
12201 rm -fr conftest*
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12206 $as_echo "$lt_cv_dlopen_self" >&6; }
12208 if test "x$lt_cv_dlopen_self" = xyes; then
12209 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12211 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12212 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 if test "$cross_compiling" = yes; then :
12216 lt_cv_dlopen_self_static=cross
12217 else
12218 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12219 lt_status=$lt_dlunknown
12220 cat > conftest.$ac_ext <<_LT_EOF
12221 #line 12221 "configure"
12222 #include "confdefs.h"
12224 #if HAVE_DLFCN_H
12225 #include <dlfcn.h>
12226 #endif
12228 #include <stdio.h>
12230 #ifdef RTLD_GLOBAL
12231 # define LT_DLGLOBAL RTLD_GLOBAL
12232 #else
12233 # ifdef DL_GLOBAL
12234 # define LT_DLGLOBAL DL_GLOBAL
12235 # else
12236 # define LT_DLGLOBAL 0
12237 # endif
12238 #endif
12240 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12241 find out it does not work in some platform. */
12242 #ifndef LT_DLLAZY_OR_NOW
12243 # ifdef RTLD_LAZY
12244 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12245 # else
12246 # ifdef DL_LAZY
12247 # define LT_DLLAZY_OR_NOW DL_LAZY
12248 # else
12249 # ifdef RTLD_NOW
12250 # define LT_DLLAZY_OR_NOW RTLD_NOW
12251 # else
12252 # ifdef DL_NOW
12253 # define LT_DLLAZY_OR_NOW DL_NOW
12254 # else
12255 # define LT_DLLAZY_OR_NOW 0
12256 # endif
12257 # endif
12258 # endif
12259 # endif
12260 #endif
12262 /* When -fvisbility=hidden is used, assume the code has been annotated
12263 correspondingly for the symbols needed. */
12264 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12265 void fnord () __attribute__((visibility("default")));
12266 #endif
12268 void fnord () { int i=42; }
12269 int main ()
12271 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12272 int status = $lt_dlunknown;
12274 if (self)
12276 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12277 else
12279 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12280 else puts (dlerror ());
12282 /* dlclose (self); */
12284 else
12285 puts (dlerror ());
12287 return status;
12289 _LT_EOF
12290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12291 (eval $ac_link) 2>&5
12292 ac_status=$?
12293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12294 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12295 (./conftest; exit; ) >&5 2>/dev/null
12296 lt_status=$?
12297 case x$lt_status in
12298 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12299 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12300 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12301 esac
12302 else :
12303 # compilation failed
12304 lt_cv_dlopen_self_static=no
12307 rm -fr conftest*
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12312 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12315 CPPFLAGS="$save_CPPFLAGS"
12316 LDFLAGS="$save_LDFLAGS"
12317 LIBS="$save_LIBS"
12319 esac
12321 case $lt_cv_dlopen_self in
12322 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12323 *) enable_dlopen_self=unknown ;;
12324 esac
12326 case $lt_cv_dlopen_self_static in
12327 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12328 *) enable_dlopen_self_static=unknown ;;
12329 esac
12348 striplib=
12349 old_striplib=
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12351 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12352 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12353 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12354 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12356 $as_echo "yes" >&6; }
12357 else
12358 # FIXME - insert some real tests, host_os isn't really good enough
12359 case $host_os in
12360 darwin*)
12361 if test -n "$STRIP" ; then
12362 striplib="$STRIP -x"
12363 old_striplib="$STRIP -S"
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12365 $as_echo "yes" >&6; }
12366 else
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12368 $as_echo "no" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12375 esac
12389 # Report which library types will actually be built
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12391 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12393 $as_echo "$can_build_shared" >&6; }
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12396 $as_echo_n "checking whether to build shared libraries... " >&6; }
12397 test "$can_build_shared" = "no" && enable_shared=no
12399 # On AIX, shared libraries and static libraries use the same namespace, and
12400 # are all built from PIC.
12401 case $host_os in
12402 aix3*)
12403 test "$enable_shared" = yes && enable_static=no
12404 if test -n "$RANLIB"; then
12405 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12406 postinstall_cmds='$RANLIB $lib'
12410 aix[4-9]*)
12411 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12412 test "$enable_shared" = yes && enable_static=no
12415 esac
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12417 $as_echo "$enable_shared" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12420 $as_echo_n "checking whether to build static libraries... " >&6; }
12421 # Make sure either enable_shared or enable_static is yes.
12422 test "$enable_shared" = yes || enable_static=yes
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12424 $as_echo "$enable_static" >&6; }
12430 ac_ext=c
12431 ac_cpp='$CPP $CPPFLAGS'
12432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12436 CC="$lt_save_CC"
12450 ac_config_commands="$ac_config_commands libtool"
12455 # Only expand once:
12461 case $host in
12462 *-cygwin* | *-mingw*)
12463 # 'host' will be top-level target in the case of a target lib,
12464 # we must compare to with_cross_host to decide if this is a native
12465 # or cross-compiler and select where to install dlls appropriately.
12466 if test -n "$with_cross_host" &&
12467 test x"$with_cross_host" != x"no"; then
12468 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12469 else
12470 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12474 lt_host_flags=
12476 esac
12482 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12484 # We need gfortran to compile parts of the library
12485 #AC_PROG_FC(gfortran)
12486 FC="$GFORTRAN"
12487 ac_ext=${ac_fc_srcext-f}
12488 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12489 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12490 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12491 if test -n "$ac_tool_prefix"; then
12492 for ac_prog in gfortran
12494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12497 $as_echo_n "checking for $ac_word... " >&6; }
12498 if test "${ac_cv_prog_FC+set}" = set; then :
12499 $as_echo_n "(cached) " >&6
12500 else
12501 if test -n "$FC"; then
12502 ac_cv_prog_FC="$FC" # Let the user override the test.
12503 else
12504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12505 for as_dir in $PATH
12507 IFS=$as_save_IFS
12508 test -z "$as_dir" && as_dir=.
12509 for ac_exec_ext in '' $ac_executable_extensions; do
12510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12511 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12513 break 2
12515 done
12516 done
12517 IFS=$as_save_IFS
12521 FC=$ac_cv_prog_FC
12522 if test -n "$FC"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12524 $as_echo "$FC" >&6; }
12525 else
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527 $as_echo "no" >&6; }
12531 test -n "$FC" && break
12532 done
12534 if test -z "$FC"; then
12535 ac_ct_FC=$FC
12536 for ac_prog in gfortran
12538 # Extract the first word of "$ac_prog", so it can be a program name with args.
12539 set dummy $ac_prog; ac_word=$2
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12541 $as_echo_n "checking for $ac_word... " >&6; }
12542 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12543 $as_echo_n "(cached) " >&6
12544 else
12545 if test -n "$ac_ct_FC"; then
12546 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12547 else
12548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12549 for as_dir in $PATH
12551 IFS=$as_save_IFS
12552 test -z "$as_dir" && as_dir=.
12553 for ac_exec_ext in '' $ac_executable_extensions; do
12554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12555 ac_cv_prog_ac_ct_FC="$ac_prog"
12556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12557 break 2
12559 done
12560 done
12561 IFS=$as_save_IFS
12565 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12566 if test -n "$ac_ct_FC"; then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12568 $as_echo "$ac_ct_FC" >&6; }
12569 else
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12571 $as_echo "no" >&6; }
12575 test -n "$ac_ct_FC" && break
12576 done
12578 if test "x$ac_ct_FC" = x; then
12579 FC=""
12580 else
12581 case $cross_compiling:$ac_tool_warned in
12582 yes:)
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12585 ac_tool_warned=yes ;;
12586 esac
12587 FC=$ac_ct_FC
12592 # Provide some information about the compiler.
12593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12594 set X $ac_compile
12595 ac_compiler=$2
12596 for ac_option in --version -v -V -qversion; do
12597 { { ac_try="$ac_compiler $ac_option >&5"
12598 case "(($ac_try" in
12599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12600 *) ac_try_echo=$ac_try;;
12601 esac
12602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12603 $as_echo "$ac_try_echo"; } >&5
12604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12605 ac_status=$?
12606 if test -s conftest.err; then
12607 sed '10a\
12608 ... rest of stderr output deleted ...
12609 10q' conftest.err >conftest.er1
12610 cat conftest.er1 >&5
12611 rm -f conftest.er1 conftest.err
12613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12614 test $ac_status = 0; }
12615 done
12616 rm -f a.out
12618 # If we don't use `.F' as extension, the preprocessor is not run on the
12619 # input file. (Note that this only needs to work for GNU compilers.)
12620 ac_save_ext=$ac_ext
12621 ac_ext=F
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12623 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12624 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 cat > conftest.$ac_ext <<_ACEOF
12628 program main
12629 #ifndef __GNUC__
12630 choke me
12631 #endif
12634 _ACEOF
12635 if ac_fn_fc_try_compile "$LINENO"; then :
12636 ac_compiler_gnu=yes
12637 else
12638 ac_compiler_gnu=no
12640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12641 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12645 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12646 ac_ext=$ac_save_ext
12647 ac_test_FCFLAGS=${FCFLAGS+set}
12648 ac_save_FCFLAGS=$FCFLAGS
12649 FCFLAGS=
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12651 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12652 if test "${ac_cv_prog_fc_g+set}" = set; then :
12653 $as_echo_n "(cached) " >&6
12654 else
12655 FCFLAGS=-g
12656 cat > conftest.$ac_ext <<_ACEOF
12657 program main
12660 _ACEOF
12661 if ac_fn_fc_try_compile "$LINENO"; then :
12662 ac_cv_prog_fc_g=yes
12663 else
12664 ac_cv_prog_fc_g=no
12666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12670 $as_echo "$ac_cv_prog_fc_g" >&6; }
12671 if test "$ac_test_FCFLAGS" = set; then
12672 FCFLAGS=$ac_save_FCFLAGS
12673 elif test $ac_cv_prog_fc_g = yes; then
12674 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12675 FCFLAGS="-g -O2"
12676 else
12677 FCFLAGS="-g"
12679 else
12680 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12681 FCFLAGS="-O2"
12682 else
12683 FCFLAGS=
12687 ac_ext=c
12688 ac_cpp='$CPP $CPPFLAGS'
12689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12693 ac_ext=${ac_fc_srcext-f}
12694 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12695 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12699 if test -z "$FC" || test "X$FC" = "Xno"; then
12700 _lt_disable_FC=yes
12703 archive_cmds_need_lc_FC=no
12704 allow_undefined_flag_FC=
12705 always_export_symbols_FC=no
12706 archive_expsym_cmds_FC=
12707 export_dynamic_flag_spec_FC=
12708 hardcode_direct_FC=no
12709 hardcode_direct_absolute_FC=no
12710 hardcode_libdir_flag_spec_FC=
12711 hardcode_libdir_flag_spec_ld_FC=
12712 hardcode_libdir_separator_FC=
12713 hardcode_minus_L_FC=no
12714 hardcode_automatic_FC=no
12715 inherit_rpath_FC=no
12716 module_cmds_FC=
12717 module_expsym_cmds_FC=
12718 link_all_deplibs_FC=unknown
12719 old_archive_cmds_FC=$old_archive_cmds
12720 reload_flag_FC=$reload_flag
12721 reload_cmds_FC=$reload_cmds
12722 no_undefined_flag_FC=
12723 whole_archive_flag_spec_FC=
12724 enable_shared_with_static_runtimes_FC=no
12726 # Source file extension for fc test sources.
12727 ac_ext=${ac_fc_srcext-f}
12729 # Object file extension for compiled fc test sources.
12730 objext=o
12731 objext_FC=$objext
12733 # No sense in running all these tests if we already determined that
12734 # the FC compiler isn't working. Some variables (like enable_shared)
12735 # are currently assumed to apply to all compilers on this platform,
12736 # and will be corrupted by setting them based on a non-working compiler.
12737 if test "$_lt_disable_FC" != yes; then
12738 # Code to be used in simple compile tests
12739 lt_simple_compile_test_code="\
12740 subroutine t
12741 return
12745 # Code to be used in simple link tests
12746 lt_simple_link_test_code="\
12747 program t
12751 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12758 # If no C compiler was specified, use CC.
12759 LTCC=${LTCC-"$CC"}
12761 # If no C compiler flags were specified, use CFLAGS.
12762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12764 # Allow CC to be a program name with arguments.
12765 compiler=$CC
12768 # save warnings/boilerplate of simple test code
12769 ac_outfile=conftest.$ac_objext
12770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12772 _lt_compiler_boilerplate=`cat conftest.err`
12773 $RM conftest*
12775 ac_outfile=conftest.$ac_objext
12776 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12778 _lt_linker_boilerplate=`cat conftest.err`
12779 $RM -r conftest*
12782 # Allow CC to be a program name with arguments.
12783 lt_save_CC="$CC"
12784 lt_save_GCC=$GCC
12785 CC=${FC-"f95"}
12786 compiler=$CC
12787 GCC=$ac_cv_fc_compiler_gnu
12789 compiler_FC=$CC
12790 for cc_temp in $compiler""; do
12791 case $cc_temp in
12792 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12793 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12794 \-*) ;;
12795 *) break;;
12796 esac
12797 done
12798 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12801 if test -n "$compiler"; then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12803 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12805 $as_echo "$can_build_shared" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12808 $as_echo_n "checking whether to build shared libraries... " >&6; }
12809 test "$can_build_shared" = "no" && enable_shared=no
12811 # On AIX, shared libraries and static libraries use the same namespace, and
12812 # are all built from PIC.
12813 case $host_os in
12814 aix3*)
12815 test "$enable_shared" = yes && enable_static=no
12816 if test -n "$RANLIB"; then
12817 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12818 postinstall_cmds='$RANLIB $lib'
12821 aix[4-9]*)
12822 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12823 test "$enable_shared" = yes && enable_static=no
12826 esac
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12828 $as_echo "$enable_shared" >&6; }
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12831 $as_echo_n "checking whether to build static libraries... " >&6; }
12832 # Make sure either enable_shared or enable_static is yes.
12833 test "$enable_shared" = yes || enable_static=yes
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12835 $as_echo "$enable_static" >&6; }
12837 GCC_FC="$ac_cv_fc_compiler_gnu"
12838 LD_FC="$LD"
12840 ## CAVEAT EMPTOR:
12841 ## There is no encapsulation within the following macros, do not change
12842 ## the running order or otherwise move them around unless you know exactly
12843 ## what you are doing...
12844 # Dependencies to place before and after the object being linked:
12845 predep_objects_FC=
12846 postdep_objects_FC=
12847 predeps_FC=
12848 postdeps_FC=
12849 compiler_lib_search_path_FC=
12851 cat > conftest.$ac_ext <<_LT_EOF
12852 subroutine foo
12853 implicit none
12854 integer a
12856 return
12858 _LT_EOF
12860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12861 (eval $ac_compile) 2>&5
12862 ac_status=$?
12863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12864 test $ac_status = 0; }; then
12865 # Parse the compiler output and extract the necessary
12866 # objects, libraries and library flags.
12868 # Sentinel used to keep track of whether or not we are before
12869 # the conftest object file.
12870 pre_test_object_deps_done=no
12872 for p in `eval "$output_verbose_link_cmd"`; do
12873 case $p in
12875 -L* | -R* | -l*)
12876 # Some compilers place space between "-{L,R}" and the path.
12877 # Remove the space.
12878 if test $p = "-L" ||
12879 test $p = "-R"; then
12880 prev=$p
12881 continue
12882 else
12883 prev=
12886 if test "$pre_test_object_deps_done" = no; then
12887 case $p in
12888 -L* | -R*)
12889 # Internal compiler library paths should come after those
12890 # provided the user. The postdeps already come after the
12891 # user supplied libs so there is no need to process them.
12892 if test -z "$compiler_lib_search_path_FC"; then
12893 compiler_lib_search_path_FC="${prev}${p}"
12894 else
12895 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12898 # The "-l" case would never come before the object being
12899 # linked, so don't bother handling this case.
12900 esac
12901 else
12902 if test -z "$postdeps_FC"; then
12903 postdeps_FC="${prev}${p}"
12904 else
12905 postdeps_FC="${postdeps_FC} ${prev}${p}"
12910 *.$objext)
12911 # This assumes that the test object file only shows up
12912 # once in the compiler output.
12913 if test "$p" = "conftest.$objext"; then
12914 pre_test_object_deps_done=yes
12915 continue
12918 if test "$pre_test_object_deps_done" = no; then
12919 if test -z "$predep_objects_FC"; then
12920 predep_objects_FC="$p"
12921 else
12922 predep_objects_FC="$predep_objects_FC $p"
12924 else
12925 if test -z "$postdep_objects_FC"; then
12926 postdep_objects_FC="$p"
12927 else
12928 postdep_objects_FC="$postdep_objects_FC $p"
12933 *) ;; # Ignore the rest.
12935 esac
12936 done
12938 # Clean up.
12939 rm -f a.out a.exe
12940 else
12941 echo "libtool.m4: error: problem compiling FC test program"
12944 $RM -f confest.$objext
12946 # PORTME: override above test on systems where it is broken
12949 case " $postdeps_FC " in
12950 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12951 esac
12952 compiler_lib_search_dirs_FC=
12953 if test -n "${compiler_lib_search_path_FC}"; then
12954 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12987 lt_prog_compiler_wl_FC=
12988 lt_prog_compiler_pic_FC=
12989 lt_prog_compiler_static_FC=
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12992 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12994 if test "$GCC" = yes; then
12995 lt_prog_compiler_wl_FC='-Wl,'
12996 lt_prog_compiler_static_FC='-static'
12998 case $host_os in
12999 aix*)
13000 # All AIX code is PIC.
13001 if test "$host_cpu" = ia64; then
13002 # AIX 5 now supports IA64 processor
13003 lt_prog_compiler_static_FC='-Bstatic'
13007 amigaos*)
13008 case $host_cpu in
13009 powerpc)
13010 # see comment about AmigaOS4 .so support
13011 lt_prog_compiler_pic_FC='-fPIC'
13013 m68k)
13014 # FIXME: we need at least 68020 code to build shared libraries, but
13015 # adding the `-m68020' flag to GCC prevents building anything better,
13016 # like `-m68040'.
13017 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13019 esac
13022 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13023 # PIC is the default for these OSes.
13026 mingw* | cygwin* | pw32* | os2* | cegcc*)
13027 # This hack is so that the source file can tell whether it is being
13028 # built for inclusion in a dll (and should export symbols for example).
13029 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13030 # (--disable-auto-import) libraries
13031 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13034 darwin* | rhapsody*)
13035 # PIC is the default on this platform
13036 # Common symbols not allowed in MH_DYLIB files
13037 lt_prog_compiler_pic_FC='-fno-common'
13040 haiku*)
13041 # PIC is the default for Haiku.
13042 # The "-static" flag exists, but is broken.
13043 lt_prog_compiler_static_FC=
13046 hpux*)
13047 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13048 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13049 # sets the default TLS model and affects inlining.
13050 case $host_cpu in
13051 hppa*64*)
13052 # +Z the default
13055 lt_prog_compiler_pic_FC='-fPIC'
13057 esac
13060 interix[3-9]*)
13061 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13062 # Instead, we relocate shared libraries at runtime.
13065 msdosdjgpp*)
13066 # Just because we use GCC doesn't mean we suddenly get shared libraries
13067 # on systems that don't support them.
13068 lt_prog_compiler_can_build_shared_FC=no
13069 enable_shared=no
13072 *nto* | *qnx*)
13073 # QNX uses GNU C++, but need to define -shared option too, otherwise
13074 # it will coredump.
13075 lt_prog_compiler_pic_FC='-fPIC -shared'
13078 sysv4*MP*)
13079 if test -d /usr/nec; then
13080 lt_prog_compiler_pic_FC=-Kconform_pic
13085 lt_prog_compiler_pic_FC='-fPIC'
13087 esac
13089 case $cc_basename in
13090 nvcc*) # Cuda Compiler Driver 2.2
13091 lt_prog_compiler_wl_FC='-Xlinker '
13092 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13094 esac
13095 else
13096 # PORTME Check for flag to pass linker flags through the system compiler.
13097 case $host_os in
13098 aix*)
13099 lt_prog_compiler_wl_FC='-Wl,'
13100 if test "$host_cpu" = ia64; then
13101 # AIX 5 now supports IA64 processor
13102 lt_prog_compiler_static_FC='-Bstatic'
13103 else
13104 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13108 mingw* | cygwin* | pw32* | os2* | cegcc*)
13109 # This hack is so that the source file can tell whether it is being
13110 # built for inclusion in a dll (and should export symbols for example).
13111 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13114 hpux9* | hpux10* | hpux11*)
13115 lt_prog_compiler_wl_FC='-Wl,'
13116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13117 # not for PA HP-UX.
13118 case $host_cpu in
13119 hppa*64*|ia64*)
13120 # +Z the default
13123 lt_prog_compiler_pic_FC='+Z'
13125 esac
13126 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13127 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13130 irix5* | irix6* | nonstopux*)
13131 lt_prog_compiler_wl_FC='-Wl,'
13132 # PIC (with -KPIC) is the default.
13133 lt_prog_compiler_static_FC='-non_shared'
13136 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13137 case $cc_basename in
13138 # old Intel for x86_64 which still supported -KPIC.
13139 ecc*)
13140 lt_prog_compiler_wl_FC='-Wl,'
13141 lt_prog_compiler_pic_FC='-KPIC'
13142 lt_prog_compiler_static_FC='-static'
13144 # icc used to be incompatible with GCC.
13145 # ICC 10 doesn't accept -KPIC any more.
13146 icc* | ifort*)
13147 lt_prog_compiler_wl_FC='-Wl,'
13148 lt_prog_compiler_pic_FC='-fPIC'
13149 lt_prog_compiler_static_FC='-static'
13151 # Lahey Fortran 8.1.
13152 lf95*)
13153 lt_prog_compiler_wl_FC='-Wl,'
13154 lt_prog_compiler_pic_FC='--shared'
13155 lt_prog_compiler_static_FC='--static'
13157 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13158 # Portland Group compilers (*not* the Pentium gcc compiler,
13159 # which looks to be a dead project)
13160 lt_prog_compiler_wl_FC='-Wl,'
13161 lt_prog_compiler_pic_FC='-fpic'
13162 lt_prog_compiler_static_FC='-Bstatic'
13164 ccc*)
13165 lt_prog_compiler_wl_FC='-Wl,'
13166 # All Alpha code is PIC.
13167 lt_prog_compiler_static_FC='-non_shared'
13169 xl* | bgxl* | bgf* | mpixl*)
13170 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13171 lt_prog_compiler_wl_FC='-Wl,'
13172 lt_prog_compiler_pic_FC='-qpic'
13173 lt_prog_compiler_static_FC='-qstaticlink'
13176 case `$CC -V 2>&1 | sed 5q` in
13177 *Sun\ F* | *Sun*Fortran*)
13178 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13179 lt_prog_compiler_pic_FC='-KPIC'
13180 lt_prog_compiler_static_FC='-Bstatic'
13181 lt_prog_compiler_wl_FC=''
13183 *Sun\ C*)
13184 # Sun C 5.9
13185 lt_prog_compiler_pic_FC='-KPIC'
13186 lt_prog_compiler_static_FC='-Bstatic'
13187 lt_prog_compiler_wl_FC='-Wl,'
13189 esac
13191 esac
13194 newsos6)
13195 lt_prog_compiler_pic_FC='-KPIC'
13196 lt_prog_compiler_static_FC='-Bstatic'
13199 *nto* | *qnx*)
13200 # QNX uses GNU C++, but need to define -shared option too, otherwise
13201 # it will coredump.
13202 lt_prog_compiler_pic_FC='-fPIC -shared'
13205 osf3* | osf4* | osf5*)
13206 lt_prog_compiler_wl_FC='-Wl,'
13207 # All OSF/1 code is PIC.
13208 lt_prog_compiler_static_FC='-non_shared'
13211 rdos*)
13212 lt_prog_compiler_static_FC='-non_shared'
13215 solaris*)
13216 lt_prog_compiler_pic_FC='-KPIC'
13217 lt_prog_compiler_static_FC='-Bstatic'
13218 case $cc_basename in
13219 f77* | f90* | f95*)
13220 lt_prog_compiler_wl_FC='-Qoption ld ';;
13222 lt_prog_compiler_wl_FC='-Wl,';;
13223 esac
13226 sunos4*)
13227 lt_prog_compiler_wl_FC='-Qoption ld '
13228 lt_prog_compiler_pic_FC='-PIC'
13229 lt_prog_compiler_static_FC='-Bstatic'
13232 sysv4 | sysv4.2uw2* | sysv4.3*)
13233 lt_prog_compiler_wl_FC='-Wl,'
13234 lt_prog_compiler_pic_FC='-KPIC'
13235 lt_prog_compiler_static_FC='-Bstatic'
13238 sysv4*MP*)
13239 if test -d /usr/nec ;then
13240 lt_prog_compiler_pic_FC='-Kconform_pic'
13241 lt_prog_compiler_static_FC='-Bstatic'
13245 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13246 lt_prog_compiler_wl_FC='-Wl,'
13247 lt_prog_compiler_pic_FC='-KPIC'
13248 lt_prog_compiler_static_FC='-Bstatic'
13251 unicos*)
13252 lt_prog_compiler_wl_FC='-Wl,'
13253 lt_prog_compiler_can_build_shared_FC=no
13256 uts4*)
13257 lt_prog_compiler_pic_FC='-pic'
13258 lt_prog_compiler_static_FC='-Bstatic'
13262 lt_prog_compiler_can_build_shared_FC=no
13264 esac
13267 case $host_os in
13268 # For platforms which do not support PIC, -DPIC is meaningless:
13269 *djgpp*)
13270 lt_prog_compiler_pic_FC=
13273 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13275 esac
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13277 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13282 # Check to make sure the PIC flag actually works.
13284 if test -n "$lt_prog_compiler_pic_FC"; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13286 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13287 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13288 $as_echo_n "(cached) " >&6
13289 else
13290 lt_cv_prog_compiler_pic_works_FC=no
13291 ac_outfile=conftest.$ac_objext
13292 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13293 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13294 # Insert the option either (1) after the last *FLAGS variable, or
13295 # (2) before a word containing "conftest.", or (3) at the end.
13296 # Note that $ac_compile itself does not contain backslashes and begins
13297 # with a dollar sign (not a hyphen), so the echo should work correctly.
13298 # The option is referenced via a variable to avoid confusing sed.
13299 lt_compile=`echo "$ac_compile" | $SED \
13300 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13301 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13302 -e 's:$: $lt_compiler_flag:'`
13303 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13304 (eval "$lt_compile" 2>conftest.err)
13305 ac_status=$?
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 if (exit $ac_status) && test -s "$ac_outfile"; then
13309 # The compiler can only warn and ignore the option if not recognized
13310 # So say no if there are warnings other than the usual output.
13311 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13312 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13313 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13314 lt_cv_prog_compiler_pic_works_FC=yes
13317 $RM conftest*
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13321 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13323 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13324 case $lt_prog_compiler_pic_FC in
13325 "" | " "*) ;;
13326 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13327 esac
13328 else
13329 lt_prog_compiler_pic_FC=
13330 lt_prog_compiler_can_build_shared_FC=no
13338 # Check to make sure the static flag actually works.
13340 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13342 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13343 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13344 $as_echo_n "(cached) " >&6
13345 else
13346 lt_cv_prog_compiler_static_works_FC=no
13347 save_LDFLAGS="$LDFLAGS"
13348 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13349 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13350 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13351 # The linker can only warn and ignore the option if not recognized
13352 # So say no if there are warnings
13353 if test -s conftest.err; then
13354 # Append any errors to the config.log.
13355 cat conftest.err 1>&5
13356 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13357 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13358 if diff conftest.exp conftest.er2 >/dev/null; then
13359 lt_cv_prog_compiler_static_works_FC=yes
13361 else
13362 lt_cv_prog_compiler_static_works_FC=yes
13365 $RM -r conftest*
13366 LDFLAGS="$save_LDFLAGS"
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13370 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13372 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13374 else
13375 lt_prog_compiler_static_FC=
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13382 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13383 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 lt_cv_prog_compiler_c_o_FC=no
13387 $RM -r conftest 2>/dev/null
13388 mkdir conftest
13389 cd conftest
13390 mkdir out
13391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13393 lt_compiler_flag="-o out/conftest2.$ac_objext"
13394 # Insert the option either (1) after the last *FLAGS variable, or
13395 # (2) before a word containing "conftest.", or (3) at the end.
13396 # Note that $ac_compile itself does not contain backslashes and begins
13397 # with a dollar sign (not a hyphen), so the echo should work correctly.
13398 lt_compile=`echo "$ac_compile" | $SED \
13399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13401 -e 's:$: $lt_compiler_flag:'`
13402 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13403 (eval "$lt_compile" 2>out/conftest.err)
13404 ac_status=$?
13405 cat out/conftest.err >&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13408 then
13409 # The compiler can only warn and ignore the option if not recognized
13410 # So say no if there are warnings
13411 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13412 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13413 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13414 lt_cv_prog_compiler_c_o_FC=yes
13417 chmod u+w . 2>&5
13418 $RM conftest*
13419 # SGI C++ compiler will create directory out/ii_files/ for
13420 # template instantiation
13421 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13422 $RM out/* && rmdir out
13423 cd ..
13424 $RM -r conftest
13425 $RM conftest*
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13429 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13434 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13435 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 lt_cv_prog_compiler_c_o_FC=no
13439 $RM -r conftest 2>/dev/null
13440 mkdir conftest
13441 cd conftest
13442 mkdir out
13443 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13445 lt_compiler_flag="-o out/conftest2.$ac_objext"
13446 # Insert the option either (1) after the last *FLAGS variable, or
13447 # (2) before a word containing "conftest.", or (3) at the end.
13448 # Note that $ac_compile itself does not contain backslashes and begins
13449 # with a dollar sign (not a hyphen), so the echo should work correctly.
13450 lt_compile=`echo "$ac_compile" | $SED \
13451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13453 -e 's:$: $lt_compiler_flag:'`
13454 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13455 (eval "$lt_compile" 2>out/conftest.err)
13456 ac_status=$?
13457 cat out/conftest.err >&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13460 then
13461 # The compiler can only warn and ignore the option if not recognized
13462 # So say no if there are warnings
13463 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13464 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13465 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13466 lt_cv_prog_compiler_c_o_FC=yes
13469 chmod u+w . 2>&5
13470 $RM conftest*
13471 # SGI C++ compiler will create directory out/ii_files/ for
13472 # template instantiation
13473 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13474 $RM out/* && rmdir out
13475 cd ..
13476 $RM -r conftest
13477 $RM conftest*
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13481 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13486 hard_links="nottested"
13487 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13488 # do not overwrite the value of need_locks provided by the user
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13490 $as_echo_n "checking if we can lock with hard links... " >&6; }
13491 hard_links=yes
13492 $RM conftest*
13493 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13494 touch conftest.a
13495 ln conftest.a conftest.b 2>&5 || hard_links=no
13496 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13498 $as_echo "$hard_links" >&6; }
13499 if test "$hard_links" = no; then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13501 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13502 need_locks=warn
13504 else
13505 need_locks=no
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13511 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13513 runpath_var=
13514 allow_undefined_flag_FC=
13515 always_export_symbols_FC=no
13516 archive_cmds_FC=
13517 archive_expsym_cmds_FC=
13518 compiler_needs_object_FC=no
13519 enable_shared_with_static_runtimes_FC=no
13520 export_dynamic_flag_spec_FC=
13521 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13522 hardcode_automatic_FC=no
13523 hardcode_direct_FC=no
13524 hardcode_direct_absolute_FC=no
13525 hardcode_libdir_flag_spec_FC=
13526 hardcode_libdir_flag_spec_ld_FC=
13527 hardcode_libdir_separator_FC=
13528 hardcode_minus_L_FC=no
13529 hardcode_shlibpath_var_FC=unsupported
13530 inherit_rpath_FC=no
13531 link_all_deplibs_FC=unknown
13532 module_cmds_FC=
13533 module_expsym_cmds_FC=
13534 old_archive_from_new_cmds_FC=
13535 old_archive_from_expsyms_cmds_FC=
13536 thread_safe_flag_spec_FC=
13537 whole_archive_flag_spec_FC=
13538 # include_expsyms should be a list of space-separated symbols to be *always*
13539 # included in the symbol list
13540 include_expsyms_FC=
13541 # exclude_expsyms can be an extended regexp of symbols to exclude
13542 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13543 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13544 # as well as any symbol that contains `d'.
13545 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13546 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13547 # platforms (ab)use it in PIC code, but their linkers get confused if
13548 # the symbol is explicitly referenced. Since portable code cannot
13549 # rely on this symbol name, it's probably fine to never include it in
13550 # preloaded symbol tables.
13551 # Exclude shared library initialization/finalization symbols.
13552 extract_expsyms_cmds=
13554 case $host_os in
13555 cygwin* | mingw* | pw32* | cegcc*)
13556 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13557 # When not using gcc, we currently assume that we are using
13558 # Microsoft Visual C++.
13559 if test "$GCC" != yes; then
13560 with_gnu_ld=no
13563 interix*)
13564 # we just hope/assume this is gcc and not c89 (= MSVC++)
13565 with_gnu_ld=yes
13567 openbsd*)
13568 with_gnu_ld=no
13570 esac
13572 ld_shlibs_FC=yes
13574 # On some targets, GNU ld is compatible enough with the native linker
13575 # that we're better off using the native interface for both.
13576 lt_use_gnu_ld_interface=no
13577 if test "$with_gnu_ld" = yes; then
13578 case $host_os in
13579 aix*)
13580 # The AIX port of GNU ld has always aspired to compatibility
13581 # with the native linker. However, as the warning in the GNU ld
13582 # block says, versions before 2.19.5* couldn't really create working
13583 # shared libraries, regardless of the interface used.
13584 case `$LD -v 2>&1` in
13585 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13586 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13587 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13589 lt_use_gnu_ld_interface=yes
13591 esac
13594 lt_use_gnu_ld_interface=yes
13596 esac
13599 if test "$lt_use_gnu_ld_interface" = yes; then
13600 # If archive_cmds runs LD, not CC, wlarc should be empty
13601 wlarc='${wl}'
13603 # Set some defaults for GNU ld with shared library support. These
13604 # are reset later if shared libraries are not supported. Putting them
13605 # here allows them to be overridden if necessary.
13606 runpath_var=LD_RUN_PATH
13607 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13608 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13609 # ancient GNU ld didn't support --whole-archive et. al.
13610 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13611 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13612 else
13613 whole_archive_flag_spec_FC=
13615 supports_anon_versioning=no
13616 case `$LD -v 2>&1` in
13617 *GNU\ gold*) supports_anon_versioning=yes ;;
13618 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13619 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13620 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13621 *\ 2.11.*) ;; # other 2.11 versions
13622 *) supports_anon_versioning=yes ;;
13623 esac
13625 # See if GNU ld supports shared libraries.
13626 case $host_os in
13627 aix[3-9]*)
13628 # On AIX/PPC, the GNU linker is very broken
13629 if test "$host_cpu" != ia64; then
13630 ld_shlibs_FC=no
13631 cat <<_LT_EOF 1>&2
13633 *** Warning: the GNU linker, at least up to release 2.19, is reported
13634 *** to be unable to reliably create shared libraries on AIX.
13635 *** Therefore, libtool is disabling shared libraries support. If you
13636 *** really care for shared libraries, you may want to install binutils
13637 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13638 *** You will then need to restart the configuration process.
13640 _LT_EOF
13644 amigaos*)
13645 case $host_cpu in
13646 powerpc)
13647 # see comment about AmigaOS4 .so support
13648 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13649 archive_expsym_cmds_FC=''
13651 m68k)
13652 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)'
13653 hardcode_libdir_flag_spec_FC='-L$libdir'
13654 hardcode_minus_L_FC=yes
13656 esac
13659 beos*)
13660 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13661 allow_undefined_flag_FC=unsupported
13662 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13663 # support --undefined. This deserves some investigation. FIXME
13664 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13665 else
13666 ld_shlibs_FC=no
13670 cygwin* | mingw* | pw32* | cegcc*)
13671 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13672 # as there is no search path for DLLs.
13673 hardcode_libdir_flag_spec_FC='-L$libdir'
13674 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13675 allow_undefined_flag_FC=unsupported
13676 always_export_symbols_FC=no
13677 enable_shared_with_static_runtimes_FC=yes
13678 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13680 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13681 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13682 # If the export-symbols file already is a .def file (1st line
13683 # is EXPORTS), use it as is; otherwise, prepend...
13684 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13685 cp $export_symbols $output_objdir/$soname.def;
13686 else
13687 echo EXPORTS > $output_objdir/$soname.def;
13688 cat $export_symbols >> $output_objdir/$soname.def;
13690 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13691 else
13692 ld_shlibs_FC=no
13696 haiku*)
13697 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13698 link_all_deplibs_FC=yes
13701 interix[3-9]*)
13702 hardcode_direct_FC=no
13703 hardcode_shlibpath_var_FC=no
13704 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13705 export_dynamic_flag_spec_FC='${wl}-E'
13706 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13707 # Instead, shared libraries are loaded at an image base (0x10000000 by
13708 # default) and relocated if they conflict, which is a slow very memory
13709 # consuming and fragmenting process. To avoid this, we pick a random,
13710 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13711 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13712 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'
13713 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'
13716 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13717 tmp_diet=no
13718 if test "$host_os" = linux-dietlibc; then
13719 case $cc_basename in
13720 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13721 esac
13723 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13724 && test "$tmp_diet" = no
13725 then
13726 tmp_addflag=
13727 tmp_sharedflag='-shared'
13728 case $cc_basename,$host_cpu in
13729 pgcc*) # Portland Group C compiler
13730 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'
13731 tmp_addflag=' $pic_flag'
13733 pgf77* | pgf90* | pgf95* | pgfortran*)
13734 # Portland Group f77 and f90 compilers
13735 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'
13736 tmp_addflag=' $pic_flag -Mnomain' ;;
13737 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13738 tmp_addflag=' -i_dynamic' ;;
13739 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13740 tmp_addflag=' -i_dynamic -nofor_main' ;;
13741 ifc* | ifort*) # Intel Fortran compiler
13742 tmp_addflag=' -nofor_main' ;;
13743 lf95*) # Lahey Fortran 8.1
13744 whole_archive_flag_spec_FC=
13745 tmp_sharedflag='--shared' ;;
13746 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13747 tmp_sharedflag='-qmkshrobj'
13748 tmp_addflag= ;;
13749 nvcc*) # Cuda Compiler Driver 2.2
13750 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'
13751 compiler_needs_object_FC=yes
13753 esac
13754 case `$CC -V 2>&1 | sed 5q` in
13755 *Sun\ C*) # Sun C 5.9
13756 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'
13757 compiler_needs_object_FC=yes
13758 tmp_sharedflag='-G' ;;
13759 *Sun\ F*) # Sun Fortran 8.3
13760 tmp_sharedflag='-G' ;;
13761 esac
13762 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13764 if test "x$supports_anon_versioning" = xyes; then
13765 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13766 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13767 echo "local: *; };" >> $output_objdir/$libname.ver~
13768 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13771 case $cc_basename in
13772 xlf* | bgf* | bgxlf* | mpixlf*)
13773 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13774 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13775 hardcode_libdir_flag_spec_FC=
13776 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13777 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13778 if test "x$supports_anon_versioning" = xyes; then
13779 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13780 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13781 echo "local: *; };" >> $output_objdir/$libname.ver~
13782 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13785 esac
13786 else
13787 ld_shlibs_FC=no
13791 netbsd*)
13792 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13793 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13794 wlarc=
13795 else
13796 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13797 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13801 solaris*)
13802 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13803 ld_shlibs_FC=no
13804 cat <<_LT_EOF 1>&2
13806 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13807 *** create shared libraries on Solaris systems. Therefore, libtool
13808 *** is disabling shared libraries support. We urge you to upgrade GNU
13809 *** binutils to release 2.9.1 or newer. Another option is to modify
13810 *** your PATH or compiler configuration so that the native linker is
13811 *** used, and then restart.
13813 _LT_EOF
13814 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13815 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13816 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13817 else
13818 ld_shlibs_FC=no
13822 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13823 case `$LD -v 2>&1` in
13824 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13825 ld_shlibs_FC=no
13826 cat <<_LT_EOF 1>&2
13828 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13829 *** reliably create shared libraries on SCO systems. Therefore, libtool
13830 *** is disabling shared libraries support. We urge you to upgrade GNU
13831 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13832 *** your PATH or compiler configuration so that the native linker is
13833 *** used, and then restart.
13835 _LT_EOF
13838 # For security reasons, it is highly recommended that you always
13839 # use absolute paths for naming shared libraries, and exclude the
13840 # DT_RUNPATH tag from executables and libraries. But doing so
13841 # requires that you compile everything twice, which is a pain.
13842 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13843 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13844 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13845 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13846 else
13847 ld_shlibs_FC=no
13850 esac
13853 sunos4*)
13854 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13855 wlarc=
13856 hardcode_direct_FC=yes
13857 hardcode_shlibpath_var_FC=no
13861 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13862 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13863 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13864 else
13865 ld_shlibs_FC=no
13868 esac
13870 if test "$ld_shlibs_FC" = no; then
13871 runpath_var=
13872 hardcode_libdir_flag_spec_FC=
13873 export_dynamic_flag_spec_FC=
13874 whole_archive_flag_spec_FC=
13876 else
13877 # PORTME fill in a description of your system's linker (not GNU ld)
13878 case $host_os in
13879 aix3*)
13880 allow_undefined_flag_FC=unsupported
13881 always_export_symbols_FC=yes
13882 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'
13883 # Note: this linker hardcodes the directories in LIBPATH if there
13884 # are no directories specified by -L.
13885 hardcode_minus_L_FC=yes
13886 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13887 # Neither direct hardcoding nor static linking is supported with a
13888 # broken collect2.
13889 hardcode_direct_FC=unsupported
13893 aix[4-9]*)
13894 if test "$host_cpu" = ia64; then
13895 # On IA64, the linker does run time linking by default, so we don't
13896 # have to do anything special.
13897 aix_use_runtimelinking=no
13898 exp_sym_flag='-Bexport'
13899 no_entry_flag=""
13900 else
13901 # If we're using GNU nm, then we don't want the "-C" option.
13902 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13903 # Also, AIX nm treats weak defined symbols like other global
13904 # defined symbols, whereas GNU nm marks them as "W".
13905 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13906 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'
13907 else
13908 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'
13910 aix_use_runtimelinking=no
13912 # Test if we are trying to use run time linking or normal
13913 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13914 # need to do runtime linking.
13915 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13916 for ld_flag in $LDFLAGS; do
13917 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13918 aix_use_runtimelinking=yes
13919 break
13921 done
13923 esac
13925 exp_sym_flag='-bexport'
13926 no_entry_flag='-bnoentry'
13929 # When large executables or shared objects are built, AIX ld can
13930 # have problems creating the table of contents. If linking a library
13931 # or program results in "error TOC overflow" add -mminimal-toc to
13932 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13933 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13935 archive_cmds_FC=''
13936 hardcode_direct_FC=yes
13937 hardcode_direct_absolute_FC=yes
13938 hardcode_libdir_separator_FC=':'
13939 link_all_deplibs_FC=yes
13940 file_list_spec_FC='${wl}-f,'
13942 if test "$GCC" = yes; then
13943 case $host_os in aix4.[012]|aix4.[012].*)
13944 # We only want to do this on AIX 4.2 and lower, the check
13945 # below for broken collect2 doesn't work under 4.3+
13946 collect2name=`${CC} -print-prog-name=collect2`
13947 if test -f "$collect2name" &&
13948 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13949 then
13950 # We have reworked collect2
13952 else
13953 # We have old collect2
13954 hardcode_direct_FC=unsupported
13955 # It fails to find uninstalled libraries when the uninstalled
13956 # path is not listed in the libpath. Setting hardcode_minus_L
13957 # to unsupported forces relinking
13958 hardcode_minus_L_FC=yes
13959 hardcode_libdir_flag_spec_FC='-L$libdir'
13960 hardcode_libdir_separator_FC=
13963 esac
13964 shared_flag='-shared'
13965 if test "$aix_use_runtimelinking" = yes; then
13966 shared_flag="$shared_flag "'${wl}-G'
13968 else
13969 # not using gcc
13970 if test "$host_cpu" = ia64; then
13971 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13972 # chokes on -Wl,-G. The following line is correct:
13973 shared_flag='-G'
13974 else
13975 if test "$aix_use_runtimelinking" = yes; then
13976 shared_flag='${wl}-G'
13977 else
13978 shared_flag='${wl}-bM:SRE'
13983 export_dynamic_flag_spec_FC='${wl}-bexpall'
13984 # It seems that -bexpall does not export symbols beginning with
13985 # underscore (_), so it is better to generate a list of symbols to export.
13986 always_export_symbols_FC=yes
13987 if test "$aix_use_runtimelinking" = yes; then
13988 # Warning - without using the other runtime loading flags (-brtl),
13989 # -berok will link without error, but may produce a broken library.
13990 allow_undefined_flag_FC='-berok'
13991 # Determine the default libpath from the value encoded in an
13992 # empty executable.
13993 if test x$gcc_no_link = xyes; then
13994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13996 cat > conftest.$ac_ext <<_ACEOF
13997 program main
14000 _ACEOF
14001 if ac_fn_fc_try_link "$LINENO"; then :
14003 lt_aix_libpath_sed='
14004 /Import File Strings/,/^$/ {
14005 /^0/ {
14006 s/^0 *\(.*\)$/\1/
14010 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14011 # Check for a 64-bit object if we didn't find anything.
14012 if test -z "$aix_libpath"; then
14013 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14020 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14021 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"
14022 else
14023 if test "$host_cpu" = ia64; then
14024 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14025 allow_undefined_flag_FC="-z nodefs"
14026 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"
14027 else
14028 # Determine the default libpath from the value encoded in an
14029 # empty executable.
14030 if test x$gcc_no_link = xyes; then
14031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14033 cat > conftest.$ac_ext <<_ACEOF
14034 program main
14037 _ACEOF
14038 if ac_fn_fc_try_link "$LINENO"; then :
14040 lt_aix_libpath_sed='
14041 /Import File Strings/,/^$/ {
14042 /^0/ {
14043 s/^0 *\(.*\)$/\1/
14047 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14048 # Check for a 64-bit object if we didn't find anything.
14049 if test -z "$aix_libpath"; then
14050 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14053 rm -f core conftest.err conftest.$ac_objext \
14054 conftest$ac_exeext conftest.$ac_ext
14055 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14057 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14058 # Warning - without using the other run time loading flags,
14059 # -berok will link without error, but may produce a broken library.
14060 no_undefined_flag_FC=' ${wl}-bernotok'
14061 allow_undefined_flag_FC=' ${wl}-berok'
14062 if test "$with_gnu_ld" = yes; then
14063 # We only use this code for GNU lds that support --whole-archive.
14064 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14065 else
14066 # Exported symbols can be pulled into shared objects from archives
14067 whole_archive_flag_spec_FC='$convenience'
14069 archive_cmds_need_lc_FC=yes
14070 # This is similar to how AIX traditionally builds its shared libraries.
14071 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'
14076 amigaos*)
14077 case $host_cpu in
14078 powerpc)
14079 # see comment about AmigaOS4 .so support
14080 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14081 archive_expsym_cmds_FC=''
14083 m68k)
14084 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)'
14085 hardcode_libdir_flag_spec_FC='-L$libdir'
14086 hardcode_minus_L_FC=yes
14088 esac
14091 bsdi[45]*)
14092 export_dynamic_flag_spec_FC=-rdynamic
14095 cygwin* | mingw* | pw32* | cegcc*)
14096 # When not using gcc, we currently assume that we are using
14097 # Microsoft Visual C++.
14098 # hardcode_libdir_flag_spec is actually meaningless, as there is
14099 # no search path for DLLs.
14100 hardcode_libdir_flag_spec_FC=' '
14101 allow_undefined_flag_FC=unsupported
14102 # Tell ltmain to make .lib files, not .a files.
14103 libext=lib
14104 # Tell ltmain to make .dll files, not .so files.
14105 shrext_cmds=".dll"
14106 # FIXME: Setting linknames here is a bad hack.
14107 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14108 # The linker will automatically build a .lib file if we build a DLL.
14109 old_archive_from_new_cmds_FC='true'
14110 # FIXME: Should let the user specify the lib program.
14111 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14112 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14113 enable_shared_with_static_runtimes_FC=yes
14116 darwin* | rhapsody*)
14119 archive_cmds_need_lc_FC=no
14120 hardcode_direct_FC=no
14121 hardcode_automatic_FC=yes
14122 hardcode_shlibpath_var_FC=unsupported
14123 if test "$lt_cv_ld_force_load" = "yes"; then
14124 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\"`'
14125 else
14126 whole_archive_flag_spec_FC=''
14128 link_all_deplibs_FC=yes
14129 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14130 case $cc_basename in
14131 ifort*) _lt_dar_can_shared=yes ;;
14132 *) _lt_dar_can_shared=$GCC ;;
14133 esac
14134 if test "$_lt_dar_can_shared" = "yes"; then
14135 output_verbose_link_cmd=func_echo_all
14136 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}"
14137 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14138 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}"
14139 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}"
14141 else
14142 ld_shlibs_FC=no
14147 dgux*)
14148 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14149 hardcode_libdir_flag_spec_FC='-L$libdir'
14150 hardcode_shlibpath_var_FC=no
14153 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14154 # support. Future versions do this automatically, but an explicit c++rt0.o
14155 # does not break anything, and helps significantly (at the cost of a little
14156 # extra space).
14157 freebsd2.2*)
14158 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14159 hardcode_libdir_flag_spec_FC='-R$libdir'
14160 hardcode_direct_FC=yes
14161 hardcode_shlibpath_var_FC=no
14164 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14165 freebsd2*)
14166 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14167 hardcode_direct_FC=yes
14168 hardcode_minus_L_FC=yes
14169 hardcode_shlibpath_var_FC=no
14172 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14173 freebsd* | dragonfly*)
14174 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14175 hardcode_libdir_flag_spec_FC='-R$libdir'
14176 hardcode_direct_FC=yes
14177 hardcode_shlibpath_var_FC=no
14180 hpux9*)
14181 if test "$GCC" = yes; then
14182 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'
14183 else
14184 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'
14186 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14187 hardcode_libdir_separator_FC=:
14188 hardcode_direct_FC=yes
14190 # hardcode_minus_L: Not really in the search PATH,
14191 # but as the default location of the library.
14192 hardcode_minus_L_FC=yes
14193 export_dynamic_flag_spec_FC='${wl}-E'
14196 hpux10*)
14197 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14198 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14199 else
14200 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14202 if test "$with_gnu_ld" = no; then
14203 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14204 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14205 hardcode_libdir_separator_FC=:
14206 hardcode_direct_FC=yes
14207 hardcode_direct_absolute_FC=yes
14208 export_dynamic_flag_spec_FC='${wl}-E'
14209 # hardcode_minus_L: Not really in the search PATH,
14210 # but as the default location of the library.
14211 hardcode_minus_L_FC=yes
14215 hpux11*)
14216 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14217 case $host_cpu in
14218 hppa*64*)
14219 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14221 ia64*)
14222 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14225 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14227 esac
14228 else
14229 case $host_cpu in
14230 hppa*64*)
14231 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14233 ia64*)
14234 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14237 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14239 esac
14241 if test "$with_gnu_ld" = no; then
14242 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14243 hardcode_libdir_separator_FC=:
14245 case $host_cpu in
14246 hppa*64*|ia64*)
14247 hardcode_direct_FC=no
14248 hardcode_shlibpath_var_FC=no
14251 hardcode_direct_FC=yes
14252 hardcode_direct_absolute_FC=yes
14253 export_dynamic_flag_spec_FC='${wl}-E'
14255 # hardcode_minus_L: Not really in the search PATH,
14256 # but as the default location of the library.
14257 hardcode_minus_L_FC=yes
14259 esac
14263 irix5* | irix6* | nonstopux*)
14264 if test "$GCC" = yes; then
14265 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'
14266 # Try to use the -exported_symbol ld option, if it does not
14267 # work, assume that -exports_file does not work either and
14268 # implicitly export all symbols.
14269 save_LDFLAGS="$LDFLAGS"
14270 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14271 if test x$gcc_no_link = xyes; then
14272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14274 cat > conftest.$ac_ext <<_ACEOF
14275 int foo(void) {}
14276 _ACEOF
14277 if ac_fn_fc_try_link "$LINENO"; then :
14278 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'
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LDFLAGS="$save_LDFLAGS"
14284 else
14285 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'
14286 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'
14288 archive_cmds_need_lc_FC='no'
14289 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14290 hardcode_libdir_separator_FC=:
14291 inherit_rpath_FC=yes
14292 link_all_deplibs_FC=yes
14295 netbsd*)
14296 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14297 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14298 else
14299 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14301 hardcode_libdir_flag_spec_FC='-R$libdir'
14302 hardcode_direct_FC=yes
14303 hardcode_shlibpath_var_FC=no
14306 newsos6)
14307 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14308 hardcode_direct_FC=yes
14309 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14310 hardcode_libdir_separator_FC=:
14311 hardcode_shlibpath_var_FC=no
14314 *nto* | *qnx*)
14317 openbsd*)
14318 if test -f /usr/libexec/ld.so; then
14319 hardcode_direct_FC=yes
14320 hardcode_shlibpath_var_FC=no
14321 hardcode_direct_absolute_FC=yes
14322 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14323 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14324 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14325 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14326 export_dynamic_flag_spec_FC='${wl}-E'
14327 else
14328 case $host_os in
14329 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14330 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14331 hardcode_libdir_flag_spec_FC='-R$libdir'
14334 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14335 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14337 esac
14339 else
14340 ld_shlibs_FC=no
14344 os2*)
14345 hardcode_libdir_flag_spec_FC='-L$libdir'
14346 hardcode_minus_L_FC=yes
14347 allow_undefined_flag_FC=unsupported
14348 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'
14349 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14352 osf3*)
14353 if test "$GCC" = yes; then
14354 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14355 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'
14356 else
14357 allow_undefined_flag_FC=' -expect_unresolved \*'
14358 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'
14360 archive_cmds_need_lc_FC='no'
14361 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14362 hardcode_libdir_separator_FC=:
14365 osf4* | osf5*) # as osf3* with the addition of -msym flag
14366 if test "$GCC" = yes; then
14367 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14368 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'
14369 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14370 else
14371 allow_undefined_flag_FC=' -expect_unresolved \*'
14372 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'
14373 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~
14374 $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'
14376 # Both c and cxx compiler support -rpath directly
14377 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14379 archive_cmds_need_lc_FC='no'
14380 hardcode_libdir_separator_FC=:
14383 solaris*)
14384 no_undefined_flag_FC=' -z defs'
14385 if test "$GCC" = yes; then
14386 wlarc='${wl}'
14387 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14388 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14389 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14390 else
14391 case `$CC -V 2>&1` in
14392 *"Compilers 5.0"*)
14393 wlarc=''
14394 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14395 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14396 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14399 wlarc='${wl}'
14400 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14401 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14402 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14404 esac
14406 hardcode_libdir_flag_spec_FC='-R$libdir'
14407 hardcode_shlibpath_var_FC=no
14408 case $host_os in
14409 solaris2.[0-5] | solaris2.[0-5].*) ;;
14411 # The compiler driver will combine and reorder linker options,
14412 # but understands `-z linker_flag'. GCC discards it without `$wl',
14413 # but is careful enough not to reorder.
14414 # Supported since Solaris 2.6 (maybe 2.5.1?)
14415 if test "$GCC" = yes; then
14416 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14417 else
14418 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14421 esac
14422 link_all_deplibs_FC=yes
14425 sunos4*)
14426 if test "x$host_vendor" = xsequent; then
14427 # Use $CC to link under sequent, because it throws in some extra .o
14428 # files that make .init and .fini sections work.
14429 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14430 else
14431 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14433 hardcode_libdir_flag_spec_FC='-L$libdir'
14434 hardcode_direct_FC=yes
14435 hardcode_minus_L_FC=yes
14436 hardcode_shlibpath_var_FC=no
14439 sysv4)
14440 case $host_vendor in
14441 sni)
14442 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14443 hardcode_direct_FC=yes # is this really true???
14445 siemens)
14446 ## LD is ld it makes a PLAMLIB
14447 ## CC just makes a GrossModule.
14448 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14449 reload_cmds_FC='$CC -r -o $output$reload_objs'
14450 hardcode_direct_FC=no
14452 motorola)
14453 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14454 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14456 esac
14457 runpath_var='LD_RUN_PATH'
14458 hardcode_shlibpath_var_FC=no
14461 sysv4.3*)
14462 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14463 hardcode_shlibpath_var_FC=no
14464 export_dynamic_flag_spec_FC='-Bexport'
14467 sysv4*MP*)
14468 if test -d /usr/nec; then
14469 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14470 hardcode_shlibpath_var_FC=no
14471 runpath_var=LD_RUN_PATH
14472 hardcode_runpath_var=yes
14473 ld_shlibs_FC=yes
14477 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14478 no_undefined_flag_FC='${wl}-z,text'
14479 archive_cmds_need_lc_FC=no
14480 hardcode_shlibpath_var_FC=no
14481 runpath_var='LD_RUN_PATH'
14483 if test "$GCC" = yes; then
14484 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14485 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14486 else
14487 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14488 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14492 sysv5* | sco3.2v5* | sco5v6*)
14493 # Note: We can NOT use -z defs as we might desire, because we do not
14494 # link with -lc, and that would cause any symbols used from libc to
14495 # always be unresolved, which means just about no library would
14496 # ever link correctly. If we're not using GNU ld we use -z text
14497 # though, which does catch some bad symbols but isn't as heavy-handed
14498 # as -z defs.
14499 no_undefined_flag_FC='${wl}-z,text'
14500 allow_undefined_flag_FC='${wl}-z,nodefs'
14501 archive_cmds_need_lc_FC=no
14502 hardcode_shlibpath_var_FC=no
14503 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14504 hardcode_libdir_separator_FC=':'
14505 link_all_deplibs_FC=yes
14506 export_dynamic_flag_spec_FC='${wl}-Bexport'
14507 runpath_var='LD_RUN_PATH'
14509 if test "$GCC" = yes; then
14510 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14511 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14512 else
14513 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14514 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14518 uts4*)
14519 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14520 hardcode_libdir_flag_spec_FC='-L$libdir'
14521 hardcode_shlibpath_var_FC=no
14525 ld_shlibs_FC=no
14527 esac
14529 if test x$host_vendor = xsni; then
14530 case $host in
14531 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14532 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14534 esac
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14539 $as_echo "$ld_shlibs_FC" >&6; }
14540 test "$ld_shlibs_FC" = no && can_build_shared=no
14542 with_gnu_ld_FC=$with_gnu_ld
14550 # Do we need to explicitly link libc?
14552 case "x$archive_cmds_need_lc_FC" in
14553 x|xyes)
14554 # Assume -lc should be added
14555 archive_cmds_need_lc_FC=yes
14557 if test "$enable_shared" = yes && test "$GCC" = yes; then
14558 case $archive_cmds_FC in
14559 *'~'*)
14560 # FIXME: we may have to deal with multi-command sequences.
14562 '$CC '*)
14563 # Test whether the compiler implicitly links with -lc since on some
14564 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14565 # to ld, don't add -lc before -lgcc.
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14567 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14568 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 $RM conftest*
14572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14575 (eval $ac_compile) 2>&5
14576 ac_status=$?
14577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14578 test $ac_status = 0; } 2>conftest.err; then
14579 soname=conftest
14580 lib=conftest
14581 libobjs=conftest.$ac_objext
14582 deplibs=
14583 wl=$lt_prog_compiler_wl_FC
14584 pic_flag=$lt_prog_compiler_pic_FC
14585 compiler_flags=-v
14586 linker_flags=-v
14587 verstring=
14588 output_objdir=.
14589 libname=conftest
14590 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14591 allow_undefined_flag_FC=
14592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14593 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14594 ac_status=$?
14595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596 test $ac_status = 0; }
14597 then
14598 lt_cv_archive_cmds_need_lc_FC=no
14599 else
14600 lt_cv_archive_cmds_need_lc_FC=yes
14602 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14603 else
14604 cat conftest.err 1>&5
14606 $RM conftest*
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14610 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14611 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14613 esac
14616 esac
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14682 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14684 library_names_spec=
14685 libname_spec='lib$name'
14686 soname_spec=
14687 shrext_cmds=".so"
14688 postinstall_cmds=
14689 postuninstall_cmds=
14690 finish_cmds=
14691 finish_eval=
14692 shlibpath_var=
14693 shlibpath_overrides_runpath=unknown
14694 version_type=none
14695 dynamic_linker="$host_os ld.so"
14696 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14697 need_lib_prefix=unknown
14698 hardcode_into_libs=no
14700 # when you set need_version to no, make sure it does not cause -set_version
14701 # flags to be left without arguments
14702 need_version=unknown
14704 case $host_os in
14705 aix3*)
14706 version_type=linux
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14708 shlibpath_var=LIBPATH
14710 # AIX 3 has no versioning support, so we append a major version to the name.
14711 soname_spec='${libname}${release}${shared_ext}$major'
14714 aix[4-9]*)
14715 version_type=linux
14716 need_lib_prefix=no
14717 need_version=no
14718 hardcode_into_libs=yes
14719 if test "$host_cpu" = ia64; then
14720 # AIX 5 supports IA64
14721 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 else
14724 # With GCC up to 2.95.x, collect2 would create an import file
14725 # for dependence libraries. The import file would start with
14726 # the line `#! .'. This would cause the generated library to
14727 # depend on `.', always an invalid library. This was fixed in
14728 # development snapshots of GCC prior to 3.0.
14729 case $host_os in
14730 aix4 | aix4.[01] | aix4.[01].*)
14731 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14732 echo ' yes '
14733 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14735 else
14736 can_build_shared=no
14739 esac
14740 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14741 # soname into executable. Probably we can add versioning support to
14742 # collect2, so additional links can be useful in future.
14743 if test "$aix_use_runtimelinking" = yes; then
14744 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14745 # instead of lib<name>.a to let people know that these are not
14746 # typical AIX shared libraries.
14747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14748 else
14749 # We preserve .a as extension for shared libraries through AIX4.2
14750 # and later when we are not doing run time linking.
14751 library_names_spec='${libname}${release}.a $libname.a'
14752 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LIBPATH
14758 amigaos*)
14759 case $host_cpu in
14760 powerpc)
14761 # Since July 2007 AmigaOS4 officially supports .so libraries.
14762 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14765 m68k)
14766 library_names_spec='$libname.ixlibrary $libname.a'
14767 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14768 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'
14770 esac
14773 beos*)
14774 library_names_spec='${libname}${shared_ext}'
14775 dynamic_linker="$host_os ld.so"
14776 shlibpath_var=LIBRARY_PATH
14779 bsdi[45]*)
14780 version_type=linux
14781 need_version=no
14782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 soname_spec='${libname}${release}${shared_ext}$major'
14784 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14785 shlibpath_var=LD_LIBRARY_PATH
14786 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14787 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14788 # the default ld.so.conf also contains /usr/contrib/lib and
14789 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14790 # libtool to hard-code these into programs
14793 cygwin* | mingw* | pw32* | cegcc*)
14794 version_type=windows
14795 shrext_cmds=".dll"
14796 need_version=no
14797 need_lib_prefix=no
14799 case $GCC,$host_os in
14800 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14801 library_names_spec='$libname.dll.a'
14802 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14803 postinstall_cmds='base_file=`basename \${file}`~
14804 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14805 dldir=$destdir/`dirname \$dlpath`~
14806 test -d \$dldir || mkdir -p \$dldir~
14807 $install_prog $dir/$dlname \$dldir/$dlname~
14808 chmod a+x \$dldir/$dlname~
14809 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14810 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14812 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14813 dlpath=$dir/\$dldll~
14814 $RM \$dlpath'
14815 shlibpath_overrides_runpath=yes
14817 case $host_os in
14818 cygwin*)
14819 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14820 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14823 mingw* | cegcc*)
14824 # MinGW DLLs use traditional 'lib' prefix
14825 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14827 pw32*)
14828 # pw32 DLLs use 'pw' prefix rather than 'lib'
14829 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14831 esac
14835 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14837 esac
14838 dynamic_linker='Win32 ld.exe'
14839 # FIXME: first we should search . and the directory the executable is in
14840 shlibpath_var=PATH
14843 darwin* | rhapsody*)
14844 dynamic_linker="$host_os dyld"
14845 version_type=darwin
14846 need_lib_prefix=no
14847 need_version=no
14848 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14849 soname_spec='${libname}${release}${major}$shared_ext'
14850 shlibpath_overrides_runpath=yes
14851 shlibpath_var=DYLD_LIBRARY_PATH
14852 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14854 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14857 dgux*)
14858 version_type=linux
14859 need_lib_prefix=no
14860 need_version=no
14861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14862 soname_spec='${libname}${release}${shared_ext}$major'
14863 shlibpath_var=LD_LIBRARY_PATH
14866 freebsd* | dragonfly*)
14867 # DragonFly does not have aout. When/if they implement a new
14868 # versioning mechanism, adjust this.
14869 if test -x /usr/bin/objformat; then
14870 objformat=`/usr/bin/objformat`
14871 else
14872 case $host_os in
14873 freebsd[123]*) objformat=aout ;;
14874 *) objformat=elf ;;
14875 esac
14877 version_type=freebsd-$objformat
14878 case $version_type in
14879 freebsd-elf*)
14880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14881 need_version=no
14882 need_lib_prefix=no
14884 freebsd-*)
14885 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14886 need_version=yes
14888 esac
14889 shlibpath_var=LD_LIBRARY_PATH
14890 case $host_os in
14891 freebsd2*)
14892 shlibpath_overrides_runpath=yes
14894 freebsd3.[01]* | freebsdelf3.[01]*)
14895 shlibpath_overrides_runpath=yes
14896 hardcode_into_libs=yes
14898 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14899 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14900 shlibpath_overrides_runpath=no
14901 hardcode_into_libs=yes
14903 *) # from 4.6 on, and DragonFly
14904 shlibpath_overrides_runpath=yes
14905 hardcode_into_libs=yes
14907 esac
14910 gnu*)
14911 version_type=linux
14912 need_lib_prefix=no
14913 need_version=no
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14916 shlibpath_var=LD_LIBRARY_PATH
14917 hardcode_into_libs=yes
14920 haiku*)
14921 version_type=linux
14922 need_lib_prefix=no
14923 need_version=no
14924 dynamic_linker="$host_os runtime_loader"
14925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14926 soname_spec='${libname}${release}${shared_ext}$major'
14927 shlibpath_var=LIBRARY_PATH
14928 shlibpath_overrides_runpath=yes
14929 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14930 hardcode_into_libs=yes
14933 hpux9* | hpux10* | hpux11*)
14934 # Give a soname corresponding to the major version so that dld.sl refuses to
14935 # link against other versions.
14936 version_type=sunos
14937 need_lib_prefix=no
14938 need_version=no
14939 case $host_cpu in
14940 ia64*)
14941 shrext_cmds='.so'
14942 hardcode_into_libs=yes
14943 dynamic_linker="$host_os dld.so"
14944 shlibpath_var=LD_LIBRARY_PATH
14945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 soname_spec='${libname}${release}${shared_ext}$major'
14948 if test "X$HPUX_IA64_MODE" = X32; then
14949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14950 else
14951 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14955 hppa*64*)
14956 shrext_cmds='.sl'
14957 hardcode_into_libs=yes
14958 dynamic_linker="$host_os dld.sl"
14959 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14960 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14962 soname_spec='${libname}${release}${shared_ext}$major'
14963 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14964 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14967 shrext_cmds='.sl'
14968 dynamic_linker="$host_os dld.sl"
14969 shlibpath_var=SHLIB_PATH
14970 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 soname_spec='${libname}${release}${shared_ext}$major'
14974 esac
14975 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14976 postinstall_cmds='chmod 555 $lib'
14977 # or fails outright, so override atomically:
14978 install_override_mode=555
14981 interix[3-9]*)
14982 version_type=linux
14983 need_lib_prefix=no
14984 need_version=no
14985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14986 soname_spec='${libname}${release}${shared_ext}$major'
14987 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14988 shlibpath_var=LD_LIBRARY_PATH
14989 shlibpath_overrides_runpath=no
14990 hardcode_into_libs=yes
14993 irix5* | irix6* | nonstopux*)
14994 case $host_os in
14995 nonstopux*) version_type=nonstopux ;;
14997 if test "$lt_cv_prog_gnu_ld" = yes; then
14998 version_type=linux
14999 else
15000 version_type=irix
15001 fi ;;
15002 esac
15003 need_lib_prefix=no
15004 need_version=no
15005 soname_spec='${libname}${release}${shared_ext}$major'
15006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15007 case $host_os in
15008 irix5* | nonstopux*)
15009 libsuff= shlibsuff=
15012 case $LD in # libtool.m4 will add one of these switches to LD
15013 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15014 libsuff= shlibsuff= libmagic=32-bit;;
15015 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15016 libsuff=32 shlibsuff=N32 libmagic=N32;;
15017 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15018 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15019 *) libsuff= shlibsuff= libmagic=never-match;;
15020 esac
15022 esac
15023 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15024 shlibpath_overrides_runpath=no
15025 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15026 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15027 hardcode_into_libs=yes
15030 # No shared lib support for Linux oldld, aout, or coff.
15031 linux*oldld* | linux*aout* | linux*coff*)
15032 dynamic_linker=no
15035 # This must be Linux ELF.
15036 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15037 version_type=linux
15038 need_lib_prefix=no
15039 need_version=no
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec='${libname}${release}${shared_ext}$major'
15042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15043 shlibpath_var=LD_LIBRARY_PATH
15044 shlibpath_overrides_runpath=no
15046 # Some binutils ld are patched to set DT_RUNPATH
15047 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 lt_cv_shlibpath_overrides_runpath=no
15051 save_LDFLAGS=$LDFLAGS
15052 save_libdir=$libdir
15053 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15054 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15055 if test x$gcc_no_link = xyes; then
15056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15058 cat > conftest.$ac_ext <<_ACEOF
15059 program main
15062 _ACEOF
15063 if ac_fn_fc_try_link "$LINENO"; then :
15064 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15065 lt_cv_shlibpath_overrides_runpath=yes
15068 rm -f core conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15070 LDFLAGS=$save_LDFLAGS
15071 libdir=$save_libdir
15075 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15077 # This implies no fast_install, which is unacceptable.
15078 # Some rework will be needed to allow for fast_install
15079 # before this can be enabled.
15080 hardcode_into_libs=yes
15082 # Append ld.so.conf contents to the search path
15083 if test -f /etc/ld.so.conf; then
15084 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' ' '`
15085 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15088 # We used to test for /lib/ld.so.1 and disable shared libraries on
15089 # powerpc, because MkLinux only supported shared libraries with the
15090 # GNU dynamic linker. Since this was broken with cross compilers,
15091 # most powerpc-linux boxes support dynamic linking these days and
15092 # people can always --disable-shared, the test was removed, and we
15093 # assume the GNU/Linux dynamic linker is in use.
15094 dynamic_linker='GNU/Linux ld.so'
15097 netbsd*)
15098 version_type=sunos
15099 need_lib_prefix=no
15100 need_version=no
15101 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15103 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15104 dynamic_linker='NetBSD (a.out) ld.so'
15105 else
15106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15107 soname_spec='${libname}${release}${shared_ext}$major'
15108 dynamic_linker='NetBSD ld.elf_so'
15110 shlibpath_var=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath=yes
15112 hardcode_into_libs=yes
15115 newsos6)
15116 version_type=linux
15117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15118 shlibpath_var=LD_LIBRARY_PATH
15119 shlibpath_overrides_runpath=yes
15122 *nto* | *qnx*)
15123 version_type=qnx
15124 need_lib_prefix=no
15125 need_version=no
15126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15127 soname_spec='${libname}${release}${shared_ext}$major'
15128 shlibpath_var=LD_LIBRARY_PATH
15129 shlibpath_overrides_runpath=no
15130 hardcode_into_libs=yes
15131 dynamic_linker='ldqnx.so'
15134 openbsd*)
15135 version_type=sunos
15136 sys_lib_dlsearch_path_spec="/usr/lib"
15137 need_lib_prefix=no
15138 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15139 case $host_os in
15140 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15141 *) need_version=no ;;
15142 esac
15143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15144 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15145 shlibpath_var=LD_LIBRARY_PATH
15146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15147 case $host_os in
15148 openbsd2.[89] | openbsd2.[89].*)
15149 shlibpath_overrides_runpath=no
15152 shlibpath_overrides_runpath=yes
15154 esac
15155 else
15156 shlibpath_overrides_runpath=yes
15160 os2*)
15161 libname_spec='$name'
15162 shrext_cmds=".dll"
15163 need_lib_prefix=no
15164 library_names_spec='$libname${shared_ext} $libname.a'
15165 dynamic_linker='OS/2 ld.exe'
15166 shlibpath_var=LIBPATH
15169 osf3* | osf4* | osf5*)
15170 version_type=osf
15171 need_lib_prefix=no
15172 need_version=no
15173 soname_spec='${libname}${release}${shared_ext}$major'
15174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175 shlibpath_var=LD_LIBRARY_PATH
15176 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15177 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15180 rdos*)
15181 dynamic_linker=no
15184 solaris*)
15185 version_type=linux
15186 need_lib_prefix=no
15187 need_version=no
15188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189 soname_spec='${libname}${release}${shared_ext}$major'
15190 shlibpath_var=LD_LIBRARY_PATH
15191 shlibpath_overrides_runpath=yes
15192 hardcode_into_libs=yes
15193 # ldd complains unless libraries are executable
15194 postinstall_cmds='chmod +x $lib'
15197 sunos4*)
15198 version_type=sunos
15199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15200 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15201 shlibpath_var=LD_LIBRARY_PATH
15202 shlibpath_overrides_runpath=yes
15203 if test "$with_gnu_ld" = yes; then
15204 need_lib_prefix=no
15206 need_version=yes
15209 sysv4 | sysv4.3*)
15210 version_type=linux
15211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212 soname_spec='${libname}${release}${shared_ext}$major'
15213 shlibpath_var=LD_LIBRARY_PATH
15214 case $host_vendor in
15215 sni)
15216 shlibpath_overrides_runpath=no
15217 need_lib_prefix=no
15218 runpath_var=LD_RUN_PATH
15220 siemens)
15221 need_lib_prefix=no
15223 motorola)
15224 need_lib_prefix=no
15225 need_version=no
15226 shlibpath_overrides_runpath=no
15227 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15229 esac
15232 sysv4*MP*)
15233 if test -d /usr/nec ;then
15234 version_type=linux
15235 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15236 soname_spec='$libname${shared_ext}.$major'
15237 shlibpath_var=LD_LIBRARY_PATH
15241 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15242 version_type=freebsd-elf
15243 need_lib_prefix=no
15244 need_version=no
15245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15246 soname_spec='${libname}${release}${shared_ext}$major'
15247 shlibpath_var=LD_LIBRARY_PATH
15248 shlibpath_overrides_runpath=yes
15249 hardcode_into_libs=yes
15250 if test "$with_gnu_ld" = yes; then
15251 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15252 else
15253 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15254 case $host_os in
15255 sco3.2v5*)
15256 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15258 esac
15260 sys_lib_dlsearch_path_spec='/usr/lib'
15263 tpf*)
15264 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15265 version_type=linux
15266 need_lib_prefix=no
15267 need_version=no
15268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269 shlibpath_var=LD_LIBRARY_PATH
15270 shlibpath_overrides_runpath=no
15271 hardcode_into_libs=yes
15274 uts4*)
15275 version_type=linux
15276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15277 soname_spec='${libname}${release}${shared_ext}$major'
15278 shlibpath_var=LD_LIBRARY_PATH
15282 dynamic_linker=no
15284 esac
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15286 $as_echo "$dynamic_linker" >&6; }
15287 test "$dynamic_linker" = no && can_build_shared=no
15289 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15290 if test "$GCC" = yes; then
15291 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15294 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15295 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15297 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15298 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15339 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15340 hardcode_action_FC=
15341 if test -n "$hardcode_libdir_flag_spec_FC" ||
15342 test -n "$runpath_var_FC" ||
15343 test "X$hardcode_automatic_FC" = "Xyes" ; then
15345 # We can hardcode non-existent directories.
15346 if test "$hardcode_direct_FC" != no &&
15347 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15348 # have to relink, otherwise we might link with an installed library
15349 # when we should be linking with a yet-to-be-installed one
15350 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15351 test "$hardcode_minus_L_FC" != no; then
15352 # Linking always hardcodes the temporary library directory.
15353 hardcode_action_FC=relink
15354 else
15355 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15356 hardcode_action_FC=immediate
15358 else
15359 # We cannot hardcode anything, or else we can only hardcode existing
15360 # directories.
15361 hardcode_action_FC=unsupported
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15364 $as_echo "$hardcode_action_FC" >&6; }
15366 if test "$hardcode_action_FC" = relink ||
15367 test "$inherit_rpath_FC" = yes; then
15368 # Fast installation is not supported
15369 enable_fast_install=no
15370 elif test "$shlibpath_overrides_runpath" = yes ||
15371 test "$enable_shared" = no; then
15372 # Fast installation is not necessary
15373 enable_fast_install=needless
15382 fi # test -n "$compiler"
15384 GCC=$lt_save_GCC
15385 CC="$lt_save_CC"
15386 fi # test "$_lt_disable_FC" != yes
15388 ac_ext=c
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15396 # extra LD Flags which are required for targets
15397 case "${host}" in
15398 *-darwin*)
15399 # Darwin needs -single_module when linking libgfortran
15400 extra_ldflags_libgfortran=-Wl,-single_module
15402 esac
15405 # We need a working compiler at that point, otherwise give a clear
15406 # error message and bail out.
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15409 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15410 ac_ext=${ac_fc_srcext-f}
15411 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15412 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15413 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15415 cat > conftest.$ac_ext <<_ACEOF
15417 program foo
15418 real, parameter :: bar = sin (12.34 / 2.5)
15419 end program foo
15420 _ACEOF
15421 if ac_fn_fc_try_compile "$LINENO"; then :
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15423 $as_echo "yes" >&6; }
15424 else
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15426 $as_echo "no" >&6; }
15427 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15431 ac_ext=c
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15439 # Check whether --enable-largefile was given.
15440 if test "${enable_largefile+set}" = set; then :
15441 enableval=$enable_largefile;
15444 if test "$enable_largefile" != no; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15447 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15448 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 ac_cv_sys_largefile_CC=no
15452 if test "$GCC" != yes; then
15453 ac_save_CC=$CC
15454 while :; do
15455 # IRIX 6.2 and later do not support large files by default,
15456 # so use the C compiler's -n32 option if that helps.
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15459 #include <sys/types.h>
15460 /* Check that off_t can represent 2**63 - 1 correctly.
15461 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15462 since some C++ compilers masquerading as C compilers
15463 incorrectly reject 9223372036854775807. */
15464 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15465 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15466 && LARGE_OFF_T % 2147483647 == 1)
15467 ? 1 : -1];
15469 main ()
15473 return 0;
15475 _ACEOF
15476 if ac_fn_c_try_compile "$LINENO"; then :
15477 break
15479 rm -f core conftest.err conftest.$ac_objext
15480 CC="$CC -n32"
15481 if ac_fn_c_try_compile "$LINENO"; then :
15482 ac_cv_sys_largefile_CC=' -n32'; break
15484 rm -f core conftest.err conftest.$ac_objext
15485 break
15486 done
15487 CC=$ac_save_CC
15488 rm -f conftest.$ac_ext
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15492 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15493 if test "$ac_cv_sys_largefile_CC" != no; then
15494 CC=$CC$ac_cv_sys_largefile_CC
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15498 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15499 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 while :; do
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15505 #include <sys/types.h>
15506 /* Check that off_t can represent 2**63 - 1 correctly.
15507 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15508 since some C++ compilers masquerading as C compilers
15509 incorrectly reject 9223372036854775807. */
15510 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15511 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15512 && LARGE_OFF_T % 2147483647 == 1)
15513 ? 1 : -1];
15515 main ()
15519 return 0;
15521 _ACEOF
15522 if ac_fn_c_try_compile "$LINENO"; then :
15523 ac_cv_sys_file_offset_bits=no; break
15525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15528 #define _FILE_OFFSET_BITS 64
15529 #include <sys/types.h>
15530 /* Check that off_t can represent 2**63 - 1 correctly.
15531 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15532 since some C++ compilers masquerading as C compilers
15533 incorrectly reject 9223372036854775807. */
15534 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15535 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15536 && LARGE_OFF_T % 2147483647 == 1)
15537 ? 1 : -1];
15539 main ()
15543 return 0;
15545 _ACEOF
15546 if ac_fn_c_try_compile "$LINENO"; then :
15547 ac_cv_sys_file_offset_bits=64; break
15549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15550 ac_cv_sys_file_offset_bits=unknown
15551 break
15552 done
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15555 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15556 case $ac_cv_sys_file_offset_bits in #(
15557 no | unknown) ;;
15559 cat >>confdefs.h <<_ACEOF
15560 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15561 _ACEOF
15563 esac
15564 rm -rf conftest*
15565 if test $ac_cv_sys_file_offset_bits = unknown; then
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15567 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15568 if test "${ac_cv_sys_large_files+set}" = set; then :
15569 $as_echo_n "(cached) " >&6
15570 else
15571 while :; do
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 #include <sys/types.h>
15575 /* Check that off_t can represent 2**63 - 1 correctly.
15576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15577 since some C++ compilers masquerading as C compilers
15578 incorrectly reject 9223372036854775807. */
15579 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15581 && LARGE_OFF_T % 2147483647 == 1)
15582 ? 1 : -1];
15584 main ()
15588 return 0;
15590 _ACEOF
15591 if ac_fn_c_try_compile "$LINENO"; then :
15592 ac_cv_sys_large_files=no; break
15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15597 #define _LARGE_FILES 1
15598 #include <sys/types.h>
15599 /* Check that off_t can represent 2**63 - 1 correctly.
15600 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15601 since some C++ compilers masquerading as C compilers
15602 incorrectly reject 9223372036854775807. */
15603 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15604 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15605 && LARGE_OFF_T % 2147483647 == 1)
15606 ? 1 : -1];
15608 main ()
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_compile "$LINENO"; then :
15616 ac_cv_sys_large_files=1; break
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 ac_cv_sys_large_files=unknown
15620 break
15621 done
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15624 $as_echo "$ac_cv_sys_large_files" >&6; }
15625 case $ac_cv_sys_large_files in #(
15626 no | unknown) ;;
15628 cat >>confdefs.h <<_ACEOF
15629 #define _LARGE_FILES $ac_cv_sys_large_files
15630 _ACEOF
15632 esac
15633 rm -rf conftest*
15637 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15638 if test "x$ac_cv_type_off_t" = x""yes; then :
15640 else
15642 cat >>confdefs.h <<_ACEOF
15643 #define off_t long int
15644 _ACEOF
15649 # check header files
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15651 $as_echo_n "checking for ANSI C header files... " >&6; }
15652 if test "${ac_cv_header_stdc+set}" = set; then :
15653 $as_echo_n "(cached) " >&6
15654 else
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15657 #include <stdlib.h>
15658 #include <stdarg.h>
15659 #include <string.h>
15660 #include <float.h>
15663 main ()
15667 return 0;
15669 _ACEOF
15670 if ac_fn_c_try_compile "$LINENO"; then :
15671 ac_cv_header_stdc=yes
15672 else
15673 ac_cv_header_stdc=no
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15677 if test $ac_cv_header_stdc = yes; then
15678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15681 #include <string.h>
15683 _ACEOF
15684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15685 $EGREP "memchr" >/dev/null 2>&1; then :
15687 else
15688 ac_cv_header_stdc=no
15690 rm -f conftest*
15694 if test $ac_cv_header_stdc = yes; then
15695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15698 #include <stdlib.h>
15700 _ACEOF
15701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15702 $EGREP "free" >/dev/null 2>&1; then :
15704 else
15705 ac_cv_header_stdc=no
15707 rm -f conftest*
15711 if test $ac_cv_header_stdc = yes; then
15712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15713 if test "$cross_compiling" = yes; then :
15715 else
15716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15717 /* end confdefs.h. */
15718 #include <ctype.h>
15719 #include <stdlib.h>
15720 #if ((' ' & 0x0FF) == 0x020)
15721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15723 #else
15724 # define ISLOWER(c) \
15725 (('a' <= (c) && (c) <= 'i') \
15726 || ('j' <= (c) && (c) <= 'r') \
15727 || ('s' <= (c) && (c) <= 'z'))
15728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15729 #endif
15731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15733 main ()
15735 int i;
15736 for (i = 0; i < 256; i++)
15737 if (XOR (islower (i), ISLOWER (i))
15738 || toupper (i) != TOUPPER (i))
15739 return 2;
15740 return 0;
15742 _ACEOF
15743 if ac_fn_c_try_run "$LINENO"; then :
15745 else
15746 ac_cv_header_stdc=no
15748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15749 conftest.$ac_objext conftest.beam conftest.$ac_ext
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15755 $as_echo "$ac_cv_header_stdc" >&6; }
15756 if test $ac_cv_header_stdc = yes; then
15758 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15763 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15764 if test "${ac_cv_header_time+set}" = set; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 #include <sys/types.h>
15770 #include <sys/time.h>
15771 #include <time.h>
15774 main ()
15776 if ((struct tm *) 0)
15777 return 0;
15779 return 0;
15781 _ACEOF
15782 if ac_fn_c_try_compile "$LINENO"; then :
15783 ac_cv_header_time=yes
15784 else
15785 ac_cv_header_time=no
15787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15790 $as_echo "$ac_cv_header_time" >&6; }
15791 if test $ac_cv_header_time = yes; then
15793 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15797 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15798 do :
15799 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15800 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15801 eval as_val=\$$as_ac_Header
15802 if test "x$as_val" = x""yes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15805 _ACEOF
15809 done
15811 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15812 do :
15813 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15814 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15815 eval as_val=\$$as_ac_Header
15816 if test "x$as_val" = x""yes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15819 _ACEOF
15823 done
15825 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15826 do :
15827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15828 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15829 eval as_val=\$$as_ac_Header
15830 if test "x$as_val" = x""yes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15833 _ACEOF
15837 done
15839 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15840 do :
15841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15842 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15843 eval as_val=\$$as_ac_Header
15844 if test "x$as_val" = x""yes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15847 _ACEOF
15851 done
15853 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15854 if test "x$ac_cv_header_complex_h" = x""yes; then :
15856 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15863 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15865 acx_cv_header_stdint=stddef.h
15866 acx_cv_header_stdint_kind="(already complete)"
15867 for i in stdint.h $inttype_headers; do
15868 unset ac_cv_type_uintptr_t
15869 unset ac_cv_type_uintmax_t
15870 unset ac_cv_type_int_least32_t
15871 unset ac_cv_type_int_fast32_t
15872 unset ac_cv_type_uint64_t
15873 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15874 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15875 #include <$i>
15877 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15878 acx_cv_header_stdint=$i
15879 else
15880 continue
15883 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15884 #include <$i>
15886 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15888 else
15889 acx_cv_header_stdint_kind="(mostly complete)"
15892 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15893 #include <$i>
15895 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15897 else
15898 acx_cv_header_stdint_kind="(mostly complete)"
15901 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15902 #include <$i>
15904 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15906 else
15907 acx_cv_header_stdint_kind="(mostly complete)"
15910 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15911 #include <$i>
15913 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15915 else
15916 acx_cv_header_stdint_kind="(lacks uint64_t)"
15919 break
15920 done
15921 if test "$acx_cv_header_stdint" = stddef.h; then
15922 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15923 for i in stdint.h $inttype_headers; do
15924 unset ac_cv_type_uintptr_t
15925 unset ac_cv_type_uint32_t
15926 unset ac_cv_type_uint64_t
15927 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15928 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15929 #include <$i>
15931 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15932 acx_cv_header_stdint=$i
15933 else
15934 continue
15937 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15938 #include <$i>
15940 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15944 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15945 #include <$i>
15947 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15951 break
15952 done
15954 if test "$acx_cv_header_stdint" = stddef.h; then
15955 acx_cv_header_stdint_kind="(u_intXX_t style)"
15956 for i in sys/types.h $inttype_headers; do
15957 unset ac_cv_type_u_int32_t
15958 unset ac_cv_type_u_int64_t
15959 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15960 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15961 #include <$i>
15963 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15964 acx_cv_header_stdint=$i
15965 else
15966 continue
15969 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15970 #include <$i>
15972 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15976 break
15977 done
15979 if test "$acx_cv_header_stdint" = stddef.h; then
15980 acx_cv_header_stdint_kind="(using manual detection)"
15983 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15984 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15985 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15986 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15987 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15989 # ----------------- Summarize what we found so far
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15992 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15994 case `$as_basename -- gstdint.h ||
15995 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15996 Xgstdint.h : 'X\(//\)$' \| \
15997 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15998 $as_echo X/gstdint.h |
15999 sed '/^.*\/\([^/][^/]*\)\/*$/{
16000 s//\1/
16003 /^X\/\(\/\/\)$/{
16004 s//\1/
16007 /^X\/\(\/\).*/{
16008 s//\1/
16011 s/.*/./; q'` in
16012 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16013 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16014 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16015 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16016 *) ;;
16017 esac
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16020 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16022 # ----------------- done included file, check C basic types --------
16024 # Lacking an uintptr_t? Test size of void *
16025 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16026 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16029 # This bug is HP SR number 8606223364.
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16031 $as_echo_n "checking size of void *... " >&6; }
16032 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16037 else
16038 if test "$ac_cv_type_void_p" = yes; then
16039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16041 { as_fn_set_status 77
16042 as_fn_error "cannot compute sizeof (void *)
16043 See \`config.log' for more details." "$LINENO" 5; }; }
16044 else
16045 ac_cv_sizeof_void_p=0
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16051 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16055 cat >>confdefs.h <<_ACEOF
16056 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16057 _ACEOF
16060 esac
16062 # Lacking an uint64_t? Test size of long
16063 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16064 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16067 # This bug is HP SR number 8606223364.
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16069 $as_echo_n "checking size of long... " >&6; }
16070 if test "${ac_cv_sizeof_long+set}" = set; then :
16071 $as_echo_n "(cached) " >&6
16072 else
16073 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16075 else
16076 if test "$ac_cv_type_long" = yes; then
16077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16079 { as_fn_set_status 77
16080 as_fn_error "cannot compute sizeof (long)
16081 See \`config.log' for more details." "$LINENO" 5; }; }
16082 else
16083 ac_cv_sizeof_long=0
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16089 $as_echo "$ac_cv_sizeof_long" >&6; }
16093 cat >>confdefs.h <<_ACEOF
16094 #define SIZEOF_LONG $ac_cv_sizeof_long
16095 _ACEOF
16098 esac
16100 if test $acx_cv_header_stdint = stddef.h; then
16101 # Lacking a good header? Test size of everything and deduce all types.
16102 # The cast to long int works around a bug in the HP C Compiler
16103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16105 # This bug is HP SR number 8606223364.
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16107 $as_echo_n "checking size of int... " >&6; }
16108 if test "${ac_cv_sizeof_int+set}" = set; then :
16109 $as_echo_n "(cached) " >&6
16110 else
16111 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16113 else
16114 if test "$ac_cv_type_int" = yes; then
16115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16117 { as_fn_set_status 77
16118 as_fn_error "cannot compute sizeof (int)
16119 See \`config.log' for more details." "$LINENO" 5; }; }
16120 else
16121 ac_cv_sizeof_int=0
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16127 $as_echo "$ac_cv_sizeof_int" >&6; }
16131 cat >>confdefs.h <<_ACEOF
16132 #define SIZEOF_INT $ac_cv_sizeof_int
16133 _ACEOF
16136 # The cast to long int works around a bug in the HP C Compiler
16137 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16138 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16139 # This bug is HP SR number 8606223364.
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16141 $as_echo_n "checking size of short... " >&6; }
16142 if test "${ac_cv_sizeof_short+set}" = set; then :
16143 $as_echo_n "(cached) " >&6
16144 else
16145 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16147 else
16148 if test "$ac_cv_type_short" = yes; then
16149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16151 { as_fn_set_status 77
16152 as_fn_error "cannot compute sizeof (short)
16153 See \`config.log' for more details." "$LINENO" 5; }; }
16154 else
16155 ac_cv_sizeof_short=0
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16161 $as_echo "$ac_cv_sizeof_short" >&6; }
16165 cat >>confdefs.h <<_ACEOF
16166 #define SIZEOF_SHORT $ac_cv_sizeof_short
16167 _ACEOF
16170 # The cast to long int works around a bug in the HP C Compiler
16171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16173 # This bug is HP SR number 8606223364.
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16175 $as_echo_n "checking size of char... " >&6; }
16176 if test "${ac_cv_sizeof_char+set}" = set; then :
16177 $as_echo_n "(cached) " >&6
16178 else
16179 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16181 else
16182 if test "$ac_cv_type_char" = yes; then
16183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16185 { as_fn_set_status 77
16186 as_fn_error "cannot compute sizeof (char)
16187 See \`config.log' for more details." "$LINENO" 5; }; }
16188 else
16189 ac_cv_sizeof_char=0
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16195 $as_echo "$ac_cv_sizeof_char" >&6; }
16199 cat >>confdefs.h <<_ACEOF
16200 #define SIZEOF_CHAR $ac_cv_sizeof_char
16201 _ACEOF
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16206 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16207 case "$ac_cv_sizeof_char" in
16208 1) acx_cv_type_int8_t=char ;;
16209 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16210 esac
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16212 $as_echo "$acx_cv_type_int8_t" >&6; }
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16215 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16216 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16217 2:*) acx_cv_type_int16_t=int ;;
16218 *:2) acx_cv_type_int16_t=short ;;
16219 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16220 esac
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16222 $as_echo "$acx_cv_type_int16_t" >&6; }
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16225 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16226 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16227 4:*) acx_cv_type_int32_t=int ;;
16228 *:4) acx_cv_type_int32_t=long ;;
16229 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16230 esac
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16232 $as_echo "$acx_cv_type_int32_t" >&6; }
16235 # These tests are here to make the output prettier
16237 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16238 case "$ac_cv_sizeof_long" in
16239 8) acx_cv_type_int64_t=long ;;
16240 esac
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16242 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16244 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16247 # Now we can use the above types
16249 if test "$ac_cv_type_uintptr_t" != yes; then
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16251 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16252 case $ac_cv_sizeof_void_p in
16253 2) acx_cv_type_intptr_t=int16_t ;;
16254 4) acx_cv_type_intptr_t=int32_t ;;
16255 8) acx_cv_type_intptr_t=int64_t ;;
16256 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16257 esac
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16259 $as_echo "$acx_cv_type_intptr_t" >&6; }
16262 # ----------------- done all checks, emit header -------------
16263 ac_config_commands="$ac_config_commands gstdint.h"
16268 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16269 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16273 _ACEOF
16278 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16279 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16283 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16289 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_STRUCT_STAT_ST_RDEV 1
16293 _ACEOF
16299 # Check for library functions.
16300 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
16301 do :
16302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16304 eval as_val=\$$as_ac_var
16305 if test "x$as_val" = x""yes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16308 _ACEOF
16311 done
16313 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
16314 do :
16315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16317 eval as_val=\$$as_ac_var
16318 if test "x$as_val" = x""yes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16321 _ACEOF
16324 done
16326 for ac_func in sleep time ttyname signal alarm clock access fork execl
16327 do :
16328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16330 eval as_val=\$$as_ac_var
16331 if test "x$as_val" = x""yes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16334 _ACEOF
16337 done
16339 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
16340 do :
16341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16343 eval as_val=\$$as_ac_var
16344 if test "x$as_val" = x""yes; then :
16345 cat >>confdefs.h <<_ACEOF
16346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16347 _ACEOF
16350 done
16352 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
16353 do :
16354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16356 eval as_val=\$$as_ac_var
16357 if test "x$as_val" = x""yes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16360 _ACEOF
16363 done
16365 for ac_func in localtime_r gmtime_r strerror_r getpwuid_r ttyname_r
16366 do :
16367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16369 eval as_val=\$$as_ac_var
16370 if test "x$as_val" = x""yes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16373 _ACEOF
16376 done
16378 for ac_func in clock_gettime strftime
16379 do :
16380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16382 eval as_val=\$$as_ac_var
16383 if test "x$as_val" = x""yes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16386 _ACEOF
16389 done
16392 # Check for glibc backtrace functions
16393 for ac_func in backtrace backtrace_symbols
16394 do :
16395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16397 eval as_val=\$$as_ac_var
16398 if test "x$as_val" = x""yes; then :
16399 cat >>confdefs.h <<_ACEOF
16400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16401 _ACEOF
16404 done
16407 # Check for types
16408 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16409 if test "x$ac_cv_type_intptr_t" = x""yes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_INTPTR_T 1
16413 _ACEOF
16418 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16419 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_UINTPTR_T 1
16423 _ACEOF
16429 # Check libc for getgid, getpid, getuid
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
16431 $as_echo_n "checking for getgid in -lc... " >&6; }
16432 if test "${ac_cv_lib_c_getgid+set}" = set; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 ac_check_lib_save_LIBS=$LIBS
16436 LIBS="-lc $LIBS"
16437 if test x$gcc_no_link = xyes; then
16438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16443 /* Override any GCC internal prototype to avoid an error.
16444 Use char because int might match the return type of a GCC
16445 builtin and then its argument prototype would still apply. */
16446 #ifdef __cplusplus
16447 extern "C"
16448 #endif
16449 char getgid ();
16451 main ()
16453 return getgid ();
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"; then :
16459 ac_cv_lib_c_getgid=yes
16460 else
16461 ac_cv_lib_c_getgid=no
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_lib_save_LIBS
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
16468 $as_echo "$ac_cv_lib_c_getgid" >&6; }
16469 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
16471 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
16476 $as_echo_n "checking for getpid in -lc... " >&6; }
16477 if test "${ac_cv_lib_c_getpid+set}" = set; then :
16478 $as_echo_n "(cached) " >&6
16479 else
16480 ac_check_lib_save_LIBS=$LIBS
16481 LIBS="-lc $LIBS"
16482 if test x$gcc_no_link = xyes; then
16483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16488 /* Override any GCC internal prototype to avoid an error.
16489 Use char because int might match the return type of a GCC
16490 builtin and then its argument prototype would still apply. */
16491 #ifdef __cplusplus
16492 extern "C"
16493 #endif
16494 char getpid ();
16496 main ()
16498 return getpid ();
16500 return 0;
16502 _ACEOF
16503 if ac_fn_c_try_link "$LINENO"; then :
16504 ac_cv_lib_c_getpid=yes
16505 else
16506 ac_cv_lib_c_getpid=no
16508 rm -f core conftest.err conftest.$ac_objext \
16509 conftest$ac_exeext conftest.$ac_ext
16510 LIBS=$ac_check_lib_save_LIBS
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
16513 $as_echo "$ac_cv_lib_c_getpid" >&6; }
16514 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
16516 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
16521 $as_echo_n "checking for getppid in -lc... " >&6; }
16522 if test "${ac_cv_lib_c_getppid+set}" = set; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 ac_check_lib_save_LIBS=$LIBS
16526 LIBS="-lc $LIBS"
16527 if test x$gcc_no_link = xyes; then
16528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16533 /* Override any GCC internal prototype to avoid an error.
16534 Use char because int might match the return type of a GCC
16535 builtin and then its argument prototype would still apply. */
16536 #ifdef __cplusplus
16537 extern "C"
16538 #endif
16539 char getppid ();
16541 main ()
16543 return getppid ();
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"; then :
16549 ac_cv_lib_c_getppid=yes
16550 else
16551 ac_cv_lib_c_getppid=no
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16555 LIBS=$ac_check_lib_save_LIBS
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
16558 $as_echo "$ac_cv_lib_c_getppid" >&6; }
16559 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
16561 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
16566 $as_echo_n "checking for getuid in -lc... " >&6; }
16567 if test "${ac_cv_lib_c_getuid+set}" = set; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 ac_check_lib_save_LIBS=$LIBS
16571 LIBS="-lc $LIBS"
16572 if test x$gcc_no_link = xyes; then
16573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16578 /* Override any GCC internal prototype to avoid an error.
16579 Use char because int might match the return type of a GCC
16580 builtin and then its argument prototype would still apply. */
16581 #ifdef __cplusplus
16582 extern "C"
16583 #endif
16584 char getuid ();
16586 main ()
16588 return getuid ();
16590 return 0;
16592 _ACEOF
16593 if ac_fn_c_try_link "$LINENO"; then :
16594 ac_cv_lib_c_getuid=yes
16595 else
16596 ac_cv_lib_c_getuid=no
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_lib_save_LIBS
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
16603 $as_echo "$ac_cv_lib_c_getuid" >&6; }
16604 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
16606 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
16611 $as_echo_n "checking for geteuid in -lc... " >&6; }
16612 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
16613 $as_echo_n "(cached) " >&6
16614 else
16615 ac_check_lib_save_LIBS=$LIBS
16616 LIBS="-lc $LIBS"
16617 if test x$gcc_no_link = xyes; then
16618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16623 /* Override any GCC internal prototype to avoid an error.
16624 Use char because int might match the return type of a GCC
16625 builtin and then its argument prototype would still apply. */
16626 #ifdef __cplusplus
16627 extern "C"
16628 #endif
16629 char geteuid ();
16631 main ()
16633 return geteuid ();
16635 return 0;
16637 _ACEOF
16638 if ac_fn_c_try_link "$LINENO"; then :
16639 ac_cv_lib_c_geteuid=yes
16640 else
16641 ac_cv_lib_c_geteuid=no
16643 rm -f core conftest.err conftest.$ac_objext \
16644 conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_lib_save_LIBS
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
16648 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
16649 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
16651 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
16656 # Check for C99 (and other IEEE) math functions
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16658 $as_echo_n "checking for acosf in -lm... " >&6; }
16659 if test "${ac_cv_lib_m_acosf+set}" = set; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 ac_check_lib_save_LIBS=$LIBS
16663 LIBS="-lm $LIBS"
16664 if test x$gcc_no_link = xyes; then
16665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16673 #ifdef __cplusplus
16674 extern "C"
16675 #endif
16676 char acosf ();
16678 main ()
16680 return acosf ();
16682 return 0;
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_lib_m_acosf=yes
16687 else
16688 ac_cv_lib_m_acosf=no
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16692 LIBS=$ac_check_lib_save_LIBS
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16695 $as_echo "$ac_cv_lib_m_acosf" >&6; }
16696 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
16698 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16703 $as_echo_n "checking for acos in -lm... " >&6; }
16704 if test "${ac_cv_lib_m_acos+set}" = set; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 ac_check_lib_save_LIBS=$LIBS
16708 LIBS="-lm $LIBS"
16709 if test x$gcc_no_link = xyes; then
16710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16715 /* Override any GCC internal prototype to avoid an error.
16716 Use char because int might match the return type of a GCC
16717 builtin and then its argument prototype would still apply. */
16718 #ifdef __cplusplus
16719 extern "C"
16720 #endif
16721 char acos ();
16723 main ()
16725 return acos ();
16727 return 0;
16729 _ACEOF
16730 if ac_fn_c_try_link "$LINENO"; then :
16731 ac_cv_lib_m_acos=yes
16732 else
16733 ac_cv_lib_m_acos=no
16735 rm -f core conftest.err conftest.$ac_objext \
16736 conftest$ac_exeext conftest.$ac_ext
16737 LIBS=$ac_check_lib_save_LIBS
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16740 $as_echo "$ac_cv_lib_m_acos" >&6; }
16741 if test "x$ac_cv_lib_m_acos" = x""yes; then :
16743 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16748 $as_echo_n "checking for acosl in -lm... " >&6; }
16749 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16750 $as_echo_n "(cached) " >&6
16751 else
16752 ac_check_lib_save_LIBS=$LIBS
16753 LIBS="-lm $LIBS"
16754 if test x$gcc_no_link = xyes; then
16755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16760 /* Override any GCC internal prototype to avoid an error.
16761 Use char because int might match the return type of a GCC
16762 builtin and then its argument prototype would still apply. */
16763 #ifdef __cplusplus
16764 extern "C"
16765 #endif
16766 char acosl ();
16768 main ()
16770 return acosl ();
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"; then :
16776 ac_cv_lib_m_acosl=yes
16777 else
16778 ac_cv_lib_m_acosl=no
16780 rm -f core conftest.err conftest.$ac_objext \
16781 conftest$ac_exeext conftest.$ac_ext
16782 LIBS=$ac_check_lib_save_LIBS
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16785 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16786 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16788 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16793 $as_echo_n "checking for acoshf in -lm... " >&6; }
16794 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 ac_check_lib_save_LIBS=$LIBS
16798 LIBS="-lm $LIBS"
16799 if test x$gcc_no_link = xyes; then
16800 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16805 /* Override any GCC internal prototype to avoid an error.
16806 Use char because int might match the return type of a GCC
16807 builtin and then its argument prototype would still apply. */
16808 #ifdef __cplusplus
16809 extern "C"
16810 #endif
16811 char acoshf ();
16813 main ()
16815 return acoshf ();
16817 return 0;
16819 _ACEOF
16820 if ac_fn_c_try_link "$LINENO"; then :
16821 ac_cv_lib_m_acoshf=yes
16822 else
16823 ac_cv_lib_m_acoshf=no
16825 rm -f core conftest.err conftest.$ac_objext \
16826 conftest$ac_exeext conftest.$ac_ext
16827 LIBS=$ac_check_lib_save_LIBS
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16830 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16831 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16833 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16838 $as_echo_n "checking for acosh in -lm... " >&6; }
16839 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16840 $as_echo_n "(cached) " >&6
16841 else
16842 ac_check_lib_save_LIBS=$LIBS
16843 LIBS="-lm $LIBS"
16844 if test x$gcc_no_link = xyes; then
16845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 #ifdef __cplusplus
16854 extern "C"
16855 #endif
16856 char acosh ();
16858 main ()
16860 return acosh ();
16862 return 0;
16864 _ACEOF
16865 if ac_fn_c_try_link "$LINENO"; then :
16866 ac_cv_lib_m_acosh=yes
16867 else
16868 ac_cv_lib_m_acosh=no
16870 rm -f core conftest.err conftest.$ac_objext \
16871 conftest$ac_exeext conftest.$ac_ext
16872 LIBS=$ac_check_lib_save_LIBS
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16875 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16876 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16878 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16883 $as_echo_n "checking for acoshl in -lm... " >&6; }
16884 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 ac_check_lib_save_LIBS=$LIBS
16888 LIBS="-lm $LIBS"
16889 if test x$gcc_no_link = xyes; then
16890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16895 /* Override any GCC internal prototype to avoid an error.
16896 Use char because int might match the return type of a GCC
16897 builtin and then its argument prototype would still apply. */
16898 #ifdef __cplusplus
16899 extern "C"
16900 #endif
16901 char acoshl ();
16903 main ()
16905 return acoshl ();
16907 return 0;
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"; then :
16911 ac_cv_lib_m_acoshl=yes
16912 else
16913 ac_cv_lib_m_acoshl=no
16915 rm -f core conftest.err conftest.$ac_objext \
16916 conftest$ac_exeext conftest.$ac_ext
16917 LIBS=$ac_check_lib_save_LIBS
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16920 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16921 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16923 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16928 $as_echo_n "checking for asinf in -lm... " >&6; }
16929 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 ac_check_lib_save_LIBS=$LIBS
16933 LIBS="-lm $LIBS"
16934 if test x$gcc_no_link = xyes; then
16935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16940 /* Override any GCC internal prototype to avoid an error.
16941 Use char because int might match the return type of a GCC
16942 builtin and then its argument prototype would still apply. */
16943 #ifdef __cplusplus
16944 extern "C"
16945 #endif
16946 char asinf ();
16948 main ()
16950 return asinf ();
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 ac_cv_lib_m_asinf=yes
16957 else
16958 ac_cv_lib_m_asinf=no
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962 LIBS=$ac_check_lib_save_LIBS
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16965 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16966 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16968 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16973 $as_echo_n "checking for asin in -lm... " >&6; }
16974 if test "${ac_cv_lib_m_asin+set}" = set; then :
16975 $as_echo_n "(cached) " >&6
16976 else
16977 ac_check_lib_save_LIBS=$LIBS
16978 LIBS="-lm $LIBS"
16979 if test x$gcc_no_link = xyes; then
16980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16985 /* Override any GCC internal prototype to avoid an error.
16986 Use char because int might match the return type of a GCC
16987 builtin and then its argument prototype would still apply. */
16988 #ifdef __cplusplus
16989 extern "C"
16990 #endif
16991 char asin ();
16993 main ()
16995 return asin ();
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_lib_m_asin=yes
17002 else
17003 ac_cv_lib_m_asin=no
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17007 LIBS=$ac_check_lib_save_LIBS
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
17010 $as_echo "$ac_cv_lib_m_asin" >&6; }
17011 if test "x$ac_cv_lib_m_asin" = x""yes; then :
17013 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
17018 $as_echo_n "checking for asinl in -lm... " >&6; }
17019 if test "${ac_cv_lib_m_asinl+set}" = set; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 ac_check_lib_save_LIBS=$LIBS
17023 LIBS="-lm $LIBS"
17024 if test x$gcc_no_link = xyes; then
17025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17030 /* Override any GCC internal prototype to avoid an error.
17031 Use char because int might match the return type of a GCC
17032 builtin and then its argument prototype would still apply. */
17033 #ifdef __cplusplus
17034 extern "C"
17035 #endif
17036 char asinl ();
17038 main ()
17040 return asinl ();
17042 return 0;
17044 _ACEOF
17045 if ac_fn_c_try_link "$LINENO"; then :
17046 ac_cv_lib_m_asinl=yes
17047 else
17048 ac_cv_lib_m_asinl=no
17050 rm -f core conftest.err conftest.$ac_objext \
17051 conftest$ac_exeext conftest.$ac_ext
17052 LIBS=$ac_check_lib_save_LIBS
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
17055 $as_echo "$ac_cv_lib_m_asinl" >&6; }
17056 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
17058 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
17063 $as_echo_n "checking for asinhf in -lm... " >&6; }
17064 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
17065 $as_echo_n "(cached) " >&6
17066 else
17067 ac_check_lib_save_LIBS=$LIBS
17068 LIBS="-lm $LIBS"
17069 if test x$gcc_no_link = xyes; then
17070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17075 /* Override any GCC internal prototype to avoid an error.
17076 Use char because int might match the return type of a GCC
17077 builtin and then its argument prototype would still apply. */
17078 #ifdef __cplusplus
17079 extern "C"
17080 #endif
17081 char asinhf ();
17083 main ()
17085 return asinhf ();
17087 return 0;
17089 _ACEOF
17090 if ac_fn_c_try_link "$LINENO"; then :
17091 ac_cv_lib_m_asinhf=yes
17092 else
17093 ac_cv_lib_m_asinhf=no
17095 rm -f core conftest.err conftest.$ac_objext \
17096 conftest$ac_exeext conftest.$ac_ext
17097 LIBS=$ac_check_lib_save_LIBS
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
17100 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
17101 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
17103 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
17108 $as_echo_n "checking for asinh in -lm... " >&6; }
17109 if test "${ac_cv_lib_m_asinh+set}" = set; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_check_lib_save_LIBS=$LIBS
17113 LIBS="-lm $LIBS"
17114 if test x$gcc_no_link = xyes; then
17115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17120 /* Override any GCC internal prototype to avoid an error.
17121 Use char because int might match the return type of a GCC
17122 builtin and then its argument prototype would still apply. */
17123 #ifdef __cplusplus
17124 extern "C"
17125 #endif
17126 char asinh ();
17128 main ()
17130 return asinh ();
17132 return 0;
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_lib_m_asinh=yes
17137 else
17138 ac_cv_lib_m_asinh=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 LIBS=$ac_check_lib_save_LIBS
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17145 $as_echo "$ac_cv_lib_m_asinh" >&6; }
17146 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
17148 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17153 $as_echo_n "checking for asinhl in -lm... " >&6; }
17154 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 ac_check_lib_save_LIBS=$LIBS
17158 LIBS="-lm $LIBS"
17159 if test x$gcc_no_link = xyes; then
17160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17165 /* Override any GCC internal prototype to avoid an error.
17166 Use char because int might match the return type of a GCC
17167 builtin and then its argument prototype would still apply. */
17168 #ifdef __cplusplus
17169 extern "C"
17170 #endif
17171 char asinhl ();
17173 main ()
17175 return asinhl ();
17177 return 0;
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"; then :
17181 ac_cv_lib_m_asinhl=yes
17182 else
17183 ac_cv_lib_m_asinhl=no
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 LIBS=$ac_check_lib_save_LIBS
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17190 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
17191 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
17193 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17198 $as_echo_n "checking for atan2f in -lm... " >&6; }
17199 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17200 $as_echo_n "(cached) " >&6
17201 else
17202 ac_check_lib_save_LIBS=$LIBS
17203 LIBS="-lm $LIBS"
17204 if test x$gcc_no_link = xyes; then
17205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17213 #ifdef __cplusplus
17214 extern "C"
17215 #endif
17216 char atan2f ();
17218 main ()
17220 return atan2f ();
17222 return 0;
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_lib_m_atan2f=yes
17227 else
17228 ac_cv_lib_m_atan2f=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 LIBS=$ac_check_lib_save_LIBS
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17235 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
17236 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
17238 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17243 $as_echo_n "checking for atan2 in -lm... " >&6; }
17244 if test "${ac_cv_lib_m_atan2+set}" = set; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 ac_check_lib_save_LIBS=$LIBS
17248 LIBS="-lm $LIBS"
17249 if test x$gcc_no_link = xyes; then
17250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17255 /* Override any GCC internal prototype to avoid an error.
17256 Use char because int might match the return type of a GCC
17257 builtin and then its argument prototype would still apply. */
17258 #ifdef __cplusplus
17259 extern "C"
17260 #endif
17261 char atan2 ();
17263 main ()
17265 return atan2 ();
17267 return 0;
17269 _ACEOF
17270 if ac_fn_c_try_link "$LINENO"; then :
17271 ac_cv_lib_m_atan2=yes
17272 else
17273 ac_cv_lib_m_atan2=no
17275 rm -f core conftest.err conftest.$ac_objext \
17276 conftest$ac_exeext conftest.$ac_ext
17277 LIBS=$ac_check_lib_save_LIBS
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17280 $as_echo "$ac_cv_lib_m_atan2" >&6; }
17281 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
17283 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17288 $as_echo_n "checking for atan2l in -lm... " >&6; }
17289 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292 ac_check_lib_save_LIBS=$LIBS
17293 LIBS="-lm $LIBS"
17294 if test x$gcc_no_link = xyes; then
17295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17300 /* Override any GCC internal prototype to avoid an error.
17301 Use char because int might match the return type of a GCC
17302 builtin and then its argument prototype would still apply. */
17303 #ifdef __cplusplus
17304 extern "C"
17305 #endif
17306 char atan2l ();
17308 main ()
17310 return atan2l ();
17312 return 0;
17314 _ACEOF
17315 if ac_fn_c_try_link "$LINENO"; then :
17316 ac_cv_lib_m_atan2l=yes
17317 else
17318 ac_cv_lib_m_atan2l=no
17320 rm -f core conftest.err conftest.$ac_objext \
17321 conftest$ac_exeext conftest.$ac_ext
17322 LIBS=$ac_check_lib_save_LIBS
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17325 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
17326 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
17328 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17333 $as_echo_n "checking for atanf in -lm... " >&6; }
17334 if test "${ac_cv_lib_m_atanf+set}" = set; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_check_lib_save_LIBS=$LIBS
17338 LIBS="-lm $LIBS"
17339 if test x$gcc_no_link = xyes; then
17340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17345 /* Override any GCC internal prototype to avoid an error.
17346 Use char because int might match the return type of a GCC
17347 builtin and then its argument prototype would still apply. */
17348 #ifdef __cplusplus
17349 extern "C"
17350 #endif
17351 char atanf ();
17353 main ()
17355 return atanf ();
17357 return 0;
17359 _ACEOF
17360 if ac_fn_c_try_link "$LINENO"; then :
17361 ac_cv_lib_m_atanf=yes
17362 else
17363 ac_cv_lib_m_atanf=no
17365 rm -f core conftest.err conftest.$ac_objext \
17366 conftest$ac_exeext conftest.$ac_ext
17367 LIBS=$ac_check_lib_save_LIBS
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17370 $as_echo "$ac_cv_lib_m_atanf" >&6; }
17371 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
17373 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17378 $as_echo_n "checking for atan in -lm... " >&6; }
17379 if test "${ac_cv_lib_m_atan+set}" = set; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17382 ac_check_lib_save_LIBS=$LIBS
17383 LIBS="-lm $LIBS"
17384 if test x$gcc_no_link = xyes; then
17385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17390 /* Override any GCC internal prototype to avoid an error.
17391 Use char because int might match the return type of a GCC
17392 builtin and then its argument prototype would still apply. */
17393 #ifdef __cplusplus
17394 extern "C"
17395 #endif
17396 char atan ();
17398 main ()
17400 return atan ();
17402 return 0;
17404 _ACEOF
17405 if ac_fn_c_try_link "$LINENO"; then :
17406 ac_cv_lib_m_atan=yes
17407 else
17408 ac_cv_lib_m_atan=no
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 LIBS=$ac_check_lib_save_LIBS
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17415 $as_echo "$ac_cv_lib_m_atan" >&6; }
17416 if test "x$ac_cv_lib_m_atan" = x""yes; then :
17418 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17423 $as_echo_n "checking for atanl in -lm... " >&6; }
17424 if test "${ac_cv_lib_m_atanl+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427 ac_check_lib_save_LIBS=$LIBS
17428 LIBS="-lm $LIBS"
17429 if test x$gcc_no_link = xyes; then
17430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17435 /* Override any GCC internal prototype to avoid an error.
17436 Use char because int might match the return type of a GCC
17437 builtin and then its argument prototype would still apply. */
17438 #ifdef __cplusplus
17439 extern "C"
17440 #endif
17441 char atanl ();
17443 main ()
17445 return atanl ();
17447 return 0;
17449 _ACEOF
17450 if ac_fn_c_try_link "$LINENO"; then :
17451 ac_cv_lib_m_atanl=yes
17452 else
17453 ac_cv_lib_m_atanl=no
17455 rm -f core conftest.err conftest.$ac_objext \
17456 conftest$ac_exeext conftest.$ac_ext
17457 LIBS=$ac_check_lib_save_LIBS
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17460 $as_echo "$ac_cv_lib_m_atanl" >&6; }
17461 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
17463 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17468 $as_echo_n "checking for atanhf in -lm... " >&6; }
17469 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17472 ac_check_lib_save_LIBS=$LIBS
17473 LIBS="-lm $LIBS"
17474 if test x$gcc_no_link = xyes; then
17475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17480 /* Override any GCC internal prototype to avoid an error.
17481 Use char because int might match the return type of a GCC
17482 builtin and then its argument prototype would still apply. */
17483 #ifdef __cplusplus
17484 extern "C"
17485 #endif
17486 char atanhf ();
17488 main ()
17490 return atanhf ();
17492 return 0;
17494 _ACEOF
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_lib_m_atanhf=yes
17497 else
17498 ac_cv_lib_m_atanhf=no
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 LIBS=$ac_check_lib_save_LIBS
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17505 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
17506 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
17508 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17513 $as_echo_n "checking for atanh in -lm... " >&6; }
17514 if test "${ac_cv_lib_m_atanh+set}" = set; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 ac_check_lib_save_LIBS=$LIBS
17518 LIBS="-lm $LIBS"
17519 if test x$gcc_no_link = xyes; then
17520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17525 /* Override any GCC internal prototype to avoid an error.
17526 Use char because int might match the return type of a GCC
17527 builtin and then its argument prototype would still apply. */
17528 #ifdef __cplusplus
17529 extern "C"
17530 #endif
17531 char atanh ();
17533 main ()
17535 return atanh ();
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_lib_m_atanh=yes
17542 else
17543 ac_cv_lib_m_atanh=no
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17547 LIBS=$ac_check_lib_save_LIBS
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17550 $as_echo "$ac_cv_lib_m_atanh" >&6; }
17551 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
17553 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17558 $as_echo_n "checking for atanhl in -lm... " >&6; }
17559 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17560 $as_echo_n "(cached) " >&6
17561 else
17562 ac_check_lib_save_LIBS=$LIBS
17563 LIBS="-lm $LIBS"
17564 if test x$gcc_no_link = xyes; then
17565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17570 /* Override any GCC internal prototype to avoid an error.
17571 Use char because int might match the return type of a GCC
17572 builtin and then its argument prototype would still apply. */
17573 #ifdef __cplusplus
17574 extern "C"
17575 #endif
17576 char atanhl ();
17578 main ()
17580 return atanhl ();
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_lib_m_atanhl=yes
17587 else
17588 ac_cv_lib_m_atanhl=no
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17592 LIBS=$ac_check_lib_save_LIBS
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17595 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
17596 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
17598 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17603 $as_echo_n "checking for cargf in -lm... " >&6; }
17604 if test "${ac_cv_lib_m_cargf+set}" = set; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 ac_check_lib_save_LIBS=$LIBS
17608 LIBS="-lm $LIBS"
17609 if test x$gcc_no_link = xyes; then
17610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17615 /* Override any GCC internal prototype to avoid an error.
17616 Use char because int might match the return type of a GCC
17617 builtin and then its argument prototype would still apply. */
17618 #ifdef __cplusplus
17619 extern "C"
17620 #endif
17621 char cargf ();
17623 main ()
17625 return cargf ();
17627 return 0;
17629 _ACEOF
17630 if ac_fn_c_try_link "$LINENO"; then :
17631 ac_cv_lib_m_cargf=yes
17632 else
17633 ac_cv_lib_m_cargf=no
17635 rm -f core conftest.err conftest.$ac_objext \
17636 conftest$ac_exeext conftest.$ac_ext
17637 LIBS=$ac_check_lib_save_LIBS
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17640 $as_echo "$ac_cv_lib_m_cargf" >&6; }
17641 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
17643 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17648 $as_echo_n "checking for carg in -lm... " >&6; }
17649 if test "${ac_cv_lib_m_carg+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652 ac_check_lib_save_LIBS=$LIBS
17653 LIBS="-lm $LIBS"
17654 if test x$gcc_no_link = xyes; then
17655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17660 /* Override any GCC internal prototype to avoid an error.
17661 Use char because int might match the return type of a GCC
17662 builtin and then its argument prototype would still apply. */
17663 #ifdef __cplusplus
17664 extern "C"
17665 #endif
17666 char carg ();
17668 main ()
17670 return carg ();
17672 return 0;
17674 _ACEOF
17675 if ac_fn_c_try_link "$LINENO"; then :
17676 ac_cv_lib_m_carg=yes
17677 else
17678 ac_cv_lib_m_carg=no
17680 rm -f core conftest.err conftest.$ac_objext \
17681 conftest$ac_exeext conftest.$ac_ext
17682 LIBS=$ac_check_lib_save_LIBS
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17685 $as_echo "$ac_cv_lib_m_carg" >&6; }
17686 if test "x$ac_cv_lib_m_carg" = x""yes; then :
17688 $as_echo "#define HAVE_CARG 1" >>confdefs.h
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17693 $as_echo_n "checking for cargl in -lm... " >&6; }
17694 if test "${ac_cv_lib_m_cargl+set}" = set; then :
17695 $as_echo_n "(cached) " >&6
17696 else
17697 ac_check_lib_save_LIBS=$LIBS
17698 LIBS="-lm $LIBS"
17699 if test x$gcc_no_link = xyes; then
17700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17705 /* Override any GCC internal prototype to avoid an error.
17706 Use char because int might match the return type of a GCC
17707 builtin and then its argument prototype would still apply. */
17708 #ifdef __cplusplus
17709 extern "C"
17710 #endif
17711 char cargl ();
17713 main ()
17715 return cargl ();
17717 return 0;
17719 _ACEOF
17720 if ac_fn_c_try_link "$LINENO"; then :
17721 ac_cv_lib_m_cargl=yes
17722 else
17723 ac_cv_lib_m_cargl=no
17725 rm -f core conftest.err conftest.$ac_objext \
17726 conftest$ac_exeext conftest.$ac_ext
17727 LIBS=$ac_check_lib_save_LIBS
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17730 $as_echo "$ac_cv_lib_m_cargl" >&6; }
17731 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
17733 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17738 $as_echo_n "checking for ceilf in -lm... " >&6; }
17739 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17740 $as_echo_n "(cached) " >&6
17741 else
17742 ac_check_lib_save_LIBS=$LIBS
17743 LIBS="-lm $LIBS"
17744 if test x$gcc_no_link = xyes; then
17745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17753 #ifdef __cplusplus
17754 extern "C"
17755 #endif
17756 char ceilf ();
17758 main ()
17760 return ceilf ();
17762 return 0;
17764 _ACEOF
17765 if ac_fn_c_try_link "$LINENO"; then :
17766 ac_cv_lib_m_ceilf=yes
17767 else
17768 ac_cv_lib_m_ceilf=no
17770 rm -f core conftest.err conftest.$ac_objext \
17771 conftest$ac_exeext conftest.$ac_ext
17772 LIBS=$ac_check_lib_save_LIBS
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17775 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17776 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17778 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17783 $as_echo_n "checking for ceil in -lm... " >&6; }
17784 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787 ac_check_lib_save_LIBS=$LIBS
17788 LIBS="-lm $LIBS"
17789 if test x$gcc_no_link = xyes; then
17790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17795 /* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17798 #ifdef __cplusplus
17799 extern "C"
17800 #endif
17801 char ceil ();
17803 main ()
17805 return ceil ();
17807 return 0;
17809 _ACEOF
17810 if ac_fn_c_try_link "$LINENO"; then :
17811 ac_cv_lib_m_ceil=yes
17812 else
17813 ac_cv_lib_m_ceil=no
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17817 LIBS=$ac_check_lib_save_LIBS
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17820 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17821 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17823 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17828 $as_echo_n "checking for ceill in -lm... " >&6; }
17829 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17830 $as_echo_n "(cached) " >&6
17831 else
17832 ac_check_lib_save_LIBS=$LIBS
17833 LIBS="-lm $LIBS"
17834 if test x$gcc_no_link = xyes; then
17835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17840 /* Override any GCC internal prototype to avoid an error.
17841 Use char because int might match the return type of a GCC
17842 builtin and then its argument prototype would still apply. */
17843 #ifdef __cplusplus
17844 extern "C"
17845 #endif
17846 char ceill ();
17848 main ()
17850 return ceill ();
17852 return 0;
17854 _ACEOF
17855 if ac_fn_c_try_link "$LINENO"; then :
17856 ac_cv_lib_m_ceill=yes
17857 else
17858 ac_cv_lib_m_ceill=no
17860 rm -f core conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862 LIBS=$ac_check_lib_save_LIBS
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17865 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17866 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17868 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17873 $as_echo_n "checking for copysignf in -lm... " >&6; }
17874 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17875 $as_echo_n "(cached) " >&6
17876 else
17877 ac_check_lib_save_LIBS=$LIBS
17878 LIBS="-lm $LIBS"
17879 if test x$gcc_no_link = xyes; then
17880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17885 /* Override any GCC internal prototype to avoid an error.
17886 Use char because int might match the return type of a GCC
17887 builtin and then its argument prototype would still apply. */
17888 #ifdef __cplusplus
17889 extern "C"
17890 #endif
17891 char copysignf ();
17893 main ()
17895 return copysignf ();
17897 return 0;
17899 _ACEOF
17900 if ac_fn_c_try_link "$LINENO"; then :
17901 ac_cv_lib_m_copysignf=yes
17902 else
17903 ac_cv_lib_m_copysignf=no
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17907 LIBS=$ac_check_lib_save_LIBS
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17910 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17911 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17913 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17918 $as_echo_n "checking for copysign in -lm... " >&6; }
17919 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17920 $as_echo_n "(cached) " >&6
17921 else
17922 ac_check_lib_save_LIBS=$LIBS
17923 LIBS="-lm $LIBS"
17924 if test x$gcc_no_link = xyes; then
17925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17930 /* Override any GCC internal prototype to avoid an error.
17931 Use char because int might match the return type of a GCC
17932 builtin and then its argument prototype would still apply. */
17933 #ifdef __cplusplus
17934 extern "C"
17935 #endif
17936 char copysign ();
17938 main ()
17940 return copysign ();
17942 return 0;
17944 _ACEOF
17945 if ac_fn_c_try_link "$LINENO"; then :
17946 ac_cv_lib_m_copysign=yes
17947 else
17948 ac_cv_lib_m_copysign=no
17950 rm -f core conftest.err conftest.$ac_objext \
17951 conftest$ac_exeext conftest.$ac_ext
17952 LIBS=$ac_check_lib_save_LIBS
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17955 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17956 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17958 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17963 $as_echo_n "checking for copysignl in -lm... " >&6; }
17964 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17967 ac_check_lib_save_LIBS=$LIBS
17968 LIBS="-lm $LIBS"
17969 if test x$gcc_no_link = xyes; then
17970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17975 /* Override any GCC internal prototype to avoid an error.
17976 Use char because int might match the return type of a GCC
17977 builtin and then its argument prototype would still apply. */
17978 #ifdef __cplusplus
17979 extern "C"
17980 #endif
17981 char copysignl ();
17983 main ()
17985 return copysignl ();
17987 return 0;
17989 _ACEOF
17990 if ac_fn_c_try_link "$LINENO"; then :
17991 ac_cv_lib_m_copysignl=yes
17992 else
17993 ac_cv_lib_m_copysignl=no
17995 rm -f core conftest.err conftest.$ac_objext \
17996 conftest$ac_exeext conftest.$ac_ext
17997 LIBS=$ac_check_lib_save_LIBS
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
18000 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
18001 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
18003 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
18008 $as_echo_n "checking for cosf in -lm... " >&6; }
18009 if test "${ac_cv_lib_m_cosf+set}" = set; then :
18010 $as_echo_n "(cached) " >&6
18011 else
18012 ac_check_lib_save_LIBS=$LIBS
18013 LIBS="-lm $LIBS"
18014 if test x$gcc_no_link = xyes; then
18015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h. */
18020 /* Override any GCC internal prototype to avoid an error.
18021 Use char because int might match the return type of a GCC
18022 builtin and then its argument prototype would still apply. */
18023 #ifdef __cplusplus
18024 extern "C"
18025 #endif
18026 char cosf ();
18028 main ()
18030 return cosf ();
18032 return 0;
18034 _ACEOF
18035 if ac_fn_c_try_link "$LINENO"; then :
18036 ac_cv_lib_m_cosf=yes
18037 else
18038 ac_cv_lib_m_cosf=no
18040 rm -f core conftest.err conftest.$ac_objext \
18041 conftest$ac_exeext conftest.$ac_ext
18042 LIBS=$ac_check_lib_save_LIBS
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
18045 $as_echo "$ac_cv_lib_m_cosf" >&6; }
18046 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
18048 $as_echo "#define HAVE_COSF 1" >>confdefs.h
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18053 $as_echo_n "checking for cos in -lm... " >&6; }
18054 if test "${ac_cv_lib_m_cos+set}" = set; then :
18055 $as_echo_n "(cached) " >&6
18056 else
18057 ac_check_lib_save_LIBS=$LIBS
18058 LIBS="-lm $LIBS"
18059 if test x$gcc_no_link = xyes; then
18060 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18063 /* end confdefs.h. */
18065 /* Override any GCC internal prototype to avoid an error.
18066 Use char because int might match the return type of a GCC
18067 builtin and then its argument prototype would still apply. */
18068 #ifdef __cplusplus
18069 extern "C"
18070 #endif
18071 char cos ();
18073 main ()
18075 return cos ();
18077 return 0;
18079 _ACEOF
18080 if ac_fn_c_try_link "$LINENO"; then :
18081 ac_cv_lib_m_cos=yes
18082 else
18083 ac_cv_lib_m_cos=no
18085 rm -f core conftest.err conftest.$ac_objext \
18086 conftest$ac_exeext conftest.$ac_ext
18087 LIBS=$ac_check_lib_save_LIBS
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18090 $as_echo "$ac_cv_lib_m_cos" >&6; }
18091 if test "x$ac_cv_lib_m_cos" = x""yes; then :
18093 $as_echo "#define HAVE_COS 1" >>confdefs.h
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
18098 $as_echo_n "checking for cosl in -lm... " >&6; }
18099 if test "${ac_cv_lib_m_cosl+set}" = set; then :
18100 $as_echo_n "(cached) " >&6
18101 else
18102 ac_check_lib_save_LIBS=$LIBS
18103 LIBS="-lm $LIBS"
18104 if test x$gcc_no_link = xyes; then
18105 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18110 /* Override any GCC internal prototype to avoid an error.
18111 Use char because int might match the return type of a GCC
18112 builtin and then its argument prototype would still apply. */
18113 #ifdef __cplusplus
18114 extern "C"
18115 #endif
18116 char cosl ();
18118 main ()
18120 return cosl ();
18122 return 0;
18124 _ACEOF
18125 if ac_fn_c_try_link "$LINENO"; then :
18126 ac_cv_lib_m_cosl=yes
18127 else
18128 ac_cv_lib_m_cosl=no
18130 rm -f core conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18132 LIBS=$ac_check_lib_save_LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18135 $as_echo "$ac_cv_lib_m_cosl" >&6; }
18136 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
18138 $as_echo "#define HAVE_COSL 1" >>confdefs.h
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18143 $as_echo_n "checking for ccosf in -lm... " >&6; }
18144 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18145 $as_echo_n "(cached) " >&6
18146 else
18147 ac_check_lib_save_LIBS=$LIBS
18148 LIBS="-lm $LIBS"
18149 if test x$gcc_no_link = xyes; then
18150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18155 /* Override any GCC internal prototype to avoid an error.
18156 Use char because int might match the return type of a GCC
18157 builtin and then its argument prototype would still apply. */
18158 #ifdef __cplusplus
18159 extern "C"
18160 #endif
18161 char ccosf ();
18163 main ()
18165 return ccosf ();
18167 return 0;
18169 _ACEOF
18170 if ac_fn_c_try_link "$LINENO"; then :
18171 ac_cv_lib_m_ccosf=yes
18172 else
18173 ac_cv_lib_m_ccosf=no
18175 rm -f core conftest.err conftest.$ac_objext \
18176 conftest$ac_exeext conftest.$ac_ext
18177 LIBS=$ac_check_lib_save_LIBS
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18180 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
18181 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
18183 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18188 $as_echo_n "checking for ccos in -lm... " >&6; }
18189 if test "${ac_cv_lib_m_ccos+set}" = set; then :
18190 $as_echo_n "(cached) " >&6
18191 else
18192 ac_check_lib_save_LIBS=$LIBS
18193 LIBS="-lm $LIBS"
18194 if test x$gcc_no_link = xyes; then
18195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 /* end confdefs.h. */
18200 /* Override any GCC internal prototype to avoid an error.
18201 Use char because int might match the return type of a GCC
18202 builtin and then its argument prototype would still apply. */
18203 #ifdef __cplusplus
18204 extern "C"
18205 #endif
18206 char ccos ();
18208 main ()
18210 return ccos ();
18212 return 0;
18214 _ACEOF
18215 if ac_fn_c_try_link "$LINENO"; then :
18216 ac_cv_lib_m_ccos=yes
18217 else
18218 ac_cv_lib_m_ccos=no
18220 rm -f core conftest.err conftest.$ac_objext \
18221 conftest$ac_exeext conftest.$ac_ext
18222 LIBS=$ac_check_lib_save_LIBS
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18225 $as_echo "$ac_cv_lib_m_ccos" >&6; }
18226 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
18228 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18233 $as_echo_n "checking for ccosl in -lm... " >&6; }
18234 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18235 $as_echo_n "(cached) " >&6
18236 else
18237 ac_check_lib_save_LIBS=$LIBS
18238 LIBS="-lm $LIBS"
18239 if test x$gcc_no_link = xyes; then
18240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char ccosl ();
18253 main ()
18255 return ccosl ();
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"; then :
18261 ac_cv_lib_m_ccosl=yes
18262 else
18263 ac_cv_lib_m_ccosl=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18267 LIBS=$ac_check_lib_save_LIBS
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18270 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
18271 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
18273 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18278 $as_echo_n "checking for coshf in -lm... " >&6; }
18279 if test "${ac_cv_lib_m_coshf+set}" = set; then :
18280 $as_echo_n "(cached) " >&6
18281 else
18282 ac_check_lib_save_LIBS=$LIBS
18283 LIBS="-lm $LIBS"
18284 if test x$gcc_no_link = xyes; then
18285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18290 /* Override any GCC internal prototype to avoid an error.
18291 Use char because int might match the return type of a GCC
18292 builtin and then its argument prototype would still apply. */
18293 #ifdef __cplusplus
18294 extern "C"
18295 #endif
18296 char coshf ();
18298 main ()
18300 return coshf ();
18302 return 0;
18304 _ACEOF
18305 if ac_fn_c_try_link "$LINENO"; then :
18306 ac_cv_lib_m_coshf=yes
18307 else
18308 ac_cv_lib_m_coshf=no
18310 rm -f core conftest.err conftest.$ac_objext \
18311 conftest$ac_exeext conftest.$ac_ext
18312 LIBS=$ac_check_lib_save_LIBS
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18315 $as_echo "$ac_cv_lib_m_coshf" >&6; }
18316 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
18318 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18323 $as_echo_n "checking for cosh in -lm... " >&6; }
18324 if test "${ac_cv_lib_m_cosh+set}" = set; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18327 ac_check_lib_save_LIBS=$LIBS
18328 LIBS="-lm $LIBS"
18329 if test x$gcc_no_link = xyes; then
18330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18335 /* Override any GCC internal prototype to avoid an error.
18336 Use char because int might match the return type of a GCC
18337 builtin and then its argument prototype would still apply. */
18338 #ifdef __cplusplus
18339 extern "C"
18340 #endif
18341 char cosh ();
18343 main ()
18345 return cosh ();
18347 return 0;
18349 _ACEOF
18350 if ac_fn_c_try_link "$LINENO"; then :
18351 ac_cv_lib_m_cosh=yes
18352 else
18353 ac_cv_lib_m_cosh=no
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18357 LIBS=$ac_check_lib_save_LIBS
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18360 $as_echo "$ac_cv_lib_m_cosh" >&6; }
18361 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
18363 $as_echo "#define HAVE_COSH 1" >>confdefs.h
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18368 $as_echo_n "checking for coshl in -lm... " >&6; }
18369 if test "${ac_cv_lib_m_coshl+set}" = set; then :
18370 $as_echo_n "(cached) " >&6
18371 else
18372 ac_check_lib_save_LIBS=$LIBS
18373 LIBS="-lm $LIBS"
18374 if test x$gcc_no_link = xyes; then
18375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 #ifdef __cplusplus
18384 extern "C"
18385 #endif
18386 char coshl ();
18388 main ()
18390 return coshl ();
18392 return 0;
18394 _ACEOF
18395 if ac_fn_c_try_link "$LINENO"; then :
18396 ac_cv_lib_m_coshl=yes
18397 else
18398 ac_cv_lib_m_coshl=no
18400 rm -f core conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18405 $as_echo "$ac_cv_lib_m_coshl" >&6; }
18406 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
18408 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18413 $as_echo_n "checking for ccoshf in -lm... " >&6; }
18414 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18415 $as_echo_n "(cached) " >&6
18416 else
18417 ac_check_lib_save_LIBS=$LIBS
18418 LIBS="-lm $LIBS"
18419 if test x$gcc_no_link = xyes; then
18420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 /* Override any GCC internal prototype to avoid an error.
18426 Use char because int might match the return type of a GCC
18427 builtin and then its argument prototype would still apply. */
18428 #ifdef __cplusplus
18429 extern "C"
18430 #endif
18431 char ccoshf ();
18433 main ()
18435 return ccoshf ();
18437 return 0;
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"; then :
18441 ac_cv_lib_m_ccoshf=yes
18442 else
18443 ac_cv_lib_m_ccoshf=no
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447 LIBS=$ac_check_lib_save_LIBS
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18450 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18451 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
18453 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18458 $as_echo_n "checking for ccosh in -lm... " >&6; }
18459 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18460 $as_echo_n "(cached) " >&6
18461 else
18462 ac_check_lib_save_LIBS=$LIBS
18463 LIBS="-lm $LIBS"
18464 if test x$gcc_no_link = xyes; then
18465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18470 /* Override any GCC internal prototype to avoid an error.
18471 Use char because int might match the return type of a GCC
18472 builtin and then its argument prototype would still apply. */
18473 #ifdef __cplusplus
18474 extern "C"
18475 #endif
18476 char ccosh ();
18478 main ()
18480 return ccosh ();
18482 return 0;
18484 _ACEOF
18485 if ac_fn_c_try_link "$LINENO"; then :
18486 ac_cv_lib_m_ccosh=yes
18487 else
18488 ac_cv_lib_m_ccosh=no
18490 rm -f core conftest.err conftest.$ac_objext \
18491 conftest$ac_exeext conftest.$ac_ext
18492 LIBS=$ac_check_lib_save_LIBS
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18495 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
18496 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
18498 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18503 $as_echo_n "checking for ccoshl in -lm... " >&6; }
18504 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18505 $as_echo_n "(cached) " >&6
18506 else
18507 ac_check_lib_save_LIBS=$LIBS
18508 LIBS="-lm $LIBS"
18509 if test x$gcc_no_link = xyes; then
18510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18515 /* Override any GCC internal prototype to avoid an error.
18516 Use char because int might match the return type of a GCC
18517 builtin and then its argument prototype would still apply. */
18518 #ifdef __cplusplus
18519 extern "C"
18520 #endif
18521 char ccoshl ();
18523 main ()
18525 return ccoshl ();
18527 return 0;
18529 _ACEOF
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 ac_cv_lib_m_ccoshl=yes
18532 else
18533 ac_cv_lib_m_ccoshl=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18537 LIBS=$ac_check_lib_save_LIBS
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18540 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18541 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
18543 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18548 $as_echo_n "checking for expf in -lm... " >&6; }
18549 if test "${ac_cv_lib_m_expf+set}" = set; then :
18550 $as_echo_n "(cached) " >&6
18551 else
18552 ac_check_lib_save_LIBS=$LIBS
18553 LIBS="-lm $LIBS"
18554 if test x$gcc_no_link = xyes; then
18555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18560 /* Override any GCC internal prototype to avoid an error.
18561 Use char because int might match the return type of a GCC
18562 builtin and then its argument prototype would still apply. */
18563 #ifdef __cplusplus
18564 extern "C"
18565 #endif
18566 char expf ();
18568 main ()
18570 return expf ();
18572 return 0;
18574 _ACEOF
18575 if ac_fn_c_try_link "$LINENO"; then :
18576 ac_cv_lib_m_expf=yes
18577 else
18578 ac_cv_lib_m_expf=no
18580 rm -f core conftest.err conftest.$ac_objext \
18581 conftest$ac_exeext conftest.$ac_ext
18582 LIBS=$ac_check_lib_save_LIBS
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18585 $as_echo "$ac_cv_lib_m_expf" >&6; }
18586 if test "x$ac_cv_lib_m_expf" = x""yes; then :
18588 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18593 $as_echo_n "checking for exp in -lm... " >&6; }
18594 if test "${ac_cv_lib_m_exp+set}" = set; then :
18595 $as_echo_n "(cached) " >&6
18596 else
18597 ac_check_lib_save_LIBS=$LIBS
18598 LIBS="-lm $LIBS"
18599 if test x$gcc_no_link = xyes; then
18600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18605 /* Override any GCC internal prototype to avoid an error.
18606 Use char because int might match the return type of a GCC
18607 builtin and then its argument prototype would still apply. */
18608 #ifdef __cplusplus
18609 extern "C"
18610 #endif
18611 char exp ();
18613 main ()
18615 return exp ();
18617 return 0;
18619 _ACEOF
18620 if ac_fn_c_try_link "$LINENO"; then :
18621 ac_cv_lib_m_exp=yes
18622 else
18623 ac_cv_lib_m_exp=no
18625 rm -f core conftest.err conftest.$ac_objext \
18626 conftest$ac_exeext conftest.$ac_ext
18627 LIBS=$ac_check_lib_save_LIBS
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18630 $as_echo "$ac_cv_lib_m_exp" >&6; }
18631 if test "x$ac_cv_lib_m_exp" = x""yes; then :
18633 $as_echo "#define HAVE_EXP 1" >>confdefs.h
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18638 $as_echo_n "checking for expl in -lm... " >&6; }
18639 if test "${ac_cv_lib_m_expl+set}" = set; then :
18640 $as_echo_n "(cached) " >&6
18641 else
18642 ac_check_lib_save_LIBS=$LIBS
18643 LIBS="-lm $LIBS"
18644 if test x$gcc_no_link = xyes; then
18645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18650 /* Override any GCC internal prototype to avoid an error.
18651 Use char because int might match the return type of a GCC
18652 builtin and then its argument prototype would still apply. */
18653 #ifdef __cplusplus
18654 extern "C"
18655 #endif
18656 char expl ();
18658 main ()
18660 return expl ();
18662 return 0;
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"; then :
18666 ac_cv_lib_m_expl=yes
18667 else
18668 ac_cv_lib_m_expl=no
18670 rm -f core conftest.err conftest.$ac_objext \
18671 conftest$ac_exeext conftest.$ac_ext
18672 LIBS=$ac_check_lib_save_LIBS
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18675 $as_echo "$ac_cv_lib_m_expl" >&6; }
18676 if test "x$ac_cv_lib_m_expl" = x""yes; then :
18678 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18683 $as_echo_n "checking for cexpf in -lm... " >&6; }
18684 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18687 ac_check_lib_save_LIBS=$LIBS
18688 LIBS="-lm $LIBS"
18689 if test x$gcc_no_link = xyes; then
18690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18695 /* Override any GCC internal prototype to avoid an error.
18696 Use char because int might match the return type of a GCC
18697 builtin and then its argument prototype would still apply. */
18698 #ifdef __cplusplus
18699 extern "C"
18700 #endif
18701 char cexpf ();
18703 main ()
18705 return cexpf ();
18707 return 0;
18709 _ACEOF
18710 if ac_fn_c_try_link "$LINENO"; then :
18711 ac_cv_lib_m_cexpf=yes
18712 else
18713 ac_cv_lib_m_cexpf=no
18715 rm -f core conftest.err conftest.$ac_objext \
18716 conftest$ac_exeext conftest.$ac_ext
18717 LIBS=$ac_check_lib_save_LIBS
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18720 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
18721 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
18723 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18728 $as_echo_n "checking for cexp in -lm... " >&6; }
18729 if test "${ac_cv_lib_m_cexp+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18732 ac_check_lib_save_LIBS=$LIBS
18733 LIBS="-lm $LIBS"
18734 if test x$gcc_no_link = xyes; then
18735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18740 /* Override any GCC internal prototype to avoid an error.
18741 Use char because int might match the return type of a GCC
18742 builtin and then its argument prototype would still apply. */
18743 #ifdef __cplusplus
18744 extern "C"
18745 #endif
18746 char cexp ();
18748 main ()
18750 return cexp ();
18752 return 0;
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"; then :
18756 ac_cv_lib_m_cexp=yes
18757 else
18758 ac_cv_lib_m_cexp=no
18760 rm -f core conftest.err conftest.$ac_objext \
18761 conftest$ac_exeext conftest.$ac_ext
18762 LIBS=$ac_check_lib_save_LIBS
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18765 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18766 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18768 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18773 $as_echo_n "checking for cexpl in -lm... " >&6; }
18774 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18775 $as_echo_n "(cached) " >&6
18776 else
18777 ac_check_lib_save_LIBS=$LIBS
18778 LIBS="-lm $LIBS"
18779 if test x$gcc_no_link = xyes; then
18780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18785 /* Override any GCC internal prototype to avoid an error.
18786 Use char because int might match the return type of a GCC
18787 builtin and then its argument prototype would still apply. */
18788 #ifdef __cplusplus
18789 extern "C"
18790 #endif
18791 char cexpl ();
18793 main ()
18795 return cexpl ();
18797 return 0;
18799 _ACEOF
18800 if ac_fn_c_try_link "$LINENO"; then :
18801 ac_cv_lib_m_cexpl=yes
18802 else
18803 ac_cv_lib_m_cexpl=no
18805 rm -f core conftest.err conftest.$ac_objext \
18806 conftest$ac_exeext conftest.$ac_ext
18807 LIBS=$ac_check_lib_save_LIBS
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18810 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18811 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18813 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18818 $as_echo_n "checking for fabsf in -lm... " >&6; }
18819 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18820 $as_echo_n "(cached) " >&6
18821 else
18822 ac_check_lib_save_LIBS=$LIBS
18823 LIBS="-lm $LIBS"
18824 if test x$gcc_no_link = xyes; then
18825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18830 /* Override any GCC internal prototype to avoid an error.
18831 Use char because int might match the return type of a GCC
18832 builtin and then its argument prototype would still apply. */
18833 #ifdef __cplusplus
18834 extern "C"
18835 #endif
18836 char fabsf ();
18838 main ()
18840 return fabsf ();
18842 return 0;
18844 _ACEOF
18845 if ac_fn_c_try_link "$LINENO"; then :
18846 ac_cv_lib_m_fabsf=yes
18847 else
18848 ac_cv_lib_m_fabsf=no
18850 rm -f core conftest.err conftest.$ac_objext \
18851 conftest$ac_exeext conftest.$ac_ext
18852 LIBS=$ac_check_lib_save_LIBS
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18855 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18856 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18858 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18863 $as_echo_n "checking for fabs in -lm... " >&6; }
18864 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18865 $as_echo_n "(cached) " >&6
18866 else
18867 ac_check_lib_save_LIBS=$LIBS
18868 LIBS="-lm $LIBS"
18869 if test x$gcc_no_link = xyes; then
18870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18875 /* Override any GCC internal prototype to avoid an error.
18876 Use char because int might match the return type of a GCC
18877 builtin and then its argument prototype would still apply. */
18878 #ifdef __cplusplus
18879 extern "C"
18880 #endif
18881 char fabs ();
18883 main ()
18885 return fabs ();
18887 return 0;
18889 _ACEOF
18890 if ac_fn_c_try_link "$LINENO"; then :
18891 ac_cv_lib_m_fabs=yes
18892 else
18893 ac_cv_lib_m_fabs=no
18895 rm -f core conftest.err conftest.$ac_objext \
18896 conftest$ac_exeext conftest.$ac_ext
18897 LIBS=$ac_check_lib_save_LIBS
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18900 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18901 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18903 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18908 $as_echo_n "checking for fabsl in -lm... " >&6; }
18909 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18910 $as_echo_n "(cached) " >&6
18911 else
18912 ac_check_lib_save_LIBS=$LIBS
18913 LIBS="-lm $LIBS"
18914 if test x$gcc_no_link = xyes; then
18915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18920 /* Override any GCC internal prototype to avoid an error.
18921 Use char because int might match the return type of a GCC
18922 builtin and then its argument prototype would still apply. */
18923 #ifdef __cplusplus
18924 extern "C"
18925 #endif
18926 char fabsl ();
18928 main ()
18930 return fabsl ();
18932 return 0;
18934 _ACEOF
18935 if ac_fn_c_try_link "$LINENO"; then :
18936 ac_cv_lib_m_fabsl=yes
18937 else
18938 ac_cv_lib_m_fabsl=no
18940 rm -f core conftest.err conftest.$ac_objext \
18941 conftest$ac_exeext conftest.$ac_ext
18942 LIBS=$ac_check_lib_save_LIBS
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18945 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18946 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18948 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18953 $as_echo_n "checking for cabsf in -lm... " >&6; }
18954 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18955 $as_echo_n "(cached) " >&6
18956 else
18957 ac_check_lib_save_LIBS=$LIBS
18958 LIBS="-lm $LIBS"
18959 if test x$gcc_no_link = xyes; then
18960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18965 /* Override any GCC internal prototype to avoid an error.
18966 Use char because int might match the return type of a GCC
18967 builtin and then its argument prototype would still apply. */
18968 #ifdef __cplusplus
18969 extern "C"
18970 #endif
18971 char cabsf ();
18973 main ()
18975 return cabsf ();
18977 return 0;
18979 _ACEOF
18980 if ac_fn_c_try_link "$LINENO"; then :
18981 ac_cv_lib_m_cabsf=yes
18982 else
18983 ac_cv_lib_m_cabsf=no
18985 rm -f core conftest.err conftest.$ac_objext \
18986 conftest$ac_exeext conftest.$ac_ext
18987 LIBS=$ac_check_lib_save_LIBS
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18990 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18991 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18993 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18998 $as_echo_n "checking for cabs in -lm... " >&6; }
18999 if test "${ac_cv_lib_m_cabs+set}" = set; then :
19000 $as_echo_n "(cached) " >&6
19001 else
19002 ac_check_lib_save_LIBS=$LIBS
19003 LIBS="-lm $LIBS"
19004 if test x$gcc_no_link = xyes; then
19005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h. */
19010 /* Override any GCC internal prototype to avoid an error.
19011 Use char because int might match the return type of a GCC
19012 builtin and then its argument prototype would still apply. */
19013 #ifdef __cplusplus
19014 extern "C"
19015 #endif
19016 char cabs ();
19018 main ()
19020 return cabs ();
19022 return 0;
19024 _ACEOF
19025 if ac_fn_c_try_link "$LINENO"; then :
19026 ac_cv_lib_m_cabs=yes
19027 else
19028 ac_cv_lib_m_cabs=no
19030 rm -f core conftest.err conftest.$ac_objext \
19031 conftest$ac_exeext conftest.$ac_ext
19032 LIBS=$ac_check_lib_save_LIBS
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
19035 $as_echo "$ac_cv_lib_m_cabs" >&6; }
19036 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
19038 $as_echo "#define HAVE_CABS 1" >>confdefs.h
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
19043 $as_echo_n "checking for cabsl in -lm... " >&6; }
19044 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
19045 $as_echo_n "(cached) " >&6
19046 else
19047 ac_check_lib_save_LIBS=$LIBS
19048 LIBS="-lm $LIBS"
19049 if test x$gcc_no_link = xyes; then
19050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19053 /* end confdefs.h. */
19055 /* Override any GCC internal prototype to avoid an error.
19056 Use char because int might match the return type of a GCC
19057 builtin and then its argument prototype would still apply. */
19058 #ifdef __cplusplus
19059 extern "C"
19060 #endif
19061 char cabsl ();
19063 main ()
19065 return cabsl ();
19067 return 0;
19069 _ACEOF
19070 if ac_fn_c_try_link "$LINENO"; then :
19071 ac_cv_lib_m_cabsl=yes
19072 else
19073 ac_cv_lib_m_cabsl=no
19075 rm -f core conftest.err conftest.$ac_objext \
19076 conftest$ac_exeext conftest.$ac_ext
19077 LIBS=$ac_check_lib_save_LIBS
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
19080 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
19081 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
19083 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
19088 $as_echo_n "checking for floorf in -lm... " >&6; }
19089 if test "${ac_cv_lib_m_floorf+set}" = set; then :
19090 $as_echo_n "(cached) " >&6
19091 else
19092 ac_check_lib_save_LIBS=$LIBS
19093 LIBS="-lm $LIBS"
19094 if test x$gcc_no_link = xyes; then
19095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19100 /* Override any GCC internal prototype to avoid an error.
19101 Use char because int might match the return type of a GCC
19102 builtin and then its argument prototype would still apply. */
19103 #ifdef __cplusplus
19104 extern "C"
19105 #endif
19106 char floorf ();
19108 main ()
19110 return floorf ();
19112 return 0;
19114 _ACEOF
19115 if ac_fn_c_try_link "$LINENO"; then :
19116 ac_cv_lib_m_floorf=yes
19117 else
19118 ac_cv_lib_m_floorf=no
19120 rm -f core conftest.err conftest.$ac_objext \
19121 conftest$ac_exeext conftest.$ac_ext
19122 LIBS=$ac_check_lib_save_LIBS
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19125 $as_echo "$ac_cv_lib_m_floorf" >&6; }
19126 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
19128 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19133 $as_echo_n "checking for floor in -lm... " >&6; }
19134 if test "${ac_cv_lib_m_floor+set}" = set; then :
19135 $as_echo_n "(cached) " >&6
19136 else
19137 ac_check_lib_save_LIBS=$LIBS
19138 LIBS="-lm $LIBS"
19139 if test x$gcc_no_link = xyes; then
19140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19145 /* Override any GCC internal prototype to avoid an error.
19146 Use char because int might match the return type of a GCC
19147 builtin and then its argument prototype would still apply. */
19148 #ifdef __cplusplus
19149 extern "C"
19150 #endif
19151 char floor ();
19153 main ()
19155 return floor ();
19157 return 0;
19159 _ACEOF
19160 if ac_fn_c_try_link "$LINENO"; then :
19161 ac_cv_lib_m_floor=yes
19162 else
19163 ac_cv_lib_m_floor=no
19165 rm -f core conftest.err conftest.$ac_objext \
19166 conftest$ac_exeext conftest.$ac_ext
19167 LIBS=$ac_check_lib_save_LIBS
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19170 $as_echo "$ac_cv_lib_m_floor" >&6; }
19171 if test "x$ac_cv_lib_m_floor" = x""yes; then :
19173 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19178 $as_echo_n "checking for floorl in -lm... " >&6; }
19179 if test "${ac_cv_lib_m_floorl+set}" = set; then :
19180 $as_echo_n "(cached) " >&6
19181 else
19182 ac_check_lib_save_LIBS=$LIBS
19183 LIBS="-lm $LIBS"
19184 if test x$gcc_no_link = xyes; then
19185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h. */
19190 /* Override any GCC internal prototype to avoid an error.
19191 Use char because int might match the return type of a GCC
19192 builtin and then its argument prototype would still apply. */
19193 #ifdef __cplusplus
19194 extern "C"
19195 #endif
19196 char floorl ();
19198 main ()
19200 return floorl ();
19202 return 0;
19204 _ACEOF
19205 if ac_fn_c_try_link "$LINENO"; then :
19206 ac_cv_lib_m_floorl=yes
19207 else
19208 ac_cv_lib_m_floorl=no
19210 rm -f core conftest.err conftest.$ac_objext \
19211 conftest$ac_exeext conftest.$ac_ext
19212 LIBS=$ac_check_lib_save_LIBS
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19215 $as_echo "$ac_cv_lib_m_floorl" >&6; }
19216 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
19218 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19223 $as_echo_n "checking for fmodf in -lm... " >&6; }
19224 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19225 $as_echo_n "(cached) " >&6
19226 else
19227 ac_check_lib_save_LIBS=$LIBS
19228 LIBS="-lm $LIBS"
19229 if test x$gcc_no_link = xyes; then
19230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233 /* end confdefs.h. */
19235 /* Override any GCC internal prototype to avoid an error.
19236 Use char because int might match the return type of a GCC
19237 builtin and then its argument prototype would still apply. */
19238 #ifdef __cplusplus
19239 extern "C"
19240 #endif
19241 char fmodf ();
19243 main ()
19245 return fmodf ();
19247 return 0;
19249 _ACEOF
19250 if ac_fn_c_try_link "$LINENO"; then :
19251 ac_cv_lib_m_fmodf=yes
19252 else
19253 ac_cv_lib_m_fmodf=no
19255 rm -f core conftest.err conftest.$ac_objext \
19256 conftest$ac_exeext conftest.$ac_ext
19257 LIBS=$ac_check_lib_save_LIBS
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19260 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
19261 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
19263 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19268 $as_echo_n "checking for fmod in -lm... " >&6; }
19269 if test "${ac_cv_lib_m_fmod+set}" = set; then :
19270 $as_echo_n "(cached) " >&6
19271 else
19272 ac_check_lib_save_LIBS=$LIBS
19273 LIBS="-lm $LIBS"
19274 if test x$gcc_no_link = xyes; then
19275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19280 /* Override any GCC internal prototype to avoid an error.
19281 Use char because int might match the return type of a GCC
19282 builtin and then its argument prototype would still apply. */
19283 #ifdef __cplusplus
19284 extern "C"
19285 #endif
19286 char fmod ();
19288 main ()
19290 return fmod ();
19292 return 0;
19294 _ACEOF
19295 if ac_fn_c_try_link "$LINENO"; then :
19296 ac_cv_lib_m_fmod=yes
19297 else
19298 ac_cv_lib_m_fmod=no
19300 rm -f core conftest.err conftest.$ac_objext \
19301 conftest$ac_exeext conftest.$ac_ext
19302 LIBS=$ac_check_lib_save_LIBS
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19305 $as_echo "$ac_cv_lib_m_fmod" >&6; }
19306 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
19308 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19313 $as_echo_n "checking for fmodl in -lm... " >&6; }
19314 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19315 $as_echo_n "(cached) " >&6
19316 else
19317 ac_check_lib_save_LIBS=$LIBS
19318 LIBS="-lm $LIBS"
19319 if test x$gcc_no_link = xyes; then
19320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19325 /* Override any GCC internal prototype to avoid an error.
19326 Use char because int might match the return type of a GCC
19327 builtin and then its argument prototype would still apply. */
19328 #ifdef __cplusplus
19329 extern "C"
19330 #endif
19331 char fmodl ();
19333 main ()
19335 return fmodl ();
19337 return 0;
19339 _ACEOF
19340 if ac_fn_c_try_link "$LINENO"; then :
19341 ac_cv_lib_m_fmodl=yes
19342 else
19343 ac_cv_lib_m_fmodl=no
19345 rm -f core conftest.err conftest.$ac_objext \
19346 conftest$ac_exeext conftest.$ac_ext
19347 LIBS=$ac_check_lib_save_LIBS
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19350 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
19351 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
19353 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19358 $as_echo_n "checking for frexpf in -lm... " >&6; }
19359 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19360 $as_echo_n "(cached) " >&6
19361 else
19362 ac_check_lib_save_LIBS=$LIBS
19363 LIBS="-lm $LIBS"
19364 if test x$gcc_no_link = xyes; then
19365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19370 /* Override any GCC internal prototype to avoid an error.
19371 Use char because int might match the return type of a GCC
19372 builtin and then its argument prototype would still apply. */
19373 #ifdef __cplusplus
19374 extern "C"
19375 #endif
19376 char frexpf ();
19378 main ()
19380 return frexpf ();
19382 return 0;
19384 _ACEOF
19385 if ac_fn_c_try_link "$LINENO"; then :
19386 ac_cv_lib_m_frexpf=yes
19387 else
19388 ac_cv_lib_m_frexpf=no
19390 rm -f core conftest.err conftest.$ac_objext \
19391 conftest$ac_exeext conftest.$ac_ext
19392 LIBS=$ac_check_lib_save_LIBS
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19395 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
19396 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
19398 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19403 $as_echo_n "checking for frexp in -lm... " >&6; }
19404 if test "${ac_cv_lib_m_frexp+set}" = set; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19407 ac_check_lib_save_LIBS=$LIBS
19408 LIBS="-lm $LIBS"
19409 if test x$gcc_no_link = xyes; then
19410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19415 /* Override any GCC internal prototype to avoid an error.
19416 Use char because int might match the return type of a GCC
19417 builtin and then its argument prototype would still apply. */
19418 #ifdef __cplusplus
19419 extern "C"
19420 #endif
19421 char frexp ();
19423 main ()
19425 return frexp ();
19427 return 0;
19429 _ACEOF
19430 if ac_fn_c_try_link "$LINENO"; then :
19431 ac_cv_lib_m_frexp=yes
19432 else
19433 ac_cv_lib_m_frexp=no
19435 rm -f core conftest.err conftest.$ac_objext \
19436 conftest$ac_exeext conftest.$ac_ext
19437 LIBS=$ac_check_lib_save_LIBS
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19440 $as_echo "$ac_cv_lib_m_frexp" >&6; }
19441 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
19443 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19448 $as_echo_n "checking for frexpl in -lm... " >&6; }
19449 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19450 $as_echo_n "(cached) " >&6
19451 else
19452 ac_check_lib_save_LIBS=$LIBS
19453 LIBS="-lm $LIBS"
19454 if test x$gcc_no_link = xyes; then
19455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458 /* end confdefs.h. */
19460 /* Override any GCC internal prototype to avoid an error.
19461 Use char because int might match the return type of a GCC
19462 builtin and then its argument prototype would still apply. */
19463 #ifdef __cplusplus
19464 extern "C"
19465 #endif
19466 char frexpl ();
19468 main ()
19470 return frexpl ();
19472 return 0;
19474 _ACEOF
19475 if ac_fn_c_try_link "$LINENO"; then :
19476 ac_cv_lib_m_frexpl=yes
19477 else
19478 ac_cv_lib_m_frexpl=no
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext conftest.$ac_ext
19482 LIBS=$ac_check_lib_save_LIBS
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19485 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
19486 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
19488 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19493 $as_echo_n "checking for hypotf in -lm... " >&6; }
19494 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19495 $as_echo_n "(cached) " >&6
19496 else
19497 ac_check_lib_save_LIBS=$LIBS
19498 LIBS="-lm $LIBS"
19499 if test x$gcc_no_link = xyes; then
19500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19505 /* Override any GCC internal prototype to avoid an error.
19506 Use char because int might match the return type of a GCC
19507 builtin and then its argument prototype would still apply. */
19508 #ifdef __cplusplus
19509 extern "C"
19510 #endif
19511 char hypotf ();
19513 main ()
19515 return hypotf ();
19517 return 0;
19519 _ACEOF
19520 if ac_fn_c_try_link "$LINENO"; then :
19521 ac_cv_lib_m_hypotf=yes
19522 else
19523 ac_cv_lib_m_hypotf=no
19525 rm -f core conftest.err conftest.$ac_objext \
19526 conftest$ac_exeext conftest.$ac_ext
19527 LIBS=$ac_check_lib_save_LIBS
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19530 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
19531 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
19533 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19538 $as_echo_n "checking for hypot in -lm... " >&6; }
19539 if test "${ac_cv_lib_m_hypot+set}" = set; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 ac_check_lib_save_LIBS=$LIBS
19543 LIBS="-lm $LIBS"
19544 if test x$gcc_no_link = xyes; then
19545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 /* Override any GCC internal prototype to avoid an error.
19551 Use char because int might match the return type of a GCC
19552 builtin and then its argument prototype would still apply. */
19553 #ifdef __cplusplus
19554 extern "C"
19555 #endif
19556 char hypot ();
19558 main ()
19560 return hypot ();
19562 return 0;
19564 _ACEOF
19565 if ac_fn_c_try_link "$LINENO"; then :
19566 ac_cv_lib_m_hypot=yes
19567 else
19568 ac_cv_lib_m_hypot=no
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19572 LIBS=$ac_check_lib_save_LIBS
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19575 $as_echo "$ac_cv_lib_m_hypot" >&6; }
19576 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
19578 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19583 $as_echo_n "checking for hypotl in -lm... " >&6; }
19584 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19585 $as_echo_n "(cached) " >&6
19586 else
19587 ac_check_lib_save_LIBS=$LIBS
19588 LIBS="-lm $LIBS"
19589 if test x$gcc_no_link = xyes; then
19590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h. */
19595 /* Override any GCC internal prototype to avoid an error.
19596 Use char because int might match the return type of a GCC
19597 builtin and then its argument prototype would still apply. */
19598 #ifdef __cplusplus
19599 extern "C"
19600 #endif
19601 char hypotl ();
19603 main ()
19605 return hypotl ();
19607 return 0;
19609 _ACEOF
19610 if ac_fn_c_try_link "$LINENO"; then :
19611 ac_cv_lib_m_hypotl=yes
19612 else
19613 ac_cv_lib_m_hypotl=no
19615 rm -f core conftest.err conftest.$ac_objext \
19616 conftest$ac_exeext conftest.$ac_ext
19617 LIBS=$ac_check_lib_save_LIBS
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19620 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
19621 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
19623 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19628 $as_echo_n "checking for ldexpf in -lm... " >&6; }
19629 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19630 $as_echo_n "(cached) " >&6
19631 else
19632 ac_check_lib_save_LIBS=$LIBS
19633 LIBS="-lm $LIBS"
19634 if test x$gcc_no_link = xyes; then
19635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19640 /* Override any GCC internal prototype to avoid an error.
19641 Use char because int might match the return type of a GCC
19642 builtin and then its argument prototype would still apply. */
19643 #ifdef __cplusplus
19644 extern "C"
19645 #endif
19646 char ldexpf ();
19648 main ()
19650 return ldexpf ();
19652 return 0;
19654 _ACEOF
19655 if ac_fn_c_try_link "$LINENO"; then :
19656 ac_cv_lib_m_ldexpf=yes
19657 else
19658 ac_cv_lib_m_ldexpf=no
19660 rm -f core conftest.err conftest.$ac_objext \
19661 conftest$ac_exeext conftest.$ac_ext
19662 LIBS=$ac_check_lib_save_LIBS
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19665 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19666 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
19668 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19673 $as_echo_n "checking for ldexp in -lm... " >&6; }
19674 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 ac_check_lib_save_LIBS=$LIBS
19678 LIBS="-lm $LIBS"
19679 if test x$gcc_no_link = xyes; then
19680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19685 /* Override any GCC internal prototype to avoid an error.
19686 Use char because int might match the return type of a GCC
19687 builtin and then its argument prototype would still apply. */
19688 #ifdef __cplusplus
19689 extern "C"
19690 #endif
19691 char ldexp ();
19693 main ()
19695 return ldexp ();
19697 return 0;
19699 _ACEOF
19700 if ac_fn_c_try_link "$LINENO"; then :
19701 ac_cv_lib_m_ldexp=yes
19702 else
19703 ac_cv_lib_m_ldexp=no
19705 rm -f core conftest.err conftest.$ac_objext \
19706 conftest$ac_exeext conftest.$ac_ext
19707 LIBS=$ac_check_lib_save_LIBS
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19710 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
19711 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
19713 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19718 $as_echo_n "checking for ldexpl in -lm... " >&6; }
19719 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19720 $as_echo_n "(cached) " >&6
19721 else
19722 ac_check_lib_save_LIBS=$LIBS
19723 LIBS="-lm $LIBS"
19724 if test x$gcc_no_link = xyes; then
19725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19733 #ifdef __cplusplus
19734 extern "C"
19735 #endif
19736 char ldexpl ();
19738 main ()
19740 return ldexpl ();
19742 return 0;
19744 _ACEOF
19745 if ac_fn_c_try_link "$LINENO"; then :
19746 ac_cv_lib_m_ldexpl=yes
19747 else
19748 ac_cv_lib_m_ldexpl=no
19750 rm -f core conftest.err conftest.$ac_objext \
19751 conftest$ac_exeext conftest.$ac_ext
19752 LIBS=$ac_check_lib_save_LIBS
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19755 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19756 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19758 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19763 $as_echo_n "checking for logf in -lm... " >&6; }
19764 if test "${ac_cv_lib_m_logf+set}" = set; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 ac_check_lib_save_LIBS=$LIBS
19768 LIBS="-lm $LIBS"
19769 if test x$gcc_no_link = xyes; then
19770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19775 /* Override any GCC internal prototype to avoid an error.
19776 Use char because int might match the return type of a GCC
19777 builtin and then its argument prototype would still apply. */
19778 #ifdef __cplusplus
19779 extern "C"
19780 #endif
19781 char logf ();
19783 main ()
19785 return logf ();
19787 return 0;
19789 _ACEOF
19790 if ac_fn_c_try_link "$LINENO"; then :
19791 ac_cv_lib_m_logf=yes
19792 else
19793 ac_cv_lib_m_logf=no
19795 rm -f core conftest.err conftest.$ac_objext \
19796 conftest$ac_exeext conftest.$ac_ext
19797 LIBS=$ac_check_lib_save_LIBS
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19800 $as_echo "$ac_cv_lib_m_logf" >&6; }
19801 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19803 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19808 $as_echo_n "checking for log in -lm... " >&6; }
19809 if test "${ac_cv_lib_m_log+set}" = set; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19812 ac_check_lib_save_LIBS=$LIBS
19813 LIBS="-lm $LIBS"
19814 if test x$gcc_no_link = xyes; then
19815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19820 /* Override any GCC internal prototype to avoid an error.
19821 Use char because int might match the return type of a GCC
19822 builtin and then its argument prototype would still apply. */
19823 #ifdef __cplusplus
19824 extern "C"
19825 #endif
19826 char log ();
19828 main ()
19830 return log ();
19832 return 0;
19834 _ACEOF
19835 if ac_fn_c_try_link "$LINENO"; then :
19836 ac_cv_lib_m_log=yes
19837 else
19838 ac_cv_lib_m_log=no
19840 rm -f core conftest.err conftest.$ac_objext \
19841 conftest$ac_exeext conftest.$ac_ext
19842 LIBS=$ac_check_lib_save_LIBS
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19845 $as_echo "$ac_cv_lib_m_log" >&6; }
19846 if test "x$ac_cv_lib_m_log" = x""yes; then :
19848 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19853 $as_echo_n "checking for logl in -lm... " >&6; }
19854 if test "${ac_cv_lib_m_logl+set}" = set; then :
19855 $as_echo_n "(cached) " >&6
19856 else
19857 ac_check_lib_save_LIBS=$LIBS
19858 LIBS="-lm $LIBS"
19859 if test x$gcc_no_link = xyes; then
19860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19865 /* Override any GCC internal prototype to avoid an error.
19866 Use char because int might match the return type of a GCC
19867 builtin and then its argument prototype would still apply. */
19868 #ifdef __cplusplus
19869 extern "C"
19870 #endif
19871 char logl ();
19873 main ()
19875 return logl ();
19877 return 0;
19879 _ACEOF
19880 if ac_fn_c_try_link "$LINENO"; then :
19881 ac_cv_lib_m_logl=yes
19882 else
19883 ac_cv_lib_m_logl=no
19885 rm -f core conftest.err conftest.$ac_objext \
19886 conftest$ac_exeext conftest.$ac_ext
19887 LIBS=$ac_check_lib_save_LIBS
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19890 $as_echo "$ac_cv_lib_m_logl" >&6; }
19891 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19893 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19898 $as_echo_n "checking for clogf in -lm... " >&6; }
19899 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 ac_check_lib_save_LIBS=$LIBS
19903 LIBS="-lm $LIBS"
19904 if test x$gcc_no_link = xyes; then
19905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 /* Override any GCC internal prototype to avoid an error.
19911 Use char because int might match the return type of a GCC
19912 builtin and then its argument prototype would still apply. */
19913 #ifdef __cplusplus
19914 extern "C"
19915 #endif
19916 char clogf ();
19918 main ()
19920 return clogf ();
19922 return 0;
19924 _ACEOF
19925 if ac_fn_c_try_link "$LINENO"; then :
19926 ac_cv_lib_m_clogf=yes
19927 else
19928 ac_cv_lib_m_clogf=no
19930 rm -f core conftest.err conftest.$ac_objext \
19931 conftest$ac_exeext conftest.$ac_ext
19932 LIBS=$ac_check_lib_save_LIBS
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19935 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19936 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19938 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19943 $as_echo_n "checking for clog in -lm... " >&6; }
19944 if test "${ac_cv_lib_m_clog+set}" = set; then :
19945 $as_echo_n "(cached) " >&6
19946 else
19947 ac_check_lib_save_LIBS=$LIBS
19948 LIBS="-lm $LIBS"
19949 if test x$gcc_no_link = xyes; then
19950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h. */
19955 /* Override any GCC internal prototype to avoid an error.
19956 Use char because int might match the return type of a GCC
19957 builtin and then its argument prototype would still apply. */
19958 #ifdef __cplusplus
19959 extern "C"
19960 #endif
19961 char clog ();
19963 main ()
19965 return clog ();
19967 return 0;
19969 _ACEOF
19970 if ac_fn_c_try_link "$LINENO"; then :
19971 ac_cv_lib_m_clog=yes
19972 else
19973 ac_cv_lib_m_clog=no
19975 rm -f core conftest.err conftest.$ac_objext \
19976 conftest$ac_exeext conftest.$ac_ext
19977 LIBS=$ac_check_lib_save_LIBS
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19980 $as_echo "$ac_cv_lib_m_clog" >&6; }
19981 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19983 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19988 $as_echo_n "checking for clogl in -lm... " >&6; }
19989 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19990 $as_echo_n "(cached) " >&6
19991 else
19992 ac_check_lib_save_LIBS=$LIBS
19993 LIBS="-lm $LIBS"
19994 if test x$gcc_no_link = xyes; then
19995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
20000 /* Override any GCC internal prototype to avoid an error.
20001 Use char because int might match the return type of a GCC
20002 builtin and then its argument prototype would still apply. */
20003 #ifdef __cplusplus
20004 extern "C"
20005 #endif
20006 char clogl ();
20008 main ()
20010 return clogl ();
20012 return 0;
20014 _ACEOF
20015 if ac_fn_c_try_link "$LINENO"; then :
20016 ac_cv_lib_m_clogl=yes
20017 else
20018 ac_cv_lib_m_clogl=no
20020 rm -f core conftest.err conftest.$ac_objext \
20021 conftest$ac_exeext conftest.$ac_ext
20022 LIBS=$ac_check_lib_save_LIBS
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
20025 $as_echo "$ac_cv_lib_m_clogl" >&6; }
20026 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
20028 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
20033 $as_echo_n "checking for log10f in -lm... " >&6; }
20034 if test "${ac_cv_lib_m_log10f+set}" = set; then :
20035 $as_echo_n "(cached) " >&6
20036 else
20037 ac_check_lib_save_LIBS=$LIBS
20038 LIBS="-lm $LIBS"
20039 if test x$gcc_no_link = xyes; then
20040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20045 /* Override any GCC internal prototype to avoid an error.
20046 Use char because int might match the return type of a GCC
20047 builtin and then its argument prototype would still apply. */
20048 #ifdef __cplusplus
20049 extern "C"
20050 #endif
20051 char log10f ();
20053 main ()
20055 return log10f ();
20057 return 0;
20059 _ACEOF
20060 if ac_fn_c_try_link "$LINENO"; then :
20061 ac_cv_lib_m_log10f=yes
20062 else
20063 ac_cv_lib_m_log10f=no
20065 rm -f core conftest.err conftest.$ac_objext \
20066 conftest$ac_exeext conftest.$ac_ext
20067 LIBS=$ac_check_lib_save_LIBS
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
20070 $as_echo "$ac_cv_lib_m_log10f" >&6; }
20071 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
20073 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
20078 $as_echo_n "checking for log10 in -lm... " >&6; }
20079 if test "${ac_cv_lib_m_log10+set}" = set; then :
20080 $as_echo_n "(cached) " >&6
20081 else
20082 ac_check_lib_save_LIBS=$LIBS
20083 LIBS="-lm $LIBS"
20084 if test x$gcc_no_link = xyes; then
20085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20090 /* Override any GCC internal prototype to avoid an error.
20091 Use char because int might match the return type of a GCC
20092 builtin and then its argument prototype would still apply. */
20093 #ifdef __cplusplus
20094 extern "C"
20095 #endif
20096 char log10 ();
20098 main ()
20100 return log10 ();
20102 return 0;
20104 _ACEOF
20105 if ac_fn_c_try_link "$LINENO"; then :
20106 ac_cv_lib_m_log10=yes
20107 else
20108 ac_cv_lib_m_log10=no
20110 rm -f core conftest.err conftest.$ac_objext \
20111 conftest$ac_exeext conftest.$ac_ext
20112 LIBS=$ac_check_lib_save_LIBS
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
20115 $as_echo "$ac_cv_lib_m_log10" >&6; }
20116 if test "x$ac_cv_lib_m_log10" = x""yes; then :
20118 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20123 $as_echo_n "checking for log10l in -lm... " >&6; }
20124 if test "${ac_cv_lib_m_log10l+set}" = set; then :
20125 $as_echo_n "(cached) " >&6
20126 else
20127 ac_check_lib_save_LIBS=$LIBS
20128 LIBS="-lm $LIBS"
20129 if test x$gcc_no_link = xyes; then
20130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20135 /* Override any GCC internal prototype to avoid an error.
20136 Use char because int might match the return type of a GCC
20137 builtin and then its argument prototype would still apply. */
20138 #ifdef __cplusplus
20139 extern "C"
20140 #endif
20141 char log10l ();
20143 main ()
20145 return log10l ();
20147 return 0;
20149 _ACEOF
20150 if ac_fn_c_try_link "$LINENO"; then :
20151 ac_cv_lib_m_log10l=yes
20152 else
20153 ac_cv_lib_m_log10l=no
20155 rm -f core conftest.err conftest.$ac_objext \
20156 conftest$ac_exeext conftest.$ac_ext
20157 LIBS=$ac_check_lib_save_LIBS
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20160 $as_echo "$ac_cv_lib_m_log10l" >&6; }
20161 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
20163 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20168 $as_echo_n "checking for clog10f in -lm... " >&6; }
20169 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20170 $as_echo_n "(cached) " >&6
20171 else
20172 ac_check_lib_save_LIBS=$LIBS
20173 LIBS="-lm $LIBS"
20174 if test x$gcc_no_link = xyes; then
20175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 /* end confdefs.h. */
20180 /* Override any GCC internal prototype to avoid an error.
20181 Use char because int might match the return type of a GCC
20182 builtin and then its argument prototype would still apply. */
20183 #ifdef __cplusplus
20184 extern "C"
20185 #endif
20186 char clog10f ();
20188 main ()
20190 return clog10f ();
20192 return 0;
20194 _ACEOF
20195 if ac_fn_c_try_link "$LINENO"; then :
20196 ac_cv_lib_m_clog10f=yes
20197 else
20198 ac_cv_lib_m_clog10f=no
20200 rm -f core conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
20202 LIBS=$ac_check_lib_save_LIBS
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20205 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
20206 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
20208 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20213 $as_echo_n "checking for clog10 in -lm... " >&6; }
20214 if test "${ac_cv_lib_m_clog10+set}" = set; then :
20215 $as_echo_n "(cached) " >&6
20216 else
20217 ac_check_lib_save_LIBS=$LIBS
20218 LIBS="-lm $LIBS"
20219 if test x$gcc_no_link = xyes; then
20220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20225 /* Override any GCC internal prototype to avoid an error.
20226 Use char because int might match the return type of a GCC
20227 builtin and then its argument prototype would still apply. */
20228 #ifdef __cplusplus
20229 extern "C"
20230 #endif
20231 char clog10 ();
20233 main ()
20235 return clog10 ();
20237 return 0;
20239 _ACEOF
20240 if ac_fn_c_try_link "$LINENO"; then :
20241 ac_cv_lib_m_clog10=yes
20242 else
20243 ac_cv_lib_m_clog10=no
20245 rm -f core conftest.err conftest.$ac_objext \
20246 conftest$ac_exeext conftest.$ac_ext
20247 LIBS=$ac_check_lib_save_LIBS
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20250 $as_echo "$ac_cv_lib_m_clog10" >&6; }
20251 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
20253 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20258 $as_echo_n "checking for clog10l in -lm... " >&6; }
20259 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20260 $as_echo_n "(cached) " >&6
20261 else
20262 ac_check_lib_save_LIBS=$LIBS
20263 LIBS="-lm $LIBS"
20264 if test x$gcc_no_link = xyes; then
20265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h. */
20270 /* Override any GCC internal prototype to avoid an error.
20271 Use char because int might match the return type of a GCC
20272 builtin and then its argument prototype would still apply. */
20273 #ifdef __cplusplus
20274 extern "C"
20275 #endif
20276 char clog10l ();
20278 main ()
20280 return clog10l ();
20282 return 0;
20284 _ACEOF
20285 if ac_fn_c_try_link "$LINENO"; then :
20286 ac_cv_lib_m_clog10l=yes
20287 else
20288 ac_cv_lib_m_clog10l=no
20290 rm -f core conftest.err conftest.$ac_objext \
20291 conftest$ac_exeext conftest.$ac_ext
20292 LIBS=$ac_check_lib_save_LIBS
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20295 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
20296 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
20298 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20303 $as_echo_n "checking for nextafterf in -lm... " >&6; }
20304 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20305 $as_echo_n "(cached) " >&6
20306 else
20307 ac_check_lib_save_LIBS=$LIBS
20308 LIBS="-lm $LIBS"
20309 if test x$gcc_no_link = xyes; then
20310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20315 /* Override any GCC internal prototype to avoid an error.
20316 Use char because int might match the return type of a GCC
20317 builtin and then its argument prototype would still apply. */
20318 #ifdef __cplusplus
20319 extern "C"
20320 #endif
20321 char nextafterf ();
20323 main ()
20325 return nextafterf ();
20327 return 0;
20329 _ACEOF
20330 if ac_fn_c_try_link "$LINENO"; then :
20331 ac_cv_lib_m_nextafterf=yes
20332 else
20333 ac_cv_lib_m_nextafterf=no
20335 rm -f core conftest.err conftest.$ac_objext \
20336 conftest$ac_exeext conftest.$ac_ext
20337 LIBS=$ac_check_lib_save_LIBS
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20340 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20341 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
20343 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20348 $as_echo_n "checking for nextafter in -lm... " >&6; }
20349 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20350 $as_echo_n "(cached) " >&6
20351 else
20352 ac_check_lib_save_LIBS=$LIBS
20353 LIBS="-lm $LIBS"
20354 if test x$gcc_no_link = xyes; then
20355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20360 /* Override any GCC internal prototype to avoid an error.
20361 Use char because int might match the return type of a GCC
20362 builtin and then its argument prototype would still apply. */
20363 #ifdef __cplusplus
20364 extern "C"
20365 #endif
20366 char nextafter ();
20368 main ()
20370 return nextafter ();
20372 return 0;
20374 _ACEOF
20375 if ac_fn_c_try_link "$LINENO"; then :
20376 ac_cv_lib_m_nextafter=yes
20377 else
20378 ac_cv_lib_m_nextafter=no
20380 rm -f core conftest.err conftest.$ac_objext \
20381 conftest$ac_exeext conftest.$ac_ext
20382 LIBS=$ac_check_lib_save_LIBS
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20385 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
20386 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
20388 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20393 $as_echo_n "checking for nextafterl in -lm... " >&6; }
20394 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20395 $as_echo_n "(cached) " >&6
20396 else
20397 ac_check_lib_save_LIBS=$LIBS
20398 LIBS="-lm $LIBS"
20399 if test x$gcc_no_link = xyes; then
20400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20405 /* Override any GCC internal prototype to avoid an error.
20406 Use char because int might match the return type of a GCC
20407 builtin and then its argument prototype would still apply. */
20408 #ifdef __cplusplus
20409 extern "C"
20410 #endif
20411 char nextafterl ();
20413 main ()
20415 return nextafterl ();
20417 return 0;
20419 _ACEOF
20420 if ac_fn_c_try_link "$LINENO"; then :
20421 ac_cv_lib_m_nextafterl=yes
20422 else
20423 ac_cv_lib_m_nextafterl=no
20425 rm -f core conftest.err conftest.$ac_objext \
20426 conftest$ac_exeext conftest.$ac_ext
20427 LIBS=$ac_check_lib_save_LIBS
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20430 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20431 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
20433 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20438 $as_echo_n "checking for powf in -lm... " >&6; }
20439 if test "${ac_cv_lib_m_powf+set}" = set; then :
20440 $as_echo_n "(cached) " >&6
20441 else
20442 ac_check_lib_save_LIBS=$LIBS
20443 LIBS="-lm $LIBS"
20444 if test x$gcc_no_link = xyes; then
20445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20450 /* Override any GCC internal prototype to avoid an error.
20451 Use char because int might match the return type of a GCC
20452 builtin and then its argument prototype would still apply. */
20453 #ifdef __cplusplus
20454 extern "C"
20455 #endif
20456 char powf ();
20458 main ()
20460 return powf ();
20462 return 0;
20464 _ACEOF
20465 if ac_fn_c_try_link "$LINENO"; then :
20466 ac_cv_lib_m_powf=yes
20467 else
20468 ac_cv_lib_m_powf=no
20470 rm -f core conftest.err conftest.$ac_objext \
20471 conftest$ac_exeext conftest.$ac_ext
20472 LIBS=$ac_check_lib_save_LIBS
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20475 $as_echo "$ac_cv_lib_m_powf" >&6; }
20476 if test "x$ac_cv_lib_m_powf" = x""yes; then :
20478 $as_echo "#define HAVE_POWF 1" >>confdefs.h
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20483 $as_echo_n "checking for pow in -lm... " >&6; }
20484 if test "${ac_cv_lib_m_pow+set}" = set; then :
20485 $as_echo_n "(cached) " >&6
20486 else
20487 ac_check_lib_save_LIBS=$LIBS
20488 LIBS="-lm $LIBS"
20489 if test x$gcc_no_link = xyes; then
20490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20495 /* Override any GCC internal prototype to avoid an error.
20496 Use char because int might match the return type of a GCC
20497 builtin and then its argument prototype would still apply. */
20498 #ifdef __cplusplus
20499 extern "C"
20500 #endif
20501 char pow ();
20503 main ()
20505 return pow ();
20507 return 0;
20509 _ACEOF
20510 if ac_fn_c_try_link "$LINENO"; then :
20511 ac_cv_lib_m_pow=yes
20512 else
20513 ac_cv_lib_m_pow=no
20515 rm -f core conftest.err conftest.$ac_objext \
20516 conftest$ac_exeext conftest.$ac_ext
20517 LIBS=$ac_check_lib_save_LIBS
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20520 $as_echo "$ac_cv_lib_m_pow" >&6; }
20521 if test "x$ac_cv_lib_m_pow" = x""yes; then :
20523 $as_echo "#define HAVE_POW 1" >>confdefs.h
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20528 $as_echo_n "checking for powl in -lm... " >&6; }
20529 if test "${ac_cv_lib_m_powl+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20532 ac_check_lib_save_LIBS=$LIBS
20533 LIBS="-lm $LIBS"
20534 if test x$gcc_no_link = xyes; then
20535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20538 /* end confdefs.h. */
20540 /* Override any GCC internal prototype to avoid an error.
20541 Use char because int might match the return type of a GCC
20542 builtin and then its argument prototype would still apply. */
20543 #ifdef __cplusplus
20544 extern "C"
20545 #endif
20546 char powl ();
20548 main ()
20550 return powl ();
20552 return 0;
20554 _ACEOF
20555 if ac_fn_c_try_link "$LINENO"; then :
20556 ac_cv_lib_m_powl=yes
20557 else
20558 ac_cv_lib_m_powl=no
20560 rm -f core conftest.err conftest.$ac_objext \
20561 conftest$ac_exeext conftest.$ac_ext
20562 LIBS=$ac_check_lib_save_LIBS
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20565 $as_echo "$ac_cv_lib_m_powl" >&6; }
20566 if test "x$ac_cv_lib_m_powl" = x""yes; then :
20568 $as_echo "#define HAVE_POWL 1" >>confdefs.h
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20573 $as_echo_n "checking for cpowf in -lm... " >&6; }
20574 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20575 $as_echo_n "(cached) " >&6
20576 else
20577 ac_check_lib_save_LIBS=$LIBS
20578 LIBS="-lm $LIBS"
20579 if test x$gcc_no_link = xyes; then
20580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20583 /* end confdefs.h. */
20585 /* Override any GCC internal prototype to avoid an error.
20586 Use char because int might match the return type of a GCC
20587 builtin and then its argument prototype would still apply. */
20588 #ifdef __cplusplus
20589 extern "C"
20590 #endif
20591 char cpowf ();
20593 main ()
20595 return cpowf ();
20597 return 0;
20599 _ACEOF
20600 if ac_fn_c_try_link "$LINENO"; then :
20601 ac_cv_lib_m_cpowf=yes
20602 else
20603 ac_cv_lib_m_cpowf=no
20605 rm -f core conftest.err conftest.$ac_objext \
20606 conftest$ac_exeext conftest.$ac_ext
20607 LIBS=$ac_check_lib_save_LIBS
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20610 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
20611 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
20613 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20618 $as_echo_n "checking for cpow in -lm... " >&6; }
20619 if test "${ac_cv_lib_m_cpow+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20622 ac_check_lib_save_LIBS=$LIBS
20623 LIBS="-lm $LIBS"
20624 if test x$gcc_no_link = xyes; then
20625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20630 /* Override any GCC internal prototype to avoid an error.
20631 Use char because int might match the return type of a GCC
20632 builtin and then its argument prototype would still apply. */
20633 #ifdef __cplusplus
20634 extern "C"
20635 #endif
20636 char cpow ();
20638 main ()
20640 return cpow ();
20642 return 0;
20644 _ACEOF
20645 if ac_fn_c_try_link "$LINENO"; then :
20646 ac_cv_lib_m_cpow=yes
20647 else
20648 ac_cv_lib_m_cpow=no
20650 rm -f core conftest.err conftest.$ac_objext \
20651 conftest$ac_exeext conftest.$ac_ext
20652 LIBS=$ac_check_lib_save_LIBS
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20655 $as_echo "$ac_cv_lib_m_cpow" >&6; }
20656 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
20658 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20663 $as_echo_n "checking for cpowl in -lm... " >&6; }
20664 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20665 $as_echo_n "(cached) " >&6
20666 else
20667 ac_check_lib_save_LIBS=$LIBS
20668 LIBS="-lm $LIBS"
20669 if test x$gcc_no_link = xyes; then
20670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20673 /* end confdefs.h. */
20675 /* Override any GCC internal prototype to avoid an error.
20676 Use char because int might match the return type of a GCC
20677 builtin and then its argument prototype would still apply. */
20678 #ifdef __cplusplus
20679 extern "C"
20680 #endif
20681 char cpowl ();
20683 main ()
20685 return cpowl ();
20687 return 0;
20689 _ACEOF
20690 if ac_fn_c_try_link "$LINENO"; then :
20691 ac_cv_lib_m_cpowl=yes
20692 else
20693 ac_cv_lib_m_cpowl=no
20695 rm -f core conftest.err conftest.$ac_objext \
20696 conftest$ac_exeext conftest.$ac_ext
20697 LIBS=$ac_check_lib_save_LIBS
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20700 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
20701 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
20703 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20708 $as_echo_n "checking for roundf in -lm... " >&6; }
20709 if test "${ac_cv_lib_m_roundf+set}" = set; then :
20710 $as_echo_n "(cached) " >&6
20711 else
20712 ac_check_lib_save_LIBS=$LIBS
20713 LIBS="-lm $LIBS"
20714 if test x$gcc_no_link = xyes; then
20715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20718 /* end confdefs.h. */
20720 /* Override any GCC internal prototype to avoid an error.
20721 Use char because int might match the return type of a GCC
20722 builtin and then its argument prototype would still apply. */
20723 #ifdef __cplusplus
20724 extern "C"
20725 #endif
20726 char roundf ();
20728 main ()
20730 return roundf ();
20732 return 0;
20734 _ACEOF
20735 if ac_fn_c_try_link "$LINENO"; then :
20736 ac_cv_lib_m_roundf=yes
20737 else
20738 ac_cv_lib_m_roundf=no
20740 rm -f core conftest.err conftest.$ac_objext \
20741 conftest$ac_exeext conftest.$ac_ext
20742 LIBS=$ac_check_lib_save_LIBS
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20745 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20746 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20748 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20753 $as_echo_n "checking for round in -lm... " >&6; }
20754 if test "${ac_cv_lib_m_round+set}" = set; then :
20755 $as_echo_n "(cached) " >&6
20756 else
20757 ac_check_lib_save_LIBS=$LIBS
20758 LIBS="-lm $LIBS"
20759 if test x$gcc_no_link = xyes; then
20760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20763 /* end confdefs.h. */
20765 /* Override any GCC internal prototype to avoid an error.
20766 Use char because int might match the return type of a GCC
20767 builtin and then its argument prototype would still apply. */
20768 #ifdef __cplusplus
20769 extern "C"
20770 #endif
20771 char round ();
20773 main ()
20775 return round ();
20777 return 0;
20779 _ACEOF
20780 if ac_fn_c_try_link "$LINENO"; then :
20781 ac_cv_lib_m_round=yes
20782 else
20783 ac_cv_lib_m_round=no
20785 rm -f core conftest.err conftest.$ac_objext \
20786 conftest$ac_exeext conftest.$ac_ext
20787 LIBS=$ac_check_lib_save_LIBS
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20790 $as_echo "$ac_cv_lib_m_round" >&6; }
20791 if test "x$ac_cv_lib_m_round" = x""yes; then :
20793 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20798 $as_echo_n "checking for roundl in -lm... " >&6; }
20799 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20800 $as_echo_n "(cached) " >&6
20801 else
20802 ac_check_lib_save_LIBS=$LIBS
20803 LIBS="-lm $LIBS"
20804 if test x$gcc_no_link = xyes; then
20805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h. */
20810 /* Override any GCC internal prototype to avoid an error.
20811 Use char because int might match the return type of a GCC
20812 builtin and then its argument prototype would still apply. */
20813 #ifdef __cplusplus
20814 extern "C"
20815 #endif
20816 char roundl ();
20818 main ()
20820 return roundl ();
20822 return 0;
20824 _ACEOF
20825 if ac_fn_c_try_link "$LINENO"; then :
20826 ac_cv_lib_m_roundl=yes
20827 else
20828 ac_cv_lib_m_roundl=no
20830 rm -f core conftest.err conftest.$ac_objext \
20831 conftest$ac_exeext conftest.$ac_ext
20832 LIBS=$ac_check_lib_save_LIBS
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20835 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20836 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20838 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20843 $as_echo_n "checking for lroundf in -lm... " >&6; }
20844 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20845 $as_echo_n "(cached) " >&6
20846 else
20847 ac_check_lib_save_LIBS=$LIBS
20848 LIBS="-lm $LIBS"
20849 if test x$gcc_no_link = xyes; then
20850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20853 /* end confdefs.h. */
20855 /* Override any GCC internal prototype to avoid an error.
20856 Use char because int might match the return type of a GCC
20857 builtin and then its argument prototype would still apply. */
20858 #ifdef __cplusplus
20859 extern "C"
20860 #endif
20861 char lroundf ();
20863 main ()
20865 return lroundf ();
20867 return 0;
20869 _ACEOF
20870 if ac_fn_c_try_link "$LINENO"; then :
20871 ac_cv_lib_m_lroundf=yes
20872 else
20873 ac_cv_lib_m_lroundf=no
20875 rm -f core conftest.err conftest.$ac_objext \
20876 conftest$ac_exeext conftest.$ac_ext
20877 LIBS=$ac_check_lib_save_LIBS
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20880 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20881 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20883 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20888 $as_echo_n "checking for lround in -lm... " >&6; }
20889 if test "${ac_cv_lib_m_lround+set}" = set; then :
20890 $as_echo_n "(cached) " >&6
20891 else
20892 ac_check_lib_save_LIBS=$LIBS
20893 LIBS="-lm $LIBS"
20894 if test x$gcc_no_link = xyes; then
20895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20898 /* end confdefs.h. */
20900 /* Override any GCC internal prototype to avoid an error.
20901 Use char because int might match the return type of a GCC
20902 builtin and then its argument prototype would still apply. */
20903 #ifdef __cplusplus
20904 extern "C"
20905 #endif
20906 char lround ();
20908 main ()
20910 return lround ();
20912 return 0;
20914 _ACEOF
20915 if ac_fn_c_try_link "$LINENO"; then :
20916 ac_cv_lib_m_lround=yes
20917 else
20918 ac_cv_lib_m_lround=no
20920 rm -f core conftest.err conftest.$ac_objext \
20921 conftest$ac_exeext conftest.$ac_ext
20922 LIBS=$ac_check_lib_save_LIBS
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20925 $as_echo "$ac_cv_lib_m_lround" >&6; }
20926 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20928 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20933 $as_echo_n "checking for lroundl in -lm... " >&6; }
20934 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20935 $as_echo_n "(cached) " >&6
20936 else
20937 ac_check_lib_save_LIBS=$LIBS
20938 LIBS="-lm $LIBS"
20939 if test x$gcc_no_link = xyes; then
20940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20945 /* Override any GCC internal prototype to avoid an error.
20946 Use char because int might match the return type of a GCC
20947 builtin and then its argument prototype would still apply. */
20948 #ifdef __cplusplus
20949 extern "C"
20950 #endif
20951 char lroundl ();
20953 main ()
20955 return lroundl ();
20957 return 0;
20959 _ACEOF
20960 if ac_fn_c_try_link "$LINENO"; then :
20961 ac_cv_lib_m_lroundl=yes
20962 else
20963 ac_cv_lib_m_lroundl=no
20965 rm -f core conftest.err conftest.$ac_objext \
20966 conftest$ac_exeext conftest.$ac_ext
20967 LIBS=$ac_check_lib_save_LIBS
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20970 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20971 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20973 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20978 $as_echo_n "checking for llroundf in -lm... " >&6; }
20979 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20980 $as_echo_n "(cached) " >&6
20981 else
20982 ac_check_lib_save_LIBS=$LIBS
20983 LIBS="-lm $LIBS"
20984 if test x$gcc_no_link = xyes; then
20985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20990 /* Override any GCC internal prototype to avoid an error.
20991 Use char because int might match the return type of a GCC
20992 builtin and then its argument prototype would still apply. */
20993 #ifdef __cplusplus
20994 extern "C"
20995 #endif
20996 char llroundf ();
20998 main ()
21000 return llroundf ();
21002 return 0;
21004 _ACEOF
21005 if ac_fn_c_try_link "$LINENO"; then :
21006 ac_cv_lib_m_llroundf=yes
21007 else
21008 ac_cv_lib_m_llroundf=no
21010 rm -f core conftest.err conftest.$ac_objext \
21011 conftest$ac_exeext conftest.$ac_ext
21012 LIBS=$ac_check_lib_save_LIBS
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
21015 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
21016 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
21018 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
21023 $as_echo_n "checking for llround in -lm... " >&6; }
21024 if test "${ac_cv_lib_m_llround+set}" = set; then :
21025 $as_echo_n "(cached) " >&6
21026 else
21027 ac_check_lib_save_LIBS=$LIBS
21028 LIBS="-lm $LIBS"
21029 if test x$gcc_no_link = xyes; then
21030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21035 /* Override any GCC internal prototype to avoid an error.
21036 Use char because int might match the return type of a GCC
21037 builtin and then its argument prototype would still apply. */
21038 #ifdef __cplusplus
21039 extern "C"
21040 #endif
21041 char llround ();
21043 main ()
21045 return llround ();
21047 return 0;
21049 _ACEOF
21050 if ac_fn_c_try_link "$LINENO"; then :
21051 ac_cv_lib_m_llround=yes
21052 else
21053 ac_cv_lib_m_llround=no
21055 rm -f core conftest.err conftest.$ac_objext \
21056 conftest$ac_exeext conftest.$ac_ext
21057 LIBS=$ac_check_lib_save_LIBS
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
21060 $as_echo "$ac_cv_lib_m_llround" >&6; }
21061 if test "x$ac_cv_lib_m_llround" = x""yes; then :
21063 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
21068 $as_echo_n "checking for llroundl in -lm... " >&6; }
21069 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
21070 $as_echo_n "(cached) " >&6
21071 else
21072 ac_check_lib_save_LIBS=$LIBS
21073 LIBS="-lm $LIBS"
21074 if test x$gcc_no_link = xyes; then
21075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21078 /* end confdefs.h. */
21080 /* Override any GCC internal prototype to avoid an error.
21081 Use char because int might match the return type of a GCC
21082 builtin and then its argument prototype would still apply. */
21083 #ifdef __cplusplus
21084 extern "C"
21085 #endif
21086 char llroundl ();
21088 main ()
21090 return llroundl ();
21092 return 0;
21094 _ACEOF
21095 if ac_fn_c_try_link "$LINENO"; then :
21096 ac_cv_lib_m_llroundl=yes
21097 else
21098 ac_cv_lib_m_llroundl=no
21100 rm -f core conftest.err conftest.$ac_objext \
21101 conftest$ac_exeext conftest.$ac_ext
21102 LIBS=$ac_check_lib_save_LIBS
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
21105 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
21106 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
21108 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
21113 $as_echo_n "checking for scalbnf in -lm... " >&6; }
21114 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
21115 $as_echo_n "(cached) " >&6
21116 else
21117 ac_check_lib_save_LIBS=$LIBS
21118 LIBS="-lm $LIBS"
21119 if test x$gcc_no_link = xyes; then
21120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21125 /* Override any GCC internal prototype to avoid an error.
21126 Use char because int might match the return type of a GCC
21127 builtin and then its argument prototype would still apply. */
21128 #ifdef __cplusplus
21129 extern "C"
21130 #endif
21131 char scalbnf ();
21133 main ()
21135 return scalbnf ();
21137 return 0;
21139 _ACEOF
21140 if ac_fn_c_try_link "$LINENO"; then :
21141 ac_cv_lib_m_scalbnf=yes
21142 else
21143 ac_cv_lib_m_scalbnf=no
21145 rm -f core conftest.err conftest.$ac_objext \
21146 conftest$ac_exeext conftest.$ac_ext
21147 LIBS=$ac_check_lib_save_LIBS
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21150 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21151 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
21153 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21158 $as_echo_n "checking for scalbn in -lm... " >&6; }
21159 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21160 $as_echo_n "(cached) " >&6
21161 else
21162 ac_check_lib_save_LIBS=$LIBS
21163 LIBS="-lm $LIBS"
21164 if test x$gcc_no_link = xyes; then
21165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21170 /* Override any GCC internal prototype to avoid an error.
21171 Use char because int might match the return type of a GCC
21172 builtin and then its argument prototype would still apply. */
21173 #ifdef __cplusplus
21174 extern "C"
21175 #endif
21176 char scalbn ();
21178 main ()
21180 return scalbn ();
21182 return 0;
21184 _ACEOF
21185 if ac_fn_c_try_link "$LINENO"; then :
21186 ac_cv_lib_m_scalbn=yes
21187 else
21188 ac_cv_lib_m_scalbn=no
21190 rm -f core conftest.err conftest.$ac_objext \
21191 conftest$ac_exeext conftest.$ac_ext
21192 LIBS=$ac_check_lib_save_LIBS
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21195 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
21196 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
21198 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21203 $as_echo_n "checking for scalbnl in -lm... " >&6; }
21204 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21205 $as_echo_n "(cached) " >&6
21206 else
21207 ac_check_lib_save_LIBS=$LIBS
21208 LIBS="-lm $LIBS"
21209 if test x$gcc_no_link = xyes; then
21210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21215 /* Override any GCC internal prototype to avoid an error.
21216 Use char because int might match the return type of a GCC
21217 builtin and then its argument prototype would still apply. */
21218 #ifdef __cplusplus
21219 extern "C"
21220 #endif
21221 char scalbnl ();
21223 main ()
21225 return scalbnl ();
21227 return 0;
21229 _ACEOF
21230 if ac_fn_c_try_link "$LINENO"; then :
21231 ac_cv_lib_m_scalbnl=yes
21232 else
21233 ac_cv_lib_m_scalbnl=no
21235 rm -f core conftest.err conftest.$ac_objext \
21236 conftest$ac_exeext conftest.$ac_ext
21237 LIBS=$ac_check_lib_save_LIBS
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21240 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21241 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
21243 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21248 $as_echo_n "checking for sinf in -lm... " >&6; }
21249 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21250 $as_echo_n "(cached) " >&6
21251 else
21252 ac_check_lib_save_LIBS=$LIBS
21253 LIBS="-lm $LIBS"
21254 if test x$gcc_no_link = xyes; then
21255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h. */
21260 /* Override any GCC internal prototype to avoid an error.
21261 Use char because int might match the return type of a GCC
21262 builtin and then its argument prototype would still apply. */
21263 #ifdef __cplusplus
21264 extern "C"
21265 #endif
21266 char sinf ();
21268 main ()
21270 return sinf ();
21272 return 0;
21274 _ACEOF
21275 if ac_fn_c_try_link "$LINENO"; then :
21276 ac_cv_lib_m_sinf=yes
21277 else
21278 ac_cv_lib_m_sinf=no
21280 rm -f core conftest.err conftest.$ac_objext \
21281 conftest$ac_exeext conftest.$ac_ext
21282 LIBS=$ac_check_lib_save_LIBS
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21285 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21286 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21288 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21293 $as_echo_n "checking for sin in -lm... " >&6; }
21294 if test "${ac_cv_lib_m_sin+set}" = set; then :
21295 $as_echo_n "(cached) " >&6
21296 else
21297 ac_check_lib_save_LIBS=$LIBS
21298 LIBS="-lm $LIBS"
21299 if test x$gcc_no_link = xyes; then
21300 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21303 /* end confdefs.h. */
21305 /* Override any GCC internal prototype to avoid an error.
21306 Use char because int might match the return type of a GCC
21307 builtin and then its argument prototype would still apply. */
21308 #ifdef __cplusplus
21309 extern "C"
21310 #endif
21311 char sin ();
21313 main ()
21315 return sin ();
21317 return 0;
21319 _ACEOF
21320 if ac_fn_c_try_link "$LINENO"; then :
21321 ac_cv_lib_m_sin=yes
21322 else
21323 ac_cv_lib_m_sin=no
21325 rm -f core conftest.err conftest.$ac_objext \
21326 conftest$ac_exeext conftest.$ac_ext
21327 LIBS=$ac_check_lib_save_LIBS
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21330 $as_echo "$ac_cv_lib_m_sin" >&6; }
21331 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21333 $as_echo "#define HAVE_SIN 1" >>confdefs.h
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21338 $as_echo_n "checking for sinl in -lm... " >&6; }
21339 if test "${ac_cv_lib_m_sinl+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21342 ac_check_lib_save_LIBS=$LIBS
21343 LIBS="-lm $LIBS"
21344 if test x$gcc_no_link = xyes; then
21345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21350 /* Override any GCC internal prototype to avoid an error.
21351 Use char because int might match the return type of a GCC
21352 builtin and then its argument prototype would still apply. */
21353 #ifdef __cplusplus
21354 extern "C"
21355 #endif
21356 char sinl ();
21358 main ()
21360 return sinl ();
21362 return 0;
21364 _ACEOF
21365 if ac_fn_c_try_link "$LINENO"; then :
21366 ac_cv_lib_m_sinl=yes
21367 else
21368 ac_cv_lib_m_sinl=no
21370 rm -f core conftest.err conftest.$ac_objext \
21371 conftest$ac_exeext conftest.$ac_ext
21372 LIBS=$ac_check_lib_save_LIBS
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21375 $as_echo "$ac_cv_lib_m_sinl" >&6; }
21376 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
21378 $as_echo "#define HAVE_SINL 1" >>confdefs.h
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21383 $as_echo_n "checking for csinf in -lm... " >&6; }
21384 if test "${ac_cv_lib_m_csinf+set}" = set; then :
21385 $as_echo_n "(cached) " >&6
21386 else
21387 ac_check_lib_save_LIBS=$LIBS
21388 LIBS="-lm $LIBS"
21389 if test x$gcc_no_link = xyes; then
21390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21393 /* end confdefs.h. */
21395 /* Override any GCC internal prototype to avoid an error.
21396 Use char because int might match the return type of a GCC
21397 builtin and then its argument prototype would still apply. */
21398 #ifdef __cplusplus
21399 extern "C"
21400 #endif
21401 char csinf ();
21403 main ()
21405 return csinf ();
21407 return 0;
21409 _ACEOF
21410 if ac_fn_c_try_link "$LINENO"; then :
21411 ac_cv_lib_m_csinf=yes
21412 else
21413 ac_cv_lib_m_csinf=no
21415 rm -f core conftest.err conftest.$ac_objext \
21416 conftest$ac_exeext conftest.$ac_ext
21417 LIBS=$ac_check_lib_save_LIBS
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21420 $as_echo "$ac_cv_lib_m_csinf" >&6; }
21421 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
21423 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21428 $as_echo_n "checking for csin in -lm... " >&6; }
21429 if test "${ac_cv_lib_m_csin+set}" = set; then :
21430 $as_echo_n "(cached) " >&6
21431 else
21432 ac_check_lib_save_LIBS=$LIBS
21433 LIBS="-lm $LIBS"
21434 if test x$gcc_no_link = xyes; then
21435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21440 /* Override any GCC internal prototype to avoid an error.
21441 Use char because int might match the return type of a GCC
21442 builtin and then its argument prototype would still apply. */
21443 #ifdef __cplusplus
21444 extern "C"
21445 #endif
21446 char csin ();
21448 main ()
21450 return csin ();
21452 return 0;
21454 _ACEOF
21455 if ac_fn_c_try_link "$LINENO"; then :
21456 ac_cv_lib_m_csin=yes
21457 else
21458 ac_cv_lib_m_csin=no
21460 rm -f core conftest.err conftest.$ac_objext \
21461 conftest$ac_exeext conftest.$ac_ext
21462 LIBS=$ac_check_lib_save_LIBS
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21465 $as_echo "$ac_cv_lib_m_csin" >&6; }
21466 if test "x$ac_cv_lib_m_csin" = x""yes; then :
21468 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21473 $as_echo_n "checking for csinl in -lm... " >&6; }
21474 if test "${ac_cv_lib_m_csinl+set}" = set; then :
21475 $as_echo_n "(cached) " >&6
21476 else
21477 ac_check_lib_save_LIBS=$LIBS
21478 LIBS="-lm $LIBS"
21479 if test x$gcc_no_link = xyes; then
21480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h. */
21485 /* Override any GCC internal prototype to avoid an error.
21486 Use char because int might match the return type of a GCC
21487 builtin and then its argument prototype would still apply. */
21488 #ifdef __cplusplus
21489 extern "C"
21490 #endif
21491 char csinl ();
21493 main ()
21495 return csinl ();
21497 return 0;
21499 _ACEOF
21500 if ac_fn_c_try_link "$LINENO"; then :
21501 ac_cv_lib_m_csinl=yes
21502 else
21503 ac_cv_lib_m_csinl=no
21505 rm -f core conftest.err conftest.$ac_objext \
21506 conftest$ac_exeext conftest.$ac_ext
21507 LIBS=$ac_check_lib_save_LIBS
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21510 $as_echo "$ac_cv_lib_m_csinl" >&6; }
21511 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
21513 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21518 $as_echo_n "checking for sinhf in -lm... " >&6; }
21519 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21520 $as_echo_n "(cached) " >&6
21521 else
21522 ac_check_lib_save_LIBS=$LIBS
21523 LIBS="-lm $LIBS"
21524 if test x$gcc_no_link = xyes; then
21525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21530 /* Override any GCC internal prototype to avoid an error.
21531 Use char because int might match the return type of a GCC
21532 builtin and then its argument prototype would still apply. */
21533 #ifdef __cplusplus
21534 extern "C"
21535 #endif
21536 char sinhf ();
21538 main ()
21540 return sinhf ();
21542 return 0;
21544 _ACEOF
21545 if ac_fn_c_try_link "$LINENO"; then :
21546 ac_cv_lib_m_sinhf=yes
21547 else
21548 ac_cv_lib_m_sinhf=no
21550 rm -f core conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21552 LIBS=$ac_check_lib_save_LIBS
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21555 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
21556 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
21558 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21563 $as_echo_n "checking for sinh in -lm... " >&6; }
21564 if test "${ac_cv_lib_m_sinh+set}" = set; then :
21565 $as_echo_n "(cached) " >&6
21566 else
21567 ac_check_lib_save_LIBS=$LIBS
21568 LIBS="-lm $LIBS"
21569 if test x$gcc_no_link = xyes; then
21570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21575 /* Override any GCC internal prototype to avoid an error.
21576 Use char because int might match the return type of a GCC
21577 builtin and then its argument prototype would still apply. */
21578 #ifdef __cplusplus
21579 extern "C"
21580 #endif
21581 char sinh ();
21583 main ()
21585 return sinh ();
21587 return 0;
21589 _ACEOF
21590 if ac_fn_c_try_link "$LINENO"; then :
21591 ac_cv_lib_m_sinh=yes
21592 else
21593 ac_cv_lib_m_sinh=no
21595 rm -f core conftest.err conftest.$ac_objext \
21596 conftest$ac_exeext conftest.$ac_ext
21597 LIBS=$ac_check_lib_save_LIBS
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21600 $as_echo "$ac_cv_lib_m_sinh" >&6; }
21601 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
21603 $as_echo "#define HAVE_SINH 1" >>confdefs.h
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21608 $as_echo_n "checking for sinhl in -lm... " >&6; }
21609 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21610 $as_echo_n "(cached) " >&6
21611 else
21612 ac_check_lib_save_LIBS=$LIBS
21613 LIBS="-lm $LIBS"
21614 if test x$gcc_no_link = xyes; then
21615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21618 /* end confdefs.h. */
21620 /* Override any GCC internal prototype to avoid an error.
21621 Use char because int might match the return type of a GCC
21622 builtin and then its argument prototype would still apply. */
21623 #ifdef __cplusplus
21624 extern "C"
21625 #endif
21626 char sinhl ();
21628 main ()
21630 return sinhl ();
21632 return 0;
21634 _ACEOF
21635 if ac_fn_c_try_link "$LINENO"; then :
21636 ac_cv_lib_m_sinhl=yes
21637 else
21638 ac_cv_lib_m_sinhl=no
21640 rm -f core conftest.err conftest.$ac_objext \
21641 conftest$ac_exeext conftest.$ac_ext
21642 LIBS=$ac_check_lib_save_LIBS
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21645 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
21646 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
21648 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21653 $as_echo_n "checking for csinhf in -lm... " >&6; }
21654 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21655 $as_echo_n "(cached) " >&6
21656 else
21657 ac_check_lib_save_LIBS=$LIBS
21658 LIBS="-lm $LIBS"
21659 if test x$gcc_no_link = xyes; then
21660 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21665 /* Override any GCC internal prototype to avoid an error.
21666 Use char because int might match the return type of a GCC
21667 builtin and then its argument prototype would still apply. */
21668 #ifdef __cplusplus
21669 extern "C"
21670 #endif
21671 char csinhf ();
21673 main ()
21675 return csinhf ();
21677 return 0;
21679 _ACEOF
21680 if ac_fn_c_try_link "$LINENO"; then :
21681 ac_cv_lib_m_csinhf=yes
21682 else
21683 ac_cv_lib_m_csinhf=no
21685 rm -f core conftest.err conftest.$ac_objext \
21686 conftest$ac_exeext conftest.$ac_ext
21687 LIBS=$ac_check_lib_save_LIBS
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21690 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
21691 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
21693 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21698 $as_echo_n "checking for csinh in -lm... " >&6; }
21699 if test "${ac_cv_lib_m_csinh+set}" = set; then :
21700 $as_echo_n "(cached) " >&6
21701 else
21702 ac_check_lib_save_LIBS=$LIBS
21703 LIBS="-lm $LIBS"
21704 if test x$gcc_no_link = xyes; then
21705 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21710 /* Override any GCC internal prototype to avoid an error.
21711 Use char because int might match the return type of a GCC
21712 builtin and then its argument prototype would still apply. */
21713 #ifdef __cplusplus
21714 extern "C"
21715 #endif
21716 char csinh ();
21718 main ()
21720 return csinh ();
21722 return 0;
21724 _ACEOF
21725 if ac_fn_c_try_link "$LINENO"; then :
21726 ac_cv_lib_m_csinh=yes
21727 else
21728 ac_cv_lib_m_csinh=no
21730 rm -f core conftest.err conftest.$ac_objext \
21731 conftest$ac_exeext conftest.$ac_ext
21732 LIBS=$ac_check_lib_save_LIBS
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21735 $as_echo "$ac_cv_lib_m_csinh" >&6; }
21736 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
21738 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21743 $as_echo_n "checking for csinhl in -lm... " >&6; }
21744 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21745 $as_echo_n "(cached) " >&6
21746 else
21747 ac_check_lib_save_LIBS=$LIBS
21748 LIBS="-lm $LIBS"
21749 if test x$gcc_no_link = xyes; then
21750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21753 /* end confdefs.h. */
21755 /* Override any GCC internal prototype to avoid an error.
21756 Use char because int might match the return type of a GCC
21757 builtin and then its argument prototype would still apply. */
21758 #ifdef __cplusplus
21759 extern "C"
21760 #endif
21761 char csinhl ();
21763 main ()
21765 return csinhl ();
21767 return 0;
21769 _ACEOF
21770 if ac_fn_c_try_link "$LINENO"; then :
21771 ac_cv_lib_m_csinhl=yes
21772 else
21773 ac_cv_lib_m_csinhl=no
21775 rm -f core conftest.err conftest.$ac_objext \
21776 conftest$ac_exeext conftest.$ac_ext
21777 LIBS=$ac_check_lib_save_LIBS
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21780 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21781 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21783 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21788 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21789 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21790 $as_echo_n "(cached) " >&6
21791 else
21792 ac_check_lib_save_LIBS=$LIBS
21793 LIBS="-lm $LIBS"
21794 if test x$gcc_no_link = xyes; then
21795 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21800 /* Override any GCC internal prototype to avoid an error.
21801 Use char because int might match the return type of a GCC
21802 builtin and then its argument prototype would still apply. */
21803 #ifdef __cplusplus
21804 extern "C"
21805 #endif
21806 char sqrtf ();
21808 main ()
21810 return sqrtf ();
21812 return 0;
21814 _ACEOF
21815 if ac_fn_c_try_link "$LINENO"; then :
21816 ac_cv_lib_m_sqrtf=yes
21817 else
21818 ac_cv_lib_m_sqrtf=no
21820 rm -f core conftest.err conftest.$ac_objext \
21821 conftest$ac_exeext conftest.$ac_ext
21822 LIBS=$ac_check_lib_save_LIBS
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21825 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21826 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21828 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21833 $as_echo_n "checking for sqrt in -lm... " >&6; }
21834 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21835 $as_echo_n "(cached) " >&6
21836 else
21837 ac_check_lib_save_LIBS=$LIBS
21838 LIBS="-lm $LIBS"
21839 if test x$gcc_no_link = xyes; then
21840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h. */
21845 /* Override any GCC internal prototype to avoid an error.
21846 Use char because int might match the return type of a GCC
21847 builtin and then its argument prototype would still apply. */
21848 #ifdef __cplusplus
21849 extern "C"
21850 #endif
21851 char sqrt ();
21853 main ()
21855 return sqrt ();
21857 return 0;
21859 _ACEOF
21860 if ac_fn_c_try_link "$LINENO"; then :
21861 ac_cv_lib_m_sqrt=yes
21862 else
21863 ac_cv_lib_m_sqrt=no
21865 rm -f core conftest.err conftest.$ac_objext \
21866 conftest$ac_exeext conftest.$ac_ext
21867 LIBS=$ac_check_lib_save_LIBS
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21870 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21871 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21873 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21878 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21879 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21880 $as_echo_n "(cached) " >&6
21881 else
21882 ac_check_lib_save_LIBS=$LIBS
21883 LIBS="-lm $LIBS"
21884 if test x$gcc_no_link = xyes; then
21885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21888 /* end confdefs.h. */
21890 /* Override any GCC internal prototype to avoid an error.
21891 Use char because int might match the return type of a GCC
21892 builtin and then its argument prototype would still apply. */
21893 #ifdef __cplusplus
21894 extern "C"
21895 #endif
21896 char sqrtl ();
21898 main ()
21900 return sqrtl ();
21902 return 0;
21904 _ACEOF
21905 if ac_fn_c_try_link "$LINENO"; then :
21906 ac_cv_lib_m_sqrtl=yes
21907 else
21908 ac_cv_lib_m_sqrtl=no
21910 rm -f core conftest.err conftest.$ac_objext \
21911 conftest$ac_exeext conftest.$ac_ext
21912 LIBS=$ac_check_lib_save_LIBS
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21915 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21916 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21918 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21923 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21924 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21925 $as_echo_n "(cached) " >&6
21926 else
21927 ac_check_lib_save_LIBS=$LIBS
21928 LIBS="-lm $LIBS"
21929 if test x$gcc_no_link = xyes; then
21930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21933 /* end confdefs.h. */
21935 /* Override any GCC internal prototype to avoid an error.
21936 Use char because int might match the return type of a GCC
21937 builtin and then its argument prototype would still apply. */
21938 #ifdef __cplusplus
21939 extern "C"
21940 #endif
21941 char csqrtf ();
21943 main ()
21945 return csqrtf ();
21947 return 0;
21949 _ACEOF
21950 if ac_fn_c_try_link "$LINENO"; then :
21951 ac_cv_lib_m_csqrtf=yes
21952 else
21953 ac_cv_lib_m_csqrtf=no
21955 rm -f core conftest.err conftest.$ac_objext \
21956 conftest$ac_exeext conftest.$ac_ext
21957 LIBS=$ac_check_lib_save_LIBS
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21960 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21961 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21963 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21968 $as_echo_n "checking for csqrt in -lm... " >&6; }
21969 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21970 $as_echo_n "(cached) " >&6
21971 else
21972 ac_check_lib_save_LIBS=$LIBS
21973 LIBS="-lm $LIBS"
21974 if test x$gcc_no_link = xyes; then
21975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21978 /* end confdefs.h. */
21980 /* Override any GCC internal prototype to avoid an error.
21981 Use char because int might match the return type of a GCC
21982 builtin and then its argument prototype would still apply. */
21983 #ifdef __cplusplus
21984 extern "C"
21985 #endif
21986 char csqrt ();
21988 main ()
21990 return csqrt ();
21992 return 0;
21994 _ACEOF
21995 if ac_fn_c_try_link "$LINENO"; then :
21996 ac_cv_lib_m_csqrt=yes
21997 else
21998 ac_cv_lib_m_csqrt=no
22000 rm -f core conftest.err conftest.$ac_objext \
22001 conftest$ac_exeext conftest.$ac_ext
22002 LIBS=$ac_check_lib_save_LIBS
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
22005 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
22006 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
22008 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
22013 $as_echo_n "checking for csqrtl in -lm... " >&6; }
22014 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
22015 $as_echo_n "(cached) " >&6
22016 else
22017 ac_check_lib_save_LIBS=$LIBS
22018 LIBS="-lm $LIBS"
22019 if test x$gcc_no_link = xyes; then
22020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22023 /* end confdefs.h. */
22025 /* Override any GCC internal prototype to avoid an error.
22026 Use char because int might match the return type of a GCC
22027 builtin and then its argument prototype would still apply. */
22028 #ifdef __cplusplus
22029 extern "C"
22030 #endif
22031 char csqrtl ();
22033 main ()
22035 return csqrtl ();
22037 return 0;
22039 _ACEOF
22040 if ac_fn_c_try_link "$LINENO"; then :
22041 ac_cv_lib_m_csqrtl=yes
22042 else
22043 ac_cv_lib_m_csqrtl=no
22045 rm -f core conftest.err conftest.$ac_objext \
22046 conftest$ac_exeext conftest.$ac_ext
22047 LIBS=$ac_check_lib_save_LIBS
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
22050 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
22051 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
22053 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
22058 $as_echo_n "checking for tanf in -lm... " >&6; }
22059 if test "${ac_cv_lib_m_tanf+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22061 else
22062 ac_check_lib_save_LIBS=$LIBS
22063 LIBS="-lm $LIBS"
22064 if test x$gcc_no_link = xyes; then
22065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22068 /* end confdefs.h. */
22070 /* Override any GCC internal prototype to avoid an error.
22071 Use char because int might match the return type of a GCC
22072 builtin and then its argument prototype would still apply. */
22073 #ifdef __cplusplus
22074 extern "C"
22075 #endif
22076 char tanf ();
22078 main ()
22080 return tanf ();
22082 return 0;
22084 _ACEOF
22085 if ac_fn_c_try_link "$LINENO"; then :
22086 ac_cv_lib_m_tanf=yes
22087 else
22088 ac_cv_lib_m_tanf=no
22090 rm -f core conftest.err conftest.$ac_objext \
22091 conftest$ac_exeext conftest.$ac_ext
22092 LIBS=$ac_check_lib_save_LIBS
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
22095 $as_echo "$ac_cv_lib_m_tanf" >&6; }
22096 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
22098 $as_echo "#define HAVE_TANF 1" >>confdefs.h
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
22103 $as_echo_n "checking for tan in -lm... " >&6; }
22104 if test "${ac_cv_lib_m_tan+set}" = set; then :
22105 $as_echo_n "(cached) " >&6
22106 else
22107 ac_check_lib_save_LIBS=$LIBS
22108 LIBS="-lm $LIBS"
22109 if test x$gcc_no_link = xyes; then
22110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22113 /* end confdefs.h. */
22115 /* Override any GCC internal prototype to avoid an error.
22116 Use char because int might match the return type of a GCC
22117 builtin and then its argument prototype would still apply. */
22118 #ifdef __cplusplus
22119 extern "C"
22120 #endif
22121 char tan ();
22123 main ()
22125 return tan ();
22127 return 0;
22129 _ACEOF
22130 if ac_fn_c_try_link "$LINENO"; then :
22131 ac_cv_lib_m_tan=yes
22132 else
22133 ac_cv_lib_m_tan=no
22135 rm -f core conftest.err conftest.$ac_objext \
22136 conftest$ac_exeext conftest.$ac_ext
22137 LIBS=$ac_check_lib_save_LIBS
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22140 $as_echo "$ac_cv_lib_m_tan" >&6; }
22141 if test "x$ac_cv_lib_m_tan" = x""yes; then :
22143 $as_echo "#define HAVE_TAN 1" >>confdefs.h
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22148 $as_echo_n "checking for tanl in -lm... " >&6; }
22149 if test "${ac_cv_lib_m_tanl+set}" = set; then :
22150 $as_echo_n "(cached) " >&6
22151 else
22152 ac_check_lib_save_LIBS=$LIBS
22153 LIBS="-lm $LIBS"
22154 if test x$gcc_no_link = xyes; then
22155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22158 /* end confdefs.h. */
22160 /* Override any GCC internal prototype to avoid an error.
22161 Use char because int might match the return type of a GCC
22162 builtin and then its argument prototype would still apply. */
22163 #ifdef __cplusplus
22164 extern "C"
22165 #endif
22166 char tanl ();
22168 main ()
22170 return tanl ();
22172 return 0;
22174 _ACEOF
22175 if ac_fn_c_try_link "$LINENO"; then :
22176 ac_cv_lib_m_tanl=yes
22177 else
22178 ac_cv_lib_m_tanl=no
22180 rm -f core conftest.err conftest.$ac_objext \
22181 conftest$ac_exeext conftest.$ac_ext
22182 LIBS=$ac_check_lib_save_LIBS
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22185 $as_echo "$ac_cv_lib_m_tanl" >&6; }
22186 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
22188 $as_echo "#define HAVE_TANL 1" >>confdefs.h
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22193 $as_echo_n "checking for ctanf in -lm... " >&6; }
22194 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22195 $as_echo_n "(cached) " >&6
22196 else
22197 ac_check_lib_save_LIBS=$LIBS
22198 LIBS="-lm $LIBS"
22199 if test x$gcc_no_link = xyes; then
22200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22203 /* end confdefs.h. */
22205 /* Override any GCC internal prototype to avoid an error.
22206 Use char because int might match the return type of a GCC
22207 builtin and then its argument prototype would still apply. */
22208 #ifdef __cplusplus
22209 extern "C"
22210 #endif
22211 char ctanf ();
22213 main ()
22215 return ctanf ();
22217 return 0;
22219 _ACEOF
22220 if ac_fn_c_try_link "$LINENO"; then :
22221 ac_cv_lib_m_ctanf=yes
22222 else
22223 ac_cv_lib_m_ctanf=no
22225 rm -f core conftest.err conftest.$ac_objext \
22226 conftest$ac_exeext conftest.$ac_ext
22227 LIBS=$ac_check_lib_save_LIBS
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22230 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
22231 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
22233 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22238 $as_echo_n "checking for ctan in -lm... " >&6; }
22239 if test "${ac_cv_lib_m_ctan+set}" = set; then :
22240 $as_echo_n "(cached) " >&6
22241 else
22242 ac_check_lib_save_LIBS=$LIBS
22243 LIBS="-lm $LIBS"
22244 if test x$gcc_no_link = xyes; then
22245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22250 /* Override any GCC internal prototype to avoid an error.
22251 Use char because int might match the return type of a GCC
22252 builtin and then its argument prototype would still apply. */
22253 #ifdef __cplusplus
22254 extern "C"
22255 #endif
22256 char ctan ();
22258 main ()
22260 return ctan ();
22262 return 0;
22264 _ACEOF
22265 if ac_fn_c_try_link "$LINENO"; then :
22266 ac_cv_lib_m_ctan=yes
22267 else
22268 ac_cv_lib_m_ctan=no
22270 rm -f core conftest.err conftest.$ac_objext \
22271 conftest$ac_exeext conftest.$ac_ext
22272 LIBS=$ac_check_lib_save_LIBS
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22275 $as_echo "$ac_cv_lib_m_ctan" >&6; }
22276 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
22278 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22283 $as_echo_n "checking for ctanl in -lm... " >&6; }
22284 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22285 $as_echo_n "(cached) " >&6
22286 else
22287 ac_check_lib_save_LIBS=$LIBS
22288 LIBS="-lm $LIBS"
22289 if test x$gcc_no_link = xyes; then
22290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22293 /* end confdefs.h. */
22295 /* Override any GCC internal prototype to avoid an error.
22296 Use char because int might match the return type of a GCC
22297 builtin and then its argument prototype would still apply. */
22298 #ifdef __cplusplus
22299 extern "C"
22300 #endif
22301 char ctanl ();
22303 main ()
22305 return ctanl ();
22307 return 0;
22309 _ACEOF
22310 if ac_fn_c_try_link "$LINENO"; then :
22311 ac_cv_lib_m_ctanl=yes
22312 else
22313 ac_cv_lib_m_ctanl=no
22315 rm -f core conftest.err conftest.$ac_objext \
22316 conftest$ac_exeext conftest.$ac_ext
22317 LIBS=$ac_check_lib_save_LIBS
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22320 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
22321 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
22323 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22328 $as_echo_n "checking for tanhf in -lm... " >&6; }
22329 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22332 ac_check_lib_save_LIBS=$LIBS
22333 LIBS="-lm $LIBS"
22334 if test x$gcc_no_link = xyes; then
22335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 /* end confdefs.h. */
22340 /* Override any GCC internal prototype to avoid an error.
22341 Use char because int might match the return type of a GCC
22342 builtin and then its argument prototype would still apply. */
22343 #ifdef __cplusplus
22344 extern "C"
22345 #endif
22346 char tanhf ();
22348 main ()
22350 return tanhf ();
22352 return 0;
22354 _ACEOF
22355 if ac_fn_c_try_link "$LINENO"; then :
22356 ac_cv_lib_m_tanhf=yes
22357 else
22358 ac_cv_lib_m_tanhf=no
22360 rm -f core conftest.err conftest.$ac_objext \
22361 conftest$ac_exeext conftest.$ac_ext
22362 LIBS=$ac_check_lib_save_LIBS
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22365 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
22366 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
22368 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22373 $as_echo_n "checking for tanh in -lm... " >&6; }
22374 if test "${ac_cv_lib_m_tanh+set}" = set; then :
22375 $as_echo_n "(cached) " >&6
22376 else
22377 ac_check_lib_save_LIBS=$LIBS
22378 LIBS="-lm $LIBS"
22379 if test x$gcc_no_link = xyes; then
22380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22383 /* end confdefs.h. */
22385 /* Override any GCC internal prototype to avoid an error.
22386 Use char because int might match the return type of a GCC
22387 builtin and then its argument prototype would still apply. */
22388 #ifdef __cplusplus
22389 extern "C"
22390 #endif
22391 char tanh ();
22393 main ()
22395 return tanh ();
22397 return 0;
22399 _ACEOF
22400 if ac_fn_c_try_link "$LINENO"; then :
22401 ac_cv_lib_m_tanh=yes
22402 else
22403 ac_cv_lib_m_tanh=no
22405 rm -f core conftest.err conftest.$ac_objext \
22406 conftest$ac_exeext conftest.$ac_ext
22407 LIBS=$ac_check_lib_save_LIBS
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22410 $as_echo "$ac_cv_lib_m_tanh" >&6; }
22411 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
22413 $as_echo "#define HAVE_TANH 1" >>confdefs.h
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22418 $as_echo_n "checking for tanhl in -lm... " >&6; }
22419 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22420 $as_echo_n "(cached) " >&6
22421 else
22422 ac_check_lib_save_LIBS=$LIBS
22423 LIBS="-lm $LIBS"
22424 if test x$gcc_no_link = xyes; then
22425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22428 /* end confdefs.h. */
22430 /* Override any GCC internal prototype to avoid an error.
22431 Use char because int might match the return type of a GCC
22432 builtin and then its argument prototype would still apply. */
22433 #ifdef __cplusplus
22434 extern "C"
22435 #endif
22436 char tanhl ();
22438 main ()
22440 return tanhl ();
22442 return 0;
22444 _ACEOF
22445 if ac_fn_c_try_link "$LINENO"; then :
22446 ac_cv_lib_m_tanhl=yes
22447 else
22448 ac_cv_lib_m_tanhl=no
22450 rm -f core conftest.err conftest.$ac_objext \
22451 conftest$ac_exeext conftest.$ac_ext
22452 LIBS=$ac_check_lib_save_LIBS
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22455 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
22456 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
22458 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22463 $as_echo_n "checking for ctanhf in -lm... " >&6; }
22464 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22466 else
22467 ac_check_lib_save_LIBS=$LIBS
22468 LIBS="-lm $LIBS"
22469 if test x$gcc_no_link = xyes; then
22470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22473 /* end confdefs.h. */
22475 /* Override any GCC internal prototype to avoid an error.
22476 Use char because int might match the return type of a GCC
22477 builtin and then its argument prototype would still apply. */
22478 #ifdef __cplusplus
22479 extern "C"
22480 #endif
22481 char ctanhf ();
22483 main ()
22485 return ctanhf ();
22487 return 0;
22489 _ACEOF
22490 if ac_fn_c_try_link "$LINENO"; then :
22491 ac_cv_lib_m_ctanhf=yes
22492 else
22493 ac_cv_lib_m_ctanhf=no
22495 rm -f core conftest.err conftest.$ac_objext \
22496 conftest$ac_exeext conftest.$ac_ext
22497 LIBS=$ac_check_lib_save_LIBS
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22500 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22501 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
22503 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22508 $as_echo_n "checking for ctanh in -lm... " >&6; }
22509 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22510 $as_echo_n "(cached) " >&6
22511 else
22512 ac_check_lib_save_LIBS=$LIBS
22513 LIBS="-lm $LIBS"
22514 if test x$gcc_no_link = xyes; then
22515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518 /* end confdefs.h. */
22520 /* Override any GCC internal prototype to avoid an error.
22521 Use char because int might match the return type of a GCC
22522 builtin and then its argument prototype would still apply. */
22523 #ifdef __cplusplus
22524 extern "C"
22525 #endif
22526 char ctanh ();
22528 main ()
22530 return ctanh ();
22532 return 0;
22534 _ACEOF
22535 if ac_fn_c_try_link "$LINENO"; then :
22536 ac_cv_lib_m_ctanh=yes
22537 else
22538 ac_cv_lib_m_ctanh=no
22540 rm -f core conftest.err conftest.$ac_objext \
22541 conftest$ac_exeext conftest.$ac_ext
22542 LIBS=$ac_check_lib_save_LIBS
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22545 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
22546 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
22548 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22553 $as_echo_n "checking for ctanhl in -lm... " >&6; }
22554 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22555 $as_echo_n "(cached) " >&6
22556 else
22557 ac_check_lib_save_LIBS=$LIBS
22558 LIBS="-lm $LIBS"
22559 if test x$gcc_no_link = xyes; then
22560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22563 /* end confdefs.h. */
22565 /* Override any GCC internal prototype to avoid an error.
22566 Use char because int might match the return type of a GCC
22567 builtin and then its argument prototype would still apply. */
22568 #ifdef __cplusplus
22569 extern "C"
22570 #endif
22571 char ctanhl ();
22573 main ()
22575 return ctanhl ();
22577 return 0;
22579 _ACEOF
22580 if ac_fn_c_try_link "$LINENO"; then :
22581 ac_cv_lib_m_ctanhl=yes
22582 else
22583 ac_cv_lib_m_ctanhl=no
22585 rm -f core conftest.err conftest.$ac_objext \
22586 conftest$ac_exeext conftest.$ac_ext
22587 LIBS=$ac_check_lib_save_LIBS
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22590 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22591 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
22593 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22598 $as_echo_n "checking for truncf in -lm... " >&6; }
22599 if test "${ac_cv_lib_m_truncf+set}" = set; then :
22600 $as_echo_n "(cached) " >&6
22601 else
22602 ac_check_lib_save_LIBS=$LIBS
22603 LIBS="-lm $LIBS"
22604 if test x$gcc_no_link = xyes; then
22605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608 /* end confdefs.h. */
22610 /* Override any GCC internal prototype to avoid an error.
22611 Use char because int might match the return type of a GCC
22612 builtin and then its argument prototype would still apply. */
22613 #ifdef __cplusplus
22614 extern "C"
22615 #endif
22616 char truncf ();
22618 main ()
22620 return truncf ();
22622 return 0;
22624 _ACEOF
22625 if ac_fn_c_try_link "$LINENO"; then :
22626 ac_cv_lib_m_truncf=yes
22627 else
22628 ac_cv_lib_m_truncf=no
22630 rm -f core conftest.err conftest.$ac_objext \
22631 conftest$ac_exeext conftest.$ac_ext
22632 LIBS=$ac_check_lib_save_LIBS
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22635 $as_echo "$ac_cv_lib_m_truncf" >&6; }
22636 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
22638 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22643 $as_echo_n "checking for trunc in -lm... " >&6; }
22644 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22647 ac_check_lib_save_LIBS=$LIBS
22648 LIBS="-lm $LIBS"
22649 if test x$gcc_no_link = xyes; then
22650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22653 /* end confdefs.h. */
22655 /* Override any GCC internal prototype to avoid an error.
22656 Use char because int might match the return type of a GCC
22657 builtin and then its argument prototype would still apply. */
22658 #ifdef __cplusplus
22659 extern "C"
22660 #endif
22661 char trunc ();
22663 main ()
22665 return trunc ();
22667 return 0;
22669 _ACEOF
22670 if ac_fn_c_try_link "$LINENO"; then :
22671 ac_cv_lib_m_trunc=yes
22672 else
22673 ac_cv_lib_m_trunc=no
22675 rm -f core conftest.err conftest.$ac_objext \
22676 conftest$ac_exeext conftest.$ac_ext
22677 LIBS=$ac_check_lib_save_LIBS
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22680 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22681 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22683 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22688 $as_echo_n "checking for truncl in -lm... " >&6; }
22689 if test "${ac_cv_lib_m_truncl+set}" = set; then :
22690 $as_echo_n "(cached) " >&6
22691 else
22692 ac_check_lib_save_LIBS=$LIBS
22693 LIBS="-lm $LIBS"
22694 if test x$gcc_no_link = xyes; then
22695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22698 /* end confdefs.h. */
22700 /* Override any GCC internal prototype to avoid an error.
22701 Use char because int might match the return type of a GCC
22702 builtin and then its argument prototype would still apply. */
22703 #ifdef __cplusplus
22704 extern "C"
22705 #endif
22706 char truncl ();
22708 main ()
22710 return truncl ();
22712 return 0;
22714 _ACEOF
22715 if ac_fn_c_try_link "$LINENO"; then :
22716 ac_cv_lib_m_truncl=yes
22717 else
22718 ac_cv_lib_m_truncl=no
22720 rm -f core conftest.err conftest.$ac_objext \
22721 conftest$ac_exeext conftest.$ac_ext
22722 LIBS=$ac_check_lib_save_LIBS
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22725 $as_echo "$ac_cv_lib_m_truncl" >&6; }
22726 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
22728 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22733 $as_echo_n "checking for erff in -lm... " >&6; }
22734 if test "${ac_cv_lib_m_erff+set}" = set; then :
22735 $as_echo_n "(cached) " >&6
22736 else
22737 ac_check_lib_save_LIBS=$LIBS
22738 LIBS="-lm $LIBS"
22739 if test x$gcc_no_link = xyes; then
22740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22743 /* end confdefs.h. */
22745 /* Override any GCC internal prototype to avoid an error.
22746 Use char because int might match the return type of a GCC
22747 builtin and then its argument prototype would still apply. */
22748 #ifdef __cplusplus
22749 extern "C"
22750 #endif
22751 char erff ();
22753 main ()
22755 return erff ();
22757 return 0;
22759 _ACEOF
22760 if ac_fn_c_try_link "$LINENO"; then :
22761 ac_cv_lib_m_erff=yes
22762 else
22763 ac_cv_lib_m_erff=no
22765 rm -f core conftest.err conftest.$ac_objext \
22766 conftest$ac_exeext conftest.$ac_ext
22767 LIBS=$ac_check_lib_save_LIBS
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22770 $as_echo "$ac_cv_lib_m_erff" >&6; }
22771 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22773 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22778 $as_echo_n "checking for erf in -lm... " >&6; }
22779 if test "${ac_cv_lib_m_erf+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22781 else
22782 ac_check_lib_save_LIBS=$LIBS
22783 LIBS="-lm $LIBS"
22784 if test x$gcc_no_link = xyes; then
22785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22790 /* Override any GCC internal prototype to avoid an error.
22791 Use char because int might match the return type of a GCC
22792 builtin and then its argument prototype would still apply. */
22793 #ifdef __cplusplus
22794 extern "C"
22795 #endif
22796 char erf ();
22798 main ()
22800 return erf ();
22802 return 0;
22804 _ACEOF
22805 if ac_fn_c_try_link "$LINENO"; then :
22806 ac_cv_lib_m_erf=yes
22807 else
22808 ac_cv_lib_m_erf=no
22810 rm -f core conftest.err conftest.$ac_objext \
22811 conftest$ac_exeext conftest.$ac_ext
22812 LIBS=$ac_check_lib_save_LIBS
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22815 $as_echo "$ac_cv_lib_m_erf" >&6; }
22816 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22818 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22823 $as_echo_n "checking for erfl in -lm... " >&6; }
22824 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22825 $as_echo_n "(cached) " >&6
22826 else
22827 ac_check_lib_save_LIBS=$LIBS
22828 LIBS="-lm $LIBS"
22829 if test x$gcc_no_link = xyes; then
22830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22833 /* end confdefs.h. */
22835 /* Override any GCC internal prototype to avoid an error.
22836 Use char because int might match the return type of a GCC
22837 builtin and then its argument prototype would still apply. */
22838 #ifdef __cplusplus
22839 extern "C"
22840 #endif
22841 char erfl ();
22843 main ()
22845 return erfl ();
22847 return 0;
22849 _ACEOF
22850 if ac_fn_c_try_link "$LINENO"; then :
22851 ac_cv_lib_m_erfl=yes
22852 else
22853 ac_cv_lib_m_erfl=no
22855 rm -f core conftest.err conftest.$ac_objext \
22856 conftest$ac_exeext conftest.$ac_ext
22857 LIBS=$ac_check_lib_save_LIBS
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22860 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22861 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22863 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22868 $as_echo_n "checking for erfcf in -lm... " >&6; }
22869 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22870 $as_echo_n "(cached) " >&6
22871 else
22872 ac_check_lib_save_LIBS=$LIBS
22873 LIBS="-lm $LIBS"
22874 if test x$gcc_no_link = xyes; then
22875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22878 /* end confdefs.h. */
22880 /* Override any GCC internal prototype to avoid an error.
22881 Use char because int might match the return type of a GCC
22882 builtin and then its argument prototype would still apply. */
22883 #ifdef __cplusplus
22884 extern "C"
22885 #endif
22886 char erfcf ();
22888 main ()
22890 return erfcf ();
22892 return 0;
22894 _ACEOF
22895 if ac_fn_c_try_link "$LINENO"; then :
22896 ac_cv_lib_m_erfcf=yes
22897 else
22898 ac_cv_lib_m_erfcf=no
22900 rm -f core conftest.err conftest.$ac_objext \
22901 conftest$ac_exeext conftest.$ac_ext
22902 LIBS=$ac_check_lib_save_LIBS
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22905 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22906 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22908 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22913 $as_echo_n "checking for erfc in -lm... " >&6; }
22914 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22915 $as_echo_n "(cached) " >&6
22916 else
22917 ac_check_lib_save_LIBS=$LIBS
22918 LIBS="-lm $LIBS"
22919 if test x$gcc_no_link = xyes; then
22920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22925 /* Override any GCC internal prototype to avoid an error.
22926 Use char because int might match the return type of a GCC
22927 builtin and then its argument prototype would still apply. */
22928 #ifdef __cplusplus
22929 extern "C"
22930 #endif
22931 char erfc ();
22933 main ()
22935 return erfc ();
22937 return 0;
22939 _ACEOF
22940 if ac_fn_c_try_link "$LINENO"; then :
22941 ac_cv_lib_m_erfc=yes
22942 else
22943 ac_cv_lib_m_erfc=no
22945 rm -f core conftest.err conftest.$ac_objext \
22946 conftest$ac_exeext conftest.$ac_ext
22947 LIBS=$ac_check_lib_save_LIBS
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22950 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22951 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22953 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22958 $as_echo_n "checking for erfcl in -lm... " >&6; }
22959 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22960 $as_echo_n "(cached) " >&6
22961 else
22962 ac_check_lib_save_LIBS=$LIBS
22963 LIBS="-lm $LIBS"
22964 if test x$gcc_no_link = xyes; then
22965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22970 /* Override any GCC internal prototype to avoid an error.
22971 Use char because int might match the return type of a GCC
22972 builtin and then its argument prototype would still apply. */
22973 #ifdef __cplusplus
22974 extern "C"
22975 #endif
22976 char erfcl ();
22978 main ()
22980 return erfcl ();
22982 return 0;
22984 _ACEOF
22985 if ac_fn_c_try_link "$LINENO"; then :
22986 ac_cv_lib_m_erfcl=yes
22987 else
22988 ac_cv_lib_m_erfcl=no
22990 rm -f core conftest.err conftest.$ac_objext \
22991 conftest$ac_exeext conftest.$ac_ext
22992 LIBS=$ac_check_lib_save_LIBS
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22995 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22996 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22998 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
23003 $as_echo_n "checking for j0f in -lm... " >&6; }
23004 if test "${ac_cv_lib_m_j0f+set}" = set; then :
23005 $as_echo_n "(cached) " >&6
23006 else
23007 ac_check_lib_save_LIBS=$LIBS
23008 LIBS="-lm $LIBS"
23009 if test x$gcc_no_link = xyes; then
23010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23013 /* end confdefs.h. */
23015 /* Override any GCC internal prototype to avoid an error.
23016 Use char because int might match the return type of a GCC
23017 builtin and then its argument prototype would still apply. */
23018 #ifdef __cplusplus
23019 extern "C"
23020 #endif
23021 char j0f ();
23023 main ()
23025 return j0f ();
23027 return 0;
23029 _ACEOF
23030 if ac_fn_c_try_link "$LINENO"; then :
23031 ac_cv_lib_m_j0f=yes
23032 else
23033 ac_cv_lib_m_j0f=no
23035 rm -f core conftest.err conftest.$ac_objext \
23036 conftest$ac_exeext conftest.$ac_ext
23037 LIBS=$ac_check_lib_save_LIBS
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
23040 $as_echo "$ac_cv_lib_m_j0f" >&6; }
23041 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
23043 $as_echo "#define HAVE_J0F 1" >>confdefs.h
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
23048 $as_echo_n "checking for j0 in -lm... " >&6; }
23049 if test "${ac_cv_lib_m_j0+set}" = set; then :
23050 $as_echo_n "(cached) " >&6
23051 else
23052 ac_check_lib_save_LIBS=$LIBS
23053 LIBS="-lm $LIBS"
23054 if test x$gcc_no_link = xyes; then
23055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23058 /* end confdefs.h. */
23060 /* Override any GCC internal prototype to avoid an error.
23061 Use char because int might match the return type of a GCC
23062 builtin and then its argument prototype would still apply. */
23063 #ifdef __cplusplus
23064 extern "C"
23065 #endif
23066 char j0 ();
23068 main ()
23070 return j0 ();
23072 return 0;
23074 _ACEOF
23075 if ac_fn_c_try_link "$LINENO"; then :
23076 ac_cv_lib_m_j0=yes
23077 else
23078 ac_cv_lib_m_j0=no
23080 rm -f core conftest.err conftest.$ac_objext \
23081 conftest$ac_exeext conftest.$ac_ext
23082 LIBS=$ac_check_lib_save_LIBS
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
23085 $as_echo "$ac_cv_lib_m_j0" >&6; }
23086 if test "x$ac_cv_lib_m_j0" = x""yes; then :
23088 $as_echo "#define HAVE_J0 1" >>confdefs.h
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
23093 $as_echo_n "checking for j0l in -lm... " >&6; }
23094 if test "${ac_cv_lib_m_j0l+set}" = set; then :
23095 $as_echo_n "(cached) " >&6
23096 else
23097 ac_check_lib_save_LIBS=$LIBS
23098 LIBS="-lm $LIBS"
23099 if test x$gcc_no_link = xyes; then
23100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23103 /* end confdefs.h. */
23105 /* Override any GCC internal prototype to avoid an error.
23106 Use char because int might match the return type of a GCC
23107 builtin and then its argument prototype would still apply. */
23108 #ifdef __cplusplus
23109 extern "C"
23110 #endif
23111 char j0l ();
23113 main ()
23115 return j0l ();
23117 return 0;
23119 _ACEOF
23120 if ac_fn_c_try_link "$LINENO"; then :
23121 ac_cv_lib_m_j0l=yes
23122 else
23123 ac_cv_lib_m_j0l=no
23125 rm -f core conftest.err conftest.$ac_objext \
23126 conftest$ac_exeext conftest.$ac_ext
23127 LIBS=$ac_check_lib_save_LIBS
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23130 $as_echo "$ac_cv_lib_m_j0l" >&6; }
23131 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
23133 $as_echo "#define HAVE_J0L 1" >>confdefs.h
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23138 $as_echo_n "checking for j1f in -lm... " >&6; }
23139 if test "${ac_cv_lib_m_j1f+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23142 ac_check_lib_save_LIBS=$LIBS
23143 LIBS="-lm $LIBS"
23144 if test x$gcc_no_link = xyes; then
23145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23148 /* end confdefs.h. */
23150 /* Override any GCC internal prototype to avoid an error.
23151 Use char because int might match the return type of a GCC
23152 builtin and then its argument prototype would still apply. */
23153 #ifdef __cplusplus
23154 extern "C"
23155 #endif
23156 char j1f ();
23158 main ()
23160 return j1f ();
23162 return 0;
23164 _ACEOF
23165 if ac_fn_c_try_link "$LINENO"; then :
23166 ac_cv_lib_m_j1f=yes
23167 else
23168 ac_cv_lib_m_j1f=no
23170 rm -f core conftest.err conftest.$ac_objext \
23171 conftest$ac_exeext conftest.$ac_ext
23172 LIBS=$ac_check_lib_save_LIBS
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23175 $as_echo "$ac_cv_lib_m_j1f" >&6; }
23176 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
23178 $as_echo "#define HAVE_J1F 1" >>confdefs.h
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23183 $as_echo_n "checking for j1 in -lm... " >&6; }
23184 if test "${ac_cv_lib_m_j1+set}" = set; then :
23185 $as_echo_n "(cached) " >&6
23186 else
23187 ac_check_lib_save_LIBS=$LIBS
23188 LIBS="-lm $LIBS"
23189 if test x$gcc_no_link = xyes; then
23190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23193 /* end confdefs.h. */
23195 /* Override any GCC internal prototype to avoid an error.
23196 Use char because int might match the return type of a GCC
23197 builtin and then its argument prototype would still apply. */
23198 #ifdef __cplusplus
23199 extern "C"
23200 #endif
23201 char j1 ();
23203 main ()
23205 return j1 ();
23207 return 0;
23209 _ACEOF
23210 if ac_fn_c_try_link "$LINENO"; then :
23211 ac_cv_lib_m_j1=yes
23212 else
23213 ac_cv_lib_m_j1=no
23215 rm -f core conftest.err conftest.$ac_objext \
23216 conftest$ac_exeext conftest.$ac_ext
23217 LIBS=$ac_check_lib_save_LIBS
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23220 $as_echo "$ac_cv_lib_m_j1" >&6; }
23221 if test "x$ac_cv_lib_m_j1" = x""yes; then :
23223 $as_echo "#define HAVE_J1 1" >>confdefs.h
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23228 $as_echo_n "checking for j1l in -lm... " >&6; }
23229 if test "${ac_cv_lib_m_j1l+set}" = set; then :
23230 $as_echo_n "(cached) " >&6
23231 else
23232 ac_check_lib_save_LIBS=$LIBS
23233 LIBS="-lm $LIBS"
23234 if test x$gcc_no_link = xyes; then
23235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h. */
23240 /* Override any GCC internal prototype to avoid an error.
23241 Use char because int might match the return type of a GCC
23242 builtin and then its argument prototype would still apply. */
23243 #ifdef __cplusplus
23244 extern "C"
23245 #endif
23246 char j1l ();
23248 main ()
23250 return j1l ();
23252 return 0;
23254 _ACEOF
23255 if ac_fn_c_try_link "$LINENO"; then :
23256 ac_cv_lib_m_j1l=yes
23257 else
23258 ac_cv_lib_m_j1l=no
23260 rm -f core conftest.err conftest.$ac_objext \
23261 conftest$ac_exeext conftest.$ac_ext
23262 LIBS=$ac_check_lib_save_LIBS
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23265 $as_echo "$ac_cv_lib_m_j1l" >&6; }
23266 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
23268 $as_echo "#define HAVE_J1L 1" >>confdefs.h
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23273 $as_echo_n "checking for jnf in -lm... " >&6; }
23274 if test "${ac_cv_lib_m_jnf+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23276 else
23277 ac_check_lib_save_LIBS=$LIBS
23278 LIBS="-lm $LIBS"
23279 if test x$gcc_no_link = xyes; then
23280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23283 /* end confdefs.h. */
23285 /* Override any GCC internal prototype to avoid an error.
23286 Use char because int might match the return type of a GCC
23287 builtin and then its argument prototype would still apply. */
23288 #ifdef __cplusplus
23289 extern "C"
23290 #endif
23291 char jnf ();
23293 main ()
23295 return jnf ();
23297 return 0;
23299 _ACEOF
23300 if ac_fn_c_try_link "$LINENO"; then :
23301 ac_cv_lib_m_jnf=yes
23302 else
23303 ac_cv_lib_m_jnf=no
23305 rm -f core conftest.err conftest.$ac_objext \
23306 conftest$ac_exeext conftest.$ac_ext
23307 LIBS=$ac_check_lib_save_LIBS
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23310 $as_echo "$ac_cv_lib_m_jnf" >&6; }
23311 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
23313 $as_echo "#define HAVE_JNF 1" >>confdefs.h
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23318 $as_echo_n "checking for jn in -lm... " >&6; }
23319 if test "${ac_cv_lib_m_jn+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23322 ac_check_lib_save_LIBS=$LIBS
23323 LIBS="-lm $LIBS"
23324 if test x$gcc_no_link = xyes; then
23325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23328 /* end confdefs.h. */
23330 /* Override any GCC internal prototype to avoid an error.
23331 Use char because int might match the return type of a GCC
23332 builtin and then its argument prototype would still apply. */
23333 #ifdef __cplusplus
23334 extern "C"
23335 #endif
23336 char jn ();
23338 main ()
23340 return jn ();
23342 return 0;
23344 _ACEOF
23345 if ac_fn_c_try_link "$LINENO"; then :
23346 ac_cv_lib_m_jn=yes
23347 else
23348 ac_cv_lib_m_jn=no
23350 rm -f core conftest.err conftest.$ac_objext \
23351 conftest$ac_exeext conftest.$ac_ext
23352 LIBS=$ac_check_lib_save_LIBS
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23355 $as_echo "$ac_cv_lib_m_jn" >&6; }
23356 if test "x$ac_cv_lib_m_jn" = x""yes; then :
23358 $as_echo "#define HAVE_JN 1" >>confdefs.h
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23363 $as_echo_n "checking for jnl in -lm... " >&6; }
23364 if test "${ac_cv_lib_m_jnl+set}" = set; then :
23365 $as_echo_n "(cached) " >&6
23366 else
23367 ac_check_lib_save_LIBS=$LIBS
23368 LIBS="-lm $LIBS"
23369 if test x$gcc_no_link = xyes; then
23370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h. */
23375 /* Override any GCC internal prototype to avoid an error.
23376 Use char because int might match the return type of a GCC
23377 builtin and then its argument prototype would still apply. */
23378 #ifdef __cplusplus
23379 extern "C"
23380 #endif
23381 char jnl ();
23383 main ()
23385 return jnl ();
23387 return 0;
23389 _ACEOF
23390 if ac_fn_c_try_link "$LINENO"; then :
23391 ac_cv_lib_m_jnl=yes
23392 else
23393 ac_cv_lib_m_jnl=no
23395 rm -f core conftest.err conftest.$ac_objext \
23396 conftest$ac_exeext conftest.$ac_ext
23397 LIBS=$ac_check_lib_save_LIBS
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23400 $as_echo "$ac_cv_lib_m_jnl" >&6; }
23401 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
23403 $as_echo "#define HAVE_JNL 1" >>confdefs.h
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23408 $as_echo_n "checking for y0f in -lm... " >&6; }
23409 if test "${ac_cv_lib_m_y0f+set}" = set; then :
23410 $as_echo_n "(cached) " >&6
23411 else
23412 ac_check_lib_save_LIBS=$LIBS
23413 LIBS="-lm $LIBS"
23414 if test x$gcc_no_link = xyes; then
23415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h. */
23420 /* Override any GCC internal prototype to avoid an error.
23421 Use char because int might match the return type of a GCC
23422 builtin and then its argument prototype would still apply. */
23423 #ifdef __cplusplus
23424 extern "C"
23425 #endif
23426 char y0f ();
23428 main ()
23430 return y0f ();
23432 return 0;
23434 _ACEOF
23435 if ac_fn_c_try_link "$LINENO"; then :
23436 ac_cv_lib_m_y0f=yes
23437 else
23438 ac_cv_lib_m_y0f=no
23440 rm -f core conftest.err conftest.$ac_objext \
23441 conftest$ac_exeext conftest.$ac_ext
23442 LIBS=$ac_check_lib_save_LIBS
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23445 $as_echo "$ac_cv_lib_m_y0f" >&6; }
23446 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
23448 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23453 $as_echo_n "checking for y0 in -lm... " >&6; }
23454 if test "${ac_cv_lib_m_y0+set}" = set; then :
23455 $as_echo_n "(cached) " >&6
23456 else
23457 ac_check_lib_save_LIBS=$LIBS
23458 LIBS="-lm $LIBS"
23459 if test x$gcc_no_link = xyes; then
23460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23465 /* Override any GCC internal prototype to avoid an error.
23466 Use char because int might match the return type of a GCC
23467 builtin and then its argument prototype would still apply. */
23468 #ifdef __cplusplus
23469 extern "C"
23470 #endif
23471 char y0 ();
23473 main ()
23475 return y0 ();
23477 return 0;
23479 _ACEOF
23480 if ac_fn_c_try_link "$LINENO"; then :
23481 ac_cv_lib_m_y0=yes
23482 else
23483 ac_cv_lib_m_y0=no
23485 rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23487 LIBS=$ac_check_lib_save_LIBS
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23490 $as_echo "$ac_cv_lib_m_y0" >&6; }
23491 if test "x$ac_cv_lib_m_y0" = x""yes; then :
23493 $as_echo "#define HAVE_Y0 1" >>confdefs.h
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23498 $as_echo_n "checking for y0l in -lm... " >&6; }
23499 if test "${ac_cv_lib_m_y0l+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23501 else
23502 ac_check_lib_save_LIBS=$LIBS
23503 LIBS="-lm $LIBS"
23504 if test x$gcc_no_link = xyes; then
23505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h. */
23510 /* Override any GCC internal prototype to avoid an error.
23511 Use char because int might match the return type of a GCC
23512 builtin and then its argument prototype would still apply. */
23513 #ifdef __cplusplus
23514 extern "C"
23515 #endif
23516 char y0l ();
23518 main ()
23520 return y0l ();
23522 return 0;
23524 _ACEOF
23525 if ac_fn_c_try_link "$LINENO"; then :
23526 ac_cv_lib_m_y0l=yes
23527 else
23528 ac_cv_lib_m_y0l=no
23530 rm -f core conftest.err conftest.$ac_objext \
23531 conftest$ac_exeext conftest.$ac_ext
23532 LIBS=$ac_check_lib_save_LIBS
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23535 $as_echo "$ac_cv_lib_m_y0l" >&6; }
23536 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
23538 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23543 $as_echo_n "checking for y1f in -lm... " >&6; }
23544 if test "${ac_cv_lib_m_y1f+set}" = set; then :
23545 $as_echo_n "(cached) " >&6
23546 else
23547 ac_check_lib_save_LIBS=$LIBS
23548 LIBS="-lm $LIBS"
23549 if test x$gcc_no_link = xyes; then
23550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23553 /* end confdefs.h. */
23555 /* Override any GCC internal prototype to avoid an error.
23556 Use char because int might match the return type of a GCC
23557 builtin and then its argument prototype would still apply. */
23558 #ifdef __cplusplus
23559 extern "C"
23560 #endif
23561 char y1f ();
23563 main ()
23565 return y1f ();
23567 return 0;
23569 _ACEOF
23570 if ac_fn_c_try_link "$LINENO"; then :
23571 ac_cv_lib_m_y1f=yes
23572 else
23573 ac_cv_lib_m_y1f=no
23575 rm -f core conftest.err conftest.$ac_objext \
23576 conftest$ac_exeext conftest.$ac_ext
23577 LIBS=$ac_check_lib_save_LIBS
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23580 $as_echo "$ac_cv_lib_m_y1f" >&6; }
23581 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
23583 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23588 $as_echo_n "checking for y1 in -lm... " >&6; }
23589 if test "${ac_cv_lib_m_y1+set}" = set; then :
23590 $as_echo_n "(cached) " >&6
23591 else
23592 ac_check_lib_save_LIBS=$LIBS
23593 LIBS="-lm $LIBS"
23594 if test x$gcc_no_link = xyes; then
23595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23600 /* Override any GCC internal prototype to avoid an error.
23601 Use char because int might match the return type of a GCC
23602 builtin and then its argument prototype would still apply. */
23603 #ifdef __cplusplus
23604 extern "C"
23605 #endif
23606 char y1 ();
23608 main ()
23610 return y1 ();
23612 return 0;
23614 _ACEOF
23615 if ac_fn_c_try_link "$LINENO"; then :
23616 ac_cv_lib_m_y1=yes
23617 else
23618 ac_cv_lib_m_y1=no
23620 rm -f core conftest.err conftest.$ac_objext \
23621 conftest$ac_exeext conftest.$ac_ext
23622 LIBS=$ac_check_lib_save_LIBS
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23625 $as_echo "$ac_cv_lib_m_y1" >&6; }
23626 if test "x$ac_cv_lib_m_y1" = x""yes; then :
23628 $as_echo "#define HAVE_Y1 1" >>confdefs.h
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23633 $as_echo_n "checking for y1l in -lm... " >&6; }
23634 if test "${ac_cv_lib_m_y1l+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23637 ac_check_lib_save_LIBS=$LIBS
23638 LIBS="-lm $LIBS"
23639 if test x$gcc_no_link = xyes; then
23640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23645 /* Override any GCC internal prototype to avoid an error.
23646 Use char because int might match the return type of a GCC
23647 builtin and then its argument prototype would still apply. */
23648 #ifdef __cplusplus
23649 extern "C"
23650 #endif
23651 char y1l ();
23653 main ()
23655 return y1l ();
23657 return 0;
23659 _ACEOF
23660 if ac_fn_c_try_link "$LINENO"; then :
23661 ac_cv_lib_m_y1l=yes
23662 else
23663 ac_cv_lib_m_y1l=no
23665 rm -f core conftest.err conftest.$ac_objext \
23666 conftest$ac_exeext conftest.$ac_ext
23667 LIBS=$ac_check_lib_save_LIBS
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23670 $as_echo "$ac_cv_lib_m_y1l" >&6; }
23671 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
23673 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23678 $as_echo_n "checking for ynf in -lm... " >&6; }
23679 if test "${ac_cv_lib_m_ynf+set}" = set; then :
23680 $as_echo_n "(cached) " >&6
23681 else
23682 ac_check_lib_save_LIBS=$LIBS
23683 LIBS="-lm $LIBS"
23684 if test x$gcc_no_link = xyes; then
23685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h. */
23690 /* Override any GCC internal prototype to avoid an error.
23691 Use char because int might match the return type of a GCC
23692 builtin and then its argument prototype would still apply. */
23693 #ifdef __cplusplus
23694 extern "C"
23695 #endif
23696 char ynf ();
23698 main ()
23700 return ynf ();
23702 return 0;
23704 _ACEOF
23705 if ac_fn_c_try_link "$LINENO"; then :
23706 ac_cv_lib_m_ynf=yes
23707 else
23708 ac_cv_lib_m_ynf=no
23710 rm -f core conftest.err conftest.$ac_objext \
23711 conftest$ac_exeext conftest.$ac_ext
23712 LIBS=$ac_check_lib_save_LIBS
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23715 $as_echo "$ac_cv_lib_m_ynf" >&6; }
23716 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
23718 $as_echo "#define HAVE_YNF 1" >>confdefs.h
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23723 $as_echo_n "checking for yn in -lm... " >&6; }
23724 if test "${ac_cv_lib_m_yn+set}" = set; then :
23725 $as_echo_n "(cached) " >&6
23726 else
23727 ac_check_lib_save_LIBS=$LIBS
23728 LIBS="-lm $LIBS"
23729 if test x$gcc_no_link = xyes; then
23730 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23733 /* end confdefs.h. */
23735 /* Override any GCC internal prototype to avoid an error.
23736 Use char because int might match the return type of a GCC
23737 builtin and then its argument prototype would still apply. */
23738 #ifdef __cplusplus
23739 extern "C"
23740 #endif
23741 char yn ();
23743 main ()
23745 return yn ();
23747 return 0;
23749 _ACEOF
23750 if ac_fn_c_try_link "$LINENO"; then :
23751 ac_cv_lib_m_yn=yes
23752 else
23753 ac_cv_lib_m_yn=no
23755 rm -f core conftest.err conftest.$ac_objext \
23756 conftest$ac_exeext conftest.$ac_ext
23757 LIBS=$ac_check_lib_save_LIBS
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23760 $as_echo "$ac_cv_lib_m_yn" >&6; }
23761 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23763 $as_echo "#define HAVE_YN 1" >>confdefs.h
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23768 $as_echo_n "checking for ynl in -lm... " >&6; }
23769 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23771 else
23772 ac_check_lib_save_LIBS=$LIBS
23773 LIBS="-lm $LIBS"
23774 if test x$gcc_no_link = xyes; then
23775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h. */
23780 /* Override any GCC internal prototype to avoid an error.
23781 Use char because int might match the return type of a GCC
23782 builtin and then its argument prototype would still apply. */
23783 #ifdef __cplusplus
23784 extern "C"
23785 #endif
23786 char ynl ();
23788 main ()
23790 return ynl ();
23792 return 0;
23794 _ACEOF
23795 if ac_fn_c_try_link "$LINENO"; then :
23796 ac_cv_lib_m_ynl=yes
23797 else
23798 ac_cv_lib_m_ynl=no
23800 rm -f core conftest.err conftest.$ac_objext \
23801 conftest$ac_exeext conftest.$ac_ext
23802 LIBS=$ac_check_lib_save_LIBS
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23805 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23806 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23808 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23813 $as_echo_n "checking for tgamma in -lm... " >&6; }
23814 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23815 $as_echo_n "(cached) " >&6
23816 else
23817 ac_check_lib_save_LIBS=$LIBS
23818 LIBS="-lm $LIBS"
23819 if test x$gcc_no_link = xyes; then
23820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23823 /* end confdefs.h. */
23825 /* Override any GCC internal prototype to avoid an error.
23826 Use char because int might match the return type of a GCC
23827 builtin and then its argument prototype would still apply. */
23828 #ifdef __cplusplus
23829 extern "C"
23830 #endif
23831 char tgamma ();
23833 main ()
23835 return tgamma ();
23837 return 0;
23839 _ACEOF
23840 if ac_fn_c_try_link "$LINENO"; then :
23841 ac_cv_lib_m_tgamma=yes
23842 else
23843 ac_cv_lib_m_tgamma=no
23845 rm -f core conftest.err conftest.$ac_objext \
23846 conftest$ac_exeext conftest.$ac_ext
23847 LIBS=$ac_check_lib_save_LIBS
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23850 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23851 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23853 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23858 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23859 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23860 $as_echo_n "(cached) " >&6
23861 else
23862 ac_check_lib_save_LIBS=$LIBS
23863 LIBS="-lm $LIBS"
23864 if test x$gcc_no_link = xyes; then
23865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23870 /* Override any GCC internal prototype to avoid an error.
23871 Use char because int might match the return type of a GCC
23872 builtin and then its argument prototype would still apply. */
23873 #ifdef __cplusplus
23874 extern "C"
23875 #endif
23876 char tgammaf ();
23878 main ()
23880 return tgammaf ();
23882 return 0;
23884 _ACEOF
23885 if ac_fn_c_try_link "$LINENO"; then :
23886 ac_cv_lib_m_tgammaf=yes
23887 else
23888 ac_cv_lib_m_tgammaf=no
23890 rm -f core conftest.err conftest.$ac_objext \
23891 conftest$ac_exeext conftest.$ac_ext
23892 LIBS=$ac_check_lib_save_LIBS
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23895 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23896 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23898 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23903 $as_echo_n "checking for tgammal in -lm... " >&6; }
23904 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23907 ac_check_lib_save_LIBS=$LIBS
23908 LIBS="-lm $LIBS"
23909 if test x$gcc_no_link = xyes; then
23910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23913 /* end confdefs.h. */
23915 /* Override any GCC internal prototype to avoid an error.
23916 Use char because int might match the return type of a GCC
23917 builtin and then its argument prototype would still apply. */
23918 #ifdef __cplusplus
23919 extern "C"
23920 #endif
23921 char tgammal ();
23923 main ()
23925 return tgammal ();
23927 return 0;
23929 _ACEOF
23930 if ac_fn_c_try_link "$LINENO"; then :
23931 ac_cv_lib_m_tgammal=yes
23932 else
23933 ac_cv_lib_m_tgammal=no
23935 rm -f core conftest.err conftest.$ac_objext \
23936 conftest$ac_exeext conftest.$ac_ext
23937 LIBS=$ac_check_lib_save_LIBS
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23940 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23941 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23943 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23948 $as_echo_n "checking for lgamma in -lm... " >&6; }
23949 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23950 $as_echo_n "(cached) " >&6
23951 else
23952 ac_check_lib_save_LIBS=$LIBS
23953 LIBS="-lm $LIBS"
23954 if test x$gcc_no_link = xyes; then
23955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23958 /* end confdefs.h. */
23960 /* Override any GCC internal prototype to avoid an error.
23961 Use char because int might match the return type of a GCC
23962 builtin and then its argument prototype would still apply. */
23963 #ifdef __cplusplus
23964 extern "C"
23965 #endif
23966 char lgamma ();
23968 main ()
23970 return lgamma ();
23972 return 0;
23974 _ACEOF
23975 if ac_fn_c_try_link "$LINENO"; then :
23976 ac_cv_lib_m_lgamma=yes
23977 else
23978 ac_cv_lib_m_lgamma=no
23980 rm -f core conftest.err conftest.$ac_objext \
23981 conftest$ac_exeext conftest.$ac_ext
23982 LIBS=$ac_check_lib_save_LIBS
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23985 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23986 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23988 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23993 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23994 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23995 $as_echo_n "(cached) " >&6
23996 else
23997 ac_check_lib_save_LIBS=$LIBS
23998 LIBS="-lm $LIBS"
23999 if test x$gcc_no_link = xyes; then
24000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24005 /* Override any GCC internal prototype to avoid an error.
24006 Use char because int might match the return type of a GCC
24007 builtin and then its argument prototype would still apply. */
24008 #ifdef __cplusplus
24009 extern "C"
24010 #endif
24011 char lgammaf ();
24013 main ()
24015 return lgammaf ();
24017 return 0;
24019 _ACEOF
24020 if ac_fn_c_try_link "$LINENO"; then :
24021 ac_cv_lib_m_lgammaf=yes
24022 else
24023 ac_cv_lib_m_lgammaf=no
24025 rm -f core conftest.err conftest.$ac_objext \
24026 conftest$ac_exeext conftest.$ac_ext
24027 LIBS=$ac_check_lib_save_LIBS
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
24030 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
24031 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
24033 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
24038 $as_echo_n "checking for lgammal in -lm... " >&6; }
24039 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
24040 $as_echo_n "(cached) " >&6
24041 else
24042 ac_check_lib_save_LIBS=$LIBS
24043 LIBS="-lm $LIBS"
24044 if test x$gcc_no_link = xyes; then
24045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h. */
24050 /* Override any GCC internal prototype to avoid an error.
24051 Use char because int might match the return type of a GCC
24052 builtin and then its argument prototype would still apply. */
24053 #ifdef __cplusplus
24054 extern "C"
24055 #endif
24056 char lgammal ();
24058 main ()
24060 return lgammal ();
24062 return 0;
24064 _ACEOF
24065 if ac_fn_c_try_link "$LINENO"; then :
24066 ac_cv_lib_m_lgammal=yes
24067 else
24068 ac_cv_lib_m_lgammal=no
24070 rm -f core conftest.err conftest.$ac_objext \
24071 conftest$ac_exeext conftest.$ac_ext
24072 LIBS=$ac_check_lib_save_LIBS
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
24075 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
24076 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
24078 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
24083 # Check for GFORTRAN_C99_1.1 funcs
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
24085 $as_echo_n "checking for cacos in -lm... " >&6; }
24086 if test "${ac_cv_lib_m_cacos+set}" = set; then :
24087 $as_echo_n "(cached) " >&6
24088 else
24089 ac_check_lib_save_LIBS=$LIBS
24090 LIBS="-lm $LIBS"
24091 if test x$gcc_no_link = xyes; then
24092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24097 /* Override any GCC internal prototype to avoid an error.
24098 Use char because int might match the return type of a GCC
24099 builtin and then its argument prototype would still apply. */
24100 #ifdef __cplusplus
24101 extern "C"
24102 #endif
24103 char cacos ();
24105 main ()
24107 return cacos ();
24109 return 0;
24111 _ACEOF
24112 if ac_fn_c_try_link "$LINENO"; then :
24113 ac_cv_lib_m_cacos=yes
24114 else
24115 ac_cv_lib_m_cacos=no
24117 rm -f core conftest.err conftest.$ac_objext \
24118 conftest$ac_exeext conftest.$ac_ext
24119 LIBS=$ac_check_lib_save_LIBS
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24122 $as_echo "$ac_cv_lib_m_cacos" >&6; }
24123 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
24125 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24130 $as_echo_n "checking for cacosf in -lm... " >&6; }
24131 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24132 $as_echo_n "(cached) " >&6
24133 else
24134 ac_check_lib_save_LIBS=$LIBS
24135 LIBS="-lm $LIBS"
24136 if test x$gcc_no_link = xyes; then
24137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h. */
24142 /* Override any GCC internal prototype to avoid an error.
24143 Use char because int might match the return type of a GCC
24144 builtin and then its argument prototype would still apply. */
24145 #ifdef __cplusplus
24146 extern "C"
24147 #endif
24148 char cacosf ();
24150 main ()
24152 return cacosf ();
24154 return 0;
24156 _ACEOF
24157 if ac_fn_c_try_link "$LINENO"; then :
24158 ac_cv_lib_m_cacosf=yes
24159 else
24160 ac_cv_lib_m_cacosf=no
24162 rm -f core conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24164 LIBS=$ac_check_lib_save_LIBS
24166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24167 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
24168 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
24170 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24175 $as_echo_n "checking for cacosh in -lm... " >&6; }
24176 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24177 $as_echo_n "(cached) " >&6
24178 else
24179 ac_check_lib_save_LIBS=$LIBS
24180 LIBS="-lm $LIBS"
24181 if test x$gcc_no_link = xyes; then
24182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h. */
24187 /* Override any GCC internal prototype to avoid an error.
24188 Use char because int might match the return type of a GCC
24189 builtin and then its argument prototype would still apply. */
24190 #ifdef __cplusplus
24191 extern "C"
24192 #endif
24193 char cacosh ();
24195 main ()
24197 return cacosh ();
24199 return 0;
24201 _ACEOF
24202 if ac_fn_c_try_link "$LINENO"; then :
24203 ac_cv_lib_m_cacosh=yes
24204 else
24205 ac_cv_lib_m_cacosh=no
24207 rm -f core conftest.err conftest.$ac_objext \
24208 conftest$ac_exeext conftest.$ac_ext
24209 LIBS=$ac_check_lib_save_LIBS
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24212 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
24213 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
24215 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24220 $as_echo_n "checking for cacoshf in -lm... " >&6; }
24221 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24222 $as_echo_n "(cached) " >&6
24223 else
24224 ac_check_lib_save_LIBS=$LIBS
24225 LIBS="-lm $LIBS"
24226 if test x$gcc_no_link = xyes; then
24227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24232 /* Override any GCC internal prototype to avoid an error.
24233 Use char because int might match the return type of a GCC
24234 builtin and then its argument prototype would still apply. */
24235 #ifdef __cplusplus
24236 extern "C"
24237 #endif
24238 char cacoshf ();
24240 main ()
24242 return cacoshf ();
24244 return 0;
24246 _ACEOF
24247 if ac_fn_c_try_link "$LINENO"; then :
24248 ac_cv_lib_m_cacoshf=yes
24249 else
24250 ac_cv_lib_m_cacoshf=no
24252 rm -f core conftest.err conftest.$ac_objext \
24253 conftest$ac_exeext conftest.$ac_ext
24254 LIBS=$ac_check_lib_save_LIBS
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24257 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24258 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
24260 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24265 $as_echo_n "checking for cacoshl in -lm... " >&6; }
24266 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24269 ac_check_lib_save_LIBS=$LIBS
24270 LIBS="-lm $LIBS"
24271 if test x$gcc_no_link = xyes; then
24272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24275 /* end confdefs.h. */
24277 /* Override any GCC internal prototype to avoid an error.
24278 Use char because int might match the return type of a GCC
24279 builtin and then its argument prototype would still apply. */
24280 #ifdef __cplusplus
24281 extern "C"
24282 #endif
24283 char cacoshl ();
24285 main ()
24287 return cacoshl ();
24289 return 0;
24291 _ACEOF
24292 if ac_fn_c_try_link "$LINENO"; then :
24293 ac_cv_lib_m_cacoshl=yes
24294 else
24295 ac_cv_lib_m_cacoshl=no
24297 rm -f core conftest.err conftest.$ac_objext \
24298 conftest$ac_exeext conftest.$ac_ext
24299 LIBS=$ac_check_lib_save_LIBS
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24302 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24303 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
24305 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24310 $as_echo_n "checking for cacosl in -lm... " >&6; }
24311 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24312 $as_echo_n "(cached) " >&6
24313 else
24314 ac_check_lib_save_LIBS=$LIBS
24315 LIBS="-lm $LIBS"
24316 if test x$gcc_no_link = xyes; then
24317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24322 /* Override any GCC internal prototype to avoid an error.
24323 Use char because int might match the return type of a GCC
24324 builtin and then its argument prototype would still apply. */
24325 #ifdef __cplusplus
24326 extern "C"
24327 #endif
24328 char cacosl ();
24330 main ()
24332 return cacosl ();
24334 return 0;
24336 _ACEOF
24337 if ac_fn_c_try_link "$LINENO"; then :
24338 ac_cv_lib_m_cacosl=yes
24339 else
24340 ac_cv_lib_m_cacosl=no
24342 rm -f core conftest.err conftest.$ac_objext \
24343 conftest$ac_exeext conftest.$ac_ext
24344 LIBS=$ac_check_lib_save_LIBS
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24347 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
24348 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
24350 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24355 $as_echo_n "checking for casin in -lm... " >&6; }
24356 if test "${ac_cv_lib_m_casin+set}" = set; then :
24357 $as_echo_n "(cached) " >&6
24358 else
24359 ac_check_lib_save_LIBS=$LIBS
24360 LIBS="-lm $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
24368 Use char because int might match the return type of a GCC
24369 builtin and then its argument prototype would still apply. */
24370 #ifdef __cplusplus
24371 extern "C"
24372 #endif
24373 char casin ();
24375 main ()
24377 return casin ();
24379 return 0;
24381 _ACEOF
24382 if ac_fn_c_try_link "$LINENO"; then :
24383 ac_cv_lib_m_casin=yes
24384 else
24385 ac_cv_lib_m_casin=no
24387 rm -f core conftest.err conftest.$ac_objext \
24388 conftest$ac_exeext conftest.$ac_ext
24389 LIBS=$ac_check_lib_save_LIBS
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24392 $as_echo "$ac_cv_lib_m_casin" >&6; }
24393 if test "x$ac_cv_lib_m_casin" = x""yes; then :
24395 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24400 $as_echo_n "checking for casinf in -lm... " >&6; }
24401 if test "${ac_cv_lib_m_casinf+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24403 else
24404 ac_check_lib_save_LIBS=$LIBS
24405 LIBS="-lm $LIBS"
24406 if test x$gcc_no_link = xyes; then
24407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24410 /* end confdefs.h. */
24412 /* Override any GCC internal prototype to avoid an error.
24413 Use char because int might match the return type of a GCC
24414 builtin and then its argument prototype would still apply. */
24415 #ifdef __cplusplus
24416 extern "C"
24417 #endif
24418 char casinf ();
24420 main ()
24422 return casinf ();
24424 return 0;
24426 _ACEOF
24427 if ac_fn_c_try_link "$LINENO"; then :
24428 ac_cv_lib_m_casinf=yes
24429 else
24430 ac_cv_lib_m_casinf=no
24432 rm -f core conftest.err conftest.$ac_objext \
24433 conftest$ac_exeext conftest.$ac_ext
24434 LIBS=$ac_check_lib_save_LIBS
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24437 $as_echo "$ac_cv_lib_m_casinf" >&6; }
24438 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
24440 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24445 $as_echo_n "checking for casinh in -lm... " >&6; }
24446 if test "${ac_cv_lib_m_casinh+set}" = set; then :
24447 $as_echo_n "(cached) " >&6
24448 else
24449 ac_check_lib_save_LIBS=$LIBS
24450 LIBS="-lm $LIBS"
24451 if test x$gcc_no_link = xyes; then
24452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24455 /* end confdefs.h. */
24457 /* Override any GCC internal prototype to avoid an error.
24458 Use char because int might match the return type of a GCC
24459 builtin and then its argument prototype would still apply. */
24460 #ifdef __cplusplus
24461 extern "C"
24462 #endif
24463 char casinh ();
24465 main ()
24467 return casinh ();
24469 return 0;
24471 _ACEOF
24472 if ac_fn_c_try_link "$LINENO"; then :
24473 ac_cv_lib_m_casinh=yes
24474 else
24475 ac_cv_lib_m_casinh=no
24477 rm -f core conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24479 LIBS=$ac_check_lib_save_LIBS
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24482 $as_echo "$ac_cv_lib_m_casinh" >&6; }
24483 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
24485 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24490 $as_echo_n "checking for casinhf in -lm... " >&6; }
24491 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24492 $as_echo_n "(cached) " >&6
24493 else
24494 ac_check_lib_save_LIBS=$LIBS
24495 LIBS="-lm $LIBS"
24496 if test x$gcc_no_link = xyes; then
24497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24500 /* end confdefs.h. */
24502 /* Override any GCC internal prototype to avoid an error.
24503 Use char because int might match the return type of a GCC
24504 builtin and then its argument prototype would still apply. */
24505 #ifdef __cplusplus
24506 extern "C"
24507 #endif
24508 char casinhf ();
24510 main ()
24512 return casinhf ();
24514 return 0;
24516 _ACEOF
24517 if ac_fn_c_try_link "$LINENO"; then :
24518 ac_cv_lib_m_casinhf=yes
24519 else
24520 ac_cv_lib_m_casinhf=no
24522 rm -f core conftest.err conftest.$ac_objext \
24523 conftest$ac_exeext conftest.$ac_ext
24524 LIBS=$ac_check_lib_save_LIBS
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24527 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
24528 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
24530 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24535 $as_echo_n "checking for casinhl in -lm... " >&6; }
24536 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24537 $as_echo_n "(cached) " >&6
24538 else
24539 ac_check_lib_save_LIBS=$LIBS
24540 LIBS="-lm $LIBS"
24541 if test x$gcc_no_link = xyes; then
24542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24545 /* end confdefs.h. */
24547 /* Override any GCC internal prototype to avoid an error.
24548 Use char because int might match the return type of a GCC
24549 builtin and then its argument prototype would still apply. */
24550 #ifdef __cplusplus
24551 extern "C"
24552 #endif
24553 char casinhl ();
24555 main ()
24557 return casinhl ();
24559 return 0;
24561 _ACEOF
24562 if ac_fn_c_try_link "$LINENO"; then :
24563 ac_cv_lib_m_casinhl=yes
24564 else
24565 ac_cv_lib_m_casinhl=no
24567 rm -f core conftest.err conftest.$ac_objext \
24568 conftest$ac_exeext conftest.$ac_ext
24569 LIBS=$ac_check_lib_save_LIBS
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24572 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
24573 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
24575 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24580 $as_echo_n "checking for casinl in -lm... " >&6; }
24581 if test "${ac_cv_lib_m_casinl+set}" = set; then :
24582 $as_echo_n "(cached) " >&6
24583 else
24584 ac_check_lib_save_LIBS=$LIBS
24585 LIBS="-lm $LIBS"
24586 if test x$gcc_no_link = xyes; then
24587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h. */
24592 /* Override any GCC internal prototype to avoid an error.
24593 Use char because int might match the return type of a GCC
24594 builtin and then its argument prototype would still apply. */
24595 #ifdef __cplusplus
24596 extern "C"
24597 #endif
24598 char casinl ();
24600 main ()
24602 return casinl ();
24604 return 0;
24606 _ACEOF
24607 if ac_fn_c_try_link "$LINENO"; then :
24608 ac_cv_lib_m_casinl=yes
24609 else
24610 ac_cv_lib_m_casinl=no
24612 rm -f core conftest.err conftest.$ac_objext \
24613 conftest$ac_exeext conftest.$ac_ext
24614 LIBS=$ac_check_lib_save_LIBS
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24617 $as_echo "$ac_cv_lib_m_casinl" >&6; }
24618 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
24620 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24625 $as_echo_n "checking for catan in -lm... " >&6; }
24626 if test "${ac_cv_lib_m_catan+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24628 else
24629 ac_check_lib_save_LIBS=$LIBS
24630 LIBS="-lm $LIBS"
24631 if test x$gcc_no_link = xyes; then
24632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24635 /* end confdefs.h. */
24637 /* Override any GCC internal prototype to avoid an error.
24638 Use char because int might match the return type of a GCC
24639 builtin and then its argument prototype would still apply. */
24640 #ifdef __cplusplus
24641 extern "C"
24642 #endif
24643 char catan ();
24645 main ()
24647 return catan ();
24649 return 0;
24651 _ACEOF
24652 if ac_fn_c_try_link "$LINENO"; then :
24653 ac_cv_lib_m_catan=yes
24654 else
24655 ac_cv_lib_m_catan=no
24657 rm -f core conftest.err conftest.$ac_objext \
24658 conftest$ac_exeext conftest.$ac_ext
24659 LIBS=$ac_check_lib_save_LIBS
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24662 $as_echo "$ac_cv_lib_m_catan" >&6; }
24663 if test "x$ac_cv_lib_m_catan" = x""yes; then :
24665 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24670 $as_echo_n "checking for catanf in -lm... " >&6; }
24671 if test "${ac_cv_lib_m_catanf+set}" = set; then :
24672 $as_echo_n "(cached) " >&6
24673 else
24674 ac_check_lib_save_LIBS=$LIBS
24675 LIBS="-lm $LIBS"
24676 if test x$gcc_no_link = xyes; then
24677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h. */
24682 /* Override any GCC internal prototype to avoid an error.
24683 Use char because int might match the return type of a GCC
24684 builtin and then its argument prototype would still apply. */
24685 #ifdef __cplusplus
24686 extern "C"
24687 #endif
24688 char catanf ();
24690 main ()
24692 return catanf ();
24694 return 0;
24696 _ACEOF
24697 if ac_fn_c_try_link "$LINENO"; then :
24698 ac_cv_lib_m_catanf=yes
24699 else
24700 ac_cv_lib_m_catanf=no
24702 rm -f core conftest.err conftest.$ac_objext \
24703 conftest$ac_exeext conftest.$ac_ext
24704 LIBS=$ac_check_lib_save_LIBS
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24707 $as_echo "$ac_cv_lib_m_catanf" >&6; }
24708 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
24710 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24715 $as_echo_n "checking for catanh in -lm... " >&6; }
24716 if test "${ac_cv_lib_m_catanh+set}" = set; then :
24717 $as_echo_n "(cached) " >&6
24718 else
24719 ac_check_lib_save_LIBS=$LIBS
24720 LIBS="-lm $LIBS"
24721 if test x$gcc_no_link = xyes; then
24722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24725 /* end confdefs.h. */
24727 /* Override any GCC internal prototype to avoid an error.
24728 Use char because int might match the return type of a GCC
24729 builtin and then its argument prototype would still apply. */
24730 #ifdef __cplusplus
24731 extern "C"
24732 #endif
24733 char catanh ();
24735 main ()
24737 return catanh ();
24739 return 0;
24741 _ACEOF
24742 if ac_fn_c_try_link "$LINENO"; then :
24743 ac_cv_lib_m_catanh=yes
24744 else
24745 ac_cv_lib_m_catanh=no
24747 rm -f core conftest.err conftest.$ac_objext \
24748 conftest$ac_exeext conftest.$ac_ext
24749 LIBS=$ac_check_lib_save_LIBS
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24752 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24753 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24755 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24760 $as_echo_n "checking for catanhf in -lm... " >&6; }
24761 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24762 $as_echo_n "(cached) " >&6
24763 else
24764 ac_check_lib_save_LIBS=$LIBS
24765 LIBS="-lm $LIBS"
24766 if test x$gcc_no_link = xyes; then
24767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24770 /* end confdefs.h. */
24772 /* Override any GCC internal prototype to avoid an error.
24773 Use char because int might match the return type of a GCC
24774 builtin and then its argument prototype would still apply. */
24775 #ifdef __cplusplus
24776 extern "C"
24777 #endif
24778 char catanhf ();
24780 main ()
24782 return catanhf ();
24784 return 0;
24786 _ACEOF
24787 if ac_fn_c_try_link "$LINENO"; then :
24788 ac_cv_lib_m_catanhf=yes
24789 else
24790 ac_cv_lib_m_catanhf=no
24792 rm -f core conftest.err conftest.$ac_objext \
24793 conftest$ac_exeext conftest.$ac_ext
24794 LIBS=$ac_check_lib_save_LIBS
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24797 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24798 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24800 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24805 $as_echo_n "checking for catanhl in -lm... " >&6; }
24806 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24807 $as_echo_n "(cached) " >&6
24808 else
24809 ac_check_lib_save_LIBS=$LIBS
24810 LIBS="-lm $LIBS"
24811 if test x$gcc_no_link = xyes; then
24812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24815 /* end confdefs.h. */
24817 /* Override any GCC internal prototype to avoid an error.
24818 Use char because int might match the return type of a GCC
24819 builtin and then its argument prototype would still apply. */
24820 #ifdef __cplusplus
24821 extern "C"
24822 #endif
24823 char catanhl ();
24825 main ()
24827 return catanhl ();
24829 return 0;
24831 _ACEOF
24832 if ac_fn_c_try_link "$LINENO"; then :
24833 ac_cv_lib_m_catanhl=yes
24834 else
24835 ac_cv_lib_m_catanhl=no
24837 rm -f core conftest.err conftest.$ac_objext \
24838 conftest$ac_exeext conftest.$ac_ext
24839 LIBS=$ac_check_lib_save_LIBS
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24842 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24843 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24845 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24850 $as_echo_n "checking for catanl in -lm... " >&6; }
24851 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24852 $as_echo_n "(cached) " >&6
24853 else
24854 ac_check_lib_save_LIBS=$LIBS
24855 LIBS="-lm $LIBS"
24856 if test x$gcc_no_link = xyes; then
24857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24860 /* end confdefs.h. */
24862 /* Override any GCC internal prototype to avoid an error.
24863 Use char because int might match the return type of a GCC
24864 builtin and then its argument prototype would still apply. */
24865 #ifdef __cplusplus
24866 extern "C"
24867 #endif
24868 char catanl ();
24870 main ()
24872 return catanl ();
24874 return 0;
24876 _ACEOF
24877 if ac_fn_c_try_link "$LINENO"; then :
24878 ac_cv_lib_m_catanl=yes
24879 else
24880 ac_cv_lib_m_catanl=no
24882 rm -f core conftest.err conftest.$ac_objext \
24883 conftest$ac_exeext conftest.$ac_ext
24884 LIBS=$ac_check_lib_save_LIBS
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24887 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24888 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24890 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24895 # On AIX, clog is present in libm as __clog
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24897 $as_echo_n "checking for __clog in -lm... " >&6; }
24898 if test "${ac_cv_lib_m___clog+set}" = set; then :
24899 $as_echo_n "(cached) " >&6
24900 else
24901 ac_check_lib_save_LIBS=$LIBS
24902 LIBS="-lm $LIBS"
24903 if test x$gcc_no_link = xyes; then
24904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24909 /* Override any GCC internal prototype to avoid an error.
24910 Use char because int might match the return type of a GCC
24911 builtin and then its argument prototype would still apply. */
24912 #ifdef __cplusplus
24913 extern "C"
24914 #endif
24915 char __clog ();
24917 main ()
24919 return __clog ();
24921 return 0;
24923 _ACEOF
24924 if ac_fn_c_try_link "$LINENO"; then :
24925 ac_cv_lib_m___clog=yes
24926 else
24927 ac_cv_lib_m___clog=no
24929 rm -f core conftest.err conftest.$ac_objext \
24930 conftest$ac_exeext conftest.$ac_ext
24931 LIBS=$ac_check_lib_save_LIBS
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24934 $as_echo "$ac_cv_lib_m___clog" >&6; }
24935 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24937 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24942 # Check whether the system has a working stat()
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24945 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24946 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24950 if test "$cross_compiling" = yes; then :
24952 case "${target}" in
24953 *mingw*) libgfor_cv_have_working_stat=no ;;
24954 *) libgfor_cv_have_working_stat=yes;;
24955 esac
24956 else
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24960 #include <stdio.h>
24961 #include <sys/types.h>
24962 #include <sys/stat.h>
24963 #include <unistd.h>
24965 int main ()
24967 FILE *f, *g;
24968 struct stat st1, st2;
24970 f = fopen ("foo", "w");
24971 g = fopen ("bar", "w");
24972 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24973 return 1;
24974 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24975 return 1;
24976 fclose(f);
24977 fclose(g);
24978 return 0;
24980 _ACEOF
24981 if ac_fn_c_try_run "$LINENO"; then :
24982 libgfor_cv_have_working_stat=yes
24983 else
24984 libgfor_cv_have_working_stat=no
24986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24987 conftest.$ac_objext conftest.beam conftest.$ac_ext
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24992 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24993 if test x"$libgfor_cv_have_working_stat" = xyes; then
24995 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24999 # Check whether __mingw_snprintf() is present
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25002 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25003 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25004 $as_echo_n "(cached) " >&6
25005 else
25007 if test x$gcc_no_link = xyes; then
25008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25013 #include <stdio.h>
25014 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25017 main ()
25020 __mingw_snprintf (NULL, 0, "%d\n", 1);
25023 return 0;
25025 _ACEOF
25026 if ac_fn_c_try_link "$LINENO"; then :
25027 eval "libgfor_cv_have_mingw_snprintf=yes"
25028 else
25029 eval "libgfor_cv_have_mingw_snprintf=no"
25031 rm -f core conftest.err conftest.$ac_objext \
25032 conftest$ac_exeext conftest.$ac_ext
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25036 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25037 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25039 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25044 # Check for a broken powf implementation
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
25047 $as_echo_n "checking whether powf is broken... " >&6; }
25048 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
25049 $as_echo_n "(cached) " >&6
25050 else
25052 case "${target}" in
25053 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
25054 *) libgfor_cv_have_broken_powf=no;;
25055 esac
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
25058 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
25059 if test x"$libgfor_cv_have_broken_powf" = xyes; then
25061 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
25066 # Check whether libquadmath should be used
25067 # Check whether --enable-libquadmath-support was given.
25068 if test "${enable_libquadmath_support+set}" = set; then :
25069 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25070 else
25071 ENABLE_LIBQUADMATH_SUPPORT=yes
25074 enable_libquadmath_support=
25075 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25076 enable_libquadmath_support=no
25079 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25081 LIBQUADSPEC=
25083 if test "x$enable_libquadmath_support" != xno; then
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25086 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25087 if test "${libgfor_cv_have_float128+set}" = set; then :
25088 $as_echo_n "(cached) " >&6
25089 else
25091 if test x$gcc_no_link = xyes; then
25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25095 typedef _Complex float __attribute__((mode(TC))) __complex128;
25097 __float128 foo (__float128 x)
25100 __complex128 z1, z2;
25102 z1 = x;
25103 z2 = x / 7.Q;
25104 z2 /= z1;
25106 return (__float128) z2;
25109 __float128 bar (__float128 x)
25111 return x * __builtin_huge_valq ();
25115 main ()
25118 foo (1.2Q);
25119 bar (1.2Q);
25122 return 0;
25124 _ACEOF
25125 if ac_fn_c_try_compile "$LINENO"; then :
25127 libgfor_cv_have_float128=yes
25129 else
25131 libgfor_cv_have_float128=no
25134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25135 else
25136 if test x$gcc_no_link = xyes; then
25137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25142 typedef _Complex float __attribute__((mode(TC))) __complex128;
25144 __float128 foo (__float128 x)
25147 __complex128 z1, z2;
25149 z1 = x;
25150 z2 = x / 7.Q;
25151 z2 /= z1;
25153 return (__float128) z2;
25156 __float128 bar (__float128 x)
25158 return x * __builtin_huge_valq ();
25162 main ()
25165 foo (1.2Q);
25166 bar (1.2Q);
25169 return 0;
25171 _ACEOF
25172 if ac_fn_c_try_link "$LINENO"; then :
25174 libgfor_cv_have_float128=yes
25176 else
25178 libgfor_cv_have_float128=no
25181 rm -f core conftest.err conftest.$ac_objext \
25182 conftest$ac_exeext conftest.$ac_ext
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25186 $as_echo "$libgfor_cv_have_float128" >&6; }
25188 if test "x$libgfor_cv_have_float128" = xyes; then
25190 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25193 ac_xsave_c_werror_flag=$ac_c_werror_flag
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25195 $as_echo_n "checking whether --as-needed works... " >&6; }
25196 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25200 save_LDFLAGS="$LDFLAGS"
25201 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25202 libgfor_cv_have_as_needed=no
25204 ac_c_werror_flag=yes
25205 if test x$gcc_no_link = xyes; then
25206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h. */
25212 main ()
25216 return 0;
25218 _ACEOF
25219 if ac_fn_c_try_link "$LINENO"; then :
25220 libgfor_cv_have_as_needed=yes
25221 else
25222 libgfor_cv_have_as_needed=no
25224 rm -f core conftest.err conftest.$ac_objext \
25225 conftest$ac_exeext conftest.$ac_ext
25226 LDFLAGS="$save_LDFLAGS"
25227 ac_c_werror_flag=$ac_xsave_c_werror_flag
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25231 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25233 if test "x$libgfor_cv_have_as_needed" = xyes; then
25234 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25235 else
25236 LIBQUADSPEC="-lquadmath"
25238 if test -f ../libquadmath/libquadmath.la; then
25239 LIBQUADLIB=../libquadmath/libquadmath.la
25240 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25241 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25242 else
25243 LIBQUADLIB="-lquadmath"
25244 LIBQUADLIB_DEP=
25245 LIBQUADINCLUDE=
25248 else
25249 # for --disable-quadmath
25250 LIBQUADLIB=
25251 LIBQUADLIB_DEP=
25252 LIBQUADINCLUDE=
25260 if test "x$libgfor_cv_have_float128" = xyes; then
25261 LIBGFOR_BUILD_QUAD_TRUE=
25262 LIBGFOR_BUILD_QUAD_FALSE='#'
25263 else
25264 LIBGFOR_BUILD_QUAD_TRUE='#'
25265 LIBGFOR_BUILD_QUAD_FALSE=
25270 # Check for GNU libc feenableexcept
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25272 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25273 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25274 $as_echo_n "(cached) " >&6
25275 else
25276 ac_check_lib_save_LIBS=$LIBS
25277 LIBS="-lm $LIBS"
25278 if test x$gcc_no_link = xyes; then
25279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25284 /* Override any GCC internal prototype to avoid an error.
25285 Use char because int might match the return type of a GCC
25286 builtin and then its argument prototype would still apply. */
25287 #ifdef __cplusplus
25288 extern "C"
25289 #endif
25290 char feenableexcept ();
25292 main ()
25294 return feenableexcept ();
25296 return 0;
25298 _ACEOF
25299 if ac_fn_c_try_link "$LINENO"; then :
25300 ac_cv_lib_m_feenableexcept=yes
25301 else
25302 ac_cv_lib_m_feenableexcept=no
25304 rm -f core conftest.err conftest.$ac_objext \
25305 conftest$ac_exeext conftest.$ac_ext
25306 LIBS=$ac_check_lib_save_LIBS
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25309 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25310 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25311 have_feenableexcept=yes
25312 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25317 # At least for glibc, clock_gettime is in librt. But don't pull that
25318 # in if it still doesn't give us the function we want.
25319 # This test is copied from libgomp, and modified to not link in -lrt
25320 # as libgfortran calls clock_gettime via a weak reference.
25321 if test $ac_cv_func_clock_gettime = no; then
25322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25323 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25324 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25325 $as_echo_n "(cached) " >&6
25326 else
25327 ac_check_lib_save_LIBS=$LIBS
25328 LIBS="-lrt $LIBS"
25329 if test x$gcc_no_link = xyes; then
25330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25335 /* Override any GCC internal prototype to avoid an error.
25336 Use char because int might match the return type of a GCC
25337 builtin and then its argument prototype would still apply. */
25338 #ifdef __cplusplus
25339 extern "C"
25340 #endif
25341 char clock_gettime ();
25343 main ()
25345 return clock_gettime ();
25347 return 0;
25349 _ACEOF
25350 if ac_fn_c_try_link "$LINENO"; then :
25351 ac_cv_lib_rt_clock_gettime=yes
25352 else
25353 ac_cv_lib_rt_clock_gettime=no
25355 rm -f core conftest.err conftest.$ac_objext \
25356 conftest$ac_exeext conftest.$ac_ext
25357 LIBS=$ac_check_lib_save_LIBS
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25360 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25361 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25363 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
25369 # Check for SysV fpsetmask
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25372 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25373 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25374 $as_echo_n "(cached) " >&6
25375 else
25377 if test x$gcc_no_link = xyes; then
25378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25381 /* end confdefs.h. */
25383 #if HAVE_FLOATINGPOINT_H
25384 # include <floatingpoint.h>
25385 #endif /* HAVE_FLOATINGPOINT_H */
25386 #if HAVE_IEEEFP_H
25387 # include <ieeefp.h>
25388 #endif /* HAVE_IEEEFP_H */
25390 main ()
25392 fpsetmask(0);
25394 return 0;
25396 _ACEOF
25397 if ac_fn_c_try_link "$LINENO"; then :
25398 eval "libgfor_cv_have_fpsetmask=yes"
25399 else
25400 eval "libgfor_cv_have_fpsetmask=no"
25402 rm -f core conftest.err conftest.$ac_objext \
25403 conftest$ac_exeext conftest.$ac_ext
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25407 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25408 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25409 have_fpsetmask=yes
25411 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25416 # Check for AIX fp_trap and fp_enable
25417 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25418 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25419 have_fp_trap=yes
25420 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25424 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25425 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25426 have_fp_enable=yes
25427 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25432 # Runs configure.host to set up necessary host-dependent shell variables.
25433 # We then display a message about it, and propagate them through the
25434 # build chain.
25435 . ${srcdir}/configure.host
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25437 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25438 FPU_HOST_HEADER=config/${fpu_host}.h
25441 # Some targets require additional compiler options for IEEE compatibility.
25442 IEEE_FLAGS="${ieee_flags}"
25446 # Check for POSIX getpwuid_r
25448 # There are two versions of getpwuid_r, the POSIX one with 5
25449 # arguments, and another one with 4 arguments used by at least HP-UX
25450 # 10.2.
25451 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25453 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25454 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25455 $as_echo_n "(cached) " >&6
25456 else
25458 if test x$gcc_no_link = xyes; then
25459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h. */
25464 #include <stdio.h>
25465 #include <sys/types.h>
25466 #include <pwd.h>
25468 main ()
25471 getpwuid_r(0, NULL, NULL, 0, NULL);
25474 return 0;
25476 _ACEOF
25477 if ac_fn_c_try_link "$LINENO"; then :
25478 libgfor_cv_posix_getpwuid_r="yes"
25479 else
25480 libgfor_cv_posix_getpwuid_r="no"
25482 rm -f core conftest.err conftest.$ac_objext \
25483 conftest$ac_exeext conftest.$ac_ext
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25486 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25488 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25490 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25495 # Check out attribute support.
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25498 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25499 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25500 $as_echo_n "(cached) " >&6
25501 else
25503 save_CFLAGS="$CFLAGS"
25504 CFLAGS="$CFLAGS -Werror"
25505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25506 /* end confdefs.h. */
25507 void __attribute__((visibility("hidden"))) foo(void) { }
25509 main ()
25513 return 0;
25515 _ACEOF
25516 if ac_fn_c_try_compile "$LINENO"; then :
25517 libgfor_cv_have_attribute_visibility=yes
25518 else
25519 libgfor_cv_have_attribute_visibility=no
25521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25522 CFLAGS="$save_CFLAGS"
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25525 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25526 if test $libgfor_cv_have_attribute_visibility = yes; then
25528 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25533 $as_echo_n "checking whether the target supports dllexport... " >&6; }
25534 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25535 $as_echo_n "(cached) " >&6
25536 else
25538 save_CFLAGS="$CFLAGS"
25539 CFLAGS="$CFLAGS -Werror"
25540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h. */
25542 void __attribute__((dllexport)) foo(void) { }
25544 main ()
25548 return 0;
25550 _ACEOF
25551 if ac_fn_c_try_compile "$LINENO"; then :
25552 libgfor_cv_have_attribute_dllexport=yes
25553 else
25554 libgfor_cv_have_attribute_dllexport=no
25556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557 CFLAGS="$save_CFLAGS"
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25560 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25561 if test $libgfor_cv_have_attribute_dllexport = yes; then
25563 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25568 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25569 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25570 $as_echo_n "(cached) " >&6
25571 else
25573 if test x$gcc_no_link = xyes; then
25574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25579 void foo(void) { }
25580 extern void bar(void) __attribute__((alias("foo")));
25582 main ()
25584 bar();
25586 return 0;
25588 _ACEOF
25589 if ac_fn_c_try_link "$LINENO"; then :
25590 libgfor_cv_have_attribute_alias=yes
25591 else
25592 libgfor_cv_have_attribute_alias=no
25594 rm -f core conftest.err conftest.$ac_objext \
25595 conftest$ac_exeext conftest.$ac_ext
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25598 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25599 if test $libgfor_cv_have_attribute_alias = yes; then
25601 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25605 # Check out sync builtins support.
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25608 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25609 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25610 $as_echo_n "(cached) " >&6
25611 else
25613 if test x$gcc_no_link = xyes; then
25614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25617 /* end confdefs.h. */
25618 int foovar = 0;
25620 main ()
25623 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25624 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25626 return 0;
25628 _ACEOF
25629 if ac_fn_c_try_link "$LINENO"; then :
25630 libgfor_cv_have_sync_fetch_and_add=yes
25631 else
25632 libgfor_cv_have_sync_fetch_and_add=no
25634 rm -f core conftest.err conftest.$ac_objext \
25635 conftest$ac_exeext conftest.$ac_ext
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25638 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25639 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25641 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25645 # Check out thread support.
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
25648 $as_echo_n "checking configured target thread model... " >&6; }
25649 if test "${libgfor_cv_target_thread_file+set}" = set; then :
25650 $as_echo_n "(cached) " >&6
25651 else
25653 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
25656 $as_echo "$libgfor_cv_target_thread_file" >&6; }
25658 if test $libgfor_cv_target_thread_file != single; then
25660 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
25664 # Check out #pragma weak.
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25667 $as_echo_n "checking whether pragma weak works... " >&6; }
25668 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25669 $as_echo_n "(cached) " >&6
25670 else
25672 gfor_save_CFLAGS="$CFLAGS"
25673 CFLAGS="$CFLAGS -Wunknown-pragmas"
25674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25675 /* end confdefs.h. */
25677 void foo (void);
25678 #pragma weak foo
25681 main ()
25683 if (foo) foo ();
25685 return 0;
25687 _ACEOF
25688 if ac_fn_c_try_compile "$LINENO"; then :
25689 libgfor_cv_have_pragma_weak=yes
25690 else
25691 libgfor_cv_have_pragma_weak=no
25693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25696 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25697 if test $libgfor_cv_have_pragma_weak = yes; then
25699 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25702 case "$host" in
25703 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
25705 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25708 esac
25710 # Various other checks on target
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25713 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
25714 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25715 $as_echo_n "(cached) " >&6
25716 else
25718 if test "$cross_compiling" = yes; then :
25720 case "${target}" in
25721 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
25722 *) libgfor_cv_have_unlink_open_file=yes;;
25723 esac
25724 else
25725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25726 /* end confdefs.h. */
25728 #include <errno.h>
25729 #include <fcntl.h>
25730 #include <unistd.h>
25731 #include <sys/stat.h>
25733 int main ()
25735 int fd;
25737 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
25738 if (fd <= 0)
25739 return 0;
25740 if (unlink ("testfile") == -1)
25741 return 1;
25742 write (fd, "This is a test\n", 15);
25743 close (fd);
25745 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
25746 return 0;
25747 else
25748 return 1;
25750 _ACEOF
25751 if ac_fn_c_try_run "$LINENO"; then :
25752 libgfor_cv_have_unlink_open_file=yes
25753 else
25754 libgfor_cv_have_unlink_open_file=no
25756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25757 conftest.$ac_objext conftest.beam conftest.$ac_ext
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25762 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25763 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
25765 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25769 # Check whether line terminator is LF or CRLF
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25772 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25773 if test "${libgfor_cv_have_crlf+set}" = set; then :
25774 $as_echo_n "(cached) " >&6
25775 else
25777 if test "$cross_compiling" = yes; then :
25779 case "${target}" in
25780 *mingw*) libgfor_cv_have_crlf=yes ;;
25781 *) libgfor_cv_have_crlf=no;;
25782 esac
25783 else
25784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25785 /* end confdefs.h. */
25787 /* This test program should exit with status 0 if system uses a CRLF as
25788 line terminator, and status 1 otherwise.
25789 Since it is used to check for mingw systems, and should return 0 in any
25790 other case, in case of a failure we will not use CRLF. */
25791 #include <sys/stat.h>
25792 #include <stdlib.h>
25793 #include <fcntl.h>
25794 #include <stdio.h>
25796 int main ()
25798 #ifndef O_BINARY
25799 exit(1);
25800 #else
25801 int fd, bytes;
25802 char buff[5];
25804 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25805 if (fd < 0)
25806 exit(1);
25807 if (write (fd, "\n", 1) < 0)
25808 perror ("write");
25810 close (fd);
25812 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25813 exit(1);
25814 bytes = read (fd, buff, 5);
25815 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25816 exit(0);
25817 else
25818 exit(1);
25819 #endif
25821 _ACEOF
25822 if ac_fn_c_try_run "$LINENO"; then :
25823 libgfor_cv_have_crlf=yes
25824 else
25825 libgfor_cv_have_crlf=no
25827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25828 conftest.$ac_objext conftest.beam conftest.$ac_ext
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25833 $as_echo "$libgfor_cv_have_crlf" >&6; }
25834 if test x"$libgfor_cv_have_crlf" = xyes; then
25836 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
25840 cat >confcache <<\_ACEOF
25841 # This file is a shell script that caches the results of configure
25842 # tests run on this system so they can be shared between configure
25843 # scripts and configure runs, see configure's option --config-cache.
25844 # It is not useful on other systems. If it contains results you don't
25845 # want to keep, you may remove or edit it.
25847 # config.status only pays attention to the cache file if you give it
25848 # the --recheck option to rerun configure.
25850 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25851 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25852 # following values.
25854 _ACEOF
25856 # The following way of writing the cache mishandles newlines in values,
25857 # but we know of no workaround that is simple, portable, and efficient.
25858 # So, we kill variables containing newlines.
25859 # Ultrix sh set writes to stderr and can't be redirected directly,
25860 # and sets the high bit in the cache file unless we assign to the vars.
25862 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25863 eval ac_val=\$$ac_var
25864 case $ac_val in #(
25865 *${as_nl}*)
25866 case $ac_var in #(
25867 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25868 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25869 esac
25870 case $ac_var in #(
25871 _ | IFS | as_nl) ;; #(
25872 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25873 *) { eval $ac_var=; unset $ac_var;} ;;
25874 esac ;;
25875 esac
25876 done
25878 (set) 2>&1 |
25879 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25880 *${as_nl}ac_space=\ *)
25881 # `set' does not quote correctly, so add quotes: double-quote
25882 # substitution turns \\\\ into \\, and sed turns \\ into \.
25883 sed -n \
25884 "s/'/'\\\\''/g;
25885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25886 ;; #(
25888 # `set' quotes correctly as required by POSIX, so do not add quotes.
25889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25891 esac |
25892 sort
25894 sed '
25895 /^ac_cv_env_/b end
25896 t clear
25897 :clear
25898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25899 t end
25900 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25901 :end' >>confcache
25902 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25903 if test -w "$cache_file"; then
25904 test "x$cache_file" != "x/dev/null" &&
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25906 $as_echo "$as_me: updating cache $cache_file" >&6;}
25907 cat confcache >$cache_file
25908 else
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25910 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25913 rm -f confcache
25915 if test ${multilib} = yes; then
25916 multilib_arg="--enable-multilib"
25917 else
25918 multilib_arg=
25921 # Write our Makefile and spec file.
25922 ac_config_files="$ac_config_files Makefile libgfortran.spec"
25924 cat >confcache <<\_ACEOF
25925 # This file is a shell script that caches the results of configure
25926 # tests run on this system so they can be shared between configure
25927 # scripts and configure runs, see configure's option --config-cache.
25928 # It is not useful on other systems. If it contains results you don't
25929 # want to keep, you may remove or edit it.
25931 # config.status only pays attention to the cache file if you give it
25932 # the --recheck option to rerun configure.
25934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25936 # following values.
25938 _ACEOF
25940 # The following way of writing the cache mishandles newlines in values,
25941 # but we know of no workaround that is simple, portable, and efficient.
25942 # So, we kill variables containing newlines.
25943 # Ultrix sh set writes to stderr and can't be redirected directly,
25944 # and sets the high bit in the cache file unless we assign to the vars.
25946 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25947 eval ac_val=\$$ac_var
25948 case $ac_val in #(
25949 *${as_nl}*)
25950 case $ac_var in #(
25951 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25952 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25953 esac
25954 case $ac_var in #(
25955 _ | IFS | as_nl) ;; #(
25956 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25957 *) { eval $ac_var=; unset $ac_var;} ;;
25958 esac ;;
25959 esac
25960 done
25962 (set) 2>&1 |
25963 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25964 *${as_nl}ac_space=\ *)
25965 # `set' does not quote correctly, so add quotes: double-quote
25966 # substitution turns \\\\ into \\, and sed turns \\ into \.
25967 sed -n \
25968 "s/'/'\\\\''/g;
25969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25970 ;; #(
25972 # `set' quotes correctly as required by POSIX, so do not add quotes.
25973 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25975 esac |
25976 sort
25978 sed '
25979 /^ac_cv_env_/b end
25980 t clear
25981 :clear
25982 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25983 t end
25984 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25985 :end' >>confcache
25986 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25987 if test -w "$cache_file"; then
25988 test "x$cache_file" != "x/dev/null" &&
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25990 $as_echo "$as_me: updating cache $cache_file" >&6;}
25991 cat confcache >$cache_file
25992 else
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25994 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25997 rm -f confcache
25999 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26000 # Let make expand exec_prefix.
26001 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26003 DEFS=-DHAVE_CONFIG_H
26005 ac_libobjs=
26006 ac_ltlibobjs=
26007 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26008 # 1. Remove the extension, and $U if already installed.
26009 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26010 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26011 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26012 # will be set to the directory where LIBOBJS objects are built.
26013 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26014 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26015 done
26016 LIBOBJS=$ac_libobjs
26018 LTLIBOBJS=$ac_ltlibobjs
26021 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26022 as_fn_error "conditional \"onestep\" was never defined.
26023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26025 if test -n "$EXEEXT"; then
26026 am__EXEEXT_TRUE=
26027 am__EXEEXT_FALSE='#'
26028 else
26029 am__EXEEXT_TRUE='#'
26030 am__EXEEXT_FALSE=
26033 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26034 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26037 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26038 as_fn_error "conditional \"AMDEP\" was never defined.
26039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26041 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26042 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26045 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26046 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26049 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26050 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26053 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26054 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26057 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26058 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26061 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26062 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26066 : ${CONFIG_STATUS=./config.status}
26067 ac_write_fail=0
26068 ac_clean_files_save=$ac_clean_files
26069 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26071 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26072 as_write_fail=0
26073 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26074 #! $SHELL
26075 # Generated by $as_me.
26076 # Run this file to recreate the current configuration.
26077 # Compiler output produced by configure, useful for debugging
26078 # configure, is in config.log if it exists.
26080 debug=false
26081 ac_cs_recheck=false
26082 ac_cs_silent=false
26084 SHELL=\${CONFIG_SHELL-$SHELL}
26085 export SHELL
26086 _ASEOF
26087 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26088 ## -------------------- ##
26089 ## M4sh Initialization. ##
26090 ## -------------------- ##
26092 # Be more Bourne compatible
26093 DUALCASE=1; export DUALCASE # for MKS sh
26094 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26095 emulate sh
26096 NULLCMD=:
26097 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26098 # is contrary to our usage. Disable this feature.
26099 alias -g '${1+"$@"}'='"$@"'
26100 setopt NO_GLOB_SUBST
26101 else
26102 case `(set -o) 2>/dev/null` in #(
26103 *posix*) :
26104 set -o posix ;; #(
26105 *) :
26107 esac
26111 as_nl='
26113 export as_nl
26114 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26115 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26118 # Prefer a ksh shell builtin over an external printf program on Solaris,
26119 # but without wasting forks for bash or zsh.
26120 if test -z "$BASH_VERSION$ZSH_VERSION" \
26121 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26122 as_echo='print -r --'
26123 as_echo_n='print -rn --'
26124 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26125 as_echo='printf %s\n'
26126 as_echo_n='printf %s'
26127 else
26128 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26129 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26130 as_echo_n='/usr/ucb/echo -n'
26131 else
26132 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26133 as_echo_n_body='eval
26134 arg=$1;
26135 case $arg in #(
26136 *"$as_nl"*)
26137 expr "X$arg" : "X\\(.*\\)$as_nl";
26138 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26139 esac;
26140 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26142 export as_echo_n_body
26143 as_echo_n='sh -c $as_echo_n_body as_echo'
26145 export as_echo_body
26146 as_echo='sh -c $as_echo_body as_echo'
26149 # The user is always right.
26150 if test "${PATH_SEPARATOR+set}" != set; then
26151 PATH_SEPARATOR=:
26152 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26153 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26154 PATH_SEPARATOR=';'
26159 # IFS
26160 # We need space, tab and new line, in precisely that order. Quoting is
26161 # there to prevent editors from complaining about space-tab.
26162 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26163 # splitting by setting IFS to empty value.)
26164 IFS=" "" $as_nl"
26166 # Find who we are. Look in the path if we contain no directory separator.
26167 case $0 in #((
26168 *[\\/]* ) as_myself=$0 ;;
26169 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26170 for as_dir in $PATH
26172 IFS=$as_save_IFS
26173 test -z "$as_dir" && as_dir=.
26174 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26175 done
26176 IFS=$as_save_IFS
26179 esac
26180 # We did not find ourselves, most probably we were run as `sh COMMAND'
26181 # in which case we are not to be found in the path.
26182 if test "x$as_myself" = x; then
26183 as_myself=$0
26185 if test ! -f "$as_myself"; then
26186 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26187 exit 1
26190 # Unset variables that we do not need and which cause bugs (e.g. in
26191 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26192 # suppresses any "Segmentation fault" message there. '((' could
26193 # trigger a bug in pdksh 5.2.14.
26194 for as_var in BASH_ENV ENV MAIL MAILPATH
26195 do eval test x\${$as_var+set} = xset \
26196 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26197 done
26198 PS1='$ '
26199 PS2='> '
26200 PS4='+ '
26202 # NLS nuisances.
26203 LC_ALL=C
26204 export LC_ALL
26205 LANGUAGE=C
26206 export LANGUAGE
26208 # CDPATH.
26209 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26212 # as_fn_error ERROR [LINENO LOG_FD]
26213 # ---------------------------------
26214 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26215 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26216 # script with status $?, using 1 if that was 0.
26217 as_fn_error ()
26219 as_status=$?; test $as_status -eq 0 && as_status=1
26220 if test "$3"; then
26221 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26222 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26224 $as_echo "$as_me: error: $1" >&2
26225 as_fn_exit $as_status
26226 } # as_fn_error
26229 # as_fn_set_status STATUS
26230 # -----------------------
26231 # Set $? to STATUS, without forking.
26232 as_fn_set_status ()
26234 return $1
26235 } # as_fn_set_status
26237 # as_fn_exit STATUS
26238 # -----------------
26239 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26240 as_fn_exit ()
26242 set +e
26243 as_fn_set_status $1
26244 exit $1
26245 } # as_fn_exit
26247 # as_fn_unset VAR
26248 # ---------------
26249 # Portably unset VAR.
26250 as_fn_unset ()
26252 { eval $1=; unset $1;}
26254 as_unset=as_fn_unset
26255 # as_fn_append VAR VALUE
26256 # ----------------------
26257 # Append the text in VALUE to the end of the definition contained in VAR. Take
26258 # advantage of any shell optimizations that allow amortized linear growth over
26259 # repeated appends, instead of the typical quadratic growth present in naive
26260 # implementations.
26261 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26262 eval 'as_fn_append ()
26264 eval $1+=\$2
26266 else
26267 as_fn_append ()
26269 eval $1=\$$1\$2
26271 fi # as_fn_append
26273 # as_fn_arith ARG...
26274 # ------------------
26275 # Perform arithmetic evaluation on the ARGs, and store the result in the
26276 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26277 # must be portable across $(()) and expr.
26278 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26279 eval 'as_fn_arith ()
26281 as_val=$(( $* ))
26283 else
26284 as_fn_arith ()
26286 as_val=`expr "$@" || test $? -eq 1`
26288 fi # as_fn_arith
26291 if expr a : '\(a\)' >/dev/null 2>&1 &&
26292 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26293 as_expr=expr
26294 else
26295 as_expr=false
26298 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26299 as_basename=basename
26300 else
26301 as_basename=false
26304 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26305 as_dirname=dirname
26306 else
26307 as_dirname=false
26310 as_me=`$as_basename -- "$0" ||
26311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26312 X"$0" : 'X\(//\)$' \| \
26313 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26314 $as_echo X/"$0" |
26315 sed '/^.*\/\([^/][^/]*\)\/*$/{
26316 s//\1/
26319 /^X\/\(\/\/\)$/{
26320 s//\1/
26323 /^X\/\(\/\).*/{
26324 s//\1/
26327 s/.*/./; q'`
26329 # Avoid depending upon Character Ranges.
26330 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26331 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26332 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26333 as_cr_digits='0123456789'
26334 as_cr_alnum=$as_cr_Letters$as_cr_digits
26336 ECHO_C= ECHO_N= ECHO_T=
26337 case `echo -n x` in #(((((
26338 -n*)
26339 case `echo 'xy\c'` in
26340 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26341 xy) ECHO_C='\c';;
26342 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26343 ECHO_T=' ';;
26344 esac;;
26346 ECHO_N='-n';;
26347 esac
26349 rm -f conf$$ conf$$.exe conf$$.file
26350 if test -d conf$$.dir; then
26351 rm -f conf$$.dir/conf$$.file
26352 else
26353 rm -f conf$$.dir
26354 mkdir conf$$.dir 2>/dev/null
26356 if (echo >conf$$.file) 2>/dev/null; then
26357 if ln -s conf$$.file conf$$ 2>/dev/null; then
26358 as_ln_s='ln -s'
26359 # ... but there are two gotchas:
26360 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26361 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26362 # In both cases, we have to default to `cp -p'.
26363 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26364 as_ln_s='cp -p'
26365 elif ln conf$$.file conf$$ 2>/dev/null; then
26366 as_ln_s=ln
26367 else
26368 as_ln_s='cp -p'
26370 else
26371 as_ln_s='cp -p'
26373 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26374 rmdir conf$$.dir 2>/dev/null
26377 # as_fn_mkdir_p
26378 # -------------
26379 # Create "$as_dir" as a directory, including parents if necessary.
26380 as_fn_mkdir_p ()
26383 case $as_dir in #(
26384 -*) as_dir=./$as_dir;;
26385 esac
26386 test -d "$as_dir" || eval $as_mkdir_p || {
26387 as_dirs=
26388 while :; do
26389 case $as_dir in #(
26390 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26391 *) as_qdir=$as_dir;;
26392 esac
26393 as_dirs="'$as_qdir' $as_dirs"
26394 as_dir=`$as_dirname -- "$as_dir" ||
26395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26396 X"$as_dir" : 'X\(//\)[^/]' \| \
26397 X"$as_dir" : 'X\(//\)$' \| \
26398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26399 $as_echo X"$as_dir" |
26400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26401 s//\1/
26404 /^X\(\/\/\)[^/].*/{
26405 s//\1/
26408 /^X\(\/\/\)$/{
26409 s//\1/
26412 /^X\(\/\).*/{
26413 s//\1/
26416 s/.*/./; q'`
26417 test -d "$as_dir" && break
26418 done
26419 test -z "$as_dirs" || eval "mkdir $as_dirs"
26420 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26423 } # as_fn_mkdir_p
26424 if mkdir -p . 2>/dev/null; then
26425 as_mkdir_p='mkdir -p "$as_dir"'
26426 else
26427 test -d ./-p && rmdir ./-p
26428 as_mkdir_p=false
26431 if test -x / >/dev/null 2>&1; then
26432 as_test_x='test -x'
26433 else
26434 if ls -dL / >/dev/null 2>&1; then
26435 as_ls_L_option=L
26436 else
26437 as_ls_L_option=
26439 as_test_x='
26440 eval sh -c '\''
26441 if test -d "$1"; then
26442 test -d "$1/.";
26443 else
26444 case $1 in #(
26445 -*)set "./$1";;
26446 esac;
26447 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26448 ???[sx]*):;;*)false;;esac;fi
26449 '\'' sh
26452 as_executable_p=$as_test_x
26454 # Sed expression to map a string onto a valid CPP name.
26455 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26457 # Sed expression to map a string onto a valid variable name.
26458 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26461 exec 6>&1
26462 ## ----------------------------------- ##
26463 ## Main body of $CONFIG_STATUS script. ##
26464 ## ----------------------------------- ##
26465 _ASEOF
26466 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26469 # Save the log message, to keep $0 and so on meaningful, and to
26470 # report actual input values of CONFIG_FILES etc. instead of their
26471 # values after options handling.
26472 ac_log="
26473 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26474 generated by GNU Autoconf 2.64. Invocation command line was
26476 CONFIG_FILES = $CONFIG_FILES
26477 CONFIG_HEADERS = $CONFIG_HEADERS
26478 CONFIG_LINKS = $CONFIG_LINKS
26479 CONFIG_COMMANDS = $CONFIG_COMMANDS
26480 $ $0 $@
26482 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26485 _ACEOF
26487 case $ac_config_files in *"
26488 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26489 esac
26491 case $ac_config_headers in *"
26492 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26493 esac
26496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26497 # Files that config.status was made for.
26498 config_files="$ac_config_files"
26499 config_headers="$ac_config_headers"
26500 config_commands="$ac_config_commands"
26502 _ACEOF
26504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26505 ac_cs_usage="\
26506 \`$as_me' instantiates files and other configuration actions
26507 from templates according to the current configuration. Unless the files
26508 and actions are specified as TAGs, all are instantiated by default.
26510 Usage: $0 [OPTION]... [TAG]...
26512 -h, --help print this help, then exit
26513 -V, --version print version number and configuration settings, then exit
26514 -q, --quiet, --silent
26515 do not print progress messages
26516 -d, --debug don't remove temporary files
26517 --recheck update $as_me by reconfiguring in the same conditions
26518 --file=FILE[:TEMPLATE]
26519 instantiate the configuration file FILE
26520 --header=FILE[:TEMPLATE]
26521 instantiate the configuration header FILE
26523 Configuration files:
26524 $config_files
26526 Configuration headers:
26527 $config_headers
26529 Configuration commands:
26530 $config_commands
26532 Report bugs to the package provider.
26533 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26534 General help using GNU software: <http://www.gnu.org/gethelp/>."
26536 _ACEOF
26537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26538 ac_cs_version="\\
26539 GNU Fortran Runtime Library config.status 0.3
26540 configured by $0, generated by GNU Autoconf 2.64,
26541 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26543 Copyright (C) 2009 Free Software Foundation, Inc.
26544 This config.status script is free software; the Free Software Foundation
26545 gives unlimited permission to copy, distribute and modify it."
26547 ac_pwd='$ac_pwd'
26548 srcdir='$srcdir'
26549 INSTALL='$INSTALL'
26550 MKDIR_P='$MKDIR_P'
26551 AWK='$AWK'
26552 test -n "\$AWK" || AWK=awk
26553 _ACEOF
26555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26556 # The default lists apply if the user does not specify any file.
26557 ac_need_defaults=:
26558 while test $# != 0
26560 case $1 in
26561 --*=*)
26562 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26563 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26564 ac_shift=:
26567 ac_option=$1
26568 ac_optarg=$2
26569 ac_shift=shift
26571 esac
26573 case $ac_option in
26574 # Handling of the options.
26575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26576 ac_cs_recheck=: ;;
26577 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26578 $as_echo "$ac_cs_version"; exit ;;
26579 --debug | --debu | --deb | --de | --d | -d )
26580 debug=: ;;
26581 --file | --fil | --fi | --f )
26582 $ac_shift
26583 case $ac_optarg in
26584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26585 esac
26586 as_fn_append CONFIG_FILES " '$ac_optarg'"
26587 ac_need_defaults=false;;
26588 --header | --heade | --head | --hea )
26589 $ac_shift
26590 case $ac_optarg in
26591 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26592 esac
26593 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26594 ac_need_defaults=false;;
26595 --he | --h)
26596 # Conflict between --help and --header
26597 as_fn_error "ambiguous option: \`$1'
26598 Try \`$0 --help' for more information.";;
26599 --help | --hel | -h )
26600 $as_echo "$ac_cs_usage"; exit ;;
26601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26602 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26603 ac_cs_silent=: ;;
26605 # This is an error.
26606 -*) as_fn_error "unrecognized option: \`$1'
26607 Try \`$0 --help' for more information." ;;
26609 *) as_fn_append ac_config_targets " $1"
26610 ac_need_defaults=false ;;
26612 esac
26613 shift
26614 done
26616 ac_configure_extra_args=
26618 if $ac_cs_silent; then
26619 exec 6>/dev/null
26620 ac_configure_extra_args="$ac_configure_extra_args --silent"
26623 _ACEOF
26624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26625 if \$ac_cs_recheck; then
26626 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26627 shift
26628 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26629 CONFIG_SHELL='$SHELL'
26630 export CONFIG_SHELL
26631 exec "\$@"
26634 _ACEOF
26635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26636 exec 5>>config.log
26638 echo
26639 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26640 ## Running $as_me. ##
26641 _ASBOX
26642 $as_echo "$ac_log"
26643 } >&5
26645 _ACEOF
26646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26648 # INIT-COMMANDS
26651 srcdir="$srcdir"
26652 host="$host"
26653 target="$target"
26654 with_multisubdir="$with_multisubdir"
26655 with_multisrctop="$with_multisrctop"
26656 with_target_subdir="$with_target_subdir"
26657 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26658 multi_basedir="$multi_basedir"
26659 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26660 CC="$CC"
26661 CXX="$CXX"
26662 GFORTRAN="$GFORTRAN"
26663 GCJ="$GCJ"
26664 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26667 # The HP-UX ksh and POSIX shell print the target directory to stdout
26668 # if CDPATH is set.
26669 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26671 sed_quote_subst='$sed_quote_subst'
26672 double_quote_subst='$double_quote_subst'
26673 delay_variable_subst='$delay_variable_subst'
26674 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26675 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26676 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26677 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26678 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26679 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26680 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26681 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26682 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26683 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26684 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26685 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26686 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26687 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26688 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26689 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26690 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26691 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26692 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26693 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26694 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26695 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26696 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26697 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26698 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26699 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26700 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26701 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26702 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26703 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26704 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26705 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26706 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26707 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26708 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26709 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26710 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26711 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26712 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26713 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26714 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26715 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26716 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26717 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26718 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26719 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26720 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26721 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26722 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"`'
26723 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26724 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26725 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26726 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26727 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26728 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26729 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26730 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26731 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26732 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26733 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26734 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26735 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26736 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26737 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26738 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26739 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26740 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26741 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26742 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26743 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26744 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26745 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26746 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26747 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26748 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26749 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26750 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26751 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26752 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26753 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26754 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26755 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26756 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26757 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26758 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26759 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26760 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26761 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26762 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26763 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26764 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26765 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26766 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26767 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26768 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26769 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26770 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26771 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26772 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26773 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26774 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26775 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26776 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26777 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26778 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26779 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26780 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26781 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26782 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26783 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26784 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26785 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26786 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26787 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26788 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26789 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26790 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26791 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26792 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26793 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26794 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26795 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26796 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26797 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26798 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26799 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26800 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26801 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26802 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26803 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26804 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26805 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26806 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26807 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26808 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26809 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26810 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26811 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26812 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26813 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26814 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26815 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26816 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26817 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26818 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26819 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26820 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26821 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26822 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26823 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26824 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26825 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26826 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26827 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26828 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26829 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26830 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26831 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26832 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26833 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26834 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26835 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26836 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26837 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26838 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26839 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26840 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26841 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26842 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26843 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26844 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26845 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26846 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26847 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26848 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26850 LTCC='$LTCC'
26851 LTCFLAGS='$LTCFLAGS'
26852 compiler='$compiler_DEFAULT'
26854 # A function that is used when there is no print builtin or printf.
26855 func_fallback_echo ()
26857 eval 'cat <<_LTECHO_EOF
26859 _LTECHO_EOF'
26862 # Quote evaled strings.
26863 for var in SHELL \
26864 ECHO \
26865 SED \
26866 GREP \
26867 EGREP \
26868 FGREP \
26869 LD \
26870 NM \
26871 LN_S \
26872 lt_SP2NL \
26873 lt_NL2SP \
26874 reload_flag \
26875 OBJDUMP \
26876 deplibs_check_method \
26877 file_magic_cmd \
26878 AR \
26879 AR_FLAGS \
26880 STRIP \
26881 RANLIB \
26882 CC \
26883 CFLAGS \
26884 compiler \
26885 lt_cv_sys_global_symbol_pipe \
26886 lt_cv_sys_global_symbol_to_cdecl \
26887 lt_cv_sys_global_symbol_to_c_name_address \
26888 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26889 lt_prog_compiler_no_builtin_flag \
26890 lt_prog_compiler_wl \
26891 lt_prog_compiler_pic \
26892 lt_prog_compiler_static \
26893 lt_cv_prog_compiler_c_o \
26894 need_locks \
26895 DSYMUTIL \
26896 NMEDIT \
26897 LIPO \
26898 OTOOL \
26899 OTOOL64 \
26900 shrext_cmds \
26901 export_dynamic_flag_spec \
26902 whole_archive_flag_spec \
26903 compiler_needs_object \
26904 with_gnu_ld \
26905 allow_undefined_flag \
26906 no_undefined_flag \
26907 hardcode_libdir_flag_spec \
26908 hardcode_libdir_flag_spec_ld \
26909 hardcode_libdir_separator \
26910 fix_srcfile_path \
26911 exclude_expsyms \
26912 include_expsyms \
26913 file_list_spec \
26914 variables_saved_for_relink \
26915 libname_spec \
26916 library_names_spec \
26917 soname_spec \
26918 install_override_mode \
26919 finish_eval \
26920 old_striplib \
26921 striplib \
26922 compiler_lib_search_dirs \
26923 predep_objects \
26924 postdep_objects \
26925 predeps \
26926 postdeps \
26927 compiler_lib_search_path \
26928 LD_FC \
26929 reload_flag_FC \
26930 compiler_FC \
26931 lt_prog_compiler_no_builtin_flag_FC \
26932 lt_prog_compiler_wl_FC \
26933 lt_prog_compiler_pic_FC \
26934 lt_prog_compiler_static_FC \
26935 lt_cv_prog_compiler_c_o_FC \
26936 export_dynamic_flag_spec_FC \
26937 whole_archive_flag_spec_FC \
26938 compiler_needs_object_FC \
26939 with_gnu_ld_FC \
26940 allow_undefined_flag_FC \
26941 no_undefined_flag_FC \
26942 hardcode_libdir_flag_spec_FC \
26943 hardcode_libdir_flag_spec_ld_FC \
26944 hardcode_libdir_separator_FC \
26945 fix_srcfile_path_FC \
26946 exclude_expsyms_FC \
26947 include_expsyms_FC \
26948 file_list_spec_FC \
26949 compiler_lib_search_dirs_FC \
26950 predep_objects_FC \
26951 postdep_objects_FC \
26952 predeps_FC \
26953 postdeps_FC \
26954 compiler_lib_search_path_FC; do
26955 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26956 *[\\\\\\\`\\"\\\$]*)
26957 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26960 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26962 esac
26963 done
26965 # Double-quote double-evaled strings.
26966 for var in reload_cmds \
26967 old_postinstall_cmds \
26968 old_postuninstall_cmds \
26969 old_archive_cmds \
26970 extract_expsyms_cmds \
26971 old_archive_from_new_cmds \
26972 old_archive_from_expsyms_cmds \
26973 archive_cmds \
26974 archive_expsym_cmds \
26975 module_cmds \
26976 module_expsym_cmds \
26977 export_symbols_cmds \
26978 prelink_cmds \
26979 postinstall_cmds \
26980 postuninstall_cmds \
26981 finish_cmds \
26982 sys_lib_search_path_spec \
26983 sys_lib_dlsearch_path_spec \
26984 reload_cmds_FC \
26985 old_archive_cmds_FC \
26986 old_archive_from_new_cmds_FC \
26987 old_archive_from_expsyms_cmds_FC \
26988 archive_cmds_FC \
26989 archive_expsym_cmds_FC \
26990 module_cmds_FC \
26991 module_expsym_cmds_FC \
26992 export_symbols_cmds_FC \
26993 prelink_cmds_FC; do
26994 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26995 *[\\\\\\\`\\"\\\$]*)
26996 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26999 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27001 esac
27002 done
27004 ac_aux_dir='$ac_aux_dir'
27005 xsi_shell='$xsi_shell'
27006 lt_shell_append='$lt_shell_append'
27008 # See if we are running on zsh, and set the options which allow our
27009 # commands through without removal of \ escapes INIT.
27010 if test -n "\${ZSH_VERSION+set}" ; then
27011 setopt NO_GLOB_SUBST
27015 PACKAGE='$PACKAGE'
27016 VERSION='$VERSION'
27017 TIMESTAMP='$TIMESTAMP'
27018 RM='$RM'
27019 ofile='$ofile'
27026 GCC="$GCC"
27027 CC="$CC"
27028 acx_cv_header_stdint="$acx_cv_header_stdint"
27029 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27030 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27031 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27032 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27033 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27034 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27035 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27036 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27037 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27038 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27039 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27040 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27041 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27044 _ACEOF
27046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27048 # Handling of arguments.
27049 for ac_config_target in $ac_config_targets
27051 case $ac_config_target in
27052 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27053 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27054 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27055 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27056 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27057 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27058 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27060 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27061 esac
27062 done
27065 # If the user did not use the arguments to specify the items to instantiate,
27066 # then the envvar interface is used. Set only those that are not.
27067 # We use the long form for the default assignment because of an extremely
27068 # bizarre bug on SunOS 4.1.3.
27069 if $ac_need_defaults; then
27070 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27071 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27072 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27075 # Have a temporary directory for convenience. Make it in the build tree
27076 # simply because there is no reason against having it here, and in addition,
27077 # creating and moving files from /tmp can sometimes cause problems.
27078 # Hook for its removal unless debugging.
27079 # Note that there is a small window in which the directory will not be cleaned:
27080 # after its creation but before its name has been assigned to `$tmp'.
27081 $debug ||
27083 tmp=
27084 trap 'exit_status=$?
27085 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27087 trap 'as_fn_exit 1' 1 2 13 15
27089 # Create a (secure) tmp directory for tmp files.
27092 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27093 test -n "$tmp" && test -d "$tmp"
27094 } ||
27096 tmp=./conf$$-$RANDOM
27097 (umask 077 && mkdir "$tmp")
27098 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27100 # Set up the scripts for CONFIG_FILES section.
27101 # No need to generate them if there are no CONFIG_FILES.
27102 # This happens for instance with `./config.status config.h'.
27103 if test -n "$CONFIG_FILES"; then
27106 ac_cr=`echo X | tr X '\015'`
27107 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27108 # But we know of no other shell where ac_cr would be empty at this
27109 # point, so we can use a bashism as a fallback.
27110 if test "x$ac_cr" = x; then
27111 eval ac_cr=\$\'\\r\'
27113 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27114 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27115 ac_cs_awk_cr='\r'
27116 else
27117 ac_cs_awk_cr=$ac_cr
27120 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27121 _ACEOF
27125 echo "cat >conf$$subs.awk <<_ACEOF" &&
27126 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27127 echo "_ACEOF"
27128 } >conf$$subs.sh ||
27129 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27130 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27131 ac_delim='%!_!# '
27132 for ac_last_try in false false false false false :; do
27133 . ./conf$$subs.sh ||
27134 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27136 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27137 if test $ac_delim_n = $ac_delim_num; then
27138 break
27139 elif $ac_last_try; then
27140 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27141 else
27142 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27144 done
27145 rm -f conf$$subs.sh
27147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27148 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27149 _ACEOF
27150 sed -n '
27152 s/^/S["/; s/!.*/"]=/
27155 s/^[^!]*!//
27156 :repl
27157 t repl
27158 s/'"$ac_delim"'$//
27159 t delim
27162 s/\(.\{148\}\).*/\1/
27163 t more1
27164 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27167 b repl
27168 :more1
27169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27172 s/.\{148\}//
27173 t nl
27174 :delim
27176 s/\(.\{148\}\).*/\1/
27177 t more2
27178 s/["\\]/\\&/g; s/^/"/; s/$/"/
27181 :more2
27182 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27185 s/.\{148\}//
27186 t delim
27187 ' <conf$$subs.awk | sed '
27188 /^[^""]/{
27190 s/\n//
27192 ' >>$CONFIG_STATUS || ac_write_fail=1
27193 rm -f conf$$subs.awk
27194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27195 _ACAWK
27196 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27197 for (key in S) S_is_set[key] = 1
27198 FS = "\a"
27202 line = $ 0
27203 nfields = split(line, field, "@")
27204 substed = 0
27205 len = length(field[1])
27206 for (i = 2; i < nfields; i++) {
27207 key = field[i]
27208 keylen = length(key)
27209 if (S_is_set[key]) {
27210 value = S[key]
27211 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27212 len += length(value) + length(field[++i])
27213 substed = 1
27214 } else
27215 len += 1 + keylen
27218 print line
27221 _ACAWK
27222 _ACEOF
27223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27224 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27225 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27226 else
27228 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27229 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27230 _ACEOF
27232 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27233 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27234 # trailing colons and then remove the whole line if VPATH becomes empty
27235 # (actually we leave an empty line to preserve line numbers).
27236 if test "x$srcdir" = x.; then
27237 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27238 s/:*\$(srcdir):*/:/
27239 s/:*\${srcdir}:*/:/
27240 s/:*@srcdir@:*/:/
27241 s/^\([^=]*=[ ]*\):*/\1/
27242 s/:*$//
27243 s/^[^=]*=[ ]*$//
27247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27248 fi # test -n "$CONFIG_FILES"
27250 # Set up the scripts for CONFIG_HEADERS section.
27251 # No need to generate them if there are no CONFIG_HEADERS.
27252 # This happens for instance with `./config.status Makefile'.
27253 if test -n "$CONFIG_HEADERS"; then
27254 cat >"$tmp/defines.awk" <<\_ACAWK ||
27255 BEGIN {
27256 _ACEOF
27258 # Transform confdefs.h into an awk script `defines.awk', embedded as
27259 # here-document in config.status, that substitutes the proper values into
27260 # config.h.in to produce config.h.
27262 # Create a delimiter string that does not exist in confdefs.h, to ease
27263 # handling of long lines.
27264 ac_delim='%!_!# '
27265 for ac_last_try in false false :; do
27266 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27267 if test -z "$ac_t"; then
27268 break
27269 elif $ac_last_try; then
27270 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27271 else
27272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27274 done
27276 # For the awk script, D is an array of macro values keyed by name,
27277 # likewise P contains macro parameters if any. Preserve backslash
27278 # newline sequences.
27280 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27281 sed -n '
27282 s/.\{148\}/&'"$ac_delim"'/g
27283 t rset
27284 :rset
27285 s/^[ ]*#[ ]*define[ ][ ]*/ /
27286 t def
27288 :def
27289 s/\\$//
27290 t bsnl
27291 s/["\\]/\\&/g
27292 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27293 D["\1"]=" \3"/p
27294 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27296 :bsnl
27297 s/["\\]/\\&/g
27298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27299 D["\1"]=" \3\\\\\\n"\\/p
27300 t cont
27301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27302 t cont
27304 :cont
27306 s/.\{148\}/&'"$ac_delim"'/g
27307 t clear
27308 :clear
27309 s/\\$//
27310 t bsnlc
27311 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27313 :bsnlc
27314 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27315 b cont
27316 ' <confdefs.h | sed '
27317 s/'"$ac_delim"'/"\\\
27318 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27321 for (key in D) D_is_set[key] = 1
27322 FS = "\a"
27324 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27325 line = \$ 0
27326 split(line, arg, " ")
27327 if (arg[1] == "#") {
27328 defundef = arg[2]
27329 mac1 = arg[3]
27330 } else {
27331 defundef = substr(arg[1], 2)
27332 mac1 = arg[2]
27334 split(mac1, mac2, "(") #)
27335 macro = mac2[1]
27336 prefix = substr(line, 1, index(line, defundef) - 1)
27337 if (D_is_set[macro]) {
27338 # Preserve the white space surrounding the "#".
27339 print prefix "define", macro P[macro] D[macro]
27340 next
27341 } else {
27342 # Replace #undef with comments. This is necessary, for example,
27343 # in the case of _POSIX_SOURCE, which is predefined and required
27344 # on some systems where configure will not decide to define it.
27345 if (defundef == "undef") {
27346 print "/*", prefix defundef, macro, "*/"
27347 next
27351 { print }
27352 _ACAWK
27353 _ACEOF
27354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27355 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27356 fi # test -n "$CONFIG_HEADERS"
27359 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27360 shift
27361 for ac_tag
27363 case $ac_tag in
27364 :[FHLC]) ac_mode=$ac_tag; continue;;
27365 esac
27366 case $ac_mode$ac_tag in
27367 :[FHL]*:*);;
27368 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27369 :[FH]-) ac_tag=-:-;;
27370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27371 esac
27372 ac_save_IFS=$IFS
27373 IFS=:
27374 set x $ac_tag
27375 IFS=$ac_save_IFS
27376 shift
27377 ac_file=$1
27378 shift
27380 case $ac_mode in
27381 :L) ac_source=$1;;
27382 :[FH])
27383 ac_file_inputs=
27384 for ac_f
27386 case $ac_f in
27387 -) ac_f="$tmp/stdin";;
27388 *) # Look for the file first in the build tree, then in the source tree
27389 # (if the path is not absolute). The absolute path cannot be DOS-style,
27390 # because $ac_f cannot contain `:'.
27391 test -f "$ac_f" ||
27392 case $ac_f in
27393 [\\/$]*) false;;
27394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27395 esac ||
27396 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27397 esac
27398 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27399 as_fn_append ac_file_inputs " '$ac_f'"
27400 done
27402 # Let's still pretend it is `configure' which instantiates (i.e., don't
27403 # use $as_me), people would be surprised to read:
27404 # /* config.h. Generated by config.status. */
27405 configure_input='Generated from '`
27406 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27407 `' by configure.'
27408 if test x"$ac_file" != x-; then
27409 configure_input="$ac_file. $configure_input"
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27411 $as_echo "$as_me: creating $ac_file" >&6;}
27413 # Neutralize special characters interpreted by sed in replacement strings.
27414 case $configure_input in #(
27415 *\&* | *\|* | *\\* )
27416 ac_sed_conf_input=`$as_echo "$configure_input" |
27417 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27418 *) ac_sed_conf_input=$configure_input;;
27419 esac
27421 case $ac_tag in
27422 *:-:* | *:-) cat >"$tmp/stdin" \
27423 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27424 esac
27426 esac
27428 ac_dir=`$as_dirname -- "$ac_file" ||
27429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27430 X"$ac_file" : 'X\(//\)[^/]' \| \
27431 X"$ac_file" : 'X\(//\)$' \| \
27432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27433 $as_echo X"$ac_file" |
27434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27435 s//\1/
27438 /^X\(\/\/\)[^/].*/{
27439 s//\1/
27442 /^X\(\/\/\)$/{
27443 s//\1/
27446 /^X\(\/\).*/{
27447 s//\1/
27450 s/.*/./; q'`
27451 as_dir="$ac_dir"; as_fn_mkdir_p
27452 ac_builddir=.
27454 case "$ac_dir" in
27455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27458 # A ".." for each directory in $ac_dir_suffix.
27459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27460 case $ac_top_builddir_sub in
27461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27463 esac ;;
27464 esac
27465 ac_abs_top_builddir=$ac_pwd
27466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27467 # for backward compatibility:
27468 ac_top_builddir=$ac_top_build_prefix
27470 case $srcdir in
27471 .) # We are building in place.
27472 ac_srcdir=.
27473 ac_top_srcdir=$ac_top_builddir_sub
27474 ac_abs_top_srcdir=$ac_pwd ;;
27475 [\\/]* | ?:[\\/]* ) # Absolute name.
27476 ac_srcdir=$srcdir$ac_dir_suffix;
27477 ac_top_srcdir=$srcdir
27478 ac_abs_top_srcdir=$srcdir ;;
27479 *) # Relative name.
27480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27481 ac_top_srcdir=$ac_top_build_prefix$srcdir
27482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27483 esac
27484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27487 case $ac_mode in
27490 # CONFIG_FILE
27493 case $INSTALL in
27494 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27495 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27496 esac
27497 ac_MKDIR_P=$MKDIR_P
27498 case $MKDIR_P in
27499 [\\/$]* | ?:[\\/]* ) ;;
27500 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27501 esac
27502 _ACEOF
27504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27505 # If the template does not know about datarootdir, expand it.
27506 # FIXME: This hack should be removed a few years after 2.60.
27507 ac_datarootdir_hack=; ac_datarootdir_seen=
27508 ac_sed_dataroot='
27509 /datarootdir/ {
27513 /@datadir@/p
27514 /@docdir@/p
27515 /@infodir@/p
27516 /@localedir@/p
27517 /@mandir@/p'
27518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27519 *datarootdir*) ac_datarootdir_seen=yes;;
27520 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27523 _ACEOF
27524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27525 ac_datarootdir_hack='
27526 s&@datadir@&$datadir&g
27527 s&@docdir@&$docdir&g
27528 s&@infodir@&$infodir&g
27529 s&@localedir@&$localedir&g
27530 s&@mandir@&$mandir&g
27531 s&\\\${datarootdir}&$datarootdir&g' ;;
27532 esac
27533 _ACEOF
27535 # Neutralize VPATH when `$srcdir' = `.'.
27536 # Shell code in configure.ac might set extrasub.
27537 # FIXME: do we really want to maintain this feature?
27538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27539 ac_sed_extra="$ac_vpsub
27540 $extrasub
27541 _ACEOF
27542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27545 s|@configure_input@|$ac_sed_conf_input|;t t
27546 s&@top_builddir@&$ac_top_builddir_sub&;t t
27547 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27548 s&@srcdir@&$ac_srcdir&;t t
27549 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27550 s&@top_srcdir@&$ac_top_srcdir&;t t
27551 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27552 s&@builddir@&$ac_builddir&;t t
27553 s&@abs_builddir@&$ac_abs_builddir&;t t
27554 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27555 s&@INSTALL@&$ac_INSTALL&;t t
27556 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27557 $ac_datarootdir_hack
27559 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27560 || as_fn_error "could not create $ac_file" "$LINENO" 5
27562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27563 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27566 which seems to be undefined. Please make sure it is defined." >&5
27567 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27568 which seems to be undefined. Please make sure it is defined." >&2;}
27570 rm -f "$tmp/stdin"
27571 case $ac_file in
27572 -) cat "$tmp/out" && rm -f "$tmp/out";;
27573 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27574 esac \
27575 || as_fn_error "could not create $ac_file" "$LINENO" 5
27579 # CONFIG_HEADER
27581 if test x"$ac_file" != x-; then
27583 $as_echo "/* $configure_input */" \
27584 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27585 } >"$tmp/config.h" \
27586 || as_fn_error "could not create $ac_file" "$LINENO" 5
27587 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27588 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27589 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27590 else
27591 rm -f "$ac_file"
27592 mv "$tmp/config.h" "$ac_file" \
27593 || as_fn_error "could not create $ac_file" "$LINENO" 5
27595 else
27596 $as_echo "/* $configure_input */" \
27597 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27598 || as_fn_error "could not create -" "$LINENO" 5
27600 # Compute "$ac_file"'s index in $config_headers.
27601 _am_arg="$ac_file"
27602 _am_stamp_count=1
27603 for _am_header in $config_headers :; do
27604 case $_am_header in
27605 $_am_arg | $_am_arg:* )
27606 break ;;
27608 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27609 esac
27610 done
27611 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27612 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27613 X"$_am_arg" : 'X\(//\)[^/]' \| \
27614 X"$_am_arg" : 'X\(//\)$' \| \
27615 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27616 $as_echo X"$_am_arg" |
27617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27618 s//\1/
27621 /^X\(\/\/\)[^/].*/{
27622 s//\1/
27625 /^X\(\/\/\)$/{
27626 s//\1/
27629 /^X\(\/\).*/{
27630 s//\1/
27633 s/.*/./; q'`/stamp-h$_am_stamp_count
27636 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27637 $as_echo "$as_me: executing $ac_file commands" >&6;}
27639 esac
27642 case $ac_file$ac_mode in
27643 "default-1":C)
27644 # Only add multilib support code if we just rebuilt the top-level
27645 # Makefile.
27646 case " $CONFIG_FILES " in
27647 *" Makefile "*)
27648 ac_file=Makefile . ${multi_basedir}/config-ml.in
27650 esac ;;
27651 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27652 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27653 # are listed without --file. Let's play safe and only enable the eval
27654 # if we detect the quoting.
27655 case $CONFIG_FILES in
27656 *\'*) eval set x "$CONFIG_FILES" ;;
27657 *) set x $CONFIG_FILES ;;
27658 esac
27659 shift
27660 for mf
27662 # Strip MF so we end up with the name of the file.
27663 mf=`echo "$mf" | sed -e 's/:.*$//'`
27664 # Check whether this is an Automake generated Makefile or not.
27665 # We used to match only the files named `Makefile.in', but
27666 # some people rename them; so instead we look at the file content.
27667 # Grep'ing the first line is not enough: some people post-process
27668 # each Makefile.in and add a new line on top of each file to say so.
27669 # Grep'ing the whole file is not good either: AIX grep has a line
27670 # limit of 2048, but all sed's we know have understand at least 4000.
27671 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27672 dirpart=`$as_dirname -- "$mf" ||
27673 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27674 X"$mf" : 'X\(//\)[^/]' \| \
27675 X"$mf" : 'X\(//\)$' \| \
27676 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27677 $as_echo X"$mf" |
27678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27679 s//\1/
27682 /^X\(\/\/\)[^/].*/{
27683 s//\1/
27686 /^X\(\/\/\)$/{
27687 s//\1/
27690 /^X\(\/\).*/{
27691 s//\1/
27694 s/.*/./; q'`
27695 else
27696 continue
27698 # Extract the definition of DEPDIR, am__include, and am__quote
27699 # from the Makefile without running `make'.
27700 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27701 test -z "$DEPDIR" && continue
27702 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27703 test -z "am__include" && continue
27704 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27705 # When using ansi2knr, U may be empty or an underscore; expand it
27706 U=`sed -n 's/^U = //p' < "$mf"`
27707 # Find all dependency output files, they are included files with
27708 # $(DEPDIR) in their names. We invoke sed twice because it is the
27709 # simplest approach to changing $(DEPDIR) to its actual value in the
27710 # expansion.
27711 for file in `sed -n "
27712 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27713 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27714 # Make sure the directory exists.
27715 test -f "$dirpart/$file" && continue
27716 fdir=`$as_dirname -- "$file" ||
27717 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27718 X"$file" : 'X\(//\)[^/]' \| \
27719 X"$file" : 'X\(//\)$' \| \
27720 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27721 $as_echo X"$file" |
27722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27723 s//\1/
27726 /^X\(\/\/\)[^/].*/{
27727 s//\1/
27730 /^X\(\/\/\)$/{
27731 s//\1/
27734 /^X\(\/\).*/{
27735 s//\1/
27738 s/.*/./; q'`
27739 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27740 # echo "creating $dirpart/$file"
27741 echo '# dummy' > "$dirpart/$file"
27742 done
27743 done
27746 "libtool":C)
27748 # See if we are running on zsh, and set the options which allow our
27749 # commands through without removal of \ escapes.
27750 if test -n "${ZSH_VERSION+set}" ; then
27751 setopt NO_GLOB_SUBST
27754 cfgfile="${ofile}T"
27755 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27756 $RM "$cfgfile"
27758 cat <<_LT_EOF >> "$cfgfile"
27759 #! $SHELL
27761 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27762 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27763 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27764 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27766 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27767 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27768 # Written by Gordon Matzigkeit, 1996
27770 # This file is part of GNU Libtool.
27772 # GNU Libtool is free software; you can redistribute it and/or
27773 # modify it under the terms of the GNU General Public License as
27774 # published by the Free Software Foundation; either version 2 of
27775 # the License, or (at your option) any later version.
27777 # As a special exception to the GNU General Public License,
27778 # if you distribute this file as part of a program or library that
27779 # is built using GNU Libtool, you may include this file under the
27780 # same distribution terms that you use for the rest of that program.
27782 # GNU Libtool is distributed in the hope that it will be useful,
27783 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27784 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27785 # GNU General Public License for more details.
27787 # You should have received a copy of the GNU General Public License
27788 # along with GNU Libtool; see the file COPYING. If not, a copy
27789 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27790 # obtained by writing to the Free Software Foundation, Inc.,
27791 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27794 # The names of the tagged configurations supported by this script.
27795 available_tags="FC "
27797 # ### BEGIN LIBTOOL CONFIG
27799 # Which release of libtool.m4 was used?
27800 macro_version=$macro_version
27801 macro_revision=$macro_revision
27803 # Whether or not to build shared libraries.
27804 build_libtool_libs=$enable_shared
27806 # Whether or not to build static libraries.
27807 build_old_libs=$enable_static
27809 # What type of objects to build.
27810 pic_mode=$pic_mode
27812 # Whether or not to optimize for fast installation.
27813 fast_install=$enable_fast_install
27815 # Shell to use when invoking shell scripts.
27816 SHELL=$lt_SHELL
27818 # An echo program that protects backslashes.
27819 ECHO=$lt_ECHO
27821 # The host system.
27822 host_alias=$host_alias
27823 host=$host
27824 host_os=$host_os
27826 # The build system.
27827 build_alias=$build_alias
27828 build=$build
27829 build_os=$build_os
27831 # A sed program that does not truncate output.
27832 SED=$lt_SED
27834 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27835 Xsed="\$SED -e 1s/^X//"
27837 # A grep program that handles long lines.
27838 GREP=$lt_GREP
27840 # An ERE matcher.
27841 EGREP=$lt_EGREP
27843 # A literal string matcher.
27844 FGREP=$lt_FGREP
27846 # A BSD- or MS-compatible name lister.
27847 NM=$lt_NM
27849 # Whether we need soft or hard links.
27850 LN_S=$lt_LN_S
27852 # What is the maximum length of a command?
27853 max_cmd_len=$max_cmd_len
27855 # Object file suffix (normally "o").
27856 objext=$ac_objext
27858 # Executable file suffix (normally "").
27859 exeext=$exeext
27861 # whether the shell understands "unset".
27862 lt_unset=$lt_unset
27864 # turn spaces into newlines.
27865 SP2NL=$lt_lt_SP2NL
27867 # turn newlines into spaces.
27868 NL2SP=$lt_lt_NL2SP
27870 # An object symbol dumper.
27871 OBJDUMP=$lt_OBJDUMP
27873 # Method to check whether dependent libraries are shared objects.
27874 deplibs_check_method=$lt_deplibs_check_method
27876 # Command to use when deplibs_check_method == "file_magic".
27877 file_magic_cmd=$lt_file_magic_cmd
27879 # The archiver.
27880 AR=$lt_AR
27881 AR_FLAGS=$lt_AR_FLAGS
27883 # A symbol stripping program.
27884 STRIP=$lt_STRIP
27886 # Commands used to install an old-style archive.
27887 RANLIB=$lt_RANLIB
27888 old_postinstall_cmds=$lt_old_postinstall_cmds
27889 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27891 # Whether to use a lock for old archive extraction.
27892 lock_old_archive_extraction=$lock_old_archive_extraction
27894 # A C compiler.
27895 LTCC=$lt_CC
27897 # LTCC compiler flags.
27898 LTCFLAGS=$lt_CFLAGS
27900 # Take the output of nm and produce a listing of raw symbols and C names.
27901 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27903 # Transform the output of nm in a proper C declaration.
27904 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27906 # Transform the output of nm in a C name address pair.
27907 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27909 # Transform the output of nm in a C name address pair when lib prefix is needed.
27910 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27912 # The name of the directory that contains temporary libtool files.
27913 objdir=$objdir
27915 # Used to examine libraries when file_magic_cmd begins with "file".
27916 MAGIC_CMD=$MAGIC_CMD
27918 # Must we lock files when doing compilation?
27919 need_locks=$lt_need_locks
27921 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27922 DSYMUTIL=$lt_DSYMUTIL
27924 # Tool to change global to local symbols on Mac OS X.
27925 NMEDIT=$lt_NMEDIT
27927 # Tool to manipulate fat objects and archives on Mac OS X.
27928 LIPO=$lt_LIPO
27930 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27931 OTOOL=$lt_OTOOL
27933 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27934 OTOOL64=$lt_OTOOL64
27936 # Old archive suffix (normally "a").
27937 libext=$libext
27939 # Shared library suffix (normally ".so").
27940 shrext_cmds=$lt_shrext_cmds
27942 # The commands to extract the exported symbol list from a shared archive.
27943 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27945 # Variables whose values should be saved in libtool wrapper scripts and
27946 # restored at link time.
27947 variables_saved_for_relink=$lt_variables_saved_for_relink
27949 # Do we need the "lib" prefix for modules?
27950 need_lib_prefix=$need_lib_prefix
27952 # Do we need a version for libraries?
27953 need_version=$need_version
27955 # Library versioning type.
27956 version_type=$version_type
27958 # Shared library runtime path variable.
27959 runpath_var=$runpath_var
27961 # Shared library path variable.
27962 shlibpath_var=$shlibpath_var
27964 # Is shlibpath searched before the hard-coded library search path?
27965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27967 # Format of library name prefix.
27968 libname_spec=$lt_libname_spec
27970 # List of archive names. First name is the real one, the rest are links.
27971 # The last name is the one that the linker finds with -lNAME
27972 library_names_spec=$lt_library_names_spec
27974 # The coded name of the library, if different from the real name.
27975 soname_spec=$lt_soname_spec
27977 # Permission mode override for installation of shared libraries.
27978 install_override_mode=$lt_install_override_mode
27980 # Command to use after installation of a shared archive.
27981 postinstall_cmds=$lt_postinstall_cmds
27983 # Command to use after uninstallation of a shared archive.
27984 postuninstall_cmds=$lt_postuninstall_cmds
27986 # Commands used to finish a libtool library installation in a directory.
27987 finish_cmds=$lt_finish_cmds
27989 # As "finish_cmds", except a single script fragment to be evaled but
27990 # not shown.
27991 finish_eval=$lt_finish_eval
27993 # Whether we should hardcode library paths into libraries.
27994 hardcode_into_libs=$hardcode_into_libs
27996 # Compile-time system search path for libraries.
27997 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27999 # Run-time system search path for libraries.
28000 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28002 # Whether dlopen is supported.
28003 dlopen_support=$enable_dlopen
28005 # Whether dlopen of programs is supported.
28006 dlopen_self=$enable_dlopen_self
28008 # Whether dlopen of statically linked programs is supported.
28009 dlopen_self_static=$enable_dlopen_self_static
28011 # Commands to strip libraries.
28012 old_striplib=$lt_old_striplib
28013 striplib=$lt_striplib
28016 # The linker used to build libraries.
28017 LD=$lt_LD
28019 # How to create reloadable object files.
28020 reload_flag=$lt_reload_flag
28021 reload_cmds=$lt_reload_cmds
28023 # Commands used to build an old-style archive.
28024 old_archive_cmds=$lt_old_archive_cmds
28026 # A language specific compiler.
28027 CC=$lt_compiler
28029 # Is the compiler the GNU compiler?
28030 with_gcc=$GCC
28032 # Compiler flag to turn off builtin functions.
28033 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28035 # How to pass a linker flag through the compiler.
28036 wl=$lt_lt_prog_compiler_wl
28038 # Additional compiler flags for building library objects.
28039 pic_flag=$lt_lt_prog_compiler_pic
28041 # Compiler flag to prevent dynamic linking.
28042 link_static_flag=$lt_lt_prog_compiler_static
28044 # Does compiler simultaneously support -c and -o options?
28045 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28047 # Whether or not to add -lc for building shared libraries.
28048 build_libtool_need_lc=$archive_cmds_need_lc
28050 # Whether or not to disallow shared libs when runtime libs are static.
28051 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28053 # Compiler flag to allow reflexive dlopens.
28054 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28056 # Compiler flag to generate shared objects directly from archives.
28057 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28059 # Whether the compiler copes with passing no objects directly.
28060 compiler_needs_object=$lt_compiler_needs_object
28062 # Create an old-style archive from a shared archive.
28063 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28065 # Create a temporary old-style archive to link instead of a shared archive.
28066 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28068 # Commands used to build a shared archive.
28069 archive_cmds=$lt_archive_cmds
28070 archive_expsym_cmds=$lt_archive_expsym_cmds
28072 # Commands used to build a loadable module if different from building
28073 # a shared archive.
28074 module_cmds=$lt_module_cmds
28075 module_expsym_cmds=$lt_module_expsym_cmds
28077 # Whether we are building with GNU ld or not.
28078 with_gnu_ld=$lt_with_gnu_ld
28080 # Flag that allows shared libraries with undefined symbols to be built.
28081 allow_undefined_flag=$lt_allow_undefined_flag
28083 # Flag that enforces no undefined symbols.
28084 no_undefined_flag=$lt_no_undefined_flag
28086 # Flag to hardcode \$libdir into a binary during linking.
28087 # This must work even if \$libdir does not exist
28088 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28090 # If ld is used when linking, flag to hardcode \$libdir into a binary
28091 # during linking. This must work even if \$libdir does not exist.
28092 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28094 # Whether we need a single "-rpath" flag with a separated argument.
28095 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28097 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28098 # DIR into the resulting binary.
28099 hardcode_direct=$hardcode_direct
28101 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28102 # DIR into the resulting binary and the resulting library dependency is
28103 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28104 # library is relocated.
28105 hardcode_direct_absolute=$hardcode_direct_absolute
28107 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28108 # into the resulting binary.
28109 hardcode_minus_L=$hardcode_minus_L
28111 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28112 # into the resulting binary.
28113 hardcode_shlibpath_var=$hardcode_shlibpath_var
28115 # Set to "yes" if building a shared library automatically hardcodes DIR
28116 # into the library and all subsequent libraries and executables linked
28117 # against it.
28118 hardcode_automatic=$hardcode_automatic
28120 # Set to yes if linker adds runtime paths of dependent libraries
28121 # to runtime path list.
28122 inherit_rpath=$inherit_rpath
28124 # Whether libtool must link a program against all its dependency libraries.
28125 link_all_deplibs=$link_all_deplibs
28127 # Fix the shell variable \$srcfile for the compiler.
28128 fix_srcfile_path=$lt_fix_srcfile_path
28130 # Set to "yes" if exported symbols are required.
28131 always_export_symbols=$always_export_symbols
28133 # The commands to list exported symbols.
28134 export_symbols_cmds=$lt_export_symbols_cmds
28136 # Symbols that should not be listed in the preloaded symbols.
28137 exclude_expsyms=$lt_exclude_expsyms
28139 # Symbols that must always be exported.
28140 include_expsyms=$lt_include_expsyms
28142 # Commands necessary for linking programs (against libraries) with templates.
28143 prelink_cmds=$lt_prelink_cmds
28145 # Specify filename containing input files.
28146 file_list_spec=$lt_file_list_spec
28148 # How to hardcode a shared library path into an executable.
28149 hardcode_action=$hardcode_action
28151 # The directories searched by this compiler when creating a shared library.
28152 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28154 # Dependencies to place before and after the objects being linked to
28155 # create a shared library.
28156 predep_objects=$lt_predep_objects
28157 postdep_objects=$lt_postdep_objects
28158 predeps=$lt_predeps
28159 postdeps=$lt_postdeps
28161 # The library search path used internally by the compiler when linking
28162 # a shared library.
28163 compiler_lib_search_path=$lt_compiler_lib_search_path
28165 # ### END LIBTOOL CONFIG
28167 _LT_EOF
28169 case $host_os in
28170 aix3*)
28171 cat <<\_LT_EOF >> "$cfgfile"
28172 # AIX sometimes has problems with the GCC collect2 program. For some
28173 # reason, if we set the COLLECT_NAMES environment variable, the problems
28174 # vanish in a puff of smoke.
28175 if test "X${COLLECT_NAMES+set}" != Xset; then
28176 COLLECT_NAMES=
28177 export COLLECT_NAMES
28179 _LT_EOF
28181 esac
28184 ltmain="$ac_aux_dir/ltmain.sh"
28187 # We use sed instead of cat because bash on DJGPP gets confused if
28188 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28189 # text mode, it properly converts lines to CR/LF. This bash problem
28190 # is reportedly fixed, but why not run on old versions too?
28191 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28192 || (rm -f "$cfgfile"; exit 1)
28194 case $xsi_shell in
28195 yes)
28196 cat << \_LT_EOF >> "$cfgfile"
28198 # func_dirname file append nondir_replacement
28199 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28200 # otherwise set result to NONDIR_REPLACEMENT.
28201 func_dirname ()
28203 case ${1} in
28204 */*) func_dirname_result="${1%/*}${2}" ;;
28205 * ) func_dirname_result="${3}" ;;
28206 esac
28209 # func_basename file
28210 func_basename ()
28212 func_basename_result="${1##*/}"
28215 # func_dirname_and_basename file append nondir_replacement
28216 # perform func_basename and func_dirname in a single function
28217 # call:
28218 # dirname: Compute the dirname of FILE. If nonempty,
28219 # add APPEND to the result, otherwise set result
28220 # to NONDIR_REPLACEMENT.
28221 # value returned in "$func_dirname_result"
28222 # basename: Compute filename of FILE.
28223 # value retuned in "$func_basename_result"
28224 # Implementation must be kept synchronized with func_dirname
28225 # and func_basename. For efficiency, we do not delegate to
28226 # those functions but instead duplicate the functionality here.
28227 func_dirname_and_basename ()
28229 case ${1} in
28230 */*) func_dirname_result="${1%/*}${2}" ;;
28231 * ) func_dirname_result="${3}" ;;
28232 esac
28233 func_basename_result="${1##*/}"
28236 # func_stripname prefix suffix name
28237 # strip PREFIX and SUFFIX off of NAME.
28238 # PREFIX and SUFFIX must not contain globbing or regex special
28239 # characters, hashes, percent signs, but SUFFIX may contain a leading
28240 # dot (in which case that matches only a dot).
28241 func_stripname ()
28243 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28244 # positional parameters, so assign one to ordinary parameter first.
28245 func_stripname_result=${3}
28246 func_stripname_result=${func_stripname_result#"${1}"}
28247 func_stripname_result=${func_stripname_result%"${2}"}
28250 # func_opt_split
28251 func_opt_split ()
28253 func_opt_split_opt=${1%%=*}
28254 func_opt_split_arg=${1#*=}
28257 # func_lo2o object
28258 func_lo2o ()
28260 case ${1} in
28261 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28262 *) func_lo2o_result=${1} ;;
28263 esac
28266 # func_xform libobj-or-source
28267 func_xform ()
28269 func_xform_result=${1%.*}.lo
28272 # func_arith arithmetic-term...
28273 func_arith ()
28275 func_arith_result=$(( $* ))
28278 # func_len string
28279 # STRING may not start with a hyphen.
28280 func_len ()
28282 func_len_result=${#1}
28285 _LT_EOF
28287 *) # Bourne compatible functions.
28288 cat << \_LT_EOF >> "$cfgfile"
28290 # func_dirname file append nondir_replacement
28291 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28292 # otherwise set result to NONDIR_REPLACEMENT.
28293 func_dirname ()
28295 # Extract subdirectory from the argument.
28296 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28297 if test "X$func_dirname_result" = "X${1}"; then
28298 func_dirname_result="${3}"
28299 else
28300 func_dirname_result="$func_dirname_result${2}"
28304 # func_basename file
28305 func_basename ()
28307 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28311 # func_stripname prefix suffix name
28312 # strip PREFIX and SUFFIX off of NAME.
28313 # PREFIX and SUFFIX must not contain globbing or regex special
28314 # characters, hashes, percent signs, but SUFFIX may contain a leading
28315 # dot (in which case that matches only a dot).
28316 # func_strip_suffix prefix name
28317 func_stripname ()
28319 case ${2} in
28320 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28321 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28322 esac
28325 # sed scripts:
28326 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28327 my_sed_long_arg='1s/^-[^=]*=//'
28329 # func_opt_split
28330 func_opt_split ()
28332 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28333 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28336 # func_lo2o object
28337 func_lo2o ()
28339 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28342 # func_xform libobj-or-source
28343 func_xform ()
28345 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28348 # func_arith arithmetic-term...
28349 func_arith ()
28351 func_arith_result=`expr "$@"`
28354 # func_len string
28355 # STRING may not start with a hyphen.
28356 func_len ()
28358 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28361 _LT_EOF
28362 esac
28364 case $lt_shell_append in
28365 yes)
28366 cat << \_LT_EOF >> "$cfgfile"
28368 # func_append var value
28369 # Append VALUE to the end of shell variable VAR.
28370 func_append ()
28372 eval "$1+=\$2"
28374 _LT_EOF
28377 cat << \_LT_EOF >> "$cfgfile"
28379 # func_append var value
28380 # Append VALUE to the end of shell variable VAR.
28381 func_append ()
28383 eval "$1=\$$1\$2"
28386 _LT_EOF
28388 esac
28391 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28392 || (rm -f "$cfgfile"; exit 1)
28394 mv -f "$cfgfile" "$ofile" ||
28395 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28396 chmod +x "$ofile"
28399 cat <<_LT_EOF >> "$ofile"
28401 # ### BEGIN LIBTOOL TAG CONFIG: FC
28403 # The linker used to build libraries.
28404 LD=$lt_LD_FC
28406 # How to create reloadable object files.
28407 reload_flag=$lt_reload_flag_FC
28408 reload_cmds=$lt_reload_cmds_FC
28410 # Commands used to build an old-style archive.
28411 old_archive_cmds=$lt_old_archive_cmds_FC
28413 # A language specific compiler.
28414 CC=$lt_compiler_FC
28416 # Is the compiler the GNU compiler?
28417 with_gcc=$GCC_FC
28419 # Compiler flag to turn off builtin functions.
28420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28422 # How to pass a linker flag through the compiler.
28423 wl=$lt_lt_prog_compiler_wl_FC
28425 # Additional compiler flags for building library objects.
28426 pic_flag=$lt_lt_prog_compiler_pic_FC
28428 # Compiler flag to prevent dynamic linking.
28429 link_static_flag=$lt_lt_prog_compiler_static_FC
28431 # Does compiler simultaneously support -c and -o options?
28432 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28434 # Whether or not to add -lc for building shared libraries.
28435 build_libtool_need_lc=$archive_cmds_need_lc_FC
28437 # Whether or not to disallow shared libs when runtime libs are static.
28438 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28440 # Compiler flag to allow reflexive dlopens.
28441 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28443 # Compiler flag to generate shared objects directly from archives.
28444 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28446 # Whether the compiler copes with passing no objects directly.
28447 compiler_needs_object=$lt_compiler_needs_object_FC
28449 # Create an old-style archive from a shared archive.
28450 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28452 # Create a temporary old-style archive to link instead of a shared archive.
28453 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28455 # Commands used to build a shared archive.
28456 archive_cmds=$lt_archive_cmds_FC
28457 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28459 # Commands used to build a loadable module if different from building
28460 # a shared archive.
28461 module_cmds=$lt_module_cmds_FC
28462 module_expsym_cmds=$lt_module_expsym_cmds_FC
28464 # Whether we are building with GNU ld or not.
28465 with_gnu_ld=$lt_with_gnu_ld_FC
28467 # Flag that allows shared libraries with undefined symbols to be built.
28468 allow_undefined_flag=$lt_allow_undefined_flag_FC
28470 # Flag that enforces no undefined symbols.
28471 no_undefined_flag=$lt_no_undefined_flag_FC
28473 # Flag to hardcode \$libdir into a binary during linking.
28474 # This must work even if \$libdir does not exist
28475 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28477 # If ld is used when linking, flag to hardcode \$libdir into a binary
28478 # during linking. This must work even if \$libdir does not exist.
28479 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28481 # Whether we need a single "-rpath" flag with a separated argument.
28482 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28484 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28485 # DIR into the resulting binary.
28486 hardcode_direct=$hardcode_direct_FC
28488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28489 # DIR into the resulting binary and the resulting library dependency is
28490 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28491 # library is relocated.
28492 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28494 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28495 # into the resulting binary.
28496 hardcode_minus_L=$hardcode_minus_L_FC
28498 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28499 # into the resulting binary.
28500 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28502 # Set to "yes" if building a shared library automatically hardcodes DIR
28503 # into the library and all subsequent libraries and executables linked
28504 # against it.
28505 hardcode_automatic=$hardcode_automatic_FC
28507 # Set to yes if linker adds runtime paths of dependent libraries
28508 # to runtime path list.
28509 inherit_rpath=$inherit_rpath_FC
28511 # Whether libtool must link a program against all its dependency libraries.
28512 link_all_deplibs=$link_all_deplibs_FC
28514 # Fix the shell variable \$srcfile for the compiler.
28515 fix_srcfile_path=$lt_fix_srcfile_path_FC
28517 # Set to "yes" if exported symbols are required.
28518 always_export_symbols=$always_export_symbols_FC
28520 # The commands to list exported symbols.
28521 export_symbols_cmds=$lt_export_symbols_cmds_FC
28523 # Symbols that should not be listed in the preloaded symbols.
28524 exclude_expsyms=$lt_exclude_expsyms_FC
28526 # Symbols that must always be exported.
28527 include_expsyms=$lt_include_expsyms_FC
28529 # Commands necessary for linking programs (against libraries) with templates.
28530 prelink_cmds=$lt_prelink_cmds_FC
28532 # Specify filename containing input files.
28533 file_list_spec=$lt_file_list_spec_FC
28535 # How to hardcode a shared library path into an executable.
28536 hardcode_action=$hardcode_action_FC
28538 # The directories searched by this compiler when creating a shared library.
28539 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28541 # Dependencies to place before and after the objects being linked to
28542 # create a shared library.
28543 predep_objects=$lt_predep_objects_FC
28544 postdep_objects=$lt_postdep_objects_FC
28545 predeps=$lt_predeps_FC
28546 postdeps=$lt_postdeps_FC
28548 # The library search path used internally by the compiler when linking
28549 # a shared library.
28550 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28552 # ### END LIBTOOL TAG CONFIG: FC
28553 _LT_EOF
28556 "gstdint.h":C)
28557 if test "$GCC" = yes; then
28558 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28559 else
28560 echo "/* generated for $CC */" > tmp-stdint.h
28563 sed 's/^ *//' >> tmp-stdint.h <<EOF
28565 #ifndef GCC_GENERATED_STDINT_H
28566 #define GCC_GENERATED_STDINT_H 1
28568 #include <sys/types.h>
28571 if test "$acx_cv_header_stdint" != stdint.h; then
28572 echo "#include <stddef.h>" >> tmp-stdint.h
28574 if test "$acx_cv_header_stdint" != stddef.h; then
28575 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28578 sed 's/^ *//' >> tmp-stdint.h <<EOF
28579 /* glibc uses these symbols as guards to prevent redefinitions. */
28580 #ifdef __int8_t_defined
28581 #define _INT8_T
28582 #define _INT16_T
28583 #define _INT32_T
28584 #endif
28585 #ifdef __uint32_t_defined
28586 #define _UINT32_T
28587 #endif
28591 # ----------------- done header, emit basic int types -------------
28592 if test "$acx_cv_header_stdint" = stddef.h; then
28593 sed 's/^ *//' >> tmp-stdint.h <<EOF
28595 #ifndef _UINT8_T
28596 #define _UINT8_T
28597 #ifndef __uint8_t_defined
28598 #define __uint8_t_defined
28599 #ifndef uint8_t
28600 typedef unsigned $acx_cv_type_int8_t uint8_t;
28601 #endif
28602 #endif
28603 #endif
28605 #ifndef _UINT16_T
28606 #define _UINT16_T
28607 #ifndef __uint16_t_defined
28608 #define __uint16_t_defined
28609 #ifndef uint16_t
28610 typedef unsigned $acx_cv_type_int16_t uint16_t;
28611 #endif
28612 #endif
28613 #endif
28615 #ifndef _UINT32_T
28616 #define _UINT32_T
28617 #ifndef __uint32_t_defined
28618 #define __uint32_t_defined
28619 #ifndef uint32_t
28620 typedef unsigned $acx_cv_type_int32_t uint32_t;
28621 #endif
28622 #endif
28623 #endif
28625 #ifndef _INT8_T
28626 #define _INT8_T
28627 #ifndef __int8_t_defined
28628 #define __int8_t_defined
28629 #ifndef int8_t
28630 typedef $acx_cv_type_int8_t int8_t;
28631 #endif
28632 #endif
28633 #endif
28635 #ifndef _INT16_T
28636 #define _INT16_T
28637 #ifndef __int16_t_defined
28638 #define __int16_t_defined
28639 #ifndef int16_t
28640 typedef $acx_cv_type_int16_t int16_t;
28641 #endif
28642 #endif
28643 #endif
28645 #ifndef _INT32_T
28646 #define _INT32_T
28647 #ifndef __int32_t_defined
28648 #define __int32_t_defined
28649 #ifndef int32_t
28650 typedef $acx_cv_type_int32_t int32_t;
28651 #endif
28652 #endif
28653 #endif
28655 elif test "$ac_cv_type_u_int32_t" = yes; then
28656 sed 's/^ *//' >> tmp-stdint.h <<EOF
28658 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28659 #ifndef _INT8_T
28660 #define _INT8_T
28661 #endif
28662 #ifndef _INT16_T
28663 #define _INT16_T
28664 #endif
28665 #ifndef _INT32_T
28666 #define _INT32_T
28667 #endif
28669 #ifndef _UINT8_T
28670 #define _UINT8_T
28671 #ifndef __uint8_t_defined
28672 #define __uint8_t_defined
28673 #ifndef uint8_t
28674 typedef u_int8_t uint8_t;
28675 #endif
28676 #endif
28677 #endif
28679 #ifndef _UINT16_T
28680 #define _UINT16_T
28681 #ifndef __uint16_t_defined
28682 #define __uint16_t_defined
28683 #ifndef uint16_t
28684 typedef u_int16_t uint16_t;
28685 #endif
28686 #endif
28687 #endif
28689 #ifndef _UINT32_T
28690 #define _UINT32_T
28691 #ifndef __uint32_t_defined
28692 #define __uint32_t_defined
28693 #ifndef uint32_t
28694 typedef u_int32_t uint32_t;
28695 #endif
28696 #endif
28697 #endif
28699 else
28700 sed 's/^ *//' >> tmp-stdint.h <<EOF
28702 /* Some systems have guard macros to prevent redefinitions, define them. */
28703 #ifndef _INT8_T
28704 #define _INT8_T
28705 #endif
28706 #ifndef _INT16_T
28707 #define _INT16_T
28708 #endif
28709 #ifndef _INT32_T
28710 #define _INT32_T
28711 #endif
28712 #ifndef _UINT8_T
28713 #define _UINT8_T
28714 #endif
28715 #ifndef _UINT16_T
28716 #define _UINT16_T
28717 #endif
28718 #ifndef _UINT32_T
28719 #define _UINT32_T
28720 #endif
28724 # ------------- done basic int types, emit int64_t types ------------
28725 if test "$ac_cv_type_uint64_t" = yes; then
28726 sed 's/^ *//' >> tmp-stdint.h <<EOF
28728 /* system headers have good uint64_t and int64_t */
28729 #ifndef _INT64_T
28730 #define _INT64_T
28731 #endif
28732 #ifndef _UINT64_T
28733 #define _UINT64_T
28734 #endif
28736 elif test "$ac_cv_type_u_int64_t" = yes; then
28737 sed 's/^ *//' >> tmp-stdint.h <<EOF
28739 /* system headers have an u_int64_t (and int64_t) */
28740 #ifndef _INT64_T
28741 #define _INT64_T
28742 #endif
28743 #ifndef _UINT64_T
28744 #define _UINT64_T
28745 #ifndef __uint64_t_defined
28746 #define __uint64_t_defined
28747 #ifndef uint64_t
28748 typedef u_int64_t uint64_t;
28749 #endif
28750 #endif
28751 #endif
28753 elif test -n "$acx_cv_type_int64_t"; then
28754 sed 's/^ *//' >> tmp-stdint.h <<EOF
28756 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28757 #ifndef _INT64_T
28758 #define _INT64_T
28759 #ifndef int64_t
28760 typedef $acx_cv_type_int64_t int64_t;
28761 #endif
28762 #endif
28763 #ifndef _UINT64_T
28764 #define _UINT64_T
28765 #ifndef __uint64_t_defined
28766 #define __uint64_t_defined
28767 #ifndef uint64_t
28768 typedef unsigned $acx_cv_type_int64_t uint64_t;
28769 #endif
28770 #endif
28771 #endif
28773 else
28774 sed 's/^ *//' >> tmp-stdint.h <<EOF
28776 /* some common heuristics for int64_t, using compiler-specific tests */
28777 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28778 #ifndef _INT64_T
28779 #define _INT64_T
28780 #ifndef __int64_t_defined
28781 #ifndef int64_t
28782 typedef long long int64_t;
28783 #endif
28784 #endif
28785 #endif
28786 #ifndef _UINT64_T
28787 #define _UINT64_T
28788 #ifndef uint64_t
28789 typedef unsigned long long uint64_t;
28790 #endif
28791 #endif
28793 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28794 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28795 does not implement __extension__. But that compiler doesn't define
28796 __GNUC_MINOR__. */
28797 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28798 # define __extension__
28799 # endif
28801 # ifndef _INT64_T
28802 # define _INT64_T
28803 # ifndef int64_t
28804 __extension__ typedef long long int64_t;
28805 # endif
28806 # endif
28807 # ifndef _UINT64_T
28808 # define _UINT64_T
28809 # ifndef uint64_t
28810 __extension__ typedef unsigned long long uint64_t;
28811 # endif
28812 # endif
28814 #elif !defined __STRICT_ANSI__
28815 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28817 # ifndef _INT64_T
28818 # define _INT64_T
28819 # ifndef int64_t
28820 typedef __int64 int64_t;
28821 # endif
28822 # endif
28823 # ifndef _UINT64_T
28824 # define _UINT64_T
28825 # ifndef uint64_t
28826 typedef unsigned __int64 uint64_t;
28827 # endif
28828 # endif
28829 # endif /* compiler */
28831 #endif /* ANSI version */
28835 # ------------- done int64_t types, emit intptr types ------------
28836 if test "$ac_cv_type_uintptr_t" != yes; then
28837 sed 's/^ *//' >> tmp-stdint.h <<EOF
28839 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28840 #ifndef __uintptr_t_defined
28841 #ifndef uintptr_t
28842 typedef u$acx_cv_type_intptr_t uintptr_t;
28843 #endif
28844 #endif
28845 #ifndef __intptr_t_defined
28846 #ifndef intptr_t
28847 typedef $acx_cv_type_intptr_t intptr_t;
28848 #endif
28849 #endif
28853 # ------------- done intptr types, emit int_least types ------------
28854 if test "$ac_cv_type_int_least32_t" != yes; then
28855 sed 's/^ *//' >> tmp-stdint.h <<EOF
28857 /* Define int_least types */
28858 typedef int8_t int_least8_t;
28859 typedef int16_t int_least16_t;
28860 typedef int32_t int_least32_t;
28861 #ifdef _INT64_T
28862 typedef int64_t int_least64_t;
28863 #endif
28865 typedef uint8_t uint_least8_t;
28866 typedef uint16_t uint_least16_t;
28867 typedef uint32_t uint_least32_t;
28868 #ifdef _UINT64_T
28869 typedef uint64_t uint_least64_t;
28870 #endif
28874 # ------------- done intptr types, emit int_fast types ------------
28875 if test "$ac_cv_type_int_fast32_t" != yes; then
28876 sed 's/^ *//' >> tmp-stdint.h <<EOF
28878 /* Define int_fast types. short is often slow */
28879 typedef int8_t int_fast8_t;
28880 typedef int int_fast16_t;
28881 typedef int32_t int_fast32_t;
28882 #ifdef _INT64_T
28883 typedef int64_t int_fast64_t;
28884 #endif
28886 typedef uint8_t uint_fast8_t;
28887 typedef unsigned int uint_fast16_t;
28888 typedef uint32_t uint_fast32_t;
28889 #ifdef _UINT64_T
28890 typedef uint64_t uint_fast64_t;
28891 #endif
28895 if test "$ac_cv_type_uintmax_t" != yes; then
28896 sed 's/^ *//' >> tmp-stdint.h <<EOF
28898 /* Define intmax based on what we found */
28899 #ifndef intmax_t
28900 #ifdef _INT64_T
28901 typedef int64_t intmax_t;
28902 #else
28903 typedef long intmax_t;
28904 #endif
28905 #endif
28906 #ifndef uintmax_t
28907 #ifdef _UINT64_T
28908 typedef uint64_t uintmax_t;
28909 #else
28910 typedef unsigned long uintmax_t;
28911 #endif
28912 #endif
28916 sed 's/^ *//' >> tmp-stdint.h <<EOF
28918 #endif /* GCC_GENERATED_STDINT_H */
28921 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28922 rm -f tmp-stdint.h
28923 else
28924 mv -f tmp-stdint.h gstdint.h
28929 esac
28930 done # for ac_tag
28933 as_fn_exit 0
28934 _ACEOF
28935 ac_clean_files=$ac_clean_files_save
28937 test $ac_write_fail = 0 ||
28938 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28941 # configure is writing to config.log, and then calls config.status.
28942 # config.status does its own redirection, appending to config.log.
28943 # Unfortunately, on DOS this fails, as config.log is still kept open
28944 # by configure, so config.status won't be able to write to it; its
28945 # output is simply discarded. So we exec the FD to /dev/null,
28946 # effectively closing config.log, so it can be properly (re)opened and
28947 # appended to by config.status. When coming back to configure, we
28948 # need to make the FD available again.
28949 if test "$no_create" != yes; then
28950 ac_cs_success=:
28951 ac_config_status_args=
28952 test "$silent" = yes &&
28953 ac_config_status_args="$ac_config_status_args --quiet"
28954 exec 5>/dev/null
28955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28956 exec 5>>config.log
28957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28958 # would make configure fail if this is the last instruction.
28959 $ac_cs_success || as_fn_exit $?
28961 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28963 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}