Daily bump.
[official-gcc.git] / libgfortran / configure
blobcd176b04a14e44d67da3e93fe56919cb1130ba90
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software 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 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME='libgfortran'
590 PACKAGE_VERSION='0.3'
591 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
631 ac_header_list=
632 ac_func_list=
633 ac_c_werror_flag=
634 ac_c_werror_flag=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 get_gcc_base_ver
640 HAVE_AVX128_FALSE
641 HAVE_AVX128_TRUE
642 tmake_file
643 IEEE_FLAGS
644 IEEE_SUPPORT
645 IEEE_SUPPORT_FALSE
646 IEEE_SUPPORT_TRUE
647 FPU_HOST_HEADER
648 USE_IEC_60559
649 LIBQUADINCLUDE
650 LIBQUADLIB_DEP
651 LIBQUADLIB
652 LIBQUADSPEC
653 extra_ldflags_libgfortran
654 ac_ct_FC
655 FCFLAGS
657 enable_static
658 enable_shared
659 lt_host_flags
660 LIBM
661 OTOOL64
662 OTOOL
663 LIPO
664 NMEDIT
665 DSYMUTIL
666 OBJDUMP
667 LN_S
669 ac_ct_DUMPBIN
670 DUMPBIN
671 LIBTOOL
672 RANLIB
675 HAVE_HWCAP_FALSE
676 HAVE_HWCAP_TRUE
677 HWCAP_LDFLAGS
679 FGREP
681 SECTION_FLAGS
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
685 LIBGFOR_MINIMAL_TRUE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
692 AM_CFLAGS
693 AM_FCFLAGS
694 HAVE_REAL_17_FALSE
695 HAVE_REAL_17_TRUE
696 toolexeclibdir
697 toolexecdir
698 EGREP
699 GREP
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__quote
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
718 multi_basedir
719 MAINT
720 MAINTAINER_MODE_FALSE
721 MAINTAINER_MODE_TRUE
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_noncanonical
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 target_subdir
759 host_subdir
760 build_subdir
761 build_libsubdir
762 build_os
763 build_vendor
764 build_cpu
765 build
766 target_alias
767 host_alias
768 build_alias
769 LIBS
770 ECHO_T
771 ECHO_N
772 ECHO_C
773 DEFS
774 mandir
775 localedir
776 libdir
777 psdir
778 pdfdir
779 dvidir
780 htmldir
781 infodir
782 docdir
783 oldincludedir
784 includedir
785 localstatedir
786 sharedstatedir
787 sysconfdir
788 datadir
789 datarootdir
790 libexecdir
791 sbindir
792 bindir
793 program_transform_name
794 prefix
795 exec_prefix
796 PACKAGE_URL
797 PACKAGE_BUGREPORT
798 PACKAGE_STRING
799 PACKAGE_VERSION
800 PACKAGE_TARNAME
801 PACKAGE_NAME
802 PATH_SEPARATOR
803 SHELL'
804 ac_subst_files=''
805 ac_user_opts='
806 enable_option_checking
807 with_build_libsubdir
808 enable_version_specific_runtime_libs
809 enable_silent_rules
810 enable_maintainer_mode
811 enable_multilib
812 enable_dependency_tracking
813 with_toolexeclibdir
814 enable_cet
815 enable_symvers
816 with_gnu_ld
817 enable_shared
818 enable_static
819 with_pic
820 enable_fast_install
821 enable_libtool_lock
822 enable_largefile
823 enable_libquadmath_support
824 with_gcc_major_version_only
826 ac_precious_vars='build_alias
827 host_alias
828 target_alias
830 CFLAGS
831 LDFLAGS
832 LIBS
833 CPPFLAGS
836 FCFLAGS'
839 # Initialize some variables set by options.
840 ac_init_help=
841 ac_init_version=false
842 ac_unrecognized_opts=
843 ac_unrecognized_sep=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
846 cache_file=/dev/null
847 exec_prefix=NONE
848 no_create=
849 no_recursion=
850 prefix=NONE
851 program_prefix=NONE
852 program_suffix=NONE
853 program_transform_name=s,x,x,
854 silent=
855 site=
856 srcdir=
857 verbose=
858 x_includes=NONE
859 x_libraries=NONE
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir='${exec_prefix}/bin'
868 sbindir='${exec_prefix}/sbin'
869 libexecdir='${exec_prefix}/libexec'
870 datarootdir='${prefix}/share'
871 datadir='${datarootdir}'
872 sysconfdir='${prefix}/etc'
873 sharedstatedir='${prefix}/com'
874 localstatedir='${prefix}/var'
875 includedir='${prefix}/include'
876 oldincludedir='/usr/include'
877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir='${datarootdir}/info'
879 htmldir='${docdir}'
880 dvidir='${docdir}'
881 pdfdir='${docdir}'
882 psdir='${docdir}'
883 libdir='${exec_prefix}/lib'
884 localedir='${datarootdir}/locale'
885 mandir='${datarootdir}/man'
887 ac_prev=
888 ac_dashdash=
889 for ac_option
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\$ac_option
894 ac_prev=
895 continue
898 case $ac_option in
899 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 *=) ac_optarg= ;;
901 *) ac_optarg=yes ;;
902 esac
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
908 ac_dashdash=yes ;;
910 -bindir | --bindir | --bindi | --bind | --bin | --bi)
911 ac_prev=bindir ;;
912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 bindir=$ac_optarg ;;
915 -build | --build | --buil | --bui | --bu)
916 ac_prev=build_alias ;;
917 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
918 build_alias=$ac_optarg ;;
920 -cache-file | --cache-file | --cache-fil | --cache-fi \
921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
922 ac_prev=cache_file ;;
923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
925 cache_file=$ac_optarg ;;
927 --config-cache | -C)
928 cache_file=config.cache ;;
930 -datadir | --datadir | --datadi | --datad)
931 ac_prev=datadir ;;
932 -datadir=* | --datadir=* | --datadi=* | --datad=*)
933 datadir=$ac_optarg ;;
935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
936 | --dataroo | --dataro | --datar)
937 ac_prev=datarootdir ;;
938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
940 datarootdir=$ac_optarg ;;
942 -disable-* | --disable-*)
943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 as_fn_error $? "invalid feature name: $ac_useropt"
947 ac_useropt_orig=$ac_useropt
948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
951 "enable_$ac_useropt"
952 "*) ;;
953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep=', ';;
955 esac
956 eval enable_$ac_useropt=no ;;
958 -docdir | --docdir | --docdi | --doc | --do)
959 ac_prev=docdir ;;
960 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 docdir=$ac_optarg ;;
963 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
964 ac_prev=dvidir ;;
965 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 dvidir=$ac_optarg ;;
968 -enable-* | --enable-*)
969 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
972 as_fn_error $? "invalid feature name: $ac_useropt"
973 ac_useropt_orig=$ac_useropt
974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
977 "enable_$ac_useropt"
978 "*) ;;
979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep=', ';;
981 esac
982 eval enable_$ac_useropt=\$ac_optarg ;;
984 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
985 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
986 | --exec | --exe | --ex)
987 ac_prev=exec_prefix ;;
988 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
989 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
990 | --exec=* | --exe=* | --ex=*)
991 exec_prefix=$ac_optarg ;;
993 -gas | --gas | --ga | --g)
994 # Obsolete; use --with-gas.
995 with_gas=yes ;;
997 -help | --help | --hel | --he | -h)
998 ac_init_help=long ;;
999 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1000 ac_init_help=recursive ;;
1001 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1002 ac_init_help=short ;;
1004 -host | --host | --hos | --ho)
1005 ac_prev=host_alias ;;
1006 -host=* | --host=* | --hos=* | --ho=*)
1007 host_alias=$ac_optarg ;;
1009 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1010 ac_prev=htmldir ;;
1011 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1012 | --ht=*)
1013 htmldir=$ac_optarg ;;
1015 -includedir | --includedir | --includedi | --included | --include \
1016 | --includ | --inclu | --incl | --inc)
1017 ac_prev=includedir ;;
1018 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1019 | --includ=* | --inclu=* | --incl=* | --inc=*)
1020 includedir=$ac_optarg ;;
1022 -infodir | --infodir | --infodi | --infod | --info | --inf)
1023 ac_prev=infodir ;;
1024 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1025 infodir=$ac_optarg ;;
1027 -libdir | --libdir | --libdi | --libd)
1028 ac_prev=libdir ;;
1029 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1030 libdir=$ac_optarg ;;
1032 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1033 | --libexe | --libex | --libe)
1034 ac_prev=libexecdir ;;
1035 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1036 | --libexe=* | --libex=* | --libe=*)
1037 libexecdir=$ac_optarg ;;
1039 -localedir | --localedir | --localedi | --localed | --locale)
1040 ac_prev=localedir ;;
1041 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1042 localedir=$ac_optarg ;;
1044 -localstatedir | --localstatedir | --localstatedi | --localstated \
1045 | --localstate | --localstat | --localsta | --localst | --locals)
1046 ac_prev=localstatedir ;;
1047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1048 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1049 localstatedir=$ac_optarg ;;
1051 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1052 ac_prev=mandir ;;
1053 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1054 mandir=$ac_optarg ;;
1056 -nfp | --nfp | --nf)
1057 # Obsolete; use --without-fp.
1058 with_fp=no ;;
1060 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1061 | --no-cr | --no-c | -n)
1062 no_create=yes ;;
1064 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1065 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 no_recursion=yes ;;
1068 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1069 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1070 | --oldin | --oldi | --old | --ol | --o)
1071 ac_prev=oldincludedir ;;
1072 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1073 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1074 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1075 oldincludedir=$ac_optarg ;;
1077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1078 ac_prev=prefix ;;
1079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1080 prefix=$ac_optarg ;;
1082 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1083 | --program-pre | --program-pr | --program-p)
1084 ac_prev=program_prefix ;;
1085 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1086 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1087 program_prefix=$ac_optarg ;;
1089 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1090 | --program-suf | --program-su | --program-s)
1091 ac_prev=program_suffix ;;
1092 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1093 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1094 program_suffix=$ac_optarg ;;
1096 -program-transform-name | --program-transform-name \
1097 | --program-transform-nam | --program-transform-na \
1098 | --program-transform-n | --program-transform- \
1099 | --program-transform | --program-transfor \
1100 | --program-transfo | --program-transf \
1101 | --program-trans | --program-tran \
1102 | --progr-tra | --program-tr | --program-t)
1103 ac_prev=program_transform_name ;;
1104 -program-transform-name=* | --program-transform-name=* \
1105 | --program-transform-nam=* | --program-transform-na=* \
1106 | --program-transform-n=* | --program-transform-=* \
1107 | --program-transform=* | --program-transfor=* \
1108 | --program-transfo=* | --program-transf=* \
1109 | --program-trans=* | --program-tran=* \
1110 | --progr-tra=* | --program-tr=* | --program-t=*)
1111 program_transform_name=$ac_optarg ;;
1113 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1114 ac_prev=pdfdir ;;
1115 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1116 pdfdir=$ac_optarg ;;
1118 -psdir | --psdir | --psdi | --psd | --ps)
1119 ac_prev=psdir ;;
1120 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 psdir=$ac_optarg ;;
1123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1124 | -silent | --silent | --silen | --sile | --sil)
1125 silent=yes ;;
1127 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1128 ac_prev=sbindir ;;
1129 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1130 | --sbi=* | --sb=*)
1131 sbindir=$ac_optarg ;;
1133 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1134 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1135 | --sharedst | --shareds | --shared | --share | --shar \
1136 | --sha | --sh)
1137 ac_prev=sharedstatedir ;;
1138 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1139 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1140 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1141 | --sha=* | --sh=*)
1142 sharedstatedir=$ac_optarg ;;
1144 -site | --site | --sit)
1145 ac_prev=site ;;
1146 -site=* | --site=* | --sit=*)
1147 site=$ac_optarg ;;
1149 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1150 ac_prev=srcdir ;;
1151 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1152 srcdir=$ac_optarg ;;
1154 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1155 | --syscon | --sysco | --sysc | --sys | --sy)
1156 ac_prev=sysconfdir ;;
1157 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1158 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1159 sysconfdir=$ac_optarg ;;
1161 -target | --target | --targe | --targ | --tar | --ta | --t)
1162 ac_prev=target_alias ;;
1163 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1164 target_alias=$ac_optarg ;;
1166 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 verbose=yes ;;
1169 -version | --version | --versio | --versi | --vers | -V)
1170 ac_init_version=: ;;
1172 -with-* | --with-*)
1173 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176 as_fn_error $? "invalid package name: $ac_useropt"
1177 ac_useropt_orig=$ac_useropt
1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1181 "with_$ac_useropt"
1182 "*) ;;
1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep=', ';;
1185 esac
1186 eval with_$ac_useropt=\$ac_optarg ;;
1188 -without-* | --without-*)
1189 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 as_fn_error $? "invalid package name: $ac_useropt"
1193 ac_useropt_orig=$ac_useropt
1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1197 "with_$ac_useropt"
1198 "*) ;;
1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep=', ';;
1201 esac
1202 eval with_$ac_useropt=no ;;
1204 --x)
1205 # Obsolete; use --with-x.
1206 with_x=yes ;;
1208 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1209 | --x-incl | --x-inc | --x-in | --x-i)
1210 ac_prev=x_includes ;;
1211 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1212 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1213 x_includes=$ac_optarg ;;
1215 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1216 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1217 ac_prev=x_libraries ;;
1218 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1219 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1220 x_libraries=$ac_optarg ;;
1222 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1226 *=*)
1227 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' | [0-9]* | *[!_$as_cr_alnum]* )
1231 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1232 esac
1233 eval $ac_envvar=\$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244 esac
1245 done
1247 if test -n "$ac_prev"; then
1248 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error $? "missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1254 no) ;;
1255 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 esac
1260 # Check all directory arguments for consistency.
1261 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val=\$$ac_var
1267 # Remove trailing slashes.
1268 case $ac_val in
1269 */ )
1270 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\$ac_val;;
1272 esac
1273 # Be sure to have absolute directory names.
1274 case $ac_val in
1275 [\\/$]* | ?:[\\/]* ) continue;;
1276 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1277 esac
1278 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 done
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1284 build=$build_alias
1285 host=$host_alias
1286 target=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x; then
1290 if test "x$build_alias" = x; then
1291 cross_compiling=maybe
1292 elif test "x$build_alias" != "x$host_alias"; then
1293 cross_compiling=yes
1297 ac_tool_prefix=
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1300 test "$silent" = yes && exec 6>/dev/null
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $? "pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 s//\1/
1325 /^X\(\/\/\)[^/].*/{
1326 s//\1/
1329 /^X\(\/\/\)$/{
1330 s//\1/
1333 /^X\(\/\).*/{
1334 s//\1/
1337 s/.*/./; q'`
1338 srcdir=$ac_confdir
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 srcdir=..
1342 else
1343 ac_srcdir_defaulted=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 ac_abs_confdir=`(
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 pwd)`
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 srcdir=.
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1360 case $srcdir in
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 esac
1363 for ac_var in $ac_precious_vars; do
1364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_${ac_var}_value=\$${ac_var}
1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368 done
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1376 cat <<_ACEOF
1377 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1386 Configuration:
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 [PREFIX]
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1430 _ACEOF
1432 cat <<\_ACEOF
1434 Program names:
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1439 System types:
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 --target=TARGET configure for building compilers for TARGET [HOST]
1443 _ACEOF
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1449 esac
1450 cat <<\_ACEOF
1452 Optional Features:
1453 --disable-option-checking ignore unrecognized --enable/--with options
1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1456 --enable-version-specific-runtime-libs
1457 specify that runtime libraries should be installed
1458 in a compiler-specific directory
1459 --enable-silent-rules less verbose build output (undo: "make V=1")
1460 --disable-silent-rules verbose build output (undo: "make V=0")
1461 --enable-maintainer-mode
1462 enable make rules and dependencies not useful (and
1463 sometimes confusing) to the casual installer
1464 --enable-multilib build many library versions (default)
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-cet enable Intel CET in target libraries [default=auto]
1470 --disable-symvers disable symbol versioning for libgfortran
1471 --enable-shared[=PKGS] build shared libraries [default=yes]
1472 --enable-static[=PKGS] build static libraries [default=yes]
1473 --enable-fast-install[=PKGS]
1474 optimize for fast installation [default=yes]
1475 --disable-libtool-lock avoid locking (might break parallel builds)
1476 --disable-largefile omit support for large files
1477 --disable-libquadmath-support
1478 disable libquadmath support for Fortran
1480 Optional Packages:
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --with-build-libsubdir=DIR Directory where to find libraries for build system
1484 --with-toolexeclibdir=DIR
1485 install libraries built with a cross compiler within
1487 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1488 --with-pic try to use only PIC/non-PIC objects [default=use
1489 both]
1490 --with-gcc-major-version-only
1491 use only GCC major number in filesystem paths
1493 Some influential environment variables:
1494 CC C compiler command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1497 nonstandard directory <lib dir>
1498 LIBS libraries to pass to the linker, e.g. -l<library>
1499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1500 you have headers in a nonstandard directory <include dir>
1501 CPP C preprocessor
1502 FC Fortran compiler command
1503 FCFLAGS Fortran compiler flags
1505 Use these variables to override the choices made by `configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to the package provider.
1509 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1510 General help using GNU software: <http://www.gnu.org/gethelp/>.
1511 _ACEOF
1512 ac_status=$?
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 continue
1521 ac_builddir=.
1523 case "$ac_dir" in
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532 esac ;;
1533 esac
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1539 case $srcdir in
1540 .) # We are building in place.
1541 ac_srcdir=.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1548 *) # Relative name.
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552 esac
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1558 echo &&
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1561 echo &&
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1563 else
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1565 fi || ac_status=$?
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1567 done
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1572 cat <<\_ACEOF
1573 GNU Fortran Runtime Library configure 0.3
1574 generated by GNU Autoconf 2.69
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1579 _ACEOF
1580 exit
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1602 ac_status=$?
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1613 ac_retval=0
1614 else
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1618 ac_retval=1
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_cpp ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_cpp conftest.$ac_ext"
1632 case "(($ac_try" in
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1635 esac
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1639 ac_status=$?
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 }; then :
1650 ac_retval=0
1651 else
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1655 ac_retval=1
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1660 } # ac_fn_c_try_cpp
1662 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1666 # accordingly.
1667 ac_fn_c_check_header_mongrel ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1676 eval ac_res=\$$3
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1679 else
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1686 #include <$2>
1687 _ACEOF
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1690 else
1691 ac_header_compiler=no
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1702 #include <$2>
1703 _ACEOF
1704 if ac_fn_c_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1706 else
1707 ac_header_preproc=no
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1715 yes:no: )
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1721 no:yes:* )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 esac
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1738 else
1739 eval "$3=\$ac_header_compiler"
1741 eval ac_res=\$$3
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 } # ac_fn_c_check_header_mongrel
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1753 ac_fn_c_try_run ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_link"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>&5
1764 ac_status=$?
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1767 { { case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_try") 2>&5
1774 ac_status=$?
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; }; }; then :
1777 ac_retval=0
1778 else
1779 $as_echo "$as_me: program exited with status $ac_status" >&5
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=$ac_status
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1789 } # ac_fn_c_try_run
1791 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists and can be compiled using the include files in
1794 # INCLUDES, setting the cache variable VAR accordingly.
1795 ac_fn_c_check_header_compile ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1802 else
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1806 #include <$2>
1807 _ACEOF
1808 if ac_fn_c_try_compile "$LINENO"; then :
1809 eval "$3=yes"
1810 else
1811 eval "$3=no"
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 eval ac_res=\$$3
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_header_compile
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_link ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1830 case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1837 ac_status=$?
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 test -x conftest$ac_exeext
1850 }; then :
1851 ac_retval=0
1852 else
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1856 ac_retval=1
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status $ac_retval
1866 } # ac_fn_c_try_link
1868 # ac_fn_c_check_func LINENO FUNC VAR
1869 # ----------------------------------
1870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1871 ac_fn_c_check_func ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1878 else
1879 if test x$gcc_no_link = xyes; then
1880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1893 #ifdef __STDC__
1894 # include <limits.h>
1895 #else
1896 # include <assert.h>
1897 #endif
1899 #undef $2
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1904 #ifdef __cplusplus
1905 extern "C"
1906 #endif
1907 char $2 ();
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1912 choke me
1913 #endif
1916 main ()
1918 return $2 ();
1920 return 0;
1922 _ACEOF
1923 if ac_fn_c_try_link "$LINENO"; then :
1924 eval "$3=yes"
1925 else
1926 eval "$3=no"
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1931 eval ac_res=\$$3
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1938 # ac_fn_fc_try_compile LINENO
1939 # ---------------------------
1940 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_fc_try_compile ()
1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944 rm -f conftest.$ac_objext
1945 if { { ac_try="$ac_compile"
1946 case "(($ac_try" in
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_compile") 2>conftest.err
1953 ac_status=$?
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && {
1961 test -z "$ac_fc_werror_flag" ||
1962 test ! -s conftest.err
1963 } && test -s conftest.$ac_objext; then :
1964 ac_retval=0
1965 else
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1969 ac_retval=1
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_fc_try_compile
1976 # ac_fn_fc_try_link LINENO
1977 # ------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_fc_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_fc_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 test -x conftest$ac_exeext
2004 }; then :
2005 ac_retval=0
2006 else
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2010 ac_retval=1
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status $ac_retval
2020 } # ac_fn_fc_try_link
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \${$3+:} false; then :
2032 $as_echo_n "(cached) " >&6
2033 else
2034 eval "$3=no"
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2039 main ()
2041 if (sizeof ($2))
2042 return 0;
2044 return 0;
2046 _ACEOF
2047 if ac_fn_c_try_compile "$LINENO"; then :
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2052 main ()
2054 if (sizeof (($2)))
2055 return 0;
2057 return 0;
2059 _ACEOF
2060 if ac_fn_c_try_compile "$LINENO"; then :
2062 else
2063 eval "$3=yes"
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 eval ac_res=\$$3
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_type
2076 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2077 # --------------------------------------------
2078 # Tries to find the compile-time value of EXPR in a program that includes
2079 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2080 # computed
2081 ac_fn_c_compute_int ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if test "$cross_compiling" = yes; then
2085 # Depending upon the size, compute the lo and hi bounds.
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2090 main ()
2092 static int test_array [1 - 2 * !(($2) >= 0)];
2093 test_array [0] = 0;
2094 return test_array [0];
2097 return 0;
2099 _ACEOF
2100 if ac_fn_c_try_compile "$LINENO"; then :
2101 ac_lo=0 ac_mid=0
2102 while :; do
2103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2107 main ()
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2110 test_array [0] = 0;
2111 return test_array [0];
2114 return 0;
2116 _ACEOF
2117 if ac_fn_c_try_compile "$LINENO"; then :
2118 ac_hi=$ac_mid; break
2119 else
2120 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2121 if test $ac_lo -le $ac_mid; then
2122 ac_lo= ac_hi=
2123 break
2125 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 done
2129 else
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2134 main ()
2136 static int test_array [1 - 2 * !(($2) < 0)];
2137 test_array [0] = 0;
2138 return test_array [0];
2141 return 0;
2143 _ACEOF
2144 if ac_fn_c_try_compile "$LINENO"; then :
2145 ac_hi=-1 ac_mid=-1
2146 while :; do
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2151 main ()
2153 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2154 test_array [0] = 0;
2155 return test_array [0];
2158 return 0;
2160 _ACEOF
2161 if ac_fn_c_try_compile "$LINENO"; then :
2162 ac_lo=$ac_mid; break
2163 else
2164 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2165 if test $ac_mid -le $ac_hi; then
2166 ac_lo= ac_hi=
2167 break
2169 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 done
2173 else
2174 ac_lo= ac_hi=
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 # Binary search between lo and hi bounds.
2180 while test "x$ac_lo" != "x$ac_hi"; do
2181 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2186 main ()
2188 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2189 test_array [0] = 0;
2190 return test_array [0];
2193 return 0;
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197 ac_hi=$ac_mid
2198 else
2199 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 done
2203 case $ac_lo in #((
2204 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2205 '') ac_retval=1 ;;
2206 esac
2207 else
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 static long int longval () { return $2; }
2212 static unsigned long int ulongval () { return $2; }
2213 #include <stdio.h>
2214 #include <stdlib.h>
2216 main ()
2219 FILE *f = fopen ("conftest.val", "w");
2220 if (! f)
2221 return 1;
2222 if (($2) < 0)
2224 long int i = longval ();
2225 if (i != ($2))
2226 return 1;
2227 fprintf (f, "%ld", i);
2229 else
2231 unsigned long int i = ulongval ();
2232 if (i != ($2))
2233 return 1;
2234 fprintf (f, "%lu", i);
2236 /* Do not output a trailing newline, as this causes \r\n confusion
2237 on some platforms. */
2238 return ferror (f) || fclose (f) != 0;
2241 return 0;
2243 _ACEOF
2244 if ac_fn_c_try_run "$LINENO"; then :
2245 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2246 else
2247 ac_retval=1
2249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2250 conftest.$ac_objext conftest.beam conftest.$ac_ext
2251 rm -f conftest.val
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 as_fn_set_status $ac_retval
2257 } # ac_fn_c_compute_int
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member ()
2265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if eval \${$4+:} false; then :
2269 $as_echo_n "(cached) " >&6
2270 else
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2275 main ()
2277 static $2 ac_aggr;
2278 if (ac_aggr.$3)
2279 return 0;
2281 return 0;
2283 _ACEOF
2284 if ac_fn_c_try_compile "$LINENO"; then :
2285 eval "$4=yes"
2286 else
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2291 main ()
2293 static $2 ac_aggr;
2294 if (sizeof ac_aggr.$3)
2295 return 0;
2297 return 0;
2299 _ACEOF
2300 if ac_fn_c_try_compile "$LINENO"; then :
2301 eval "$4=yes"
2302 else
2303 eval "$4=no"
2305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2309 eval ac_res=\$$4
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2314 } # ac_fn_c_check_member
2315 cat >config.log <<_ACEOF
2316 This file contains any messages produced by compilers while
2317 running configure, to aid debugging if configure makes a mistake.
2319 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2320 generated by GNU Autoconf 2.69. Invocation command line was
2322 $ $0 $@
2324 _ACEOF
2325 exec 5>>config.log
2327 cat <<_ASUNAME
2328 ## --------- ##
2329 ## Platform. ##
2330 ## --------- ##
2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2344 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2349 _ASUNAME
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 $as_echo "PATH: $as_dir"
2357 done
2358 IFS=$as_save_IFS
2360 } >&5
2362 cat >&5 <<_ACEOF
2365 ## ----------- ##
2366 ## Core tests. ##
2367 ## ----------- ##
2369 _ACEOF
2372 # Keep a trace of the command line.
2373 # Strip out --no-create and --no-recursion so they do not pile up.
2374 # Strip out --silent because we don't want to record it for future runs.
2375 # Also quote any args containing shell meta-characters.
2376 # Make two passes to allow for proper duplicate-argument suppression.
2377 ac_configure_args=
2378 ac_configure_args0=
2379 ac_configure_args1=
2380 ac_must_keep_next=false
2381 for ac_pass in 1 2
2383 for ac_arg
2385 case $ac_arg in
2386 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2388 | -silent | --silent | --silen | --sile | --sil)
2389 continue ;;
2390 *\'*)
2391 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 esac
2393 case $ac_pass in
2394 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2396 as_fn_append ac_configure_args1 " '$ac_arg'"
2397 if test $ac_must_keep_next = true; then
2398 ac_must_keep_next=false # Got value, back to normal.
2399 else
2400 case $ac_arg in
2401 *=* | --config-cache | -C | -disable-* | --disable-* \
2402 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2403 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2404 | -with-* | --with-* | -without-* | --without-* | --x)
2405 case "$ac_configure_args0 " in
2406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2407 esac
2409 -* ) ac_must_keep_next=true ;;
2410 esac
2412 as_fn_append ac_configure_args " '$ac_arg'"
2414 esac
2415 done
2416 done
2417 { ac_configure_args0=; unset ac_configure_args0;}
2418 { ac_configure_args1=; unset ac_configure_args1;}
2420 # When interrupted or exit'd, cleanup temporary files, and complete
2421 # config.log. We remove comments because anyway the quotes in there
2422 # would cause problems or look ugly.
2423 # WARNING: Use '\'' to represent an apostrophe within the trap.
2424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2425 trap 'exit_status=$?
2426 # Save into config.log some information that might help in debugging.
2428 echo
2430 $as_echo "## ---------------- ##
2431 ## Cache variables. ##
2432 ## ---------------- ##"
2433 echo
2434 # The following way of writing the cache mishandles newlines in values,
2436 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2437 eval ac_val=\$$ac_var
2438 case $ac_val in #(
2439 *${as_nl}*)
2440 case $ac_var in #(
2441 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2443 esac
2444 case $ac_var in #(
2445 _ | IFS | as_nl) ;; #(
2446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2447 *) { eval $ac_var=; unset $ac_var;} ;;
2448 esac ;;
2449 esac
2450 done
2451 (set) 2>&1 |
2452 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2453 *${as_nl}ac_space=\ *)
2454 sed -n \
2455 "s/'\''/'\''\\\\'\'''\''/g;
2456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2457 ;; #(
2459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2461 esac |
2462 sort
2464 echo
2466 $as_echo "## ----------------- ##
2467 ## Output variables. ##
2468 ## ----------------- ##"
2469 echo
2470 for ac_var in $ac_subst_vars
2472 eval ac_val=\$$ac_var
2473 case $ac_val in
2474 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2475 esac
2476 $as_echo "$ac_var='\''$ac_val'\''"
2477 done | sort
2478 echo
2480 if test -n "$ac_subst_files"; then
2481 $as_echo "## ------------------- ##
2482 ## File substitutions. ##
2483 ## ------------------- ##"
2484 echo
2485 for ac_var in $ac_subst_files
2487 eval ac_val=\$$ac_var
2488 case $ac_val in
2489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2490 esac
2491 $as_echo "$ac_var='\''$ac_val'\''"
2492 done | sort
2493 echo
2496 if test -s confdefs.h; then
2497 $as_echo "## ----------- ##
2498 ## confdefs.h. ##
2499 ## ----------- ##"
2500 echo
2501 cat confdefs.h
2502 echo
2504 test "$ac_signal" != 0 &&
2505 $as_echo "$as_me: caught signal $ac_signal"
2506 $as_echo "$as_me: exit $exit_status"
2507 } >&5
2508 rm -f core *.core core.conftest.* &&
2509 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2510 exit $exit_status
2512 for ac_signal in 1 2 13 15; do
2513 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2514 done
2515 ac_signal=0
2517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2518 rm -f -r conftest* confdefs.h
2520 $as_echo "/* confdefs.h */" > confdefs.h
2522 # Predefined preprocessor variables.
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_NAME "$PACKAGE_NAME"
2526 _ACEOF
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2530 _ACEOF
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2534 _ACEOF
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_STRING "$PACKAGE_STRING"
2538 _ACEOF
2540 cat >>confdefs.h <<_ACEOF
2541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2542 _ACEOF
2544 cat >>confdefs.h <<_ACEOF
2545 #define PACKAGE_URL "$PACKAGE_URL"
2546 _ACEOF
2549 # Let the site file select an alternate cache file if it wants to.
2550 # Prefer an explicitly selected file to automatically selected ones.
2551 ac_site_file1=NONE
2552 ac_site_file2=NONE
2553 if test -n "$CONFIG_SITE"; then
2554 # We do not want a PATH search for config.site.
2555 case $CONFIG_SITE in #((
2556 -*) ac_site_file1=./$CONFIG_SITE;;
2557 */*) ac_site_file1=$CONFIG_SITE;;
2558 *) ac_site_file1=./$CONFIG_SITE;;
2559 esac
2560 elif test "x$prefix" != xNONE; then
2561 ac_site_file1=$prefix/share/config.site
2562 ac_site_file2=$prefix/etc/config.site
2563 else
2564 ac_site_file1=$ac_default_prefix/share/config.site
2565 ac_site_file2=$ac_default_prefix/etc/config.site
2567 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2569 test "x$ac_site_file" = xNONE && continue
2570 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2573 sed 's/^/| /' "$ac_site_file" >&5
2574 . "$ac_site_file" \
2575 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $? "failed to load site script $ac_site_file
2578 See \`config.log' for more details" "$LINENO" 5; }
2580 done
2582 if test -r "$cache_file"; then
2583 # Some versions of bash will fail to source /dev/null (special files
2584 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2585 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2587 $as_echo "$as_me: loading cache $cache_file" >&6;}
2588 case $cache_file in
2589 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2590 *) . "./$cache_file";;
2591 esac
2593 else
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2595 $as_echo "$as_me: creating cache $cache_file" >&6;}
2596 >$cache_file
2599 as_fn_append ac_header_list " unistd.h"
2600 as_fn_append ac_header_list " sys/random.h"
2601 as_fn_append ac_header_list " sys/time.h"
2602 as_fn_append ac_header_list " sys/times.h"
2603 as_fn_append ac_header_list " sys/resource.h"
2604 as_fn_append ac_header_list " sys/types.h"
2605 as_fn_append ac_header_list " sys/stat.h"
2606 as_fn_append ac_header_list " sys/uio.h"
2607 as_fn_append ac_header_list " sys/wait.h"
2608 as_fn_append ac_header_list " floatingpoint.h"
2609 as_fn_append ac_header_list " ieeefp.h"
2610 as_fn_append ac_header_list " fenv.h"
2611 as_fn_append ac_header_list " fptrap.h"
2612 as_fn_append ac_header_list " fpxcp.h"
2613 as_fn_append ac_header_list " pwd.h"
2614 as_fn_append ac_header_list " complex.h"
2615 as_fn_append ac_header_list " xlocale.h"
2616 as_fn_append ac_func_list " getrusage"
2617 as_fn_append ac_func_list " times"
2618 as_fn_append ac_func_list " mkstemp"
2619 as_fn_append ac_func_list " strtof"
2620 as_fn_append ac_func_list " strtold"
2621 as_fn_append ac_func_list " snprintf"
2622 as_fn_append ac_func_list " ftruncate"
2623 as_fn_append ac_func_list " chsize"
2624 as_fn_append ac_func_list " chdir"
2625 as_fn_append ac_func_list " getentropy"
2626 as_fn_append ac_func_list " getlogin"
2627 as_fn_append ac_func_list " gethostname"
2628 as_fn_append ac_func_list " kill"
2629 as_fn_append ac_func_list " link"
2630 as_fn_append ac_func_list " symlink"
2631 as_fn_append ac_func_list " sleep"
2632 as_fn_append ac_func_list " ttyname"
2633 as_fn_append ac_func_list " sigaction"
2634 as_fn_append ac_func_list " waitpid"
2635 as_fn_append ac_func_list " alarm"
2636 as_fn_append ac_func_list " access"
2637 as_fn_append ac_func_list " fork"
2638 as_fn_append ac_func_list " posix_spawn"
2639 as_fn_append ac_func_list " setmode"
2640 as_fn_append ac_func_list " fcntl"
2641 as_fn_append ac_func_list " writev"
2642 as_fn_append ac_func_list " gettimeofday"
2643 as_fn_append ac_func_list " stat"
2644 as_fn_append ac_func_list " fstat"
2645 as_fn_append ac_func_list " lstat"
2646 as_fn_append ac_func_list " getpwuid"
2647 as_fn_append ac_func_list " vsnprintf"
2648 as_fn_append ac_func_list " dup"
2649 as_fn_append ac_func_list " getcwd"
2650 as_fn_append ac_func_list " localtime_r"
2651 as_fn_append ac_func_list " gmtime_r"
2652 as_fn_append ac_func_list " getpwuid_r"
2653 as_fn_append ac_func_list " ttyname_r"
2654 as_fn_append ac_func_list " clock_gettime"
2655 as_fn_append ac_func_list " getgid"
2656 as_fn_append ac_func_list " getpid"
2657 as_fn_append ac_func_list " getuid"
2658 as_fn_append ac_func_list " geteuid"
2659 as_fn_append ac_func_list " umask"
2660 as_fn_append ac_func_list " getegid"
2661 as_fn_append ac_func_list " secure_getenv"
2662 as_fn_append ac_func_list " __secure_getenv"
2663 as_fn_append ac_func_list " mkostemp"
2664 as_fn_append ac_func_list " strnlen"
2665 as_fn_append ac_func_list " strndup"
2666 as_fn_append ac_func_list " newlocale"
2667 as_fn_append ac_func_list " freelocale"
2668 as_fn_append ac_func_list " uselocale"
2669 as_fn_append ac_func_list " strerror_l"
2670 as_fn_append ac_func_list " strtof128"
2671 as_fn_append ac_func_list " strfromf128"
2672 as_fn_append ac_header_list " math.h"
2673 # Check that the precious variables saved in the cache have kept the same
2674 # value.
2675 ac_cache_corrupted=false
2676 for ac_var in $ac_precious_vars; do
2677 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2678 eval ac_new_set=\$ac_env_${ac_var}_set
2679 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2680 eval ac_new_val=\$ac_env_${ac_var}_value
2681 case $ac_old_set,$ac_new_set in
2682 set,)
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2684 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2685 ac_cache_corrupted=: ;;
2686 ,set)
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2689 ac_cache_corrupted=: ;;
2690 ,);;
2692 if test "x$ac_old_val" != "x$ac_new_val"; then
2693 # differences in whitespace do not lead to failure.
2694 ac_old_val_w=`echo x $ac_old_val`
2695 ac_new_val_w=`echo x $ac_new_val`
2696 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2698 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2699 ac_cache_corrupted=:
2700 else
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2702 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2703 eval $ac_var=\$ac_old_val
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2706 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2708 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2709 fi;;
2710 esac
2711 # Pass precious variables to config.status.
2712 if test "$ac_new_set" = set; then
2713 case $ac_new_val in
2714 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2715 *) ac_arg=$ac_var=$ac_new_val ;;
2716 esac
2717 case " $ac_configure_args " in
2718 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2719 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2720 esac
2722 done
2723 if $ac_cache_corrupted; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2727 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2728 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2730 ## -------------------- ##
2731 ## Main body of script. ##
2732 ## -------------------- ##
2734 ac_ext=c
2735 ac_cpp='$CPP $CPPFLAGS'
2736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2744 ac_config_headers="$ac_config_headers config.h"
2746 ac_aux_dir=
2747 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2748 if test -f "$ac_dir/install-sh"; then
2749 ac_aux_dir=$ac_dir
2750 ac_install_sh="$ac_aux_dir/install-sh -c"
2751 break
2752 elif test -f "$ac_dir/install.sh"; then
2753 ac_aux_dir=$ac_dir
2754 ac_install_sh="$ac_aux_dir/install.sh -c"
2755 break
2756 elif test -f "$ac_dir/shtool"; then
2757 ac_aux_dir=$ac_dir
2758 ac_install_sh="$ac_aux_dir/shtool install -c"
2759 break
2761 done
2762 if test -z "$ac_aux_dir"; then
2763 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2766 # These three variables are undocumented and unsupported,
2767 # and are intended to be withdrawn in a future Autoconf release.
2768 # They can cause serious problems if a builder's source tree is in a directory
2769 # whose full name contains unusual characters.
2770 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2771 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2772 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2775 # Make sure we can run config.sub.
2776 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2777 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2780 $as_echo_n "checking build system type... " >&6; }
2781 if ${ac_cv_build+:} false; then :
2782 $as_echo_n "(cached) " >&6
2783 else
2784 ac_build_alias=$build_alias
2785 test "x$ac_build_alias" = x &&
2786 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2787 test "x$ac_build_alias" = x &&
2788 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2789 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2790 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2794 $as_echo "$ac_cv_build" >&6; }
2795 case $ac_cv_build in
2796 *-*-*) ;;
2797 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2798 esac
2799 build=$ac_cv_build
2800 ac_save_IFS=$IFS; IFS='-'
2801 set x $ac_cv_build
2802 shift
2803 build_cpu=$1
2804 build_vendor=$2
2805 shift; shift
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2808 build_os=$*
2809 IFS=$ac_save_IFS
2810 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2813 case ${build_alias} in
2814 "") build_noncanonical=${build} ;;
2815 *) build_noncanonical=${build_alias} ;;
2816 esac
2818 case ${host_alias} in
2819 "") host_noncanonical=${build_noncanonical} ;;
2820 *) host_noncanonical=${host_alias} ;;
2821 esac
2823 case ${target_alias} in
2824 "") target_noncanonical=${host_noncanonical} ;;
2825 *) target_noncanonical=${target_alias} ;;
2826 esac
2829 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2830 # have matching libraries, they should use host libraries: Makefile.tpl
2831 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2832 # However, they still use the build modules, because the corresponding
2833 # host modules (e.g. bison) are only built for the host when bootstrap
2834 # finishes. So:
2835 # - build_subdir is where we find build modules, and never changes.
2836 # - build_libsubdir is where we find build libraries, and can be overridden.
2838 # Prefix 'build-' so this never conflicts with target_subdir.
2839 build_subdir="build-${build_noncanonical}"
2841 # Check whether --with-build-libsubdir was given.
2842 if test "${with_build_libsubdir+set}" = set; then :
2843 withval=$with_build_libsubdir; build_libsubdir="$withval"
2844 else
2845 build_libsubdir="$build_subdir"
2848 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2849 if ( test $srcdir = . && test -d gcc ) \
2850 || test -d $srcdir/../host-${host_noncanonical}; then
2851 host_subdir="host-${host_noncanonical}"
2852 else
2853 host_subdir=.
2855 # No prefix.
2856 target_subdir=${target_noncanonical}
2859 # -------
2860 # Options
2861 # -------
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2865 # Check whether --enable-version-specific-runtime-libs was given.
2866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2867 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2868 yes) version_specific_libs=yes ;;
2869 no) version_specific_libs=no ;;
2870 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2871 esac
2872 else
2873 version_specific_libs=no
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2877 $as_echo "$version_specific_libs" >&6; }
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2881 # You will slowly go insane if you do not grok the following fact: when
2882 # building this library, the top-level /target/ becomes the library's /host/.
2884 # configure then causes --target to default to --host, exactly like any
2885 # other package using autoconf. Therefore, 'target' and 'host' will
2886 # always be the same. This makes sense both for native and cross compilers
2887 # just think about it for a little while. :-)
2889 # Also, if this library is being configured as part of a cross compiler, the
2890 # top-level configure script will pass the "real" host as $with_cross_host.
2892 # Do not delete or change the following two lines. For why, see
2893 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2895 $as_echo_n "checking host system type... " >&6; }
2896 if ${ac_cv_host+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 if test "x$host_alias" = x; then
2900 ac_cv_host=$ac_cv_build
2901 else
2902 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2903 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2908 $as_echo "$ac_cv_host" >&6; }
2909 case $ac_cv_host in
2910 *-*-*) ;;
2911 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2912 esac
2913 host=$ac_cv_host
2914 ac_save_IFS=$IFS; IFS='-'
2915 set x $ac_cv_host
2916 shift
2917 host_cpu=$1
2918 host_vendor=$2
2919 shift; shift
2920 # Remember, the first character of IFS is used to create $*,
2921 # except with old shells:
2922 host_os=$*
2923 IFS=$ac_save_IFS
2924 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2928 $as_echo_n "checking target system type... " >&6; }
2929 if ${ac_cv_target+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 if test "x$target_alias" = x; then
2933 ac_cv_target=$ac_cv_host
2934 else
2935 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2936 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2941 $as_echo "$ac_cv_target" >&6; }
2942 case $ac_cv_target in
2943 *-*-*) ;;
2944 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2945 esac
2946 target=$ac_cv_target
2947 ac_save_IFS=$IFS; IFS='-'
2948 set x $ac_cv_target
2949 shift
2950 target_cpu=$1
2951 target_vendor=$2
2952 shift; shift
2953 # Remember, the first character of IFS is used to create $*,
2954 # except with old shells:
2955 target_os=$*
2956 IFS=$ac_save_IFS
2957 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2960 # The aliases save the names the user supplied, while $host etc.
2961 # will get canonicalized.
2962 test -n "$target_alias" &&
2963 test "$program_prefix$program_suffix$program_transform_name" = \
2964 NONENONEs,x,x, &&
2965 program_prefix=${target_alias}-
2970 target_alias=${target_alias-$host_alias}
2973 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2974 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2975 # 1.9.6: minimum required version
2976 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2977 # of other PACKAGE_* variables will, however, and there's nothing
2978 # we can do about that; they come from AC_INIT).
2979 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2980 # file in the top srcdir, etc, etc), so stop complaining.
2981 # no-dist: we don't want 'dist' and related rules.
2982 # -Wall: turns on all automake warnings...
2983 # -Wno-portability: ...except this one, since GNU make is required.
2984 am__api_version='1.15'
2986 # Find a good install program. We prefer a C program (faster),
2987 # so one script is as good as another. But avoid the broken or
2988 # incompatible versions:
2989 # SysV /etc/install, /usr/sbin/install
2990 # SunOS /usr/etc/install
2991 # IRIX /sbin/install
2992 # AIX /bin/install
2993 # AmigaOS /C/install, which installs bootblocks on floppy discs
2994 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2995 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2996 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2997 # OS/2's system install, which has a completely different semantic
2998 # ./install, which can be erroneously created by make from ./install.sh.
2999 # Reject install programs that cannot install multiple files.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3001 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3002 if test -z "$INSTALL"; then
3003 if ${ac_cv_path_install+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 for as_dir in $PATH
3009 IFS=$as_save_IFS
3010 test -z "$as_dir" && as_dir=.
3011 # Account for people who put trailing slashes in PATH elements.
3012 case $as_dir/ in #((
3013 ./ | .// | /[cC]/* | \
3014 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3015 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3016 /usr/ucb/* ) ;;
3018 # OSF1 and SCO ODT 3.0 have their own names for install.
3019 # Don't use installbsd from OSF since it installs stuff as root
3020 # by default.
3021 for ac_prog in ginstall scoinst install; do
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3024 if test $ac_prog = install &&
3025 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3026 # AIX install. It has an incompatible calling convention.
3028 elif test $ac_prog = install &&
3029 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3030 # program-specific install script used by HP pwplus--don't use.
3032 else
3033 rm -rf conftest.one conftest.two conftest.dir
3034 echo one > conftest.one
3035 echo two > conftest.two
3036 mkdir conftest.dir
3037 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3038 test -s conftest.one && test -s conftest.two &&
3039 test -s conftest.dir/conftest.one &&
3040 test -s conftest.dir/conftest.two
3041 then
3042 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3043 break 3
3047 done
3048 done
3050 esac
3052 done
3053 IFS=$as_save_IFS
3055 rm -rf conftest.one conftest.two conftest.dir
3058 if test "${ac_cv_path_install+set}" = set; then
3059 INSTALL=$ac_cv_path_install
3060 else
3061 # As a last resort, use the slow shell script. Don't cache a
3062 # value for INSTALL within a source directory, because that will
3063 # break other packages using the cache if that directory is
3064 # removed, or if the value is a relative name.
3065 INSTALL=$ac_install_sh
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3069 $as_echo "$INSTALL" >&6; }
3071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3072 # It thinks the first close brace ends the variable substitution.
3073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3077 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3080 $as_echo_n "checking whether build environment is sane... " >&6; }
3081 # Reject unsafe characters in $srcdir or the absolute working directory
3082 # name. Accept space and tab only in the latter.
3083 am_lf='
3085 case `pwd` in
3086 *[\\\"\#\$\&\'\`$am_lf]*)
3087 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3088 esac
3089 case $srcdir in
3090 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3091 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3092 esac
3094 # Do 'set' in a subshell so we don't clobber the current shell's
3095 # arguments. Must try -L first in case configure is actually a
3096 # symlink; some systems play weird games with the mod time of symlinks
3097 # (eg FreeBSD returns the mod time of the symlink's containing
3098 # directory).
3099 if (
3100 am_has_slept=no
3101 for am_try in 1 2; do
3102 echo "timestamp, slept: $am_has_slept" > conftest.file
3103 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3104 if test "$*" = "X"; then
3105 # -L didn't work.
3106 set X `ls -t "$srcdir/configure" conftest.file`
3108 if test "$*" != "X $srcdir/configure conftest.file" \
3109 && test "$*" != "X conftest.file $srcdir/configure"; then
3111 # If neither matched, then we have a broken ls. This can happen
3112 # if, for instance, CONFIG_SHELL is bash and it inherits a
3113 # broken ls alias from the environment. This has actually
3114 # happened. Such a system could not be considered "sane".
3115 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3116 alias in your environment" "$LINENO" 5
3118 if test "$2" = conftest.file || test $am_try -eq 2; then
3119 break
3121 # Just in case.
3122 sleep 1
3123 am_has_slept=yes
3124 done
3125 test "$2" = conftest.file
3127 then
3128 # Ok.
3130 else
3131 as_fn_error $? "newly created file is older than distributed files!
3132 Check your system clock" "$LINENO" 5
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135 $as_echo "yes" >&6; }
3136 # If we didn't sleep, we still need to ensure time stamps of config.status and
3137 # generated files are strictly newer.
3138 am_sleep_pid=
3139 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3140 ( sleep 1 ) &
3141 am_sleep_pid=$!
3144 rm -f conftest.file
3146 test "$program_prefix" != NONE &&
3147 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3148 # Use a double $ so make ignores it.
3149 test "$program_suffix" != NONE &&
3150 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3151 # Double any \ or $.
3152 # By default was `s,x,x', remove it if useless.
3153 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3154 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3156 # Expand $ac_aux_dir to an absolute path.
3157 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3159 if test x"${MISSING+set}" != xset; then
3160 case $am_aux_dir in
3161 *\ * | *\ *)
3162 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3164 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3165 esac
3167 # Use eval to expand $SHELL
3168 if eval "$MISSING --is-lightweight"; then
3169 am_missing_run="$MISSING "
3170 else
3171 am_missing_run=
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3173 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3176 if test x"${install_sh+set}" != xset; then
3177 case $am_aux_dir in
3178 *\ * | *\ *)
3179 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3181 install_sh="\${SHELL} $am_aux_dir/install-sh"
3182 esac
3185 # Installed binaries are usually stripped using 'strip' when the user
3186 # run "make install-strip". However 'strip' might not be the right
3187 # tool to use in cross-compilation environments, therefore Automake
3188 # will honor the 'STRIP' environment variable to overrule this program.
3189 if test "$cross_compiling" != no; then
3190 if test -n "$ac_tool_prefix"; then
3191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3192 set dummy ${ac_tool_prefix}strip; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_STRIP+:} false; then :
3196 $as_echo_n "(cached) " >&6
3197 else
3198 if test -n "$STRIP"; then
3199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3200 else
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 for as_dir in $PATH
3204 IFS=$as_save_IFS
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 break 2
3212 done
3213 done
3214 IFS=$as_save_IFS
3218 STRIP=$ac_cv_prog_STRIP
3219 if test -n "$STRIP"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3221 $as_echo "$STRIP" >&6; }
3222 else
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3229 if test -z "$ac_cv_prog_STRIP"; then
3230 ac_ct_STRIP=$STRIP
3231 # Extract the first word of "strip", so it can be a program name with args.
3232 set dummy strip; ac_word=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3236 $as_echo_n "(cached) " >&6
3237 else
3238 if test -n "$ac_ct_STRIP"; then
3239 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3240 else
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH
3244 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=.
3246 for ac_exec_ext in '' $ac_executable_extensions; do
3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_STRIP="strip"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 break 2
3252 done
3253 done
3254 IFS=$as_save_IFS
3258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3259 if test -n "$ac_ct_STRIP"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3261 $as_echo "$ac_ct_STRIP" >&6; }
3262 else
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3267 if test "x$ac_ct_STRIP" = x; then
3268 STRIP=":"
3269 else
3270 case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3275 esac
3276 STRIP=$ac_ct_STRIP
3278 else
3279 STRIP="$ac_cv_prog_STRIP"
3283 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3286 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3287 if test -z "$MKDIR_P"; then
3288 if ${ac_cv_path_mkdir+:} false; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3294 IFS=$as_save_IFS
3295 test -z "$as_dir" && as_dir=.
3296 for ac_prog in mkdir gmkdir; do
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3299 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3300 'mkdir (GNU coreutils) '* | \
3301 'mkdir (coreutils) '* | \
3302 'mkdir (fileutils) '4.1*)
3303 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3304 break 3;;
3305 esac
3306 done
3307 done
3308 done
3309 IFS=$as_save_IFS
3313 test -d ./--version && rmdir ./--version
3314 if test "${ac_cv_path_mkdir+set}" = set; then
3315 MKDIR_P="$ac_cv_path_mkdir -p"
3316 else
3317 # As a last resort, use the slow shell script. Don't cache a
3318 # value for MKDIR_P within a source directory, because that will
3319 # break other packages using the cache if that directory is
3320 # removed, or if the value is a relative name.
3321 MKDIR_P="$ac_install_sh -d"
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3325 $as_echo "$MKDIR_P" >&6; }
3327 for ac_prog in gawk mawk nawk awk
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy $ac_prog; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if ${ac_cv_prog_AWK+:} false; then :
3334 $as_echo_n "(cached) " >&6
3335 else
3336 if test -n "$AWK"; then
3337 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3342 IFS=$as_save_IFS
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346 ac_cv_prog_AWK="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 break 2
3350 done
3351 done
3352 IFS=$as_save_IFS
3356 AWK=$ac_cv_prog_AWK
3357 if test -n "$AWK"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3359 $as_echo "$AWK" >&6; }
3360 else
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$AWK" && break
3367 done
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3370 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3371 set x ${MAKE-make}
3372 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3373 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3374 $as_echo_n "(cached) " >&6
3375 else
3376 cat >conftest.make <<\_ACEOF
3377 SHELL = /bin/sh
3378 all:
3379 @echo '@@@%%%=$(MAKE)=@@@%%%'
3380 _ACEOF
3381 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3382 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3383 *@@@%%%=?*=@@@%%%*)
3384 eval ac_cv_prog_make_${ac_make}_set=yes;;
3386 eval ac_cv_prog_make_${ac_make}_set=no;;
3387 esac
3388 rm -f conftest.make
3390 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3392 $as_echo "yes" >&6; }
3393 SET_MAKE=
3394 else
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 SET_MAKE="MAKE=${MAKE-make}"
3400 rm -rf .tst 2>/dev/null
3401 mkdir .tst 2>/dev/null
3402 if test -d .tst; then
3403 am__leading_dot=.
3404 else
3405 am__leading_dot=_
3407 rmdir .tst 2>/dev/null
3409 # Check whether --enable-silent-rules was given.
3410 if test "${enable_silent_rules+set}" = set; then :
3411 enableval=$enable_silent_rules;
3414 case $enable_silent_rules in # (((
3415 yes) AM_DEFAULT_VERBOSITY=0;;
3416 no) AM_DEFAULT_VERBOSITY=1;;
3417 *) AM_DEFAULT_VERBOSITY=1;;
3418 esac
3419 am_make=${MAKE-make}
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3421 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3422 if ${am_cv_make_support_nested_variables+:} false; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 if $as_echo 'TRUE=$(BAR$(V))
3426 BAR0=false
3427 BAR1=true
3429 am__doit:
3430 @$(TRUE)
3431 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3432 am_cv_make_support_nested_variables=yes
3433 else
3434 am_cv_make_support_nested_variables=no
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3438 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3439 if test $am_cv_make_support_nested_variables = yes; then
3440 AM_V='$(V)'
3441 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3442 else
3443 AM_V=$AM_DEFAULT_VERBOSITY
3444 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3446 AM_BACKSLASH='\'
3448 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3449 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3450 # is not polluted with repeated "-I."
3451 am__isrc=' -I$(srcdir)'
3452 # test to see if srcdir already configured
3453 if test -f $srcdir/config.status; then
3454 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3458 # test whether we have cygpath
3459 if test -z "$CYGPATH_W"; then
3460 if (cygpath --version) >/dev/null 2>/dev/null; then
3461 CYGPATH_W='cygpath -w'
3462 else
3463 CYGPATH_W=echo
3468 # Define the identity of the package.
3469 PACKAGE='libgfortran'
3470 VERSION='0.3'
3473 # Some tools Automake needs.
3475 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3478 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3481 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3484 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3489 # For better backward compatibility. To be removed once Automake 1.9.x
3490 # dies out for good. For more background, see:
3491 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3493 mkdir_p='$(MKDIR_P)'
3495 # We need awk for the "check" target (and possibly the TAP driver). The
3496 # system "awk" is bad on some platforms.
3497 # Always define AMTAR for backward compatibility. Yes, it's still used
3498 # in the wild :-( We should find a proper way to deprecate it ...
3499 AMTAR='$${TAR-tar}'
3502 # We'll loop over all known methods to create a tar archive until one works.
3503 _am_tools='gnutar pax cpio none'
3505 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3512 # POSIX will say in a future version that running "rm -f" with no argument
3513 # is OK; and we want to be able to make that assumption in our Makefile
3514 # recipes. So use an aggressive probe to check that the usage we want is
3515 # actually supported "in the wild" to an acceptable degree.
3516 # See automake bug#10828.
3517 # To make any issue more visible, cause the running configure to be aborted
3518 # by default if the 'rm' program in use doesn't match our expectations; the
3519 # user can still override this though.
3520 if rm -f && rm -fr && rm -rf; then : OK; else
3521 cat >&2 <<'END'
3522 Oops!
3524 Your 'rm' program seems unable to run without file operands specified
3525 on the command line, even when the '-f' option is present. This is contrary
3526 to the behaviour of most rm programs out there, and not conforming with
3527 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3529 Please tell bug-automake@gnu.org about your system, including the value
3530 of your $PATH and any error possibly output before this message. This
3531 can help us improve future automake versions.
3534 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3535 echo 'Configuration will proceed anyway, since you have set the' >&2
3536 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3537 echo >&2
3538 else
3539 cat >&2 <<'END'
3540 Aborting the configuration process, to ensure you take notice of the issue.
3542 You can download and install GNU coreutils to get an 'rm' implementation
3543 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3545 If you want to complete the configuration process using your problematic
3546 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3547 to "yes", and re-run configure.
3550 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3557 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3558 # Check whether --enable-maintainer-mode was given.
3559 if test "${enable_maintainer_mode+set}" = set; then :
3560 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3561 else
3562 USE_MAINTAINER_MODE=no
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3566 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3567 if test $USE_MAINTAINER_MODE = yes; then
3568 MAINTAINER_MODE_TRUE=
3569 MAINTAINER_MODE_FALSE='#'
3570 else
3571 MAINTAINER_MODE_TRUE='#'
3572 MAINTAINER_MODE_FALSE=
3575 MAINT=$MAINTAINER_MODE_TRUE
3578 # Default to --enable-multilib
3579 # Check whether --enable-multilib was given.
3580 if test "${enable_multilib+set}" = set; then :
3581 enableval=$enable_multilib; case "$enableval" in
3582 yes) multilib=yes ;;
3583 no) multilib=no ;;
3584 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3585 esac
3586 else
3587 multilib=yes
3591 # We may get other options which we leave undocumented:
3592 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3593 # See config-ml.in if you want the gory details.
3595 if test "$srcdir" = "."; then
3596 if test "$with_target_subdir" != "."; then
3597 multi_basedir="$srcdir/$with_multisrctop../.."
3598 else
3599 multi_basedir="$srcdir/$with_multisrctop.."
3601 else
3602 multi_basedir="$srcdir/.."
3606 # Even if the default multilib is not a cross compilation,
3607 # it may be that some of the other multilibs are.
3608 if test $cross_compiling = no && test $multilib = yes \
3609 && test "x${with_multisubdir}" != x ; then
3610 cross_compiling=maybe
3613 ac_config_commands="$ac_config_commands default-1"
3616 # Handy for debugging:
3617 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3619 # Are we being configured with some form of cross compiler?
3620 # NB: We don't actually need to know this just now, but when, say, a test
3621 # suite is included, we'll have to know.
3622 if test "$build" != "$host"; then
3623 LIBGFOR_IS_NATIVE=false
3625 else
3626 LIBGFOR_IS_NATIVE=true
3629 DEPDIR="${am__leading_dot}deps"
3631 ac_config_commands="$ac_config_commands depfiles"
3634 am_make=${MAKE-make}
3635 cat > confinc << 'END'
3636 am__doit:
3637 @echo this is the am__doit target
3638 .PHONY: am__doit
3640 # If we don't find an include directive, just comment out the code.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3642 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3643 am__include="#"
3644 am__quote=
3645 _am_result=none
3646 # First try GNU make style include.
3647 echo "include confinc" > confmf
3648 # Ignore all kinds of additional output from 'make'.
3649 case `$am_make -s -f confmf 2> /dev/null` in #(
3650 *the\ am__doit\ target*)
3651 am__include=include
3652 am__quote=
3653 _am_result=GNU
3655 esac
3656 # Now try BSD make style include.
3657 if test "$am__include" = "#"; then
3658 echo '.include "confinc"' > confmf
3659 case `$am_make -s -f confmf 2> /dev/null` in #(
3660 *the\ am__doit\ target*)
3661 am__include=.include
3662 am__quote="\""
3663 _am_result=BSD
3665 esac
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3670 $as_echo "$_am_result" >&6; }
3671 rm -f confinc confmf
3673 # Check whether --enable-dependency-tracking was given.
3674 if test "${enable_dependency_tracking+set}" = set; then :
3675 enableval=$enable_dependency_tracking;
3678 if test "x$enable_dependency_tracking" != xno; then
3679 am_depcomp="$ac_aux_dir/depcomp"
3680 AMDEPBACKSLASH='\'
3681 am__nodep='_no'
3683 if test "x$enable_dependency_tracking" != xno; then
3684 AMDEP_TRUE=
3685 AMDEP_FALSE='#'
3686 else
3687 AMDEP_TRUE='#'
3688 AMDEP_FALSE=
3692 ac_ext=c
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC="$CC" # Let the user override the test.
3707 else
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 break 2
3719 done
3720 done
3721 IFS=$as_save_IFS
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3736 if test -z "$ac_cv_prog_CC"; then
3737 ac_ct_CC=$CC
3738 # Extract the first word of "gcc", so it can be a program name with args.
3739 set dummy gcc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$ac_ct_CC"; then
3746 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_CC="gcc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3765 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766 if test -n "$ac_ct_CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768 $as_echo "$ac_ct_CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3774 if test "x$ac_ct_CC" = x; then
3775 CC=""
3776 else
3777 case $cross_compiling:$ac_tool_warned in
3778 yes:)
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781 ac_tool_warned=yes ;;
3782 esac
3783 CC=$ac_ct_CC
3785 else
3786 CC="$ac_cv_prog_CC"
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792 set dummy ${ac_tool_prefix}cc; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_CC+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC="$CC" # Let the user override the test.
3800 else
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 for as_dir in $PATH
3804 IFS=$as_save_IFS
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC="${ac_tool_prefix}cc"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 break 2
3812 done
3813 done
3814 IFS=$as_save_IFS
3818 CC=$ac_cv_prog_CC
3819 if test -n "$CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 $as_echo "$CC" >&6; }
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3830 if test -z "$CC"; then
3831 # Extract the first word of "cc", so it can be a program name with args.
3832 set dummy cc; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3837 else
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 else
3841 ac_prog_rejected=no
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3849 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850 ac_prog_rejected=yes
3851 continue
3853 ac_cv_prog_CC="cc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3861 if test $ac_prog_rejected = yes; then
3862 # We found a bogon in the path, so make sure we never use it.
3863 set dummy $ac_cv_prog_CC
3864 shift
3865 if test $# != 0; then
3866 # We chose a different compiler from the bogus one.
3867 # However, it has the same basename, so the bogon will be chosen
3868 # first if we set CC to just the basename; use the full file name.
3869 shift
3870 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3875 CC=$ac_cv_prog_CC
3876 if test -n "$CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878 $as_echo "$CC" >&6; }
3879 else
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 for ac_prog in cl.exe
3890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_CC+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC="$CC" # Let the user override the test.
3899 else
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH
3903 IFS=$as_save_IFS
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 break 2
3911 done
3912 done
3913 IFS=$as_save_IFS
3917 CC=$ac_cv_prog_CC
3918 if test -n "$CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920 $as_echo "$CC" >&6; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3927 test -n "$CC" && break
3928 done
3930 if test -z "$CC"; then
3931 ac_ct_CC=$CC
3932 for ac_prog in cl.exe
3934 # Extract the first word of "$ac_prog", so it can be a program name with args.
3935 set dummy $ac_prog; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$ac_ct_CC"; then
3942 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_ac_ct_CC="$ac_prog"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3957 IFS=$as_save_IFS
3961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3962 if test -n "$ac_ct_CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964 $as_echo "$ac_ct_CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3971 test -n "$ac_ct_CC" && break
3972 done
3974 if test "x$ac_ct_CC" = x; then
3975 CC=""
3976 else
3977 case $cross_compiling:$ac_tool_warned in
3978 yes:)
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned=yes ;;
3982 esac
3983 CC=$ac_ct_CC
3990 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error $? "no acceptable C compiler found in \$PATH
3993 See \`config.log' for more details" "$LINENO" 5; }
3995 # Provide some information about the compiler.
3996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3997 set X $ac_compile
3998 ac_compiler=$2
3999 for ac_option in --version -v -V -qversion; do
4000 { { ac_try="$ac_compiler $ac_option >&5"
4001 case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4008 ac_status=$?
4009 if test -s conftest.err; then
4010 sed '10a\
4011 ... rest of stderr output deleted ...
4012 10q' conftest.err >conftest.er1
4013 cat conftest.er1 >&5
4015 rm -f conftest.er1 conftest.err
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }
4018 done
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <stdio.h>
4024 main ()
4026 printf ("hello world\n");
4028 return 0;
4030 _ACEOF
4031 # FIXME: Cleanup?
4032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4033 (eval $ac_link) 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 gcc_no_link=no
4038 else
4039 gcc_no_link=yes
4041 if test x$gcc_no_link = xyes; then
4042 # Setting cross_compile will disable run tests; it will
4043 # also disable AC_CHECK_FILE but that's generally
4044 # correct if we can't link.
4045 cross_compiling=yes
4046 EXEEXT=
4047 else
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4052 main ()
4056 return 0;
4058 _ACEOF
4059 ac_clean_files_save=$ac_clean_files
4060 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4061 # Try to create an executable without -o first, disregard a.out.
4062 # It will help us diagnose broken compilers, and finding out an intuition
4063 # of exeext.
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4065 $as_echo_n "checking whether the C compiler works... " >&6; }
4066 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4068 # The possible output files:
4069 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4071 ac_rmfiles=
4072 for ac_file in $ac_files
4074 case $ac_file in
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4076 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4077 esac
4078 done
4079 rm -f $ac_rmfiles
4081 if { { ac_try="$ac_link_default"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_link_default") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4093 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4094 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4095 # so that the user can short-circuit this test for compilers unknown to
4096 # Autoconf.
4097 for ac_file in $ac_files ''
4099 test -f "$ac_file" || continue
4100 case $ac_file in
4101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4103 [ab].out )
4104 # We found the default executable, but exeext='' is most
4105 # certainly right.
4106 break;;
4107 *.* )
4108 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4109 then :; else
4110 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4112 # We set ac_cv_exeext here because the later test for it is not
4113 # safe: cross compilers may not add the suffix if given an `-o'
4114 # argument, so we may need to know it at that point already.
4115 # Even if this section looks crufty: it has the advantage of
4116 # actually working.
4117 break;;
4119 break;;
4120 esac
4121 done
4122 test "$ac_cv_exeext" = no && ac_cv_exeext=
4124 else
4125 ac_file=''
4127 if test -z "$ac_file"; then :
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4130 $as_echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.$ac_ext >&5
4133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135 as_fn_error 77 "C compiler cannot create executables
4136 See \`config.log' for more details" "$LINENO" 5; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4139 $as_echo "yes" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4142 $as_echo_n "checking for C compiler default output file name... " >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4144 $as_echo "$ac_file" >&6; }
4145 ac_exeext=$ac_cv_exeext
4147 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4148 ac_clean_files=$ac_clean_files_save
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4150 $as_echo_n "checking for suffix of executables... " >&6; }
4151 if { { ac_try="$ac_link"
4152 case "(($ac_try" in
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4155 esac
4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link") 2>&5
4159 ac_status=$?
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }; then :
4162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4164 # work properly (i.e., refer to `conftest.exe'), while it won't with
4165 # `rm'.
4166 for ac_file in conftest.exe conftest conftest.*; do
4167 test -f "$ac_file" || continue
4168 case $ac_file in
4169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4170 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4171 break;;
4172 * ) break;;
4173 esac
4174 done
4175 else
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4179 See \`config.log' for more details" "$LINENO" 5; }
4181 rm -f conftest conftest$ac_cv_exeext
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4183 $as_echo "$ac_cv_exeext" >&6; }
4185 rm -f conftest.$ac_ext
4186 EXEEXT=$ac_cv_exeext
4187 ac_exeext=$EXEEXT
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4190 #include <stdio.h>
4192 main ()
4194 FILE *f = fopen ("conftest.out", "w");
4195 return ferror (f) || fclose (f) != 0;
4198 return 0;
4200 _ACEOF
4201 ac_clean_files="$ac_clean_files conftest.out"
4202 # Check that the compiler produces executables we can run. If not, either
4203 # the compiler is broken, or we cross compile.
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4205 $as_echo_n "checking whether we are cross compiling... " >&6; }
4206 if test "$cross_compiling" != yes; then
4207 { { ac_try="$ac_link"
4208 case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4211 esac
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_link") 2>&5
4215 ac_status=$?
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }
4218 if { ac_try='./conftest$ac_cv_exeext'
4219 { { case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_try") 2>&5
4226 ac_status=$?
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }; }; then
4229 cross_compiling=no
4230 else
4231 if test "$cross_compiling" = maybe; then
4232 cross_compiling=yes
4233 else
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $? "cannot run C compiled programs.
4237 If you meant to cross compile, use \`--host'.
4238 See \`config.log' for more details" "$LINENO" 5; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4243 $as_echo "$cross_compiling" >&6; }
4245 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4246 ac_clean_files=$ac_clean_files_save
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4249 $as_echo_n "checking for suffix of object files... " >&6; }
4250 if ${ac_cv_objext+:} false; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 rm -f conftest.o conftest.obj
4265 if { { ac_try="$ac_compile"
4266 case "(($ac_try" in
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4269 esac
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_compile") 2>&5
4273 ac_status=$?
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 for ac_file in conftest.o conftest.obj conftest.*; do
4277 test -f "$ac_file" || continue;
4278 case $ac_file in
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4280 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4281 break;;
4282 esac
4283 done
4284 else
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error $? "cannot compute suffix of object files: cannot compile
4291 See \`config.log' for more details" "$LINENO" 5; }
4293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4296 $as_echo "$ac_cv_objext" >&6; }
4297 OBJEXT=$ac_cv_objext
4298 ac_objext=$OBJEXT
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4301 if ${ac_cv_c_compiler_gnu+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4308 main ()
4310 #ifndef __GNUC__
4311 choke me
4312 #endif
4315 return 0;
4317 _ACEOF
4318 if ac_fn_c_try_compile "$LINENO"; then :
4319 ac_compiler_gnu=yes
4320 else
4321 ac_compiler_gnu=no
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4329 if test $ac_compiler_gnu = yes; then
4330 GCC=yes
4331 else
4332 GCC=
4334 ac_test_CFLAGS=${CFLAGS+set}
4335 ac_save_CFLAGS=$CFLAGS
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4338 if ${ac_cv_prog_cc_g+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_save_c_werror_flag=$ac_c_werror_flag
4342 ac_c_werror_flag=yes
4343 ac_cv_prog_cc_g=no
4344 CFLAGS="-g"
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4349 main ()
4353 return 0;
4355 _ACEOF
4356 if ac_fn_c_try_compile "$LINENO"; then :
4357 ac_cv_prog_cc_g=yes
4358 else
4359 CFLAGS=""
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 main ()
4368 return 0;
4370 _ACEOF
4371 if ac_fn_c_try_compile "$LINENO"; then :
4373 else
4374 ac_c_werror_flag=$ac_save_c_werror_flag
4375 CFLAGS="-g"
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4380 main ()
4384 return 0;
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_g=yes
4390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 ac_c_werror_flag=$ac_save_c_werror_flag
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4398 $as_echo "$ac_cv_prog_cc_g" >&6; }
4399 if test "$ac_test_CFLAGS" = set; then
4400 CFLAGS=$ac_save_CFLAGS
4401 elif test $ac_cv_prog_cc_g = yes; then
4402 if test "$GCC" = yes; then
4403 CFLAGS="-g -O2"
4404 else
4405 CFLAGS="-g"
4407 else
4408 if test "$GCC" = yes; then
4409 CFLAGS="-O2"
4410 else
4411 CFLAGS=
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4416 if ${ac_cv_prog_cc_c89+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 ac_cv_prog_cc_c89=no
4420 ac_save_CC=$CC
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4423 #include <stdarg.h>
4424 #include <stdio.h>
4425 struct stat;
4426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4427 struct buf { int x; };
4428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4429 static char *e (p, i)
4430 char **p;
4431 int i;
4433 return p[i];
4435 static char *f (char * (*g) (char **, int), char **p, ...)
4437 char *s;
4438 va_list v;
4439 va_start (v,p);
4440 s = g (p, va_arg (v,int));
4441 va_end (v);
4442 return s;
4445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4446 function prototypes and stuff, but not '\xHH' hex character constants.
4447 These don't provoke an error unfortunately, instead are silently treated
4448 as 'x'. The following induces an error, until -std is added to get
4449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4450 array size at least. It's necessary to write '\x00'==0 to get something
4451 that's true only with -std. */
4452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4455 inside strings and character constants. */
4456 #define FOO(x) 'x'
4457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4459 int test (int i, double x);
4460 struct s1 {int (*f) (int a);};
4461 struct s2 {int (*f) (double a);};
4462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4463 int argc;
4464 char **argv;
4466 main ()
4468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4470 return 0;
4472 _ACEOF
4473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4476 CC="$ac_save_CC $ac_arg"
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_cv_prog_cc_c89=$ac_arg
4480 rm -f core conftest.err conftest.$ac_objext
4481 test "x$ac_cv_prog_cc_c89" != "xno" && break
4482 done
4483 rm -f conftest.$ac_ext
4484 CC=$ac_save_CC
4487 # AC_CACHE_VAL
4488 case "x$ac_cv_prog_cc_c89" in
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4491 $as_echo "none needed" >&6; } ;;
4492 xno)
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4494 $as_echo "unsupported" >&6; } ;;
4496 CC="$CC $ac_cv_prog_cc_c89"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4499 esac
4500 if test "x$ac_cv_prog_cc_c89" != xno; then :
4504 ac_ext=c
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4510 ac_ext=c
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4516 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4517 if ${am_cv_prog_cc_c_o+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 # Make sure it works both with $CC and with simple cc.
4532 # Following AC_PROG_CC_C_O, we do the test twice because some
4533 # compilers refuse to overwrite an existing .o file with -o,
4534 # though they will create one.
4535 am_cv_prog_cc_c_o=yes
4536 for am_i in 1 2; do
4537 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4538 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4539 ac_status=$?
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } \
4542 && test -f conftest2.$ac_objext; then
4543 : OK
4544 else
4545 am_cv_prog_cc_c_o=no
4546 break
4548 done
4549 rm -f core conftest*
4550 unset am_i
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4553 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4554 if test "$am_cv_prog_cc_c_o" != yes; then
4555 # Losing compiler, so override with the script.
4556 # FIXME: It is wrong to rewrite CC.
4557 # But if we don't then we get into trouble of one sort or another.
4558 # A longer-term fix would be to have automake use am__CC in this case,
4559 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4560 CC="$am_aux_dir/compile $CC"
4562 ac_ext=c
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569 depcc="$CC" am_compiler_list=
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4572 $as_echo_n "checking dependency style of $depcc... " >&6; }
4573 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4577 # We make a subdir and do the tests there. Otherwise we can end up
4578 # making bogus files that we don't know about and never remove. For
4579 # instance it was reported that on HP-UX the gcc test will end up
4580 # making a dummy file named 'D' -- because '-MD' means "put the output
4581 # in D".
4582 rm -rf conftest.dir
4583 mkdir conftest.dir
4584 # Copy depcomp to subdir because otherwise we won't find it if we're
4585 # using a relative directory.
4586 cp "$am_depcomp" conftest.dir
4587 cd conftest.dir
4588 # We will build objects and dependencies in a subdirectory because
4589 # it helps to detect inapplicable dependency modes. For instance
4590 # both Tru64's cc and ICC support -MD to output dependencies as a
4591 # side effect of compilation, but ICC will put the dependencies in
4592 # the current directory while Tru64 will put them in the object
4593 # directory.
4594 mkdir sub
4596 am_cv_CC_dependencies_compiler_type=none
4597 if test "$am_compiler_list" = ""; then
4598 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4600 am__universal=false
4601 case " $depcc " in #(
4602 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4603 esac
4605 for depmode in $am_compiler_list; do
4606 # Setup a source with many dependencies, because some compilers
4607 # like to wrap large dependency lists on column 80 (with \), and
4608 # we should not choose a depcomp mode which is confused by this.
4610 # We need to recreate these files for each test, as the compiler may
4611 # overwrite some of them when testing with obscure command lines.
4612 # This happens at least with the AIX C compiler.
4613 : > sub/conftest.c
4614 for i in 1 2 3 4 5 6; do
4615 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4616 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4617 # Solaris 10 /bin/sh.
4618 echo '/* dummy */' > sub/conftst$i.h
4619 done
4620 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4622 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4623 # mode. It turns out that the SunPro C++ compiler does not properly
4624 # handle '-M -o', and we need to detect this. Also, some Intel
4625 # versions had trouble with output in subdirs.
4626 am__obj=sub/conftest.${OBJEXT-o}
4627 am__minus_obj="-o $am__obj"
4628 case $depmode in
4629 gcc)
4630 # This depmode causes a compiler race in universal mode.
4631 test "$am__universal" = false || continue
4633 nosideeffect)
4634 # After this tag, mechanisms are not by side-effect, so they'll
4635 # only be used when explicitly requested.
4636 if test "x$enable_dependency_tracking" = xyes; then
4637 continue
4638 else
4639 break
4642 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4643 # This compiler won't grok '-c -o', but also, the minuso test has
4644 # not run yet. These depmodes are late enough in the game, and
4645 # so weak that their functioning should not be impacted.
4646 am__obj=conftest.${OBJEXT-o}
4647 am__minus_obj=
4649 none) break ;;
4650 esac
4651 if depmode=$depmode \
4652 source=sub/conftest.c object=$am__obj \
4653 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4654 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4655 >/dev/null 2>conftest.err &&
4656 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4657 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4658 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4659 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4660 # icc doesn't choke on unknown options, it will just issue warnings
4661 # or remarks (even with -Werror). So we grep stderr for any message
4662 # that says an option was ignored or not supported.
4663 # When given -MP, icc 7.0 and 7.1 complain thusly:
4664 # icc: Command line warning: ignoring option '-M'; no argument required
4665 # The diagnosis changed in icc 8.0:
4666 # icc: Command line remark: option '-MP' not supported
4667 if (grep 'ignoring option' conftest.err ||
4668 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4669 am_cv_CC_dependencies_compiler_type=$depmode
4670 break
4673 done
4675 cd ..
4676 rm -rf conftest.dir
4677 else
4678 am_cv_CC_dependencies_compiler_type=none
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4683 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4684 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4687 test "x$enable_dependency_tracking" != xno \
4688 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4689 am__fastdepCC_TRUE=
4690 am__fastdepCC_FALSE='#'
4691 else
4692 am__fastdepCC_TRUE='#'
4693 am__fastdepCC_FALSE=
4698 ac_ext=c
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4705 # On Suns, sometimes $CPP names a directory.
4706 if test -n "$CPP" && test -d "$CPP"; then
4707 CPP=
4709 if test -z "$CPP"; then
4710 if ${ac_cv_prog_CPP+:} false; then :
4711 $as_echo_n "(cached) " >&6
4712 else
4713 # Double quotes because CPP needs to be expanded
4714 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4716 ac_preproc_ok=false
4717 for ac_c_preproc_warn_flag in '' yes
4719 # Use a header file that comes with gcc, so configuring glibc
4720 # with a fresh cross-compiler works.
4721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722 # <limits.h> exists even on freestanding compilers.
4723 # On the NeXT, cc -E runs the code through the compiler's parser,
4724 # not just through cpp. "Syntax error" is here to catch this case.
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 #ifdef __STDC__
4728 # include <limits.h>
4729 #else
4730 # include <assert.h>
4731 #endif
4732 Syntax error
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4736 else
4737 # Broken: fails on valid input.
4738 continue
4740 rm -f conftest.err conftest.i conftest.$ac_ext
4742 # OK, works on sane cases. Now check whether nonexistent headers
4743 # can be detected and how.
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4746 #include <ac_nonexistent.h>
4747 _ACEOF
4748 if ac_fn_c_try_cpp "$LINENO"; then :
4749 # Broken: success on invalid input.
4750 continue
4751 else
4752 # Passes both tests.
4753 ac_preproc_ok=:
4754 break
4756 rm -f conftest.err conftest.i conftest.$ac_ext
4758 done
4759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4760 rm -f conftest.i conftest.err conftest.$ac_ext
4761 if $ac_preproc_ok; then :
4762 break
4765 done
4766 ac_cv_prog_CPP=$CPP
4769 CPP=$ac_cv_prog_CPP
4770 else
4771 ac_cv_prog_CPP=$CPP
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4774 $as_echo "$CPP" >&6; }
4775 ac_preproc_ok=false
4776 for ac_c_preproc_warn_flag in '' yes
4778 # Use a header file that comes with gcc, so configuring glibc
4779 # with a fresh cross-compiler works.
4780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4781 # <limits.h> exists even on freestanding compilers.
4782 # On the NeXT, cc -E runs the code through the compiler's parser,
4783 # not just through cpp. "Syntax error" is here to catch this case.
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4786 #ifdef __STDC__
4787 # include <limits.h>
4788 #else
4789 # include <assert.h>
4790 #endif
4791 Syntax error
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4795 else
4796 # Broken: fails on valid input.
4797 continue
4799 rm -f conftest.err conftest.i conftest.$ac_ext
4801 # OK, works on sane cases. Now check whether nonexistent headers
4802 # can be detected and how.
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 #include <ac_nonexistent.h>
4806 _ACEOF
4807 if ac_fn_c_try_cpp "$LINENO"; then :
4808 # Broken: success on invalid input.
4809 continue
4810 else
4811 # Passes both tests.
4812 ac_preproc_ok=:
4813 break
4815 rm -f conftest.err conftest.i conftest.$ac_ext
4817 done
4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819 rm -f conftest.i conftest.err conftest.$ac_ext
4820 if $ac_preproc_ok; then :
4822 else
4823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4825 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4826 See \`config.log' for more details" "$LINENO" 5; }
4829 ac_ext=c
4830 ac_cpp='$CPP $CPPFLAGS'
4831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4837 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4838 if ${ac_cv_path_GREP+:} false; then :
4839 $as_echo_n "(cached) " >&6
4840 else
4841 if test -z "$GREP"; then
4842 ac_path_GREP_found=false
4843 # Loop through the user's path and test for each of PROGNAME-LIST
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4847 IFS=$as_save_IFS
4848 test -z "$as_dir" && as_dir=.
4849 for ac_prog in grep ggrep; do
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4852 as_fn_executable_p "$ac_path_GREP" || continue
4853 # Check for GNU ac_path_GREP and select it if it is found.
4854 # Check for GNU $ac_path_GREP
4855 case `"$ac_path_GREP" --version 2>&1` in
4856 *GNU*)
4857 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4859 ac_count=0
4860 $as_echo_n 0123456789 >"conftest.in"
4861 while :
4863 cat "conftest.in" "conftest.in" >"conftest.tmp"
4864 mv "conftest.tmp" "conftest.in"
4865 cp "conftest.in" "conftest.nl"
4866 $as_echo 'GREP' >> "conftest.nl"
4867 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4868 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4869 as_fn_arith $ac_count + 1 && ac_count=$as_val
4870 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4871 # Best one so far, save it but keep looking for a better one
4872 ac_cv_path_GREP="$ac_path_GREP"
4873 ac_path_GREP_max=$ac_count
4875 # 10*(2^10) chars as input seems more than enough
4876 test $ac_count -gt 10 && break
4877 done
4878 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4879 esac
4881 $ac_path_GREP_found && break 3
4882 done
4883 done
4884 done
4885 IFS=$as_save_IFS
4886 if test -z "$ac_cv_path_GREP"; then
4887 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4889 else
4890 ac_cv_path_GREP=$GREP
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895 $as_echo "$ac_cv_path_GREP" >&6; }
4896 GREP="$ac_cv_path_GREP"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900 $as_echo_n "checking for egrep... " >&6; }
4901 if ${ac_cv_path_EGREP+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4905 then ac_cv_path_EGREP="$GREP -E"
4906 else
4907 if test -z "$EGREP"; then
4908 ac_path_EGREP_found=false
4909 # Loop through the user's path and test for each of PROGNAME-LIST
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4913 IFS=$as_save_IFS
4914 test -z "$as_dir" && as_dir=.
4915 for ac_prog in egrep; do
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4918 as_fn_executable_p "$ac_path_EGREP" || continue
4919 # Check for GNU ac_path_EGREP and select it if it is found.
4920 # Check for GNU $ac_path_EGREP
4921 case `"$ac_path_EGREP" --version 2>&1` in
4922 *GNU*)
4923 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4925 ac_count=0
4926 $as_echo_n 0123456789 >"conftest.in"
4927 while :
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
4930 mv "conftest.tmp" "conftest.in"
4931 cp "conftest.in" "conftest.nl"
4932 $as_echo 'EGREP' >> "conftest.nl"
4933 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4935 as_fn_arith $ac_count + 1 && ac_count=$as_val
4936 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937 # Best one so far, save it but keep looking for a better one
4938 ac_cv_path_EGREP="$ac_path_EGREP"
4939 ac_path_EGREP_max=$ac_count
4941 # 10*(2^10) chars as input seems more than enough
4942 test $ac_count -gt 10 && break
4943 done
4944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4945 esac
4947 $ac_path_EGREP_found && break 3
4948 done
4949 done
4950 done
4951 IFS=$as_save_IFS
4952 if test -z "$ac_cv_path_EGREP"; then
4953 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4955 else
4956 ac_cv_path_EGREP=$EGREP
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4962 $as_echo "$ac_cv_path_EGREP" >&6; }
4963 EGREP="$ac_cv_path_EGREP"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4967 $as_echo_n "checking for ANSI C header files... " >&6; }
4968 if ${ac_cv_header_stdc+:} false; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4973 #include <stdlib.h>
4974 #include <stdarg.h>
4975 #include <string.h>
4976 #include <float.h>
4979 main ()
4983 return 0;
4985 _ACEOF
4986 if ac_fn_c_try_compile "$LINENO"; then :
4987 ac_cv_header_stdc=yes
4988 else
4989 ac_cv_header_stdc=no
4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993 if test $ac_cv_header_stdc = yes; then
4994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4997 #include <string.h>
4999 _ACEOF
5000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5001 $EGREP "memchr" >/dev/null 2>&1; then :
5003 else
5004 ac_cv_header_stdc=no
5006 rm -f conftest*
5010 if test $ac_cv_header_stdc = yes; then
5011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5014 #include <stdlib.h>
5016 _ACEOF
5017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5018 $EGREP "free" >/dev/null 2>&1; then :
5020 else
5021 ac_cv_header_stdc=no
5023 rm -f conftest*
5027 if test $ac_cv_header_stdc = yes; then
5028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5029 if test "$cross_compiling" = yes; then :
5031 else
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5034 #include <ctype.h>
5035 #include <stdlib.h>
5036 #if ((' ' & 0x0FF) == 0x020)
5037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5039 #else
5040 # define ISLOWER(c) \
5041 (('a' <= (c) && (c) <= 'i') \
5042 || ('j' <= (c) && (c) <= 'r') \
5043 || ('s' <= (c) && (c) <= 'z'))
5044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5045 #endif
5047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5049 main ()
5051 int i;
5052 for (i = 0; i < 256; i++)
5053 if (XOR (islower (i), ISLOWER (i))
5054 || toupper (i) != TOUPPER (i))
5055 return 2;
5056 return 0;
5058 _ACEOF
5059 if ac_fn_c_try_run "$LINENO"; then :
5061 else
5062 ac_cv_header_stdc=no
5064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5065 conftest.$ac_objext conftest.beam conftest.$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5071 $as_echo "$ac_cv_header_stdc" >&6; }
5072 if test $ac_cv_header_stdc = yes; then
5074 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5079 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5080 inttypes.h stdint.h unistd.h
5081 do :
5082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5086 cat >>confdefs.h <<_ACEOF
5087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5088 _ACEOF
5092 done
5096 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5097 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5098 MINIX=yes
5099 else
5100 MINIX=
5104 if test "$MINIX" = yes; then
5106 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5109 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5112 $as_echo "#define _MINIX 1" >>confdefs.h
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5118 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5119 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5125 # define __EXTENSIONS__ 1
5126 $ac_includes_default
5128 main ()
5132 return 0;
5134 _ACEOF
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 ac_cv_safe_to_define___extensions__=yes
5137 else
5138 ac_cv_safe_to_define___extensions__=no
5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5143 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5144 test $ac_cv_safe_to_define___extensions__ = yes &&
5145 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5147 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5149 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5151 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5153 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5158 # Check whether --with-toolexeclibdir was given.
5159 if test "${with_toolexeclibdir+set}" = set; then :
5160 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5164 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5166 esac
5167 else
5168 with_toolexeclibdir=no
5173 # Calculate toolexeclibdir
5174 # Also toolexecdir, though it's only used in toolexeclibdir
5175 case ${version_specific_libs} in
5176 yes)
5177 # Need the gcc compiler version to know where to install libraries
5178 # and header files if --enable-version-specific-runtime-libs option
5179 # is selected.
5180 toolexecdir='$(libdir)/gcc/$(target_alias)'
5181 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5184 if test -n "$with_cross_host" &&
5185 test x"$with_cross_host" != x"no"; then
5186 # Install a library built with a cross compiler in tooldir, not libdir.
5187 toolexecdir='$(exec_prefix)/$(target_alias)'
5188 case ${with_toolexeclibdir} in
5190 toolexeclibdir='$(toolexecdir)/lib'
5193 toolexeclibdir=${with_toolexeclibdir}
5195 esac
5196 else
5197 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5198 toolexeclibdir='$(libdir)'
5200 multi_os_directory=`$CC -print-multi-os-directory`
5201 case $multi_os_directory in
5202 .) ;; # Avoid trailing /.
5203 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5204 esac
5206 esac
5210 # Create a spec file, so that compile/link tests don't fail
5211 test -f libgfortran.spec || touch libgfortran.spec
5213 ac_ext=c
5214 ac_cpp='$CPP $CPPFLAGS'
5215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5219 # Check the compiler.
5220 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5221 # We must force CC to /not/ be precious variables; otherwise
5222 # the wrong, non-multilib-adjusted value will be used in multilibs.
5223 # As a side effect, we have to subst CFLAGS ourselves.
5227 ac_ext=c
5228 ac_cpp='$CPP $CPPFLAGS'
5229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5234 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_CC+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 if test -n "$CC"; then
5241 ac_cv_prog_CC="$CC" # Let the user override the test.
5242 else
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 for as_dir in $PATH
5246 IFS=$as_save_IFS
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 break 2
5254 done
5255 done
5256 IFS=$as_save_IFS
5260 CC=$ac_cv_prog_CC
5261 if test -n "$CC"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5263 $as_echo "$CC" >&6; }
5264 else
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5271 if test -z "$ac_cv_prog_CC"; then
5272 ac_ct_CC=$CC
5273 # Extract the first word of "gcc", so it can be a program name with args.
5274 set dummy gcc; ac_word=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5278 $as_echo_n "(cached) " >&6
5279 else
5280 if test -n "$ac_ct_CC"; then
5281 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5286 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC="gcc"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 break 2
5294 done
5295 done
5296 IFS=$as_save_IFS
5300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 $as_echo "$ac_ct_CC" >&6; }
5304 else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5309 if test "x$ac_ct_CC" = x; then
5310 CC=""
5311 else
5312 case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318 CC=$ac_ct_CC
5320 else
5321 CC="$ac_cv_prog_CC"
5324 if test -z "$CC"; then
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5327 set dummy ${ac_tool_prefix}cc; ac_word=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_CC+:} false; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 if test -n "$CC"; then
5334 ac_cv_prog_CC="$CC" # Let the user override the test.
5335 else
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 for as_dir in $PATH
5339 IFS=$as_save_IFS
5340 test -z "$as_dir" && as_dir=.
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_CC="${ac_tool_prefix}cc"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 break 2
5347 done
5348 done
5349 IFS=$as_save_IFS
5353 CC=$ac_cv_prog_CC
5354 if test -n "$CC"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5356 $as_echo "$CC" >&6; }
5357 else
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5365 if test -z "$CC"; then
5366 # Extract the first word of "cc", so it can be a program name with args.
5367 set dummy cc; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_CC+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if test -n "$CC"; then
5374 ac_cv_prog_CC="$CC" # Let the user override the test.
5375 else
5376 ac_prog_rejected=no
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH
5380 IFS=$as_save_IFS
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5384 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5385 ac_prog_rejected=yes
5386 continue
5388 ac_cv_prog_CC="cc"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5396 if test $ac_prog_rejected = yes; then
5397 # We found a bogon in the path, so make sure we never use it.
5398 set dummy $ac_cv_prog_CC
5399 shift
5400 if test $# != 0; then
5401 # We chose a different compiler from the bogus one.
5402 # However, it has the same basename, so the bogon will be chosen
5403 # first if we set CC to just the basename; use the full file name.
5404 shift
5405 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5410 CC=$ac_cv_prog_CC
5411 if test -n "$CC"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5413 $as_echo "$CC" >&6; }
5414 else
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5421 if test -z "$CC"; then
5422 if test -n "$ac_tool_prefix"; then
5423 for ac_prog in cl.exe
5425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_CC+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$CC"; then
5433 ac_cv_prog_CC="$CC" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5446 done
5447 done
5448 IFS=$as_save_IFS
5452 CC=$ac_cv_prog_CC
5453 if test -n "$CC"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5455 $as_echo "$CC" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 test -n "$CC" && break
5463 done
5465 if test -z "$CC"; then
5466 ac_ct_CC=$CC
5467 for ac_prog in cl.exe
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy $ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$ac_ct_CC"; then
5477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_CC="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5497 if test -n "$ac_ct_CC"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5499 $as_echo "$ac_ct_CC" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$ac_ct_CC" && break
5507 done
5509 if test "x$ac_ct_CC" = x; then
5510 CC=""
5511 else
5512 case $cross_compiling:$ac_tool_warned in
5513 yes:)
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned=yes ;;
5517 esac
5518 CC=$ac_ct_CC
5525 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5527 as_fn_error $? "no acceptable C compiler found in \$PATH
5528 See \`config.log' for more details" "$LINENO" 5; }
5530 # Provide some information about the compiler.
5531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5532 set X $ac_compile
5533 ac_compiler=$2
5534 for ac_option in --version -v -V -qversion; do
5535 { { ac_try="$ac_compiler $ac_option >&5"
5536 case "(($ac_try" in
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5539 esac
5540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5541 $as_echo "$ac_try_echo"; } >&5
5542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5543 ac_status=$?
5544 if test -s conftest.err; then
5545 sed '10a\
5546 ... rest of stderr output deleted ...
5547 10q' conftest.err >conftest.er1
5548 cat conftest.er1 >&5
5550 rm -f conftest.er1 conftest.err
5551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5552 test $ac_status = 0; }
5553 done
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5556 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5557 if ${ac_cv_c_compiler_gnu+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5564 main ()
5566 #ifndef __GNUC__
5567 choke me
5568 #endif
5571 return 0;
5573 _ACEOF
5574 if ac_fn_c_try_compile "$LINENO"; then :
5575 ac_compiler_gnu=yes
5576 else
5577 ac_compiler_gnu=no
5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5584 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5585 if test $ac_compiler_gnu = yes; then
5586 GCC=yes
5587 else
5588 GCC=
5590 ac_test_CFLAGS=${CFLAGS+set}
5591 ac_save_CFLAGS=$CFLAGS
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5593 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5594 if ${ac_cv_prog_cc_g+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 ac_save_c_werror_flag=$ac_c_werror_flag
5598 ac_c_werror_flag=yes
5599 ac_cv_prog_cc_g=no
5600 CFLAGS="-g"
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5605 main ()
5609 return 0;
5611 _ACEOF
5612 if ac_fn_c_try_compile "$LINENO"; then :
5613 ac_cv_prog_cc_g=yes
5614 else
5615 CFLAGS=""
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5620 main ()
5624 return 0;
5626 _ACEOF
5627 if ac_fn_c_try_compile "$LINENO"; then :
5629 else
5630 ac_c_werror_flag=$ac_save_c_werror_flag
5631 CFLAGS="-g"
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5636 main ()
5640 return 0;
5642 _ACEOF
5643 if ac_fn_c_try_compile "$LINENO"; then :
5644 ac_cv_prog_cc_g=yes
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651 ac_c_werror_flag=$ac_save_c_werror_flag
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5654 $as_echo "$ac_cv_prog_cc_g" >&6; }
5655 if test "$ac_test_CFLAGS" = set; then
5656 CFLAGS=$ac_save_CFLAGS
5657 elif test $ac_cv_prog_cc_g = yes; then
5658 if test "$GCC" = yes; then
5659 CFLAGS="-g -O2"
5660 else
5661 CFLAGS="-g"
5663 else
5664 if test "$GCC" = yes; then
5665 CFLAGS="-O2"
5666 else
5667 CFLAGS=
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5672 if ${ac_cv_prog_cc_c89+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 ac_cv_prog_cc_c89=no
5676 ac_save_CC=$CC
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 #include <stdarg.h>
5680 #include <stdio.h>
5681 struct stat;
5682 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5683 struct buf { int x; };
5684 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5685 static char *e (p, i)
5686 char **p;
5687 int i;
5689 return p[i];
5691 static char *f (char * (*g) (char **, int), char **p, ...)
5693 char *s;
5694 va_list v;
5695 va_start (v,p);
5696 s = g (p, va_arg (v,int));
5697 va_end (v);
5698 return s;
5701 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5702 function prototypes and stuff, but not '\xHH' hex character constants.
5703 These don't provoke an error unfortunately, instead are silently treated
5704 as 'x'. The following induces an error, until -std is added to get
5705 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5706 array size at least. It's necessary to write '\x00'==0 to get something
5707 that's true only with -std. */
5708 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5710 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5711 inside strings and character constants. */
5712 #define FOO(x) 'x'
5713 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5715 int test (int i, double x);
5716 struct s1 {int (*f) (int a);};
5717 struct s2 {int (*f) (double a);};
5718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5719 int argc;
5720 char **argv;
5722 main ()
5724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5726 return 0;
5728 _ACEOF
5729 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5730 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5732 CC="$ac_save_CC $ac_arg"
5733 if ac_fn_c_try_compile "$LINENO"; then :
5734 ac_cv_prog_cc_c89=$ac_arg
5736 rm -f core conftest.err conftest.$ac_objext
5737 test "x$ac_cv_prog_cc_c89" != "xno" && break
5738 done
5739 rm -f conftest.$ac_ext
5740 CC=$ac_save_CC
5743 # AC_CACHE_VAL
5744 case "x$ac_cv_prog_cc_c89" in
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5747 $as_echo "none needed" >&6; } ;;
5748 xno)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5750 $as_echo "unsupported" >&6; } ;;
5752 CC="$CC $ac_cv_prog_cc_c89"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5754 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5755 esac
5756 if test "x$ac_cv_prog_cc_c89" != xno; then :
5760 ac_ext=c
5761 ac_cpp='$CPP $CPPFLAGS'
5762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5766 ac_ext=c
5767 ac_cpp='$CPP $CPPFLAGS'
5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5772 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5773 if ${am_cv_prog_cc_c_o+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5780 main ()
5784 return 0;
5786 _ACEOF
5787 # Make sure it works both with $CC and with simple cc.
5788 # Following AC_PROG_CC_C_O, we do the test twice because some
5789 # compilers refuse to overwrite an existing .o file with -o,
5790 # though they will create one.
5791 am_cv_prog_cc_c_o=yes
5792 for am_i in 1 2; do
5793 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5794 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5795 ac_status=$?
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } \
5798 && test -f conftest2.$ac_objext; then
5799 : OK
5800 else
5801 am_cv_prog_cc_c_o=no
5802 break
5804 done
5805 rm -f core conftest*
5806 unset am_i
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5809 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5810 if test "$am_cv_prog_cc_c_o" != yes; then
5811 # Losing compiler, so override with the script.
5812 # FIXME: It is wrong to rewrite CC.
5813 # But if we don't then we get into trouble of one sort or another.
5814 # A longer-term fix would be to have automake use am__CC in this case,
5815 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5816 CC="$am_aux_dir/compile $CC"
5818 ac_ext=c
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5825 depcc="$CC" am_compiler_list=
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5828 $as_echo_n "checking dependency style of $depcc... " >&6; }
5829 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5833 # We make a subdir and do the tests there. Otherwise we can end up
5834 # making bogus files that we don't know about and never remove. For
5835 # instance it was reported that on HP-UX the gcc test will end up
5836 # making a dummy file named 'D' -- because '-MD' means "put the output
5837 # in D".
5838 rm -rf conftest.dir
5839 mkdir conftest.dir
5840 # Copy depcomp to subdir because otherwise we won't find it if we're
5841 # using a relative directory.
5842 cp "$am_depcomp" conftest.dir
5843 cd conftest.dir
5844 # We will build objects and dependencies in a subdirectory because
5845 # it helps to detect inapplicable dependency modes. For instance
5846 # both Tru64's cc and ICC support -MD to output dependencies as a
5847 # side effect of compilation, but ICC will put the dependencies in
5848 # the current directory while Tru64 will put them in the object
5849 # directory.
5850 mkdir sub
5852 am_cv_CC_dependencies_compiler_type=none
5853 if test "$am_compiler_list" = ""; then
5854 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5856 am__universal=false
5857 case " $depcc " in #(
5858 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5859 esac
5861 for depmode in $am_compiler_list; do
5862 # Setup a source with many dependencies, because some compilers
5863 # like to wrap large dependency lists on column 80 (with \), and
5864 # we should not choose a depcomp mode which is confused by this.
5866 # We need to recreate these files for each test, as the compiler may
5867 # overwrite some of them when testing with obscure command lines.
5868 # This happens at least with the AIX C compiler.
5869 : > sub/conftest.c
5870 for i in 1 2 3 4 5 6; do
5871 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5872 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5873 # Solaris 10 /bin/sh.
5874 echo '/* dummy */' > sub/conftst$i.h
5875 done
5876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5878 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5879 # mode. It turns out that the SunPro C++ compiler does not properly
5880 # handle '-M -o', and we need to detect this. Also, some Intel
5881 # versions had trouble with output in subdirs.
5882 am__obj=sub/conftest.${OBJEXT-o}
5883 am__minus_obj="-o $am__obj"
5884 case $depmode in
5885 gcc)
5886 # This depmode causes a compiler race in universal mode.
5887 test "$am__universal" = false || continue
5889 nosideeffect)
5890 # After this tag, mechanisms are not by side-effect, so they'll
5891 # only be used when explicitly requested.
5892 if test "x$enable_dependency_tracking" = xyes; then
5893 continue
5894 else
5895 break
5898 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5899 # This compiler won't grok '-c -o', but also, the minuso test has
5900 # not run yet. These depmodes are late enough in the game, and
5901 # so weak that their functioning should not be impacted.
5902 am__obj=conftest.${OBJEXT-o}
5903 am__minus_obj=
5905 none) break ;;
5906 esac
5907 if depmode=$depmode \
5908 source=sub/conftest.c object=$am__obj \
5909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5910 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5911 >/dev/null 2>conftest.err &&
5912 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5913 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5914 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5915 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5916 # icc doesn't choke on unknown options, it will just issue warnings
5917 # or remarks (even with -Werror). So we grep stderr for any message
5918 # that says an option was ignored or not supported.
5919 # When given -MP, icc 7.0 and 7.1 complain thusly:
5920 # icc: Command line warning: ignoring option '-M'; no argument required
5921 # The diagnosis changed in icc 8.0:
5922 # icc: Command line remark: option '-MP' not supported
5923 if (grep 'ignoring option' conftest.err ||
5924 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5925 am_cv_CC_dependencies_compiler_type=$depmode
5926 break
5929 done
5931 cd ..
5932 rm -rf conftest.dir
5933 else
5934 am_cv_CC_dependencies_compiler_type=none
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5939 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5940 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5943 test "x$enable_dependency_tracking" != xno \
5944 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5945 am__fastdepCC_TRUE=
5946 am__fastdepCC_FALSE='#'
5947 else
5948 am__fastdepCC_TRUE='#'
5949 am__fastdepCC_FALSE=
5959 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5960 have_real_17=no
5961 if test "x$GCC" = "xyes"; then
5962 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5963 ## We like to use C11 and C99 routines when available. This makes
5964 ## sure that
5965 ## __STDC_VERSION__ is set such that libc includes make them available.
5966 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5967 ## Compile the following tests with the same system header contents
5968 ## that we'll encounter when compiling our own source files.
5969 CFLAGS="-std=gnu11 $CFLAGS"
5971 case x$target in
5972 xpowerpc64le*-linux*)
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #if __SIZEOF_LONG_DOUBLE__ != 16
5976 #error long double is double
5977 #endif
5979 main ()
5981 (void) 0;
5983 return 0;
5985 _ACEOF
5986 if ac_fn_c_try_cpp "$LINENO"; then :
5987 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5988 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5989 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5990 have_real_17=yes
5992 rm -f conftest.err conftest.i conftest.$ac_ext
5996 esac
5998 if test "x$have_real_17" != xno; then
5999 HAVE_REAL_17_TRUE=
6000 HAVE_REAL_17_FALSE='#'
6001 else
6002 HAVE_REAL_17_TRUE='#'
6003 HAVE_REAL_17_FALSE=
6007 # Add CET specific flags if CET is enabled
6008 # Check whether --enable-cet was given.
6009 if test "${enable_cet+set}" = set; then :
6010 enableval=$enable_cet;
6011 case "$enableval" in
6012 yes|no|auto) ;;
6013 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6014 esac
6016 else
6017 enable_cet=auto
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6022 $as_echo_n "checking for CET support... " >&6; }
6024 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6025 case "$host" in
6026 i[34567]86-*-linux* | x86_64-*-linux*)
6027 case "$enable_cet" in
6028 auto)
6029 # Check if target supports multi-byte NOPs
6030 # and if compiler and assembler support CET insn.
6031 cet_save_CFLAGS="$CFLAGS"
6032 CFLAGS="$CFLAGS -fcf-protection"
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6037 main ()
6040 #if !defined(__SSE2__)
6041 #error target does not support multi-byte NOPs
6042 #else
6043 asm ("setssbsy");
6044 #endif
6047 return 0;
6049 _ACEOF
6050 if ac_fn_c_try_compile "$LINENO"; then :
6051 enable_cet=yes
6052 else
6053 enable_cet=no
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 CFLAGS="$cet_save_CFLAGS"
6058 yes)
6059 # Check if assembler supports CET.
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6064 main ()
6066 asm ("setssbsy");
6068 return 0;
6070 _ACEOF
6071 if ac_fn_c_try_compile "$LINENO"; then :
6073 else
6074 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6078 esac
6081 enable_cet=no
6083 esac
6084 if test x$enable_cet = xyes; then
6085 CET_FLAGS="-fcf-protection -mshstk"
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087 $as_echo "yes" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6094 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6095 CFLAGS="$CFLAGS $CET_FLAGS"
6101 # Check for symbol versioning (copied from libssp).
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6103 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6104 # Check whether --enable-symvers was given.
6105 if test "${enable_symvers+set}" = set; then :
6106 enableval=$enable_symvers; gfortran_use_symver=$enableval
6107 else
6108 gfortran_use_symver=yes
6111 if test "x$gfortran_use_symver" != xno; then
6112 save_LDFLAGS="$LDFLAGS"
6113 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6114 cat > conftest.map <<EOF
6115 FOO_1.0 {
6116 global: *foo*; bar; local: *;
6119 if test x$gcc_no_link = xyes; then
6120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 int foo;
6126 main ()
6130 return 0;
6132 _ACEOF
6133 if ac_fn_c_try_link "$LINENO"; then :
6134 gfortran_use_symver=gnu
6135 else
6136 gfortran_use_symver=no
6138 rm -f core conftest.err conftest.$ac_objext \
6139 conftest$ac_exeext conftest.$ac_ext
6140 if test x$gfortran_use_symver = xno; then
6141 case "$target_os" in
6142 solaris2*)
6143 LDFLAGS="$save_LDFLAGS"
6144 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6145 # Sun ld cannot handle wildcards and treats all entries as undefined.
6146 cat > conftest.map <<EOF
6147 FOO_1.0 {
6148 global: foo; local: *;
6151 if test x$gcc_no_link = xyes; then
6152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6156 int foo;
6158 main ()
6162 return 0;
6164 _ACEOF
6165 if ac_fn_c_try_link "$LINENO"; then :
6166 gfortran_use_symver=sun
6167 else
6168 gfortran_use_symver=no
6170 rm -f core conftest.err conftest.$ac_objext \
6171 conftest$ac_exeext conftest.$ac_ext
6173 esac
6175 LDFLAGS="$save_LDFLAGS"
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6178 $as_echo "$gfortran_use_symver" >&6; }
6179 if test "x$gfortran_use_symver" != xno; then
6180 LIBGFOR_USE_SYMVER_TRUE=
6181 LIBGFOR_USE_SYMVER_FALSE='#'
6182 else
6183 LIBGFOR_USE_SYMVER_TRUE='#'
6184 LIBGFOR_USE_SYMVER_FALSE=
6187 if test "x$gfortran_use_symver" = xgnu; then
6188 LIBGFOR_USE_SYMVER_GNU_TRUE=
6189 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6190 else
6191 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6192 LIBGFOR_USE_SYMVER_GNU_FALSE=
6195 if test "x$gfortran_use_symver" = xsun; then
6196 LIBGFOR_USE_SYMVER_SUN_TRUE=
6197 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6198 else
6199 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6200 LIBGFOR_USE_SYMVER_SUN_FALSE=
6204 # For GPU offloading, not everything in libfortran can be supported.
6205 # Currently, the only target that has this problem is nvptx. The
6206 # following is a (partial) list of features that are unsupportable on
6207 # this particular target:
6208 # * Constructors
6209 # * alloca
6210 # * C library support for I/O, with printf as the one notable exception
6211 # * C library support for other features such as signal, environment
6212 # variables, time functions
6214 if test "x${target_cpu}" = xnvptx; then
6215 LIBGFOR_MINIMAL_TRUE=
6216 LIBGFOR_MINIMAL_FALSE='#'
6217 else
6218 LIBGFOR_MINIMAL_TRUE='#'
6219 LIBGFOR_MINIMAL_FALSE=
6223 # Some compiler target support may have limited support for integer
6224 # or floating point numbers – or may want to reduce the libgfortran size
6225 # although they do have the support.
6226 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6227 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6232 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6233 # similarly to how libstdc++ does it
6234 ac_test_CFLAGS="${CFLAGS+set}"
6235 ac_save_CFLAGS="$CFLAGS"
6237 # Check for -ffunction-sections -fdata-sections
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6239 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6240 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6245 main ()
6247 int foo;
6249 return 0;
6251 _ACEOF
6252 if ac_fn_c_try_compile "$LINENO"; then :
6253 ac_fdsections=yes
6254 else
6255 ac_fdsections=no
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 if test "$ac_test_CFLAGS" = set; then
6259 CFLAGS="$ac_save_CFLAGS"
6260 else
6261 # this is the suspicious part
6262 CFLAGS=""
6264 if test x"$ac_fdsections" = x"yes"; then
6265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6268 $as_echo "$ac_fdsections" >&6; }
6271 # Check linker hardware capability support.
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6273 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6274 if ${ac_cv_path_SED+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6278 for ac_i in 1 2 3 4 5 6 7; do
6279 ac_script="$ac_script$as_nl$ac_script"
6280 done
6281 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6282 { ac_script=; unset ac_script;}
6283 if test -z "$SED"; then
6284 ac_path_SED_found=false
6285 # Loop through the user's path and test for each of PROGNAME-LIST
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH
6289 IFS=$as_save_IFS
6290 test -z "$as_dir" && as_dir=.
6291 for ac_prog in sed gsed; do
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6294 as_fn_executable_p "$ac_path_SED" || continue
6295 # Check for GNU ac_path_SED and select it if it is found.
6296 # Check for GNU $ac_path_SED
6297 case `"$ac_path_SED" --version 2>&1` in
6298 *GNU*)
6299 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6301 ac_count=0
6302 $as_echo_n 0123456789 >"conftest.in"
6303 while :
6305 cat "conftest.in" "conftest.in" >"conftest.tmp"
6306 mv "conftest.tmp" "conftest.in"
6307 cp "conftest.in" "conftest.nl"
6308 $as_echo '' >> "conftest.nl"
6309 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6311 as_fn_arith $ac_count + 1 && ac_count=$as_val
6312 if test $ac_count -gt ${ac_path_SED_max-0}; then
6313 # Best one so far, save it but keep looking for a better one
6314 ac_cv_path_SED="$ac_path_SED"
6315 ac_path_SED_max=$ac_count
6317 # 10*(2^10) chars as input seems more than enough
6318 test $ac_count -gt 10 && break
6319 done
6320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6321 esac
6323 $ac_path_SED_found && break 3
6324 done
6325 done
6326 done
6327 IFS=$as_save_IFS
6328 if test -z "$ac_cv_path_SED"; then
6329 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6331 else
6332 ac_cv_path_SED=$SED
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6337 $as_echo "$ac_cv_path_SED" >&6; }
6338 SED="$ac_cv_path_SED"
6339 rm -f conftest.sed
6341 test -z "$SED" && SED=sed
6342 Xsed="$SED -e 1s/^X//"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6355 $as_echo_n "checking for fgrep... " >&6; }
6356 if ${ac_cv_path_FGREP+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6360 then ac_cv_path_FGREP="$GREP -F"
6361 else
6362 if test -z "$FGREP"; then
6363 ac_path_FGREP_found=false
6364 # Loop through the user's path and test for each of PROGNAME-LIST
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6368 IFS=$as_save_IFS
6369 test -z "$as_dir" && as_dir=.
6370 for ac_prog in fgrep; do
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6373 as_fn_executable_p "$ac_path_FGREP" || continue
6374 # Check for GNU ac_path_FGREP and select it if it is found.
6375 # Check for GNU $ac_path_FGREP
6376 case `"$ac_path_FGREP" --version 2>&1` in
6377 *GNU*)
6378 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6380 ac_count=0
6381 $as_echo_n 0123456789 >"conftest.in"
6382 while :
6384 cat "conftest.in" "conftest.in" >"conftest.tmp"
6385 mv "conftest.tmp" "conftest.in"
6386 cp "conftest.in" "conftest.nl"
6387 $as_echo 'FGREP' >> "conftest.nl"
6388 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390 as_fn_arith $ac_count + 1 && ac_count=$as_val
6391 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6392 # Best one so far, save it but keep looking for a better one
6393 ac_cv_path_FGREP="$ac_path_FGREP"
6394 ac_path_FGREP_max=$ac_count
6396 # 10*(2^10) chars as input seems more than enough
6397 test $ac_count -gt 10 && break
6398 done
6399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6400 esac
6402 $ac_path_FGREP_found && break 3
6403 done
6404 done
6405 done
6406 IFS=$as_save_IFS
6407 if test -z "$ac_cv_path_FGREP"; then
6408 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6410 else
6411 ac_cv_path_FGREP=$FGREP
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6417 $as_echo "$ac_cv_path_FGREP" >&6; }
6418 FGREP="$ac_cv_path_FGREP"
6421 test -z "$GREP" && GREP=grep
6439 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6440 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6441 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6444 $as_echo_n "checking how to print strings... " >&6; }
6445 # Test print first, because it will be a builtin if present.
6446 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6447 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6448 ECHO='print -r --'
6449 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6450 ECHO='printf %s\n'
6451 else
6452 # Use this function as a fallback that always works.
6453 func_fallback_echo ()
6455 eval 'cat <<_LTECHO_EOF
6457 _LTECHO_EOF'
6459 ECHO='func_fallback_echo'
6462 # func_echo_all arg...
6463 # Invoke $ECHO with all args, space-separated.
6464 func_echo_all ()
6466 $ECHO ""
6469 case "$ECHO" in
6470 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6471 $as_echo "printf" >&6; } ;;
6472 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6473 $as_echo "print -r" >&6; } ;;
6474 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6475 $as_echo "cat" >&6; } ;;
6476 esac
6493 # Check whether --with-gnu-ld was given.
6494 if test "${with_gnu_ld+set}" = set; then :
6495 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6496 else
6497 with_gnu_ld=no
6500 ac_prog=ld
6501 if test "$GCC" = yes; then
6502 # Check if gcc -print-prog-name=ld gives a path.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6504 $as_echo_n "checking for ld used by $CC... " >&6; }
6505 case $host in
6506 *-*-mingw*)
6507 # gcc leaves a trailing carriage return which upsets mingw
6508 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6510 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6511 esac
6512 case $ac_prog in
6513 # Accept absolute paths.
6514 [\\/]* | ?:[\\/]*)
6515 re_direlt='/[^/][^/]*/\.\./'
6516 # Canonicalize the pathname of ld
6517 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6518 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6519 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6520 done
6521 test -z "$LD" && LD="$ac_prog"
6524 # If it fails, then pretend we aren't using GCC.
6525 ac_prog=ld
6528 # If it is relative, then search for the first ld in PATH.
6529 with_gnu_ld=unknown
6531 esac
6532 elif test "$with_gnu_ld" = yes; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6534 $as_echo_n "checking for GNU ld... " >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6537 $as_echo_n "checking for non-GNU ld... " >&6; }
6539 if ${lt_cv_path_LD+:} false; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 if test -z "$LD"; then
6543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6544 for ac_dir in $PATH; do
6545 IFS="$lt_save_ifs"
6546 test -z "$ac_dir" && ac_dir=.
6547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6548 lt_cv_path_LD="$ac_dir/$ac_prog"
6549 # Check to see if the program is GNU ld. I'd rather use --version,
6550 # but apparently some variants of GNU ld only accept -v.
6551 # Break only if it was the GNU/non-GNU ld that we prefer.
6552 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6553 *GNU* | *'with BFD'*)
6554 test "$with_gnu_ld" != no && break
6557 test "$with_gnu_ld" != yes && break
6559 esac
6561 done
6562 IFS="$lt_save_ifs"
6563 else
6564 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6568 LD="$lt_cv_path_LD"
6569 if test -n "$LD"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6571 $as_echo "$LD" >&6; }
6572 else
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6576 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6578 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6579 if ${lt_cv_prog_gnu_ld+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6583 case `$LD -v 2>&1 </dev/null` in
6584 *GNU* | *'with BFD'*)
6585 lt_cv_prog_gnu_ld=yes
6588 lt_cv_prog_gnu_ld=no
6590 esac
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6593 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6594 with_gnu_ld=$lt_cv_prog_gnu_ld
6605 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6608 ac_save_LDFLAGS="$LDFLAGS"
6609 LDFLAGS="$LFLAGS -mclear-hwcap"
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6612 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6613 if test x$gcc_no_link = xyes; then
6614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6620 main ()
6622 return 0;
6624 return 0;
6626 _ACEOF
6627 if ac_fn_c_try_link "$LINENO"; then :
6628 ac_hwcap_ldflags=yes
6629 else
6630 ac_hwcap_ldflags=no
6632 rm -f core conftest.err conftest.$ac_objext \
6633 conftest$ac_exeext conftest.$ac_ext
6634 if test "$ac_hwcap_ldflags" = "yes"; then
6635 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6638 $as_echo "$ac_hwcap_ldflags" >&6; }
6640 LDFLAGS="$ac_save_LDFLAGS"
6644 if test $ac_hwcap_ldflags != no; then
6645 HAVE_HWCAP_TRUE=
6646 HAVE_HWCAP_FALSE='#'
6647 else
6648 HAVE_HWCAP_TRUE='#'
6649 HAVE_HWCAP_FALSE=
6654 # Find other programs we need.
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}as; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_AS+:} false; then :
6661 $as_echo_n "(cached) " >&6
6662 else
6663 if test -n "$AS"; then
6664 ac_cv_prog_AS="$AS" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6669 IFS=$as_save_IFS
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_AS="${ac_tool_prefix}as"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 break 2
6677 done
6678 done
6679 IFS=$as_save_IFS
6683 AS=$ac_cv_prog_AS
6684 if test -n "$AS"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6686 $as_echo "$AS" >&6; }
6687 else
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6694 if test -z "$ac_cv_prog_AS"; then
6695 ac_ct_AS=$AS
6696 # Extract the first word of "as", so it can be a program name with args.
6697 set dummy as; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6701 $as_echo_n "(cached) " >&6
6702 else
6703 if test -n "$ac_ct_AS"; then
6704 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6705 else
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 for as_dir in $PATH
6709 IFS=$as_save_IFS
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_ac_ct_AS="as"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715 break 2
6717 done
6718 done
6719 IFS=$as_save_IFS
6723 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6724 if test -n "$ac_ct_AS"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6726 $as_echo "$ac_ct_AS" >&6; }
6727 else
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6732 if test "x$ac_ct_AS" = x; then
6733 AS=""
6734 else
6735 case $cross_compiling:$ac_tool_warned in
6736 yes:)
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6740 esac
6741 AS=$ac_ct_AS
6743 else
6744 AS="$ac_cv_prog_AS"
6747 if test -n "$ac_tool_prefix"; then
6748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6749 set dummy ${ac_tool_prefix}ar; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_AR+:} false; then :
6753 $as_echo_n "(cached) " >&6
6754 else
6755 if test -n "$AR"; then
6756 ac_cv_prog_AR="$AR" # Let the user override the test.
6757 else
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 for as_dir in $PATH
6761 IFS=$as_save_IFS
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_AR="${ac_tool_prefix}ar"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 break 2
6769 done
6770 done
6771 IFS=$as_save_IFS
6775 AR=$ac_cv_prog_AR
6776 if test -n "$AR"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6778 $as_echo "$AR" >&6; }
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6786 if test -z "$ac_cv_prog_AR"; then
6787 ac_ct_AR=$AR
6788 # Extract the first word of "ar", so it can be a program name with args.
6789 set dummy ar; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 $as_echo_n "checking for $ac_word... " >&6; }
6792 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 if test -n "$ac_ct_AR"; then
6796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6797 else
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 for as_dir in $PATH
6801 IFS=$as_save_IFS
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_ac_ct_AR="ar"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 break 2
6809 done
6810 done
6811 IFS=$as_save_IFS
6815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6816 if test -n "$ac_ct_AR"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6818 $as_echo "$ac_ct_AR" >&6; }
6819 else
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 $as_echo "no" >&6; }
6824 if test "x$ac_ct_AR" = x; then
6825 AR=""
6826 else
6827 case $cross_compiling:$ac_tool_warned in
6828 yes:)
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned=yes ;;
6832 esac
6833 AR=$ac_ct_AR
6835 else
6836 AR="$ac_cv_prog_AR"
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_RANLIB+:} false; then :
6845 $as_echo_n "(cached) " >&6
6846 else
6847 if test -n "$RANLIB"; then
6848 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6849 else
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 for as_dir in $PATH
6853 IFS=$as_save_IFS
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 break 2
6861 done
6862 done
6863 IFS=$as_save_IFS
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 $as_echo "$RANLIB" >&6; }
6871 else
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6889 else
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 for as_dir in $PATH
6893 IFS=$as_save_IFS
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6897 ac_cv_prog_ac_ct_RANLIB="ranlib"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 break 2
6901 done
6902 done
6903 IFS=$as_save_IFS
6907 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6908 if test -n "$ac_ct_RANLIB"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6910 $as_echo "$ac_ct_RANLIB" >&6; }
6911 else
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6916 if test "x$ac_ct_RANLIB" = x; then
6917 RANLIB="ranlib-not-found-in-path-error"
6918 else
6919 case $cross_compiling:$ac_tool_warned in
6920 yes:)
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6923 ac_tool_warned=yes ;;
6924 esac
6925 RANLIB=$ac_ct_RANLIB
6927 else
6928 RANLIB="$ac_cv_prog_RANLIB"
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6932 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6933 set x ${MAKE-make}
6934 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6935 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 cat >conftest.make <<\_ACEOF
6939 SHELL = /bin/sh
6940 all:
6941 @echo '@@@%%%=$(MAKE)=@@@%%%'
6942 _ACEOF
6943 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6944 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6945 *@@@%%%=?*=@@@%%%*)
6946 eval ac_cv_prog_make_${ac_make}_set=yes;;
6948 eval ac_cv_prog_make_${ac_make}_set=no;;
6949 esac
6950 rm -f conftest.make
6952 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6954 $as_echo "yes" >&6; }
6955 SET_MAKE=
6956 else
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6959 SET_MAKE="MAKE=${MAKE-make}"
6964 # Configure libtool
6965 #AC_MSG_NOTICE([====== Starting libtool configuration])
6966 enable_dlopen=yes
6970 case `pwd` in
6971 *\ * | *\ *)
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6973 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6974 esac
6978 macro_version='2.2.7a'
6979 macro_revision='1.3134'
6993 ltmain="$ac_aux_dir/ltmain.sh"
6995 # Backslashify metacharacters that are still active within
6996 # double-quoted strings.
6997 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6999 # Same as above, but do not quote variable references.
7000 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7002 # Sed substitution to delay expansion of an escaped shell variable in a
7003 # double_quote_subst'ed string.
7004 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7006 # Sed substitution to delay expansion of an escaped single quote.
7007 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7009 # Sed substitution to avoid accidental globbing in evaled expressions
7010 no_glob_subst='s/\*/\\\*/g'
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7013 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7014 if ${lt_cv_path_NM+:} false; then :
7015 $as_echo_n "(cached) " >&6
7016 else
7017 if test -n "$NM"; then
7018 # Let the user override the nm to test.
7019 lt_nm_to_check="$NM"
7020 else
7021 lt_nm_to_check="${ac_tool_prefix}nm"
7022 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7023 lt_nm_to_check="$lt_nm_to_check nm"
7026 for lt_tmp_nm in "$lt_nm_to_check"; do
7027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7028 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7029 IFS="$lt_save_ifs"
7030 test -z "$ac_dir" && ac_dir=.
7031 # Strip out any user-provided options from the nm to test twice,
7032 # the first time to test to see if nm (rather than its options) has
7033 # an explicit path, the second time to yield a file which can be
7034 # nm'ed itself.
7035 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7036 case "$tmp_nm_path" in
7037 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7038 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7039 esac
7040 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7041 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7042 # Check to see if the nm accepts a BSD-compat flag.
7043 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7044 # nm: unknown option "B" ignored
7045 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7046 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7047 break
7050 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7051 *$tmp_nm*)
7052 lt_cv_path_NM="$tmp_nm -p"
7053 break
7056 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7057 continue # so that we can try to find one that supports BSD flags
7059 esac
7061 esac
7063 done
7064 IFS="$lt_save_ifs"
7065 done
7066 : ${lt_cv_path_NM=no}
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7069 $as_echo "$lt_cv_path_NM" >&6; }
7070 if test "$lt_cv_path_NM" != "no"; then
7071 NM="$lt_cv_path_NM"
7072 else
7073 # Didn't find any BSD compatible name lister, look for dumpbin.
7074 if test -n "$DUMPBIN"; then :
7075 # Let the user override the test.
7076 else
7077 if test -n "$ac_tool_prefix"; then
7078 for ac_prog in dumpbin "link -dump"
7080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_DUMPBIN+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 if test -n "$DUMPBIN"; then
7088 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7093 IFS=$as_save_IFS
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 break 2
7101 done
7102 done
7103 IFS=$as_save_IFS
7107 DUMPBIN=$ac_cv_prog_DUMPBIN
7108 if test -n "$DUMPBIN"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7110 $as_echo "$DUMPBIN" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7117 test -n "$DUMPBIN" && break
7118 done
7120 if test -z "$DUMPBIN"; then
7121 ac_ct_DUMPBIN=$DUMPBIN
7122 for ac_prog in dumpbin "link -dump"
7124 # Extract the first word of "$ac_prog", so it can be a program name with args.
7125 set dummy $ac_prog; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; }
7128 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7131 if test -n "$ac_ct_DUMPBIN"; then
7132 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7133 else
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $PATH
7137 IFS=$as_save_IFS
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7141 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143 break 2
7145 done
7146 done
7147 IFS=$as_save_IFS
7151 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7152 if test -n "$ac_ct_DUMPBIN"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7154 $as_echo "$ac_ct_DUMPBIN" >&6; }
7155 else
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7161 test -n "$ac_ct_DUMPBIN" && break
7162 done
7164 if test "x$ac_ct_DUMPBIN" = x; then
7165 DUMPBIN=":"
7166 else
7167 case $cross_compiling:$ac_tool_warned in
7168 yes:)
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7171 ac_tool_warned=yes ;;
7172 esac
7173 DUMPBIN=$ac_ct_DUMPBIN
7177 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7178 *COFF*)
7179 DUMPBIN="$DUMPBIN -symbols"
7182 DUMPBIN=:
7184 esac
7187 if test "$DUMPBIN" != ":"; then
7188 NM="$DUMPBIN"
7191 test -z "$NM" && NM=nm
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7199 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7200 if ${lt_cv_nm_interface+:} false; then :
7201 $as_echo_n "(cached) " >&6
7202 else
7203 lt_cv_nm_interface="BSD nm"
7204 echo "int some_variable = 0;" > conftest.$ac_ext
7205 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7206 (eval "$ac_compile" 2>conftest.err)
7207 cat conftest.err >&5
7208 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7209 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7210 cat conftest.err >&5
7211 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7212 cat conftest.out >&5
7213 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7214 lt_cv_nm_interface="MS dumpbin"
7216 rm -f conftest*
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7219 $as_echo "$lt_cv_nm_interface" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7222 $as_echo_n "checking whether ln -s works... " >&6; }
7223 LN_S=$as_ln_s
7224 if test "$LN_S" = "ln -s"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7226 $as_echo "yes" >&6; }
7227 else
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7229 $as_echo "no, using $LN_S" >&6; }
7232 # find the maximum length of command line arguments
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7234 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7235 if ${lt_cv_sys_max_cmd_len+:} false; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7239 teststring="ABCD"
7241 case $build_os in
7242 msdosdjgpp*)
7243 # On DJGPP, this test can blow up pretty badly due to problems in libc
7244 # (any single argument exceeding 2000 bytes causes a buffer overrun
7245 # during glob expansion). Even if it were fixed, the result of this
7246 # check would be larger than it should be.
7247 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7250 gnu*)
7251 # Under GNU Hurd, this test is not required because there is
7252 # no limit to the length of command line arguments.
7253 # Libtool will interpret -1 as no limit whatsoever
7254 lt_cv_sys_max_cmd_len=-1;
7257 cygwin* | mingw* | cegcc*)
7258 # On Win9x/ME, this test blows up -- it succeeds, but takes
7259 # about 5 minutes as the teststring grows exponentially.
7260 # Worse, since 9x/ME are not pre-emptively multitasking,
7261 # you end up with a "frozen" computer, even though with patience
7262 # the test eventually succeeds (with a max line length of 256k).
7263 # Instead, let's just punt: use the minimum linelength reported by
7264 # all of the supported platforms: 8192 (on NT/2K/XP).
7265 lt_cv_sys_max_cmd_len=8192;
7268 mint*)
7269 # On MiNT this can take a long time and run out of memory.
7270 lt_cv_sys_max_cmd_len=8192;
7273 amigaos*)
7274 # On AmigaOS with pdksh, this test takes hours, literally.
7275 # So we just punt and use a minimum line length of 8192.
7276 lt_cv_sys_max_cmd_len=8192;
7279 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7280 # This has been around since 386BSD, at least. Likely further.
7281 if test -x /sbin/sysctl; then
7282 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7283 elif test -x /usr/sbin/sysctl; then
7284 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7285 else
7286 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7288 # And add a safety zone
7289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7293 interix*)
7294 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7295 lt_cv_sys_max_cmd_len=196608
7298 osf*)
7299 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7300 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7301 # nice to cause kernel panics so lets avoid the loop below.
7302 # First set a reasonable default.
7303 lt_cv_sys_max_cmd_len=16384
7305 if test -x /sbin/sysconfig; then
7306 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7307 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7308 esac
7311 sco3.2v5*)
7312 lt_cv_sys_max_cmd_len=102400
7314 sysv5* | sco5v6* | sysv4.2uw2*)
7315 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7316 if test -n "$kargmax"; then
7317 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7318 else
7319 lt_cv_sys_max_cmd_len=32768
7323 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7324 if test -n "$lt_cv_sys_max_cmd_len"; then
7325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7327 else
7328 # Make teststring a little bigger before we do anything with it.
7329 # a 1K string should be a reasonable start.
7330 for i in 1 2 3 4 5 6 7 8 ; do
7331 teststring=$teststring$teststring
7332 done
7333 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7334 # If test is not a shell built-in, we'll probably end up computing a
7335 # maximum length that is only half of the actual maximum length, but
7336 # we can't tell.
7337 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7338 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7339 test $i != 17 # 1/2 MB should be enough
7341 i=`expr $i + 1`
7342 teststring=$teststring$teststring
7343 done
7344 # Only check the string length outside the loop.
7345 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7346 teststring=
7347 # Add a significant safety factor because C++ compilers can tack on
7348 # massive amounts of additional arguments before passing them to the
7349 # linker. It appears as though 1/2 is a usable value.
7350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7353 esac
7357 if test -n $lt_cv_sys_max_cmd_len ; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7360 else
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7362 $as_echo "none" >&6; }
7364 max_cmd_len=$lt_cv_sys_max_cmd_len
7371 : ${CP="cp -f"}
7372 : ${MV="mv -f"}
7373 : ${RM="rm -f"}
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7376 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7377 # Try some XSI features
7378 xsi_shell=no
7379 ( _lt_dummy="a/b/c"
7380 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7381 = c,a/b,, \
7382 && eval 'test $(( 1 + 1 )) -eq 2 \
7383 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7384 && xsi_shell=yes
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7386 $as_echo "$xsi_shell" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7390 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7391 lt_shell_append=no
7392 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7393 >/dev/null 2>&1 \
7394 && lt_shell_append=yes
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7396 $as_echo "$lt_shell_append" >&6; }
7399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7400 lt_unset=unset
7401 else
7402 lt_unset=false
7409 # test EBCDIC or ASCII
7410 case `echo X|tr X '\101'` in
7411 A) # ASCII based system
7412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7413 lt_SP2NL='tr \040 \012'
7414 lt_NL2SP='tr \015\012 \040\040'
7416 *) # EBCDIC based system
7417 lt_SP2NL='tr \100 \n'
7418 lt_NL2SP='tr \r\n \100\100'
7420 esac
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7431 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7432 if ${lt_cv_ld_reload_flag+:} false; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 lt_cv_ld_reload_flag='-r'
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7438 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7439 reload_flag=$lt_cv_ld_reload_flag
7440 case $reload_flag in
7441 "" | " "*) ;;
7442 *) reload_flag=" $reload_flag" ;;
7443 esac
7444 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7445 case $host_os in
7446 darwin*)
7447 if test "$GCC" = yes; then
7448 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7449 else
7450 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7453 esac
7463 if test -n "$ac_tool_prefix"; then
7464 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7465 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_OBJDUMP+:} false; then :
7469 $as_echo_n "(cached) " >&6
7470 else
7471 if test -n "$OBJDUMP"; then
7472 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7477 IFS=$as_save_IFS
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7481 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 break 2
7485 done
7486 done
7487 IFS=$as_save_IFS
7491 OBJDUMP=$ac_cv_prog_OBJDUMP
7492 if test -n "$OBJDUMP"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7494 $as_echo "$OBJDUMP" >&6; }
7495 else
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7502 if test -z "$ac_cv_prog_OBJDUMP"; then
7503 ac_ct_OBJDUMP=$OBJDUMP
7504 # Extract the first word of "objdump", so it can be a program name with args.
7505 set dummy objdump; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 if test -n "$ac_ct_OBJDUMP"; then
7512 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7513 else
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 for as_dir in $PATH
7517 IFS=$as_save_IFS
7518 test -z "$as_dir" && as_dir=.
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7521 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 break 2
7525 done
7526 done
7527 IFS=$as_save_IFS
7531 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7532 if test -n "$ac_ct_OBJDUMP"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7534 $as_echo "$ac_ct_OBJDUMP" >&6; }
7535 else
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7540 if test "x$ac_ct_OBJDUMP" = x; then
7541 OBJDUMP="false"
7542 else
7543 case $cross_compiling:$ac_tool_warned in
7544 yes:)
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7547 ac_tool_warned=yes ;;
7548 esac
7549 OBJDUMP=$ac_ct_OBJDUMP
7551 else
7552 OBJDUMP="$ac_cv_prog_OBJDUMP"
7555 test -z "$OBJDUMP" && OBJDUMP=objdump
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7566 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7567 if ${lt_cv_deplibs_check_method+:} false; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 lt_cv_file_magic_cmd='$MAGIC_CMD'
7571 lt_cv_file_magic_test_file=
7572 lt_cv_deplibs_check_method='unknown'
7573 # Need to set the preceding variable on all platforms that support
7574 # interlibrary dependencies.
7575 # 'none' -- dependencies not supported.
7576 # `unknown' -- same as none, but documents that we really don't know.
7577 # 'pass_all' -- all dependencies passed with no checks.
7578 # 'test_compile' -- check by making test program.
7579 # 'file_magic [[regex]]' -- check by looking for files in library path
7580 # which responds to the $file_magic_cmd with a given extended regex.
7581 # If you have `file' or equivalent on your system and you're not sure
7582 # whether `pass_all' will *always* work, you probably want this one.
7584 case $host_os in
7585 aix[4-9]*)
7586 lt_cv_deplibs_check_method=pass_all
7589 beos*)
7590 lt_cv_deplibs_check_method=pass_all
7593 bsdi[45]*)
7594 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7595 lt_cv_file_magic_cmd='/usr/bin/file -L'
7596 lt_cv_file_magic_test_file=/shlib/libc.so
7599 cygwin*)
7600 # func_win32_libid is a shell function defined in ltmain.sh
7601 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7602 lt_cv_file_magic_cmd='func_win32_libid'
7605 mingw* | pw32*)
7606 # Base MSYS/MinGW do not provide the 'file' command needed by
7607 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7608 # unless we find 'file', for example because we are cross-compiling.
7609 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7610 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7611 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7612 lt_cv_file_magic_cmd='func_win32_libid'
7613 else
7614 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7615 lt_cv_file_magic_cmd='$OBJDUMP -f'
7619 cegcc*)
7620 # use the weaker test based on 'objdump'. See mingw*.
7621 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7622 lt_cv_file_magic_cmd='$OBJDUMP -f'
7625 darwin* | rhapsody*)
7626 lt_cv_deplibs_check_method=pass_all
7629 freebsd* | dragonfly*)
7630 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7631 case $host_cpu in
7632 i*86 )
7633 # Not sure whether the presence of OpenBSD here was a mistake.
7634 # Let's accept both of them until this is cleared up.
7635 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7636 lt_cv_file_magic_cmd=/usr/bin/file
7637 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7639 esac
7640 else
7641 lt_cv_deplibs_check_method=pass_all
7645 gnu*)
7646 lt_cv_deplibs_check_method=pass_all
7649 haiku*)
7650 lt_cv_deplibs_check_method=pass_all
7653 hpux10.20* | hpux11*)
7654 lt_cv_file_magic_cmd=/usr/bin/file
7655 case $host_cpu in
7656 ia64*)
7657 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7658 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7660 hppa*64*)
7661 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]'
7662 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7665 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7666 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7668 esac
7671 interix[3-9]*)
7672 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7673 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7676 irix5* | irix6* | nonstopux*)
7677 case $LD in
7678 *-32|*"-32 ") libmagic=32-bit;;
7679 *-n32|*"-n32 ") libmagic=N32;;
7680 *-64|*"-64 ") libmagic=64-bit;;
7681 *) libmagic=never-match;;
7682 esac
7683 lt_cv_deplibs_check_method=pass_all
7686 # This must be Linux ELF.
7687 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7688 lt_cv_deplibs_check_method=pass_all
7691 netbsd*)
7692 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7693 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7694 else
7695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7699 newos6*)
7700 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7701 lt_cv_file_magic_cmd=/usr/bin/file
7702 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7705 *nto* | *qnx*)
7706 lt_cv_deplibs_check_method=pass_all
7709 openbsd*)
7710 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7711 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7712 else
7713 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7717 osf3* | osf4* | osf5*)
7718 lt_cv_deplibs_check_method=pass_all
7721 rdos*)
7722 lt_cv_deplibs_check_method=pass_all
7725 solaris*)
7726 lt_cv_deplibs_check_method=pass_all
7729 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7730 lt_cv_deplibs_check_method=pass_all
7733 sysv4 | sysv4.3*)
7734 case $host_vendor in
7735 motorola)
7736 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]'
7737 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7739 ncr)
7740 lt_cv_deplibs_check_method=pass_all
7742 sequent)
7743 lt_cv_file_magic_cmd='/bin/file'
7744 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7746 sni)
7747 lt_cv_file_magic_cmd='/bin/file'
7748 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7749 lt_cv_file_magic_test_file=/lib/libc.so
7751 siemens)
7752 lt_cv_deplibs_check_method=pass_all
7755 lt_cv_deplibs_check_method=pass_all
7757 esac
7760 tpf*)
7761 lt_cv_deplibs_check_method=pass_all
7763 vxworks*)
7764 # Assume VxWorks cross toolchains are built on Linux, possibly
7765 # as canadian for Windows hosts.
7766 lt_cv_deplibs_check_method=pass_all
7768 esac
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7772 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7773 file_magic_cmd=$lt_cv_file_magic_cmd
7774 deplibs_check_method=$lt_cv_deplibs_check_method
7775 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7788 plugin_option=
7789 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7790 for plugin in $plugin_names; do
7791 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7792 if test x$plugin_so = x$plugin; then
7793 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7795 if test x$plugin_so != x$plugin; then
7796 plugin_option="--plugin $plugin_so"
7797 break
7799 done
7801 if test -n "$ac_tool_prefix"; then
7802 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7803 set dummy ${ac_tool_prefix}ar; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if ${ac_cv_prog_AR+:} false; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 if test -n "$AR"; then
7810 ac_cv_prog_AR="$AR" # Let the user override the test.
7811 else
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 for as_dir in $PATH
7815 IFS=$as_save_IFS
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 ac_cv_prog_AR="${ac_tool_prefix}ar"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 break 2
7823 done
7824 done
7825 IFS=$as_save_IFS
7829 AR=$ac_cv_prog_AR
7830 if test -n "$AR"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7832 $as_echo "$AR" >&6; }
7833 else
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7840 if test -z "$ac_cv_prog_AR"; then
7841 ac_ct_AR=$AR
7842 # Extract the first word of "ar", so it can be a program name with args.
7843 set dummy ar; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 if test -n "$ac_ct_AR"; then
7850 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7851 else
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 for as_dir in $PATH
7855 IFS=$as_save_IFS
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_ac_ct_AR="ar"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 break 2
7863 done
7864 done
7865 IFS=$as_save_IFS
7869 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7870 if test -n "$ac_ct_AR"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7872 $as_echo "$ac_ct_AR" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7878 if test "x$ac_ct_AR" = x; then
7879 AR="false"
7880 else
7881 case $cross_compiling:$ac_tool_warned in
7882 yes:)
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7885 ac_tool_warned=yes ;;
7886 esac
7887 AR=$ac_ct_AR
7889 else
7890 AR="$ac_cv_prog_AR"
7893 test -z "$AR" && AR=ar
7894 if test -n "$plugin_option"; then
7895 if $AR --help 2>&1 | grep -q "\--plugin"; then
7896 touch conftest.c
7897 $AR $plugin_option rc conftest.a conftest.c
7898 if test "$?" != 0; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7900 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7901 else
7902 AR="$AR $plugin_option"
7904 rm -f conftest.*
7907 test -z "$AR_FLAGS" && AR_FLAGS=cru
7919 if test -n "$ac_tool_prefix"; then
7920 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7921 set dummy ${ac_tool_prefix}strip; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_STRIP+:} false; then :
7925 $as_echo_n "(cached) " >&6
7926 else
7927 if test -n "$STRIP"; then
7928 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7929 else
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 for as_dir in $PATH
7933 IFS=$as_save_IFS
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 break 2
7941 done
7942 done
7943 IFS=$as_save_IFS
7947 STRIP=$ac_cv_prog_STRIP
7948 if test -n "$STRIP"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7950 $as_echo "$STRIP" >&6; }
7951 else
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7958 if test -z "$ac_cv_prog_STRIP"; then
7959 ac_ct_STRIP=$STRIP
7960 # Extract the first word of "strip", so it can be a program name with args.
7961 set dummy strip; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7965 $as_echo_n "(cached) " >&6
7966 else
7967 if test -n "$ac_ct_STRIP"; then
7968 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7969 else
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 for as_dir in $PATH
7973 IFS=$as_save_IFS
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977 ac_cv_prog_ac_ct_STRIP="strip"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 break 2
7981 done
7982 done
7983 IFS=$as_save_IFS
7987 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7988 if test -n "$ac_ct_STRIP"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7990 $as_echo "$ac_ct_STRIP" >&6; }
7991 else
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7996 if test "x$ac_ct_STRIP" = x; then
7997 STRIP=":"
7998 else
7999 case $cross_compiling:$ac_tool_warned in
8000 yes:)
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003 ac_tool_warned=yes ;;
8004 esac
8005 STRIP=$ac_ct_STRIP
8007 else
8008 STRIP="$ac_cv_prog_STRIP"
8011 test -z "$STRIP" && STRIP=:
8018 if test -n "$ac_tool_prefix"; then
8019 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_RANLIB+:} false; then :
8024 $as_echo_n "(cached) " >&6
8025 else
8026 if test -n "$RANLIB"; then
8027 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8028 else
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 for as_dir in $PATH
8032 IFS=$as_save_IFS
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 break 2
8040 done
8041 done
8042 IFS=$as_save_IFS
8046 RANLIB=$ac_cv_prog_RANLIB
8047 if test -n "$RANLIB"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8049 $as_echo "$RANLIB" >&6; }
8050 else
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8057 if test -z "$ac_cv_prog_RANLIB"; then
8058 ac_ct_RANLIB=$RANLIB
8059 # Extract the first word of "ranlib", so it can be a program name with args.
8060 set dummy ranlib; ac_word=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8064 $as_echo_n "(cached) " >&6
8065 else
8066 if test -n "$ac_ct_RANLIB"; then
8067 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8068 else
8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070 for as_dir in $PATH
8072 IFS=$as_save_IFS
8073 test -z "$as_dir" && as_dir=.
8074 for ac_exec_ext in '' $ac_executable_extensions; do
8075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8076 ac_cv_prog_ac_ct_RANLIB="ranlib"
8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 break 2
8080 done
8081 done
8082 IFS=$as_save_IFS
8086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8087 if test -n "$ac_ct_RANLIB"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8089 $as_echo "$ac_ct_RANLIB" >&6; }
8090 else
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8095 if test "x$ac_ct_RANLIB" = x; then
8096 RANLIB=":"
8097 else
8098 case $cross_compiling:$ac_tool_warned in
8099 yes:)
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8102 ac_tool_warned=yes ;;
8103 esac
8104 RANLIB=$ac_ct_RANLIB
8106 else
8107 RANLIB="$ac_cv_prog_RANLIB"
8110 test -z "$RANLIB" && RANLIB=:
8111 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8112 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
8113 RANLIB="$RANLIB $plugin_option"
8122 # Determine commands to create old-style static archives.
8123 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8124 old_postinstall_cmds='chmod 644 $oldlib'
8125 old_postuninstall_cmds=
8127 if test -n "$RANLIB"; then
8128 case $host_os in
8129 openbsd*)
8130 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8133 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8135 esac
8136 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8139 case $host_os in
8140 darwin*)
8141 lock_old_archive_extraction=yes ;;
8143 lock_old_archive_extraction=no ;;
8144 esac
8184 # If no C compiler was specified, use CC.
8185 LTCC=${LTCC-"$CC"}
8187 # If no C compiler flags were specified, use CFLAGS.
8188 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8190 # Allow CC to be a program name with arguments.
8191 compiler=$CC
8194 # Check for command to grab the raw symbol name followed by C symbol from nm.
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8196 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8197 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8201 # These are sane defaults that work on at least a few old systems.
8202 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8204 # Character class describing NM global symbol codes.
8205 symcode='[BCDEGRST]'
8207 # Regexp to match symbols that can be accessed directly from C.
8208 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8210 # Define system-specific variables.
8211 case $host_os in
8212 aix*)
8213 symcode='[BCDT]'
8215 cygwin* | mingw* | pw32* | cegcc*)
8216 symcode='[ABCDGISTW]'
8218 hpux*)
8219 if test "$host_cpu" = ia64; then
8220 symcode='[ABCDEGRST]'
8223 irix* | nonstopux*)
8224 symcode='[BCDEGRST]'
8226 osf*)
8227 symcode='[BCDEGQRST]'
8229 solaris*)
8230 symcode='[BCDRT]'
8232 sco3.2v5*)
8233 symcode='[DT]'
8235 sysv4.2uw2*)
8236 symcode='[DT]'
8238 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8239 symcode='[ABDT]'
8241 sysv4)
8242 symcode='[DFNSTU]'
8244 esac
8246 # If we're using GNU nm, then use its standard symbol codes.
8247 case `$NM -V 2>&1` in
8248 *GNU* | *'with BFD'*)
8249 symcode='[ABCDGIRSTW]' ;;
8250 esac
8252 # Transform an extracted symbol line into a proper C declaration.
8253 # Some systems (esp. on ia64) link data and code symbols differently,
8254 # so use this general approach.
8255 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8257 # Transform an extracted symbol line into symbol name and symbol address
8258 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8259 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'"
8261 # Handle CRLF in mingw tool chain
8262 opt_cr=
8263 case $build_os in
8264 mingw*)
8265 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8267 esac
8269 # Try without a prefix underscore, then with it.
8270 for ac_symprfx in "" "_"; do
8272 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8273 symxfrm="\\1 $ac_symprfx\\2 \\2"
8275 # Write the raw and C identifiers.
8276 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8277 # Fake it for dumpbin and say T for any non-static function
8278 # and D for any global variable.
8279 # Also find C++ and __fastcall symbols from MSVC++,
8280 # which start with @ or ?.
8281 lt_cv_sys_global_symbol_pipe="$AWK '"\
8282 " {last_section=section; section=\$ 3};"\
8283 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8284 " \$ 0!~/External *\|/{next};"\
8285 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8286 " {if(hide[section]) next};"\
8287 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8288 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8289 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8290 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8291 " ' prfx=^$ac_symprfx"
8292 else
8293 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8296 # Check to see that the pipe works correctly.
8297 pipe_works=no
8299 rm -f conftest*
8300 cat > conftest.$ac_ext <<_LT_EOF
8301 #ifdef __cplusplus
8302 extern "C" {
8303 #endif
8304 char nm_test_var;
8305 void nm_test_func(void);
8306 void nm_test_func(void){}
8307 #ifdef __cplusplus
8309 #endif
8310 int main(){nm_test_var='a';nm_test_func();return(0);}
8311 _LT_EOF
8313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8314 (eval $ac_compile) 2>&5
8315 ac_status=$?
8316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8317 test $ac_status = 0; }; then
8318 # Now try to grab the symbols.
8319 nlist=conftest.nm
8320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8321 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8322 ac_status=$?
8323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8324 test $ac_status = 0; } && test -s "$nlist"; then
8325 # Try sorting and uniquifying the output.
8326 if sort "$nlist" | uniq > "$nlist"T; then
8327 mv -f "$nlist"T "$nlist"
8328 else
8329 rm -f "$nlist"T
8332 # Make sure that we snagged all the symbols we need.
8333 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8334 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8335 cat <<_LT_EOF > conftest.$ac_ext
8336 #ifdef __cplusplus
8337 extern "C" {
8338 #endif
8340 _LT_EOF
8341 # Now generate the symbol file.
8342 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8344 cat <<_LT_EOF >> conftest.$ac_ext
8346 /* The mapping between symbol names and symbols. */
8347 const struct {
8348 const char *name;
8349 void *address;
8351 lt__PROGRAM__LTX_preloaded_symbols[] =
8353 { "@PROGRAM@", (void *) 0 },
8354 _LT_EOF
8355 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8356 cat <<\_LT_EOF >> conftest.$ac_ext
8357 {0, (void *) 0}
8360 /* This works around a problem in FreeBSD linker */
8361 #ifdef FREEBSD_WORKAROUND
8362 static const void *lt_preloaded_setup() {
8363 return lt__PROGRAM__LTX_preloaded_symbols;
8365 #endif
8367 #ifdef __cplusplus
8369 #endif
8370 _LT_EOF
8371 # Now try linking the two files.
8372 mv conftest.$ac_objext conftstm.$ac_objext
8373 lt_save_LIBS="$LIBS"
8374 lt_save_CFLAGS="$CFLAGS"
8375 LIBS="conftstm.$ac_objext"
8376 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8378 (eval $ac_link) 2>&5
8379 ac_status=$?
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8381 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8382 pipe_works=yes
8384 LIBS="$lt_save_LIBS"
8385 CFLAGS="$lt_save_CFLAGS"
8386 else
8387 echo "cannot find nm_test_func in $nlist" >&5
8389 else
8390 echo "cannot find nm_test_var in $nlist" >&5
8392 else
8393 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8395 else
8396 echo "$progname: failed program was:" >&5
8397 cat conftest.$ac_ext >&5
8399 rm -rf conftest* conftst*
8401 # Do not use the global_symbol_pipe unless it works.
8402 if test "$pipe_works" = yes; then
8403 break
8404 else
8405 lt_cv_sys_global_symbol_pipe=
8407 done
8411 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8412 lt_cv_sys_global_symbol_to_cdecl=
8414 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8416 $as_echo "failed" >&6; }
8417 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8419 $as_echo "ok" >&6; }
8443 # Check whether --enable-libtool-lock was given.
8444 if test "${enable_libtool_lock+set}" = set; then :
8445 enableval=$enable_libtool_lock;
8448 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8450 # Some flags need to be propagated to the compiler or linker for good
8451 # libtool support.
8452 case $host in
8453 ia64-*-hpux*)
8454 # Find out which ABI we are using.
8455 echo 'int i;' > conftest.$ac_ext
8456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8457 (eval $ac_compile) 2>&5
8458 ac_status=$?
8459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8460 test $ac_status = 0; }; then
8461 case `/usr/bin/file conftest.$ac_objext` in
8462 *ELF-32*)
8463 HPUX_IA64_MODE="32"
8465 *ELF-64*)
8466 HPUX_IA64_MODE="64"
8468 esac
8470 rm -rf conftest*
8472 *-*-irix6*)
8473 # Find out which ABI we are using.
8474 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8476 (eval $ac_compile) 2>&5
8477 ac_status=$?
8478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8479 test $ac_status = 0; }; then
8480 if test "$lt_cv_prog_gnu_ld" = yes; then
8481 case `/usr/bin/file conftest.$ac_objext` in
8482 *32-bit*)
8483 LD="${LD-ld} -melf32bsmip"
8485 *N32*)
8486 LD="${LD-ld} -melf32bmipn32"
8488 *64-bit*)
8489 LD="${LD-ld} -melf64bmip"
8491 esac
8492 else
8493 case `/usr/bin/file conftest.$ac_objext` in
8494 *32-bit*)
8495 LD="${LD-ld} -32"
8497 *N32*)
8498 LD="${LD-ld} -n32"
8500 *64-bit*)
8501 LD="${LD-ld} -64"
8503 esac
8506 rm -rf conftest*
8509 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8510 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8511 # Find out which ABI we are using.
8512 echo 'int i;' > conftest.$ac_ext
8513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8514 (eval $ac_compile) 2>&5
8515 ac_status=$?
8516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8517 test $ac_status = 0; }; then
8518 case `/usr/bin/file conftest.o` in
8519 *32-bit*)
8520 case $host in
8521 x86_64-*kfreebsd*-gnu)
8522 LD="${LD-ld} -m elf_i386_fbsd"
8524 x86_64-*linux*)
8525 case `/usr/bin/file conftest.o` in
8526 *x86-64*)
8527 LD="${LD-ld} -m elf32_x86_64"
8530 LD="${LD-ld} -m elf_i386"
8532 esac
8534 powerpc64le-*linux*)
8535 LD="${LD-ld} -m elf32lppclinux"
8537 powerpc64-*linux*)
8538 LD="${LD-ld} -m elf32ppclinux"
8540 s390x-*linux*)
8541 LD="${LD-ld} -m elf_s390"
8543 sparc64-*linux*)
8544 LD="${LD-ld} -m elf32_sparc"
8546 esac
8548 *64-bit*)
8549 case $host in
8550 x86_64-*kfreebsd*-gnu)
8551 LD="${LD-ld} -m elf_x86_64_fbsd"
8553 x86_64-*linux*)
8554 LD="${LD-ld} -m elf_x86_64"
8556 powerpcle-*linux*)
8557 LD="${LD-ld} -m elf64lppc"
8559 powerpc-*linux*)
8560 LD="${LD-ld} -m elf64ppc"
8562 s390*-*linux*|s390*-*tpf*)
8563 LD="${LD-ld} -m elf64_s390"
8565 sparc*-*linux*)
8566 LD="${LD-ld} -m elf64_sparc"
8568 esac
8570 esac
8572 rm -rf conftest*
8575 *-*-sco3.2v5*)
8576 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8577 SAVE_CFLAGS="$CFLAGS"
8578 CFLAGS="$CFLAGS -belf"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8580 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8581 if ${lt_cv_cc_needs_belf+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_ext=c
8585 ac_cpp='$CPP $CPPFLAGS'
8586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8590 if test x$gcc_no_link = xyes; then
8591 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8597 main ()
8601 return 0;
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 lt_cv_cc_needs_belf=yes
8606 else
8607 lt_cv_cc_needs_belf=no
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 ac_ext=c
8612 ac_cpp='$CPP $CPPFLAGS'
8613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8619 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8620 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8621 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8622 CFLAGS="$SAVE_CFLAGS"
8625 sparc*-*solaris*)
8626 # Find out which ABI we are using.
8627 echo 'int i;' > conftest.$ac_ext
8628 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8629 (eval $ac_compile) 2>&5
8630 ac_status=$?
8631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8632 test $ac_status = 0; }; then
8633 case `/usr/bin/file conftest.o` in
8634 *64-bit*)
8635 case $lt_cv_prog_gnu_ld in
8636 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8638 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8639 LD="${LD-ld} -64"
8642 esac
8644 esac
8646 rm -rf conftest*
8648 esac
8650 need_locks="$enable_libtool_lock"
8653 case $host_os in
8654 rhapsody* | darwin*)
8655 if test -n "$ac_tool_prefix"; then
8656 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8657 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8659 $as_echo_n "checking for $ac_word... " >&6; }
8660 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 if test -n "$DSYMUTIL"; then
8664 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8665 else
8666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 for as_dir in $PATH
8669 IFS=$as_save_IFS
8670 test -z "$as_dir" && as_dir=.
8671 for ac_exec_ext in '' $ac_executable_extensions; do
8672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8673 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 break 2
8677 done
8678 done
8679 IFS=$as_save_IFS
8683 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8684 if test -n "$DSYMUTIL"; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8686 $as_echo "$DSYMUTIL" >&6; }
8687 else
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8689 $as_echo "no" >&6; }
8694 if test -z "$ac_cv_prog_DSYMUTIL"; then
8695 ac_ct_DSYMUTIL=$DSYMUTIL
8696 # Extract the first word of "dsymutil", so it can be a program name with args.
8697 set dummy dsymutil; ac_word=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8699 $as_echo_n "checking for $ac_word... " >&6; }
8700 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 if test -n "$ac_ct_DSYMUTIL"; then
8704 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8705 else
8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8707 for as_dir in $PATH
8709 IFS=$as_save_IFS
8710 test -z "$as_dir" && as_dir=.
8711 for ac_exec_ext in '' $ac_executable_extensions; do
8712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8713 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8715 break 2
8717 done
8718 done
8719 IFS=$as_save_IFS
8723 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8724 if test -n "$ac_ct_DSYMUTIL"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8726 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8727 else
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729 $as_echo "no" >&6; }
8732 if test "x$ac_ct_DSYMUTIL" = x; then
8733 DSYMUTIL=":"
8734 else
8735 case $cross_compiling:$ac_tool_warned in
8736 yes:)
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8739 ac_tool_warned=yes ;;
8740 esac
8741 DSYMUTIL=$ac_ct_DSYMUTIL
8743 else
8744 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8747 if test -n "$ac_tool_prefix"; then
8748 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8749 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8751 $as_echo_n "checking for $ac_word... " >&6; }
8752 if ${ac_cv_prog_NMEDIT+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 if test -n "$NMEDIT"; then
8756 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8757 else
8758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8759 for as_dir in $PATH
8761 IFS=$as_save_IFS
8762 test -z "$as_dir" && as_dir=.
8763 for ac_exec_ext in '' $ac_executable_extensions; do
8764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8765 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767 break 2
8769 done
8770 done
8771 IFS=$as_save_IFS
8775 NMEDIT=$ac_cv_prog_NMEDIT
8776 if test -n "$NMEDIT"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8778 $as_echo "$NMEDIT" >&6; }
8779 else
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8781 $as_echo "no" >&6; }
8786 if test -z "$ac_cv_prog_NMEDIT"; then
8787 ac_ct_NMEDIT=$NMEDIT
8788 # Extract the first word of "nmedit", so it can be a program name with args.
8789 set dummy nmedit; ac_word=$2
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8791 $as_echo_n "checking for $ac_word... " >&6; }
8792 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8793 $as_echo_n "(cached) " >&6
8794 else
8795 if test -n "$ac_ct_NMEDIT"; then
8796 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8797 else
8798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8799 for as_dir in $PATH
8801 IFS=$as_save_IFS
8802 test -z "$as_dir" && as_dir=.
8803 for ac_exec_ext in '' $ac_executable_extensions; do
8804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8805 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8807 break 2
8809 done
8810 done
8811 IFS=$as_save_IFS
8815 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8816 if test -n "$ac_ct_NMEDIT"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8818 $as_echo "$ac_ct_NMEDIT" >&6; }
8819 else
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8821 $as_echo "no" >&6; }
8824 if test "x$ac_ct_NMEDIT" = x; then
8825 NMEDIT=":"
8826 else
8827 case $cross_compiling:$ac_tool_warned in
8828 yes:)
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8831 ac_tool_warned=yes ;;
8832 esac
8833 NMEDIT=$ac_ct_NMEDIT
8835 else
8836 NMEDIT="$ac_cv_prog_NMEDIT"
8839 if test -n "$ac_tool_prefix"; then
8840 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8841 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8843 $as_echo_n "checking for $ac_word... " >&6; }
8844 if ${ac_cv_prog_LIPO+:} false; then :
8845 $as_echo_n "(cached) " >&6
8846 else
8847 if test -n "$LIPO"; then
8848 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8849 else
8850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 for as_dir in $PATH
8853 IFS=$as_save_IFS
8854 test -z "$as_dir" && as_dir=.
8855 for ac_exec_ext in '' $ac_executable_extensions; do
8856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8857 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8859 break 2
8861 done
8862 done
8863 IFS=$as_save_IFS
8867 LIPO=$ac_cv_prog_LIPO
8868 if test -n "$LIPO"; then
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8870 $as_echo "$LIPO" >&6; }
8871 else
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 $as_echo "no" >&6; }
8878 if test -z "$ac_cv_prog_LIPO"; then
8879 ac_ct_LIPO=$LIPO
8880 # Extract the first word of "lipo", so it can be a program name with args.
8881 set dummy lipo; ac_word=$2
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 $as_echo_n "checking for $ac_word... " >&6; }
8884 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8885 $as_echo_n "(cached) " >&6
8886 else
8887 if test -n "$ac_ct_LIPO"; then
8888 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8889 else
8890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 for as_dir in $PATH
8893 IFS=$as_save_IFS
8894 test -z "$as_dir" && as_dir=.
8895 for ac_exec_ext in '' $ac_executable_extensions; do
8896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8897 ac_cv_prog_ac_ct_LIPO="lipo"
8898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 break 2
8901 done
8902 done
8903 IFS=$as_save_IFS
8907 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8908 if test -n "$ac_ct_LIPO"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8910 $as_echo "$ac_ct_LIPO" >&6; }
8911 else
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 $as_echo "no" >&6; }
8916 if test "x$ac_ct_LIPO" = x; then
8917 LIPO=":"
8918 else
8919 case $cross_compiling:$ac_tool_warned in
8920 yes:)
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8923 ac_tool_warned=yes ;;
8924 esac
8925 LIPO=$ac_ct_LIPO
8927 else
8928 LIPO="$ac_cv_prog_LIPO"
8931 if test -n "$ac_tool_prefix"; then
8932 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8933 set dummy ${ac_tool_prefix}otool; ac_word=$2
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8935 $as_echo_n "checking for $ac_word... " >&6; }
8936 if ${ac_cv_prog_OTOOL+:} false; then :
8937 $as_echo_n "(cached) " >&6
8938 else
8939 if test -n "$OTOOL"; then
8940 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8941 else
8942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8943 for as_dir in $PATH
8945 IFS=$as_save_IFS
8946 test -z "$as_dir" && as_dir=.
8947 for ac_exec_ext in '' $ac_executable_extensions; do
8948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8949 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8951 break 2
8953 done
8954 done
8955 IFS=$as_save_IFS
8959 OTOOL=$ac_cv_prog_OTOOL
8960 if test -n "$OTOOL"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8962 $as_echo "$OTOOL" >&6; }
8963 else
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 $as_echo "no" >&6; }
8970 if test -z "$ac_cv_prog_OTOOL"; then
8971 ac_ct_OTOOL=$OTOOL
8972 # Extract the first word of "otool", so it can be a program name with args.
8973 set dummy otool; ac_word=$2
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8975 $as_echo_n "checking for $ac_word... " >&6; }
8976 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 if test -n "$ac_ct_OTOOL"; then
8980 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8981 else
8982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8983 for as_dir in $PATH
8985 IFS=$as_save_IFS
8986 test -z "$as_dir" && as_dir=.
8987 for ac_exec_ext in '' $ac_executable_extensions; do
8988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8989 ac_cv_prog_ac_ct_OTOOL="otool"
8990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8991 break 2
8993 done
8994 done
8995 IFS=$as_save_IFS
8999 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9000 if test -n "$ac_ct_OTOOL"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9002 $as_echo "$ac_ct_OTOOL" >&6; }
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9008 if test "x$ac_ct_OTOOL" = x; then
9009 OTOOL=":"
9010 else
9011 case $cross_compiling:$ac_tool_warned in
9012 yes:)
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9015 ac_tool_warned=yes ;;
9016 esac
9017 OTOOL=$ac_ct_OTOOL
9019 else
9020 OTOOL="$ac_cv_prog_OTOOL"
9023 if test -n "$ac_tool_prefix"; then
9024 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9025 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9027 $as_echo_n "checking for $ac_word... " >&6; }
9028 if ${ac_cv_prog_OTOOL64+:} false; then :
9029 $as_echo_n "(cached) " >&6
9030 else
9031 if test -n "$OTOOL64"; then
9032 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9033 else
9034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9035 for as_dir in $PATH
9037 IFS=$as_save_IFS
9038 test -z "$as_dir" && as_dir=.
9039 for ac_exec_ext in '' $ac_executable_extensions; do
9040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9041 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9043 break 2
9045 done
9046 done
9047 IFS=$as_save_IFS
9051 OTOOL64=$ac_cv_prog_OTOOL64
9052 if test -n "$OTOOL64"; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9054 $as_echo "$OTOOL64" >&6; }
9055 else
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9057 $as_echo "no" >&6; }
9062 if test -z "$ac_cv_prog_OTOOL64"; then
9063 ac_ct_OTOOL64=$OTOOL64
9064 # Extract the first word of "otool64", so it can be a program name with args.
9065 set dummy otool64; ac_word=$2
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9067 $as_echo_n "checking for $ac_word... " >&6; }
9068 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 if test -n "$ac_ct_OTOOL64"; then
9072 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9073 else
9074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9075 for as_dir in $PATH
9077 IFS=$as_save_IFS
9078 test -z "$as_dir" && as_dir=.
9079 for ac_exec_ext in '' $ac_executable_extensions; do
9080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9081 ac_cv_prog_ac_ct_OTOOL64="otool64"
9082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9083 break 2
9085 done
9086 done
9087 IFS=$as_save_IFS
9091 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9092 if test -n "$ac_ct_OTOOL64"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9094 $as_echo "$ac_ct_OTOOL64" >&6; }
9095 else
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9100 if test "x$ac_ct_OTOOL64" = x; then
9101 OTOOL64=":"
9102 else
9103 case $cross_compiling:$ac_tool_warned in
9104 yes:)
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9107 ac_tool_warned=yes ;;
9108 esac
9109 OTOOL64=$ac_ct_OTOOL64
9111 else
9112 OTOOL64="$ac_cv_prog_OTOOL64"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9142 $as_echo_n "checking for -single_module linker flag... " >&6; }
9143 if ${lt_cv_apple_cc_single_mod+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 lt_cv_apple_cc_single_mod=no
9147 if test -z "${LT_MULTI_MODULE}"; then
9148 # By default we will add the -single_module flag. You can override
9149 # by either setting the environment variable LT_MULTI_MODULE
9150 # non-empty at configure time, or by adding -multi_module to the
9151 # link flags.
9152 rm -rf libconftest.dylib*
9153 echo "int foo(void){return 1;}" > conftest.c
9154 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9155 -dynamiclib -Wl,-single_module conftest.c" >&5
9156 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9157 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9158 _lt_result=$?
9159 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9160 lt_cv_apple_cc_single_mod=yes
9161 else
9162 cat conftest.err >&5
9164 rm -rf libconftest.dylib*
9165 rm -f conftest.*
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9169 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9171 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9172 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 lt_cv_ld_exported_symbols_list=no
9176 save_LDFLAGS=$LDFLAGS
9177 echo "_main" > conftest.sym
9178 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9179 if test x$gcc_no_link = xyes; then
9180 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9186 main ()
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 lt_cv_ld_exported_symbols_list=yes
9195 else
9196 lt_cv_ld_exported_symbols_list=no
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 LDFLAGS="$save_LDFLAGS"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9204 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9206 $as_echo_n "checking for -force_load linker flag... " >&6; }
9207 if ${lt_cv_ld_force_load+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 lt_cv_ld_force_load=no
9211 cat > conftest.c << _LT_EOF
9212 int forced_loaded() { return 2;}
9213 _LT_EOF
9214 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9215 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9216 echo "$AR cru libconftest.a conftest.o" >&5
9217 $AR cru libconftest.a conftest.o 2>&5
9218 cat > conftest.c << _LT_EOF
9219 int main() { return 0;}
9220 _LT_EOF
9221 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9222 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9223 _lt_result=$?
9224 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9225 lt_cv_ld_force_load=yes
9226 else
9227 cat conftest.err >&5
9229 rm -f conftest.err libconftest.a conftest conftest.c
9230 rm -rf conftest.dSYM
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9234 $as_echo "$lt_cv_ld_force_load" >&6; }
9235 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9236 # build without first building modern cctools / linker.
9237 case $host_cpu-$host_os in
9238 *-rhapsody* | *-darwin1.[012])
9239 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9240 *-darwin1.*)
9241 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9242 *-darwin*)
9243 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9244 # deployment target is forced to an earlier version.
9245 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9246 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9248 10.[012][,.]*)
9249 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9253 esac
9255 esac
9256 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9257 _lt_dar_single_mod='$single_module'
9259 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9260 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9261 else
9262 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9264 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9265 _lt_dsymutil='~$DSYMUTIL $lib || :'
9266 else
9267 _lt_dsymutil=
9270 esac
9272 for ac_header in dlfcn.h
9273 do :
9274 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9276 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9277 cat >>confdefs.h <<_ACEOF
9278 #define HAVE_DLFCN_H 1
9279 _ACEOF
9283 done
9289 # Set options
9294 enable_win32_dll=no
9297 # Check whether --enable-shared was given.
9298 if test "${enable_shared+set}" = set; then :
9299 enableval=$enable_shared; p=${PACKAGE-default}
9300 case $enableval in
9301 yes) enable_shared=yes ;;
9302 no) enable_shared=no ;;
9304 enable_shared=no
9305 # Look at the argument we got. We use all the common list separators.
9306 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9307 for pkg in $enableval; do
9308 IFS="$lt_save_ifs"
9309 if test "X$pkg" = "X$p"; then
9310 enable_shared=yes
9312 done
9313 IFS="$lt_save_ifs"
9315 esac
9316 else
9317 enable_shared=yes
9328 # Check whether --enable-static was given.
9329 if test "${enable_static+set}" = set; then :
9330 enableval=$enable_static; p=${PACKAGE-default}
9331 case $enableval in
9332 yes) enable_static=yes ;;
9333 no) enable_static=no ;;
9335 enable_static=no
9336 # Look at the argument we got. We use all the common list separators.
9337 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9338 for pkg in $enableval; do
9339 IFS="$lt_save_ifs"
9340 if test "X$pkg" = "X$p"; then
9341 enable_static=yes
9343 done
9344 IFS="$lt_save_ifs"
9346 esac
9347 else
9348 enable_static=yes
9360 # Check whether --with-pic was given.
9361 if test "${with_pic+set}" = set; then :
9362 withval=$with_pic; pic_mode="$withval"
9363 else
9364 pic_mode=default
9368 test -z "$pic_mode" && pic_mode=default
9376 # Check whether --enable-fast-install was given.
9377 if test "${enable_fast_install+set}" = set; then :
9378 enableval=$enable_fast_install; p=${PACKAGE-default}
9379 case $enableval in
9380 yes) enable_fast_install=yes ;;
9381 no) enable_fast_install=no ;;
9383 enable_fast_install=no
9384 # Look at the argument we got. We use all the common list separators.
9385 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9386 for pkg in $enableval; do
9387 IFS="$lt_save_ifs"
9388 if test "X$pkg" = "X$p"; then
9389 enable_fast_install=yes
9391 done
9392 IFS="$lt_save_ifs"
9394 esac
9395 else
9396 enable_fast_install=yes
9409 # This can be used to rebuild libtool when needed
9410 LIBTOOL_DEPS="$ltmain"
9412 # Always use our own libtool.
9413 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9440 test -z "$LN_S" && LN_S="ln -s"
9455 if test -n "${ZSH_VERSION+set}" ; then
9456 setopt NO_GLOB_SUBST
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9460 $as_echo_n "checking for objdir... " >&6; }
9461 if ${lt_cv_objdir+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 rm -f .libs 2>/dev/null
9465 mkdir .libs 2>/dev/null
9466 if test -d .libs; then
9467 lt_cv_objdir=.libs
9468 else
9469 # MS-DOS does not allow filenames that begin with a dot.
9470 lt_cv_objdir=_libs
9472 rmdir .libs 2>/dev/null
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9475 $as_echo "$lt_cv_objdir" >&6; }
9476 objdir=$lt_cv_objdir
9482 cat >>confdefs.h <<_ACEOF
9483 #define LT_OBJDIR "$lt_cv_objdir/"
9484 _ACEOF
9489 case $host_os in
9490 aix3*)
9491 # AIX sometimes has problems with the GCC collect2 program. For some
9492 # reason, if we set the COLLECT_NAMES environment variable, the problems
9493 # vanish in a puff of smoke.
9494 if test "X${COLLECT_NAMES+set}" != Xset; then
9495 COLLECT_NAMES=
9496 export COLLECT_NAMES
9499 esac
9501 # Global variables:
9502 ofile=libtool
9503 can_build_shared=yes
9505 # All known linkers require a `.a' archive for static linking (except MSVC,
9506 # which needs '.lib').
9507 libext=a
9509 with_gnu_ld="$lt_cv_prog_gnu_ld"
9511 old_CC="$CC"
9512 old_CFLAGS="$CFLAGS"
9514 # Set sane defaults for various variables
9515 test -z "$CC" && CC=cc
9516 test -z "$LTCC" && LTCC=$CC
9517 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9518 test -z "$LD" && LD=ld
9519 test -z "$ac_objext" && ac_objext=o
9521 for cc_temp in $compiler""; do
9522 case $cc_temp in
9523 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9524 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9525 \-*) ;;
9526 *) break;;
9527 esac
9528 done
9529 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9532 # Only perform the check for file, if the check method requires it
9533 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9534 case $deplibs_check_method in
9535 file_magic*)
9536 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9538 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9539 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 case $MAGIC_CMD in
9543 [\\/*] | ?:[\\/]*)
9544 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9547 lt_save_MAGIC_CMD="$MAGIC_CMD"
9548 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9549 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9550 for ac_dir in $ac_dummy; do
9551 IFS="$lt_save_ifs"
9552 test -z "$ac_dir" && ac_dir=.
9553 if test -f $ac_dir/${ac_tool_prefix}file; then
9554 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9555 if test -n "$file_magic_test_file"; then
9556 case $deplibs_check_method in
9557 "file_magic "*)
9558 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9559 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9560 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9561 $EGREP "$file_magic_regex" > /dev/null; then
9563 else
9564 cat <<_LT_EOF 1>&2
9566 *** Warning: the command libtool uses to detect shared libraries,
9567 *** $file_magic_cmd, produces output that libtool cannot recognize.
9568 *** The result is that libtool may fail to recognize shared libraries
9569 *** as such. This will affect the creation of libtool libraries that
9570 *** depend on shared libraries, but programs linked with such libtool
9571 *** libraries will work regardless of this problem. Nevertheless, you
9572 *** may want to report the problem to your system manager and/or to
9573 *** bug-libtool@gnu.org
9575 _LT_EOF
9576 fi ;;
9577 esac
9579 break
9581 done
9582 IFS="$lt_save_ifs"
9583 MAGIC_CMD="$lt_save_MAGIC_CMD"
9585 esac
9588 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9589 if test -n "$MAGIC_CMD"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9591 $as_echo "$MAGIC_CMD" >&6; }
9592 else
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 $as_echo "no" >&6; }
9601 if test -z "$lt_cv_path_MAGIC_CMD"; then
9602 if test -n "$ac_tool_prefix"; then
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9604 $as_echo_n "checking for file... " >&6; }
9605 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 case $MAGIC_CMD in
9609 [\\/*] | ?:[\\/]*)
9610 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9613 lt_save_MAGIC_CMD="$MAGIC_CMD"
9614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9615 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9616 for ac_dir in $ac_dummy; do
9617 IFS="$lt_save_ifs"
9618 test -z "$ac_dir" && ac_dir=.
9619 if test -f $ac_dir/file; then
9620 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9621 if test -n "$file_magic_test_file"; then
9622 case $deplibs_check_method in
9623 "file_magic "*)
9624 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9625 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9626 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9627 $EGREP "$file_magic_regex" > /dev/null; then
9629 else
9630 cat <<_LT_EOF 1>&2
9632 *** Warning: the command libtool uses to detect shared libraries,
9633 *** $file_magic_cmd, produces output that libtool cannot recognize.
9634 *** The result is that libtool may fail to recognize shared libraries
9635 *** as such. This will affect the creation of libtool libraries that
9636 *** depend on shared libraries, but programs linked with such libtool
9637 *** libraries will work regardless of this problem. Nevertheless, you
9638 *** may want to report the problem to your system manager and/or to
9639 *** bug-libtool@gnu.org
9641 _LT_EOF
9642 fi ;;
9643 esac
9645 break
9647 done
9648 IFS="$lt_save_ifs"
9649 MAGIC_CMD="$lt_save_MAGIC_CMD"
9651 esac
9654 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9655 if test -n "$MAGIC_CMD"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9657 $as_echo "$MAGIC_CMD" >&6; }
9658 else
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 $as_echo "no" >&6; }
9664 else
9665 MAGIC_CMD=:
9671 esac
9673 # Use C for the default configuration in the libtool script
9675 lt_save_CC="$CC"
9676 ac_ext=c
9677 ac_cpp='$CPP $CPPFLAGS'
9678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9683 # Source file extension for C test sources.
9684 ac_ext=c
9686 # Object file extension for compiled C test sources.
9687 objext=o
9688 objext=$objext
9690 # Code to be used in simple compile tests
9691 lt_simple_compile_test_code="int some_variable = 0;"
9693 # Code to be used in simple link tests
9694 lt_simple_link_test_code='int main(){return(0);}'
9702 # If no C compiler was specified, use CC.
9703 LTCC=${LTCC-"$CC"}
9705 # If no C compiler flags were specified, use CFLAGS.
9706 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9708 # Allow CC to be a program name with arguments.
9709 compiler=$CC
9711 # Save the default compiler, since it gets overwritten when the other
9712 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9713 compiler_DEFAULT=$CC
9715 # save warnings/boilerplate of simple test code
9716 ac_outfile=conftest.$ac_objext
9717 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9718 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9719 _lt_compiler_boilerplate=`cat conftest.err`
9720 $RM conftest*
9722 ac_outfile=conftest.$ac_objext
9723 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9724 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9725 _lt_linker_boilerplate=`cat conftest.err`
9726 $RM -r conftest*
9729 ## CAVEAT EMPTOR:
9730 ## There is no encapsulation within the following macros, do not change
9731 ## the running order or otherwise move them around unless you know exactly
9732 ## what you are doing...
9733 if test -n "$compiler"; then
9735 lt_prog_compiler_no_builtin_flag=
9737 if test "$GCC" = yes; then
9738 case $cc_basename in
9739 nvcc*)
9740 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9742 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9743 esac
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9746 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9747 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 lt_cv_prog_compiler_rtti_exceptions=no
9751 ac_outfile=conftest.$ac_objext
9752 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9753 lt_compiler_flag="-fno-rtti -fno-exceptions"
9754 # Insert the option either (1) after the last *FLAGS variable, or
9755 # (2) before a word containing "conftest.", or (3) at the end.
9756 # Note that $ac_compile itself does not contain backslashes and begins
9757 # with a dollar sign (not a hyphen), so the echo should work correctly.
9758 # The option is referenced via a variable to avoid confusing sed.
9759 lt_compile=`echo "$ac_compile" | $SED \
9760 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9761 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9762 -e 's:$: $lt_compiler_flag:'`
9763 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9764 (eval "$lt_compile" 2>conftest.err)
9765 ac_status=$?
9766 cat conftest.err >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 if (exit $ac_status) && test -s "$ac_outfile"; then
9769 # The compiler can only warn and ignore the option if not recognized
9770 # So say no if there are warnings other than the usual output.
9771 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9773 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9774 lt_cv_prog_compiler_rtti_exceptions=yes
9777 $RM conftest*
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9781 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9783 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9784 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9785 else
9796 lt_prog_compiler_wl=
9797 lt_prog_compiler_pic=
9798 lt_prog_compiler_static=
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9801 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9803 if test "$GCC" = yes; then
9804 lt_prog_compiler_wl='-Wl,'
9805 lt_prog_compiler_static='-static'
9807 case $host_os in
9808 aix*)
9809 # All AIX code is PIC.
9810 if test "$host_cpu" = ia64; then
9811 # AIX 5 now supports IA64 processor
9812 lt_prog_compiler_static='-Bstatic'
9814 lt_prog_compiler_pic='-fPIC'
9817 amigaos*)
9818 case $host_cpu in
9819 powerpc)
9820 # see comment about AmigaOS4 .so support
9821 lt_prog_compiler_pic='-fPIC'
9823 m68k)
9824 # FIXME: we need at least 68020 code to build shared libraries, but
9825 # adding the `-m68020' flag to GCC prevents building anything better,
9826 # like `-m68040'.
9827 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9829 esac
9832 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9833 # PIC is the default for these OSes.
9836 mingw* | cygwin* | pw32* | os2* | cegcc*)
9837 # This hack is so that the source file can tell whether it is being
9838 # built for inclusion in a dll (and should export symbols for example).
9839 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9840 # (--disable-auto-import) libraries
9841 lt_prog_compiler_pic='-DDLL_EXPORT'
9844 darwin* | rhapsody*)
9845 # PIC is the default on this platform
9846 # Common symbols not allowed in MH_DYLIB files
9847 lt_prog_compiler_pic='-fno-common'
9850 haiku*)
9851 # PIC is the default for Haiku.
9852 # The "-static" flag exists, but is broken.
9853 lt_prog_compiler_static=
9856 hpux*)
9857 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9858 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9859 # sets the default TLS model and affects inlining.
9860 case $host_cpu in
9861 hppa*64*)
9862 # +Z the default
9865 lt_prog_compiler_pic='-fPIC'
9867 esac
9870 interix[3-9]*)
9871 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9872 # Instead, we relocate shared libraries at runtime.
9875 msdosdjgpp*)
9876 # Just because we use GCC doesn't mean we suddenly get shared libraries
9877 # on systems that don't support them.
9878 lt_prog_compiler_can_build_shared=no
9879 enable_shared=no
9882 *nto* | *qnx*)
9883 # QNX uses GNU C++, but need to define -shared option too, otherwise
9884 # it will coredump.
9885 lt_prog_compiler_pic='-fPIC -shared'
9888 sysv4*MP*)
9889 if test -d /usr/nec; then
9890 lt_prog_compiler_pic=-Kconform_pic
9895 lt_prog_compiler_pic='-fPIC'
9897 esac
9899 case $cc_basename in
9900 nvcc*) # Cuda Compiler Driver 2.2
9901 lt_prog_compiler_wl='-Xlinker '
9902 lt_prog_compiler_pic='-Xcompiler -fPIC'
9904 esac
9905 else
9906 # PORTME Check for flag to pass linker flags through the system compiler.
9907 case $host_os in
9908 aix*)
9909 lt_prog_compiler_wl='-Wl,'
9910 if test "$host_cpu" = ia64; then
9911 # AIX 5 now supports IA64 processor
9912 lt_prog_compiler_static='-Bstatic'
9913 else
9914 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9918 mingw* | cygwin* | pw32* | os2* | cegcc*)
9919 # This hack is so that the source file can tell whether it is being
9920 # built for inclusion in a dll (and should export symbols for example).
9921 lt_prog_compiler_pic='-DDLL_EXPORT'
9924 hpux9* | hpux10* | hpux11*)
9925 lt_prog_compiler_wl='-Wl,'
9926 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9927 # not for PA HP-UX.
9928 case $host_cpu in
9929 hppa*64*|ia64*)
9930 # +Z the default
9933 lt_prog_compiler_pic='+Z'
9935 esac
9936 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9937 lt_prog_compiler_static='${wl}-a ${wl}archive'
9940 irix5* | irix6* | nonstopux*)
9941 lt_prog_compiler_wl='-Wl,'
9942 # PIC (with -KPIC) is the default.
9943 lt_prog_compiler_static='-non_shared'
9946 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9947 case $cc_basename in
9948 # old Intel for x86_64 which still supported -KPIC.
9949 ecc*)
9950 lt_prog_compiler_wl='-Wl,'
9951 lt_prog_compiler_pic='-KPIC'
9952 lt_prog_compiler_static='-static'
9954 # icc used to be incompatible with GCC.
9955 # ICC 10 doesn't accept -KPIC any more.
9956 icc* | ifort*)
9957 lt_prog_compiler_wl='-Wl,'
9958 lt_prog_compiler_pic='-fPIC'
9959 lt_prog_compiler_static='-static'
9961 # Lahey Fortran 8.1.
9962 lf95*)
9963 lt_prog_compiler_wl='-Wl,'
9964 lt_prog_compiler_pic='--shared'
9965 lt_prog_compiler_static='--static'
9967 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9968 # Portland Group compilers (*not* the Pentium gcc compiler,
9969 # which looks to be a dead project)
9970 lt_prog_compiler_wl='-Wl,'
9971 lt_prog_compiler_pic='-fpic'
9972 lt_prog_compiler_static='-Bstatic'
9974 ccc*)
9975 lt_prog_compiler_wl='-Wl,'
9976 # All Alpha code is PIC.
9977 lt_prog_compiler_static='-non_shared'
9979 xl* | bgxl* | bgf* | mpixl*)
9980 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9981 lt_prog_compiler_wl='-Wl,'
9982 lt_prog_compiler_pic='-qpic'
9983 lt_prog_compiler_static='-qstaticlink'
9986 case `$CC -V 2>&1 | sed 5q` in
9987 *Sun\ F* | *Sun*Fortran*)
9988 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9989 lt_prog_compiler_pic='-KPIC'
9990 lt_prog_compiler_static='-Bstatic'
9991 lt_prog_compiler_wl=''
9993 *Sun\ C*)
9994 # Sun C 5.9
9995 lt_prog_compiler_pic='-KPIC'
9996 lt_prog_compiler_static='-Bstatic'
9997 lt_prog_compiler_wl='-Wl,'
9999 esac
10001 esac
10004 newsos6)
10005 lt_prog_compiler_pic='-KPIC'
10006 lt_prog_compiler_static='-Bstatic'
10009 *nto* | *qnx*)
10010 # QNX uses GNU C++, but need to define -shared option too, otherwise
10011 # it will coredump.
10012 lt_prog_compiler_pic='-fPIC -shared'
10015 osf3* | osf4* | osf5*)
10016 lt_prog_compiler_wl='-Wl,'
10017 # All OSF/1 code is PIC.
10018 lt_prog_compiler_static='-non_shared'
10021 rdos*)
10022 lt_prog_compiler_static='-non_shared'
10025 solaris*)
10026 lt_prog_compiler_pic='-KPIC'
10027 lt_prog_compiler_static='-Bstatic'
10028 case $cc_basename in
10029 f77* | f90* | f95*)
10030 lt_prog_compiler_wl='-Qoption ld ';;
10032 lt_prog_compiler_wl='-Wl,';;
10033 esac
10036 sunos4*)
10037 lt_prog_compiler_wl='-Qoption ld '
10038 lt_prog_compiler_pic='-PIC'
10039 lt_prog_compiler_static='-Bstatic'
10042 sysv4 | sysv4.2uw2* | sysv4.3*)
10043 lt_prog_compiler_wl='-Wl,'
10044 lt_prog_compiler_pic='-KPIC'
10045 lt_prog_compiler_static='-Bstatic'
10048 sysv4*MP*)
10049 if test -d /usr/nec ;then
10050 lt_prog_compiler_pic='-Kconform_pic'
10051 lt_prog_compiler_static='-Bstatic'
10055 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10056 lt_prog_compiler_wl='-Wl,'
10057 lt_prog_compiler_pic='-KPIC'
10058 lt_prog_compiler_static='-Bstatic'
10061 unicos*)
10062 lt_prog_compiler_wl='-Wl,'
10063 lt_prog_compiler_can_build_shared=no
10066 uts4*)
10067 lt_prog_compiler_pic='-pic'
10068 lt_prog_compiler_static='-Bstatic'
10072 lt_prog_compiler_can_build_shared=no
10074 esac
10077 case $host_os in
10078 # For platforms which do not support PIC, -DPIC is meaningless:
10079 *djgpp*)
10080 lt_prog_compiler_pic=
10083 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10085 esac
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10087 $as_echo "$lt_prog_compiler_pic" >&6; }
10095 # Check to make sure the PIC flag actually works.
10097 if test -n "$lt_prog_compiler_pic"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10099 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10100 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10101 $as_echo_n "(cached) " >&6
10102 else
10103 lt_cv_prog_compiler_pic_works=no
10104 ac_outfile=conftest.$ac_objext
10105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10106 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10107 # Insert the option either (1) after the last *FLAGS variable, or
10108 # (2) before a word containing "conftest.", or (3) at the end.
10109 # Note that $ac_compile itself does not contain backslashes and begins
10110 # with a dollar sign (not a hyphen), so the echo should work correctly.
10111 # The option is referenced via a variable to avoid confusing sed.
10112 lt_compile=`echo "$ac_compile" | $SED \
10113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10115 -e 's:$: $lt_compiler_flag:'`
10116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10117 (eval "$lt_compile" 2>conftest.err)
10118 ac_status=$?
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 if (exit $ac_status) && test -s "$ac_outfile"; then
10122 # The compiler can only warn and ignore the option if not recognized
10123 # So say no if there are warnings other than the usual output.
10124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10125 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10126 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10127 lt_cv_prog_compiler_pic_works=yes
10130 $RM conftest*
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10136 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10137 case $lt_prog_compiler_pic in
10138 "" | " "*) ;;
10139 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10140 esac
10141 else
10142 lt_prog_compiler_pic=
10143 lt_prog_compiler_can_build_shared=no
10154 # Check to make sure the static flag actually works.
10156 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10158 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10159 if ${lt_cv_prog_compiler_static_works+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 lt_cv_prog_compiler_static_works=no
10163 save_LDFLAGS="$LDFLAGS"
10164 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10165 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10166 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10167 # The linker can only warn and ignore the option if not recognized
10168 # So say no if there are warnings
10169 if test -s conftest.err; then
10170 # Append any errors to the config.log.
10171 cat conftest.err 1>&5
10172 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10173 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10174 if diff conftest.exp conftest.er2 >/dev/null; then
10175 lt_cv_prog_compiler_static_works=yes
10177 else
10178 lt_cv_prog_compiler_static_works=yes
10181 $RM -r conftest*
10182 LDFLAGS="$save_LDFLAGS"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10186 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10188 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10190 else
10191 lt_prog_compiler_static=
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10202 if ${lt_cv_prog_compiler_c_o+:} false; then :
10203 $as_echo_n "(cached) " >&6
10204 else
10205 lt_cv_prog_compiler_c_o=no
10206 $RM -r conftest 2>/dev/null
10207 mkdir conftest
10208 cd conftest
10209 mkdir out
10210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10212 lt_compiler_flag="-o out/conftest2.$ac_objext"
10213 # Insert the option either (1) after the last *FLAGS variable, or
10214 # (2) before a word containing "conftest.", or (3) at the end.
10215 # Note that $ac_compile itself does not contain backslashes and begins
10216 # with a dollar sign (not a hyphen), so the echo should work correctly.
10217 lt_compile=`echo "$ac_compile" | $SED \
10218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10220 -e 's:$: $lt_compiler_flag:'`
10221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10222 (eval "$lt_compile" 2>out/conftest.err)
10223 ac_status=$?
10224 cat out/conftest.err >&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10227 then
10228 # The compiler can only warn and ignore the option if not recognized
10229 # So say no if there are warnings
10230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10231 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10232 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10233 lt_cv_prog_compiler_c_o=yes
10236 chmod u+w . 2>&5
10237 $RM conftest*
10238 # SGI C++ compiler will create directory out/ii_files/ for
10239 # template instantiation
10240 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10241 $RM out/* && rmdir out
10242 cd ..
10243 $RM -r conftest
10244 $RM conftest*
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10248 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10256 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10257 if ${lt_cv_prog_compiler_c_o+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 lt_cv_prog_compiler_c_o=no
10261 $RM -r conftest 2>/dev/null
10262 mkdir conftest
10263 cd conftest
10264 mkdir out
10265 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10267 lt_compiler_flag="-o out/conftest2.$ac_objext"
10268 # Insert the option either (1) after the last *FLAGS variable, or
10269 # (2) before a word containing "conftest.", or (3) at the end.
10270 # Note that $ac_compile itself does not contain backslashes and begins
10271 # with a dollar sign (not a hyphen), so the echo should work correctly.
10272 lt_compile=`echo "$ac_compile" | $SED \
10273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10275 -e 's:$: $lt_compiler_flag:'`
10276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10277 (eval "$lt_compile" 2>out/conftest.err)
10278 ac_status=$?
10279 cat out/conftest.err >&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10282 then
10283 # The compiler can only warn and ignore the option if not recognized
10284 # So say no if there are warnings
10285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10286 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10287 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10288 lt_cv_prog_compiler_c_o=yes
10291 chmod u+w . 2>&5
10292 $RM conftest*
10293 # SGI C++ compiler will create directory out/ii_files/ for
10294 # template instantiation
10295 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10296 $RM out/* && rmdir out
10297 cd ..
10298 $RM -r conftest
10299 $RM conftest*
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10303 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10308 hard_links="nottested"
10309 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10310 # do not overwrite the value of need_locks provided by the user
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10312 $as_echo_n "checking if we can lock with hard links... " >&6; }
10313 hard_links=yes
10314 $RM conftest*
10315 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10316 touch conftest.a
10317 ln conftest.a conftest.b 2>&5 || hard_links=no
10318 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10320 $as_echo "$hard_links" >&6; }
10321 if test "$hard_links" = no; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10323 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10324 need_locks=warn
10326 else
10327 need_locks=no
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10336 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10338 runpath_var=
10339 allow_undefined_flag=
10340 always_export_symbols=no
10341 archive_cmds=
10342 archive_expsym_cmds=
10343 compiler_needs_object=no
10344 enable_shared_with_static_runtimes=no
10345 export_dynamic_flag_spec=
10346 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10347 hardcode_automatic=no
10348 hardcode_direct=no
10349 hardcode_direct_absolute=no
10350 hardcode_libdir_flag_spec=
10351 hardcode_libdir_flag_spec_ld=
10352 hardcode_libdir_separator=
10353 hardcode_minus_L=no
10354 hardcode_shlibpath_var=unsupported
10355 inherit_rpath=no
10356 link_all_deplibs=unknown
10357 module_cmds=
10358 module_expsym_cmds=
10359 old_archive_from_new_cmds=
10360 old_archive_from_expsyms_cmds=
10361 thread_safe_flag_spec=
10362 whole_archive_flag_spec=
10363 # include_expsyms should be a list of space-separated symbols to be *always*
10364 # included in the symbol list
10365 include_expsyms=
10366 # exclude_expsyms can be an extended regexp of symbols to exclude
10367 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10368 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10369 # as well as any symbol that contains `d'.
10370 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10371 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10372 # platforms (ab)use it in PIC code, but their linkers get confused if
10373 # the symbol is explicitly referenced. Since portable code cannot
10374 # rely on this symbol name, it's probably fine to never include it in
10375 # preloaded symbol tables.
10376 # Exclude shared library initialization/finalization symbols.
10377 extract_expsyms_cmds=
10379 case $host_os in
10380 cygwin* | mingw* | pw32* | cegcc*)
10381 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10382 # When not using gcc, we currently assume that we are using
10383 # Microsoft Visual C++.
10384 if test "$GCC" != yes; then
10385 with_gnu_ld=no
10388 interix*)
10389 # we just hope/assume this is gcc and not c89 (= MSVC++)
10390 with_gnu_ld=yes
10392 openbsd*)
10393 with_gnu_ld=no
10395 esac
10397 ld_shlibs=yes
10399 # On some targets, GNU ld is compatible enough with the native linker
10400 # that we're better off using the native interface for both.
10401 lt_use_gnu_ld_interface=no
10402 if test "$with_gnu_ld" = yes; then
10403 case $host_os in
10404 aix*)
10405 # The AIX port of GNU ld has always aspired to compatibility
10406 # with the native linker. However, as the warning in the GNU ld
10407 # block says, versions before 2.19.5* couldn't really create working
10408 # shared libraries, regardless of the interface used.
10409 case `$LD -v 2>&1` in
10410 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10411 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10412 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10414 lt_use_gnu_ld_interface=yes
10416 esac
10419 lt_use_gnu_ld_interface=yes
10421 esac
10424 if test "$lt_use_gnu_ld_interface" = yes; then
10425 # If archive_cmds runs LD, not CC, wlarc should be empty
10426 wlarc='${wl}'
10428 # Set some defaults for GNU ld with shared library support. These
10429 # are reset later if shared libraries are not supported. Putting them
10430 # here allows them to be overridden if necessary.
10431 runpath_var=LD_RUN_PATH
10432 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10433 export_dynamic_flag_spec='${wl}--export-dynamic'
10434 # ancient GNU ld didn't support --whole-archive et. al.
10435 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10436 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10437 else
10438 whole_archive_flag_spec=
10440 supports_anon_versioning=no
10441 case `$LD -v 2>&1` in
10442 *GNU\ gold*) supports_anon_versioning=yes ;;
10443 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10444 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10445 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10446 *\ 2.11.*) ;; # other 2.11 versions
10447 *) supports_anon_versioning=yes ;;
10448 esac
10450 # See if GNU ld supports shared libraries.
10451 case $host_os in
10452 aix[3-9]*)
10453 # On AIX/PPC, the GNU linker is very broken
10454 if test "$host_cpu" != ia64; then
10455 ld_shlibs=no
10456 cat <<_LT_EOF 1>&2
10458 *** Warning: the GNU linker, at least up to release 2.19, is reported
10459 *** to be unable to reliably create shared libraries on AIX.
10460 *** Therefore, libtool is disabling shared libraries support. If you
10461 *** really care for shared libraries, you may want to install binutils
10462 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10463 *** You will then need to restart the configuration process.
10465 _LT_EOF
10469 amigaos*)
10470 case $host_cpu in
10471 powerpc)
10472 # see comment about AmigaOS4 .so support
10473 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10474 archive_expsym_cmds=''
10476 m68k)
10477 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)'
10478 hardcode_libdir_flag_spec='-L$libdir'
10479 hardcode_minus_L=yes
10481 esac
10484 beos*)
10485 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10486 allow_undefined_flag=unsupported
10487 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10488 # support --undefined. This deserves some investigation. FIXME
10489 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10490 else
10491 ld_shlibs=no
10495 cygwin* | mingw* | pw32* | cegcc*)
10496 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10497 # as there is no search path for DLLs.
10498 hardcode_libdir_flag_spec='-L$libdir'
10499 export_dynamic_flag_spec='${wl}--export-all-symbols'
10500 allow_undefined_flag=unsupported
10501 always_export_symbols=no
10502 enable_shared_with_static_runtimes=yes
10503 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10505 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10506 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10507 # If the export-symbols file already is a .def file (1st line
10508 # is EXPORTS), use it as is; otherwise, prepend...
10509 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10510 cp $export_symbols $output_objdir/$soname.def;
10511 else
10512 echo EXPORTS > $output_objdir/$soname.def;
10513 cat $export_symbols >> $output_objdir/$soname.def;
10515 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10516 else
10517 ld_shlibs=no
10521 haiku*)
10522 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10523 link_all_deplibs=yes
10526 interix[3-9]*)
10527 hardcode_direct=no
10528 hardcode_shlibpath_var=no
10529 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10530 export_dynamic_flag_spec='${wl}-E'
10531 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10532 # Instead, shared libraries are loaded at an image base (0x10000000 by
10533 # default) and relocated if they conflict, which is a slow very memory
10534 # consuming and fragmenting process. To avoid this, we pick a random,
10535 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10536 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10537 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10538 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'
10541 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10542 tmp_diet=no
10543 if test "$host_os" = linux-dietlibc; then
10544 case $cc_basename in
10545 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10546 esac
10548 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10549 && test "$tmp_diet" = no
10550 then
10551 tmp_addflag=' $pic_flag'
10552 tmp_sharedflag='-shared'
10553 case $cc_basename,$host_cpu in
10554 pgcc*) # Portland Group C compiler
10555 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'
10556 tmp_addflag=' $pic_flag'
10558 pgf77* | pgf90* | pgf95* | pgfortran*)
10559 # Portland Group f77 and f90 compilers
10560 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'
10561 tmp_addflag=' $pic_flag -Mnomain' ;;
10562 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10563 tmp_addflag=' -i_dynamic' ;;
10564 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10565 tmp_addflag=' -i_dynamic -nofor_main' ;;
10566 ifc* | ifort*) # Intel Fortran compiler
10567 tmp_addflag=' -nofor_main' ;;
10568 lf95*) # Lahey Fortran 8.1
10569 whole_archive_flag_spec=
10570 tmp_sharedflag='--shared' ;;
10571 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10572 tmp_sharedflag='-qmkshrobj'
10573 tmp_addflag= ;;
10574 nvcc*) # Cuda Compiler Driver 2.2
10575 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'
10576 compiler_needs_object=yes
10578 esac
10579 case `$CC -V 2>&1 | sed 5q` in
10580 *Sun\ C*) # Sun C 5.9
10581 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'
10582 compiler_needs_object=yes
10583 tmp_sharedflag='-G' ;;
10584 *Sun\ F*) # Sun Fortran 8.3
10585 tmp_sharedflag='-G' ;;
10586 esac
10587 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10589 if test "x$supports_anon_versioning" = xyes; then
10590 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10592 echo "local: *; };" >> $output_objdir/$libname.ver~
10593 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10596 case $cc_basename in
10597 xlf* | bgf* | bgxlf* | mpixlf*)
10598 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10599 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10600 hardcode_libdir_flag_spec=
10601 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10602 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10603 if test "x$supports_anon_versioning" = xyes; then
10604 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10605 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10606 echo "local: *; };" >> $output_objdir/$libname.ver~
10607 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10610 esac
10611 else
10612 ld_shlibs=no
10616 netbsd*)
10617 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10618 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10619 wlarc=
10620 else
10621 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10622 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10626 solaris*)
10627 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10628 ld_shlibs=no
10629 cat <<_LT_EOF 1>&2
10631 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10632 *** create shared libraries on Solaris systems. Therefore, libtool
10633 *** is disabling shared libraries support. We urge you to upgrade GNU
10634 *** binutils to release 2.9.1 or newer. Another option is to modify
10635 *** your PATH or compiler configuration so that the native linker is
10636 *** used, and then restart.
10638 _LT_EOF
10639 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10640 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10641 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10642 else
10643 ld_shlibs=no
10647 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10648 case `$LD -v 2>&1` in
10649 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10650 ld_shlibs=no
10651 cat <<_LT_EOF 1>&2
10653 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10654 *** reliably create shared libraries on SCO systems. Therefore, libtool
10655 *** is disabling shared libraries support. We urge you to upgrade GNU
10656 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10657 *** your PATH or compiler configuration so that the native linker is
10658 *** used, and then restart.
10660 _LT_EOF
10663 # For security reasons, it is highly recommended that you always
10664 # use absolute paths for naming shared libraries, and exclude the
10665 # DT_RUNPATH tag from executables and libraries. But doing so
10666 # requires that you compile everything twice, which is a pain.
10667 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10668 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10670 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10671 else
10672 ld_shlibs=no
10675 esac
10678 sunos4*)
10679 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10680 wlarc=
10681 hardcode_direct=yes
10682 hardcode_shlibpath_var=no
10686 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10687 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10688 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10689 else
10690 ld_shlibs=no
10693 esac
10695 if test "$ld_shlibs" = no; then
10696 runpath_var=
10697 hardcode_libdir_flag_spec=
10698 export_dynamic_flag_spec=
10699 whole_archive_flag_spec=
10701 else
10702 # PORTME fill in a description of your system's linker (not GNU ld)
10703 case $host_os in
10704 aix3*)
10705 allow_undefined_flag=unsupported
10706 always_export_symbols=yes
10707 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'
10708 # Note: this linker hardcodes the directories in LIBPATH if there
10709 # are no directories specified by -L.
10710 hardcode_minus_L=yes
10711 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10712 # Neither direct hardcoding nor static linking is supported with a
10713 # broken collect2.
10714 hardcode_direct=unsupported
10718 aix[4-9]*)
10719 if test "$host_cpu" = ia64; then
10720 # On IA64, the linker does run time linking by default, so we don't
10721 # have to do anything special.
10722 aix_use_runtimelinking=no
10723 exp_sym_flag='-Bexport'
10724 no_entry_flag=""
10725 else
10726 # If we're using GNU nm, then we don't want the "-C" option.
10727 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10728 # Also, AIX nm treats weak defined symbols like other global
10729 # defined symbols, whereas GNU nm marks them as "W".
10730 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10731 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'
10732 else
10733 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10735 aix_use_runtimelinking=no
10737 # Test if we are trying to use run time linking or normal
10738 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10739 # need to do runtime linking.
10740 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10741 for ld_flag in $LDFLAGS; do
10742 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10743 aix_use_runtimelinking=yes
10744 break
10746 done
10748 esac
10750 exp_sym_flag='-bexport'
10751 no_entry_flag='-bnoentry'
10754 # When large executables or shared objects are built, AIX ld can
10755 # have problems creating the table of contents. If linking a library
10756 # or program results in "error TOC overflow" add -mminimal-toc to
10757 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10758 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10760 archive_cmds=''
10761 hardcode_direct=yes
10762 hardcode_direct_absolute=yes
10763 hardcode_libdir_separator=':'
10764 link_all_deplibs=yes
10765 file_list_spec='${wl}-f,'
10767 if test "$GCC" = yes; then
10768 case $host_os in aix4.[012]|aix4.[012].*)
10769 # We only want to do this on AIX 4.2 and lower, the check
10770 # below for broken collect2 doesn't work under 4.3+
10771 collect2name=`${CC} -print-prog-name=collect2`
10772 if test -f "$collect2name" &&
10773 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10774 then
10775 # We have reworked collect2
10777 else
10778 # We have old collect2
10779 hardcode_direct=unsupported
10780 # It fails to find uninstalled libraries when the uninstalled
10781 # path is not listed in the libpath. Setting hardcode_minus_L
10782 # to unsupported forces relinking
10783 hardcode_minus_L=yes
10784 hardcode_libdir_flag_spec='-L$libdir'
10785 hardcode_libdir_separator=
10788 esac
10789 shared_flag='-shared'
10790 if test "$aix_use_runtimelinking" = yes; then
10791 shared_flag="$shared_flag "'${wl}-G'
10793 else
10794 # not using gcc
10795 if test "$host_cpu" = ia64; then
10796 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10797 # chokes on -Wl,-G. The following line is correct:
10798 shared_flag='-G'
10799 else
10800 if test "$aix_use_runtimelinking" = yes; then
10801 shared_flag='${wl}-G'
10802 else
10803 shared_flag='${wl}-bM:SRE'
10808 export_dynamic_flag_spec='${wl}-bexpall'
10809 # It seems that -bexpall does not export symbols beginning with
10810 # underscore (_), so it is better to generate a list of symbols to export.
10811 always_export_symbols=yes
10812 if test "$aix_use_runtimelinking" = yes; then
10813 # Warning - without using the other runtime loading flags (-brtl),
10814 # -berok will link without error, but may produce a broken library.
10815 allow_undefined_flag='-berok'
10816 # Determine the default libpath from the value encoded in an
10817 # empty executable.
10818 if test x$gcc_no_link = xyes; then
10819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10825 main ()
10829 return 0;
10831 _ACEOF
10832 if ac_fn_c_try_link "$LINENO"; then :
10834 lt_aix_libpath_sed='
10835 /Import File Strings/,/^$/ {
10836 /^0/ {
10837 s/^0 *\(.*\)$/\1/
10841 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10842 # Check for a 64-bit object if we didn't find anything.
10843 if test -z "$aix_libpath"; then
10844 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10851 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10852 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"
10853 else
10854 if test "$host_cpu" = ia64; then
10855 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10856 allow_undefined_flag="-z nodefs"
10857 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"
10858 else
10859 # Determine the default libpath from the value encoded in an
10860 # empty executable.
10861 if test x$gcc_no_link = xyes; then
10862 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10868 main ()
10872 return 0;
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"; then :
10877 lt_aix_libpath_sed='
10878 /Import File Strings/,/^$/ {
10879 /^0/ {
10880 s/^0 *\(.*\)$/\1/
10884 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10885 # Check for a 64-bit object if we didn't find anything.
10886 if test -z "$aix_libpath"; then
10887 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10894 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10895 # Warning - without using the other run time loading flags,
10896 # -berok will link without error, but may produce a broken library.
10897 no_undefined_flag=' ${wl}-bernotok'
10898 allow_undefined_flag=' ${wl}-berok'
10899 if test "$with_gnu_ld" = yes; then
10900 # We only use this code for GNU lds that support --whole-archive.
10901 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10902 else
10903 # Exported symbols can be pulled into shared objects from archives
10904 whole_archive_flag_spec='$convenience'
10906 archive_cmds_need_lc=yes
10907 # This is similar to how AIX traditionally builds its shared libraries.
10908 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'
10913 amigaos*)
10914 case $host_cpu in
10915 powerpc)
10916 # see comment about AmigaOS4 .so support
10917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10918 archive_expsym_cmds=''
10920 m68k)
10921 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)'
10922 hardcode_libdir_flag_spec='-L$libdir'
10923 hardcode_minus_L=yes
10925 esac
10928 bsdi[45]*)
10929 export_dynamic_flag_spec=-rdynamic
10932 cygwin* | mingw* | pw32* | cegcc*)
10933 # When not using gcc, we currently assume that we are using
10934 # Microsoft Visual C++.
10935 # hardcode_libdir_flag_spec is actually meaningless, as there is
10936 # no search path for DLLs.
10937 hardcode_libdir_flag_spec=' '
10938 allow_undefined_flag=unsupported
10939 # Tell ltmain to make .lib files, not .a files.
10940 libext=lib
10941 # Tell ltmain to make .dll files, not .so files.
10942 shrext_cmds=".dll"
10943 # FIXME: Setting linknames here is a bad hack.
10944 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10945 # The linker will automatically build a .lib file if we build a DLL.
10946 old_archive_from_new_cmds='true'
10947 # FIXME: Should let the user specify the lib program.
10948 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10949 fix_srcfile_path='`cygpath -w "$srcfile"`'
10950 enable_shared_with_static_runtimes=yes
10953 darwin* | rhapsody*)
10956 archive_cmds_need_lc=no
10957 hardcode_direct=no
10958 hardcode_automatic=yes
10959 hardcode_shlibpath_var=unsupported
10960 if test "$lt_cv_ld_force_load" = "yes"; then
10961 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\"`'
10962 else
10963 whole_archive_flag_spec=''
10965 link_all_deplibs=yes
10966 allow_undefined_flag="$_lt_dar_allow_undefined"
10967 case $cc_basename in
10968 ifort*) _lt_dar_can_shared=yes ;;
10969 *) _lt_dar_can_shared=$GCC ;;
10970 esac
10971 if test "$_lt_dar_can_shared" = "yes"; then
10972 output_verbose_link_cmd=func_echo_all
10973 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10974 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10975 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}"
10976 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}"
10978 else
10979 ld_shlibs=no
10984 dgux*)
10985 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10986 hardcode_libdir_flag_spec='-L$libdir'
10987 hardcode_shlibpath_var=no
10990 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10991 # support. Future versions do this automatically, but an explicit c++rt0.o
10992 # does not break anything, and helps significantly (at the cost of a little
10993 # extra space).
10994 freebsd2.2*)
10995 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10996 hardcode_libdir_flag_spec='-R$libdir'
10997 hardcode_direct=yes
10998 hardcode_shlibpath_var=no
11001 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11002 freebsd2.*)
11003 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11004 hardcode_direct=yes
11005 hardcode_minus_L=yes
11006 hardcode_shlibpath_var=no
11009 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11010 freebsd* | dragonfly*)
11011 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11012 hardcode_libdir_flag_spec='-R$libdir'
11013 hardcode_direct=yes
11014 hardcode_shlibpath_var=no
11017 hpux9*)
11018 if test "$GCC" = yes; then
11019 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'
11020 else
11021 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'
11023 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11024 hardcode_libdir_separator=:
11025 hardcode_direct=yes
11027 # hardcode_minus_L: Not really in the search PATH,
11028 # but as the default location of the library.
11029 hardcode_minus_L=yes
11030 export_dynamic_flag_spec='${wl}-E'
11033 hpux10*)
11034 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11035 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11036 else
11037 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11039 if test "$with_gnu_ld" = no; then
11040 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11041 hardcode_libdir_flag_spec_ld='+b $libdir'
11042 hardcode_libdir_separator=:
11043 hardcode_direct=yes
11044 hardcode_direct_absolute=yes
11045 export_dynamic_flag_spec='${wl}-E'
11046 # hardcode_minus_L: Not really in the search PATH,
11047 # but as the default location of the library.
11048 hardcode_minus_L=yes
11052 hpux11*)
11053 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11054 case $host_cpu in
11055 hppa*64*)
11056 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11058 ia64*)
11059 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11062 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11064 esac
11065 else
11066 case $host_cpu in
11067 hppa*64*)
11068 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11070 ia64*)
11071 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11075 # Older versions of the 11.00 compiler do not understand -b yet
11076 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11078 $as_echo_n "checking if $CC understands -b... " >&6; }
11079 if ${lt_cv_prog_compiler__b+:} false; then :
11080 $as_echo_n "(cached) " >&6
11081 else
11082 lt_cv_prog_compiler__b=no
11083 save_LDFLAGS="$LDFLAGS"
11084 LDFLAGS="$LDFLAGS -b"
11085 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11086 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11087 # The linker can only warn and ignore the option if not recognized
11088 # So say no if there are warnings
11089 if test -s conftest.err; then
11090 # Append any errors to the config.log.
11091 cat conftest.err 1>&5
11092 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11093 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11094 if diff conftest.exp conftest.er2 >/dev/null; then
11095 lt_cv_prog_compiler__b=yes
11097 else
11098 lt_cv_prog_compiler__b=yes
11101 $RM -r conftest*
11102 LDFLAGS="$save_LDFLAGS"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11106 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11108 if test x"$lt_cv_prog_compiler__b" = xyes; then
11109 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11110 else
11111 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11115 esac
11117 if test "$with_gnu_ld" = no; then
11118 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11119 hardcode_libdir_separator=:
11121 case $host_cpu in
11122 hppa*64*|ia64*)
11123 hardcode_direct=no
11124 hardcode_shlibpath_var=no
11127 hardcode_direct=yes
11128 hardcode_direct_absolute=yes
11129 export_dynamic_flag_spec='${wl}-E'
11131 # hardcode_minus_L: Not really in the search PATH,
11132 # but as the default location of the library.
11133 hardcode_minus_L=yes
11135 esac
11139 irix5* | irix6* | nonstopux*)
11140 if test "$GCC" = yes; then
11141 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'
11142 # Try to use the -exported_symbol ld option, if it does not
11143 # work, assume that -exports_file does not work either and
11144 # implicitly export all symbols.
11145 save_LDFLAGS="$LDFLAGS"
11146 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11147 if test x$gcc_no_link = xyes; then
11148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11152 int foo(void) {}
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 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'
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LDFLAGS="$save_LDFLAGS"
11161 else
11162 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'
11163 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'
11165 archive_cmds_need_lc='no'
11166 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11167 hardcode_libdir_separator=:
11168 inherit_rpath=yes
11169 link_all_deplibs=yes
11172 netbsd*)
11173 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11174 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11175 else
11176 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11178 hardcode_libdir_flag_spec='-R$libdir'
11179 hardcode_direct=yes
11180 hardcode_shlibpath_var=no
11183 newsos6)
11184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11185 hardcode_direct=yes
11186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11187 hardcode_libdir_separator=:
11188 hardcode_shlibpath_var=no
11191 *nto* | *qnx*)
11194 openbsd*)
11195 if test -f /usr/libexec/ld.so; then
11196 hardcode_direct=yes
11197 hardcode_shlibpath_var=no
11198 hardcode_direct_absolute=yes
11199 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11200 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11201 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11202 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11203 export_dynamic_flag_spec='${wl}-E'
11204 else
11205 case $host_os in
11206 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11208 hardcode_libdir_flag_spec='-R$libdir'
11211 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11212 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11214 esac
11216 else
11217 ld_shlibs=no
11221 os2*)
11222 hardcode_libdir_flag_spec='-L$libdir'
11223 hardcode_minus_L=yes
11224 allow_undefined_flag=unsupported
11225 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'
11226 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11229 osf3*)
11230 if test "$GCC" = yes; then
11231 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11232 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'
11233 else
11234 allow_undefined_flag=' -expect_unresolved \*'
11235 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'
11237 archive_cmds_need_lc='no'
11238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11239 hardcode_libdir_separator=:
11242 osf4* | osf5*) # as osf3* with the addition of -msym flag
11243 if test "$GCC" = yes; then
11244 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11245 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'
11246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11247 else
11248 allow_undefined_flag=' -expect_unresolved \*'
11249 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'
11250 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~
11251 $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'
11253 # Both c and cxx compiler support -rpath directly
11254 hardcode_libdir_flag_spec='-rpath $libdir'
11256 archive_cmds_need_lc='no'
11257 hardcode_libdir_separator=:
11260 solaris*)
11261 no_undefined_flag=' -z defs'
11262 if test "$GCC" = yes; then
11263 wlarc='${wl}'
11264 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11266 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11267 else
11268 case `$CC -V 2>&1` in
11269 *"Compilers 5.0"*)
11270 wlarc=''
11271 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11272 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11273 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11276 wlarc='${wl}'
11277 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11278 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11279 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11281 esac
11283 hardcode_libdir_flag_spec='-R$libdir'
11284 hardcode_shlibpath_var=no
11285 case $host_os in
11286 solaris2.[0-5] | solaris2.[0-5].*) ;;
11288 # The compiler driver will combine and reorder linker options,
11289 # but understands `-z linker_flag'. GCC discards it without `$wl',
11290 # but is careful enough not to reorder.
11291 # Supported since Solaris 2.6 (maybe 2.5.1?)
11292 if test "$GCC" = yes; then
11293 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11294 else
11295 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11298 esac
11299 link_all_deplibs=yes
11302 sunos4*)
11303 if test "x$host_vendor" = xsequent; then
11304 # Use $CC to link under sequent, because it throws in some extra .o
11305 # files that make .init and .fini sections work.
11306 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11307 else
11308 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11310 hardcode_libdir_flag_spec='-L$libdir'
11311 hardcode_direct=yes
11312 hardcode_minus_L=yes
11313 hardcode_shlibpath_var=no
11316 sysv4)
11317 case $host_vendor in
11318 sni)
11319 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11320 hardcode_direct=yes # is this really true???
11322 siemens)
11323 ## LD is ld it makes a PLAMLIB
11324 ## CC just makes a GrossModule.
11325 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11326 reload_cmds='$CC -r -o $output$reload_objs'
11327 hardcode_direct=no
11329 motorola)
11330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11331 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11333 esac
11334 runpath_var='LD_RUN_PATH'
11335 hardcode_shlibpath_var=no
11338 sysv4.3*)
11339 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11340 hardcode_shlibpath_var=no
11341 export_dynamic_flag_spec='-Bexport'
11344 sysv4*MP*)
11345 if test -d /usr/nec; then
11346 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11347 hardcode_shlibpath_var=no
11348 runpath_var=LD_RUN_PATH
11349 hardcode_runpath_var=yes
11350 ld_shlibs=yes
11354 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11355 no_undefined_flag='${wl}-z,text'
11356 archive_cmds_need_lc=no
11357 hardcode_shlibpath_var=no
11358 runpath_var='LD_RUN_PATH'
11360 if test "$GCC" = yes; then
11361 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11362 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11363 else
11364 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11365 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11369 sysv5* | sco3.2v5* | sco5v6*)
11370 # Note: We can NOT use -z defs as we might desire, because we do not
11371 # link with -lc, and that would cause any symbols used from libc to
11372 # always be unresolved, which means just about no library would
11373 # ever link correctly. If we're not using GNU ld we use -z text
11374 # though, which does catch some bad symbols but isn't as heavy-handed
11375 # as -z defs.
11376 no_undefined_flag='${wl}-z,text'
11377 allow_undefined_flag='${wl}-z,nodefs'
11378 archive_cmds_need_lc=no
11379 hardcode_shlibpath_var=no
11380 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11381 hardcode_libdir_separator=':'
11382 link_all_deplibs=yes
11383 export_dynamic_flag_spec='${wl}-Bexport'
11384 runpath_var='LD_RUN_PATH'
11386 if test "$GCC" = yes; then
11387 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11388 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11389 else
11390 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11391 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11395 uts4*)
11396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11397 hardcode_libdir_flag_spec='-L$libdir'
11398 hardcode_shlibpath_var=no
11402 ld_shlibs=no
11404 esac
11406 if test x$host_vendor = xsni; then
11407 case $host in
11408 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11409 export_dynamic_flag_spec='${wl}-Blargedynsym'
11411 esac
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11416 $as_echo "$ld_shlibs" >&6; }
11417 test "$ld_shlibs" = no && can_build_shared=no
11419 with_gnu_ld=$with_gnu_ld
11436 # Do we need to explicitly link libc?
11438 case "x$archive_cmds_need_lc" in
11439 x|xyes)
11440 # Assume -lc should be added
11441 archive_cmds_need_lc=yes
11443 if test "$enable_shared" = yes && test "$GCC" = yes; then
11444 case $archive_cmds in
11445 *'~'*)
11446 # FIXME: we may have to deal with multi-command sequences.
11448 '$CC '*)
11449 # Test whether the compiler implicitly links with -lc since on some
11450 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11451 # to ld, don't add -lc before -lgcc.
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11453 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11454 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 $RM conftest*
11458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11461 (eval $ac_compile) 2>&5
11462 ac_status=$?
11463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11464 test $ac_status = 0; } 2>conftest.err; then
11465 soname=conftest
11466 lib=conftest
11467 libobjs=conftest.$ac_objext
11468 deplibs=
11469 wl=$lt_prog_compiler_wl
11470 pic_flag=$lt_prog_compiler_pic
11471 compiler_flags=-v
11472 linker_flags=-v
11473 verstring=
11474 output_objdir=.
11475 libname=conftest
11476 lt_save_allow_undefined_flag=$allow_undefined_flag
11477 allow_undefined_flag=
11478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11479 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11480 ac_status=$?
11481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11482 test $ac_status = 0; }
11483 then
11484 lt_cv_archive_cmds_need_lc=no
11485 else
11486 lt_cv_archive_cmds_need_lc=yes
11488 allow_undefined_flag=$lt_save_allow_undefined_flag
11489 else
11490 cat conftest.err 1>&5
11492 $RM conftest*
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11496 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11497 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11499 esac
11502 esac
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11661 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11663 if test "$GCC" = yes; then
11664 case $host_os in
11665 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11666 *) lt_awk_arg="/^libraries:/" ;;
11667 esac
11668 case $host_os in
11669 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11670 *) lt_sed_strip_eq="s,=/,/,g" ;;
11671 esac
11672 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11673 case $lt_search_path_spec in
11674 *\;*)
11675 # if the path contains ";" then we assume it to be the separator
11676 # otherwise default to the standard path separator (i.e. ":") - it is
11677 # assumed that no part of a normal pathname contains ";" but that should
11678 # okay in the real world where ";" in dirpaths is itself problematic.
11679 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11682 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11684 esac
11685 # Ok, now we have the path, separated by spaces, we can step through it
11686 # and add multilib dir if necessary.
11687 lt_tmp_lt_search_path_spec=
11688 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11689 for lt_sys_path in $lt_search_path_spec; do
11690 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11691 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11692 else
11693 test -d "$lt_sys_path" && \
11694 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11696 done
11697 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11698 BEGIN {RS=" "; FS="/|\n";} {
11699 lt_foo="";
11700 lt_count=0;
11701 for (lt_i = NF; lt_i > 0; lt_i--) {
11702 if ($lt_i != "" && $lt_i != ".") {
11703 if ($lt_i == "..") {
11704 lt_count++;
11705 } else {
11706 if (lt_count == 0) {
11707 lt_foo="/" $lt_i lt_foo;
11708 } else {
11709 lt_count--;
11714 if (lt_foo != "") { lt_freq[lt_foo]++; }
11715 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11717 # AWK program above erroneously prepends '/' to C:/dos/paths
11718 # for these hosts.
11719 case $host_os in
11720 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11721 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11722 esac
11723 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11724 else
11725 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11727 library_names_spec=
11728 libname_spec='lib$name'
11729 soname_spec=
11730 shrext_cmds=".so"
11731 postinstall_cmds=
11732 postuninstall_cmds=
11733 finish_cmds=
11734 finish_eval=
11735 shlibpath_var=
11736 shlibpath_overrides_runpath=unknown
11737 version_type=none
11738 dynamic_linker="$host_os ld.so"
11739 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11740 need_lib_prefix=unknown
11741 hardcode_into_libs=no
11743 # when you set need_version to no, make sure it does not cause -set_version
11744 # flags to be left without arguments
11745 need_version=unknown
11747 case $host_os in
11748 aix3*)
11749 version_type=linux
11750 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11751 shlibpath_var=LIBPATH
11753 # AIX 3 has no versioning support, so we append a major version to the name.
11754 soname_spec='${libname}${release}${shared_ext}$major'
11757 aix[4-9]*)
11758 version_type=linux
11759 need_lib_prefix=no
11760 need_version=no
11761 hardcode_into_libs=yes
11762 if test "$host_cpu" = ia64; then
11763 # AIX 5 supports IA64
11764 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11765 shlibpath_var=LD_LIBRARY_PATH
11766 else
11767 # With GCC up to 2.95.x, collect2 would create an import file
11768 # for dependence libraries. The import file would start with
11769 # the line `#! .'. This would cause the generated library to
11770 # depend on `.', always an invalid library. This was fixed in
11771 # development snapshots of GCC prior to 3.0.
11772 case $host_os in
11773 aix4 | aix4.[01] | aix4.[01].*)
11774 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11775 echo ' yes '
11776 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11778 else
11779 can_build_shared=no
11782 esac
11783 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11784 # soname into executable. Probably we can add versioning support to
11785 # collect2, so additional links can be useful in future.
11786 if test "$aix_use_runtimelinking" = yes; then
11787 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11788 # instead of lib<name>.a to let people know that these are not
11789 # typical AIX shared libraries.
11790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11791 else
11792 # We preserve .a as extension for shared libraries through AIX4.2
11793 # and later when we are not doing run time linking.
11794 library_names_spec='${libname}${release}.a $libname.a'
11795 soname_spec='${libname}${release}${shared_ext}$major'
11797 shlibpath_var=LIBPATH
11801 amigaos*)
11802 case $host_cpu in
11803 powerpc)
11804 # Since July 2007 AmigaOS4 officially supports .so libraries.
11805 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11808 m68k)
11809 library_names_spec='$libname.ixlibrary $libname.a'
11810 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11811 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'
11813 esac
11816 beos*)
11817 library_names_spec='${libname}${shared_ext}'
11818 dynamic_linker="$host_os ld.so"
11819 shlibpath_var=LIBRARY_PATH
11822 bsdi[45]*)
11823 version_type=linux
11824 need_version=no
11825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11826 soname_spec='${libname}${release}${shared_ext}$major'
11827 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11828 shlibpath_var=LD_LIBRARY_PATH
11829 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11830 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11831 # the default ld.so.conf also contains /usr/contrib/lib and
11832 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11833 # libtool to hard-code these into programs
11836 cygwin* | mingw* | pw32* | cegcc*)
11837 version_type=windows
11838 shrext_cmds=".dll"
11839 need_version=no
11840 need_lib_prefix=no
11842 case $GCC,$host_os in
11843 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11844 library_names_spec='$libname.dll.a'
11845 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11846 postinstall_cmds='base_file=`basename \${file}`~
11847 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11848 dldir=$destdir/`dirname \$dlpath`~
11849 test -d \$dldir || mkdir -p \$dldir~
11850 $install_prog $dir/$dlname \$dldir/$dlname~
11851 chmod a+x \$dldir/$dlname~
11852 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11853 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11855 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11856 dlpath=$dir/\$dldll~
11857 $RM \$dlpath'
11858 shlibpath_overrides_runpath=yes
11860 case $host_os in
11861 cygwin*)
11862 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11863 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11865 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11867 mingw* | cegcc*)
11868 # MinGW DLLs use traditional 'lib' prefix
11869 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11871 pw32*)
11872 # pw32 DLLs use 'pw' prefix rather than 'lib'
11873 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11875 esac
11879 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11881 esac
11882 dynamic_linker='Win32 ld.exe'
11883 # FIXME: first we should search . and the directory the executable is in
11884 shlibpath_var=PATH
11887 darwin* | rhapsody*)
11888 dynamic_linker="$host_os dyld"
11889 version_type=darwin
11890 need_lib_prefix=no
11891 need_version=no
11892 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11893 soname_spec='${libname}${release}${major}$shared_ext'
11894 shlibpath_overrides_runpath=yes
11895 shlibpath_var=DYLD_LIBRARY_PATH
11896 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11898 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11899 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11902 dgux*)
11903 version_type=linux
11904 need_lib_prefix=no
11905 need_version=no
11906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11907 soname_spec='${libname}${release}${shared_ext}$major'
11908 shlibpath_var=LD_LIBRARY_PATH
11911 freebsd* | dragonfly*)
11912 # DragonFly does not have aout. When/if they implement a new
11913 # versioning mechanism, adjust this.
11914 if test -x /usr/bin/objformat; then
11915 objformat=`/usr/bin/objformat`
11916 else
11917 case $host_os in
11918 freebsd[23].*) objformat=aout ;;
11919 *) objformat=elf ;;
11920 esac
11922 version_type=freebsd-$objformat
11923 case $version_type in
11924 freebsd-elf*)
11925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11926 need_version=no
11927 need_lib_prefix=no
11929 freebsd-*)
11930 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11931 need_version=yes
11933 esac
11934 shlibpath_var=LD_LIBRARY_PATH
11935 case $host_os in
11936 freebsd2.*)
11937 shlibpath_overrides_runpath=yes
11939 freebsd3.[01]* | freebsdelf3.[01]*)
11940 shlibpath_overrides_runpath=yes
11941 hardcode_into_libs=yes
11943 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11944 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11945 shlibpath_overrides_runpath=no
11946 hardcode_into_libs=yes
11948 *) # from 4.6 on, and DragonFly
11949 shlibpath_overrides_runpath=yes
11950 hardcode_into_libs=yes
11952 esac
11955 haiku*)
11956 version_type=linux
11957 need_lib_prefix=no
11958 need_version=no
11959 dynamic_linker="$host_os runtime_loader"
11960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11961 soname_spec='${libname}${release}${shared_ext}$major'
11962 shlibpath_var=LIBRARY_PATH
11963 shlibpath_overrides_runpath=yes
11964 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11965 hardcode_into_libs=yes
11968 hpux9* | hpux10* | hpux11*)
11969 # Give a soname corresponding to the major version so that dld.sl refuses to
11970 # link against other versions.
11971 version_type=sunos
11972 need_lib_prefix=no
11973 need_version=no
11974 case $host_cpu in
11975 ia64*)
11976 shrext_cmds='.so'
11977 hardcode_into_libs=yes
11978 dynamic_linker="$host_os dld.so"
11979 shlibpath_var=LD_LIBRARY_PATH
11980 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11982 soname_spec='${libname}${release}${shared_ext}$major'
11983 if test "X$HPUX_IA64_MODE" = X32; then
11984 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11985 else
11986 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11988 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11990 hppa*64*)
11991 shrext_cmds='.sl'
11992 hardcode_into_libs=yes
11993 dynamic_linker="$host_os dld.sl"
11994 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11995 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11997 soname_spec='${libname}${release}${shared_ext}$major'
11998 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11999 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12002 shrext_cmds='.sl'
12003 dynamic_linker="$host_os dld.sl"
12004 shlibpath_var=SHLIB_PATH
12005 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12007 soname_spec='${libname}${release}${shared_ext}$major'
12009 esac
12010 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12011 postinstall_cmds='chmod 555 $lib'
12012 # or fails outright, so override atomically:
12013 install_override_mode=555
12016 interix[3-9]*)
12017 version_type=linux
12018 need_lib_prefix=no
12019 need_version=no
12020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12021 soname_spec='${libname}${release}${shared_ext}$major'
12022 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12023 shlibpath_var=LD_LIBRARY_PATH
12024 shlibpath_overrides_runpath=no
12025 hardcode_into_libs=yes
12028 irix5* | irix6* | nonstopux*)
12029 case $host_os in
12030 nonstopux*) version_type=nonstopux ;;
12032 if test "$lt_cv_prog_gnu_ld" = yes; then
12033 version_type=linux
12034 else
12035 version_type=irix
12036 fi ;;
12037 esac
12038 need_lib_prefix=no
12039 need_version=no
12040 soname_spec='${libname}${release}${shared_ext}$major'
12041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12042 case $host_os in
12043 irix5* | nonstopux*)
12044 libsuff= shlibsuff=
12047 case $LD in # libtool.m4 will add one of these switches to LD
12048 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12049 libsuff= shlibsuff= libmagic=32-bit;;
12050 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12051 libsuff=32 shlibsuff=N32 libmagic=N32;;
12052 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12053 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12054 *) libsuff= shlibsuff= libmagic=never-match;;
12055 esac
12057 esac
12058 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12059 shlibpath_overrides_runpath=no
12060 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12061 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12062 hardcode_into_libs=yes
12065 # No shared lib support for Linux oldld, aout, or coff.
12066 linux*oldld* | linux*aout* | linux*coff*)
12067 dynamic_linker=no
12070 # This must be Linux ELF.
12072 # uclinux* changes (here and below) have been submitted to the libtool
12073 # project, but have not yet been accepted: they are GCC-local changes
12074 # for the time being. (See
12075 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12076 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12077 version_type=linux
12078 need_lib_prefix=no
12079 need_version=no
12080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12081 soname_spec='${libname}${release}${shared_ext}$major'
12082 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12083 shlibpath_var=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath=no
12086 # Some binutils ld are patched to set DT_RUNPATH
12087 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 lt_cv_shlibpath_overrides_runpath=no
12091 save_LDFLAGS=$LDFLAGS
12092 save_libdir=$libdir
12093 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12094 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12095 if test x$gcc_no_link = xyes; then
12096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12102 main ()
12106 return 0;
12108 _ACEOF
12109 if ac_fn_c_try_link "$LINENO"; then :
12110 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12111 lt_cv_shlibpath_overrides_runpath=yes
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LDFLAGS=$save_LDFLAGS
12117 libdir=$save_libdir
12121 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12123 # This implies no fast_install, which is unacceptable.
12124 # Some rework will be needed to allow for fast_install
12125 # before this can be enabled.
12126 hardcode_into_libs=yes
12128 # Append ld.so.conf contents to the search path
12129 if test -f /etc/ld.so.conf; then
12130 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' ' '`
12131 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12134 # We used to test for /lib/ld.so.1 and disable shared libraries on
12135 # powerpc, because MkLinux only supported shared libraries with the
12136 # GNU dynamic linker. Since this was broken with cross compilers,
12137 # most powerpc-linux boxes support dynamic linking these days and
12138 # people can always --disable-shared, the test was removed, and we
12139 # assume the GNU/Linux dynamic linker is in use.
12140 dynamic_linker='GNU/Linux ld.so'
12143 netbsd*)
12144 version_type=sunos
12145 need_lib_prefix=no
12146 need_version=no
12147 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12149 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12150 dynamic_linker='NetBSD (a.out) ld.so'
12151 else
12152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12153 soname_spec='${libname}${release}${shared_ext}$major'
12154 dynamic_linker='NetBSD ld.elf_so'
12156 shlibpath_var=LD_LIBRARY_PATH
12157 shlibpath_overrides_runpath=yes
12158 hardcode_into_libs=yes
12161 newsos6)
12162 version_type=linux
12163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12164 shlibpath_var=LD_LIBRARY_PATH
12165 shlibpath_overrides_runpath=yes
12168 *nto* | *qnx*)
12169 version_type=qnx
12170 need_lib_prefix=no
12171 need_version=no
12172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12173 soname_spec='${libname}${release}${shared_ext}$major'
12174 shlibpath_var=LD_LIBRARY_PATH
12175 shlibpath_overrides_runpath=no
12176 hardcode_into_libs=yes
12177 dynamic_linker='ldqnx.so'
12180 openbsd*)
12181 version_type=sunos
12182 sys_lib_dlsearch_path_spec="/usr/lib"
12183 need_lib_prefix=no
12184 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12185 case $host_os in
12186 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12187 *) need_version=no ;;
12188 esac
12189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12190 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12191 shlibpath_var=LD_LIBRARY_PATH
12192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12193 case $host_os in
12194 openbsd2.[89] | openbsd2.[89].*)
12195 shlibpath_overrides_runpath=no
12198 shlibpath_overrides_runpath=yes
12200 esac
12201 else
12202 shlibpath_overrides_runpath=yes
12206 os2*)
12207 libname_spec='$name'
12208 shrext_cmds=".dll"
12209 need_lib_prefix=no
12210 library_names_spec='$libname${shared_ext} $libname.a'
12211 dynamic_linker='OS/2 ld.exe'
12212 shlibpath_var=LIBPATH
12215 osf3* | osf4* | osf5*)
12216 version_type=osf
12217 need_lib_prefix=no
12218 need_version=no
12219 soname_spec='${libname}${release}${shared_ext}$major'
12220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 shlibpath_var=LD_LIBRARY_PATH
12222 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12223 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12226 rdos*)
12227 dynamic_linker=no
12230 solaris*)
12231 version_type=linux
12232 need_lib_prefix=no
12233 need_version=no
12234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12235 soname_spec='${libname}${release}${shared_ext}$major'
12236 shlibpath_var=LD_LIBRARY_PATH
12237 shlibpath_overrides_runpath=yes
12238 hardcode_into_libs=yes
12239 # ldd complains unless libraries are executable
12240 postinstall_cmds='chmod +x $lib'
12243 sunos4*)
12244 version_type=sunos
12245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12246 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12247 shlibpath_var=LD_LIBRARY_PATH
12248 shlibpath_overrides_runpath=yes
12249 if test "$with_gnu_ld" = yes; then
12250 need_lib_prefix=no
12252 need_version=yes
12255 sysv4 | sysv4.3*)
12256 version_type=linux
12257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12258 soname_spec='${libname}${release}${shared_ext}$major'
12259 shlibpath_var=LD_LIBRARY_PATH
12260 case $host_vendor in
12261 sni)
12262 shlibpath_overrides_runpath=no
12263 need_lib_prefix=no
12264 runpath_var=LD_RUN_PATH
12266 siemens)
12267 need_lib_prefix=no
12269 motorola)
12270 need_lib_prefix=no
12271 need_version=no
12272 shlibpath_overrides_runpath=no
12273 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12275 esac
12278 sysv4*MP*)
12279 if test -d /usr/nec ;then
12280 version_type=linux
12281 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12282 soname_spec='$libname${shared_ext}.$major'
12283 shlibpath_var=LD_LIBRARY_PATH
12287 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12288 version_type=freebsd-elf
12289 need_lib_prefix=no
12290 need_version=no
12291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12292 soname_spec='${libname}${release}${shared_ext}$major'
12293 shlibpath_var=LD_LIBRARY_PATH
12294 shlibpath_overrides_runpath=yes
12295 hardcode_into_libs=yes
12296 if test "$with_gnu_ld" = yes; then
12297 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12298 else
12299 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12300 case $host_os in
12301 sco3.2v5*)
12302 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12304 esac
12306 sys_lib_dlsearch_path_spec='/usr/lib'
12309 tpf*)
12310 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12311 version_type=linux
12312 need_lib_prefix=no
12313 need_version=no
12314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12315 shlibpath_var=LD_LIBRARY_PATH
12316 shlibpath_overrides_runpath=no
12317 hardcode_into_libs=yes
12320 uts4*)
12321 version_type=linux
12322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12323 soname_spec='${libname}${release}${shared_ext}$major'
12324 shlibpath_var=LD_LIBRARY_PATH
12327 # Shared libraries for VwWorks, >= 7 only at this stage
12328 # and (fpic) still incompatible with "large" code models
12329 # in a few configurations. Only for RTP mode in any case,
12330 # and upon explicit request at configure time.
12331 vxworks7*)
12332 dynamic_linker=no
12333 case ${with_multisubdir}-${enable_shared} in
12334 *large*)
12336 *mrtp*-yes)
12337 version_type=linux
12338 need_lib_prefix=no
12339 need_version=no
12340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12341 soname_spec='${libname}${release}${shared_ext}$major'
12342 dynamic_linker="$host_os module_loader"
12344 esac
12347 dynamic_linker=no
12349 esac
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12351 $as_echo "$dynamic_linker" >&6; }
12352 test "$dynamic_linker" = no && can_build_shared=no
12354 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12355 if test "$GCC" = yes; then
12356 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12359 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12360 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12362 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12363 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12458 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12459 hardcode_action=
12460 if test -n "$hardcode_libdir_flag_spec" ||
12461 test -n "$runpath_var" ||
12462 test "X$hardcode_automatic" = "Xyes" ; then
12464 # We can hardcode non-existent directories.
12465 if test "$hardcode_direct" != no &&
12466 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12467 # have to relink, otherwise we might link with an installed library
12468 # when we should be linking with a yet-to-be-installed one
12469 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12470 test "$hardcode_minus_L" != no; then
12471 # Linking always hardcodes the temporary library directory.
12472 hardcode_action=relink
12473 else
12474 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12475 hardcode_action=immediate
12477 else
12478 # We cannot hardcode anything, or else we can only hardcode existing
12479 # directories.
12480 hardcode_action=unsupported
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12483 $as_echo "$hardcode_action" >&6; }
12485 if test "$hardcode_action" = relink ||
12486 test "$inherit_rpath" = yes; then
12487 # Fast installation is not supported
12488 enable_fast_install=no
12489 elif test "$shlibpath_overrides_runpath" = yes ||
12490 test "$enable_shared" = no; then
12491 # Fast installation is not necessary
12492 enable_fast_install=needless
12500 if test "x$enable_dlopen" != xyes; then
12501 enable_dlopen=unknown
12502 enable_dlopen_self=unknown
12503 enable_dlopen_self_static=unknown
12504 else
12505 lt_cv_dlopen=no
12506 lt_cv_dlopen_libs=
12508 case $host_os in
12509 beos*)
12510 lt_cv_dlopen="load_add_on"
12511 lt_cv_dlopen_libs=
12512 lt_cv_dlopen_self=yes
12515 mingw* | pw32* | cegcc*)
12516 lt_cv_dlopen="LoadLibrary"
12517 lt_cv_dlopen_libs=
12520 cygwin*)
12521 lt_cv_dlopen="dlopen"
12522 lt_cv_dlopen_libs=
12525 darwin*)
12526 # if libdl is installed we need to link against it
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12528 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12529 if ${ac_cv_lib_dl_dlopen+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 ac_check_lib_save_LIBS=$LIBS
12533 LIBS="-ldl $LIBS"
12534 if test x$gcc_no_link = xyes; then
12535 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char dlopen ();
12548 main ()
12550 return dlopen ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 ac_cv_lib_dl_dlopen=yes
12557 else
12558 ac_cv_lib_dl_dlopen=no
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12566 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12567 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12568 else
12570 lt_cv_dlopen="dyld"
12571 lt_cv_dlopen_libs=
12572 lt_cv_dlopen_self=yes
12579 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12580 if test "x$ac_cv_func_shl_load" = xyes; then :
12581 lt_cv_dlopen="shl_load"
12582 else
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12584 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12585 if ${ac_cv_lib_dld_shl_load+:} false; then :
12586 $as_echo_n "(cached) " >&6
12587 else
12588 ac_check_lib_save_LIBS=$LIBS
12589 LIBS="-ldld $LIBS"
12590 if test x$gcc_no_link = xyes; then
12591 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char shl_load ();
12604 main ()
12606 return shl_load ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 ac_cv_lib_dld_shl_load=yes
12613 else
12614 ac_cv_lib_dld_shl_load=no
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12621 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12622 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12623 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12624 else
12625 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12626 if test "x$ac_cv_func_dlopen" = xyes; then :
12627 lt_cv_dlopen="dlopen"
12628 else
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12630 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12631 if ${ac_cv_lib_dl_dlopen+:} false; then :
12632 $as_echo_n "(cached) " >&6
12633 else
12634 ac_check_lib_save_LIBS=$LIBS
12635 LIBS="-ldl $LIBS"
12636 if test x$gcc_no_link = xyes; then
12637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12645 #ifdef __cplusplus
12646 extern "C"
12647 #endif
12648 char dlopen ();
12650 main ()
12652 return dlopen ();
12654 return 0;
12656 _ACEOF
12657 if ac_fn_c_try_link "$LINENO"; then :
12658 ac_cv_lib_dl_dlopen=yes
12659 else
12660 ac_cv_lib_dl_dlopen=no
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_lib_save_LIBS
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12667 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12668 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12669 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12670 else
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12672 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12673 if ${ac_cv_lib_svld_dlopen+:} false; then :
12674 $as_echo_n "(cached) " >&6
12675 else
12676 ac_check_lib_save_LIBS=$LIBS
12677 LIBS="-lsvld $LIBS"
12678 if test x$gcc_no_link = xyes; then
12679 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12687 #ifdef __cplusplus
12688 extern "C"
12689 #endif
12690 char dlopen ();
12692 main ()
12694 return dlopen ();
12696 return 0;
12698 _ACEOF
12699 if ac_fn_c_try_link "$LINENO"; then :
12700 ac_cv_lib_svld_dlopen=yes
12701 else
12702 ac_cv_lib_svld_dlopen=no
12704 rm -f core conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_lib_save_LIBS
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12709 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12710 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12711 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12712 else
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12714 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12715 if ${ac_cv_lib_dld_dld_link+:} false; then :
12716 $as_echo_n "(cached) " >&6
12717 else
12718 ac_check_lib_save_LIBS=$LIBS
12719 LIBS="-ldld $LIBS"
12720 if test x$gcc_no_link = xyes; then
12721 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12729 #ifdef __cplusplus
12730 extern "C"
12731 #endif
12732 char dld_link ();
12734 main ()
12736 return dld_link ();
12738 return 0;
12740 _ACEOF
12741 if ac_fn_c_try_link "$LINENO"; then :
12742 ac_cv_lib_dld_dld_link=yes
12743 else
12744 ac_cv_lib_dld_dld_link=no
12746 rm -f core conftest.err conftest.$ac_objext \
12747 conftest$ac_exeext conftest.$ac_ext
12748 LIBS=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12751 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12752 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12753 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12772 esac
12774 if test "x$lt_cv_dlopen" != xno; then
12775 enable_dlopen=yes
12776 else
12777 enable_dlopen=no
12780 case $lt_cv_dlopen in
12781 dlopen)
12782 save_CPPFLAGS="$CPPFLAGS"
12783 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12785 save_LDFLAGS="$LDFLAGS"
12786 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12788 save_LIBS="$LIBS"
12789 LIBS="$lt_cv_dlopen_libs $LIBS"
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12792 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12793 if ${lt_cv_dlopen_self+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 if test "$cross_compiling" = yes; then :
12797 lt_cv_dlopen_self=cross
12798 else
12799 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12800 lt_status=$lt_dlunknown
12801 cat > conftest.$ac_ext <<_LT_EOF
12802 #line 12802 "configure"
12803 #include "confdefs.h"
12805 #if HAVE_DLFCN_H
12806 #include <dlfcn.h>
12807 #endif
12809 #include <stdio.h>
12811 #ifdef RTLD_GLOBAL
12812 # define LT_DLGLOBAL RTLD_GLOBAL
12813 #else
12814 # ifdef DL_GLOBAL
12815 # define LT_DLGLOBAL DL_GLOBAL
12816 # else
12817 # define LT_DLGLOBAL 0
12818 # endif
12819 #endif
12821 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12822 find out it does not work in some platform. */
12823 #ifndef LT_DLLAZY_OR_NOW
12824 # ifdef RTLD_LAZY
12825 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12826 # else
12827 # ifdef DL_LAZY
12828 # define LT_DLLAZY_OR_NOW DL_LAZY
12829 # else
12830 # ifdef RTLD_NOW
12831 # define LT_DLLAZY_OR_NOW RTLD_NOW
12832 # else
12833 # ifdef DL_NOW
12834 # define LT_DLLAZY_OR_NOW DL_NOW
12835 # else
12836 # define LT_DLLAZY_OR_NOW 0
12837 # endif
12838 # endif
12839 # endif
12840 # endif
12841 #endif
12843 /* When -fvisbility=hidden is used, assume the code has been annotated
12844 correspondingly for the symbols needed. */
12845 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12846 void fnord () __attribute__((visibility("default")));
12847 #endif
12849 void fnord () { int i=42; }
12850 int main ()
12852 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12853 int status = $lt_dlunknown;
12855 if (self)
12857 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12858 else
12860 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12861 else puts (dlerror ());
12863 /* dlclose (self); */
12865 else
12866 puts (dlerror ());
12868 return status;
12870 _LT_EOF
12871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12872 (eval $ac_link) 2>&5
12873 ac_status=$?
12874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12875 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12876 (./conftest; exit; ) >&5 2>/dev/null
12877 lt_status=$?
12878 case x$lt_status in
12879 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12880 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12881 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12882 esac
12883 else :
12884 # compilation failed
12885 lt_cv_dlopen_self=no
12888 rm -fr conftest*
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12893 $as_echo "$lt_cv_dlopen_self" >&6; }
12895 if test "x$lt_cv_dlopen_self" = xyes; then
12896 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12898 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12899 if ${lt_cv_dlopen_self_static+:} false; then :
12900 $as_echo_n "(cached) " >&6
12901 else
12902 if test "$cross_compiling" = yes; then :
12903 lt_cv_dlopen_self_static=cross
12904 else
12905 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12906 lt_status=$lt_dlunknown
12907 cat > conftest.$ac_ext <<_LT_EOF
12908 #line 12908 "configure"
12909 #include "confdefs.h"
12911 #if HAVE_DLFCN_H
12912 #include <dlfcn.h>
12913 #endif
12915 #include <stdio.h>
12917 #ifdef RTLD_GLOBAL
12918 # define LT_DLGLOBAL RTLD_GLOBAL
12919 #else
12920 # ifdef DL_GLOBAL
12921 # define LT_DLGLOBAL DL_GLOBAL
12922 # else
12923 # define LT_DLGLOBAL 0
12924 # endif
12925 #endif
12927 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12928 find out it does not work in some platform. */
12929 #ifndef LT_DLLAZY_OR_NOW
12930 # ifdef RTLD_LAZY
12931 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12932 # else
12933 # ifdef DL_LAZY
12934 # define LT_DLLAZY_OR_NOW DL_LAZY
12935 # else
12936 # ifdef RTLD_NOW
12937 # define LT_DLLAZY_OR_NOW RTLD_NOW
12938 # else
12939 # ifdef DL_NOW
12940 # define LT_DLLAZY_OR_NOW DL_NOW
12941 # else
12942 # define LT_DLLAZY_OR_NOW 0
12943 # endif
12944 # endif
12945 # endif
12946 # endif
12947 #endif
12949 /* When -fvisbility=hidden is used, assume the code has been annotated
12950 correspondingly for the symbols needed. */
12951 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12952 void fnord () __attribute__((visibility("default")));
12953 #endif
12955 void fnord () { int i=42; }
12956 int main ()
12958 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12959 int status = $lt_dlunknown;
12961 if (self)
12963 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12964 else
12966 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12967 else puts (dlerror ());
12969 /* dlclose (self); */
12971 else
12972 puts (dlerror ());
12974 return status;
12976 _LT_EOF
12977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12978 (eval $ac_link) 2>&5
12979 ac_status=$?
12980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12981 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12982 (./conftest; exit; ) >&5 2>/dev/null
12983 lt_status=$?
12984 case x$lt_status in
12985 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12986 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12987 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12988 esac
12989 else :
12990 # compilation failed
12991 lt_cv_dlopen_self_static=no
12994 rm -fr conftest*
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12999 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13002 CPPFLAGS="$save_CPPFLAGS"
13003 LDFLAGS="$save_LDFLAGS"
13004 LIBS="$save_LIBS"
13006 esac
13008 case $lt_cv_dlopen_self in
13009 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13010 *) enable_dlopen_self=unknown ;;
13011 esac
13013 case $lt_cv_dlopen_self_static in
13014 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13015 *) enable_dlopen_self_static=unknown ;;
13016 esac
13035 striplib=
13036 old_striplib=
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13038 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13039 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13040 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13041 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13043 $as_echo "yes" >&6; }
13044 else
13045 # FIXME - insert some real tests, host_os isn't really good enough
13046 case $host_os in
13047 darwin*)
13048 if test -n "$STRIP" ; then
13049 striplib="$STRIP -x"
13050 old_striplib="$STRIP -S"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13052 $as_echo "yes" >&6; }
13053 else
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13055 $as_echo "no" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13060 $as_echo "no" >&6; }
13062 esac
13076 # Report which library types will actually be built
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13078 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13080 $as_echo "$can_build_shared" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13083 $as_echo_n "checking whether to build shared libraries... " >&6; }
13084 test "$can_build_shared" = "no" && enable_shared=no
13086 # On AIX, shared libraries and static libraries use the same namespace, and
13087 # are all built from PIC.
13088 case $host_os in
13089 aix3*)
13090 test "$enable_shared" = yes && enable_static=no
13091 if test -n "$RANLIB"; then
13092 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13093 postinstall_cmds='$RANLIB $lib'
13097 aix[4-9]*)
13098 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13099 test "$enable_shared" = yes && enable_static=no
13102 esac
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13104 $as_echo "$enable_shared" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13107 $as_echo_n "checking whether to build static libraries... " >&6; }
13108 # Make sure either enable_shared or enable_static is yes.
13109 test "$enable_shared" = yes || enable_static=yes
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13111 $as_echo "$enable_static" >&6; }
13117 ac_ext=c
13118 ac_cpp='$CPP $CPPFLAGS'
13119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13123 CC="$lt_save_CC"
13137 ac_config_commands="$ac_config_commands libtool"
13142 # Only expand once:
13145 LIBM=
13146 case $host in
13147 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13148 # These system don't have libm, or don't need it
13150 *-ncr-sysv4.3*)
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13152 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13153 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13154 $as_echo_n "(cached) " >&6
13155 else
13156 ac_check_lib_save_LIBS=$LIBS
13157 LIBS="-lmw $LIBS"
13158 if test x$gcc_no_link = xyes; then
13159 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13167 #ifdef __cplusplus
13168 extern "C"
13169 #endif
13170 char _mwvalidcheckl ();
13172 main ()
13174 return _mwvalidcheckl ();
13176 return 0;
13178 _ACEOF
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 ac_cv_lib_mw__mwvalidcheckl=yes
13181 else
13182 ac_cv_lib_mw__mwvalidcheckl=no
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_lib_save_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13189 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13190 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13191 LIBM="-lmw"
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13195 $as_echo_n "checking for cos in -lm... " >&6; }
13196 if ${ac_cv_lib_m_cos+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 ac_check_lib_save_LIBS=$LIBS
13200 LIBS="-lm $LIBS"
13201 if test x$gcc_no_link = xyes; then
13202 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char cos ();
13215 main ()
13217 return cos ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 ac_cv_lib_m_cos=yes
13224 else
13225 ac_cv_lib_m_cos=no
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_lib_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13232 $as_echo "$ac_cv_lib_m_cos" >&6; }
13233 if test "x$ac_cv_lib_m_cos" = xyes; then :
13234 LIBM="$LIBM -lm"
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13240 $as_echo_n "checking for cos in -lm... " >&6; }
13241 if ${ac_cv_lib_m_cos+:} false; then :
13242 $as_echo_n "(cached) " >&6
13243 else
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-lm $LIBS"
13246 if test x$gcc_no_link = xyes; then
13247 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char cos ();
13260 main ()
13262 return cos ();
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 ac_cv_lib_m_cos=yes
13269 else
13270 ac_cv_lib_m_cos=no
13272 rm -f core conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13274 LIBS=$ac_check_lib_save_LIBS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13277 $as_echo "$ac_cv_lib_m_cos" >&6; }
13278 if test "x$ac_cv_lib_m_cos" = xyes; then :
13279 LIBM="-lm"
13283 esac
13289 case $host in
13290 *-cygwin* | *-mingw*)
13291 # 'host' will be top-level target in the case of a target lib,
13292 # we must compare to with_cross_host to decide if this is a native
13293 # or cross-compiler and select where to install dlls appropriately.
13294 if test -n "$with_cross_host" &&
13295 test x"$with_cross_host" != x"no"; then
13296 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13297 else
13298 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13302 lt_host_flags=
13304 esac
13310 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13312 # We need gfortran to compile parts of the library
13313 #AC_PROG_FC(gfortran)
13314 FC="$GFORTRAN"
13315 ac_ext=${ac_fc_srcext-f}
13316 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13317 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13319 if test -n "$ac_tool_prefix"; then
13320 for ac_prog in gfortran
13322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13325 $as_echo_n "checking for $ac_word... " >&6; }
13326 if ${ac_cv_prog_FC+:} false; then :
13327 $as_echo_n "(cached) " >&6
13328 else
13329 if test -n "$FC"; then
13330 ac_cv_prog_FC="$FC" # Let the user override the test.
13331 else
13332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13333 for as_dir in $PATH
13335 IFS=$as_save_IFS
13336 test -z "$as_dir" && as_dir=.
13337 for ac_exec_ext in '' $ac_executable_extensions; do
13338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13339 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13341 break 2
13343 done
13344 done
13345 IFS=$as_save_IFS
13349 FC=$ac_cv_prog_FC
13350 if test -n "$FC"; then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13352 $as_echo "$FC" >&6; }
13353 else
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13355 $as_echo "no" >&6; }
13359 test -n "$FC" && break
13360 done
13362 if test -z "$FC"; then
13363 ac_ct_FC=$FC
13364 for ac_prog in gfortran
13366 # Extract the first word of "$ac_prog", so it can be a program name with args.
13367 set dummy $ac_prog; ac_word=$2
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13369 $as_echo_n "checking for $ac_word... " >&6; }
13370 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 if test -n "$ac_ct_FC"; then
13374 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13375 else
13376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13377 for as_dir in $PATH
13379 IFS=$as_save_IFS
13380 test -z "$as_dir" && as_dir=.
13381 for ac_exec_ext in '' $ac_executable_extensions; do
13382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13383 ac_cv_prog_ac_ct_FC="$ac_prog"
13384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13385 break 2
13387 done
13388 done
13389 IFS=$as_save_IFS
13393 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13394 if test -n "$ac_ct_FC"; then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13396 $as_echo "$ac_ct_FC" >&6; }
13397 else
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13399 $as_echo "no" >&6; }
13403 test -n "$ac_ct_FC" && break
13404 done
13406 if test "x$ac_ct_FC" = x; then
13407 FC=""
13408 else
13409 case $cross_compiling:$ac_tool_warned in
13410 yes:)
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13413 ac_tool_warned=yes ;;
13414 esac
13415 FC=$ac_ct_FC
13420 # Provide some information about the compiler.
13421 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13422 set X $ac_compile
13423 ac_compiler=$2
13424 for ac_option in --version -v -V -qversion; do
13425 { { ac_try="$ac_compiler $ac_option >&5"
13426 case "(($ac_try" in
13427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13428 *) ac_try_echo=$ac_try;;
13429 esac
13430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13431 $as_echo "$ac_try_echo"; } >&5
13432 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13433 ac_status=$?
13434 if test -s conftest.err; then
13435 sed '10a\
13436 ... rest of stderr output deleted ...
13437 10q' conftest.err >conftest.er1
13438 cat conftest.er1 >&5
13440 rm -f conftest.er1 conftest.err
13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13442 test $ac_status = 0; }
13443 done
13444 rm -f a.out
13446 # If we don't use `.F' as extension, the preprocessor is not run on the
13447 # input file. (Note that this only needs to work for GNU compilers.)
13448 ac_save_ext=$ac_ext
13449 ac_ext=F
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13451 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13452 if ${ac_cv_fc_compiler_gnu+:} false; then :
13453 $as_echo_n "(cached) " >&6
13454 else
13455 cat > conftest.$ac_ext <<_ACEOF
13456 program main
13457 #ifndef __GNUC__
13458 choke me
13459 #endif
13462 _ACEOF
13463 if ac_fn_fc_try_compile "$LINENO"; then :
13464 ac_compiler_gnu=yes
13465 else
13466 ac_compiler_gnu=no
13468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13469 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13473 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13474 ac_ext=$ac_save_ext
13475 ac_test_FCFLAGS=${FCFLAGS+set}
13476 ac_save_FCFLAGS=$FCFLAGS
13477 FCFLAGS=
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13479 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13480 if ${ac_cv_prog_fc_g+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 FCFLAGS=-g
13484 cat > conftest.$ac_ext <<_ACEOF
13485 program main
13488 _ACEOF
13489 if ac_fn_fc_try_compile "$LINENO"; then :
13490 ac_cv_prog_fc_g=yes
13491 else
13492 ac_cv_prog_fc_g=no
13494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13498 $as_echo "$ac_cv_prog_fc_g" >&6; }
13499 if test "$ac_test_FCFLAGS" = set; then
13500 FCFLAGS=$ac_save_FCFLAGS
13501 elif test $ac_cv_prog_fc_g = yes; then
13502 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13503 FCFLAGS="-g -O2"
13504 else
13505 FCFLAGS="-g"
13507 else
13508 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13509 FCFLAGS="-O2"
13510 else
13511 FCFLAGS=
13515 if test $ac_compiler_gnu = yes; then
13516 GFC=yes
13517 else
13518 GFC=
13520 ac_ext=c
13521 ac_cpp='$CPP $CPPFLAGS'
13522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13526 ac_ext=${ac_fc_srcext-f}
13527 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13528 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13529 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13532 if test -z "$FC" || test "X$FC" = "Xno"; then
13533 _lt_disable_FC=yes
13536 archive_cmds_need_lc_FC=no
13537 allow_undefined_flag_FC=
13538 always_export_symbols_FC=no
13539 archive_expsym_cmds_FC=
13540 export_dynamic_flag_spec_FC=
13541 hardcode_direct_FC=no
13542 hardcode_direct_absolute_FC=no
13543 hardcode_libdir_flag_spec_FC=
13544 hardcode_libdir_flag_spec_ld_FC=
13545 hardcode_libdir_separator_FC=
13546 hardcode_minus_L_FC=no
13547 hardcode_automatic_FC=no
13548 inherit_rpath_FC=no
13549 module_cmds_FC=
13550 module_expsym_cmds_FC=
13551 link_all_deplibs_FC=unknown
13552 old_archive_cmds_FC=$old_archive_cmds
13553 reload_flag_FC=$reload_flag
13554 reload_cmds_FC=$reload_cmds
13555 no_undefined_flag_FC=
13556 whole_archive_flag_spec_FC=
13557 enable_shared_with_static_runtimes_FC=no
13559 # Source file extension for fc test sources.
13560 ac_ext=${ac_fc_srcext-f}
13562 # Object file extension for compiled fc test sources.
13563 objext=o
13564 objext_FC=$objext
13566 # No sense in running all these tests if we already determined that
13567 # the FC compiler isn't working. Some variables (like enable_shared)
13568 # are currently assumed to apply to all compilers on this platform,
13569 # and will be corrupted by setting them based on a non-working compiler.
13570 if test "$_lt_disable_FC" != yes; then
13571 # Code to be used in simple compile tests
13572 lt_simple_compile_test_code="\
13573 subroutine t
13574 return
13578 # Code to be used in simple link tests
13579 lt_simple_link_test_code="\
13580 program t
13584 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13591 # If no C compiler was specified, use CC.
13592 LTCC=${LTCC-"$CC"}
13594 # If no C compiler flags were specified, use CFLAGS.
13595 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13597 # Allow CC to be a program name with arguments.
13598 compiler=$CC
13601 # save warnings/boilerplate of simple test code
13602 ac_outfile=conftest.$ac_objext
13603 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13604 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13605 _lt_compiler_boilerplate=`cat conftest.err`
13606 $RM conftest*
13608 ac_outfile=conftest.$ac_objext
13609 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13610 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13611 _lt_linker_boilerplate=`cat conftest.err`
13612 $RM -r conftest*
13615 # Allow CC to be a program name with arguments.
13616 lt_save_CC="$CC"
13617 lt_save_GCC=$GCC
13618 CC=${FC-"f95"}
13619 compiler=$CC
13620 GCC=$ac_cv_fc_compiler_gnu
13622 compiler_FC=$CC
13623 for cc_temp in $compiler""; do
13624 case $cc_temp in
13625 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13626 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13627 \-*) ;;
13628 *) break;;
13629 esac
13630 done
13631 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13634 if test -n "$compiler"; then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13636 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13638 $as_echo "$can_build_shared" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13641 $as_echo_n "checking whether to build shared libraries... " >&6; }
13642 test "$can_build_shared" = "no" && enable_shared=no
13644 # On AIX, shared libraries and static libraries use the same namespace, and
13645 # are all built from PIC.
13646 case $host_os in
13647 aix3*)
13648 test "$enable_shared" = yes && enable_static=no
13649 if test -n "$RANLIB"; then
13650 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13651 postinstall_cmds='$RANLIB $lib'
13654 aix[4-9]*)
13655 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13656 test "$enable_shared" = yes && enable_static=no
13659 esac
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13661 $as_echo "$enable_shared" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13664 $as_echo_n "checking whether to build static libraries... " >&6; }
13665 # Make sure either enable_shared or enable_static is yes.
13666 test "$enable_shared" = yes || enable_static=yes
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13668 $as_echo "$enable_static" >&6; }
13670 GCC_FC="$ac_cv_fc_compiler_gnu"
13671 LD_FC="$LD"
13673 ## CAVEAT EMPTOR:
13674 ## There is no encapsulation within the following macros, do not change
13675 ## the running order or otherwise move them around unless you know exactly
13676 ## what you are doing...
13677 # Dependencies to place before and after the object being linked:
13678 predep_objects_FC=
13679 postdep_objects_FC=
13680 predeps_FC=
13681 postdeps_FC=
13682 compiler_lib_search_path_FC=
13684 cat > conftest.$ac_ext <<_LT_EOF
13685 subroutine foo
13686 implicit none
13687 integer a
13689 return
13691 _LT_EOF
13693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13694 (eval $ac_compile) 2>&5
13695 ac_status=$?
13696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13697 test $ac_status = 0; }; then
13698 # Parse the compiler output and extract the necessary
13699 # objects, libraries and library flags.
13701 # Sentinel used to keep track of whether or not we are before
13702 # the conftest object file.
13703 pre_test_object_deps_done=no
13705 for p in `eval "$output_verbose_link_cmd"`; do
13706 case $p in
13708 -L* | -R* | -l*)
13709 # Some compilers place space between "-{L,R}" and the path.
13710 # Remove the space.
13711 if test $p = "-L" ||
13712 test $p = "-R"; then
13713 prev=$p
13714 continue
13715 else
13716 prev=
13719 if test "$pre_test_object_deps_done" = no; then
13720 case $p in
13721 -L* | -R*)
13722 # Internal compiler library paths should come after those
13723 # provided the user. The postdeps already come after the
13724 # user supplied libs so there is no need to process them.
13725 if test -z "$compiler_lib_search_path_FC"; then
13726 compiler_lib_search_path_FC="${prev}${p}"
13727 else
13728 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13731 # The "-l" case would never come before the object being
13732 # linked, so don't bother handling this case.
13733 esac
13734 else
13735 if test -z "$postdeps_FC"; then
13736 postdeps_FC="${prev}${p}"
13737 else
13738 postdeps_FC="${postdeps_FC} ${prev}${p}"
13743 *.$objext)
13744 # This assumes that the test object file only shows up
13745 # once in the compiler output.
13746 if test "$p" = "conftest.$objext"; then
13747 pre_test_object_deps_done=yes
13748 continue
13751 if test "$pre_test_object_deps_done" = no; then
13752 if test -z "$predep_objects_FC"; then
13753 predep_objects_FC="$p"
13754 else
13755 predep_objects_FC="$predep_objects_FC $p"
13757 else
13758 if test -z "$postdep_objects_FC"; then
13759 postdep_objects_FC="$p"
13760 else
13761 postdep_objects_FC="$postdep_objects_FC $p"
13766 *) ;; # Ignore the rest.
13768 esac
13769 done
13771 # Clean up.
13772 rm -f a.out a.exe
13773 else
13774 echo "libtool.m4: error: problem compiling FC test program"
13777 $RM -f confest.$objext
13779 # PORTME: override above test on systems where it is broken
13782 case " $postdeps_FC " in
13783 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13784 esac
13785 compiler_lib_search_dirs_FC=
13786 if test -n "${compiler_lib_search_path_FC}"; then
13787 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13820 lt_prog_compiler_wl_FC=
13821 lt_prog_compiler_pic_FC=
13822 lt_prog_compiler_static_FC=
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13825 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13827 if test "$GCC" = yes; then
13828 lt_prog_compiler_wl_FC='-Wl,'
13829 lt_prog_compiler_static_FC='-static'
13831 case $host_os in
13832 aix*)
13833 # All AIX code is PIC.
13834 if test "$host_cpu" = ia64; then
13835 # AIX 5 now supports IA64 processor
13836 lt_prog_compiler_static_FC='-Bstatic'
13838 lt_prog_compiler_pic_FC='-fPIC'
13841 amigaos*)
13842 case $host_cpu in
13843 powerpc)
13844 # see comment about AmigaOS4 .so support
13845 lt_prog_compiler_pic_FC='-fPIC'
13847 m68k)
13848 # FIXME: we need at least 68020 code to build shared libraries, but
13849 # adding the `-m68020' flag to GCC prevents building anything better,
13850 # like `-m68040'.
13851 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13853 esac
13856 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13857 # PIC is the default for these OSes.
13860 mingw* | cygwin* | pw32* | os2* | cegcc*)
13861 # This hack is so that the source file can tell whether it is being
13862 # built for inclusion in a dll (and should export symbols for example).
13863 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13864 # (--disable-auto-import) libraries
13865 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13868 darwin* | rhapsody*)
13869 # PIC is the default on this platform
13870 # Common symbols not allowed in MH_DYLIB files
13871 lt_prog_compiler_pic_FC='-fno-common'
13874 haiku*)
13875 # PIC is the default for Haiku.
13876 # The "-static" flag exists, but is broken.
13877 lt_prog_compiler_static_FC=
13880 hpux*)
13881 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13882 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13883 # sets the default TLS model and affects inlining.
13884 case $host_cpu in
13885 hppa*64*)
13886 # +Z the default
13889 lt_prog_compiler_pic_FC='-fPIC'
13891 esac
13894 interix[3-9]*)
13895 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13896 # Instead, we relocate shared libraries at runtime.
13899 msdosdjgpp*)
13900 # Just because we use GCC doesn't mean we suddenly get shared libraries
13901 # on systems that don't support them.
13902 lt_prog_compiler_can_build_shared_FC=no
13903 enable_shared=no
13906 *nto* | *qnx*)
13907 # QNX uses GNU C++, but need to define -shared option too, otherwise
13908 # it will coredump.
13909 lt_prog_compiler_pic_FC='-fPIC -shared'
13912 sysv4*MP*)
13913 if test -d /usr/nec; then
13914 lt_prog_compiler_pic_FC=-Kconform_pic
13919 lt_prog_compiler_pic_FC='-fPIC'
13921 esac
13923 case $cc_basename in
13924 nvcc*) # Cuda Compiler Driver 2.2
13925 lt_prog_compiler_wl_FC='-Xlinker '
13926 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13928 esac
13929 else
13930 # PORTME Check for flag to pass linker flags through the system compiler.
13931 case $host_os in
13932 aix*)
13933 lt_prog_compiler_wl_FC='-Wl,'
13934 if test "$host_cpu" = ia64; then
13935 # AIX 5 now supports IA64 processor
13936 lt_prog_compiler_static_FC='-Bstatic'
13937 else
13938 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13942 mingw* | cygwin* | pw32* | os2* | cegcc*)
13943 # This hack is so that the source file can tell whether it is being
13944 # built for inclusion in a dll (and should export symbols for example).
13945 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13948 hpux9* | hpux10* | hpux11*)
13949 lt_prog_compiler_wl_FC='-Wl,'
13950 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13951 # not for PA HP-UX.
13952 case $host_cpu in
13953 hppa*64*|ia64*)
13954 # +Z the default
13957 lt_prog_compiler_pic_FC='+Z'
13959 esac
13960 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13961 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13964 irix5* | irix6* | nonstopux*)
13965 lt_prog_compiler_wl_FC='-Wl,'
13966 # PIC (with -KPIC) is the default.
13967 lt_prog_compiler_static_FC='-non_shared'
13970 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13971 case $cc_basename in
13972 # old Intel for x86_64 which still supported -KPIC.
13973 ecc*)
13974 lt_prog_compiler_wl_FC='-Wl,'
13975 lt_prog_compiler_pic_FC='-KPIC'
13976 lt_prog_compiler_static_FC='-static'
13978 # icc used to be incompatible with GCC.
13979 # ICC 10 doesn't accept -KPIC any more.
13980 icc* | ifort*)
13981 lt_prog_compiler_wl_FC='-Wl,'
13982 lt_prog_compiler_pic_FC='-fPIC'
13983 lt_prog_compiler_static_FC='-static'
13985 # Lahey Fortran 8.1.
13986 lf95*)
13987 lt_prog_compiler_wl_FC='-Wl,'
13988 lt_prog_compiler_pic_FC='--shared'
13989 lt_prog_compiler_static_FC='--static'
13991 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13992 # Portland Group compilers (*not* the Pentium gcc compiler,
13993 # which looks to be a dead project)
13994 lt_prog_compiler_wl_FC='-Wl,'
13995 lt_prog_compiler_pic_FC='-fpic'
13996 lt_prog_compiler_static_FC='-Bstatic'
13998 ccc*)
13999 lt_prog_compiler_wl_FC='-Wl,'
14000 # All Alpha code is PIC.
14001 lt_prog_compiler_static_FC='-non_shared'
14003 xl* | bgxl* | bgf* | mpixl*)
14004 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14005 lt_prog_compiler_wl_FC='-Wl,'
14006 lt_prog_compiler_pic_FC='-qpic'
14007 lt_prog_compiler_static_FC='-qstaticlink'
14010 case `$CC -V 2>&1 | sed 5q` in
14011 *Sun\ F* | *Sun*Fortran*)
14012 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14013 lt_prog_compiler_pic_FC='-KPIC'
14014 lt_prog_compiler_static_FC='-Bstatic'
14015 lt_prog_compiler_wl_FC=''
14017 *Sun\ C*)
14018 # Sun C 5.9
14019 lt_prog_compiler_pic_FC='-KPIC'
14020 lt_prog_compiler_static_FC='-Bstatic'
14021 lt_prog_compiler_wl_FC='-Wl,'
14023 esac
14025 esac
14028 newsos6)
14029 lt_prog_compiler_pic_FC='-KPIC'
14030 lt_prog_compiler_static_FC='-Bstatic'
14033 *nto* | *qnx*)
14034 # QNX uses GNU C++, but need to define -shared option too, otherwise
14035 # it will coredump.
14036 lt_prog_compiler_pic_FC='-fPIC -shared'
14039 osf3* | osf4* | osf5*)
14040 lt_prog_compiler_wl_FC='-Wl,'
14041 # All OSF/1 code is PIC.
14042 lt_prog_compiler_static_FC='-non_shared'
14045 rdos*)
14046 lt_prog_compiler_static_FC='-non_shared'
14049 solaris*)
14050 lt_prog_compiler_pic_FC='-KPIC'
14051 lt_prog_compiler_static_FC='-Bstatic'
14052 case $cc_basename in
14053 f77* | f90* | f95*)
14054 lt_prog_compiler_wl_FC='-Qoption ld ';;
14056 lt_prog_compiler_wl_FC='-Wl,';;
14057 esac
14060 sunos4*)
14061 lt_prog_compiler_wl_FC='-Qoption ld '
14062 lt_prog_compiler_pic_FC='-PIC'
14063 lt_prog_compiler_static_FC='-Bstatic'
14066 sysv4 | sysv4.2uw2* | sysv4.3*)
14067 lt_prog_compiler_wl_FC='-Wl,'
14068 lt_prog_compiler_pic_FC='-KPIC'
14069 lt_prog_compiler_static_FC='-Bstatic'
14072 sysv4*MP*)
14073 if test -d /usr/nec ;then
14074 lt_prog_compiler_pic_FC='-Kconform_pic'
14075 lt_prog_compiler_static_FC='-Bstatic'
14079 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14080 lt_prog_compiler_wl_FC='-Wl,'
14081 lt_prog_compiler_pic_FC='-KPIC'
14082 lt_prog_compiler_static_FC='-Bstatic'
14085 unicos*)
14086 lt_prog_compiler_wl_FC='-Wl,'
14087 lt_prog_compiler_can_build_shared_FC=no
14090 uts4*)
14091 lt_prog_compiler_pic_FC='-pic'
14092 lt_prog_compiler_static_FC='-Bstatic'
14096 lt_prog_compiler_can_build_shared_FC=no
14098 esac
14101 case $host_os in
14102 # For platforms which do not support PIC, -DPIC is meaningless:
14103 *djgpp*)
14104 lt_prog_compiler_pic_FC=
14107 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14109 esac
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14111 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14116 # Check to make sure the PIC flag actually works.
14118 if test -n "$lt_prog_compiler_pic_FC"; then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14120 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14121 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 lt_cv_prog_compiler_pic_works_FC=no
14125 ac_outfile=conftest.$ac_objext
14126 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14127 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14128 # Insert the option either (1) after the last *FLAGS variable, or
14129 # (2) before a word containing "conftest.", or (3) at the end.
14130 # Note that $ac_compile itself does not contain backslashes and begins
14131 # with a dollar sign (not a hyphen), so the echo should work correctly.
14132 # The option is referenced via a variable to avoid confusing sed.
14133 lt_compile=`echo "$ac_compile" | $SED \
14134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14136 -e 's:$: $lt_compiler_flag:'`
14137 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14138 (eval "$lt_compile" 2>conftest.err)
14139 ac_status=$?
14140 cat conftest.err >&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 if (exit $ac_status) && test -s "$ac_outfile"; then
14143 # The compiler can only warn and ignore the option if not recognized
14144 # So say no if there are warnings other than the usual output.
14145 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14147 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14148 lt_cv_prog_compiler_pic_works_FC=yes
14151 $RM conftest*
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14155 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14157 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14158 case $lt_prog_compiler_pic_FC in
14159 "" | " "*) ;;
14160 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14161 esac
14162 else
14163 lt_prog_compiler_pic_FC=
14164 lt_prog_compiler_can_build_shared_FC=no
14172 # Check to make sure the static flag actually works.
14174 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14176 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14177 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 lt_cv_prog_compiler_static_works_FC=no
14181 save_LDFLAGS="$LDFLAGS"
14182 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14183 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14184 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14185 # The linker can only warn and ignore the option if not recognized
14186 # So say no if there are warnings
14187 if test -s conftest.err; then
14188 # Append any errors to the config.log.
14189 cat conftest.err 1>&5
14190 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14191 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14192 if diff conftest.exp conftest.er2 >/dev/null; then
14193 lt_cv_prog_compiler_static_works_FC=yes
14195 else
14196 lt_cv_prog_compiler_static_works_FC=yes
14199 $RM -r conftest*
14200 LDFLAGS="$save_LDFLAGS"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14204 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14206 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14208 else
14209 lt_prog_compiler_static_FC=
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14216 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14217 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 lt_cv_prog_compiler_c_o_FC=no
14221 $RM -r conftest 2>/dev/null
14222 mkdir conftest
14223 cd conftest
14224 mkdir out
14225 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14227 lt_compiler_flag="-o out/conftest2.$ac_objext"
14228 # Insert the option either (1) after the last *FLAGS variable, or
14229 # (2) before a word containing "conftest.", or (3) at the end.
14230 # Note that $ac_compile itself does not contain backslashes and begins
14231 # with a dollar sign (not a hyphen), so the echo should work correctly.
14232 lt_compile=`echo "$ac_compile" | $SED \
14233 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14235 -e 's:$: $lt_compiler_flag:'`
14236 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14237 (eval "$lt_compile" 2>out/conftest.err)
14238 ac_status=$?
14239 cat out/conftest.err >&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14242 then
14243 # The compiler can only warn and ignore the option if not recognized
14244 # So say no if there are warnings
14245 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14246 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14247 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14248 lt_cv_prog_compiler_c_o_FC=yes
14251 chmod u+w . 2>&5
14252 $RM conftest*
14253 # SGI C++ compiler will create directory out/ii_files/ for
14254 # template instantiation
14255 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14256 $RM out/* && rmdir out
14257 cd ..
14258 $RM -r conftest
14259 $RM conftest*
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14263 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14268 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14269 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 lt_cv_prog_compiler_c_o_FC=no
14273 $RM -r conftest 2>/dev/null
14274 mkdir conftest
14275 cd conftest
14276 mkdir out
14277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14279 lt_compiler_flag="-o out/conftest2.$ac_objext"
14280 # Insert the option either (1) after the last *FLAGS variable, or
14281 # (2) before a word containing "conftest.", or (3) at the end.
14282 # Note that $ac_compile itself does not contain backslashes and begins
14283 # with a dollar sign (not a hyphen), so the echo should work correctly.
14284 lt_compile=`echo "$ac_compile" | $SED \
14285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14287 -e 's:$: $lt_compiler_flag:'`
14288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14289 (eval "$lt_compile" 2>out/conftest.err)
14290 ac_status=$?
14291 cat out/conftest.err >&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14294 then
14295 # The compiler can only warn and ignore the option if not recognized
14296 # So say no if there are warnings
14297 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14298 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14299 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14300 lt_cv_prog_compiler_c_o_FC=yes
14303 chmod u+w . 2>&5
14304 $RM conftest*
14305 # SGI C++ compiler will create directory out/ii_files/ for
14306 # template instantiation
14307 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14308 $RM out/* && rmdir out
14309 cd ..
14310 $RM -r conftest
14311 $RM conftest*
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14315 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14320 hard_links="nottested"
14321 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14322 # do not overwrite the value of need_locks provided by the user
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14324 $as_echo_n "checking if we can lock with hard links... " >&6; }
14325 hard_links=yes
14326 $RM conftest*
14327 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14328 touch conftest.a
14329 ln conftest.a conftest.b 2>&5 || hard_links=no
14330 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14332 $as_echo "$hard_links" >&6; }
14333 if test "$hard_links" = no; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14335 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14336 need_locks=warn
14338 else
14339 need_locks=no
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14345 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14347 runpath_var=
14348 allow_undefined_flag_FC=
14349 always_export_symbols_FC=no
14350 archive_cmds_FC=
14351 archive_expsym_cmds_FC=
14352 compiler_needs_object_FC=no
14353 enable_shared_with_static_runtimes_FC=no
14354 export_dynamic_flag_spec_FC=
14355 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14356 hardcode_automatic_FC=no
14357 hardcode_direct_FC=no
14358 hardcode_direct_absolute_FC=no
14359 hardcode_libdir_flag_spec_FC=
14360 hardcode_libdir_flag_spec_ld_FC=
14361 hardcode_libdir_separator_FC=
14362 hardcode_minus_L_FC=no
14363 hardcode_shlibpath_var_FC=unsupported
14364 inherit_rpath_FC=no
14365 link_all_deplibs_FC=unknown
14366 module_cmds_FC=
14367 module_expsym_cmds_FC=
14368 old_archive_from_new_cmds_FC=
14369 old_archive_from_expsyms_cmds_FC=
14370 thread_safe_flag_spec_FC=
14371 whole_archive_flag_spec_FC=
14372 # include_expsyms should be a list of space-separated symbols to be *always*
14373 # included in the symbol list
14374 include_expsyms_FC=
14375 # exclude_expsyms can be an extended regexp of symbols to exclude
14376 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14377 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14378 # as well as any symbol that contains `d'.
14379 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14380 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14381 # platforms (ab)use it in PIC code, but their linkers get confused if
14382 # the symbol is explicitly referenced. Since portable code cannot
14383 # rely on this symbol name, it's probably fine to never include it in
14384 # preloaded symbol tables.
14385 # Exclude shared library initialization/finalization symbols.
14386 extract_expsyms_cmds=
14388 case $host_os in
14389 cygwin* | mingw* | pw32* | cegcc*)
14390 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14391 # When not using gcc, we currently assume that we are using
14392 # Microsoft Visual C++.
14393 if test "$GCC" != yes; then
14394 with_gnu_ld=no
14397 interix*)
14398 # we just hope/assume this is gcc and not c89 (= MSVC++)
14399 with_gnu_ld=yes
14401 openbsd*)
14402 with_gnu_ld=no
14404 esac
14406 ld_shlibs_FC=yes
14408 # On some targets, GNU ld is compatible enough with the native linker
14409 # that we're better off using the native interface for both.
14410 lt_use_gnu_ld_interface=no
14411 if test "$with_gnu_ld" = yes; then
14412 case $host_os in
14413 aix*)
14414 # The AIX port of GNU ld has always aspired to compatibility
14415 # with the native linker. However, as the warning in the GNU ld
14416 # block says, versions before 2.19.5* couldn't really create working
14417 # shared libraries, regardless of the interface used.
14418 case `$LD -v 2>&1` in
14419 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14420 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14421 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14423 lt_use_gnu_ld_interface=yes
14425 esac
14428 lt_use_gnu_ld_interface=yes
14430 esac
14433 if test "$lt_use_gnu_ld_interface" = yes; then
14434 # If archive_cmds runs LD, not CC, wlarc should be empty
14435 wlarc='${wl}'
14437 # Set some defaults for GNU ld with shared library support. These
14438 # are reset later if shared libraries are not supported. Putting them
14439 # here allows them to be overridden if necessary.
14440 runpath_var=LD_RUN_PATH
14441 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14442 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14443 # ancient GNU ld didn't support --whole-archive et. al.
14444 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14445 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14446 else
14447 whole_archive_flag_spec_FC=
14449 supports_anon_versioning=no
14450 case `$LD -v 2>&1` in
14451 *GNU\ gold*) supports_anon_versioning=yes ;;
14452 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14453 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14454 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14455 *\ 2.11.*) ;; # other 2.11 versions
14456 *) supports_anon_versioning=yes ;;
14457 esac
14459 # See if GNU ld supports shared libraries.
14460 case $host_os in
14461 aix[3-9]*)
14462 # On AIX/PPC, the GNU linker is very broken
14463 if test "$host_cpu" != ia64; then
14464 ld_shlibs_FC=no
14465 cat <<_LT_EOF 1>&2
14467 *** Warning: the GNU linker, at least up to release 2.19, is reported
14468 *** to be unable to reliably create shared libraries on AIX.
14469 *** Therefore, libtool is disabling shared libraries support. If you
14470 *** really care for shared libraries, you may want to install binutils
14471 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14472 *** You will then need to restart the configuration process.
14474 _LT_EOF
14478 amigaos*)
14479 case $host_cpu in
14480 powerpc)
14481 # see comment about AmigaOS4 .so support
14482 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14483 archive_expsym_cmds_FC=''
14485 m68k)
14486 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)'
14487 hardcode_libdir_flag_spec_FC='-L$libdir'
14488 hardcode_minus_L_FC=yes
14490 esac
14493 beos*)
14494 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14495 allow_undefined_flag_FC=unsupported
14496 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14497 # support --undefined. This deserves some investigation. FIXME
14498 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14499 else
14500 ld_shlibs_FC=no
14504 cygwin* | mingw* | pw32* | cegcc*)
14505 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14506 # as there is no search path for DLLs.
14507 hardcode_libdir_flag_spec_FC='-L$libdir'
14508 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14509 allow_undefined_flag_FC=unsupported
14510 always_export_symbols_FC=no
14511 enable_shared_with_static_runtimes_FC=yes
14512 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14514 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14515 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14516 # If the export-symbols file already is a .def file (1st line
14517 # is EXPORTS), use it as is; otherwise, prepend...
14518 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14519 cp $export_symbols $output_objdir/$soname.def;
14520 else
14521 echo EXPORTS > $output_objdir/$soname.def;
14522 cat $export_symbols >> $output_objdir/$soname.def;
14524 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14525 else
14526 ld_shlibs_FC=no
14530 haiku*)
14531 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14532 link_all_deplibs_FC=yes
14535 interix[3-9]*)
14536 hardcode_direct_FC=no
14537 hardcode_shlibpath_var_FC=no
14538 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14539 export_dynamic_flag_spec_FC='${wl}-E'
14540 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14541 # Instead, shared libraries are loaded at an image base (0x10000000 by
14542 # default) and relocated if they conflict, which is a slow very memory
14543 # consuming and fragmenting process. To avoid this, we pick a random,
14544 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14545 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14546 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'
14547 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'
14550 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14551 tmp_diet=no
14552 if test "$host_os" = linux-dietlibc; then
14553 case $cc_basename in
14554 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14555 esac
14557 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14558 && test "$tmp_diet" = no
14559 then
14560 tmp_addflag=' $pic_flag'
14561 tmp_sharedflag='-shared'
14562 case $cc_basename,$host_cpu in
14563 pgcc*) # Portland Group C compiler
14564 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'
14565 tmp_addflag=' $pic_flag'
14567 pgf77* | pgf90* | pgf95* | pgfortran*)
14568 # Portland Group f77 and f90 compilers
14569 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'
14570 tmp_addflag=' $pic_flag -Mnomain' ;;
14571 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14572 tmp_addflag=' -i_dynamic' ;;
14573 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14574 tmp_addflag=' -i_dynamic -nofor_main' ;;
14575 ifc* | ifort*) # Intel Fortran compiler
14576 tmp_addflag=' -nofor_main' ;;
14577 lf95*) # Lahey Fortran 8.1
14578 whole_archive_flag_spec_FC=
14579 tmp_sharedflag='--shared' ;;
14580 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14581 tmp_sharedflag='-qmkshrobj'
14582 tmp_addflag= ;;
14583 nvcc*) # Cuda Compiler Driver 2.2
14584 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'
14585 compiler_needs_object_FC=yes
14587 esac
14588 case `$CC -V 2>&1 | sed 5q` in
14589 *Sun\ C*) # Sun C 5.9
14590 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'
14591 compiler_needs_object_FC=yes
14592 tmp_sharedflag='-G' ;;
14593 *Sun\ F*) # Sun Fortran 8.3
14594 tmp_sharedflag='-G' ;;
14595 esac
14596 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14598 if test "x$supports_anon_versioning" = xyes; then
14599 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14600 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14601 echo "local: *; };" >> $output_objdir/$libname.ver~
14602 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14605 case $cc_basename in
14606 xlf* | bgf* | bgxlf* | mpixlf*)
14607 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14608 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14609 hardcode_libdir_flag_spec_FC=
14610 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14611 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14612 if test "x$supports_anon_versioning" = xyes; then
14613 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14614 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14615 echo "local: *; };" >> $output_objdir/$libname.ver~
14616 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14619 esac
14620 else
14621 ld_shlibs_FC=no
14625 netbsd*)
14626 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14627 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14628 wlarc=
14629 else
14630 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14631 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14635 solaris*)
14636 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14637 ld_shlibs_FC=no
14638 cat <<_LT_EOF 1>&2
14640 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14641 *** create shared libraries on Solaris systems. Therefore, libtool
14642 *** is disabling shared libraries support. We urge you to upgrade GNU
14643 *** binutils to release 2.9.1 or newer. Another option is to modify
14644 *** your PATH or compiler configuration so that the native linker is
14645 *** used, and then restart.
14647 _LT_EOF
14648 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14649 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14650 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14651 else
14652 ld_shlibs_FC=no
14656 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14657 case `$LD -v 2>&1` in
14658 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14659 ld_shlibs_FC=no
14660 cat <<_LT_EOF 1>&2
14662 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14663 *** reliably create shared libraries on SCO systems. Therefore, libtool
14664 *** is disabling shared libraries support. We urge you to upgrade GNU
14665 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14666 *** your PATH or compiler configuration so that the native linker is
14667 *** used, and then restart.
14669 _LT_EOF
14672 # For security reasons, it is highly recommended that you always
14673 # use absolute paths for naming shared libraries, and exclude the
14674 # DT_RUNPATH tag from executables and libraries. But doing so
14675 # requires that you compile everything twice, which is a pain.
14676 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14677 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14678 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14679 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14680 else
14681 ld_shlibs_FC=no
14684 esac
14687 sunos4*)
14688 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14689 wlarc=
14690 hardcode_direct_FC=yes
14691 hardcode_shlibpath_var_FC=no
14695 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14696 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14697 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14698 else
14699 ld_shlibs_FC=no
14702 esac
14704 if test "$ld_shlibs_FC" = no; then
14705 runpath_var=
14706 hardcode_libdir_flag_spec_FC=
14707 export_dynamic_flag_spec_FC=
14708 whole_archive_flag_spec_FC=
14710 else
14711 # PORTME fill in a description of your system's linker (not GNU ld)
14712 case $host_os in
14713 aix3*)
14714 allow_undefined_flag_FC=unsupported
14715 always_export_symbols_FC=yes
14716 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'
14717 # Note: this linker hardcodes the directories in LIBPATH if there
14718 # are no directories specified by -L.
14719 hardcode_minus_L_FC=yes
14720 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14721 # Neither direct hardcoding nor static linking is supported with a
14722 # broken collect2.
14723 hardcode_direct_FC=unsupported
14727 aix[4-9]*)
14728 if test "$host_cpu" = ia64; then
14729 # On IA64, the linker does run time linking by default, so we don't
14730 # have to do anything special.
14731 aix_use_runtimelinking=no
14732 exp_sym_flag='-Bexport'
14733 no_entry_flag=""
14734 else
14735 # If we're using GNU nm, then we don't want the "-C" option.
14736 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14737 # Also, AIX nm treats weak defined symbols like other global
14738 # defined symbols, whereas GNU nm marks them as "W".
14739 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14740 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'
14741 else
14742 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14744 aix_use_runtimelinking=no
14746 # Test if we are trying to use run time linking or normal
14747 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14748 # need to do runtime linking.
14749 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14750 for ld_flag in $LDFLAGS; do
14751 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14752 aix_use_runtimelinking=yes
14753 break
14755 done
14757 esac
14759 exp_sym_flag='-bexport'
14760 no_entry_flag='-bnoentry'
14763 # When large executables or shared objects are built, AIX ld can
14764 # have problems creating the table of contents. If linking a library
14765 # or program results in "error TOC overflow" add -mminimal-toc to
14766 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14767 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14769 archive_cmds_FC=''
14770 hardcode_direct_FC=yes
14771 hardcode_direct_absolute_FC=yes
14772 hardcode_libdir_separator_FC=':'
14773 link_all_deplibs_FC=yes
14774 file_list_spec_FC='${wl}-f,'
14776 if test "$GCC" = yes; then
14777 case $host_os in aix4.[012]|aix4.[012].*)
14778 # We only want to do this on AIX 4.2 and lower, the check
14779 # below for broken collect2 doesn't work under 4.3+
14780 collect2name=`${CC} -print-prog-name=collect2`
14781 if test -f "$collect2name" &&
14782 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14783 then
14784 # We have reworked collect2
14786 else
14787 # We have old collect2
14788 hardcode_direct_FC=unsupported
14789 # It fails to find uninstalled libraries when the uninstalled
14790 # path is not listed in the libpath. Setting hardcode_minus_L
14791 # to unsupported forces relinking
14792 hardcode_minus_L_FC=yes
14793 hardcode_libdir_flag_spec_FC='-L$libdir'
14794 hardcode_libdir_separator_FC=
14797 esac
14798 shared_flag='-shared'
14799 if test "$aix_use_runtimelinking" = yes; then
14800 shared_flag="$shared_flag "'${wl}-G'
14802 else
14803 # not using gcc
14804 if test "$host_cpu" = ia64; then
14805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14806 # chokes on -Wl,-G. The following line is correct:
14807 shared_flag='-G'
14808 else
14809 if test "$aix_use_runtimelinking" = yes; then
14810 shared_flag='${wl}-G'
14811 else
14812 shared_flag='${wl}-bM:SRE'
14817 export_dynamic_flag_spec_FC='${wl}-bexpall'
14818 # It seems that -bexpall does not export symbols beginning with
14819 # underscore (_), so it is better to generate a list of symbols to export.
14820 always_export_symbols_FC=yes
14821 if test "$aix_use_runtimelinking" = yes; then
14822 # Warning - without using the other runtime loading flags (-brtl),
14823 # -berok will link without error, but may produce a broken library.
14824 allow_undefined_flag_FC='-berok'
14825 # Determine the default libpath from the value encoded in an
14826 # empty executable.
14827 if test x$gcc_no_link = xyes; then
14828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14830 cat > conftest.$ac_ext <<_ACEOF
14831 program main
14834 _ACEOF
14835 if ac_fn_fc_try_link "$LINENO"; then :
14837 lt_aix_libpath_sed='
14838 /Import File Strings/,/^$/ {
14839 /^0/ {
14840 s/^0 *\(.*\)$/\1/
14844 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14845 # Check for a 64-bit object if we didn't find anything.
14846 if test -z "$aix_libpath"; then
14847 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14850 rm -f core conftest.err conftest.$ac_objext \
14851 conftest$ac_exeext conftest.$ac_ext
14852 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14854 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14855 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"
14856 else
14857 if test "$host_cpu" = ia64; then
14858 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14859 allow_undefined_flag_FC="-z nodefs"
14860 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"
14861 else
14862 # Determine the default libpath from the value encoded in an
14863 # empty executable.
14864 if test x$gcc_no_link = xyes; then
14865 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14867 cat > conftest.$ac_ext <<_ACEOF
14868 program main
14871 _ACEOF
14872 if ac_fn_fc_try_link "$LINENO"; then :
14874 lt_aix_libpath_sed='
14875 /Import File Strings/,/^$/ {
14876 /^0/ {
14877 s/^0 *\(.*\)$/\1/
14881 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14882 # Check for a 64-bit object if we didn't find anything.
14883 if test -z "$aix_libpath"; then
14884 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14889 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14891 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14892 # Warning - without using the other run time loading flags,
14893 # -berok will link without error, but may produce a broken library.
14894 no_undefined_flag_FC=' ${wl}-bernotok'
14895 allow_undefined_flag_FC=' ${wl}-berok'
14896 if test "$with_gnu_ld" = yes; then
14897 # We only use this code for GNU lds that support --whole-archive.
14898 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14899 else
14900 # Exported symbols can be pulled into shared objects from archives
14901 whole_archive_flag_spec_FC='$convenience'
14903 archive_cmds_need_lc_FC=yes
14904 # This is similar to how AIX traditionally builds its shared libraries.
14905 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'
14910 amigaos*)
14911 case $host_cpu in
14912 powerpc)
14913 # see comment about AmigaOS4 .so support
14914 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14915 archive_expsym_cmds_FC=''
14917 m68k)
14918 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)'
14919 hardcode_libdir_flag_spec_FC='-L$libdir'
14920 hardcode_minus_L_FC=yes
14922 esac
14925 bsdi[45]*)
14926 export_dynamic_flag_spec_FC=-rdynamic
14929 cygwin* | mingw* | pw32* | cegcc*)
14930 # When not using gcc, we currently assume that we are using
14931 # Microsoft Visual C++.
14932 # hardcode_libdir_flag_spec is actually meaningless, as there is
14933 # no search path for DLLs.
14934 hardcode_libdir_flag_spec_FC=' '
14935 allow_undefined_flag_FC=unsupported
14936 # Tell ltmain to make .lib files, not .a files.
14937 libext=lib
14938 # Tell ltmain to make .dll files, not .so files.
14939 shrext_cmds=".dll"
14940 # FIXME: Setting linknames here is a bad hack.
14941 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14942 # The linker will automatically build a .lib file if we build a DLL.
14943 old_archive_from_new_cmds_FC='true'
14944 # FIXME: Should let the user specify the lib program.
14945 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14946 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14947 enable_shared_with_static_runtimes_FC=yes
14950 darwin* | rhapsody*)
14953 archive_cmds_need_lc_FC=no
14954 hardcode_direct_FC=no
14955 hardcode_automatic_FC=yes
14956 hardcode_shlibpath_var_FC=unsupported
14957 if test "$lt_cv_ld_force_load" = "yes"; then
14958 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\"`'
14959 else
14960 whole_archive_flag_spec_FC=''
14962 link_all_deplibs_FC=yes
14963 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14964 case $cc_basename in
14965 ifort*) _lt_dar_can_shared=yes ;;
14966 *) _lt_dar_can_shared=$GCC ;;
14967 esac
14968 if test "$_lt_dar_can_shared" = "yes"; then
14969 output_verbose_link_cmd=func_echo_all
14970 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}"
14971 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14972 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}"
14973 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}"
14975 else
14976 ld_shlibs_FC=no
14981 dgux*)
14982 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14983 hardcode_libdir_flag_spec_FC='-L$libdir'
14984 hardcode_shlibpath_var_FC=no
14987 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14988 # support. Future versions do this automatically, but an explicit c++rt0.o
14989 # does not break anything, and helps significantly (at the cost of a little
14990 # extra space).
14991 freebsd2.2*)
14992 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14993 hardcode_libdir_flag_spec_FC='-R$libdir'
14994 hardcode_direct_FC=yes
14995 hardcode_shlibpath_var_FC=no
14998 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14999 freebsd2.*)
15000 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15001 hardcode_direct_FC=yes
15002 hardcode_minus_L_FC=yes
15003 hardcode_shlibpath_var_FC=no
15006 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15007 freebsd* | dragonfly*)
15008 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15009 hardcode_libdir_flag_spec_FC='-R$libdir'
15010 hardcode_direct_FC=yes
15011 hardcode_shlibpath_var_FC=no
15014 hpux9*)
15015 if test "$GCC" = yes; then
15016 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'
15017 else
15018 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'
15020 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15021 hardcode_libdir_separator_FC=:
15022 hardcode_direct_FC=yes
15024 # hardcode_minus_L: Not really in the search PATH,
15025 # but as the default location of the library.
15026 hardcode_minus_L_FC=yes
15027 export_dynamic_flag_spec_FC='${wl}-E'
15030 hpux10*)
15031 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15032 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15033 else
15034 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15036 if test "$with_gnu_ld" = no; then
15037 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15038 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15039 hardcode_libdir_separator_FC=:
15040 hardcode_direct_FC=yes
15041 hardcode_direct_absolute_FC=yes
15042 export_dynamic_flag_spec_FC='${wl}-E'
15043 # hardcode_minus_L: Not really in the search PATH,
15044 # but as the default location of the library.
15045 hardcode_minus_L_FC=yes
15049 hpux11*)
15050 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15051 case $host_cpu in
15052 hppa*64*)
15053 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15055 ia64*)
15056 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15059 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15061 esac
15062 else
15063 case $host_cpu in
15064 hppa*64*)
15065 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15067 ia64*)
15068 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15071 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15073 esac
15075 if test "$with_gnu_ld" = no; then
15076 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15077 hardcode_libdir_separator_FC=:
15079 case $host_cpu in
15080 hppa*64*|ia64*)
15081 hardcode_direct_FC=no
15082 hardcode_shlibpath_var_FC=no
15085 hardcode_direct_FC=yes
15086 hardcode_direct_absolute_FC=yes
15087 export_dynamic_flag_spec_FC='${wl}-E'
15089 # hardcode_minus_L: Not really in the search PATH,
15090 # but as the default location of the library.
15091 hardcode_minus_L_FC=yes
15093 esac
15097 irix5* | irix6* | nonstopux*)
15098 if test "$GCC" = yes; then
15099 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'
15100 # Try to use the -exported_symbol ld option, if it does not
15101 # work, assume that -exports_file does not work either and
15102 # implicitly export all symbols.
15103 save_LDFLAGS="$LDFLAGS"
15104 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15105 if test x$gcc_no_link = xyes; then
15106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15108 cat > conftest.$ac_ext <<_ACEOF
15109 int foo(void) {}
15110 _ACEOF
15111 if ac_fn_fc_try_link "$LINENO"; then :
15112 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'
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 LDFLAGS="$save_LDFLAGS"
15118 else
15119 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'
15120 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'
15122 archive_cmds_need_lc_FC='no'
15123 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15124 hardcode_libdir_separator_FC=:
15125 inherit_rpath_FC=yes
15126 link_all_deplibs_FC=yes
15129 netbsd*)
15130 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15131 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15132 else
15133 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15135 hardcode_libdir_flag_spec_FC='-R$libdir'
15136 hardcode_direct_FC=yes
15137 hardcode_shlibpath_var_FC=no
15140 newsos6)
15141 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15142 hardcode_direct_FC=yes
15143 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15144 hardcode_libdir_separator_FC=:
15145 hardcode_shlibpath_var_FC=no
15148 *nto* | *qnx*)
15151 openbsd*)
15152 if test -f /usr/libexec/ld.so; then
15153 hardcode_direct_FC=yes
15154 hardcode_shlibpath_var_FC=no
15155 hardcode_direct_absolute_FC=yes
15156 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15157 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15158 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15159 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15160 export_dynamic_flag_spec_FC='${wl}-E'
15161 else
15162 case $host_os in
15163 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15164 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15165 hardcode_libdir_flag_spec_FC='-R$libdir'
15168 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15169 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15171 esac
15173 else
15174 ld_shlibs_FC=no
15178 os2*)
15179 hardcode_libdir_flag_spec_FC='-L$libdir'
15180 hardcode_minus_L_FC=yes
15181 allow_undefined_flag_FC=unsupported
15182 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'
15183 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15186 osf3*)
15187 if test "$GCC" = yes; then
15188 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15189 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'
15190 else
15191 allow_undefined_flag_FC=' -expect_unresolved \*'
15192 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'
15194 archive_cmds_need_lc_FC='no'
15195 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15196 hardcode_libdir_separator_FC=:
15199 osf4* | osf5*) # as osf3* with the addition of -msym flag
15200 if test "$GCC" = yes; then
15201 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15202 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'
15203 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15204 else
15205 allow_undefined_flag_FC=' -expect_unresolved \*'
15206 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'
15207 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~
15208 $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'
15210 # Both c and cxx compiler support -rpath directly
15211 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15213 archive_cmds_need_lc_FC='no'
15214 hardcode_libdir_separator_FC=:
15217 solaris*)
15218 no_undefined_flag_FC=' -z defs'
15219 if test "$GCC" = yes; then
15220 wlarc='${wl}'
15221 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15222 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15223 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15224 else
15225 case `$CC -V 2>&1` in
15226 *"Compilers 5.0"*)
15227 wlarc=''
15228 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15229 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15230 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15233 wlarc='${wl}'
15234 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15235 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15236 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15238 esac
15240 hardcode_libdir_flag_spec_FC='-R$libdir'
15241 hardcode_shlibpath_var_FC=no
15242 case $host_os in
15243 solaris2.[0-5] | solaris2.[0-5].*) ;;
15245 # The compiler driver will combine and reorder linker options,
15246 # but understands `-z linker_flag'. GCC discards it without `$wl',
15247 # but is careful enough not to reorder.
15248 # Supported since Solaris 2.6 (maybe 2.5.1?)
15249 if test "$GCC" = yes; then
15250 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15251 else
15252 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15255 esac
15256 link_all_deplibs_FC=yes
15259 sunos4*)
15260 if test "x$host_vendor" = xsequent; then
15261 # Use $CC to link under sequent, because it throws in some extra .o
15262 # files that make .init and .fini sections work.
15263 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15264 else
15265 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15267 hardcode_libdir_flag_spec_FC='-L$libdir'
15268 hardcode_direct_FC=yes
15269 hardcode_minus_L_FC=yes
15270 hardcode_shlibpath_var_FC=no
15273 sysv4)
15274 case $host_vendor in
15275 sni)
15276 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15277 hardcode_direct_FC=yes # is this really true???
15279 siemens)
15280 ## LD is ld it makes a PLAMLIB
15281 ## CC just makes a GrossModule.
15282 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15283 reload_cmds_FC='$CC -r -o $output$reload_objs'
15284 hardcode_direct_FC=no
15286 motorola)
15287 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15288 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15290 esac
15291 runpath_var='LD_RUN_PATH'
15292 hardcode_shlibpath_var_FC=no
15295 sysv4.3*)
15296 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15297 hardcode_shlibpath_var_FC=no
15298 export_dynamic_flag_spec_FC='-Bexport'
15301 sysv4*MP*)
15302 if test -d /usr/nec; then
15303 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15304 hardcode_shlibpath_var_FC=no
15305 runpath_var=LD_RUN_PATH
15306 hardcode_runpath_var=yes
15307 ld_shlibs_FC=yes
15311 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15312 no_undefined_flag_FC='${wl}-z,text'
15313 archive_cmds_need_lc_FC=no
15314 hardcode_shlibpath_var_FC=no
15315 runpath_var='LD_RUN_PATH'
15317 if test "$GCC" = yes; then
15318 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15319 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15320 else
15321 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15322 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15326 sysv5* | sco3.2v5* | sco5v6*)
15327 # Note: We can NOT use -z defs as we might desire, because we do not
15328 # link with -lc, and that would cause any symbols used from libc to
15329 # always be unresolved, which means just about no library would
15330 # ever link correctly. If we're not using GNU ld we use -z text
15331 # though, which does catch some bad symbols but isn't as heavy-handed
15332 # as -z defs.
15333 no_undefined_flag_FC='${wl}-z,text'
15334 allow_undefined_flag_FC='${wl}-z,nodefs'
15335 archive_cmds_need_lc_FC=no
15336 hardcode_shlibpath_var_FC=no
15337 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15338 hardcode_libdir_separator_FC=':'
15339 link_all_deplibs_FC=yes
15340 export_dynamic_flag_spec_FC='${wl}-Bexport'
15341 runpath_var='LD_RUN_PATH'
15343 if test "$GCC" = yes; then
15344 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15345 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15346 else
15347 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15348 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15352 uts4*)
15353 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15354 hardcode_libdir_flag_spec_FC='-L$libdir'
15355 hardcode_shlibpath_var_FC=no
15359 ld_shlibs_FC=no
15361 esac
15363 if test x$host_vendor = xsni; then
15364 case $host in
15365 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15366 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15368 esac
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15373 $as_echo "$ld_shlibs_FC" >&6; }
15374 test "$ld_shlibs_FC" = no && can_build_shared=no
15376 with_gnu_ld_FC=$with_gnu_ld
15384 # Do we need to explicitly link libc?
15386 case "x$archive_cmds_need_lc_FC" in
15387 x|xyes)
15388 # Assume -lc should be added
15389 archive_cmds_need_lc_FC=yes
15391 if test "$enable_shared" = yes && test "$GCC" = yes; then
15392 case $archive_cmds_FC in
15393 *'~'*)
15394 # FIXME: we may have to deal with multi-command sequences.
15396 '$CC '*)
15397 # Test whether the compiler implicitly links with -lc since on some
15398 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15399 # to ld, don't add -lc before -lgcc.
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15402 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15405 $RM conftest*
15406 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; } 2>conftest.err; then
15413 soname=conftest
15414 lib=conftest
15415 libobjs=conftest.$ac_objext
15416 deplibs=
15417 wl=$lt_prog_compiler_wl_FC
15418 pic_flag=$lt_prog_compiler_pic_FC
15419 compiler_flags=-v
15420 linker_flags=-v
15421 verstring=
15422 output_objdir=.
15423 libname=conftest
15424 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15425 allow_undefined_flag_FC=
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15427 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }
15431 then
15432 lt_cv_archive_cmds_need_lc_FC=no
15433 else
15434 lt_cv_archive_cmds_need_lc_FC=yes
15436 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15437 else
15438 cat conftest.err 1>&5
15440 $RM conftest*
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15444 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15445 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15447 esac
15450 esac
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15516 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15518 library_names_spec=
15519 libname_spec='lib$name'
15520 soname_spec=
15521 shrext_cmds=".so"
15522 postinstall_cmds=
15523 postuninstall_cmds=
15524 finish_cmds=
15525 finish_eval=
15526 shlibpath_var=
15527 shlibpath_overrides_runpath=unknown
15528 version_type=none
15529 dynamic_linker="$host_os ld.so"
15530 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15531 need_lib_prefix=unknown
15532 hardcode_into_libs=no
15534 # when you set need_version to no, make sure it does not cause -set_version
15535 # flags to be left without arguments
15536 need_version=unknown
15538 case $host_os in
15539 aix3*)
15540 version_type=linux
15541 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15542 shlibpath_var=LIBPATH
15544 # AIX 3 has no versioning support, so we append a major version to the name.
15545 soname_spec='${libname}${release}${shared_ext}$major'
15548 aix[4-9]*)
15549 version_type=linux
15550 need_lib_prefix=no
15551 need_version=no
15552 hardcode_into_libs=yes
15553 if test "$host_cpu" = ia64; then
15554 # AIX 5 supports IA64
15555 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15556 shlibpath_var=LD_LIBRARY_PATH
15557 else
15558 # With GCC up to 2.95.x, collect2 would create an import file
15559 # for dependence libraries. The import file would start with
15560 # the line `#! .'. This would cause the generated library to
15561 # depend on `.', always an invalid library. This was fixed in
15562 # development snapshots of GCC prior to 3.0.
15563 case $host_os in
15564 aix4 | aix4.[01] | aix4.[01].*)
15565 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15566 echo ' yes '
15567 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15569 else
15570 can_build_shared=no
15573 esac
15574 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15575 # soname into executable. Probably we can add versioning support to
15576 # collect2, so additional links can be useful in future.
15577 if test "$aix_use_runtimelinking" = yes; then
15578 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15579 # instead of lib<name>.a to let people know that these are not
15580 # typical AIX shared libraries.
15581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15582 else
15583 # We preserve .a as extension for shared libraries through AIX4.2
15584 # and later when we are not doing run time linking.
15585 library_names_spec='${libname}${release}.a $libname.a'
15586 soname_spec='${libname}${release}${shared_ext}$major'
15588 shlibpath_var=LIBPATH
15592 amigaos*)
15593 case $host_cpu in
15594 powerpc)
15595 # Since July 2007 AmigaOS4 officially supports .so libraries.
15596 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15599 m68k)
15600 library_names_spec='$libname.ixlibrary $libname.a'
15601 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15602 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'
15604 esac
15607 beos*)
15608 library_names_spec='${libname}${shared_ext}'
15609 dynamic_linker="$host_os ld.so"
15610 shlibpath_var=LIBRARY_PATH
15613 bsdi[45]*)
15614 version_type=linux
15615 need_version=no
15616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15617 soname_spec='${libname}${release}${shared_ext}$major'
15618 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15619 shlibpath_var=LD_LIBRARY_PATH
15620 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15621 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15622 # the default ld.so.conf also contains /usr/contrib/lib and
15623 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15624 # libtool to hard-code these into programs
15627 cygwin* | mingw* | pw32* | cegcc*)
15628 version_type=windows
15629 shrext_cmds=".dll"
15630 need_version=no
15631 need_lib_prefix=no
15633 case $GCC,$host_os in
15634 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15635 library_names_spec='$libname.dll.a'
15636 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15637 postinstall_cmds='base_file=`basename \${file}`~
15638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15639 dldir=$destdir/`dirname \$dlpath`~
15640 test -d \$dldir || mkdir -p \$dldir~
15641 $install_prog $dir/$dlname \$dldir/$dlname~
15642 chmod a+x \$dldir/$dlname~
15643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15646 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15647 dlpath=$dir/\$dldll~
15648 $RM \$dlpath'
15649 shlibpath_overrides_runpath=yes
15651 case $host_os in
15652 cygwin*)
15653 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15654 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15657 mingw* | cegcc*)
15658 # MinGW DLLs use traditional 'lib' prefix
15659 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15661 pw32*)
15662 # pw32 DLLs use 'pw' prefix rather than 'lib'
15663 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15665 esac
15669 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15671 esac
15672 dynamic_linker='Win32 ld.exe'
15673 # FIXME: first we should search . and the directory the executable is in
15674 shlibpath_var=PATH
15677 darwin* | rhapsody*)
15678 dynamic_linker="$host_os dyld"
15679 version_type=darwin
15680 need_lib_prefix=no
15681 need_version=no
15682 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15683 soname_spec='${libname}${release}${major}$shared_ext'
15684 shlibpath_overrides_runpath=yes
15685 shlibpath_var=DYLD_LIBRARY_PATH
15686 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15688 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15691 dgux*)
15692 version_type=linux
15693 need_lib_prefix=no
15694 need_version=no
15695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15696 soname_spec='${libname}${release}${shared_ext}$major'
15697 shlibpath_var=LD_LIBRARY_PATH
15700 freebsd* | dragonfly*)
15701 # DragonFly does not have aout. When/if they implement a new
15702 # versioning mechanism, adjust this.
15703 if test -x /usr/bin/objformat; then
15704 objformat=`/usr/bin/objformat`
15705 else
15706 case $host_os in
15707 freebsd[23].*) objformat=aout ;;
15708 *) objformat=elf ;;
15709 esac
15711 version_type=freebsd-$objformat
15712 case $version_type in
15713 freebsd-elf*)
15714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15715 need_version=no
15716 need_lib_prefix=no
15718 freebsd-*)
15719 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15720 need_version=yes
15722 esac
15723 shlibpath_var=LD_LIBRARY_PATH
15724 case $host_os in
15725 freebsd2.*)
15726 shlibpath_overrides_runpath=yes
15728 freebsd3.[01]* | freebsdelf3.[01]*)
15729 shlibpath_overrides_runpath=yes
15730 hardcode_into_libs=yes
15732 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15733 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15734 shlibpath_overrides_runpath=no
15735 hardcode_into_libs=yes
15737 *) # from 4.6 on, and DragonFly
15738 shlibpath_overrides_runpath=yes
15739 hardcode_into_libs=yes
15741 esac
15744 haiku*)
15745 version_type=linux
15746 need_lib_prefix=no
15747 need_version=no
15748 dynamic_linker="$host_os runtime_loader"
15749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15750 soname_spec='${libname}${release}${shared_ext}$major'
15751 shlibpath_var=LIBRARY_PATH
15752 shlibpath_overrides_runpath=yes
15753 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15754 hardcode_into_libs=yes
15757 hpux9* | hpux10* | hpux11*)
15758 # Give a soname corresponding to the major version so that dld.sl refuses to
15759 # link against other versions.
15760 version_type=sunos
15761 need_lib_prefix=no
15762 need_version=no
15763 case $host_cpu in
15764 ia64*)
15765 shrext_cmds='.so'
15766 hardcode_into_libs=yes
15767 dynamic_linker="$host_os dld.so"
15768 shlibpath_var=LD_LIBRARY_PATH
15769 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec='${libname}${release}${shared_ext}$major'
15772 if test "X$HPUX_IA64_MODE" = X32; then
15773 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15774 else
15775 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15777 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15779 hppa*64*)
15780 shrext_cmds='.sl'
15781 hardcode_into_libs=yes
15782 dynamic_linker="$host_os dld.sl"
15783 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15784 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15786 soname_spec='${libname}${release}${shared_ext}$major'
15787 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15788 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15791 shrext_cmds='.sl'
15792 dynamic_linker="$host_os dld.sl"
15793 shlibpath_var=SHLIB_PATH
15794 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15796 soname_spec='${libname}${release}${shared_ext}$major'
15798 esac
15799 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15800 postinstall_cmds='chmod 555 $lib'
15801 # or fails outright, so override atomically:
15802 install_override_mode=555
15805 interix[3-9]*)
15806 version_type=linux
15807 need_lib_prefix=no
15808 need_version=no
15809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15810 soname_spec='${libname}${release}${shared_ext}$major'
15811 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15812 shlibpath_var=LD_LIBRARY_PATH
15813 shlibpath_overrides_runpath=no
15814 hardcode_into_libs=yes
15817 irix5* | irix6* | nonstopux*)
15818 case $host_os in
15819 nonstopux*) version_type=nonstopux ;;
15821 if test "$lt_cv_prog_gnu_ld" = yes; then
15822 version_type=linux
15823 else
15824 version_type=irix
15825 fi ;;
15826 esac
15827 need_lib_prefix=no
15828 need_version=no
15829 soname_spec='${libname}${release}${shared_ext}$major'
15830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15831 case $host_os in
15832 irix5* | nonstopux*)
15833 libsuff= shlibsuff=
15836 case $LD in # libtool.m4 will add one of these switches to LD
15837 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15838 libsuff= shlibsuff= libmagic=32-bit;;
15839 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15840 libsuff=32 shlibsuff=N32 libmagic=N32;;
15841 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15842 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15843 *) libsuff= shlibsuff= libmagic=never-match;;
15844 esac
15846 esac
15847 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15848 shlibpath_overrides_runpath=no
15849 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15850 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15851 hardcode_into_libs=yes
15854 # No shared lib support for Linux oldld, aout, or coff.
15855 linux*oldld* | linux*aout* | linux*coff*)
15856 dynamic_linker=no
15859 # This must be Linux ELF.
15861 # uclinux* changes (here and below) have been submitted to the libtool
15862 # project, but have not yet been accepted: they are GCC-local changes
15863 # for the time being. (See
15864 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15865 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15866 version_type=linux
15867 need_lib_prefix=no
15868 need_version=no
15869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15870 soname_spec='${libname}${release}${shared_ext}$major'
15871 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15872 shlibpath_var=LD_LIBRARY_PATH
15873 shlibpath_overrides_runpath=no
15875 # Some binutils ld are patched to set DT_RUNPATH
15876 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 lt_cv_shlibpath_overrides_runpath=no
15880 save_LDFLAGS=$LDFLAGS
15881 save_libdir=$libdir
15882 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15883 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15884 if test x$gcc_no_link = xyes; then
15885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15887 cat > conftest.$ac_ext <<_ACEOF
15888 program main
15891 _ACEOF
15892 if ac_fn_fc_try_link "$LINENO"; then :
15893 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15894 lt_cv_shlibpath_overrides_runpath=yes
15897 rm -f core conftest.err conftest.$ac_objext \
15898 conftest$ac_exeext conftest.$ac_ext
15899 LDFLAGS=$save_LDFLAGS
15900 libdir=$save_libdir
15904 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15906 # This implies no fast_install, which is unacceptable.
15907 # Some rework will be needed to allow for fast_install
15908 # before this can be enabled.
15909 hardcode_into_libs=yes
15911 # Append ld.so.conf contents to the search path
15912 if test -f /etc/ld.so.conf; then
15913 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' ' '`
15914 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15917 # We used to test for /lib/ld.so.1 and disable shared libraries on
15918 # powerpc, because MkLinux only supported shared libraries with the
15919 # GNU dynamic linker. Since this was broken with cross compilers,
15920 # most powerpc-linux boxes support dynamic linking these days and
15921 # people can always --disable-shared, the test was removed, and we
15922 # assume the GNU/Linux dynamic linker is in use.
15923 dynamic_linker='GNU/Linux ld.so'
15926 netbsd*)
15927 version_type=sunos
15928 need_lib_prefix=no
15929 need_version=no
15930 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15933 dynamic_linker='NetBSD (a.out) ld.so'
15934 else
15935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15936 soname_spec='${libname}${release}${shared_ext}$major'
15937 dynamic_linker='NetBSD ld.elf_so'
15939 shlibpath_var=LD_LIBRARY_PATH
15940 shlibpath_overrides_runpath=yes
15941 hardcode_into_libs=yes
15944 newsos6)
15945 version_type=linux
15946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947 shlibpath_var=LD_LIBRARY_PATH
15948 shlibpath_overrides_runpath=yes
15951 *nto* | *qnx*)
15952 version_type=qnx
15953 need_lib_prefix=no
15954 need_version=no
15955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15956 soname_spec='${libname}${release}${shared_ext}$major'
15957 shlibpath_var=LD_LIBRARY_PATH
15958 shlibpath_overrides_runpath=no
15959 hardcode_into_libs=yes
15960 dynamic_linker='ldqnx.so'
15963 openbsd*)
15964 version_type=sunos
15965 sys_lib_dlsearch_path_spec="/usr/lib"
15966 need_lib_prefix=no
15967 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15968 case $host_os in
15969 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15970 *) need_version=no ;;
15971 esac
15972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15974 shlibpath_var=LD_LIBRARY_PATH
15975 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15976 case $host_os in
15977 openbsd2.[89] | openbsd2.[89].*)
15978 shlibpath_overrides_runpath=no
15981 shlibpath_overrides_runpath=yes
15983 esac
15984 else
15985 shlibpath_overrides_runpath=yes
15989 os2*)
15990 libname_spec='$name'
15991 shrext_cmds=".dll"
15992 need_lib_prefix=no
15993 library_names_spec='$libname${shared_ext} $libname.a'
15994 dynamic_linker='OS/2 ld.exe'
15995 shlibpath_var=LIBPATH
15998 osf3* | osf4* | osf5*)
15999 version_type=osf
16000 need_lib_prefix=no
16001 need_version=no
16002 soname_spec='${libname}${release}${shared_ext}$major'
16003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16004 shlibpath_var=LD_LIBRARY_PATH
16005 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16006 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16009 rdos*)
16010 dynamic_linker=no
16013 solaris*)
16014 version_type=linux
16015 need_lib_prefix=no
16016 need_version=no
16017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16018 soname_spec='${libname}${release}${shared_ext}$major'
16019 shlibpath_var=LD_LIBRARY_PATH
16020 shlibpath_overrides_runpath=yes
16021 hardcode_into_libs=yes
16022 # ldd complains unless libraries are executable
16023 postinstall_cmds='chmod +x $lib'
16026 sunos4*)
16027 version_type=sunos
16028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16029 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16030 shlibpath_var=LD_LIBRARY_PATH
16031 shlibpath_overrides_runpath=yes
16032 if test "$with_gnu_ld" = yes; then
16033 need_lib_prefix=no
16035 need_version=yes
16038 sysv4 | sysv4.3*)
16039 version_type=linux
16040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16041 soname_spec='${libname}${release}${shared_ext}$major'
16042 shlibpath_var=LD_LIBRARY_PATH
16043 case $host_vendor in
16044 sni)
16045 shlibpath_overrides_runpath=no
16046 need_lib_prefix=no
16047 runpath_var=LD_RUN_PATH
16049 siemens)
16050 need_lib_prefix=no
16052 motorola)
16053 need_lib_prefix=no
16054 need_version=no
16055 shlibpath_overrides_runpath=no
16056 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16058 esac
16061 sysv4*MP*)
16062 if test -d /usr/nec ;then
16063 version_type=linux
16064 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16065 soname_spec='$libname${shared_ext}.$major'
16066 shlibpath_var=LD_LIBRARY_PATH
16070 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16071 version_type=freebsd-elf
16072 need_lib_prefix=no
16073 need_version=no
16074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16075 soname_spec='${libname}${release}${shared_ext}$major'
16076 shlibpath_var=LD_LIBRARY_PATH
16077 shlibpath_overrides_runpath=yes
16078 hardcode_into_libs=yes
16079 if test "$with_gnu_ld" = yes; then
16080 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16081 else
16082 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16083 case $host_os in
16084 sco3.2v5*)
16085 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16087 esac
16089 sys_lib_dlsearch_path_spec='/usr/lib'
16092 tpf*)
16093 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16094 version_type=linux
16095 need_lib_prefix=no
16096 need_version=no
16097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16098 shlibpath_var=LD_LIBRARY_PATH
16099 shlibpath_overrides_runpath=no
16100 hardcode_into_libs=yes
16103 uts4*)
16104 version_type=linux
16105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16106 soname_spec='${libname}${release}${shared_ext}$major'
16107 shlibpath_var=LD_LIBRARY_PATH
16110 # Shared libraries for VwWorks, >= 7 only at this stage
16111 # and (fpic) still incompatible with "large" code models
16112 # in a few configurations. Only for RTP mode in any case,
16113 # and upon explicit request at configure time.
16114 vxworks7*)
16115 dynamic_linker=no
16116 case ${with_multisubdir}-${enable_shared} in
16117 *large*)
16119 *mrtp*-yes)
16120 version_type=linux
16121 need_lib_prefix=no
16122 need_version=no
16123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16124 soname_spec='${libname}${release}${shared_ext}$major'
16125 dynamic_linker="$host_os module_loader"
16127 esac
16130 dynamic_linker=no
16132 esac
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16134 $as_echo "$dynamic_linker" >&6; }
16135 test "$dynamic_linker" = no && can_build_shared=no
16137 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16138 if test "$GCC" = yes; then
16139 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16142 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16143 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16145 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16146 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16187 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16188 hardcode_action_FC=
16189 if test -n "$hardcode_libdir_flag_spec_FC" ||
16190 test -n "$runpath_var_FC" ||
16191 test "X$hardcode_automatic_FC" = "Xyes" ; then
16193 # We can hardcode non-existent directories.
16194 if test "$hardcode_direct_FC" != no &&
16195 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16196 # have to relink, otherwise we might link with an installed library
16197 # when we should be linking with a yet-to-be-installed one
16198 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16199 test "$hardcode_minus_L_FC" != no; then
16200 # Linking always hardcodes the temporary library directory.
16201 hardcode_action_FC=relink
16202 else
16203 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16204 hardcode_action_FC=immediate
16206 else
16207 # We cannot hardcode anything, or else we can only hardcode existing
16208 # directories.
16209 hardcode_action_FC=unsupported
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16212 $as_echo "$hardcode_action_FC" >&6; }
16214 if test "$hardcode_action_FC" = relink ||
16215 test "$inherit_rpath_FC" = yes; then
16216 # Fast installation is not supported
16217 enable_fast_install=no
16218 elif test "$shlibpath_overrides_runpath" = yes ||
16219 test "$enable_shared" = no; then
16220 # Fast installation is not necessary
16221 enable_fast_install=needless
16230 fi # test -n "$compiler"
16232 GCC=$lt_save_GCC
16233 CC="$lt_save_CC"
16234 fi # test "$_lt_disable_FC" != yes
16236 ac_ext=c
16237 ac_cpp='$CPP $CPPFLAGS'
16238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16244 # extra LD Flags which are required for targets
16245 case "${host}" in
16246 *-darwin*)
16247 # Darwin needs -single_module when linking libgfortran
16248 extra_ldflags_libgfortran=-Wl,-single_module
16250 esac
16253 # We need a working compiler at that point, otherwise give a clear
16254 # error message and bail out.
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16257 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16258 ac_ext=${ac_fc_srcext-f}
16259 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16260 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16263 cat > conftest.$ac_ext <<_ACEOF
16265 program foo
16266 real, parameter :: bar = sin (12.34 / 2.5)
16267 end program foo
16268 _ACEOF
16269 if ac_fn_fc_try_compile "$LINENO"; then :
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16271 $as_echo "yes" >&6; }
16272 else
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16274 $as_echo "no" >&6; }
16275 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16279 ac_ext=c
16280 ac_cpp='$CPP $CPPFLAGS'
16281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16287 # Check whether --enable-largefile was given.
16288 if test "${enable_largefile+set}" = set; then :
16289 enableval=$enable_largefile;
16292 if test "$enable_largefile" != no; then
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16295 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16296 if ${ac_cv_sys_largefile_CC+:} false; then :
16297 $as_echo_n "(cached) " >&6
16298 else
16299 ac_cv_sys_largefile_CC=no
16300 if test "$GCC" != yes; then
16301 ac_save_CC=$CC
16302 while :; do
16303 # IRIX 6.2 and later do not support large files by default,
16304 # so use the C compiler's -n32 option if that helps.
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16307 #include <sys/types.h>
16308 /* Check that off_t can represent 2**63 - 1 correctly.
16309 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16310 since some C++ compilers masquerading as C compilers
16311 incorrectly reject 9223372036854775807. */
16312 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16313 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16314 && LARGE_OFF_T % 2147483647 == 1)
16315 ? 1 : -1];
16317 main ()
16321 return 0;
16323 _ACEOF
16324 if ac_fn_c_try_compile "$LINENO"; then :
16325 break
16327 rm -f core conftest.err conftest.$ac_objext
16328 CC="$CC -n32"
16329 if ac_fn_c_try_compile "$LINENO"; then :
16330 ac_cv_sys_largefile_CC=' -n32'; break
16332 rm -f core conftest.err conftest.$ac_objext
16333 break
16334 done
16335 CC=$ac_save_CC
16336 rm -f conftest.$ac_ext
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16340 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16341 if test "$ac_cv_sys_largefile_CC" != no; then
16342 CC=$CC$ac_cv_sys_largefile_CC
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16346 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16347 if ${ac_cv_sys_file_offset_bits+:} false; then :
16348 $as_echo_n "(cached) " >&6
16349 else
16350 while :; do
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16353 #include <sys/types.h>
16354 /* Check that off_t can represent 2**63 - 1 correctly.
16355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16356 since some C++ compilers masquerading as C compilers
16357 incorrectly reject 9223372036854775807. */
16358 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16360 && LARGE_OFF_T % 2147483647 == 1)
16361 ? 1 : -1];
16363 main ()
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_compile "$LINENO"; then :
16371 ac_cv_sys_file_offset_bits=no; break
16373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #define _FILE_OFFSET_BITS 64
16377 #include <sys/types.h>
16378 /* Check that off_t can represent 2**63 - 1 correctly.
16379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16380 since some C++ compilers masquerading as C compilers
16381 incorrectly reject 9223372036854775807. */
16382 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16384 && LARGE_OFF_T % 2147483647 == 1)
16385 ? 1 : -1];
16387 main ()
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_compile "$LINENO"; then :
16395 ac_cv_sys_file_offset_bits=64; break
16397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16398 ac_cv_sys_file_offset_bits=unknown
16399 break
16400 done
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16403 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16404 case $ac_cv_sys_file_offset_bits in #(
16405 no | unknown) ;;
16407 cat >>confdefs.h <<_ACEOF
16408 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16409 _ACEOF
16411 esac
16412 rm -rf conftest*
16413 if test $ac_cv_sys_file_offset_bits = unknown; then
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16415 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16416 if ${ac_cv_sys_large_files+:} false; then :
16417 $as_echo_n "(cached) " >&6
16418 else
16419 while :; do
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <sys/types.h>
16423 /* Check that off_t can represent 2**63 - 1 correctly.
16424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16425 since some C++ compilers masquerading as C compilers
16426 incorrectly reject 9223372036854775807. */
16427 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16429 && LARGE_OFF_T % 2147483647 == 1)
16430 ? 1 : -1];
16432 main ()
16436 return 0;
16438 _ACEOF
16439 if ac_fn_c_try_compile "$LINENO"; then :
16440 ac_cv_sys_large_files=no; break
16442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #define _LARGE_FILES 1
16446 #include <sys/types.h>
16447 /* Check that off_t can represent 2**63 - 1 correctly.
16448 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16449 since some C++ compilers masquerading as C compilers
16450 incorrectly reject 9223372036854775807. */
16451 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16452 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16453 && LARGE_OFF_T % 2147483647 == 1)
16454 ? 1 : -1];
16456 main ()
16460 return 0;
16462 _ACEOF
16463 if ac_fn_c_try_compile "$LINENO"; then :
16464 ac_cv_sys_large_files=1; break
16466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16467 ac_cv_sys_large_files=unknown
16468 break
16469 done
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16472 $as_echo "$ac_cv_sys_large_files" >&6; }
16473 case $ac_cv_sys_large_files in #(
16474 no | unknown) ;;
16476 cat >>confdefs.h <<_ACEOF
16477 #define _LARGE_FILES $ac_cv_sys_large_files
16478 _ACEOF
16480 esac
16481 rm -rf conftest*
16488 # Types
16489 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16490 if test "x$ac_cv_type_off_t" = xyes; then :
16492 else
16494 cat >>confdefs.h <<_ACEOF
16495 #define off_t long int
16496 _ACEOF
16501 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16502 if test "x$ac_cv_type_intptr_t" = xyes; then :
16504 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16506 else
16507 for ac_type in 'int' 'long int' 'long long int'; do
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16510 $ac_includes_default
16512 main ()
16514 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16515 test_array [0] = 0;
16516 return test_array [0];
16519 return 0;
16521 _ACEOF
16522 if ac_fn_c_try_compile "$LINENO"; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define intptr_t $ac_type
16526 _ACEOF
16528 ac_type=
16530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16531 test -z "$ac_type" && break
16532 done
16537 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16538 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16540 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16542 else
16543 for ac_type in 'unsigned int' 'unsigned long int' \
16544 'unsigned long long int'; do
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 $ac_includes_default
16549 main ()
16551 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16552 test_array [0] = 0;
16553 return test_array [0];
16556 return 0;
16558 _ACEOF
16559 if ac_fn_c_try_compile "$LINENO"; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define uintptr_t $ac_type
16563 _ACEOF
16565 ac_type=
16567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16568 test -z "$ac_type" && break
16569 done
16573 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16574 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_PTRDIFF_T 1
16578 _ACEOF
16584 # check header files (we assume C89 is available, so don't check for that)
16588 for ac_header in $ac_header_list
16589 do :
16590 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16591 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16596 _ACEOF
16600 done
16640 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16642 acx_cv_header_stdint=stddef.h
16643 acx_cv_header_stdint_kind="(already complete)"
16644 for i in stdint.h $inttype_headers; do
16645 unset ac_cv_type_uintptr_t
16646 unset ac_cv_type_uintmax_t
16647 unset ac_cv_type_int_least32_t
16648 unset ac_cv_type_int_fast32_t
16649 unset ac_cv_type_uint64_t
16650 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16651 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16652 #include <$i>
16654 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16655 acx_cv_header_stdint=$i
16656 else
16657 continue
16660 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16661 #include <$i>
16663 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16665 else
16666 acx_cv_header_stdint_kind="(mostly complete)"
16669 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16670 #include <$i>
16672 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16674 else
16675 acx_cv_header_stdint_kind="(mostly complete)"
16678 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16679 #include <$i>
16681 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16683 else
16684 acx_cv_header_stdint_kind="(mostly complete)"
16687 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16688 #include <$i>
16690 if test "x$ac_cv_type_uint64_t" = xyes; then :
16692 else
16693 acx_cv_header_stdint_kind="(lacks uint64_t)"
16696 break
16697 done
16698 if test "$acx_cv_header_stdint" = stddef.h; then
16699 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16700 for i in stdint.h $inttype_headers; do
16701 unset ac_cv_type_uintptr_t
16702 unset ac_cv_type_uint32_t
16703 unset ac_cv_type_uint64_t
16704 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16705 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16706 #include <$i>
16708 if test "x$ac_cv_type_uint32_t" = xyes; then :
16709 acx_cv_header_stdint=$i
16710 else
16711 continue
16714 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16715 #include <$i>
16717 if test "x$ac_cv_type_uint64_t" = xyes; then :
16721 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16722 #include <$i>
16724 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16728 break
16729 done
16731 if test "$acx_cv_header_stdint" = stddef.h; then
16732 acx_cv_header_stdint_kind="(u_intXX_t style)"
16733 for i in sys/types.h $inttype_headers; do
16734 unset ac_cv_type_u_int32_t
16735 unset ac_cv_type_u_int64_t
16736 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16737 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16738 #include <$i>
16740 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16741 acx_cv_header_stdint=$i
16742 else
16743 continue
16746 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16747 #include <$i>
16749 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16753 break
16754 done
16756 if test "$acx_cv_header_stdint" = stddef.h; then
16757 acx_cv_header_stdint_kind="(using manual detection)"
16760 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16761 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16762 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16763 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16764 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16766 # ----------------- Summarize what we found so far
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16769 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16771 case `$as_basename -- gstdint.h ||
16772 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16773 Xgstdint.h : 'X\(//\)$' \| \
16774 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16775 $as_echo X/gstdint.h |
16776 sed '/^.*\/\([^/][^/]*\)\/*$/{
16777 s//\1/
16780 /^X\/\(\/\/\)$/{
16781 s//\1/
16784 /^X\/\(\/\).*/{
16785 s//\1/
16788 s/.*/./; q'` in
16789 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16790 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16791 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16792 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16793 *) ;;
16794 esac
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16797 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16799 # ----------------- done included file, check C basic types --------
16801 # Lacking an uintptr_t? Test size of void *
16802 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16803 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16806 # This bug is HP SR number 8606223364.
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16808 $as_echo_n "checking size of void *... " >&6; }
16809 if ${ac_cv_sizeof_void_p+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16814 else
16815 if test "$ac_cv_type_void_p" = yes; then
16816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16818 as_fn_error 77 "cannot compute sizeof (void *)
16819 See \`config.log' for more details" "$LINENO" 5; }
16820 else
16821 ac_cv_sizeof_void_p=0
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16827 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16831 cat >>confdefs.h <<_ACEOF
16832 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16833 _ACEOF
16836 esac
16838 # Lacking an uint64_t? Test size of long
16839 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16840 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16843 # This bug is HP SR number 8606223364.
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16845 $as_echo_n "checking size of long... " >&6; }
16846 if ${ac_cv_sizeof_long+:} false; then :
16847 $as_echo_n "(cached) " >&6
16848 else
16849 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16851 else
16852 if test "$ac_cv_type_long" = yes; then
16853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16855 as_fn_error 77 "cannot compute sizeof (long)
16856 See \`config.log' for more details" "$LINENO" 5; }
16857 else
16858 ac_cv_sizeof_long=0
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16864 $as_echo "$ac_cv_sizeof_long" >&6; }
16868 cat >>confdefs.h <<_ACEOF
16869 #define SIZEOF_LONG $ac_cv_sizeof_long
16870 _ACEOF
16873 esac
16875 if test $acx_cv_header_stdint = stddef.h; then
16876 # Lacking a good header? Test size of everything and deduce all types.
16877 # The cast to long int works around a bug in the HP C Compiler
16878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16880 # This bug is HP SR number 8606223364.
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16882 $as_echo_n "checking size of int... " >&6; }
16883 if ${ac_cv_sizeof_int+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16888 else
16889 if test "$ac_cv_type_int" = yes; then
16890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16892 as_fn_error 77 "cannot compute sizeof (int)
16893 See \`config.log' for more details" "$LINENO" 5; }
16894 else
16895 ac_cv_sizeof_int=0
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16901 $as_echo "$ac_cv_sizeof_int" >&6; }
16905 cat >>confdefs.h <<_ACEOF
16906 #define SIZEOF_INT $ac_cv_sizeof_int
16907 _ACEOF
16910 # The cast to long int works around a bug in the HP C Compiler
16911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16913 # This bug is HP SR number 8606223364.
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16915 $as_echo_n "checking size of short... " >&6; }
16916 if ${ac_cv_sizeof_short+:} false; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16919 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16921 else
16922 if test "$ac_cv_type_short" = yes; then
16923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16925 as_fn_error 77 "cannot compute sizeof (short)
16926 See \`config.log' for more details" "$LINENO" 5; }
16927 else
16928 ac_cv_sizeof_short=0
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16934 $as_echo "$ac_cv_sizeof_short" >&6; }
16938 cat >>confdefs.h <<_ACEOF
16939 #define SIZEOF_SHORT $ac_cv_sizeof_short
16940 _ACEOF
16943 # The cast to long int works around a bug in the HP C Compiler
16944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16945 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16946 # This bug is HP SR number 8606223364.
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16948 $as_echo_n "checking size of char... " >&6; }
16949 if ${ac_cv_sizeof_char+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16954 else
16955 if test "$ac_cv_type_char" = yes; then
16956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16958 as_fn_error 77 "cannot compute sizeof (char)
16959 See \`config.log' for more details" "$LINENO" 5; }
16960 else
16961 ac_cv_sizeof_char=0
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16967 $as_echo "$ac_cv_sizeof_char" >&6; }
16971 cat >>confdefs.h <<_ACEOF
16972 #define SIZEOF_CHAR $ac_cv_sizeof_char
16973 _ACEOF
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16978 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16979 case "$ac_cv_sizeof_char" in
16980 1) acx_cv_type_int8_t=char ;;
16981 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16982 esac
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16984 $as_echo "$acx_cv_type_int8_t" >&6; }
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16987 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16988 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16989 2:*) acx_cv_type_int16_t=int ;;
16990 *:2) acx_cv_type_int16_t=short ;;
16991 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16992 esac
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16994 $as_echo "$acx_cv_type_int16_t" >&6; }
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16997 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16998 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16999 4:*) acx_cv_type_int32_t=int ;;
17000 *:4) acx_cv_type_int32_t=long ;;
17001 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
17002 esac
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17004 $as_echo "$acx_cv_type_int32_t" >&6; }
17007 # These tests are here to make the output prettier
17009 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17010 case "$ac_cv_sizeof_long" in
17011 8) acx_cv_type_int64_t=long ;;
17012 esac
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17014 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17016 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17019 # Now we can use the above types
17021 if test "$ac_cv_type_uintptr_t" != yes; then
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17023 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17024 case $ac_cv_sizeof_void_p in
17025 2) acx_cv_type_intptr_t=int16_t ;;
17026 4) acx_cv_type_intptr_t=int32_t ;;
17027 8) acx_cv_type_intptr_t=int64_t ;;
17028 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
17029 esac
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17031 $as_echo "$acx_cv_type_intptr_t" >&6; }
17034 # ----------------- done all checks, emit header -------------
17035 ac_config_commands="$ac_config_commands gstdint.h"
17040 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17041 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17045 _ACEOF
17049 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17050 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17054 _ACEOF
17058 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17059 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_STRUCT_STAT_ST_RDEV 1
17063 _ACEOF
17069 case "${host}--x${with_newlib}" in
17070 mips*--xyes)
17071 hardwire_newlib=1;;
17072 nvptx*--xyes)
17073 hardwire_newlib=1;;
17074 esac
17076 # Check for library functions.
17077 if test "${hardwire_newlib:-0}" -eq 1; then
17078 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17079 # may not work correctly, because the compiler may not be able to
17080 # link executables.
17082 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17085 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17088 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17091 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17094 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17097 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17100 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17103 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17106 # At some point, we should differentiate between architectures
17107 # like x86, which have long double versions, and alpha/powerpc/etc.,
17108 # which don't. For the time being, punt.
17109 if test x"long_double_math_on_this_cpu" = x"yes"; then
17111 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17114 else
17118 for ac_func in $ac_func_list
17119 do :
17120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17122 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17123 cat >>confdefs.h <<_ACEOF
17124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17125 _ACEOF
17128 done
17245 # Check strerror_r, cannot be above as versions with two and three arguments exist
17247 ac_save_CFLAGS="$CFLAGS"
17248 CFLAGS="-Wimplicit-function-declaration -Werror"
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #define _GNU_SOURCE 1
17252 #include <string.h>
17253 #include <locale.h>
17255 main ()
17257 char s[128]; strerror_r(5, s, 128);
17259 return 0;
17261 _ACEOF
17262 if ac_fn_c_try_compile "$LINENO"; then :
17264 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17268 CFLAGS="$ac_save_CFLAGS"
17270 ac_save_CFLAGS="$CFLAGS"
17271 CFLAGS="-Wimplicit-function-declaration -Werror"
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 #define _GNU_SOURCE 1
17275 #include <string.h>
17276 #include <locale.h>
17278 main ()
17280 char s[128]; strerror_r(5, s);
17282 return 0;
17284 _ACEOF
17285 if ac_fn_c_try_compile "$LINENO"; then :
17287 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17291 CFLAGS="$ac_save_CFLAGS"
17294 # Check for C99 (and other IEEE) math functions
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17296 $as_echo_n "checking for sin in -lm... " >&6; }
17297 if ${ac_cv_lib_m_sin+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_check_lib_save_LIBS=$LIBS
17301 LIBS="-lm $LIBS"
17302 if test x$gcc_no_link = xyes; then
17303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17308 /* Override any GCC internal prototype to avoid an error.
17309 Use char because int might match the return type of a GCC
17310 builtin and then its argument prototype would still apply. */
17311 #ifdef __cplusplus
17312 extern "C"
17313 #endif
17314 char sin ();
17316 main ()
17318 return sin ();
17320 return 0;
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"; then :
17324 ac_cv_lib_m_sin=yes
17325 else
17326 ac_cv_lib_m_sin=no
17328 rm -f core conftest.err conftest.$ac_objext \
17329 conftest$ac_exeext conftest.$ac_ext
17330 LIBS=$ac_check_lib_save_LIBS
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17333 $as_echo "$ac_cv_lib_m_sin" >&6; }
17334 if test "x$ac_cv_lib_m_sin" = xyes; then :
17335 cat >>confdefs.h <<_ACEOF
17336 #define HAVE_LIBM 1
17337 _ACEOF
17339 LIBS="-lm $LIBS"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17350 $as_echo_n "checking for acosf... " >&6; }
17351 if ${gcc_cv_math_func_acosf+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 if test x$gcc_no_link = xyes; then
17355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17360 #ifdef HAVE_COMPLEX_H
17361 #include <complex.h>
17362 #endif
17363 #ifdef HAVE_MATH_H
17364 #include <math.h>
17365 #endif
17367 int (*ptr)() = (int (*)())acosf;
17370 main ()
17372 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 gcc_cv_math_func_acosf=yes
17378 else
17379 gcc_cv_math_func_acosf=no
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17385 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17386 if test $gcc_cv_math_func_acosf = yes; then
17388 cat >>confdefs.h <<_ACEOF
17389 #define HAVE_ACOSF 1
17390 _ACEOF
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17398 $as_echo_n "checking for acos... " >&6; }
17399 if ${gcc_cv_math_func_acos+:} false; then :
17400 $as_echo_n "(cached) " >&6
17401 else
17402 if test x$gcc_no_link = xyes; then
17403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17408 #ifdef HAVE_COMPLEX_H
17409 #include <complex.h>
17410 #endif
17411 #ifdef HAVE_MATH_H
17412 #include <math.h>
17413 #endif
17415 int (*ptr)() = (int (*)())acos;
17418 main ()
17420 return 0;
17423 _ACEOF
17424 if ac_fn_c_try_link "$LINENO"; then :
17425 gcc_cv_math_func_acos=yes
17426 else
17427 gcc_cv_math_func_acos=no
17429 rm -f core conftest.err conftest.$ac_objext \
17430 conftest$ac_exeext conftest.$ac_ext
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17433 $as_echo "$gcc_cv_math_func_acos" >&6; }
17434 if test $gcc_cv_math_func_acos = yes; then
17436 cat >>confdefs.h <<_ACEOF
17437 #define HAVE_ACOS 1
17438 _ACEOF
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17446 $as_echo_n "checking for acosl... " >&6; }
17447 if ${gcc_cv_math_func_acosl+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 if test x$gcc_no_link = xyes; then
17451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17456 #ifdef HAVE_COMPLEX_H
17457 #include <complex.h>
17458 #endif
17459 #ifdef HAVE_MATH_H
17460 #include <math.h>
17461 #endif
17463 int (*ptr)() = (int (*)())acosl;
17466 main ()
17468 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"; then :
17473 gcc_cv_math_func_acosl=yes
17474 else
17475 gcc_cv_math_func_acosl=no
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17481 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17482 if test $gcc_cv_math_func_acosl = yes; then
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_ACOSL 1
17486 _ACEOF
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17494 $as_echo_n "checking for acoshf... " >&6; }
17495 if ${gcc_cv_math_func_acoshf+:} false; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17498 if test x$gcc_no_link = xyes; then
17499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17504 #ifdef HAVE_COMPLEX_H
17505 #include <complex.h>
17506 #endif
17507 #ifdef HAVE_MATH_H
17508 #include <math.h>
17509 #endif
17511 int (*ptr)() = (int (*)())acoshf;
17514 main ()
17516 return 0;
17519 _ACEOF
17520 if ac_fn_c_try_link "$LINENO"; then :
17521 gcc_cv_math_func_acoshf=yes
17522 else
17523 gcc_cv_math_func_acoshf=no
17525 rm -f core conftest.err conftest.$ac_objext \
17526 conftest$ac_exeext conftest.$ac_ext
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17529 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17530 if test $gcc_cv_math_func_acoshf = yes; then
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_ACOSHF 1
17534 _ACEOF
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17542 $as_echo_n "checking for acosh... " >&6; }
17543 if ${gcc_cv_math_func_acosh+:} false; then :
17544 $as_echo_n "(cached) " >&6
17545 else
17546 if test x$gcc_no_link = xyes; then
17547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17552 #ifdef HAVE_COMPLEX_H
17553 #include <complex.h>
17554 #endif
17555 #ifdef HAVE_MATH_H
17556 #include <math.h>
17557 #endif
17559 int (*ptr)() = (int (*)())acosh;
17562 main ()
17564 return 0;
17567 _ACEOF
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 gcc_cv_math_func_acosh=yes
17570 else
17571 gcc_cv_math_func_acosh=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17577 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17578 if test $gcc_cv_math_func_acosh = yes; then
17580 cat >>confdefs.h <<_ACEOF
17581 #define HAVE_ACOSH 1
17582 _ACEOF
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17590 $as_echo_n "checking for acoshl... " >&6; }
17591 if ${gcc_cv_math_func_acoshl+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 if test x$gcc_no_link = xyes; then
17595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17600 #ifdef HAVE_COMPLEX_H
17601 #include <complex.h>
17602 #endif
17603 #ifdef HAVE_MATH_H
17604 #include <math.h>
17605 #endif
17607 int (*ptr)() = (int (*)())acoshl;
17610 main ()
17612 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_link "$LINENO"; then :
17617 gcc_cv_math_func_acoshl=yes
17618 else
17619 gcc_cv_math_func_acoshl=no
17621 rm -f core conftest.err conftest.$ac_objext \
17622 conftest$ac_exeext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17625 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17626 if test $gcc_cv_math_func_acoshl = yes; then
17628 cat >>confdefs.h <<_ACEOF
17629 #define HAVE_ACOSHL 1
17630 _ACEOF
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17638 $as_echo_n "checking for asinf... " >&6; }
17639 if ${gcc_cv_math_func_asinf+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 if test x$gcc_no_link = xyes; then
17643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 #ifdef HAVE_COMPLEX_H
17649 #include <complex.h>
17650 #endif
17651 #ifdef HAVE_MATH_H
17652 #include <math.h>
17653 #endif
17655 int (*ptr)() = (int (*)())asinf;
17658 main ()
17660 return 0;
17663 _ACEOF
17664 if ac_fn_c_try_link "$LINENO"; then :
17665 gcc_cv_math_func_asinf=yes
17666 else
17667 gcc_cv_math_func_asinf=no
17669 rm -f core conftest.err conftest.$ac_objext \
17670 conftest$ac_exeext conftest.$ac_ext
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17673 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17674 if test $gcc_cv_math_func_asinf = yes; then
17676 cat >>confdefs.h <<_ACEOF
17677 #define HAVE_ASINF 1
17678 _ACEOF
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17686 $as_echo_n "checking for asin... " >&6; }
17687 if ${gcc_cv_math_func_asin+:} false; then :
17688 $as_echo_n "(cached) " >&6
17689 else
17690 if test x$gcc_no_link = xyes; then
17691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17696 #ifdef HAVE_COMPLEX_H
17697 #include <complex.h>
17698 #endif
17699 #ifdef HAVE_MATH_H
17700 #include <math.h>
17701 #endif
17703 int (*ptr)() = (int (*)())asin;
17706 main ()
17708 return 0;
17711 _ACEOF
17712 if ac_fn_c_try_link "$LINENO"; then :
17713 gcc_cv_math_func_asin=yes
17714 else
17715 gcc_cv_math_func_asin=no
17717 rm -f core conftest.err conftest.$ac_objext \
17718 conftest$ac_exeext conftest.$ac_ext
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17721 $as_echo "$gcc_cv_math_func_asin" >&6; }
17722 if test $gcc_cv_math_func_asin = yes; then
17724 cat >>confdefs.h <<_ACEOF
17725 #define HAVE_ASIN 1
17726 _ACEOF
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17734 $as_echo_n "checking for asinl... " >&6; }
17735 if ${gcc_cv_math_func_asinl+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738 if test x$gcc_no_link = xyes; then
17739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17744 #ifdef HAVE_COMPLEX_H
17745 #include <complex.h>
17746 #endif
17747 #ifdef HAVE_MATH_H
17748 #include <math.h>
17749 #endif
17751 int (*ptr)() = (int (*)())asinl;
17754 main ()
17756 return 0;
17759 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"; then :
17761 gcc_cv_math_func_asinl=yes
17762 else
17763 gcc_cv_math_func_asinl=no
17765 rm -f core conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17769 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17770 if test $gcc_cv_math_func_asinl = yes; then
17772 cat >>confdefs.h <<_ACEOF
17773 #define HAVE_ASINL 1
17774 _ACEOF
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17782 $as_echo_n "checking for asinhf... " >&6; }
17783 if ${gcc_cv_math_func_asinhf+:} false; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786 if test x$gcc_no_link = xyes; then
17787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17792 #ifdef HAVE_COMPLEX_H
17793 #include <complex.h>
17794 #endif
17795 #ifdef HAVE_MATH_H
17796 #include <math.h>
17797 #endif
17799 int (*ptr)() = (int (*)())asinhf;
17802 main ()
17804 return 0;
17807 _ACEOF
17808 if ac_fn_c_try_link "$LINENO"; then :
17809 gcc_cv_math_func_asinhf=yes
17810 else
17811 gcc_cv_math_func_asinhf=no
17813 rm -f core conftest.err conftest.$ac_objext \
17814 conftest$ac_exeext conftest.$ac_ext
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17817 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17818 if test $gcc_cv_math_func_asinhf = yes; then
17820 cat >>confdefs.h <<_ACEOF
17821 #define HAVE_ASINHF 1
17822 _ACEOF
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17830 $as_echo_n "checking for asinh... " >&6; }
17831 if ${gcc_cv_math_func_asinh+:} false; then :
17832 $as_echo_n "(cached) " >&6
17833 else
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 #ifdef HAVE_COMPLEX_H
17841 #include <complex.h>
17842 #endif
17843 #ifdef HAVE_MATH_H
17844 #include <math.h>
17845 #endif
17847 int (*ptr)() = (int (*)())asinh;
17850 main ()
17852 return 0;
17855 _ACEOF
17856 if ac_fn_c_try_link "$LINENO"; then :
17857 gcc_cv_math_func_asinh=yes
17858 else
17859 gcc_cv_math_func_asinh=no
17861 rm -f core conftest.err conftest.$ac_objext \
17862 conftest$ac_exeext conftest.$ac_ext
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17865 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17866 if test $gcc_cv_math_func_asinh = yes; then
17868 cat >>confdefs.h <<_ACEOF
17869 #define HAVE_ASINH 1
17870 _ACEOF
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17878 $as_echo_n "checking for asinhl... " >&6; }
17879 if ${gcc_cv_math_func_asinhl+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 if test x$gcc_no_link = xyes; then
17883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17888 #ifdef HAVE_COMPLEX_H
17889 #include <complex.h>
17890 #endif
17891 #ifdef HAVE_MATH_H
17892 #include <math.h>
17893 #endif
17895 int (*ptr)() = (int (*)())asinhl;
17898 main ()
17900 return 0;
17903 _ACEOF
17904 if ac_fn_c_try_link "$LINENO"; then :
17905 gcc_cv_math_func_asinhl=yes
17906 else
17907 gcc_cv_math_func_asinhl=no
17909 rm -f core conftest.err conftest.$ac_objext \
17910 conftest$ac_exeext conftest.$ac_ext
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17913 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17914 if test $gcc_cv_math_func_asinhl = yes; then
17916 cat >>confdefs.h <<_ACEOF
17917 #define HAVE_ASINHL 1
17918 _ACEOF
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17926 $as_echo_n "checking for atan2f... " >&6; }
17927 if ${gcc_cv_math_func_atan2f+:} false; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930 if test x$gcc_no_link = xyes; then
17931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17936 #ifdef HAVE_COMPLEX_H
17937 #include <complex.h>
17938 #endif
17939 #ifdef HAVE_MATH_H
17940 #include <math.h>
17941 #endif
17943 int (*ptr)() = (int (*)())atan2f;
17946 main ()
17948 return 0;
17951 _ACEOF
17952 if ac_fn_c_try_link "$LINENO"; then :
17953 gcc_cv_math_func_atan2f=yes
17954 else
17955 gcc_cv_math_func_atan2f=no
17957 rm -f core conftest.err conftest.$ac_objext \
17958 conftest$ac_exeext conftest.$ac_ext
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17961 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17962 if test $gcc_cv_math_func_atan2f = yes; then
17964 cat >>confdefs.h <<_ACEOF
17965 #define HAVE_ATAN2F 1
17966 _ACEOF
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17974 $as_echo_n "checking for atan2... " >&6; }
17975 if ${gcc_cv_math_func_atan2+:} false; then :
17976 $as_echo_n "(cached) " >&6
17977 else
17978 if test x$gcc_no_link = xyes; then
17979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 #ifdef HAVE_COMPLEX_H
17985 #include <complex.h>
17986 #endif
17987 #ifdef HAVE_MATH_H
17988 #include <math.h>
17989 #endif
17991 int (*ptr)() = (int (*)())atan2;
17994 main ()
17996 return 0;
17999 _ACEOF
18000 if ac_fn_c_try_link "$LINENO"; then :
18001 gcc_cv_math_func_atan2=yes
18002 else
18003 gcc_cv_math_func_atan2=no
18005 rm -f core conftest.err conftest.$ac_objext \
18006 conftest$ac_exeext conftest.$ac_ext
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18009 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18010 if test $gcc_cv_math_func_atan2 = yes; then
18012 cat >>confdefs.h <<_ACEOF
18013 #define HAVE_ATAN2 1
18014 _ACEOF
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18022 $as_echo_n "checking for atan2l... " >&6; }
18023 if ${gcc_cv_math_func_atan2l+:} false; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18026 if test x$gcc_no_link = xyes; then
18027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18032 #ifdef HAVE_COMPLEX_H
18033 #include <complex.h>
18034 #endif
18035 #ifdef HAVE_MATH_H
18036 #include <math.h>
18037 #endif
18039 int (*ptr)() = (int (*)())atan2l;
18042 main ()
18044 return 0;
18047 _ACEOF
18048 if ac_fn_c_try_link "$LINENO"; then :
18049 gcc_cv_math_func_atan2l=yes
18050 else
18051 gcc_cv_math_func_atan2l=no
18053 rm -f core conftest.err conftest.$ac_objext \
18054 conftest$ac_exeext conftest.$ac_ext
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18057 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18058 if test $gcc_cv_math_func_atan2l = yes; then
18060 cat >>confdefs.h <<_ACEOF
18061 #define HAVE_ATAN2L 1
18062 _ACEOF
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18070 $as_echo_n "checking for atanf... " >&6; }
18071 if ${gcc_cv_math_func_atanf+:} false; then :
18072 $as_echo_n "(cached) " >&6
18073 else
18074 if test x$gcc_no_link = xyes; then
18075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18080 #ifdef HAVE_COMPLEX_H
18081 #include <complex.h>
18082 #endif
18083 #ifdef HAVE_MATH_H
18084 #include <math.h>
18085 #endif
18087 int (*ptr)() = (int (*)())atanf;
18090 main ()
18092 return 0;
18095 _ACEOF
18096 if ac_fn_c_try_link "$LINENO"; then :
18097 gcc_cv_math_func_atanf=yes
18098 else
18099 gcc_cv_math_func_atanf=no
18101 rm -f core conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext conftest.$ac_ext
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18105 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18106 if test $gcc_cv_math_func_atanf = yes; then
18108 cat >>confdefs.h <<_ACEOF
18109 #define HAVE_ATANF 1
18110 _ACEOF
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18118 $as_echo_n "checking for atan... " >&6; }
18119 if ${gcc_cv_math_func_atan+:} false; then :
18120 $as_echo_n "(cached) " >&6
18121 else
18122 if test x$gcc_no_link = xyes; then
18123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18128 #ifdef HAVE_COMPLEX_H
18129 #include <complex.h>
18130 #endif
18131 #ifdef HAVE_MATH_H
18132 #include <math.h>
18133 #endif
18135 int (*ptr)() = (int (*)())atan;
18138 main ()
18140 return 0;
18143 _ACEOF
18144 if ac_fn_c_try_link "$LINENO"; then :
18145 gcc_cv_math_func_atan=yes
18146 else
18147 gcc_cv_math_func_atan=no
18149 rm -f core conftest.err conftest.$ac_objext \
18150 conftest$ac_exeext conftest.$ac_ext
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18153 $as_echo "$gcc_cv_math_func_atan" >&6; }
18154 if test $gcc_cv_math_func_atan = yes; then
18156 cat >>confdefs.h <<_ACEOF
18157 #define HAVE_ATAN 1
18158 _ACEOF
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18166 $as_echo_n "checking for atanl... " >&6; }
18167 if ${gcc_cv_math_func_atanl+:} false; then :
18168 $as_echo_n "(cached) " >&6
18169 else
18170 if test x$gcc_no_link = xyes; then
18171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 #ifdef HAVE_COMPLEX_H
18177 #include <complex.h>
18178 #endif
18179 #ifdef HAVE_MATH_H
18180 #include <math.h>
18181 #endif
18183 int (*ptr)() = (int (*)())atanl;
18186 main ()
18188 return 0;
18191 _ACEOF
18192 if ac_fn_c_try_link "$LINENO"; then :
18193 gcc_cv_math_func_atanl=yes
18194 else
18195 gcc_cv_math_func_atanl=no
18197 rm -f core conftest.err conftest.$ac_objext \
18198 conftest$ac_exeext conftest.$ac_ext
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18201 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18202 if test $gcc_cv_math_func_atanl = yes; then
18204 cat >>confdefs.h <<_ACEOF
18205 #define HAVE_ATANL 1
18206 _ACEOF
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18214 $as_echo_n "checking for atanhf... " >&6; }
18215 if ${gcc_cv_math_func_atanhf+:} false; then :
18216 $as_echo_n "(cached) " >&6
18217 else
18218 if test x$gcc_no_link = xyes; then
18219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18224 #ifdef HAVE_COMPLEX_H
18225 #include <complex.h>
18226 #endif
18227 #ifdef HAVE_MATH_H
18228 #include <math.h>
18229 #endif
18231 int (*ptr)() = (int (*)())atanhf;
18234 main ()
18236 return 0;
18239 _ACEOF
18240 if ac_fn_c_try_link "$LINENO"; then :
18241 gcc_cv_math_func_atanhf=yes
18242 else
18243 gcc_cv_math_func_atanhf=no
18245 rm -f core conftest.err conftest.$ac_objext \
18246 conftest$ac_exeext conftest.$ac_ext
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18249 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18250 if test $gcc_cv_math_func_atanhf = yes; then
18252 cat >>confdefs.h <<_ACEOF
18253 #define HAVE_ATANHF 1
18254 _ACEOF
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18262 $as_echo_n "checking for atanh... " >&6; }
18263 if ${gcc_cv_math_func_atanh+:} false; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18266 if test x$gcc_no_link = xyes; then
18267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18272 #ifdef HAVE_COMPLEX_H
18273 #include <complex.h>
18274 #endif
18275 #ifdef HAVE_MATH_H
18276 #include <math.h>
18277 #endif
18279 int (*ptr)() = (int (*)())atanh;
18282 main ()
18284 return 0;
18287 _ACEOF
18288 if ac_fn_c_try_link "$LINENO"; then :
18289 gcc_cv_math_func_atanh=yes
18290 else
18291 gcc_cv_math_func_atanh=no
18293 rm -f core conftest.err conftest.$ac_objext \
18294 conftest$ac_exeext conftest.$ac_ext
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18297 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18298 if test $gcc_cv_math_func_atanh = yes; then
18300 cat >>confdefs.h <<_ACEOF
18301 #define HAVE_ATANH 1
18302 _ACEOF
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18310 $as_echo_n "checking for atanhl... " >&6; }
18311 if ${gcc_cv_math_func_atanhl+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18314 if test x$gcc_no_link = xyes; then
18315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18320 #ifdef HAVE_COMPLEX_H
18321 #include <complex.h>
18322 #endif
18323 #ifdef HAVE_MATH_H
18324 #include <math.h>
18325 #endif
18327 int (*ptr)() = (int (*)())atanhl;
18330 main ()
18332 return 0;
18335 _ACEOF
18336 if ac_fn_c_try_link "$LINENO"; then :
18337 gcc_cv_math_func_atanhl=yes
18338 else
18339 gcc_cv_math_func_atanhl=no
18341 rm -f core conftest.err conftest.$ac_objext \
18342 conftest$ac_exeext conftest.$ac_ext
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18345 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18346 if test $gcc_cv_math_func_atanhl = yes; then
18348 cat >>confdefs.h <<_ACEOF
18349 #define HAVE_ATANHL 1
18350 _ACEOF
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18358 $as_echo_n "checking for cargf... " >&6; }
18359 if ${gcc_cv_math_func_cargf+:} false; then :
18360 $as_echo_n "(cached) " >&6
18361 else
18362 if test x$gcc_no_link = xyes; then
18363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18368 #ifdef HAVE_COMPLEX_H
18369 #include <complex.h>
18370 #endif
18371 #ifdef HAVE_MATH_H
18372 #include <math.h>
18373 #endif
18375 int (*ptr)() = (int (*)())cargf;
18378 main ()
18380 return 0;
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"; then :
18385 gcc_cv_math_func_cargf=yes
18386 else
18387 gcc_cv_math_func_cargf=no
18389 rm -f core conftest.err conftest.$ac_objext \
18390 conftest$ac_exeext conftest.$ac_ext
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18393 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18394 if test $gcc_cv_math_func_cargf = yes; then
18396 cat >>confdefs.h <<_ACEOF
18397 #define HAVE_CARGF 1
18398 _ACEOF
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18406 $as_echo_n "checking for carg... " >&6; }
18407 if ${gcc_cv_math_func_carg+:} false; then :
18408 $as_echo_n "(cached) " >&6
18409 else
18410 if test x$gcc_no_link = xyes; then
18411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18416 #ifdef HAVE_COMPLEX_H
18417 #include <complex.h>
18418 #endif
18419 #ifdef HAVE_MATH_H
18420 #include <math.h>
18421 #endif
18423 int (*ptr)() = (int (*)())carg;
18426 main ()
18428 return 0;
18431 _ACEOF
18432 if ac_fn_c_try_link "$LINENO"; then :
18433 gcc_cv_math_func_carg=yes
18434 else
18435 gcc_cv_math_func_carg=no
18437 rm -f core conftest.err conftest.$ac_objext \
18438 conftest$ac_exeext conftest.$ac_ext
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18441 $as_echo "$gcc_cv_math_func_carg" >&6; }
18442 if test $gcc_cv_math_func_carg = yes; then
18444 cat >>confdefs.h <<_ACEOF
18445 #define HAVE_CARG 1
18446 _ACEOF
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18454 $as_echo_n "checking for cargl... " >&6; }
18455 if ${gcc_cv_math_func_cargl+:} false; then :
18456 $as_echo_n "(cached) " >&6
18457 else
18458 if test x$gcc_no_link = xyes; then
18459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18464 #ifdef HAVE_COMPLEX_H
18465 #include <complex.h>
18466 #endif
18467 #ifdef HAVE_MATH_H
18468 #include <math.h>
18469 #endif
18471 int (*ptr)() = (int (*)())cargl;
18474 main ()
18476 return 0;
18479 _ACEOF
18480 if ac_fn_c_try_link "$LINENO"; then :
18481 gcc_cv_math_func_cargl=yes
18482 else
18483 gcc_cv_math_func_cargl=no
18485 rm -f core conftest.err conftest.$ac_objext \
18486 conftest$ac_exeext conftest.$ac_ext
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18489 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18490 if test $gcc_cv_math_func_cargl = yes; then
18492 cat >>confdefs.h <<_ACEOF
18493 #define HAVE_CARGL 1
18494 _ACEOF
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18502 $as_echo_n "checking for ceilf... " >&6; }
18503 if ${gcc_cv_math_func_ceilf+:} false; then :
18504 $as_echo_n "(cached) " >&6
18505 else
18506 if test x$gcc_no_link = xyes; then
18507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18512 #ifdef HAVE_COMPLEX_H
18513 #include <complex.h>
18514 #endif
18515 #ifdef HAVE_MATH_H
18516 #include <math.h>
18517 #endif
18519 int (*ptr)() = (int (*)())ceilf;
18522 main ()
18524 return 0;
18527 _ACEOF
18528 if ac_fn_c_try_link "$LINENO"; then :
18529 gcc_cv_math_func_ceilf=yes
18530 else
18531 gcc_cv_math_func_ceilf=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18537 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18538 if test $gcc_cv_math_func_ceilf = yes; then
18540 cat >>confdefs.h <<_ACEOF
18541 #define HAVE_CEILF 1
18542 _ACEOF
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18550 $as_echo_n "checking for ceil... " >&6; }
18551 if ${gcc_cv_math_func_ceil+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
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 #ifdef HAVE_COMPLEX_H
18561 #include <complex.h>
18562 #endif
18563 #ifdef HAVE_MATH_H
18564 #include <math.h>
18565 #endif
18567 int (*ptr)() = (int (*)())ceil;
18570 main ()
18572 return 0;
18575 _ACEOF
18576 if ac_fn_c_try_link "$LINENO"; then :
18577 gcc_cv_math_func_ceil=yes
18578 else
18579 gcc_cv_math_func_ceil=no
18581 rm -f core conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18585 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18586 if test $gcc_cv_math_func_ceil = yes; then
18588 cat >>confdefs.h <<_ACEOF
18589 #define HAVE_CEIL 1
18590 _ACEOF
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18598 $as_echo_n "checking for ceill... " >&6; }
18599 if ${gcc_cv_math_func_ceill+:} false; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18602 if test x$gcc_no_link = xyes; then
18603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18608 #ifdef HAVE_COMPLEX_H
18609 #include <complex.h>
18610 #endif
18611 #ifdef HAVE_MATH_H
18612 #include <math.h>
18613 #endif
18615 int (*ptr)() = (int (*)())ceill;
18618 main ()
18620 return 0;
18623 _ACEOF
18624 if ac_fn_c_try_link "$LINENO"; then :
18625 gcc_cv_math_func_ceill=yes
18626 else
18627 gcc_cv_math_func_ceill=no
18629 rm -f core conftest.err conftest.$ac_objext \
18630 conftest$ac_exeext conftest.$ac_ext
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18633 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18634 if test $gcc_cv_math_func_ceill = yes; then
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_CEILL 1
18638 _ACEOF
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18646 $as_echo_n "checking for copysignf... " >&6; }
18647 if ${gcc_cv_math_func_copysignf+:} false; then :
18648 $as_echo_n "(cached) " >&6
18649 else
18650 if test x$gcc_no_link = xyes; then
18651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18656 #ifdef HAVE_COMPLEX_H
18657 #include <complex.h>
18658 #endif
18659 #ifdef HAVE_MATH_H
18660 #include <math.h>
18661 #endif
18663 int (*ptr)() = (int (*)())copysignf;
18666 main ()
18668 return 0;
18671 _ACEOF
18672 if ac_fn_c_try_link "$LINENO"; then :
18673 gcc_cv_math_func_copysignf=yes
18674 else
18675 gcc_cv_math_func_copysignf=no
18677 rm -f core conftest.err conftest.$ac_objext \
18678 conftest$ac_exeext conftest.$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18681 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18682 if test $gcc_cv_math_func_copysignf = yes; then
18684 cat >>confdefs.h <<_ACEOF
18685 #define HAVE_COPYSIGNF 1
18686 _ACEOF
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18694 $as_echo_n "checking for copysign... " >&6; }
18695 if ${gcc_cv_math_func_copysign+:} false; then :
18696 $as_echo_n "(cached) " >&6
18697 else
18698 if test x$gcc_no_link = xyes; then
18699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18704 #ifdef HAVE_COMPLEX_H
18705 #include <complex.h>
18706 #endif
18707 #ifdef HAVE_MATH_H
18708 #include <math.h>
18709 #endif
18711 int (*ptr)() = (int (*)())copysign;
18714 main ()
18716 return 0;
18719 _ACEOF
18720 if ac_fn_c_try_link "$LINENO"; then :
18721 gcc_cv_math_func_copysign=yes
18722 else
18723 gcc_cv_math_func_copysign=no
18725 rm -f core conftest.err conftest.$ac_objext \
18726 conftest$ac_exeext conftest.$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18729 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18730 if test $gcc_cv_math_func_copysign = yes; then
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_COPYSIGN 1
18734 _ACEOF
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18742 $as_echo_n "checking for copysignl... " >&6; }
18743 if ${gcc_cv_math_func_copysignl+:} false; then :
18744 $as_echo_n "(cached) " >&6
18745 else
18746 if test x$gcc_no_link = xyes; then
18747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18752 #ifdef HAVE_COMPLEX_H
18753 #include <complex.h>
18754 #endif
18755 #ifdef HAVE_MATH_H
18756 #include <math.h>
18757 #endif
18759 int (*ptr)() = (int (*)())copysignl;
18762 main ()
18764 return 0;
18767 _ACEOF
18768 if ac_fn_c_try_link "$LINENO"; then :
18769 gcc_cv_math_func_copysignl=yes
18770 else
18771 gcc_cv_math_func_copysignl=no
18773 rm -f core conftest.err conftest.$ac_objext \
18774 conftest$ac_exeext conftest.$ac_ext
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18777 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18778 if test $gcc_cv_math_func_copysignl = yes; then
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_COPYSIGNL 1
18782 _ACEOF
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18790 $as_echo_n "checking for cosf... " >&6; }
18791 if ${gcc_cv_math_func_cosf+:} false; then :
18792 $as_echo_n "(cached) " >&6
18793 else
18794 if test x$gcc_no_link = xyes; then
18795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18800 #ifdef HAVE_COMPLEX_H
18801 #include <complex.h>
18802 #endif
18803 #ifdef HAVE_MATH_H
18804 #include <math.h>
18805 #endif
18807 int (*ptr)() = (int (*)())cosf;
18810 main ()
18812 return 0;
18815 _ACEOF
18816 if ac_fn_c_try_link "$LINENO"; then :
18817 gcc_cv_math_func_cosf=yes
18818 else
18819 gcc_cv_math_func_cosf=no
18821 rm -f core conftest.err conftest.$ac_objext \
18822 conftest$ac_exeext conftest.$ac_ext
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18825 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18826 if test $gcc_cv_math_func_cosf = yes; then
18828 cat >>confdefs.h <<_ACEOF
18829 #define HAVE_COSF 1
18830 _ACEOF
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18838 $as_echo_n "checking for cos... " >&6; }
18839 if ${gcc_cv_math_func_cos+:} false; then :
18840 $as_echo_n "(cached) " >&6
18841 else
18842 if test x$gcc_no_link = xyes; then
18843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18848 #ifdef HAVE_COMPLEX_H
18849 #include <complex.h>
18850 #endif
18851 #ifdef HAVE_MATH_H
18852 #include <math.h>
18853 #endif
18855 int (*ptr)() = (int (*)())cos;
18858 main ()
18860 return 0;
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"; then :
18865 gcc_cv_math_func_cos=yes
18866 else
18867 gcc_cv_math_func_cos=no
18869 rm -f core conftest.err conftest.$ac_objext \
18870 conftest$ac_exeext conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18873 $as_echo "$gcc_cv_math_func_cos" >&6; }
18874 if test $gcc_cv_math_func_cos = yes; then
18876 cat >>confdefs.h <<_ACEOF
18877 #define HAVE_COS 1
18878 _ACEOF
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18886 $as_echo_n "checking for cosl... " >&6; }
18887 if ${gcc_cv_math_func_cosl+:} false; then :
18888 $as_echo_n "(cached) " >&6
18889 else
18890 if test x$gcc_no_link = xyes; then
18891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18896 #ifdef HAVE_COMPLEX_H
18897 #include <complex.h>
18898 #endif
18899 #ifdef HAVE_MATH_H
18900 #include <math.h>
18901 #endif
18903 int (*ptr)() = (int (*)())cosl;
18906 main ()
18908 return 0;
18911 _ACEOF
18912 if ac_fn_c_try_link "$LINENO"; then :
18913 gcc_cv_math_func_cosl=yes
18914 else
18915 gcc_cv_math_func_cosl=no
18917 rm -f core conftest.err conftest.$ac_objext \
18918 conftest$ac_exeext conftest.$ac_ext
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18921 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18922 if test $gcc_cv_math_func_cosl = yes; then
18924 cat >>confdefs.h <<_ACEOF
18925 #define HAVE_COSL 1
18926 _ACEOF
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18934 $as_echo_n "checking for ccosf... " >&6; }
18935 if ${gcc_cv_math_func_ccosf+:} false; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18938 if test x$gcc_no_link = xyes; then
18939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18944 #ifdef HAVE_COMPLEX_H
18945 #include <complex.h>
18946 #endif
18947 #ifdef HAVE_MATH_H
18948 #include <math.h>
18949 #endif
18951 int (*ptr)() = (int (*)())ccosf;
18954 main ()
18956 return 0;
18959 _ACEOF
18960 if ac_fn_c_try_link "$LINENO"; then :
18961 gcc_cv_math_func_ccosf=yes
18962 else
18963 gcc_cv_math_func_ccosf=no
18965 rm -f core conftest.err conftest.$ac_objext \
18966 conftest$ac_exeext conftest.$ac_ext
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18969 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18970 if test $gcc_cv_math_func_ccosf = yes; then
18972 cat >>confdefs.h <<_ACEOF
18973 #define HAVE_CCOSF 1
18974 _ACEOF
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18982 $as_echo_n "checking for ccos... " >&6; }
18983 if ${gcc_cv_math_func_ccos+:} false; then :
18984 $as_echo_n "(cached) " >&6
18985 else
18986 if test x$gcc_no_link = xyes; then
18987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18992 #ifdef HAVE_COMPLEX_H
18993 #include <complex.h>
18994 #endif
18995 #ifdef HAVE_MATH_H
18996 #include <math.h>
18997 #endif
18999 int (*ptr)() = (int (*)())ccos;
19002 main ()
19004 return 0;
19007 _ACEOF
19008 if ac_fn_c_try_link "$LINENO"; then :
19009 gcc_cv_math_func_ccos=yes
19010 else
19011 gcc_cv_math_func_ccos=no
19013 rm -f core conftest.err conftest.$ac_objext \
19014 conftest$ac_exeext conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19017 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19018 if test $gcc_cv_math_func_ccos = yes; then
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_CCOS 1
19022 _ACEOF
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19030 $as_echo_n "checking for ccosl... " >&6; }
19031 if ${gcc_cv_math_func_ccosl+:} false; then :
19032 $as_echo_n "(cached) " >&6
19033 else
19034 if test x$gcc_no_link = xyes; then
19035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19040 #ifdef HAVE_COMPLEX_H
19041 #include <complex.h>
19042 #endif
19043 #ifdef HAVE_MATH_H
19044 #include <math.h>
19045 #endif
19047 int (*ptr)() = (int (*)())ccosl;
19050 main ()
19052 return 0;
19055 _ACEOF
19056 if ac_fn_c_try_link "$LINENO"; then :
19057 gcc_cv_math_func_ccosl=yes
19058 else
19059 gcc_cv_math_func_ccosl=no
19061 rm -f core conftest.err conftest.$ac_objext \
19062 conftest$ac_exeext conftest.$ac_ext
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19065 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19066 if test $gcc_cv_math_func_ccosl = yes; then
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_CCOSL 1
19070 _ACEOF
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19078 $as_echo_n "checking for coshf... " >&6; }
19079 if ${gcc_cv_math_func_coshf+:} false; then :
19080 $as_echo_n "(cached) " >&6
19081 else
19082 if test x$gcc_no_link = xyes; then
19083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19088 #ifdef HAVE_COMPLEX_H
19089 #include <complex.h>
19090 #endif
19091 #ifdef HAVE_MATH_H
19092 #include <math.h>
19093 #endif
19095 int (*ptr)() = (int (*)())coshf;
19098 main ()
19100 return 0;
19103 _ACEOF
19104 if ac_fn_c_try_link "$LINENO"; then :
19105 gcc_cv_math_func_coshf=yes
19106 else
19107 gcc_cv_math_func_coshf=no
19109 rm -f core conftest.err conftest.$ac_objext \
19110 conftest$ac_exeext conftest.$ac_ext
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19113 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19114 if test $gcc_cv_math_func_coshf = yes; then
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_COSHF 1
19118 _ACEOF
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19126 $as_echo_n "checking for cosh... " >&6; }
19127 if ${gcc_cv_math_func_cosh+:} false; then :
19128 $as_echo_n "(cached) " >&6
19129 else
19130 if test x$gcc_no_link = xyes; then
19131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19136 #ifdef HAVE_COMPLEX_H
19137 #include <complex.h>
19138 #endif
19139 #ifdef HAVE_MATH_H
19140 #include <math.h>
19141 #endif
19143 int (*ptr)() = (int (*)())cosh;
19146 main ()
19148 return 0;
19151 _ACEOF
19152 if ac_fn_c_try_link "$LINENO"; then :
19153 gcc_cv_math_func_cosh=yes
19154 else
19155 gcc_cv_math_func_cosh=no
19157 rm -f core conftest.err conftest.$ac_objext \
19158 conftest$ac_exeext conftest.$ac_ext
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19161 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19162 if test $gcc_cv_math_func_cosh = yes; then
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_COSH 1
19166 _ACEOF
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19174 $as_echo_n "checking for coshl... " >&6; }
19175 if ${gcc_cv_math_func_coshl+:} false; then :
19176 $as_echo_n "(cached) " >&6
19177 else
19178 if test x$gcc_no_link = xyes; then
19179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19184 #ifdef HAVE_COMPLEX_H
19185 #include <complex.h>
19186 #endif
19187 #ifdef HAVE_MATH_H
19188 #include <math.h>
19189 #endif
19191 int (*ptr)() = (int (*)())coshl;
19194 main ()
19196 return 0;
19199 _ACEOF
19200 if ac_fn_c_try_link "$LINENO"; then :
19201 gcc_cv_math_func_coshl=yes
19202 else
19203 gcc_cv_math_func_coshl=no
19205 rm -f core conftest.err conftest.$ac_objext \
19206 conftest$ac_exeext conftest.$ac_ext
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19209 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19210 if test $gcc_cv_math_func_coshl = yes; then
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_COSHL 1
19214 _ACEOF
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19222 $as_echo_n "checking for ccoshf... " >&6; }
19223 if ${gcc_cv_math_func_ccoshf+:} false; then :
19224 $as_echo_n "(cached) " >&6
19225 else
19226 if test x$gcc_no_link = xyes; then
19227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19232 #ifdef HAVE_COMPLEX_H
19233 #include <complex.h>
19234 #endif
19235 #ifdef HAVE_MATH_H
19236 #include <math.h>
19237 #endif
19239 int (*ptr)() = (int (*)())ccoshf;
19242 main ()
19244 return 0;
19247 _ACEOF
19248 if ac_fn_c_try_link "$LINENO"; then :
19249 gcc_cv_math_func_ccoshf=yes
19250 else
19251 gcc_cv_math_func_ccoshf=no
19253 rm -f core conftest.err conftest.$ac_objext \
19254 conftest$ac_exeext conftest.$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19257 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19258 if test $gcc_cv_math_func_ccoshf = yes; then
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_CCOSHF 1
19262 _ACEOF
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19270 $as_echo_n "checking for ccosh... " >&6; }
19271 if ${gcc_cv_math_func_ccosh+:} false; then :
19272 $as_echo_n "(cached) " >&6
19273 else
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 #ifdef HAVE_COMPLEX_H
19281 #include <complex.h>
19282 #endif
19283 #ifdef HAVE_MATH_H
19284 #include <math.h>
19285 #endif
19287 int (*ptr)() = (int (*)())ccosh;
19290 main ()
19292 return 0;
19295 _ACEOF
19296 if ac_fn_c_try_link "$LINENO"; then :
19297 gcc_cv_math_func_ccosh=yes
19298 else
19299 gcc_cv_math_func_ccosh=no
19301 rm -f core conftest.err conftest.$ac_objext \
19302 conftest$ac_exeext conftest.$ac_ext
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19305 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19306 if test $gcc_cv_math_func_ccosh = yes; then
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_CCOSH 1
19310 _ACEOF
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19318 $as_echo_n "checking for ccoshl... " >&6; }
19319 if ${gcc_cv_math_func_ccoshl+:} false; then :
19320 $as_echo_n "(cached) " >&6
19321 else
19322 if test x$gcc_no_link = xyes; then
19323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19326 /* end confdefs.h. */
19328 #ifdef HAVE_COMPLEX_H
19329 #include <complex.h>
19330 #endif
19331 #ifdef HAVE_MATH_H
19332 #include <math.h>
19333 #endif
19335 int (*ptr)() = (int (*)())ccoshl;
19338 main ()
19340 return 0;
19343 _ACEOF
19344 if ac_fn_c_try_link "$LINENO"; then :
19345 gcc_cv_math_func_ccoshl=yes
19346 else
19347 gcc_cv_math_func_ccoshl=no
19349 rm -f core conftest.err conftest.$ac_objext \
19350 conftest$ac_exeext conftest.$ac_ext
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19353 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19354 if test $gcc_cv_math_func_ccoshl = yes; then
19356 cat >>confdefs.h <<_ACEOF
19357 #define HAVE_CCOSHL 1
19358 _ACEOF
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19366 $as_echo_n "checking for expf... " >&6; }
19367 if ${gcc_cv_math_func_expf+:} false; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19370 if test x$gcc_no_link = xyes; then
19371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19376 #ifdef HAVE_COMPLEX_H
19377 #include <complex.h>
19378 #endif
19379 #ifdef HAVE_MATH_H
19380 #include <math.h>
19381 #endif
19383 int (*ptr)() = (int (*)())expf;
19386 main ()
19388 return 0;
19391 _ACEOF
19392 if ac_fn_c_try_link "$LINENO"; then :
19393 gcc_cv_math_func_expf=yes
19394 else
19395 gcc_cv_math_func_expf=no
19397 rm -f core conftest.err conftest.$ac_objext \
19398 conftest$ac_exeext conftest.$ac_ext
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19401 $as_echo "$gcc_cv_math_func_expf" >&6; }
19402 if test $gcc_cv_math_func_expf = yes; then
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_EXPF 1
19406 _ACEOF
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19414 $as_echo_n "checking for exp... " >&6; }
19415 if ${gcc_cv_math_func_exp+:} false; then :
19416 $as_echo_n "(cached) " >&6
19417 else
19418 if test x$gcc_no_link = xyes; then
19419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19424 #ifdef HAVE_COMPLEX_H
19425 #include <complex.h>
19426 #endif
19427 #ifdef HAVE_MATH_H
19428 #include <math.h>
19429 #endif
19431 int (*ptr)() = (int (*)())exp;
19434 main ()
19436 return 0;
19439 _ACEOF
19440 if ac_fn_c_try_link "$LINENO"; then :
19441 gcc_cv_math_func_exp=yes
19442 else
19443 gcc_cv_math_func_exp=no
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19449 $as_echo "$gcc_cv_math_func_exp" >&6; }
19450 if test $gcc_cv_math_func_exp = yes; then
19452 cat >>confdefs.h <<_ACEOF
19453 #define HAVE_EXP 1
19454 _ACEOF
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19462 $as_echo_n "checking for expl... " >&6; }
19463 if ${gcc_cv_math_func_expl+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19466 if test x$gcc_no_link = xyes; then
19467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19472 #ifdef HAVE_COMPLEX_H
19473 #include <complex.h>
19474 #endif
19475 #ifdef HAVE_MATH_H
19476 #include <math.h>
19477 #endif
19479 int (*ptr)() = (int (*)())expl;
19482 main ()
19484 return 0;
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"; then :
19489 gcc_cv_math_func_expl=yes
19490 else
19491 gcc_cv_math_func_expl=no
19493 rm -f core conftest.err conftest.$ac_objext \
19494 conftest$ac_exeext conftest.$ac_ext
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19497 $as_echo "$gcc_cv_math_func_expl" >&6; }
19498 if test $gcc_cv_math_func_expl = yes; then
19500 cat >>confdefs.h <<_ACEOF
19501 #define HAVE_EXPL 1
19502 _ACEOF
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19510 $as_echo_n "checking for cexpf... " >&6; }
19511 if ${gcc_cv_math_func_cexpf+:} false; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19514 if test x$gcc_no_link = xyes; then
19515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19520 #ifdef HAVE_COMPLEX_H
19521 #include <complex.h>
19522 #endif
19523 #ifdef HAVE_MATH_H
19524 #include <math.h>
19525 #endif
19527 int (*ptr)() = (int (*)())cexpf;
19530 main ()
19532 return 0;
19535 _ACEOF
19536 if ac_fn_c_try_link "$LINENO"; then :
19537 gcc_cv_math_func_cexpf=yes
19538 else
19539 gcc_cv_math_func_cexpf=no
19541 rm -f core conftest.err conftest.$ac_objext \
19542 conftest$ac_exeext conftest.$ac_ext
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19545 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19546 if test $gcc_cv_math_func_cexpf = yes; then
19548 cat >>confdefs.h <<_ACEOF
19549 #define HAVE_CEXPF 1
19550 _ACEOF
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19558 $as_echo_n "checking for cexp... " >&6; }
19559 if ${gcc_cv_math_func_cexp+:} false; then :
19560 $as_echo_n "(cached) " >&6
19561 else
19562 if test x$gcc_no_link = xyes; then
19563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19568 #ifdef HAVE_COMPLEX_H
19569 #include <complex.h>
19570 #endif
19571 #ifdef HAVE_MATH_H
19572 #include <math.h>
19573 #endif
19575 int (*ptr)() = (int (*)())cexp;
19578 main ()
19580 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_link "$LINENO"; then :
19585 gcc_cv_math_func_cexp=yes
19586 else
19587 gcc_cv_math_func_cexp=no
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext conftest.$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19593 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19594 if test $gcc_cv_math_func_cexp = yes; then
19596 cat >>confdefs.h <<_ACEOF
19597 #define HAVE_CEXP 1
19598 _ACEOF
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19606 $as_echo_n "checking for cexpl... " >&6; }
19607 if ${gcc_cv_math_func_cexpl+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 if test x$gcc_no_link = xyes; then
19611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19616 #ifdef HAVE_COMPLEX_H
19617 #include <complex.h>
19618 #endif
19619 #ifdef HAVE_MATH_H
19620 #include <math.h>
19621 #endif
19623 int (*ptr)() = (int (*)())cexpl;
19626 main ()
19628 return 0;
19631 _ACEOF
19632 if ac_fn_c_try_link "$LINENO"; then :
19633 gcc_cv_math_func_cexpl=yes
19634 else
19635 gcc_cv_math_func_cexpl=no
19637 rm -f core conftest.err conftest.$ac_objext \
19638 conftest$ac_exeext conftest.$ac_ext
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19641 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19642 if test $gcc_cv_math_func_cexpl = yes; then
19644 cat >>confdefs.h <<_ACEOF
19645 #define HAVE_CEXPL 1
19646 _ACEOF
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19654 $as_echo_n "checking for fabsf... " >&6; }
19655 if ${gcc_cv_math_func_fabsf+:} false; then :
19656 $as_echo_n "(cached) " >&6
19657 else
19658 if test x$gcc_no_link = xyes; then
19659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19664 #ifdef HAVE_COMPLEX_H
19665 #include <complex.h>
19666 #endif
19667 #ifdef HAVE_MATH_H
19668 #include <math.h>
19669 #endif
19671 int (*ptr)() = (int (*)())fabsf;
19674 main ()
19676 return 0;
19679 _ACEOF
19680 if ac_fn_c_try_link "$LINENO"; then :
19681 gcc_cv_math_func_fabsf=yes
19682 else
19683 gcc_cv_math_func_fabsf=no
19685 rm -f core conftest.err conftest.$ac_objext \
19686 conftest$ac_exeext conftest.$ac_ext
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19689 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19690 if test $gcc_cv_math_func_fabsf = yes; then
19692 cat >>confdefs.h <<_ACEOF
19693 #define HAVE_FABSF 1
19694 _ACEOF
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19702 $as_echo_n "checking for fabs... " >&6; }
19703 if ${gcc_cv_math_func_fabs+:} false; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19706 if test x$gcc_no_link = xyes; then
19707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19712 #ifdef HAVE_COMPLEX_H
19713 #include <complex.h>
19714 #endif
19715 #ifdef HAVE_MATH_H
19716 #include <math.h>
19717 #endif
19719 int (*ptr)() = (int (*)())fabs;
19722 main ()
19724 return 0;
19727 _ACEOF
19728 if ac_fn_c_try_link "$LINENO"; then :
19729 gcc_cv_math_func_fabs=yes
19730 else
19731 gcc_cv_math_func_fabs=no
19733 rm -f core conftest.err conftest.$ac_objext \
19734 conftest$ac_exeext conftest.$ac_ext
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19737 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19738 if test $gcc_cv_math_func_fabs = yes; then
19740 cat >>confdefs.h <<_ACEOF
19741 #define HAVE_FABS 1
19742 _ACEOF
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19750 $as_echo_n "checking for fabsl... " >&6; }
19751 if ${gcc_cv_math_func_fabsl+:} false; then :
19752 $as_echo_n "(cached) " >&6
19753 else
19754 if test x$gcc_no_link = xyes; then
19755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19760 #ifdef HAVE_COMPLEX_H
19761 #include <complex.h>
19762 #endif
19763 #ifdef HAVE_MATH_H
19764 #include <math.h>
19765 #endif
19767 int (*ptr)() = (int (*)())fabsl;
19770 main ()
19772 return 0;
19775 _ACEOF
19776 if ac_fn_c_try_link "$LINENO"; then :
19777 gcc_cv_math_func_fabsl=yes
19778 else
19779 gcc_cv_math_func_fabsl=no
19781 rm -f core conftest.err conftest.$ac_objext \
19782 conftest$ac_exeext conftest.$ac_ext
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19785 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19786 if test $gcc_cv_math_func_fabsl = yes; then
19788 cat >>confdefs.h <<_ACEOF
19789 #define HAVE_FABSL 1
19790 _ACEOF
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19798 $as_echo_n "checking for cabsf... " >&6; }
19799 if ${gcc_cv_math_func_cabsf+:} false; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802 if test x$gcc_no_link = xyes; then
19803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19808 #ifdef HAVE_COMPLEX_H
19809 #include <complex.h>
19810 #endif
19811 #ifdef HAVE_MATH_H
19812 #include <math.h>
19813 #endif
19815 int (*ptr)() = (int (*)())cabsf;
19818 main ()
19820 return 0;
19823 _ACEOF
19824 if ac_fn_c_try_link "$LINENO"; then :
19825 gcc_cv_math_func_cabsf=yes
19826 else
19827 gcc_cv_math_func_cabsf=no
19829 rm -f core conftest.err conftest.$ac_objext \
19830 conftest$ac_exeext conftest.$ac_ext
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19833 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19834 if test $gcc_cv_math_func_cabsf = yes; then
19836 cat >>confdefs.h <<_ACEOF
19837 #define HAVE_CABSF 1
19838 _ACEOF
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19846 $as_echo_n "checking for cabs... " >&6; }
19847 if ${gcc_cv_math_func_cabs+:} false; then :
19848 $as_echo_n "(cached) " >&6
19849 else
19850 if test x$gcc_no_link = xyes; then
19851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19856 #ifdef HAVE_COMPLEX_H
19857 #include <complex.h>
19858 #endif
19859 #ifdef HAVE_MATH_H
19860 #include <math.h>
19861 #endif
19863 int (*ptr)() = (int (*)())cabs;
19866 main ()
19868 return 0;
19871 _ACEOF
19872 if ac_fn_c_try_link "$LINENO"; then :
19873 gcc_cv_math_func_cabs=yes
19874 else
19875 gcc_cv_math_func_cabs=no
19877 rm -f core conftest.err conftest.$ac_objext \
19878 conftest$ac_exeext conftest.$ac_ext
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19881 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19882 if test $gcc_cv_math_func_cabs = yes; then
19884 cat >>confdefs.h <<_ACEOF
19885 #define HAVE_CABS 1
19886 _ACEOF
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19894 $as_echo_n "checking for cabsl... " >&6; }
19895 if ${gcc_cv_math_func_cabsl+:} false; then :
19896 $as_echo_n "(cached) " >&6
19897 else
19898 if test x$gcc_no_link = xyes; then
19899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19904 #ifdef HAVE_COMPLEX_H
19905 #include <complex.h>
19906 #endif
19907 #ifdef HAVE_MATH_H
19908 #include <math.h>
19909 #endif
19911 int (*ptr)() = (int (*)())cabsl;
19914 main ()
19916 return 0;
19919 _ACEOF
19920 if ac_fn_c_try_link "$LINENO"; then :
19921 gcc_cv_math_func_cabsl=yes
19922 else
19923 gcc_cv_math_func_cabsl=no
19925 rm -f core conftest.err conftest.$ac_objext \
19926 conftest$ac_exeext conftest.$ac_ext
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19929 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19930 if test $gcc_cv_math_func_cabsl = yes; then
19932 cat >>confdefs.h <<_ACEOF
19933 #define HAVE_CABSL 1
19934 _ACEOF
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19942 $as_echo_n "checking for floorf... " >&6; }
19943 if ${gcc_cv_math_func_floorf+:} false; then :
19944 $as_echo_n "(cached) " >&6
19945 else
19946 if test x$gcc_no_link = xyes; then
19947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19952 #ifdef HAVE_COMPLEX_H
19953 #include <complex.h>
19954 #endif
19955 #ifdef HAVE_MATH_H
19956 #include <math.h>
19957 #endif
19959 int (*ptr)() = (int (*)())floorf;
19962 main ()
19964 return 0;
19967 _ACEOF
19968 if ac_fn_c_try_link "$LINENO"; then :
19969 gcc_cv_math_func_floorf=yes
19970 else
19971 gcc_cv_math_func_floorf=no
19973 rm -f core conftest.err conftest.$ac_objext \
19974 conftest$ac_exeext conftest.$ac_ext
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19977 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19978 if test $gcc_cv_math_func_floorf = yes; then
19980 cat >>confdefs.h <<_ACEOF
19981 #define HAVE_FLOORF 1
19982 _ACEOF
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19990 $as_echo_n "checking for floor... " >&6; }
19991 if ${gcc_cv_math_func_floor+:} false; then :
19992 $as_echo_n "(cached) " >&6
19993 else
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 #ifdef HAVE_COMPLEX_H
20001 #include <complex.h>
20002 #endif
20003 #ifdef HAVE_MATH_H
20004 #include <math.h>
20005 #endif
20007 int (*ptr)() = (int (*)())floor;
20010 main ()
20012 return 0;
20015 _ACEOF
20016 if ac_fn_c_try_link "$LINENO"; then :
20017 gcc_cv_math_func_floor=yes
20018 else
20019 gcc_cv_math_func_floor=no
20021 rm -f core conftest.err conftest.$ac_objext \
20022 conftest$ac_exeext conftest.$ac_ext
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20025 $as_echo "$gcc_cv_math_func_floor" >&6; }
20026 if test $gcc_cv_math_func_floor = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define HAVE_FLOOR 1
20030 _ACEOF
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20038 $as_echo_n "checking for floorl... " >&6; }
20039 if ${gcc_cv_math_func_floorl+:} false; then :
20040 $as_echo_n "(cached) " >&6
20041 else
20042 if test x$gcc_no_link = xyes; then
20043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20048 #ifdef HAVE_COMPLEX_H
20049 #include <complex.h>
20050 #endif
20051 #ifdef HAVE_MATH_H
20052 #include <math.h>
20053 #endif
20055 int (*ptr)() = (int (*)())floorl;
20058 main ()
20060 return 0;
20063 _ACEOF
20064 if ac_fn_c_try_link "$LINENO"; then :
20065 gcc_cv_math_func_floorl=yes
20066 else
20067 gcc_cv_math_func_floorl=no
20069 rm -f core conftest.err conftest.$ac_objext \
20070 conftest$ac_exeext conftest.$ac_ext
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20073 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20074 if test $gcc_cv_math_func_floorl = yes; then
20076 cat >>confdefs.h <<_ACEOF
20077 #define HAVE_FLOORL 1
20078 _ACEOF
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20086 $as_echo_n "checking for fmaf... " >&6; }
20087 if ${gcc_cv_math_func_fmaf+:} false; then :
20088 $as_echo_n "(cached) " >&6
20089 else
20090 if test x$gcc_no_link = xyes; then
20091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20096 #ifdef HAVE_COMPLEX_H
20097 #include <complex.h>
20098 #endif
20099 #ifdef HAVE_MATH_H
20100 #include <math.h>
20101 #endif
20103 int (*ptr)() = (int (*)())fmaf;
20106 main ()
20108 return 0;
20111 _ACEOF
20112 if ac_fn_c_try_link "$LINENO"; then :
20113 gcc_cv_math_func_fmaf=yes
20114 else
20115 gcc_cv_math_func_fmaf=no
20117 rm -f core conftest.err conftest.$ac_objext \
20118 conftest$ac_exeext conftest.$ac_ext
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20121 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20122 if test $gcc_cv_math_func_fmaf = yes; then
20124 cat >>confdefs.h <<_ACEOF
20125 #define HAVE_FMAF 1
20126 _ACEOF
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20134 $as_echo_n "checking for fma... " >&6; }
20135 if ${gcc_cv_math_func_fma+:} false; then :
20136 $as_echo_n "(cached) " >&6
20137 else
20138 if test x$gcc_no_link = xyes; then
20139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20144 #ifdef HAVE_COMPLEX_H
20145 #include <complex.h>
20146 #endif
20147 #ifdef HAVE_MATH_H
20148 #include <math.h>
20149 #endif
20151 int (*ptr)() = (int (*)())fma;
20154 main ()
20156 return 0;
20159 _ACEOF
20160 if ac_fn_c_try_link "$LINENO"; then :
20161 gcc_cv_math_func_fma=yes
20162 else
20163 gcc_cv_math_func_fma=no
20165 rm -f core conftest.err conftest.$ac_objext \
20166 conftest$ac_exeext conftest.$ac_ext
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20169 $as_echo "$gcc_cv_math_func_fma" >&6; }
20170 if test $gcc_cv_math_func_fma = yes; then
20172 cat >>confdefs.h <<_ACEOF
20173 #define HAVE_FMA 1
20174 _ACEOF
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20182 $as_echo_n "checking for fmal... " >&6; }
20183 if ${gcc_cv_math_func_fmal+:} false; then :
20184 $as_echo_n "(cached) " >&6
20185 else
20186 if test x$gcc_no_link = xyes; then
20187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h. */
20192 #ifdef HAVE_COMPLEX_H
20193 #include <complex.h>
20194 #endif
20195 #ifdef HAVE_MATH_H
20196 #include <math.h>
20197 #endif
20199 int (*ptr)() = (int (*)())fmal;
20202 main ()
20204 return 0;
20207 _ACEOF
20208 if ac_fn_c_try_link "$LINENO"; then :
20209 gcc_cv_math_func_fmal=yes
20210 else
20211 gcc_cv_math_func_fmal=no
20213 rm -f core conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20217 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20218 if test $gcc_cv_math_func_fmal = yes; then
20220 cat >>confdefs.h <<_ACEOF
20221 #define HAVE_FMAL 1
20222 _ACEOF
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20230 $as_echo_n "checking for fmodf... " >&6; }
20231 if ${gcc_cv_math_func_fmodf+:} false; then :
20232 $as_echo_n "(cached) " >&6
20233 else
20234 if test x$gcc_no_link = xyes; then
20235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20238 /* end confdefs.h. */
20240 #ifdef HAVE_COMPLEX_H
20241 #include <complex.h>
20242 #endif
20243 #ifdef HAVE_MATH_H
20244 #include <math.h>
20245 #endif
20247 int (*ptr)() = (int (*)())fmodf;
20250 main ()
20252 return 0;
20255 _ACEOF
20256 if ac_fn_c_try_link "$LINENO"; then :
20257 gcc_cv_math_func_fmodf=yes
20258 else
20259 gcc_cv_math_func_fmodf=no
20261 rm -f core conftest.err conftest.$ac_objext \
20262 conftest$ac_exeext conftest.$ac_ext
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20265 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20266 if test $gcc_cv_math_func_fmodf = yes; then
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_FMODF 1
20270 _ACEOF
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20278 $as_echo_n "checking for fmod... " >&6; }
20279 if ${gcc_cv_math_func_fmod+:} false; then :
20280 $as_echo_n "(cached) " >&6
20281 else
20282 if test x$gcc_no_link = xyes; then
20283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20288 #ifdef HAVE_COMPLEX_H
20289 #include <complex.h>
20290 #endif
20291 #ifdef HAVE_MATH_H
20292 #include <math.h>
20293 #endif
20295 int (*ptr)() = (int (*)())fmod;
20298 main ()
20300 return 0;
20303 _ACEOF
20304 if ac_fn_c_try_link "$LINENO"; then :
20305 gcc_cv_math_func_fmod=yes
20306 else
20307 gcc_cv_math_func_fmod=no
20309 rm -f core conftest.err conftest.$ac_objext \
20310 conftest$ac_exeext conftest.$ac_ext
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20313 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20314 if test $gcc_cv_math_func_fmod = yes; then
20316 cat >>confdefs.h <<_ACEOF
20317 #define HAVE_FMOD 1
20318 _ACEOF
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20326 $as_echo_n "checking for fmodl... " >&6; }
20327 if ${gcc_cv_math_func_fmodl+:} false; then :
20328 $as_echo_n "(cached) " >&6
20329 else
20330 if test x$gcc_no_link = xyes; then
20331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h. */
20336 #ifdef HAVE_COMPLEX_H
20337 #include <complex.h>
20338 #endif
20339 #ifdef HAVE_MATH_H
20340 #include <math.h>
20341 #endif
20343 int (*ptr)() = (int (*)())fmodl;
20346 main ()
20348 return 0;
20351 _ACEOF
20352 if ac_fn_c_try_link "$LINENO"; then :
20353 gcc_cv_math_func_fmodl=yes
20354 else
20355 gcc_cv_math_func_fmodl=no
20357 rm -f core conftest.err conftest.$ac_objext \
20358 conftest$ac_exeext conftest.$ac_ext
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20361 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20362 if test $gcc_cv_math_func_fmodl = yes; then
20364 cat >>confdefs.h <<_ACEOF
20365 #define HAVE_FMODL 1
20366 _ACEOF
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20374 $as_echo_n "checking for frexpf... " >&6; }
20375 if ${gcc_cv_math_func_frexpf+:} false; then :
20376 $as_echo_n "(cached) " >&6
20377 else
20378 if test x$gcc_no_link = xyes; then
20379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20384 #ifdef HAVE_COMPLEX_H
20385 #include <complex.h>
20386 #endif
20387 #ifdef HAVE_MATH_H
20388 #include <math.h>
20389 #endif
20391 int (*ptr)() = (int (*)())frexpf;
20394 main ()
20396 return 0;
20399 _ACEOF
20400 if ac_fn_c_try_link "$LINENO"; then :
20401 gcc_cv_math_func_frexpf=yes
20402 else
20403 gcc_cv_math_func_frexpf=no
20405 rm -f core conftest.err conftest.$ac_objext \
20406 conftest$ac_exeext conftest.$ac_ext
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20409 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20410 if test $gcc_cv_math_func_frexpf = yes; then
20412 cat >>confdefs.h <<_ACEOF
20413 #define HAVE_FREXPF 1
20414 _ACEOF
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20422 $as_echo_n "checking for frexp... " >&6; }
20423 if ${gcc_cv_math_func_frexp+:} false; then :
20424 $as_echo_n "(cached) " >&6
20425 else
20426 if test x$gcc_no_link = xyes; then
20427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20432 #ifdef HAVE_COMPLEX_H
20433 #include <complex.h>
20434 #endif
20435 #ifdef HAVE_MATH_H
20436 #include <math.h>
20437 #endif
20439 int (*ptr)() = (int (*)())frexp;
20442 main ()
20444 return 0;
20447 _ACEOF
20448 if ac_fn_c_try_link "$LINENO"; then :
20449 gcc_cv_math_func_frexp=yes
20450 else
20451 gcc_cv_math_func_frexp=no
20453 rm -f core conftest.err conftest.$ac_objext \
20454 conftest$ac_exeext conftest.$ac_ext
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20457 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20458 if test $gcc_cv_math_func_frexp = yes; then
20460 cat >>confdefs.h <<_ACEOF
20461 #define HAVE_FREXP 1
20462 _ACEOF
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20470 $as_echo_n "checking for frexpl... " >&6; }
20471 if ${gcc_cv_math_func_frexpl+:} false; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 if test x$gcc_no_link = xyes; then
20475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20480 #ifdef HAVE_COMPLEX_H
20481 #include <complex.h>
20482 #endif
20483 #ifdef HAVE_MATH_H
20484 #include <math.h>
20485 #endif
20487 int (*ptr)() = (int (*)())frexpl;
20490 main ()
20492 return 0;
20495 _ACEOF
20496 if ac_fn_c_try_link "$LINENO"; then :
20497 gcc_cv_math_func_frexpl=yes
20498 else
20499 gcc_cv_math_func_frexpl=no
20501 rm -f core conftest.err conftest.$ac_objext \
20502 conftest$ac_exeext conftest.$ac_ext
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20505 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20506 if test $gcc_cv_math_func_frexpl = yes; then
20508 cat >>confdefs.h <<_ACEOF
20509 #define HAVE_FREXPL 1
20510 _ACEOF
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20518 $as_echo_n "checking for hypotf... " >&6; }
20519 if ${gcc_cv_math_func_hypotf+:} false; then :
20520 $as_echo_n "(cached) " >&6
20521 else
20522 if test x$gcc_no_link = xyes; then
20523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h. */
20528 #ifdef HAVE_COMPLEX_H
20529 #include <complex.h>
20530 #endif
20531 #ifdef HAVE_MATH_H
20532 #include <math.h>
20533 #endif
20535 int (*ptr)() = (int (*)())hypotf;
20538 main ()
20540 return 0;
20543 _ACEOF
20544 if ac_fn_c_try_link "$LINENO"; then :
20545 gcc_cv_math_func_hypotf=yes
20546 else
20547 gcc_cv_math_func_hypotf=no
20549 rm -f core conftest.err conftest.$ac_objext \
20550 conftest$ac_exeext conftest.$ac_ext
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20553 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20554 if test $gcc_cv_math_func_hypotf = yes; then
20556 cat >>confdefs.h <<_ACEOF
20557 #define HAVE_HYPOTF 1
20558 _ACEOF
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20566 $as_echo_n "checking for hypot... " >&6; }
20567 if ${gcc_cv_math_func_hypot+:} false; then :
20568 $as_echo_n "(cached) " >&6
20569 else
20570 if test x$gcc_no_link = xyes; then
20571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20576 #ifdef HAVE_COMPLEX_H
20577 #include <complex.h>
20578 #endif
20579 #ifdef HAVE_MATH_H
20580 #include <math.h>
20581 #endif
20583 int (*ptr)() = (int (*)())hypot;
20586 main ()
20588 return 0;
20591 _ACEOF
20592 if ac_fn_c_try_link "$LINENO"; then :
20593 gcc_cv_math_func_hypot=yes
20594 else
20595 gcc_cv_math_func_hypot=no
20597 rm -f core conftest.err conftest.$ac_objext \
20598 conftest$ac_exeext conftest.$ac_ext
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20601 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20602 if test $gcc_cv_math_func_hypot = yes; then
20604 cat >>confdefs.h <<_ACEOF
20605 #define HAVE_HYPOT 1
20606 _ACEOF
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20614 $as_echo_n "checking for hypotl... " >&6; }
20615 if ${gcc_cv_math_func_hypotl+:} false; then :
20616 $as_echo_n "(cached) " >&6
20617 else
20618 if test x$gcc_no_link = xyes; then
20619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20622 /* end confdefs.h. */
20624 #ifdef HAVE_COMPLEX_H
20625 #include <complex.h>
20626 #endif
20627 #ifdef HAVE_MATH_H
20628 #include <math.h>
20629 #endif
20631 int (*ptr)() = (int (*)())hypotl;
20634 main ()
20636 return 0;
20639 _ACEOF
20640 if ac_fn_c_try_link "$LINENO"; then :
20641 gcc_cv_math_func_hypotl=yes
20642 else
20643 gcc_cv_math_func_hypotl=no
20645 rm -f core conftest.err conftest.$ac_objext \
20646 conftest$ac_exeext conftest.$ac_ext
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20649 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20650 if test $gcc_cv_math_func_hypotl = yes; then
20652 cat >>confdefs.h <<_ACEOF
20653 #define HAVE_HYPOTL 1
20654 _ACEOF
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20662 $as_echo_n "checking for ldexpf... " >&6; }
20663 if ${gcc_cv_math_func_ldexpf+:} false; then :
20664 $as_echo_n "(cached) " >&6
20665 else
20666 if test x$gcc_no_link = xyes; then
20667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20670 /* end confdefs.h. */
20672 #ifdef HAVE_COMPLEX_H
20673 #include <complex.h>
20674 #endif
20675 #ifdef HAVE_MATH_H
20676 #include <math.h>
20677 #endif
20679 int (*ptr)() = (int (*)())ldexpf;
20682 main ()
20684 return 0;
20687 _ACEOF
20688 if ac_fn_c_try_link "$LINENO"; then :
20689 gcc_cv_math_func_ldexpf=yes
20690 else
20691 gcc_cv_math_func_ldexpf=no
20693 rm -f core conftest.err conftest.$ac_objext \
20694 conftest$ac_exeext conftest.$ac_ext
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20697 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20698 if test $gcc_cv_math_func_ldexpf = yes; then
20700 cat >>confdefs.h <<_ACEOF
20701 #define HAVE_LDEXPF 1
20702 _ACEOF
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20710 $as_echo_n "checking for ldexp... " >&6; }
20711 if ${gcc_cv_math_func_ldexp+:} false; then :
20712 $as_echo_n "(cached) " >&6
20713 else
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 #ifdef HAVE_COMPLEX_H
20721 #include <complex.h>
20722 #endif
20723 #ifdef HAVE_MATH_H
20724 #include <math.h>
20725 #endif
20727 int (*ptr)() = (int (*)())ldexp;
20730 main ()
20732 return 0;
20735 _ACEOF
20736 if ac_fn_c_try_link "$LINENO"; then :
20737 gcc_cv_math_func_ldexp=yes
20738 else
20739 gcc_cv_math_func_ldexp=no
20741 rm -f core conftest.err conftest.$ac_objext \
20742 conftest$ac_exeext conftest.$ac_ext
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20745 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20746 if test $gcc_cv_math_func_ldexp = yes; then
20748 cat >>confdefs.h <<_ACEOF
20749 #define HAVE_LDEXP 1
20750 _ACEOF
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20758 $as_echo_n "checking for ldexpl... " >&6; }
20759 if ${gcc_cv_math_func_ldexpl+:} false; then :
20760 $as_echo_n "(cached) " >&6
20761 else
20762 if test x$gcc_no_link = xyes; then
20763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h. */
20768 #ifdef HAVE_COMPLEX_H
20769 #include <complex.h>
20770 #endif
20771 #ifdef HAVE_MATH_H
20772 #include <math.h>
20773 #endif
20775 int (*ptr)() = (int (*)())ldexpl;
20778 main ()
20780 return 0;
20783 _ACEOF
20784 if ac_fn_c_try_link "$LINENO"; then :
20785 gcc_cv_math_func_ldexpl=yes
20786 else
20787 gcc_cv_math_func_ldexpl=no
20789 rm -f core conftest.err conftest.$ac_objext \
20790 conftest$ac_exeext conftest.$ac_ext
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20793 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20794 if test $gcc_cv_math_func_ldexpl = yes; then
20796 cat >>confdefs.h <<_ACEOF
20797 #define HAVE_LDEXPL 1
20798 _ACEOF
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20806 $as_echo_n "checking for logf... " >&6; }
20807 if ${gcc_cv_math_func_logf+:} false; then :
20808 $as_echo_n "(cached) " >&6
20809 else
20810 if test x$gcc_no_link = xyes; then
20811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20816 #ifdef HAVE_COMPLEX_H
20817 #include <complex.h>
20818 #endif
20819 #ifdef HAVE_MATH_H
20820 #include <math.h>
20821 #endif
20823 int (*ptr)() = (int (*)())logf;
20826 main ()
20828 return 0;
20831 _ACEOF
20832 if ac_fn_c_try_link "$LINENO"; then :
20833 gcc_cv_math_func_logf=yes
20834 else
20835 gcc_cv_math_func_logf=no
20837 rm -f core conftest.err conftest.$ac_objext \
20838 conftest$ac_exeext conftest.$ac_ext
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20841 $as_echo "$gcc_cv_math_func_logf" >&6; }
20842 if test $gcc_cv_math_func_logf = yes; then
20844 cat >>confdefs.h <<_ACEOF
20845 #define HAVE_LOGF 1
20846 _ACEOF
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20854 $as_echo_n "checking for log... " >&6; }
20855 if ${gcc_cv_math_func_log+:} false; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20858 if test x$gcc_no_link = xyes; then
20859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20862 /* end confdefs.h. */
20864 #ifdef HAVE_COMPLEX_H
20865 #include <complex.h>
20866 #endif
20867 #ifdef HAVE_MATH_H
20868 #include <math.h>
20869 #endif
20871 int (*ptr)() = (int (*)())log;
20874 main ()
20876 return 0;
20879 _ACEOF
20880 if ac_fn_c_try_link "$LINENO"; then :
20881 gcc_cv_math_func_log=yes
20882 else
20883 gcc_cv_math_func_log=no
20885 rm -f core conftest.err conftest.$ac_objext \
20886 conftest$ac_exeext conftest.$ac_ext
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20889 $as_echo "$gcc_cv_math_func_log" >&6; }
20890 if test $gcc_cv_math_func_log = yes; then
20892 cat >>confdefs.h <<_ACEOF
20893 #define HAVE_LOG 1
20894 _ACEOF
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20902 $as_echo_n "checking for logl... " >&6; }
20903 if ${gcc_cv_math_func_logl+:} false; then :
20904 $as_echo_n "(cached) " >&6
20905 else
20906 if test x$gcc_no_link = xyes; then
20907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20912 #ifdef HAVE_COMPLEX_H
20913 #include <complex.h>
20914 #endif
20915 #ifdef HAVE_MATH_H
20916 #include <math.h>
20917 #endif
20919 int (*ptr)() = (int (*)())logl;
20922 main ()
20924 return 0;
20927 _ACEOF
20928 if ac_fn_c_try_link "$LINENO"; then :
20929 gcc_cv_math_func_logl=yes
20930 else
20931 gcc_cv_math_func_logl=no
20933 rm -f core conftest.err conftest.$ac_objext \
20934 conftest$ac_exeext conftest.$ac_ext
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20937 $as_echo "$gcc_cv_math_func_logl" >&6; }
20938 if test $gcc_cv_math_func_logl = yes; then
20940 cat >>confdefs.h <<_ACEOF
20941 #define HAVE_LOGL 1
20942 _ACEOF
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20950 $as_echo_n "checking for clogf... " >&6; }
20951 if ${gcc_cv_math_func_clogf+:} false; then :
20952 $as_echo_n "(cached) " >&6
20953 else
20954 if test x$gcc_no_link = xyes; then
20955 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20960 #ifdef HAVE_COMPLEX_H
20961 #include <complex.h>
20962 #endif
20963 #ifdef HAVE_MATH_H
20964 #include <math.h>
20965 #endif
20967 int (*ptr)() = (int (*)())clogf;
20970 main ()
20972 return 0;
20975 _ACEOF
20976 if ac_fn_c_try_link "$LINENO"; then :
20977 gcc_cv_math_func_clogf=yes
20978 else
20979 gcc_cv_math_func_clogf=no
20981 rm -f core conftest.err conftest.$ac_objext \
20982 conftest$ac_exeext conftest.$ac_ext
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20985 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20986 if test $gcc_cv_math_func_clogf = yes; then
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE_CLOGF 1
20990 _ACEOF
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20998 $as_echo_n "checking for clog... " >&6; }
20999 if ${gcc_cv_math_func_clog+:} false; then :
21000 $as_echo_n "(cached) " >&6
21001 else
21002 if test x$gcc_no_link = xyes; then
21003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21008 #ifdef HAVE_COMPLEX_H
21009 #include <complex.h>
21010 #endif
21011 #ifdef HAVE_MATH_H
21012 #include <math.h>
21013 #endif
21015 int (*ptr)() = (int (*)())clog;
21018 main ()
21020 return 0;
21023 _ACEOF
21024 if ac_fn_c_try_link "$LINENO"; then :
21025 gcc_cv_math_func_clog=yes
21026 else
21027 gcc_cv_math_func_clog=no
21029 rm -f core conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21033 $as_echo "$gcc_cv_math_func_clog" >&6; }
21034 if test $gcc_cv_math_func_clog = yes; then
21036 cat >>confdefs.h <<_ACEOF
21037 #define HAVE_CLOG 1
21038 _ACEOF
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21046 $as_echo_n "checking for clogl... " >&6; }
21047 if ${gcc_cv_math_func_clogl+:} false; then :
21048 $as_echo_n "(cached) " >&6
21049 else
21050 if test x$gcc_no_link = xyes; then
21051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21054 /* end confdefs.h. */
21056 #ifdef HAVE_COMPLEX_H
21057 #include <complex.h>
21058 #endif
21059 #ifdef HAVE_MATH_H
21060 #include <math.h>
21061 #endif
21063 int (*ptr)() = (int (*)())clogl;
21066 main ()
21068 return 0;
21071 _ACEOF
21072 if ac_fn_c_try_link "$LINENO"; then :
21073 gcc_cv_math_func_clogl=yes
21074 else
21075 gcc_cv_math_func_clogl=no
21077 rm -f core conftest.err conftest.$ac_objext \
21078 conftest$ac_exeext conftest.$ac_ext
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21081 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21082 if test $gcc_cv_math_func_clogl = yes; then
21084 cat >>confdefs.h <<_ACEOF
21085 #define HAVE_CLOGL 1
21086 _ACEOF
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21094 $as_echo_n "checking for log10f... " >&6; }
21095 if ${gcc_cv_math_func_log10f+:} false; then :
21096 $as_echo_n "(cached) " >&6
21097 else
21098 if test x$gcc_no_link = xyes; then
21099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21104 #ifdef HAVE_COMPLEX_H
21105 #include <complex.h>
21106 #endif
21107 #ifdef HAVE_MATH_H
21108 #include <math.h>
21109 #endif
21111 int (*ptr)() = (int (*)())log10f;
21114 main ()
21116 return 0;
21119 _ACEOF
21120 if ac_fn_c_try_link "$LINENO"; then :
21121 gcc_cv_math_func_log10f=yes
21122 else
21123 gcc_cv_math_func_log10f=no
21125 rm -f core conftest.err conftest.$ac_objext \
21126 conftest$ac_exeext conftest.$ac_ext
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21129 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21130 if test $gcc_cv_math_func_log10f = yes; then
21132 cat >>confdefs.h <<_ACEOF
21133 #define HAVE_LOG10F 1
21134 _ACEOF
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21142 $as_echo_n "checking for log10... " >&6; }
21143 if ${gcc_cv_math_func_log10+:} false; then :
21144 $as_echo_n "(cached) " >&6
21145 else
21146 if test x$gcc_no_link = xyes; then
21147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h. */
21152 #ifdef HAVE_COMPLEX_H
21153 #include <complex.h>
21154 #endif
21155 #ifdef HAVE_MATH_H
21156 #include <math.h>
21157 #endif
21159 int (*ptr)() = (int (*)())log10;
21162 main ()
21164 return 0;
21167 _ACEOF
21168 if ac_fn_c_try_link "$LINENO"; then :
21169 gcc_cv_math_func_log10=yes
21170 else
21171 gcc_cv_math_func_log10=no
21173 rm -f core conftest.err conftest.$ac_objext \
21174 conftest$ac_exeext conftest.$ac_ext
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21177 $as_echo "$gcc_cv_math_func_log10" >&6; }
21178 if test $gcc_cv_math_func_log10 = yes; then
21180 cat >>confdefs.h <<_ACEOF
21181 #define HAVE_LOG10 1
21182 _ACEOF
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21190 $as_echo_n "checking for log10l... " >&6; }
21191 if ${gcc_cv_math_func_log10l+:} false; then :
21192 $as_echo_n "(cached) " >&6
21193 else
21194 if test x$gcc_no_link = xyes; then
21195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21198 /* end confdefs.h. */
21200 #ifdef HAVE_COMPLEX_H
21201 #include <complex.h>
21202 #endif
21203 #ifdef HAVE_MATH_H
21204 #include <math.h>
21205 #endif
21207 int (*ptr)() = (int (*)())log10l;
21210 main ()
21212 return 0;
21215 _ACEOF
21216 if ac_fn_c_try_link "$LINENO"; then :
21217 gcc_cv_math_func_log10l=yes
21218 else
21219 gcc_cv_math_func_log10l=no
21221 rm -f core conftest.err conftest.$ac_objext \
21222 conftest$ac_exeext conftest.$ac_ext
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21225 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21226 if test $gcc_cv_math_func_log10l = yes; then
21228 cat >>confdefs.h <<_ACEOF
21229 #define HAVE_LOG10L 1
21230 _ACEOF
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21238 $as_echo_n "checking for clog10f... " >&6; }
21239 if ${gcc_cv_math_func_clog10f+:} false; then :
21240 $as_echo_n "(cached) " >&6
21241 else
21242 if test x$gcc_no_link = xyes; then
21243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h. */
21248 #ifdef HAVE_COMPLEX_H
21249 #include <complex.h>
21250 #endif
21251 #ifdef HAVE_MATH_H
21252 #include <math.h>
21253 #endif
21255 int (*ptr)() = (int (*)())clog10f;
21258 main ()
21260 return 0;
21263 _ACEOF
21264 if ac_fn_c_try_link "$LINENO"; then :
21265 gcc_cv_math_func_clog10f=yes
21266 else
21267 gcc_cv_math_func_clog10f=no
21269 rm -f core conftest.err conftest.$ac_objext \
21270 conftest$ac_exeext conftest.$ac_ext
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21273 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21274 if test $gcc_cv_math_func_clog10f = yes; then
21276 cat >>confdefs.h <<_ACEOF
21277 #define HAVE_CLOG10F 1
21278 _ACEOF
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21286 $as_echo_n "checking for clog10... " >&6; }
21287 if ${gcc_cv_math_func_clog10+:} false; then :
21288 $as_echo_n "(cached) " >&6
21289 else
21290 if test x$gcc_no_link = xyes; then
21291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21296 #ifdef HAVE_COMPLEX_H
21297 #include <complex.h>
21298 #endif
21299 #ifdef HAVE_MATH_H
21300 #include <math.h>
21301 #endif
21303 int (*ptr)() = (int (*)())clog10;
21306 main ()
21308 return 0;
21311 _ACEOF
21312 if ac_fn_c_try_link "$LINENO"; then :
21313 gcc_cv_math_func_clog10=yes
21314 else
21315 gcc_cv_math_func_clog10=no
21317 rm -f core conftest.err conftest.$ac_objext \
21318 conftest$ac_exeext conftest.$ac_ext
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21321 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21322 if test $gcc_cv_math_func_clog10 = yes; then
21324 cat >>confdefs.h <<_ACEOF
21325 #define HAVE_CLOG10 1
21326 _ACEOF
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21334 $as_echo_n "checking for clog10l... " >&6; }
21335 if ${gcc_cv_math_func_clog10l+:} false; then :
21336 $as_echo_n "(cached) " >&6
21337 else
21338 if test x$gcc_no_link = xyes; then
21339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21342 /* end confdefs.h. */
21344 #ifdef HAVE_COMPLEX_H
21345 #include <complex.h>
21346 #endif
21347 #ifdef HAVE_MATH_H
21348 #include <math.h>
21349 #endif
21351 int (*ptr)() = (int (*)())clog10l;
21354 main ()
21356 return 0;
21359 _ACEOF
21360 if ac_fn_c_try_link "$LINENO"; then :
21361 gcc_cv_math_func_clog10l=yes
21362 else
21363 gcc_cv_math_func_clog10l=no
21365 rm -f core conftest.err conftest.$ac_objext \
21366 conftest$ac_exeext conftest.$ac_ext
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21369 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21370 if test $gcc_cv_math_func_clog10l = yes; then
21372 cat >>confdefs.h <<_ACEOF
21373 #define HAVE_CLOG10L 1
21374 _ACEOF
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21382 $as_echo_n "checking for nextafterf... " >&6; }
21383 if ${gcc_cv_math_func_nextafterf+:} false; then :
21384 $as_echo_n "(cached) " >&6
21385 else
21386 if test x$gcc_no_link = xyes; then
21387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21390 /* end confdefs.h. */
21392 #ifdef HAVE_COMPLEX_H
21393 #include <complex.h>
21394 #endif
21395 #ifdef HAVE_MATH_H
21396 #include <math.h>
21397 #endif
21399 int (*ptr)() = (int (*)())nextafterf;
21402 main ()
21404 return 0;
21407 _ACEOF
21408 if ac_fn_c_try_link "$LINENO"; then :
21409 gcc_cv_math_func_nextafterf=yes
21410 else
21411 gcc_cv_math_func_nextafterf=no
21413 rm -f core conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext conftest.$ac_ext
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21417 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21418 if test $gcc_cv_math_func_nextafterf = yes; then
21420 cat >>confdefs.h <<_ACEOF
21421 #define HAVE_NEXTAFTERF 1
21422 _ACEOF
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21430 $as_echo_n "checking for nextafter... " >&6; }
21431 if ${gcc_cv_math_func_nextafter+:} false; then :
21432 $as_echo_n "(cached) " >&6
21433 else
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 #ifdef HAVE_COMPLEX_H
21441 #include <complex.h>
21442 #endif
21443 #ifdef HAVE_MATH_H
21444 #include <math.h>
21445 #endif
21447 int (*ptr)() = (int (*)())nextafter;
21450 main ()
21452 return 0;
21455 _ACEOF
21456 if ac_fn_c_try_link "$LINENO"; then :
21457 gcc_cv_math_func_nextafter=yes
21458 else
21459 gcc_cv_math_func_nextafter=no
21461 rm -f core conftest.err conftest.$ac_objext \
21462 conftest$ac_exeext conftest.$ac_ext
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21465 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21466 if test $gcc_cv_math_func_nextafter = yes; then
21468 cat >>confdefs.h <<_ACEOF
21469 #define HAVE_NEXTAFTER 1
21470 _ACEOF
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21478 $as_echo_n "checking for nextafterl... " >&6; }
21479 if ${gcc_cv_math_func_nextafterl+:} false; then :
21480 $as_echo_n "(cached) " >&6
21481 else
21482 if test x$gcc_no_link = xyes; then
21483 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21488 #ifdef HAVE_COMPLEX_H
21489 #include <complex.h>
21490 #endif
21491 #ifdef HAVE_MATH_H
21492 #include <math.h>
21493 #endif
21495 int (*ptr)() = (int (*)())nextafterl;
21498 main ()
21500 return 0;
21503 _ACEOF
21504 if ac_fn_c_try_link "$LINENO"; then :
21505 gcc_cv_math_func_nextafterl=yes
21506 else
21507 gcc_cv_math_func_nextafterl=no
21509 rm -f core conftest.err conftest.$ac_objext \
21510 conftest$ac_exeext conftest.$ac_ext
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21513 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21514 if test $gcc_cv_math_func_nextafterl = yes; then
21516 cat >>confdefs.h <<_ACEOF
21517 #define HAVE_NEXTAFTERL 1
21518 _ACEOF
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21526 $as_echo_n "checking for powf... " >&6; }
21527 if ${gcc_cv_math_func_powf+:} false; then :
21528 $as_echo_n "(cached) " >&6
21529 else
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21536 #ifdef HAVE_COMPLEX_H
21537 #include <complex.h>
21538 #endif
21539 #ifdef HAVE_MATH_H
21540 #include <math.h>
21541 #endif
21543 int (*ptr)() = (int (*)())powf;
21546 main ()
21548 return 0;
21551 _ACEOF
21552 if ac_fn_c_try_link "$LINENO"; then :
21553 gcc_cv_math_func_powf=yes
21554 else
21555 gcc_cv_math_func_powf=no
21557 rm -f core conftest.err conftest.$ac_objext \
21558 conftest$ac_exeext conftest.$ac_ext
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21561 $as_echo "$gcc_cv_math_func_powf" >&6; }
21562 if test $gcc_cv_math_func_powf = yes; then
21564 cat >>confdefs.h <<_ACEOF
21565 #define HAVE_POWF 1
21566 _ACEOF
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21574 $as_echo_n "checking for pow... " >&6; }
21575 if ${gcc_cv_math_func_pow+:} false; then :
21576 $as_echo_n "(cached) " >&6
21577 else
21578 if test x$gcc_no_link = xyes; then
21579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21584 #ifdef HAVE_COMPLEX_H
21585 #include <complex.h>
21586 #endif
21587 #ifdef HAVE_MATH_H
21588 #include <math.h>
21589 #endif
21591 int (*ptr)() = (int (*)())pow;
21594 main ()
21596 return 0;
21599 _ACEOF
21600 if ac_fn_c_try_link "$LINENO"; then :
21601 gcc_cv_math_func_pow=yes
21602 else
21603 gcc_cv_math_func_pow=no
21605 rm -f core conftest.err conftest.$ac_objext \
21606 conftest$ac_exeext conftest.$ac_ext
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21609 $as_echo "$gcc_cv_math_func_pow" >&6; }
21610 if test $gcc_cv_math_func_pow = yes; then
21612 cat >>confdefs.h <<_ACEOF
21613 #define HAVE_POW 1
21614 _ACEOF
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21622 $as_echo_n "checking for cpowf... " >&6; }
21623 if ${gcc_cv_math_func_cpowf+:} false; then :
21624 $as_echo_n "(cached) " >&6
21625 else
21626 if test x$gcc_no_link = xyes; then
21627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21630 /* end confdefs.h. */
21632 #ifdef HAVE_COMPLEX_H
21633 #include <complex.h>
21634 #endif
21635 #ifdef HAVE_MATH_H
21636 #include <math.h>
21637 #endif
21639 int (*ptr)() = (int (*)())cpowf;
21642 main ()
21644 return 0;
21647 _ACEOF
21648 if ac_fn_c_try_link "$LINENO"; then :
21649 gcc_cv_math_func_cpowf=yes
21650 else
21651 gcc_cv_math_func_cpowf=no
21653 rm -f core conftest.err conftest.$ac_objext \
21654 conftest$ac_exeext conftest.$ac_ext
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21657 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21658 if test $gcc_cv_math_func_cpowf = yes; then
21660 cat >>confdefs.h <<_ACEOF
21661 #define HAVE_CPOWF 1
21662 _ACEOF
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21670 $as_echo_n "checking for cpow... " >&6; }
21671 if ${gcc_cv_math_func_cpow+:} false; then :
21672 $as_echo_n "(cached) " >&6
21673 else
21674 if test x$gcc_no_link = xyes; then
21675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21680 #ifdef HAVE_COMPLEX_H
21681 #include <complex.h>
21682 #endif
21683 #ifdef HAVE_MATH_H
21684 #include <math.h>
21685 #endif
21687 int (*ptr)() = (int (*)())cpow;
21690 main ()
21692 return 0;
21695 _ACEOF
21696 if ac_fn_c_try_link "$LINENO"; then :
21697 gcc_cv_math_func_cpow=yes
21698 else
21699 gcc_cv_math_func_cpow=no
21701 rm -f core conftest.err conftest.$ac_objext \
21702 conftest$ac_exeext conftest.$ac_ext
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21705 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21706 if test $gcc_cv_math_func_cpow = yes; then
21708 cat >>confdefs.h <<_ACEOF
21709 #define HAVE_CPOW 1
21710 _ACEOF
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21718 $as_echo_n "checking for cpowl... " >&6; }
21719 if ${gcc_cv_math_func_cpowl+:} false; then :
21720 $as_echo_n "(cached) " >&6
21721 else
21722 if test x$gcc_no_link = xyes; then
21723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21726 /* end confdefs.h. */
21728 #ifdef HAVE_COMPLEX_H
21729 #include <complex.h>
21730 #endif
21731 #ifdef HAVE_MATH_H
21732 #include <math.h>
21733 #endif
21735 int (*ptr)() = (int (*)())cpowl;
21738 main ()
21740 return 0;
21743 _ACEOF
21744 if ac_fn_c_try_link "$LINENO"; then :
21745 gcc_cv_math_func_cpowl=yes
21746 else
21747 gcc_cv_math_func_cpowl=no
21749 rm -f core conftest.err conftest.$ac_objext \
21750 conftest$ac_exeext conftest.$ac_ext
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21753 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21754 if test $gcc_cv_math_func_cpowl = yes; then
21756 cat >>confdefs.h <<_ACEOF
21757 #define HAVE_CPOWL 1
21758 _ACEOF
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21766 $as_echo_n "checking for roundf... " >&6; }
21767 if ${gcc_cv_math_func_roundf+:} false; then :
21768 $as_echo_n "(cached) " >&6
21769 else
21770 if test x$gcc_no_link = xyes; then
21771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21776 #ifdef HAVE_COMPLEX_H
21777 #include <complex.h>
21778 #endif
21779 #ifdef HAVE_MATH_H
21780 #include <math.h>
21781 #endif
21783 int (*ptr)() = (int (*)())roundf;
21786 main ()
21788 return 0;
21791 _ACEOF
21792 if ac_fn_c_try_link "$LINENO"; then :
21793 gcc_cv_math_func_roundf=yes
21794 else
21795 gcc_cv_math_func_roundf=no
21797 rm -f core conftest.err conftest.$ac_objext \
21798 conftest$ac_exeext conftest.$ac_ext
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21801 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21802 if test $gcc_cv_math_func_roundf = yes; then
21804 cat >>confdefs.h <<_ACEOF
21805 #define HAVE_ROUNDF 1
21806 _ACEOF
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21814 $as_echo_n "checking for round... " >&6; }
21815 if ${gcc_cv_math_func_round+:} false; then :
21816 $as_echo_n "(cached) " >&6
21817 else
21818 if test x$gcc_no_link = xyes; then
21819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21822 /* end confdefs.h. */
21824 #ifdef HAVE_COMPLEX_H
21825 #include <complex.h>
21826 #endif
21827 #ifdef HAVE_MATH_H
21828 #include <math.h>
21829 #endif
21831 int (*ptr)() = (int (*)())round;
21834 main ()
21836 return 0;
21839 _ACEOF
21840 if ac_fn_c_try_link "$LINENO"; then :
21841 gcc_cv_math_func_round=yes
21842 else
21843 gcc_cv_math_func_round=no
21845 rm -f core conftest.err conftest.$ac_objext \
21846 conftest$ac_exeext conftest.$ac_ext
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21849 $as_echo "$gcc_cv_math_func_round" >&6; }
21850 if test $gcc_cv_math_func_round = yes; then
21852 cat >>confdefs.h <<_ACEOF
21853 #define HAVE_ROUND 1
21854 _ACEOF
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21862 $as_echo_n "checking for roundl... " >&6; }
21863 if ${gcc_cv_math_func_roundl+:} false; then :
21864 $as_echo_n "(cached) " >&6
21865 else
21866 if test x$gcc_no_link = xyes; then
21867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21872 #ifdef HAVE_COMPLEX_H
21873 #include <complex.h>
21874 #endif
21875 #ifdef HAVE_MATH_H
21876 #include <math.h>
21877 #endif
21879 int (*ptr)() = (int (*)())roundl;
21882 main ()
21884 return 0;
21887 _ACEOF
21888 if ac_fn_c_try_link "$LINENO"; then :
21889 gcc_cv_math_func_roundl=yes
21890 else
21891 gcc_cv_math_func_roundl=no
21893 rm -f core conftest.err conftest.$ac_objext \
21894 conftest$ac_exeext conftest.$ac_ext
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21897 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21898 if test $gcc_cv_math_func_roundl = yes; then
21900 cat >>confdefs.h <<_ACEOF
21901 #define HAVE_ROUNDL 1
21902 _ACEOF
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21910 $as_echo_n "checking for lroundf... " >&6; }
21911 if ${gcc_cv_math_func_lroundf+:} false; then :
21912 $as_echo_n "(cached) " >&6
21913 else
21914 if test x$gcc_no_link = xyes; then
21915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h. */
21920 #ifdef HAVE_COMPLEX_H
21921 #include <complex.h>
21922 #endif
21923 #ifdef HAVE_MATH_H
21924 #include <math.h>
21925 #endif
21927 int (*ptr)() = (int (*)())lroundf;
21930 main ()
21932 return 0;
21935 _ACEOF
21936 if ac_fn_c_try_link "$LINENO"; then :
21937 gcc_cv_math_func_lroundf=yes
21938 else
21939 gcc_cv_math_func_lroundf=no
21941 rm -f core conftest.err conftest.$ac_objext \
21942 conftest$ac_exeext conftest.$ac_ext
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21945 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21946 if test $gcc_cv_math_func_lroundf = yes; then
21948 cat >>confdefs.h <<_ACEOF
21949 #define HAVE_LROUNDF 1
21950 _ACEOF
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21958 $as_echo_n "checking for lround... " >&6; }
21959 if ${gcc_cv_math_func_lround+:} false; then :
21960 $as_echo_n "(cached) " >&6
21961 else
21962 if test x$gcc_no_link = xyes; then
21963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21966 /* end confdefs.h. */
21968 #ifdef HAVE_COMPLEX_H
21969 #include <complex.h>
21970 #endif
21971 #ifdef HAVE_MATH_H
21972 #include <math.h>
21973 #endif
21975 int (*ptr)() = (int (*)())lround;
21978 main ()
21980 return 0;
21983 _ACEOF
21984 if ac_fn_c_try_link "$LINENO"; then :
21985 gcc_cv_math_func_lround=yes
21986 else
21987 gcc_cv_math_func_lround=no
21989 rm -f core conftest.err conftest.$ac_objext \
21990 conftest$ac_exeext conftest.$ac_ext
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21993 $as_echo "$gcc_cv_math_func_lround" >&6; }
21994 if test $gcc_cv_math_func_lround = yes; then
21996 cat >>confdefs.h <<_ACEOF
21997 #define HAVE_LROUND 1
21998 _ACEOF
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22006 $as_echo_n "checking for lroundl... " >&6; }
22007 if ${gcc_cv_math_func_lroundl+:} false; then :
22008 $as_echo_n "(cached) " >&6
22009 else
22010 if test x$gcc_no_link = xyes; then
22011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22016 #ifdef HAVE_COMPLEX_H
22017 #include <complex.h>
22018 #endif
22019 #ifdef HAVE_MATH_H
22020 #include <math.h>
22021 #endif
22023 int (*ptr)() = (int (*)())lroundl;
22026 main ()
22028 return 0;
22031 _ACEOF
22032 if ac_fn_c_try_link "$LINENO"; then :
22033 gcc_cv_math_func_lroundl=yes
22034 else
22035 gcc_cv_math_func_lroundl=no
22037 rm -f core conftest.err conftest.$ac_objext \
22038 conftest$ac_exeext conftest.$ac_ext
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22041 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22042 if test $gcc_cv_math_func_lroundl = yes; then
22044 cat >>confdefs.h <<_ACEOF
22045 #define HAVE_LROUNDL 1
22046 _ACEOF
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22054 $as_echo_n "checking for llroundf... " >&6; }
22055 if ${gcc_cv_math_func_llroundf+:} false; then :
22056 $as_echo_n "(cached) " >&6
22057 else
22058 if test x$gcc_no_link = xyes; then
22059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22062 /* end confdefs.h. */
22064 #ifdef HAVE_COMPLEX_H
22065 #include <complex.h>
22066 #endif
22067 #ifdef HAVE_MATH_H
22068 #include <math.h>
22069 #endif
22071 int (*ptr)() = (int (*)())llroundf;
22074 main ()
22076 return 0;
22079 _ACEOF
22080 if ac_fn_c_try_link "$LINENO"; then :
22081 gcc_cv_math_func_llroundf=yes
22082 else
22083 gcc_cv_math_func_llroundf=no
22085 rm -f core conftest.err conftest.$ac_objext \
22086 conftest$ac_exeext conftest.$ac_ext
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22089 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22090 if test $gcc_cv_math_func_llroundf = yes; then
22092 cat >>confdefs.h <<_ACEOF
22093 #define HAVE_LLROUNDF 1
22094 _ACEOF
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22102 $as_echo_n "checking for llround... " >&6; }
22103 if ${gcc_cv_math_func_llround+:} false; then :
22104 $as_echo_n "(cached) " >&6
22105 else
22106 if test x$gcc_no_link = xyes; then
22107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22110 /* end confdefs.h. */
22112 #ifdef HAVE_COMPLEX_H
22113 #include <complex.h>
22114 #endif
22115 #ifdef HAVE_MATH_H
22116 #include <math.h>
22117 #endif
22119 int (*ptr)() = (int (*)())llround;
22122 main ()
22124 return 0;
22127 _ACEOF
22128 if ac_fn_c_try_link "$LINENO"; then :
22129 gcc_cv_math_func_llround=yes
22130 else
22131 gcc_cv_math_func_llround=no
22133 rm -f core conftest.err conftest.$ac_objext \
22134 conftest$ac_exeext conftest.$ac_ext
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22137 $as_echo "$gcc_cv_math_func_llround" >&6; }
22138 if test $gcc_cv_math_func_llround = yes; then
22140 cat >>confdefs.h <<_ACEOF
22141 #define HAVE_LLROUND 1
22142 _ACEOF
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22150 $as_echo_n "checking for llroundl... " >&6; }
22151 if ${gcc_cv_math_func_llroundl+:} false; then :
22152 $as_echo_n "(cached) " >&6
22153 else
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 #ifdef HAVE_COMPLEX_H
22161 #include <complex.h>
22162 #endif
22163 #ifdef HAVE_MATH_H
22164 #include <math.h>
22165 #endif
22167 int (*ptr)() = (int (*)())llroundl;
22170 main ()
22172 return 0;
22175 _ACEOF
22176 if ac_fn_c_try_link "$LINENO"; then :
22177 gcc_cv_math_func_llroundl=yes
22178 else
22179 gcc_cv_math_func_llroundl=no
22181 rm -f core conftest.err conftest.$ac_objext \
22182 conftest$ac_exeext conftest.$ac_ext
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22185 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22186 if test $gcc_cv_math_func_llroundl = yes; then
22188 cat >>confdefs.h <<_ACEOF
22189 #define HAVE_LLROUNDL 1
22190 _ACEOF
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22198 $as_echo_n "checking for scalbnf... " >&6; }
22199 if ${gcc_cv_math_func_scalbnf+:} false; then :
22200 $as_echo_n "(cached) " >&6
22201 else
22202 if test x$gcc_no_link = xyes; then
22203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22208 #ifdef HAVE_COMPLEX_H
22209 #include <complex.h>
22210 #endif
22211 #ifdef HAVE_MATH_H
22212 #include <math.h>
22213 #endif
22215 int (*ptr)() = (int (*)())scalbnf;
22218 main ()
22220 return 0;
22223 _ACEOF
22224 if ac_fn_c_try_link "$LINENO"; then :
22225 gcc_cv_math_func_scalbnf=yes
22226 else
22227 gcc_cv_math_func_scalbnf=no
22229 rm -f core conftest.err conftest.$ac_objext \
22230 conftest$ac_exeext conftest.$ac_ext
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22233 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22234 if test $gcc_cv_math_func_scalbnf = yes; then
22236 cat >>confdefs.h <<_ACEOF
22237 #define HAVE_SCALBNF 1
22238 _ACEOF
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22246 $as_echo_n "checking for scalbn... " >&6; }
22247 if ${gcc_cv_math_func_scalbn+:} false; then :
22248 $as_echo_n "(cached) " >&6
22249 else
22250 if test x$gcc_no_link = xyes; then
22251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22254 /* end confdefs.h. */
22256 #ifdef HAVE_COMPLEX_H
22257 #include <complex.h>
22258 #endif
22259 #ifdef HAVE_MATH_H
22260 #include <math.h>
22261 #endif
22263 int (*ptr)() = (int (*)())scalbn;
22266 main ()
22268 return 0;
22271 _ACEOF
22272 if ac_fn_c_try_link "$LINENO"; then :
22273 gcc_cv_math_func_scalbn=yes
22274 else
22275 gcc_cv_math_func_scalbn=no
22277 rm -f core conftest.err conftest.$ac_objext \
22278 conftest$ac_exeext conftest.$ac_ext
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22281 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22282 if test $gcc_cv_math_func_scalbn = yes; then
22284 cat >>confdefs.h <<_ACEOF
22285 #define HAVE_SCALBN 1
22286 _ACEOF
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22294 $as_echo_n "checking for scalbnl... " >&6; }
22295 if ${gcc_cv_math_func_scalbnl+:} false; then :
22296 $as_echo_n "(cached) " >&6
22297 else
22298 if test x$gcc_no_link = xyes; then
22299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22302 /* end confdefs.h. */
22304 #ifdef HAVE_COMPLEX_H
22305 #include <complex.h>
22306 #endif
22307 #ifdef HAVE_MATH_H
22308 #include <math.h>
22309 #endif
22311 int (*ptr)() = (int (*)())scalbnl;
22314 main ()
22316 return 0;
22319 _ACEOF
22320 if ac_fn_c_try_link "$LINENO"; then :
22321 gcc_cv_math_func_scalbnl=yes
22322 else
22323 gcc_cv_math_func_scalbnl=no
22325 rm -f core conftest.err conftest.$ac_objext \
22326 conftest$ac_exeext conftest.$ac_ext
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22329 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22330 if test $gcc_cv_math_func_scalbnl = yes; then
22332 cat >>confdefs.h <<_ACEOF
22333 #define HAVE_SCALBNL 1
22334 _ACEOF
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22342 $as_echo_n "checking for sinf... " >&6; }
22343 if ${gcc_cv_math_func_sinf+:} false; then :
22344 $as_echo_n "(cached) " >&6
22345 else
22346 if test x$gcc_no_link = xyes; then
22347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h. */
22352 #ifdef HAVE_COMPLEX_H
22353 #include <complex.h>
22354 #endif
22355 #ifdef HAVE_MATH_H
22356 #include <math.h>
22357 #endif
22359 int (*ptr)() = (int (*)())sinf;
22362 main ()
22364 return 0;
22367 _ACEOF
22368 if ac_fn_c_try_link "$LINENO"; then :
22369 gcc_cv_math_func_sinf=yes
22370 else
22371 gcc_cv_math_func_sinf=no
22373 rm -f core conftest.err conftest.$ac_objext \
22374 conftest$ac_exeext conftest.$ac_ext
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22377 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22378 if test $gcc_cv_math_func_sinf = yes; then
22380 cat >>confdefs.h <<_ACEOF
22381 #define HAVE_SINF 1
22382 _ACEOF
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22390 $as_echo_n "checking for sin... " >&6; }
22391 if ${gcc_cv_math_func_sin+:} false; then :
22392 $as_echo_n "(cached) " >&6
22393 else
22394 if test x$gcc_no_link = xyes; then
22395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22398 /* end confdefs.h. */
22400 #ifdef HAVE_COMPLEX_H
22401 #include <complex.h>
22402 #endif
22403 #ifdef HAVE_MATH_H
22404 #include <math.h>
22405 #endif
22407 int (*ptr)() = (int (*)())sin;
22410 main ()
22412 return 0;
22415 _ACEOF
22416 if ac_fn_c_try_link "$LINENO"; then :
22417 gcc_cv_math_func_sin=yes
22418 else
22419 gcc_cv_math_func_sin=no
22421 rm -f core conftest.err conftest.$ac_objext \
22422 conftest$ac_exeext conftest.$ac_ext
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22425 $as_echo "$gcc_cv_math_func_sin" >&6; }
22426 if test $gcc_cv_math_func_sin = yes; then
22428 cat >>confdefs.h <<_ACEOF
22429 #define HAVE_SIN 1
22430 _ACEOF
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22438 $as_echo_n "checking for sinl... " >&6; }
22439 if ${gcc_cv_math_func_sinl+:} false; then :
22440 $as_echo_n "(cached) " >&6
22441 else
22442 if test x$gcc_no_link = xyes; then
22443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22446 /* end confdefs.h. */
22448 #ifdef HAVE_COMPLEX_H
22449 #include <complex.h>
22450 #endif
22451 #ifdef HAVE_MATH_H
22452 #include <math.h>
22453 #endif
22455 int (*ptr)() = (int (*)())sinl;
22458 main ()
22460 return 0;
22463 _ACEOF
22464 if ac_fn_c_try_link "$LINENO"; then :
22465 gcc_cv_math_func_sinl=yes
22466 else
22467 gcc_cv_math_func_sinl=no
22469 rm -f core conftest.err conftest.$ac_objext \
22470 conftest$ac_exeext conftest.$ac_ext
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22473 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22474 if test $gcc_cv_math_func_sinl = yes; then
22476 cat >>confdefs.h <<_ACEOF
22477 #define HAVE_SINL 1
22478 _ACEOF
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22486 $as_echo_n "checking for csinf... " >&6; }
22487 if ${gcc_cv_math_func_csinf+:} false; then :
22488 $as_echo_n "(cached) " >&6
22489 else
22490 if test x$gcc_no_link = xyes; then
22491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22494 /* end confdefs.h. */
22496 #ifdef HAVE_COMPLEX_H
22497 #include <complex.h>
22498 #endif
22499 #ifdef HAVE_MATH_H
22500 #include <math.h>
22501 #endif
22503 int (*ptr)() = (int (*)())csinf;
22506 main ()
22508 return 0;
22511 _ACEOF
22512 if ac_fn_c_try_link "$LINENO"; then :
22513 gcc_cv_math_func_csinf=yes
22514 else
22515 gcc_cv_math_func_csinf=no
22517 rm -f core conftest.err conftest.$ac_objext \
22518 conftest$ac_exeext conftest.$ac_ext
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22521 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22522 if test $gcc_cv_math_func_csinf = yes; then
22524 cat >>confdefs.h <<_ACEOF
22525 #define HAVE_CSINF 1
22526 _ACEOF
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22534 $as_echo_n "checking for csin... " >&6; }
22535 if ${gcc_cv_math_func_csin+:} false; then :
22536 $as_echo_n "(cached) " >&6
22537 else
22538 if test x$gcc_no_link = xyes; then
22539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22542 /* end confdefs.h. */
22544 #ifdef HAVE_COMPLEX_H
22545 #include <complex.h>
22546 #endif
22547 #ifdef HAVE_MATH_H
22548 #include <math.h>
22549 #endif
22551 int (*ptr)() = (int (*)())csin;
22554 main ()
22556 return 0;
22559 _ACEOF
22560 if ac_fn_c_try_link "$LINENO"; then :
22561 gcc_cv_math_func_csin=yes
22562 else
22563 gcc_cv_math_func_csin=no
22565 rm -f core conftest.err conftest.$ac_objext \
22566 conftest$ac_exeext conftest.$ac_ext
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22569 $as_echo "$gcc_cv_math_func_csin" >&6; }
22570 if test $gcc_cv_math_func_csin = yes; then
22572 cat >>confdefs.h <<_ACEOF
22573 #define HAVE_CSIN 1
22574 _ACEOF
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22582 $as_echo_n "checking for csinl... " >&6; }
22583 if ${gcc_cv_math_func_csinl+:} false; then :
22584 $as_echo_n "(cached) " >&6
22585 else
22586 if test x$gcc_no_link = xyes; then
22587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22590 /* end confdefs.h. */
22592 #ifdef HAVE_COMPLEX_H
22593 #include <complex.h>
22594 #endif
22595 #ifdef HAVE_MATH_H
22596 #include <math.h>
22597 #endif
22599 int (*ptr)() = (int (*)())csinl;
22602 main ()
22604 return 0;
22607 _ACEOF
22608 if ac_fn_c_try_link "$LINENO"; then :
22609 gcc_cv_math_func_csinl=yes
22610 else
22611 gcc_cv_math_func_csinl=no
22613 rm -f core conftest.err conftest.$ac_objext \
22614 conftest$ac_exeext conftest.$ac_ext
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22617 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22618 if test $gcc_cv_math_func_csinl = yes; then
22620 cat >>confdefs.h <<_ACEOF
22621 #define HAVE_CSINL 1
22622 _ACEOF
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22630 $as_echo_n "checking for sinhf... " >&6; }
22631 if ${gcc_cv_math_func_sinhf+:} false; then :
22632 $as_echo_n "(cached) " >&6
22633 else
22634 if test x$gcc_no_link = xyes; then
22635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22638 /* end confdefs.h. */
22640 #ifdef HAVE_COMPLEX_H
22641 #include <complex.h>
22642 #endif
22643 #ifdef HAVE_MATH_H
22644 #include <math.h>
22645 #endif
22647 int (*ptr)() = (int (*)())sinhf;
22650 main ()
22652 return 0;
22655 _ACEOF
22656 if ac_fn_c_try_link "$LINENO"; then :
22657 gcc_cv_math_func_sinhf=yes
22658 else
22659 gcc_cv_math_func_sinhf=no
22661 rm -f core conftest.err conftest.$ac_objext \
22662 conftest$ac_exeext conftest.$ac_ext
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22665 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22666 if test $gcc_cv_math_func_sinhf = yes; then
22668 cat >>confdefs.h <<_ACEOF
22669 #define HAVE_SINHF 1
22670 _ACEOF
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22678 $as_echo_n "checking for sinh... " >&6; }
22679 if ${gcc_cv_math_func_sinh+:} false; then :
22680 $as_echo_n "(cached) " >&6
22681 else
22682 if test x$gcc_no_link = xyes; then
22683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22686 /* end confdefs.h. */
22688 #ifdef HAVE_COMPLEX_H
22689 #include <complex.h>
22690 #endif
22691 #ifdef HAVE_MATH_H
22692 #include <math.h>
22693 #endif
22695 int (*ptr)() = (int (*)())sinh;
22698 main ()
22700 return 0;
22703 _ACEOF
22704 if ac_fn_c_try_link "$LINENO"; then :
22705 gcc_cv_math_func_sinh=yes
22706 else
22707 gcc_cv_math_func_sinh=no
22709 rm -f core conftest.err conftest.$ac_objext \
22710 conftest$ac_exeext conftest.$ac_ext
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22713 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22714 if test $gcc_cv_math_func_sinh = yes; then
22716 cat >>confdefs.h <<_ACEOF
22717 #define HAVE_SINH 1
22718 _ACEOF
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22726 $as_echo_n "checking for sinhl... " >&6; }
22727 if ${gcc_cv_math_func_sinhl+:} false; then :
22728 $as_echo_n "(cached) " >&6
22729 else
22730 if test x$gcc_no_link = xyes; then
22731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22734 /* end confdefs.h. */
22736 #ifdef HAVE_COMPLEX_H
22737 #include <complex.h>
22738 #endif
22739 #ifdef HAVE_MATH_H
22740 #include <math.h>
22741 #endif
22743 int (*ptr)() = (int (*)())sinhl;
22746 main ()
22748 return 0;
22751 _ACEOF
22752 if ac_fn_c_try_link "$LINENO"; then :
22753 gcc_cv_math_func_sinhl=yes
22754 else
22755 gcc_cv_math_func_sinhl=no
22757 rm -f core conftest.err conftest.$ac_objext \
22758 conftest$ac_exeext conftest.$ac_ext
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22761 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22762 if test $gcc_cv_math_func_sinhl = yes; then
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_SINHL 1
22766 _ACEOF
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22774 $as_echo_n "checking for csinhf... " >&6; }
22775 if ${gcc_cv_math_func_csinhf+:} false; then :
22776 $as_echo_n "(cached) " >&6
22777 else
22778 if test x$gcc_no_link = xyes; then
22779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22782 /* end confdefs.h. */
22784 #ifdef HAVE_COMPLEX_H
22785 #include <complex.h>
22786 #endif
22787 #ifdef HAVE_MATH_H
22788 #include <math.h>
22789 #endif
22791 int (*ptr)() = (int (*)())csinhf;
22794 main ()
22796 return 0;
22799 _ACEOF
22800 if ac_fn_c_try_link "$LINENO"; then :
22801 gcc_cv_math_func_csinhf=yes
22802 else
22803 gcc_cv_math_func_csinhf=no
22805 rm -f core conftest.err conftest.$ac_objext \
22806 conftest$ac_exeext conftest.$ac_ext
22808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22809 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22810 if test $gcc_cv_math_func_csinhf = yes; then
22812 cat >>confdefs.h <<_ACEOF
22813 #define HAVE_CSINHF 1
22814 _ACEOF
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22822 $as_echo_n "checking for csinh... " >&6; }
22823 if ${gcc_cv_math_func_csinh+:} false; then :
22824 $as_echo_n "(cached) " >&6
22825 else
22826 if test x$gcc_no_link = xyes; then
22827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22830 /* end confdefs.h. */
22832 #ifdef HAVE_COMPLEX_H
22833 #include <complex.h>
22834 #endif
22835 #ifdef HAVE_MATH_H
22836 #include <math.h>
22837 #endif
22839 int (*ptr)() = (int (*)())csinh;
22842 main ()
22844 return 0;
22847 _ACEOF
22848 if ac_fn_c_try_link "$LINENO"; then :
22849 gcc_cv_math_func_csinh=yes
22850 else
22851 gcc_cv_math_func_csinh=no
22853 rm -f core conftest.err conftest.$ac_objext \
22854 conftest$ac_exeext conftest.$ac_ext
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22857 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22858 if test $gcc_cv_math_func_csinh = yes; then
22860 cat >>confdefs.h <<_ACEOF
22861 #define HAVE_CSINH 1
22862 _ACEOF
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22870 $as_echo_n "checking for csinhl... " >&6; }
22871 if ${gcc_cv_math_func_csinhl+:} false; then :
22872 $as_echo_n "(cached) " >&6
22873 else
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 #ifdef HAVE_COMPLEX_H
22881 #include <complex.h>
22882 #endif
22883 #ifdef HAVE_MATH_H
22884 #include <math.h>
22885 #endif
22887 int (*ptr)() = (int (*)())csinhl;
22890 main ()
22892 return 0;
22895 _ACEOF
22896 if ac_fn_c_try_link "$LINENO"; then :
22897 gcc_cv_math_func_csinhl=yes
22898 else
22899 gcc_cv_math_func_csinhl=no
22901 rm -f core conftest.err conftest.$ac_objext \
22902 conftest$ac_exeext conftest.$ac_ext
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22905 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22906 if test $gcc_cv_math_func_csinhl = yes; then
22908 cat >>confdefs.h <<_ACEOF
22909 #define HAVE_CSINHL 1
22910 _ACEOF
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22918 $as_echo_n "checking for sqrtf... " >&6; }
22919 if ${gcc_cv_math_func_sqrtf+:} false; then :
22920 $as_echo_n "(cached) " >&6
22921 else
22922 if test x$gcc_no_link = xyes; then
22923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22926 /* end confdefs.h. */
22928 #ifdef HAVE_COMPLEX_H
22929 #include <complex.h>
22930 #endif
22931 #ifdef HAVE_MATH_H
22932 #include <math.h>
22933 #endif
22935 int (*ptr)() = (int (*)())sqrtf;
22938 main ()
22940 return 0;
22943 _ACEOF
22944 if ac_fn_c_try_link "$LINENO"; then :
22945 gcc_cv_math_func_sqrtf=yes
22946 else
22947 gcc_cv_math_func_sqrtf=no
22949 rm -f core conftest.err conftest.$ac_objext \
22950 conftest$ac_exeext conftest.$ac_ext
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22953 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22954 if test $gcc_cv_math_func_sqrtf = yes; then
22956 cat >>confdefs.h <<_ACEOF
22957 #define HAVE_SQRTF 1
22958 _ACEOF
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22966 $as_echo_n "checking for sqrt... " >&6; }
22967 if ${gcc_cv_math_func_sqrt+:} false; then :
22968 $as_echo_n "(cached) " >&6
22969 else
22970 if test x$gcc_no_link = xyes; then
22971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22974 /* end confdefs.h. */
22976 #ifdef HAVE_COMPLEX_H
22977 #include <complex.h>
22978 #endif
22979 #ifdef HAVE_MATH_H
22980 #include <math.h>
22981 #endif
22983 int (*ptr)() = (int (*)())sqrt;
22986 main ()
22988 return 0;
22991 _ACEOF
22992 if ac_fn_c_try_link "$LINENO"; then :
22993 gcc_cv_math_func_sqrt=yes
22994 else
22995 gcc_cv_math_func_sqrt=no
22997 rm -f core conftest.err conftest.$ac_objext \
22998 conftest$ac_exeext conftest.$ac_ext
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23001 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23002 if test $gcc_cv_math_func_sqrt = yes; then
23004 cat >>confdefs.h <<_ACEOF
23005 #define HAVE_SQRT 1
23006 _ACEOF
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23014 $as_echo_n "checking for sqrtl... " >&6; }
23015 if ${gcc_cv_math_func_sqrtl+:} false; then :
23016 $as_echo_n "(cached) " >&6
23017 else
23018 if test x$gcc_no_link = xyes; then
23019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23022 /* end confdefs.h. */
23024 #ifdef HAVE_COMPLEX_H
23025 #include <complex.h>
23026 #endif
23027 #ifdef HAVE_MATH_H
23028 #include <math.h>
23029 #endif
23031 int (*ptr)() = (int (*)())sqrtl;
23034 main ()
23036 return 0;
23039 _ACEOF
23040 if ac_fn_c_try_link "$LINENO"; then :
23041 gcc_cv_math_func_sqrtl=yes
23042 else
23043 gcc_cv_math_func_sqrtl=no
23045 rm -f core conftest.err conftest.$ac_objext \
23046 conftest$ac_exeext conftest.$ac_ext
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23049 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23050 if test $gcc_cv_math_func_sqrtl = yes; then
23052 cat >>confdefs.h <<_ACEOF
23053 #define HAVE_SQRTL 1
23054 _ACEOF
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23062 $as_echo_n "checking for csqrtf... " >&6; }
23063 if ${gcc_cv_math_func_csqrtf+:} false; then :
23064 $as_echo_n "(cached) " >&6
23065 else
23066 if test x$gcc_no_link = xyes; then
23067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23072 #ifdef HAVE_COMPLEX_H
23073 #include <complex.h>
23074 #endif
23075 #ifdef HAVE_MATH_H
23076 #include <math.h>
23077 #endif
23079 int (*ptr)() = (int (*)())csqrtf;
23082 main ()
23084 return 0;
23087 _ACEOF
23088 if ac_fn_c_try_link "$LINENO"; then :
23089 gcc_cv_math_func_csqrtf=yes
23090 else
23091 gcc_cv_math_func_csqrtf=no
23093 rm -f core conftest.err conftest.$ac_objext \
23094 conftest$ac_exeext conftest.$ac_ext
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23097 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23098 if test $gcc_cv_math_func_csqrtf = yes; then
23100 cat >>confdefs.h <<_ACEOF
23101 #define HAVE_CSQRTF 1
23102 _ACEOF
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23110 $as_echo_n "checking for csqrt... " >&6; }
23111 if ${gcc_cv_math_func_csqrt+:} false; then :
23112 $as_echo_n "(cached) " >&6
23113 else
23114 if test x$gcc_no_link = xyes; then
23115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23118 /* end confdefs.h. */
23120 #ifdef HAVE_COMPLEX_H
23121 #include <complex.h>
23122 #endif
23123 #ifdef HAVE_MATH_H
23124 #include <math.h>
23125 #endif
23127 int (*ptr)() = (int (*)())csqrt;
23130 main ()
23132 return 0;
23135 _ACEOF
23136 if ac_fn_c_try_link "$LINENO"; then :
23137 gcc_cv_math_func_csqrt=yes
23138 else
23139 gcc_cv_math_func_csqrt=no
23141 rm -f core conftest.err conftest.$ac_objext \
23142 conftest$ac_exeext conftest.$ac_ext
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23145 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23146 if test $gcc_cv_math_func_csqrt = yes; then
23148 cat >>confdefs.h <<_ACEOF
23149 #define HAVE_CSQRT 1
23150 _ACEOF
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23158 $as_echo_n "checking for csqrtl... " >&6; }
23159 if ${gcc_cv_math_func_csqrtl+:} false; then :
23160 $as_echo_n "(cached) " >&6
23161 else
23162 if test x$gcc_no_link = xyes; then
23163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23166 /* end confdefs.h. */
23168 #ifdef HAVE_COMPLEX_H
23169 #include <complex.h>
23170 #endif
23171 #ifdef HAVE_MATH_H
23172 #include <math.h>
23173 #endif
23175 int (*ptr)() = (int (*)())csqrtl;
23178 main ()
23180 return 0;
23183 _ACEOF
23184 if ac_fn_c_try_link "$LINENO"; then :
23185 gcc_cv_math_func_csqrtl=yes
23186 else
23187 gcc_cv_math_func_csqrtl=no
23189 rm -f core conftest.err conftest.$ac_objext \
23190 conftest$ac_exeext conftest.$ac_ext
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23193 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23194 if test $gcc_cv_math_func_csqrtl = yes; then
23196 cat >>confdefs.h <<_ACEOF
23197 #define HAVE_CSQRTL 1
23198 _ACEOF
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23206 $as_echo_n "checking for tanf... " >&6; }
23207 if ${gcc_cv_math_func_tanf+:} false; then :
23208 $as_echo_n "(cached) " >&6
23209 else
23210 if test x$gcc_no_link = xyes; then
23211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23216 #ifdef HAVE_COMPLEX_H
23217 #include <complex.h>
23218 #endif
23219 #ifdef HAVE_MATH_H
23220 #include <math.h>
23221 #endif
23223 int (*ptr)() = (int (*)())tanf;
23226 main ()
23228 return 0;
23231 _ACEOF
23232 if ac_fn_c_try_link "$LINENO"; then :
23233 gcc_cv_math_func_tanf=yes
23234 else
23235 gcc_cv_math_func_tanf=no
23237 rm -f core conftest.err conftest.$ac_objext \
23238 conftest$ac_exeext conftest.$ac_ext
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23241 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23242 if test $gcc_cv_math_func_tanf = yes; then
23244 cat >>confdefs.h <<_ACEOF
23245 #define HAVE_TANF 1
23246 _ACEOF
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23254 $as_echo_n "checking for tan... " >&6; }
23255 if ${gcc_cv_math_func_tan+:} false; then :
23256 $as_echo_n "(cached) " >&6
23257 else
23258 if test x$gcc_no_link = xyes; then
23259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23262 /* end confdefs.h. */
23264 #ifdef HAVE_COMPLEX_H
23265 #include <complex.h>
23266 #endif
23267 #ifdef HAVE_MATH_H
23268 #include <math.h>
23269 #endif
23271 int (*ptr)() = (int (*)())tan;
23274 main ()
23276 return 0;
23279 _ACEOF
23280 if ac_fn_c_try_link "$LINENO"; then :
23281 gcc_cv_math_func_tan=yes
23282 else
23283 gcc_cv_math_func_tan=no
23285 rm -f core conftest.err conftest.$ac_objext \
23286 conftest$ac_exeext conftest.$ac_ext
23288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23289 $as_echo "$gcc_cv_math_func_tan" >&6; }
23290 if test $gcc_cv_math_func_tan = yes; then
23292 cat >>confdefs.h <<_ACEOF
23293 #define HAVE_TAN 1
23294 _ACEOF
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23302 $as_echo_n "checking for tanl... " >&6; }
23303 if ${gcc_cv_math_func_tanl+:} false; then :
23304 $as_echo_n "(cached) " >&6
23305 else
23306 if test x$gcc_no_link = xyes; then
23307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23310 /* end confdefs.h. */
23312 #ifdef HAVE_COMPLEX_H
23313 #include <complex.h>
23314 #endif
23315 #ifdef HAVE_MATH_H
23316 #include <math.h>
23317 #endif
23319 int (*ptr)() = (int (*)())tanl;
23322 main ()
23324 return 0;
23327 _ACEOF
23328 if ac_fn_c_try_link "$LINENO"; then :
23329 gcc_cv_math_func_tanl=yes
23330 else
23331 gcc_cv_math_func_tanl=no
23333 rm -f core conftest.err conftest.$ac_objext \
23334 conftest$ac_exeext conftest.$ac_ext
23336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23337 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23338 if test $gcc_cv_math_func_tanl = yes; then
23340 cat >>confdefs.h <<_ACEOF
23341 #define HAVE_TANL 1
23342 _ACEOF
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23350 $as_echo_n "checking for ctanf... " >&6; }
23351 if ${gcc_cv_math_func_ctanf+:} false; then :
23352 $as_echo_n "(cached) " >&6
23353 else
23354 if test x$gcc_no_link = xyes; then
23355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23360 #ifdef HAVE_COMPLEX_H
23361 #include <complex.h>
23362 #endif
23363 #ifdef HAVE_MATH_H
23364 #include <math.h>
23365 #endif
23367 int (*ptr)() = (int (*)())ctanf;
23370 main ()
23372 return 0;
23375 _ACEOF
23376 if ac_fn_c_try_link "$LINENO"; then :
23377 gcc_cv_math_func_ctanf=yes
23378 else
23379 gcc_cv_math_func_ctanf=no
23381 rm -f core conftest.err conftest.$ac_objext \
23382 conftest$ac_exeext conftest.$ac_ext
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23385 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23386 if test $gcc_cv_math_func_ctanf = yes; then
23388 cat >>confdefs.h <<_ACEOF
23389 #define HAVE_CTANF 1
23390 _ACEOF
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23398 $as_echo_n "checking for ctan... " >&6; }
23399 if ${gcc_cv_math_func_ctan+:} false; then :
23400 $as_echo_n "(cached) " >&6
23401 else
23402 if test x$gcc_no_link = xyes; then
23403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23406 /* end confdefs.h. */
23408 #ifdef HAVE_COMPLEX_H
23409 #include <complex.h>
23410 #endif
23411 #ifdef HAVE_MATH_H
23412 #include <math.h>
23413 #endif
23415 int (*ptr)() = (int (*)())ctan;
23418 main ()
23420 return 0;
23423 _ACEOF
23424 if ac_fn_c_try_link "$LINENO"; then :
23425 gcc_cv_math_func_ctan=yes
23426 else
23427 gcc_cv_math_func_ctan=no
23429 rm -f core conftest.err conftest.$ac_objext \
23430 conftest$ac_exeext conftest.$ac_ext
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23433 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23434 if test $gcc_cv_math_func_ctan = yes; then
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_CTAN 1
23438 _ACEOF
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23446 $as_echo_n "checking for ctanl... " >&6; }
23447 if ${gcc_cv_math_func_ctanl+:} false; then :
23448 $as_echo_n "(cached) " >&6
23449 else
23450 if test x$gcc_no_link = xyes; then
23451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23454 /* end confdefs.h. */
23456 #ifdef HAVE_COMPLEX_H
23457 #include <complex.h>
23458 #endif
23459 #ifdef HAVE_MATH_H
23460 #include <math.h>
23461 #endif
23463 int (*ptr)() = (int (*)())ctanl;
23466 main ()
23468 return 0;
23471 _ACEOF
23472 if ac_fn_c_try_link "$LINENO"; then :
23473 gcc_cv_math_func_ctanl=yes
23474 else
23475 gcc_cv_math_func_ctanl=no
23477 rm -f core conftest.err conftest.$ac_objext \
23478 conftest$ac_exeext conftest.$ac_ext
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23481 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23482 if test $gcc_cv_math_func_ctanl = yes; then
23484 cat >>confdefs.h <<_ACEOF
23485 #define HAVE_CTANL 1
23486 _ACEOF
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23494 $as_echo_n "checking for tanhf... " >&6; }
23495 if ${gcc_cv_math_func_tanhf+:} false; then :
23496 $as_echo_n "(cached) " >&6
23497 else
23498 if test x$gcc_no_link = xyes; then
23499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23502 /* end confdefs.h. */
23504 #ifdef HAVE_COMPLEX_H
23505 #include <complex.h>
23506 #endif
23507 #ifdef HAVE_MATH_H
23508 #include <math.h>
23509 #endif
23511 int (*ptr)() = (int (*)())tanhf;
23514 main ()
23516 return 0;
23519 _ACEOF
23520 if ac_fn_c_try_link "$LINENO"; then :
23521 gcc_cv_math_func_tanhf=yes
23522 else
23523 gcc_cv_math_func_tanhf=no
23525 rm -f core conftest.err conftest.$ac_objext \
23526 conftest$ac_exeext conftest.$ac_ext
23528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23529 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23530 if test $gcc_cv_math_func_tanhf = yes; then
23532 cat >>confdefs.h <<_ACEOF
23533 #define HAVE_TANHF 1
23534 _ACEOF
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23542 $as_echo_n "checking for tanh... " >&6; }
23543 if ${gcc_cv_math_func_tanh+:} false; then :
23544 $as_echo_n "(cached) " >&6
23545 else
23546 if test x$gcc_no_link = xyes; then
23547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23550 /* end confdefs.h. */
23552 #ifdef HAVE_COMPLEX_H
23553 #include <complex.h>
23554 #endif
23555 #ifdef HAVE_MATH_H
23556 #include <math.h>
23557 #endif
23559 int (*ptr)() = (int (*)())tanh;
23562 main ()
23564 return 0;
23567 _ACEOF
23568 if ac_fn_c_try_link "$LINENO"; then :
23569 gcc_cv_math_func_tanh=yes
23570 else
23571 gcc_cv_math_func_tanh=no
23573 rm -f core conftest.err conftest.$ac_objext \
23574 conftest$ac_exeext conftest.$ac_ext
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23577 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23578 if test $gcc_cv_math_func_tanh = yes; then
23580 cat >>confdefs.h <<_ACEOF
23581 #define HAVE_TANH 1
23582 _ACEOF
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23590 $as_echo_n "checking for tanhl... " >&6; }
23591 if ${gcc_cv_math_func_tanhl+:} false; then :
23592 $as_echo_n "(cached) " >&6
23593 else
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 #ifdef HAVE_COMPLEX_H
23601 #include <complex.h>
23602 #endif
23603 #ifdef HAVE_MATH_H
23604 #include <math.h>
23605 #endif
23607 int (*ptr)() = (int (*)())tanhl;
23610 main ()
23612 return 0;
23615 _ACEOF
23616 if ac_fn_c_try_link "$LINENO"; then :
23617 gcc_cv_math_func_tanhl=yes
23618 else
23619 gcc_cv_math_func_tanhl=no
23621 rm -f core conftest.err conftest.$ac_objext \
23622 conftest$ac_exeext conftest.$ac_ext
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23625 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23626 if test $gcc_cv_math_func_tanhl = yes; then
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE_TANHL 1
23630 _ACEOF
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23638 $as_echo_n "checking for ctanhf... " >&6; }
23639 if ${gcc_cv_math_func_ctanhf+:} false; then :
23640 $as_echo_n "(cached) " >&6
23641 else
23642 if test x$gcc_no_link = xyes; then
23643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23648 #ifdef HAVE_COMPLEX_H
23649 #include <complex.h>
23650 #endif
23651 #ifdef HAVE_MATH_H
23652 #include <math.h>
23653 #endif
23655 int (*ptr)() = (int (*)())ctanhf;
23658 main ()
23660 return 0;
23663 _ACEOF
23664 if ac_fn_c_try_link "$LINENO"; then :
23665 gcc_cv_math_func_ctanhf=yes
23666 else
23667 gcc_cv_math_func_ctanhf=no
23669 rm -f core conftest.err conftest.$ac_objext \
23670 conftest$ac_exeext conftest.$ac_ext
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23673 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23674 if test $gcc_cv_math_func_ctanhf = yes; then
23676 cat >>confdefs.h <<_ACEOF
23677 #define HAVE_CTANHF 1
23678 _ACEOF
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23686 $as_echo_n "checking for ctanh... " >&6; }
23687 if ${gcc_cv_math_func_ctanh+:} false; then :
23688 $as_echo_n "(cached) " >&6
23689 else
23690 if test x$gcc_no_link = xyes; then
23691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23694 /* end confdefs.h. */
23696 #ifdef HAVE_COMPLEX_H
23697 #include <complex.h>
23698 #endif
23699 #ifdef HAVE_MATH_H
23700 #include <math.h>
23701 #endif
23703 int (*ptr)() = (int (*)())ctanh;
23706 main ()
23708 return 0;
23711 _ACEOF
23712 if ac_fn_c_try_link "$LINENO"; then :
23713 gcc_cv_math_func_ctanh=yes
23714 else
23715 gcc_cv_math_func_ctanh=no
23717 rm -f core conftest.err conftest.$ac_objext \
23718 conftest$ac_exeext conftest.$ac_ext
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23721 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23722 if test $gcc_cv_math_func_ctanh = yes; then
23724 cat >>confdefs.h <<_ACEOF
23725 #define HAVE_CTANH 1
23726 _ACEOF
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23734 $as_echo_n "checking for ctanhl... " >&6; }
23735 if ${gcc_cv_math_func_ctanhl+:} false; then :
23736 $as_echo_n "(cached) " >&6
23737 else
23738 if test x$gcc_no_link = xyes; then
23739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23742 /* end confdefs.h. */
23744 #ifdef HAVE_COMPLEX_H
23745 #include <complex.h>
23746 #endif
23747 #ifdef HAVE_MATH_H
23748 #include <math.h>
23749 #endif
23751 int (*ptr)() = (int (*)())ctanhl;
23754 main ()
23756 return 0;
23759 _ACEOF
23760 if ac_fn_c_try_link "$LINENO"; then :
23761 gcc_cv_math_func_ctanhl=yes
23762 else
23763 gcc_cv_math_func_ctanhl=no
23765 rm -f core conftest.err conftest.$ac_objext \
23766 conftest$ac_exeext conftest.$ac_ext
23768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23769 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23770 if test $gcc_cv_math_func_ctanhl = yes; then
23772 cat >>confdefs.h <<_ACEOF
23773 #define HAVE_CTANHL 1
23774 _ACEOF
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23782 $as_echo_n "checking for truncf... " >&6; }
23783 if ${gcc_cv_math_func_truncf+:} false; then :
23784 $as_echo_n "(cached) " >&6
23785 else
23786 if test x$gcc_no_link = xyes; then
23787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23790 /* end confdefs.h. */
23792 #ifdef HAVE_COMPLEX_H
23793 #include <complex.h>
23794 #endif
23795 #ifdef HAVE_MATH_H
23796 #include <math.h>
23797 #endif
23799 int (*ptr)() = (int (*)())truncf;
23802 main ()
23804 return 0;
23807 _ACEOF
23808 if ac_fn_c_try_link "$LINENO"; then :
23809 gcc_cv_math_func_truncf=yes
23810 else
23811 gcc_cv_math_func_truncf=no
23813 rm -f core conftest.err conftest.$ac_objext \
23814 conftest$ac_exeext conftest.$ac_ext
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23817 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23818 if test $gcc_cv_math_func_truncf = yes; then
23820 cat >>confdefs.h <<_ACEOF
23821 #define HAVE_TRUNCF 1
23822 _ACEOF
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23830 $as_echo_n "checking for trunc... " >&6; }
23831 if ${gcc_cv_math_func_trunc+:} false; then :
23832 $as_echo_n "(cached) " >&6
23833 else
23834 if test x$gcc_no_link = xyes; then
23835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23838 /* end confdefs.h. */
23840 #ifdef HAVE_COMPLEX_H
23841 #include <complex.h>
23842 #endif
23843 #ifdef HAVE_MATH_H
23844 #include <math.h>
23845 #endif
23847 int (*ptr)() = (int (*)())trunc;
23850 main ()
23852 return 0;
23855 _ACEOF
23856 if ac_fn_c_try_link "$LINENO"; then :
23857 gcc_cv_math_func_trunc=yes
23858 else
23859 gcc_cv_math_func_trunc=no
23861 rm -f core conftest.err conftest.$ac_objext \
23862 conftest$ac_exeext conftest.$ac_ext
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23865 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23866 if test $gcc_cv_math_func_trunc = yes; then
23868 cat >>confdefs.h <<_ACEOF
23869 #define HAVE_TRUNC 1
23870 _ACEOF
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23878 $as_echo_n "checking for truncl... " >&6; }
23879 if ${gcc_cv_math_func_truncl+:} false; then :
23880 $as_echo_n "(cached) " >&6
23881 else
23882 if test x$gcc_no_link = xyes; then
23883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886 /* end confdefs.h. */
23888 #ifdef HAVE_COMPLEX_H
23889 #include <complex.h>
23890 #endif
23891 #ifdef HAVE_MATH_H
23892 #include <math.h>
23893 #endif
23895 int (*ptr)() = (int (*)())truncl;
23898 main ()
23900 return 0;
23903 _ACEOF
23904 if ac_fn_c_try_link "$LINENO"; then :
23905 gcc_cv_math_func_truncl=yes
23906 else
23907 gcc_cv_math_func_truncl=no
23909 rm -f core conftest.err conftest.$ac_objext \
23910 conftest$ac_exeext conftest.$ac_ext
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23913 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23914 if test $gcc_cv_math_func_truncl = yes; then
23916 cat >>confdefs.h <<_ACEOF
23917 #define HAVE_TRUNCL 1
23918 _ACEOF
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23926 $as_echo_n "checking for erff... " >&6; }
23927 if ${gcc_cv_math_func_erff+:} false; then :
23928 $as_echo_n "(cached) " >&6
23929 else
23930 if test x$gcc_no_link = xyes; then
23931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23934 /* end confdefs.h. */
23936 #ifdef HAVE_COMPLEX_H
23937 #include <complex.h>
23938 #endif
23939 #ifdef HAVE_MATH_H
23940 #include <math.h>
23941 #endif
23943 int (*ptr)() = (int (*)())erff;
23946 main ()
23948 return 0;
23951 _ACEOF
23952 if ac_fn_c_try_link "$LINENO"; then :
23953 gcc_cv_math_func_erff=yes
23954 else
23955 gcc_cv_math_func_erff=no
23957 rm -f core conftest.err conftest.$ac_objext \
23958 conftest$ac_exeext conftest.$ac_ext
23960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23961 $as_echo "$gcc_cv_math_func_erff" >&6; }
23962 if test $gcc_cv_math_func_erff = yes; then
23964 cat >>confdefs.h <<_ACEOF
23965 #define HAVE_ERFF 1
23966 _ACEOF
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23974 $as_echo_n "checking for erf... " >&6; }
23975 if ${gcc_cv_math_func_erf+:} false; then :
23976 $as_echo_n "(cached) " >&6
23977 else
23978 if test x$gcc_no_link = xyes; then
23979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23984 #ifdef HAVE_COMPLEX_H
23985 #include <complex.h>
23986 #endif
23987 #ifdef HAVE_MATH_H
23988 #include <math.h>
23989 #endif
23991 int (*ptr)() = (int (*)())erf;
23994 main ()
23996 return 0;
23999 _ACEOF
24000 if ac_fn_c_try_link "$LINENO"; then :
24001 gcc_cv_math_func_erf=yes
24002 else
24003 gcc_cv_math_func_erf=no
24005 rm -f core conftest.err conftest.$ac_objext \
24006 conftest$ac_exeext conftest.$ac_ext
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24009 $as_echo "$gcc_cv_math_func_erf" >&6; }
24010 if test $gcc_cv_math_func_erf = yes; then
24012 cat >>confdefs.h <<_ACEOF
24013 #define HAVE_ERF 1
24014 _ACEOF
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24022 $as_echo_n "checking for erfcf... " >&6; }
24023 if ${gcc_cv_math_func_erfcf+:} false; then :
24024 $as_echo_n "(cached) " >&6
24025 else
24026 if test x$gcc_no_link = xyes; then
24027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24030 /* end confdefs.h. */
24032 #ifdef HAVE_COMPLEX_H
24033 #include <complex.h>
24034 #endif
24035 #ifdef HAVE_MATH_H
24036 #include <math.h>
24037 #endif
24039 int (*ptr)() = (int (*)())erfcf;
24042 main ()
24044 return 0;
24047 _ACEOF
24048 if ac_fn_c_try_link "$LINENO"; then :
24049 gcc_cv_math_func_erfcf=yes
24050 else
24051 gcc_cv_math_func_erfcf=no
24053 rm -f core conftest.err conftest.$ac_objext \
24054 conftest$ac_exeext conftest.$ac_ext
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24057 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24058 if test $gcc_cv_math_func_erfcf = yes; then
24060 cat >>confdefs.h <<_ACEOF
24061 #define HAVE_ERFCF 1
24062 _ACEOF
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24070 $as_echo_n "checking for erfc... " >&6; }
24071 if ${gcc_cv_math_func_erfc+:} false; then :
24072 $as_echo_n "(cached) " >&6
24073 else
24074 if test x$gcc_no_link = xyes; then
24075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24080 #ifdef HAVE_COMPLEX_H
24081 #include <complex.h>
24082 #endif
24083 #ifdef HAVE_MATH_H
24084 #include <math.h>
24085 #endif
24087 int (*ptr)() = (int (*)())erfc;
24090 main ()
24092 return 0;
24095 _ACEOF
24096 if ac_fn_c_try_link "$LINENO"; then :
24097 gcc_cv_math_func_erfc=yes
24098 else
24099 gcc_cv_math_func_erfc=no
24101 rm -f core conftest.err conftest.$ac_objext \
24102 conftest$ac_exeext conftest.$ac_ext
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24105 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24106 if test $gcc_cv_math_func_erfc = yes; then
24108 cat >>confdefs.h <<_ACEOF
24109 #define HAVE_ERFC 1
24110 _ACEOF
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24118 $as_echo_n "checking for erfcl... " >&6; }
24119 if ${gcc_cv_math_func_erfcl+:} false; then :
24120 $as_echo_n "(cached) " >&6
24121 else
24122 if test x$gcc_no_link = xyes; then
24123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24126 /* end confdefs.h. */
24128 #ifdef HAVE_COMPLEX_H
24129 #include <complex.h>
24130 #endif
24131 #ifdef HAVE_MATH_H
24132 #include <math.h>
24133 #endif
24135 int (*ptr)() = (int (*)())erfcl;
24138 main ()
24140 return 0;
24143 _ACEOF
24144 if ac_fn_c_try_link "$LINENO"; then :
24145 gcc_cv_math_func_erfcl=yes
24146 else
24147 gcc_cv_math_func_erfcl=no
24149 rm -f core conftest.err conftest.$ac_objext \
24150 conftest$ac_exeext conftest.$ac_ext
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24153 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24154 if test $gcc_cv_math_func_erfcl = yes; then
24156 cat >>confdefs.h <<_ACEOF
24157 #define HAVE_ERFCL 1
24158 _ACEOF
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24166 $as_echo_n "checking for j0f... " >&6; }
24167 if ${gcc_cv_math_func_j0f+:} false; then :
24168 $as_echo_n "(cached) " >&6
24169 else
24170 if test x$gcc_no_link = xyes; then
24171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24174 /* end confdefs.h. */
24176 #ifdef HAVE_COMPLEX_H
24177 #include <complex.h>
24178 #endif
24179 #ifdef HAVE_MATH_H
24180 #include <math.h>
24181 #endif
24183 int (*ptr)() = (int (*)())j0f;
24186 main ()
24188 return 0;
24191 _ACEOF
24192 if ac_fn_c_try_link "$LINENO"; then :
24193 gcc_cv_math_func_j0f=yes
24194 else
24195 gcc_cv_math_func_j0f=no
24197 rm -f core conftest.err conftest.$ac_objext \
24198 conftest$ac_exeext conftest.$ac_ext
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24201 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24202 if test $gcc_cv_math_func_j0f = yes; then
24204 cat >>confdefs.h <<_ACEOF
24205 #define HAVE_J0F 1
24206 _ACEOF
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24214 $as_echo_n "checking for j0... " >&6; }
24215 if ${gcc_cv_math_func_j0+:} false; then :
24216 $as_echo_n "(cached) " >&6
24217 else
24218 if test x$gcc_no_link = xyes; then
24219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24222 /* end confdefs.h. */
24224 #ifdef HAVE_COMPLEX_H
24225 #include <complex.h>
24226 #endif
24227 #ifdef HAVE_MATH_H
24228 #include <math.h>
24229 #endif
24231 int (*ptr)() = (int (*)())j0;
24234 main ()
24236 return 0;
24239 _ACEOF
24240 if ac_fn_c_try_link "$LINENO"; then :
24241 gcc_cv_math_func_j0=yes
24242 else
24243 gcc_cv_math_func_j0=no
24245 rm -f core conftest.err conftest.$ac_objext \
24246 conftest$ac_exeext conftest.$ac_ext
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24249 $as_echo "$gcc_cv_math_func_j0" >&6; }
24250 if test $gcc_cv_math_func_j0 = yes; then
24252 cat >>confdefs.h <<_ACEOF
24253 #define HAVE_J0 1
24254 _ACEOF
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24262 $as_echo_n "checking for j1f... " >&6; }
24263 if ${gcc_cv_math_func_j1f+:} false; then :
24264 $as_echo_n "(cached) " >&6
24265 else
24266 if test x$gcc_no_link = xyes; then
24267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24270 /* end confdefs.h. */
24272 #ifdef HAVE_COMPLEX_H
24273 #include <complex.h>
24274 #endif
24275 #ifdef HAVE_MATH_H
24276 #include <math.h>
24277 #endif
24279 int (*ptr)() = (int (*)())j1f;
24282 main ()
24284 return 0;
24287 _ACEOF
24288 if ac_fn_c_try_link "$LINENO"; then :
24289 gcc_cv_math_func_j1f=yes
24290 else
24291 gcc_cv_math_func_j1f=no
24293 rm -f core conftest.err conftest.$ac_objext \
24294 conftest$ac_exeext conftest.$ac_ext
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24297 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24298 if test $gcc_cv_math_func_j1f = yes; then
24300 cat >>confdefs.h <<_ACEOF
24301 #define HAVE_J1F 1
24302 _ACEOF
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24310 $as_echo_n "checking for j1... " >&6; }
24311 if ${gcc_cv_math_func_j1+:} false; then :
24312 $as_echo_n "(cached) " >&6
24313 else
24314 if test x$gcc_no_link = xyes; then
24315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24318 /* end confdefs.h. */
24320 #ifdef HAVE_COMPLEX_H
24321 #include <complex.h>
24322 #endif
24323 #ifdef HAVE_MATH_H
24324 #include <math.h>
24325 #endif
24327 int (*ptr)() = (int (*)())j1;
24330 main ()
24332 return 0;
24335 _ACEOF
24336 if ac_fn_c_try_link "$LINENO"; then :
24337 gcc_cv_math_func_j1=yes
24338 else
24339 gcc_cv_math_func_j1=no
24341 rm -f core conftest.err conftest.$ac_objext \
24342 conftest$ac_exeext conftest.$ac_ext
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24345 $as_echo "$gcc_cv_math_func_j1" >&6; }
24346 if test $gcc_cv_math_func_j1 = yes; then
24348 cat >>confdefs.h <<_ACEOF
24349 #define HAVE_J1 1
24350 _ACEOF
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24358 $as_echo_n "checking for jnf... " >&6; }
24359 if ${gcc_cv_math_func_jnf+:} false; then :
24360 $as_echo_n "(cached) " >&6
24361 else
24362 if test x$gcc_no_link = xyes; then
24363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24366 /* end confdefs.h. */
24368 #ifdef HAVE_COMPLEX_H
24369 #include <complex.h>
24370 #endif
24371 #ifdef HAVE_MATH_H
24372 #include <math.h>
24373 #endif
24375 int (*ptr)() = (int (*)())jnf;
24378 main ()
24380 return 0;
24383 _ACEOF
24384 if ac_fn_c_try_link "$LINENO"; then :
24385 gcc_cv_math_func_jnf=yes
24386 else
24387 gcc_cv_math_func_jnf=no
24389 rm -f core conftest.err conftest.$ac_objext \
24390 conftest$ac_exeext conftest.$ac_ext
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24393 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24394 if test $gcc_cv_math_func_jnf = yes; then
24396 cat >>confdefs.h <<_ACEOF
24397 #define HAVE_JNF 1
24398 _ACEOF
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24406 $as_echo_n "checking for jn... " >&6; }
24407 if ${gcc_cv_math_func_jn+:} false; then :
24408 $as_echo_n "(cached) " >&6
24409 else
24410 if test x$gcc_no_link = xyes; then
24411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24414 /* end confdefs.h. */
24416 #ifdef HAVE_COMPLEX_H
24417 #include <complex.h>
24418 #endif
24419 #ifdef HAVE_MATH_H
24420 #include <math.h>
24421 #endif
24423 int (*ptr)() = (int (*)())jn;
24426 main ()
24428 return 0;
24431 _ACEOF
24432 if ac_fn_c_try_link "$LINENO"; then :
24433 gcc_cv_math_func_jn=yes
24434 else
24435 gcc_cv_math_func_jn=no
24437 rm -f core conftest.err conftest.$ac_objext \
24438 conftest$ac_exeext conftest.$ac_ext
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24441 $as_echo "$gcc_cv_math_func_jn" >&6; }
24442 if test $gcc_cv_math_func_jn = yes; then
24444 cat >>confdefs.h <<_ACEOF
24445 #define HAVE_JN 1
24446 _ACEOF
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24454 $as_echo_n "checking for jnl... " >&6; }
24455 if ${gcc_cv_math_func_jnl+:} false; then :
24456 $as_echo_n "(cached) " >&6
24457 else
24458 if test x$gcc_no_link = xyes; then
24459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24464 #ifdef HAVE_COMPLEX_H
24465 #include <complex.h>
24466 #endif
24467 #ifdef HAVE_MATH_H
24468 #include <math.h>
24469 #endif
24471 int (*ptr)() = (int (*)())jnl;
24474 main ()
24476 return 0;
24479 _ACEOF
24480 if ac_fn_c_try_link "$LINENO"; then :
24481 gcc_cv_math_func_jnl=yes
24482 else
24483 gcc_cv_math_func_jnl=no
24485 rm -f core conftest.err conftest.$ac_objext \
24486 conftest$ac_exeext conftest.$ac_ext
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24489 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24490 if test $gcc_cv_math_func_jnl = yes; then
24492 cat >>confdefs.h <<_ACEOF
24493 #define HAVE_JNL 1
24494 _ACEOF
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24502 $as_echo_n "checking for y0f... " >&6; }
24503 if ${gcc_cv_math_func_y0f+:} false; then :
24504 $as_echo_n "(cached) " >&6
24505 else
24506 if test x$gcc_no_link = xyes; then
24507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24510 /* end confdefs.h. */
24512 #ifdef HAVE_COMPLEX_H
24513 #include <complex.h>
24514 #endif
24515 #ifdef HAVE_MATH_H
24516 #include <math.h>
24517 #endif
24519 int (*ptr)() = (int (*)())y0f;
24522 main ()
24524 return 0;
24527 _ACEOF
24528 if ac_fn_c_try_link "$LINENO"; then :
24529 gcc_cv_math_func_y0f=yes
24530 else
24531 gcc_cv_math_func_y0f=no
24533 rm -f core conftest.err conftest.$ac_objext \
24534 conftest$ac_exeext conftest.$ac_ext
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24537 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24538 if test $gcc_cv_math_func_y0f = yes; then
24540 cat >>confdefs.h <<_ACEOF
24541 #define HAVE_Y0F 1
24542 _ACEOF
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24550 $as_echo_n "checking for y0... " >&6; }
24551 if ${gcc_cv_math_func_y0+:} false; then :
24552 $as_echo_n "(cached) " >&6
24553 else
24554 if test x$gcc_no_link = xyes; then
24555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24558 /* end confdefs.h. */
24560 #ifdef HAVE_COMPLEX_H
24561 #include <complex.h>
24562 #endif
24563 #ifdef HAVE_MATH_H
24564 #include <math.h>
24565 #endif
24567 int (*ptr)() = (int (*)())y0;
24570 main ()
24572 return 0;
24575 _ACEOF
24576 if ac_fn_c_try_link "$LINENO"; then :
24577 gcc_cv_math_func_y0=yes
24578 else
24579 gcc_cv_math_func_y0=no
24581 rm -f core conftest.err conftest.$ac_objext \
24582 conftest$ac_exeext conftest.$ac_ext
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24585 $as_echo "$gcc_cv_math_func_y0" >&6; }
24586 if test $gcc_cv_math_func_y0 = yes; then
24588 cat >>confdefs.h <<_ACEOF
24589 #define HAVE_Y0 1
24590 _ACEOF
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24598 $as_echo_n "checking for y1f... " >&6; }
24599 if ${gcc_cv_math_func_y1f+:} false; then :
24600 $as_echo_n "(cached) " >&6
24601 else
24602 if test x$gcc_no_link = xyes; then
24603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24606 /* end confdefs.h. */
24608 #ifdef HAVE_COMPLEX_H
24609 #include <complex.h>
24610 #endif
24611 #ifdef HAVE_MATH_H
24612 #include <math.h>
24613 #endif
24615 int (*ptr)() = (int (*)())y1f;
24618 main ()
24620 return 0;
24623 _ACEOF
24624 if ac_fn_c_try_link "$LINENO"; then :
24625 gcc_cv_math_func_y1f=yes
24626 else
24627 gcc_cv_math_func_y1f=no
24629 rm -f core conftest.err conftest.$ac_objext \
24630 conftest$ac_exeext conftest.$ac_ext
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24633 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24634 if test $gcc_cv_math_func_y1f = yes; then
24636 cat >>confdefs.h <<_ACEOF
24637 #define HAVE_Y1F 1
24638 _ACEOF
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24646 $as_echo_n "checking for y1... " >&6; }
24647 if ${gcc_cv_math_func_y1+:} false; then :
24648 $as_echo_n "(cached) " >&6
24649 else
24650 if test x$gcc_no_link = xyes; then
24651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24654 /* end confdefs.h. */
24656 #ifdef HAVE_COMPLEX_H
24657 #include <complex.h>
24658 #endif
24659 #ifdef HAVE_MATH_H
24660 #include <math.h>
24661 #endif
24663 int (*ptr)() = (int (*)())y1;
24666 main ()
24668 return 0;
24671 _ACEOF
24672 if ac_fn_c_try_link "$LINENO"; then :
24673 gcc_cv_math_func_y1=yes
24674 else
24675 gcc_cv_math_func_y1=no
24677 rm -f core conftest.err conftest.$ac_objext \
24678 conftest$ac_exeext conftest.$ac_ext
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24681 $as_echo "$gcc_cv_math_func_y1" >&6; }
24682 if test $gcc_cv_math_func_y1 = yes; then
24684 cat >>confdefs.h <<_ACEOF
24685 #define HAVE_Y1 1
24686 _ACEOF
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24694 $as_echo_n "checking for ynf... " >&6; }
24695 if ${gcc_cv_math_func_ynf+:} false; then :
24696 $as_echo_n "(cached) " >&6
24697 else
24698 if test x$gcc_no_link = xyes; then
24699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24702 /* end confdefs.h. */
24704 #ifdef HAVE_COMPLEX_H
24705 #include <complex.h>
24706 #endif
24707 #ifdef HAVE_MATH_H
24708 #include <math.h>
24709 #endif
24711 int (*ptr)() = (int (*)())ynf;
24714 main ()
24716 return 0;
24719 _ACEOF
24720 if ac_fn_c_try_link "$LINENO"; then :
24721 gcc_cv_math_func_ynf=yes
24722 else
24723 gcc_cv_math_func_ynf=no
24725 rm -f core conftest.err conftest.$ac_objext \
24726 conftest$ac_exeext conftest.$ac_ext
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24729 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24730 if test $gcc_cv_math_func_ynf = yes; then
24732 cat >>confdefs.h <<_ACEOF
24733 #define HAVE_YNF 1
24734 _ACEOF
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24742 $as_echo_n "checking for yn... " >&6; }
24743 if ${gcc_cv_math_func_yn+:} false; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24746 if test x$gcc_no_link = xyes; then
24747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24750 /* end confdefs.h. */
24752 #ifdef HAVE_COMPLEX_H
24753 #include <complex.h>
24754 #endif
24755 #ifdef HAVE_MATH_H
24756 #include <math.h>
24757 #endif
24759 int (*ptr)() = (int (*)())yn;
24762 main ()
24764 return 0;
24767 _ACEOF
24768 if ac_fn_c_try_link "$LINENO"; then :
24769 gcc_cv_math_func_yn=yes
24770 else
24771 gcc_cv_math_func_yn=no
24773 rm -f core conftest.err conftest.$ac_objext \
24774 conftest$ac_exeext conftest.$ac_ext
24776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24777 $as_echo "$gcc_cv_math_func_yn" >&6; }
24778 if test $gcc_cv_math_func_yn = yes; then
24780 cat >>confdefs.h <<_ACEOF
24781 #define HAVE_YN 1
24782 _ACEOF
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24790 $as_echo_n "checking for ynl... " >&6; }
24791 if ${gcc_cv_math_func_ynl+:} false; then :
24792 $as_echo_n "(cached) " >&6
24793 else
24794 if test x$gcc_no_link = xyes; then
24795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24798 /* end confdefs.h. */
24800 #ifdef HAVE_COMPLEX_H
24801 #include <complex.h>
24802 #endif
24803 #ifdef HAVE_MATH_H
24804 #include <math.h>
24805 #endif
24807 int (*ptr)() = (int (*)())ynl;
24810 main ()
24812 return 0;
24815 _ACEOF
24816 if ac_fn_c_try_link "$LINENO"; then :
24817 gcc_cv_math_func_ynl=yes
24818 else
24819 gcc_cv_math_func_ynl=no
24821 rm -f core conftest.err conftest.$ac_objext \
24822 conftest$ac_exeext conftest.$ac_ext
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24825 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24826 if test $gcc_cv_math_func_ynl = yes; then
24828 cat >>confdefs.h <<_ACEOF
24829 #define HAVE_YNL 1
24830 _ACEOF
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24838 $as_echo_n "checking for tgamma... " >&6; }
24839 if ${gcc_cv_math_func_tgamma+:} false; then :
24840 $as_echo_n "(cached) " >&6
24841 else
24842 if test x$gcc_no_link = xyes; then
24843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24846 /* end confdefs.h. */
24848 #ifdef HAVE_COMPLEX_H
24849 #include <complex.h>
24850 #endif
24851 #ifdef HAVE_MATH_H
24852 #include <math.h>
24853 #endif
24855 int (*ptr)() = (int (*)())tgamma;
24858 main ()
24860 return 0;
24863 _ACEOF
24864 if ac_fn_c_try_link "$LINENO"; then :
24865 gcc_cv_math_func_tgamma=yes
24866 else
24867 gcc_cv_math_func_tgamma=no
24869 rm -f core conftest.err conftest.$ac_objext \
24870 conftest$ac_exeext conftest.$ac_ext
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24873 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24874 if test $gcc_cv_math_func_tgamma = yes; then
24876 cat >>confdefs.h <<_ACEOF
24877 #define HAVE_TGAMMA 1
24878 _ACEOF
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24886 $as_echo_n "checking for tgammaf... " >&6; }
24887 if ${gcc_cv_math_func_tgammaf+:} false; then :
24888 $as_echo_n "(cached) " >&6
24889 else
24890 if test x$gcc_no_link = xyes; then
24891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24894 /* end confdefs.h. */
24896 #ifdef HAVE_COMPLEX_H
24897 #include <complex.h>
24898 #endif
24899 #ifdef HAVE_MATH_H
24900 #include <math.h>
24901 #endif
24903 int (*ptr)() = (int (*)())tgammaf;
24906 main ()
24908 return 0;
24911 _ACEOF
24912 if ac_fn_c_try_link "$LINENO"; then :
24913 gcc_cv_math_func_tgammaf=yes
24914 else
24915 gcc_cv_math_func_tgammaf=no
24917 rm -f core conftest.err conftest.$ac_objext \
24918 conftest$ac_exeext conftest.$ac_ext
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24921 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24922 if test $gcc_cv_math_func_tgammaf = yes; then
24924 cat >>confdefs.h <<_ACEOF
24925 #define HAVE_TGAMMAF 1
24926 _ACEOF
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24934 $as_echo_n "checking for lgamma... " >&6; }
24935 if ${gcc_cv_math_func_lgamma+:} false; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24938 if test x$gcc_no_link = xyes; then
24939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24942 /* end confdefs.h. */
24944 #ifdef HAVE_COMPLEX_H
24945 #include <complex.h>
24946 #endif
24947 #ifdef HAVE_MATH_H
24948 #include <math.h>
24949 #endif
24951 int (*ptr)() = (int (*)())lgamma;
24954 main ()
24956 return 0;
24959 _ACEOF
24960 if ac_fn_c_try_link "$LINENO"; then :
24961 gcc_cv_math_func_lgamma=yes
24962 else
24963 gcc_cv_math_func_lgamma=no
24965 rm -f core conftest.err conftest.$ac_objext \
24966 conftest$ac_exeext conftest.$ac_ext
24968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24969 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24970 if test $gcc_cv_math_func_lgamma = yes; then
24972 cat >>confdefs.h <<_ACEOF
24973 #define HAVE_LGAMMA 1
24974 _ACEOF
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24982 $as_echo_n "checking for lgammaf... " >&6; }
24983 if ${gcc_cv_math_func_lgammaf+:} false; then :
24984 $as_echo_n "(cached) " >&6
24985 else
24986 if test x$gcc_no_link = xyes; then
24987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24990 /* end confdefs.h. */
24992 #ifdef HAVE_COMPLEX_H
24993 #include <complex.h>
24994 #endif
24995 #ifdef HAVE_MATH_H
24996 #include <math.h>
24997 #endif
24999 int (*ptr)() = (int (*)())lgammaf;
25002 main ()
25004 return 0;
25007 _ACEOF
25008 if ac_fn_c_try_link "$LINENO"; then :
25009 gcc_cv_math_func_lgammaf=yes
25010 else
25011 gcc_cv_math_func_lgammaf=no
25013 rm -f core conftest.err conftest.$ac_objext \
25014 conftest$ac_exeext conftest.$ac_ext
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25017 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25018 if test $gcc_cv_math_func_lgammaf = yes; then
25020 cat >>confdefs.h <<_ACEOF
25021 #define HAVE_LGAMMAF 1
25022 _ACEOF
25027 # Check for GFORTRAN_C99_1.1 funcs
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25032 $as_echo_n "checking for cacos... " >&6; }
25033 if ${gcc_cv_math_func_cacos+:} false; then :
25034 $as_echo_n "(cached) " >&6
25035 else
25036 if test x$gcc_no_link = xyes; then
25037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25040 /* end confdefs.h. */
25042 #ifdef HAVE_COMPLEX_H
25043 #include <complex.h>
25044 #endif
25045 #ifdef HAVE_MATH_H
25046 #include <math.h>
25047 #endif
25049 int (*ptr)() = (int (*)())cacos;
25052 main ()
25054 return 0;
25057 _ACEOF
25058 if ac_fn_c_try_link "$LINENO"; then :
25059 gcc_cv_math_func_cacos=yes
25060 else
25061 gcc_cv_math_func_cacos=no
25063 rm -f core conftest.err conftest.$ac_objext \
25064 conftest$ac_exeext conftest.$ac_ext
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25067 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25068 if test $gcc_cv_math_func_cacos = yes; then
25070 cat >>confdefs.h <<_ACEOF
25071 #define HAVE_CACOS 1
25072 _ACEOF
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25080 $as_echo_n "checking for cacosf... " >&6; }
25081 if ${gcc_cv_math_func_cacosf+:} false; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25084 if test x$gcc_no_link = xyes; then
25085 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25090 #ifdef HAVE_COMPLEX_H
25091 #include <complex.h>
25092 #endif
25093 #ifdef HAVE_MATH_H
25094 #include <math.h>
25095 #endif
25097 int (*ptr)() = (int (*)())cacosf;
25100 main ()
25102 return 0;
25105 _ACEOF
25106 if ac_fn_c_try_link "$LINENO"; then :
25107 gcc_cv_math_func_cacosf=yes
25108 else
25109 gcc_cv_math_func_cacosf=no
25111 rm -f core conftest.err conftest.$ac_objext \
25112 conftest$ac_exeext conftest.$ac_ext
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25115 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25116 if test $gcc_cv_math_func_cacosf = yes; then
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_CACOSF 1
25120 _ACEOF
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25128 $as_echo_n "checking for cacosh... " >&6; }
25129 if ${gcc_cv_math_func_cacosh+:} false; then :
25130 $as_echo_n "(cached) " >&6
25131 else
25132 if test x$gcc_no_link = xyes; then
25133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25136 /* end confdefs.h. */
25138 #ifdef HAVE_COMPLEX_H
25139 #include <complex.h>
25140 #endif
25141 #ifdef HAVE_MATH_H
25142 #include <math.h>
25143 #endif
25145 int (*ptr)() = (int (*)())cacosh;
25148 main ()
25150 return 0;
25153 _ACEOF
25154 if ac_fn_c_try_link "$LINENO"; then :
25155 gcc_cv_math_func_cacosh=yes
25156 else
25157 gcc_cv_math_func_cacosh=no
25159 rm -f core conftest.err conftest.$ac_objext \
25160 conftest$ac_exeext conftest.$ac_ext
25162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25163 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25164 if test $gcc_cv_math_func_cacosh = yes; then
25166 cat >>confdefs.h <<_ACEOF
25167 #define HAVE_CACOSH 1
25168 _ACEOF
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25176 $as_echo_n "checking for cacoshf... " >&6; }
25177 if ${gcc_cv_math_func_cacoshf+:} false; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25180 if test x$gcc_no_link = xyes; then
25181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25184 /* end confdefs.h. */
25186 #ifdef HAVE_COMPLEX_H
25187 #include <complex.h>
25188 #endif
25189 #ifdef HAVE_MATH_H
25190 #include <math.h>
25191 #endif
25193 int (*ptr)() = (int (*)())cacoshf;
25196 main ()
25198 return 0;
25201 _ACEOF
25202 if ac_fn_c_try_link "$LINENO"; then :
25203 gcc_cv_math_func_cacoshf=yes
25204 else
25205 gcc_cv_math_func_cacoshf=no
25207 rm -f core conftest.err conftest.$ac_objext \
25208 conftest$ac_exeext conftest.$ac_ext
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25211 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25212 if test $gcc_cv_math_func_cacoshf = yes; then
25214 cat >>confdefs.h <<_ACEOF
25215 #define HAVE_CACOSHF 1
25216 _ACEOF
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25224 $as_echo_n "checking for cacoshl... " >&6; }
25225 if ${gcc_cv_math_func_cacoshl+:} false; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25228 if test x$gcc_no_link = xyes; then
25229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h. */
25234 #ifdef HAVE_COMPLEX_H
25235 #include <complex.h>
25236 #endif
25237 #ifdef HAVE_MATH_H
25238 #include <math.h>
25239 #endif
25241 int (*ptr)() = (int (*)())cacoshl;
25244 main ()
25246 return 0;
25249 _ACEOF
25250 if ac_fn_c_try_link "$LINENO"; then :
25251 gcc_cv_math_func_cacoshl=yes
25252 else
25253 gcc_cv_math_func_cacoshl=no
25255 rm -f core conftest.err conftest.$ac_objext \
25256 conftest$ac_exeext conftest.$ac_ext
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25259 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25260 if test $gcc_cv_math_func_cacoshl = yes; then
25262 cat >>confdefs.h <<_ACEOF
25263 #define HAVE_CACOSHL 1
25264 _ACEOF
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25272 $as_echo_n "checking for cacosl... " >&6; }
25273 if ${gcc_cv_math_func_cacosl+:} false; then :
25274 $as_echo_n "(cached) " >&6
25275 else
25276 if test x$gcc_no_link = xyes; then
25277 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25280 /* end confdefs.h. */
25282 #ifdef HAVE_COMPLEX_H
25283 #include <complex.h>
25284 #endif
25285 #ifdef HAVE_MATH_H
25286 #include <math.h>
25287 #endif
25289 int (*ptr)() = (int (*)())cacosl;
25292 main ()
25294 return 0;
25297 _ACEOF
25298 if ac_fn_c_try_link "$LINENO"; then :
25299 gcc_cv_math_func_cacosl=yes
25300 else
25301 gcc_cv_math_func_cacosl=no
25303 rm -f core conftest.err conftest.$ac_objext \
25304 conftest$ac_exeext conftest.$ac_ext
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25307 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25308 if test $gcc_cv_math_func_cacosl = yes; then
25310 cat >>confdefs.h <<_ACEOF
25311 #define HAVE_CACOSL 1
25312 _ACEOF
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25320 $as_echo_n "checking for casin... " >&6; }
25321 if ${gcc_cv_math_func_casin+:} false; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25324 if test x$gcc_no_link = xyes; then
25325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25328 /* end confdefs.h. */
25330 #ifdef HAVE_COMPLEX_H
25331 #include <complex.h>
25332 #endif
25333 #ifdef HAVE_MATH_H
25334 #include <math.h>
25335 #endif
25337 int (*ptr)() = (int (*)())casin;
25340 main ()
25342 return 0;
25345 _ACEOF
25346 if ac_fn_c_try_link "$LINENO"; then :
25347 gcc_cv_math_func_casin=yes
25348 else
25349 gcc_cv_math_func_casin=no
25351 rm -f core conftest.err conftest.$ac_objext \
25352 conftest$ac_exeext conftest.$ac_ext
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25355 $as_echo "$gcc_cv_math_func_casin" >&6; }
25356 if test $gcc_cv_math_func_casin = yes; then
25358 cat >>confdefs.h <<_ACEOF
25359 #define HAVE_CASIN 1
25360 _ACEOF
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25368 $as_echo_n "checking for casinf... " >&6; }
25369 if ${gcc_cv_math_func_casinf+:} false; then :
25370 $as_echo_n "(cached) " >&6
25371 else
25372 if test x$gcc_no_link = xyes; then
25373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25378 #ifdef HAVE_COMPLEX_H
25379 #include <complex.h>
25380 #endif
25381 #ifdef HAVE_MATH_H
25382 #include <math.h>
25383 #endif
25385 int (*ptr)() = (int (*)())casinf;
25388 main ()
25390 return 0;
25393 _ACEOF
25394 if ac_fn_c_try_link "$LINENO"; then :
25395 gcc_cv_math_func_casinf=yes
25396 else
25397 gcc_cv_math_func_casinf=no
25399 rm -f core conftest.err conftest.$ac_objext \
25400 conftest$ac_exeext conftest.$ac_ext
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25403 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25404 if test $gcc_cv_math_func_casinf = yes; then
25406 cat >>confdefs.h <<_ACEOF
25407 #define HAVE_CASINF 1
25408 _ACEOF
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25416 $as_echo_n "checking for casinh... " >&6; }
25417 if ${gcc_cv_math_func_casinh+:} false; then :
25418 $as_echo_n "(cached) " >&6
25419 else
25420 if test x$gcc_no_link = xyes; then
25421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25426 #ifdef HAVE_COMPLEX_H
25427 #include <complex.h>
25428 #endif
25429 #ifdef HAVE_MATH_H
25430 #include <math.h>
25431 #endif
25433 int (*ptr)() = (int (*)())casinh;
25436 main ()
25438 return 0;
25441 _ACEOF
25442 if ac_fn_c_try_link "$LINENO"; then :
25443 gcc_cv_math_func_casinh=yes
25444 else
25445 gcc_cv_math_func_casinh=no
25447 rm -f core conftest.err conftest.$ac_objext \
25448 conftest$ac_exeext conftest.$ac_ext
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25451 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25452 if test $gcc_cv_math_func_casinh = yes; then
25454 cat >>confdefs.h <<_ACEOF
25455 #define HAVE_CASINH 1
25456 _ACEOF
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25464 $as_echo_n "checking for casinhf... " >&6; }
25465 if ${gcc_cv_math_func_casinhf+:} false; then :
25466 $as_echo_n "(cached) " >&6
25467 else
25468 if test x$gcc_no_link = xyes; then
25469 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25474 #ifdef HAVE_COMPLEX_H
25475 #include <complex.h>
25476 #endif
25477 #ifdef HAVE_MATH_H
25478 #include <math.h>
25479 #endif
25481 int (*ptr)() = (int (*)())casinhf;
25484 main ()
25486 return 0;
25489 _ACEOF
25490 if ac_fn_c_try_link "$LINENO"; then :
25491 gcc_cv_math_func_casinhf=yes
25492 else
25493 gcc_cv_math_func_casinhf=no
25495 rm -f core conftest.err conftest.$ac_objext \
25496 conftest$ac_exeext conftest.$ac_ext
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25499 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25500 if test $gcc_cv_math_func_casinhf = yes; then
25502 cat >>confdefs.h <<_ACEOF
25503 #define HAVE_CASINHF 1
25504 _ACEOF
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25512 $as_echo_n "checking for casinhl... " >&6; }
25513 if ${gcc_cv_math_func_casinhl+:} false; then :
25514 $as_echo_n "(cached) " >&6
25515 else
25516 if test x$gcc_no_link = xyes; then
25517 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25520 /* end confdefs.h. */
25522 #ifdef HAVE_COMPLEX_H
25523 #include <complex.h>
25524 #endif
25525 #ifdef HAVE_MATH_H
25526 #include <math.h>
25527 #endif
25529 int (*ptr)() = (int (*)())casinhl;
25532 main ()
25534 return 0;
25537 _ACEOF
25538 if ac_fn_c_try_link "$LINENO"; then :
25539 gcc_cv_math_func_casinhl=yes
25540 else
25541 gcc_cv_math_func_casinhl=no
25543 rm -f core conftest.err conftest.$ac_objext \
25544 conftest$ac_exeext conftest.$ac_ext
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25547 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25548 if test $gcc_cv_math_func_casinhl = yes; then
25550 cat >>confdefs.h <<_ACEOF
25551 #define HAVE_CASINHL 1
25552 _ACEOF
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25560 $as_echo_n "checking for casinl... " >&6; }
25561 if ${gcc_cv_math_func_casinl+:} false; then :
25562 $as_echo_n "(cached) " >&6
25563 else
25564 if test x$gcc_no_link = xyes; then
25565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25570 #ifdef HAVE_COMPLEX_H
25571 #include <complex.h>
25572 #endif
25573 #ifdef HAVE_MATH_H
25574 #include <math.h>
25575 #endif
25577 int (*ptr)() = (int (*)())casinl;
25580 main ()
25582 return 0;
25585 _ACEOF
25586 if ac_fn_c_try_link "$LINENO"; then :
25587 gcc_cv_math_func_casinl=yes
25588 else
25589 gcc_cv_math_func_casinl=no
25591 rm -f core conftest.err conftest.$ac_objext \
25592 conftest$ac_exeext conftest.$ac_ext
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25595 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25596 if test $gcc_cv_math_func_casinl = yes; then
25598 cat >>confdefs.h <<_ACEOF
25599 #define HAVE_CASINL 1
25600 _ACEOF
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25608 $as_echo_n "checking for catan... " >&6; }
25609 if ${gcc_cv_math_func_catan+:} false; then :
25610 $as_echo_n "(cached) " >&6
25611 else
25612 if test x$gcc_no_link = xyes; then
25613 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h. */
25618 #ifdef HAVE_COMPLEX_H
25619 #include <complex.h>
25620 #endif
25621 #ifdef HAVE_MATH_H
25622 #include <math.h>
25623 #endif
25625 int (*ptr)() = (int (*)())catan;
25628 main ()
25630 return 0;
25633 _ACEOF
25634 if ac_fn_c_try_link "$LINENO"; then :
25635 gcc_cv_math_func_catan=yes
25636 else
25637 gcc_cv_math_func_catan=no
25639 rm -f core conftest.err conftest.$ac_objext \
25640 conftest$ac_exeext conftest.$ac_ext
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25643 $as_echo "$gcc_cv_math_func_catan" >&6; }
25644 if test $gcc_cv_math_func_catan = yes; then
25646 cat >>confdefs.h <<_ACEOF
25647 #define HAVE_CATAN 1
25648 _ACEOF
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25656 $as_echo_n "checking for catanf... " >&6; }
25657 if ${gcc_cv_math_func_catanf+:} false; then :
25658 $as_echo_n "(cached) " >&6
25659 else
25660 if test x$gcc_no_link = xyes; then
25661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25664 /* end confdefs.h. */
25666 #ifdef HAVE_COMPLEX_H
25667 #include <complex.h>
25668 #endif
25669 #ifdef HAVE_MATH_H
25670 #include <math.h>
25671 #endif
25673 int (*ptr)() = (int (*)())catanf;
25676 main ()
25678 return 0;
25681 _ACEOF
25682 if ac_fn_c_try_link "$LINENO"; then :
25683 gcc_cv_math_func_catanf=yes
25684 else
25685 gcc_cv_math_func_catanf=no
25687 rm -f core conftest.err conftest.$ac_objext \
25688 conftest$ac_exeext conftest.$ac_ext
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25691 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25692 if test $gcc_cv_math_func_catanf = yes; then
25694 cat >>confdefs.h <<_ACEOF
25695 #define HAVE_CATANF 1
25696 _ACEOF
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25704 $as_echo_n "checking for catanh... " >&6; }
25705 if ${gcc_cv_math_func_catanh+:} false; then :
25706 $as_echo_n "(cached) " >&6
25707 else
25708 if test x$gcc_no_link = xyes; then
25709 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25712 /* end confdefs.h. */
25714 #ifdef HAVE_COMPLEX_H
25715 #include <complex.h>
25716 #endif
25717 #ifdef HAVE_MATH_H
25718 #include <math.h>
25719 #endif
25721 int (*ptr)() = (int (*)())catanh;
25724 main ()
25726 return 0;
25729 _ACEOF
25730 if ac_fn_c_try_link "$LINENO"; then :
25731 gcc_cv_math_func_catanh=yes
25732 else
25733 gcc_cv_math_func_catanh=no
25735 rm -f core conftest.err conftest.$ac_objext \
25736 conftest$ac_exeext conftest.$ac_ext
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25739 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25740 if test $gcc_cv_math_func_catanh = yes; then
25742 cat >>confdefs.h <<_ACEOF
25743 #define HAVE_CATANH 1
25744 _ACEOF
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25752 $as_echo_n "checking for catanhf... " >&6; }
25753 if ${gcc_cv_math_func_catanhf+:} false; then :
25754 $as_echo_n "(cached) " >&6
25755 else
25756 if test x$gcc_no_link = xyes; then
25757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25762 #ifdef HAVE_COMPLEX_H
25763 #include <complex.h>
25764 #endif
25765 #ifdef HAVE_MATH_H
25766 #include <math.h>
25767 #endif
25769 int (*ptr)() = (int (*)())catanhf;
25772 main ()
25774 return 0;
25777 _ACEOF
25778 if ac_fn_c_try_link "$LINENO"; then :
25779 gcc_cv_math_func_catanhf=yes
25780 else
25781 gcc_cv_math_func_catanhf=no
25783 rm -f core conftest.err conftest.$ac_objext \
25784 conftest$ac_exeext conftest.$ac_ext
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25787 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25788 if test $gcc_cv_math_func_catanhf = yes; then
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_CATANHF 1
25792 _ACEOF
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25800 $as_echo_n "checking for catanhl... " >&6; }
25801 if ${gcc_cv_math_func_catanhl+:} false; then :
25802 $as_echo_n "(cached) " >&6
25803 else
25804 if test x$gcc_no_link = xyes; then
25805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25810 #ifdef HAVE_COMPLEX_H
25811 #include <complex.h>
25812 #endif
25813 #ifdef HAVE_MATH_H
25814 #include <math.h>
25815 #endif
25817 int (*ptr)() = (int (*)())catanhl;
25820 main ()
25822 return 0;
25825 _ACEOF
25826 if ac_fn_c_try_link "$LINENO"; then :
25827 gcc_cv_math_func_catanhl=yes
25828 else
25829 gcc_cv_math_func_catanhl=no
25831 rm -f core conftest.err conftest.$ac_objext \
25832 conftest$ac_exeext conftest.$ac_ext
25834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25835 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25836 if test $gcc_cv_math_func_catanhl = yes; then
25838 cat >>confdefs.h <<_ACEOF
25839 #define HAVE_CATANHL 1
25840 _ACEOF
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25848 $as_echo_n "checking for catanl... " >&6; }
25849 if ${gcc_cv_math_func_catanl+:} false; then :
25850 $as_echo_n "(cached) " >&6
25851 else
25852 if test x$gcc_no_link = xyes; then
25853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25856 /* end confdefs.h. */
25858 #ifdef HAVE_COMPLEX_H
25859 #include <complex.h>
25860 #endif
25861 #ifdef HAVE_MATH_H
25862 #include <math.h>
25863 #endif
25865 int (*ptr)() = (int (*)())catanl;
25868 main ()
25870 return 0;
25873 _ACEOF
25874 if ac_fn_c_try_link "$LINENO"; then :
25875 gcc_cv_math_func_catanl=yes
25876 else
25877 gcc_cv_math_func_catanl=no
25879 rm -f core conftest.err conftest.$ac_objext \
25880 conftest$ac_exeext conftest.$ac_ext
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25883 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25884 if test $gcc_cv_math_func_catanl = yes; then
25886 cat >>confdefs.h <<_ACEOF
25887 #define HAVE_CATANL 1
25888 _ACEOF
25893 # For POWER, check the ieee128 math functions
25895 if test "x$have_real_17" = "xyes"; then
25897 cat >>confdefs.h <<_ACEOF
25898 #define HAVE_REAL_17 1
25899 _ACEOF
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25906 $as_echo_n "checking for __acoshieee128... " >&6; }
25907 if ${gcc_cv_math_func___acoshieee128+:} false; then :
25908 $as_echo_n "(cached) " >&6
25909 else
25910 if test x$gcc_no_link = xyes; then
25911 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25914 /* end confdefs.h. */
25916 _Float128 __acoshieee128 (_Float128);
25917 _Float128 (*ptr)(_Float128) = __acoshieee128;
25920 main ()
25922 return 0;
25925 _ACEOF
25926 if ac_fn_c_try_link "$LINENO"; then :
25927 gcc_cv_math_func___acoshieee128=yes
25928 else
25929 gcc_cv_math_func___acoshieee128=no
25931 rm -f core conftest.err conftest.$ac_objext \
25932 conftest$ac_exeext conftest.$ac_ext
25934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25935 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25936 if test $gcc_cv_math_func___acoshieee128 = yes; then
25938 cat >>confdefs.h <<_ACEOF
25939 #define HAVE___ACOSHIEEE128 1
25940 _ACEOF
25947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25948 $as_echo_n "checking for __acosieee128... " >&6; }
25949 if ${gcc_cv_math_func___acosieee128+:} false; then :
25950 $as_echo_n "(cached) " >&6
25951 else
25952 if test x$gcc_no_link = xyes; then
25953 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25958 _Float128 __acosieee128 (_Float128);
25959 _Float128 (*ptr)(_Float128) = __acosieee128;
25962 main ()
25964 return 0;
25967 _ACEOF
25968 if ac_fn_c_try_link "$LINENO"; then :
25969 gcc_cv_math_func___acosieee128=yes
25970 else
25971 gcc_cv_math_func___acosieee128=no
25973 rm -f core conftest.err conftest.$ac_objext \
25974 conftest$ac_exeext conftest.$ac_ext
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25977 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25978 if test $gcc_cv_math_func___acosieee128 = yes; then
25980 cat >>confdefs.h <<_ACEOF
25981 #define HAVE___ACOSIEEE128 1
25982 _ACEOF
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25990 $as_echo_n "checking for __asinhieee128... " >&6; }
25991 if ${gcc_cv_math_func___asinhieee128+:} false; then :
25992 $as_echo_n "(cached) " >&6
25993 else
25994 if test x$gcc_no_link = xyes; then
25995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25998 /* end confdefs.h. */
26000 _Float128 __asinhieee128 (_Float128);
26001 _Float128 (*ptr)(_Float128) = __asinhieee128;
26004 main ()
26006 return 0;
26009 _ACEOF
26010 if ac_fn_c_try_link "$LINENO"; then :
26011 gcc_cv_math_func___asinhieee128=yes
26012 else
26013 gcc_cv_math_func___asinhieee128=no
26015 rm -f core conftest.err conftest.$ac_objext \
26016 conftest$ac_exeext conftest.$ac_ext
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26019 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26020 if test $gcc_cv_math_func___asinhieee128 = yes; then
26022 cat >>confdefs.h <<_ACEOF
26023 #define HAVE___ASINHIEEE128 1
26024 _ACEOF
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26032 $as_echo_n "checking for __asinieee128... " >&6; }
26033 if ${gcc_cv_math_func___asinieee128+:} false; then :
26034 $as_echo_n "(cached) " >&6
26035 else
26036 if test x$gcc_no_link = xyes; then
26037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26040 /* end confdefs.h. */
26042 _Float128 __asinieee128 (_Float128);
26043 _Float128 (*ptr)(_Float128) = __asinieee128;
26046 main ()
26048 return 0;
26051 _ACEOF
26052 if ac_fn_c_try_link "$LINENO"; then :
26053 gcc_cv_math_func___asinieee128=yes
26054 else
26055 gcc_cv_math_func___asinieee128=no
26057 rm -f core conftest.err conftest.$ac_objext \
26058 conftest$ac_exeext conftest.$ac_ext
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26061 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26062 if test $gcc_cv_math_func___asinieee128 = yes; then
26064 cat >>confdefs.h <<_ACEOF
26065 #define HAVE___ASINIEEE128 1
26066 _ACEOF
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26074 $as_echo_n "checking for __atan2ieee128... " >&6; }
26075 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26076 $as_echo_n "(cached) " >&6
26077 else
26078 if test x$gcc_no_link = xyes; then
26079 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26084 _Float128 __atan2ieee128 (_Float128);
26085 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26088 main ()
26090 return 0;
26093 _ACEOF
26094 if ac_fn_c_try_link "$LINENO"; then :
26095 gcc_cv_math_func___atan2ieee128=yes
26096 else
26097 gcc_cv_math_func___atan2ieee128=no
26099 rm -f core conftest.err conftest.$ac_objext \
26100 conftest$ac_exeext conftest.$ac_ext
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26103 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26104 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26106 cat >>confdefs.h <<_ACEOF
26107 #define HAVE___ATAN2IEEE128 1
26108 _ACEOF
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26116 $as_echo_n "checking for __atanhieee128... " >&6; }
26117 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26120 if test x$gcc_no_link = xyes; then
26121 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26124 /* end confdefs.h. */
26126 _Float128 __atanhieee128 (_Float128);
26127 _Float128 (*ptr)(_Float128) = __atanhieee128;
26130 main ()
26132 return 0;
26135 _ACEOF
26136 if ac_fn_c_try_link "$LINENO"; then :
26137 gcc_cv_math_func___atanhieee128=yes
26138 else
26139 gcc_cv_math_func___atanhieee128=no
26141 rm -f core conftest.err conftest.$ac_objext \
26142 conftest$ac_exeext conftest.$ac_ext
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26145 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26146 if test $gcc_cv_math_func___atanhieee128 = yes; then
26148 cat >>confdefs.h <<_ACEOF
26149 #define HAVE___ATANHIEEE128 1
26150 _ACEOF
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26158 $as_echo_n "checking for __atanieee128... " >&6; }
26159 if ${gcc_cv_math_func___atanieee128+:} false; then :
26160 $as_echo_n "(cached) " >&6
26161 else
26162 if test x$gcc_no_link = xyes; then
26163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26168 _Float128 __atanieee128 (_Float128);
26169 _Float128 (*ptr)(_Float128) = __atanieee128;
26172 main ()
26174 return 0;
26177 _ACEOF
26178 if ac_fn_c_try_link "$LINENO"; then :
26179 gcc_cv_math_func___atanieee128=yes
26180 else
26181 gcc_cv_math_func___atanieee128=no
26183 rm -f core conftest.err conftest.$ac_objext \
26184 conftest$ac_exeext conftest.$ac_ext
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26187 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26188 if test $gcc_cv_math_func___atanieee128 = yes; then
26190 cat >>confdefs.h <<_ACEOF
26191 #define HAVE___ATANIEEE128 1
26192 _ACEOF
26199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26200 $as_echo_n "checking for __coshieee128... " >&6; }
26201 if ${gcc_cv_math_func___coshieee128+:} false; then :
26202 $as_echo_n "(cached) " >&6
26203 else
26204 if test x$gcc_no_link = xyes; then
26205 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26208 /* end confdefs.h. */
26210 _Float128 __coshieee128 (_Float128);
26211 _Float128 (*ptr)(_Float128) = __coshieee128;
26214 main ()
26216 return 0;
26219 _ACEOF
26220 if ac_fn_c_try_link "$LINENO"; then :
26221 gcc_cv_math_func___coshieee128=yes
26222 else
26223 gcc_cv_math_func___coshieee128=no
26225 rm -f core conftest.err conftest.$ac_objext \
26226 conftest$ac_exeext conftest.$ac_ext
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26229 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26230 if test $gcc_cv_math_func___coshieee128 = yes; then
26232 cat >>confdefs.h <<_ACEOF
26233 #define HAVE___COSHIEEE128 1
26234 _ACEOF
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26242 $as_echo_n "checking for __cosieee128... " >&6; }
26243 if ${gcc_cv_math_func___cosieee128+:} false; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26246 if test x$gcc_no_link = xyes; then
26247 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250 /* end confdefs.h. */
26252 _Float128 __cosieee128 (_Float128);
26253 _Float128 (*ptr)(_Float128) = __cosieee128;
26256 main ()
26258 return 0;
26261 _ACEOF
26262 if ac_fn_c_try_link "$LINENO"; then :
26263 gcc_cv_math_func___cosieee128=yes
26264 else
26265 gcc_cv_math_func___cosieee128=no
26267 rm -f core conftest.err conftest.$ac_objext \
26268 conftest$ac_exeext conftest.$ac_ext
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26271 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26272 if test $gcc_cv_math_func___cosieee128 = yes; then
26274 cat >>confdefs.h <<_ACEOF
26275 #define HAVE___COSIEEE128 1
26276 _ACEOF
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26284 $as_echo_n "checking for __erfieee128... " >&6; }
26285 if ${gcc_cv_math_func___erfieee128+:} false; then :
26286 $as_echo_n "(cached) " >&6
26287 else
26288 if test x$gcc_no_link = xyes; then
26289 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26292 /* end confdefs.h. */
26294 _Float128 __erfieee128 (_Float128);
26295 _Float128 (*ptr)(_Float128) = __erfieee128;
26298 main ()
26300 return 0;
26303 _ACEOF
26304 if ac_fn_c_try_link "$LINENO"; then :
26305 gcc_cv_math_func___erfieee128=yes
26306 else
26307 gcc_cv_math_func___erfieee128=no
26309 rm -f core conftest.err conftest.$ac_objext \
26310 conftest$ac_exeext conftest.$ac_ext
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26313 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26314 if test $gcc_cv_math_func___erfieee128 = yes; then
26316 cat >>confdefs.h <<_ACEOF
26317 #define HAVE___ERFIEEE128 1
26318 _ACEOF
26325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26326 $as_echo_n "checking for __expieee128... " >&6; }
26327 if ${gcc_cv_math_func___expieee128+:} false; then :
26328 $as_echo_n "(cached) " >&6
26329 else
26330 if test x$gcc_no_link = xyes; then
26331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26336 _Float128 __expieee128 (_Float128);
26337 _Float128 (*ptr)(_Float128) = __expieee128;
26340 main ()
26342 return 0;
26345 _ACEOF
26346 if ac_fn_c_try_link "$LINENO"; then :
26347 gcc_cv_math_func___expieee128=yes
26348 else
26349 gcc_cv_math_func___expieee128=no
26351 rm -f core conftest.err conftest.$ac_objext \
26352 conftest$ac_exeext conftest.$ac_ext
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26355 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26356 if test $gcc_cv_math_func___expieee128 = yes; then
26358 cat >>confdefs.h <<_ACEOF
26359 #define HAVE___EXPIEEE128 1
26360 _ACEOF
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26368 $as_echo_n "checking for __fabsieee128... " >&6; }
26369 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26372 if test x$gcc_no_link = xyes; then
26373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26376 /* end confdefs.h. */
26378 _Float128 __fabsieee128 (_Float128);
26379 _Float128 (*ptr)(_Float128) = __fabsieee128;
26382 main ()
26384 return 0;
26387 _ACEOF
26388 if ac_fn_c_try_link "$LINENO"; then :
26389 gcc_cv_math_func___fabsieee128=yes
26390 else
26391 gcc_cv_math_func___fabsieee128=no
26393 rm -f core conftest.err conftest.$ac_objext \
26394 conftest$ac_exeext conftest.$ac_ext
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26397 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26398 if test $gcc_cv_math_func___fabsieee128 = yes; then
26400 cat >>confdefs.h <<_ACEOF
26401 #define HAVE___FABSIEEE128 1
26402 _ACEOF
26409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26410 $as_echo_n "checking for __jnieee128... " >&6; }
26411 if ${gcc_cv_math_func___jnieee128+:} false; then :
26412 $as_echo_n "(cached) " >&6
26413 else
26414 if test x$gcc_no_link = xyes; then
26415 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26418 /* end confdefs.h. */
26420 _Float128 __jnieee128 (_Float128);
26421 _Float128 (*ptr)(_Float128) = __jnieee128;
26424 main ()
26426 return 0;
26429 _ACEOF
26430 if ac_fn_c_try_link "$LINENO"; then :
26431 gcc_cv_math_func___jnieee128=yes
26432 else
26433 gcc_cv_math_func___jnieee128=no
26435 rm -f core conftest.err conftest.$ac_objext \
26436 conftest$ac_exeext conftest.$ac_ext
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26439 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26440 if test $gcc_cv_math_func___jnieee128 = yes; then
26442 cat >>confdefs.h <<_ACEOF
26443 #define HAVE___JNIEEE128 1
26444 _ACEOF
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26452 $as_echo_n "checking for __log10ieee128... " >&6; }
26453 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26454 $as_echo_n "(cached) " >&6
26455 else
26456 if test x$gcc_no_link = xyes; then
26457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26460 /* end confdefs.h. */
26462 _Float128 __log10ieee128 (_Float128);
26463 _Float128 (*ptr)(_Float128) = __log10ieee128;
26466 main ()
26468 return 0;
26471 _ACEOF
26472 if ac_fn_c_try_link "$LINENO"; then :
26473 gcc_cv_math_func___log10ieee128=yes
26474 else
26475 gcc_cv_math_func___log10ieee128=no
26477 rm -f core conftest.err conftest.$ac_objext \
26478 conftest$ac_exeext conftest.$ac_ext
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26481 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26482 if test $gcc_cv_math_func___log10ieee128 = yes; then
26484 cat >>confdefs.h <<_ACEOF
26485 #define HAVE___LOG10IEEE128 1
26486 _ACEOF
26493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26494 $as_echo_n "checking for __logieee128... " >&6; }
26495 if ${gcc_cv_math_func___logieee128+:} false; then :
26496 $as_echo_n "(cached) " >&6
26497 else
26498 if test x$gcc_no_link = xyes; then
26499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26504 _Float128 __logieee128 (_Float128);
26505 _Float128 (*ptr)(_Float128) = __logieee128;
26508 main ()
26510 return 0;
26513 _ACEOF
26514 if ac_fn_c_try_link "$LINENO"; then :
26515 gcc_cv_math_func___logieee128=yes
26516 else
26517 gcc_cv_math_func___logieee128=no
26519 rm -f core conftest.err conftest.$ac_objext \
26520 conftest$ac_exeext conftest.$ac_ext
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26523 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26524 if test $gcc_cv_math_func___logieee128 = yes; then
26526 cat >>confdefs.h <<_ACEOF
26527 #define HAVE___LOGIEEE128 1
26528 _ACEOF
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26536 $as_echo_n "checking for __powieee128... " >&6; }
26537 if ${gcc_cv_math_func___powieee128+:} false; then :
26538 $as_echo_n "(cached) " >&6
26539 else
26540 if test x$gcc_no_link = xyes; then
26541 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26544 /* end confdefs.h. */
26546 _Float128 __powieee128 (_Float128);
26547 _Float128 (*ptr)(_Float128) = __powieee128;
26550 main ()
26552 return 0;
26555 _ACEOF
26556 if ac_fn_c_try_link "$LINENO"; then :
26557 gcc_cv_math_func___powieee128=yes
26558 else
26559 gcc_cv_math_func___powieee128=no
26561 rm -f core conftest.err conftest.$ac_objext \
26562 conftest$ac_exeext conftest.$ac_ext
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26565 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26566 if test $gcc_cv_math_func___powieee128 = yes; then
26568 cat >>confdefs.h <<_ACEOF
26569 #define HAVE___POWIEEE128 1
26570 _ACEOF
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26578 $as_echo_n "checking for __sinhieee128... " >&6; }
26579 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26580 $as_echo_n "(cached) " >&6
26581 else
26582 if test x$gcc_no_link = xyes; then
26583 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26586 /* end confdefs.h. */
26588 _Float128 __sinhieee128 (_Float128);
26589 _Float128 (*ptr)(_Float128) = __sinhieee128;
26592 main ()
26594 return 0;
26597 _ACEOF
26598 if ac_fn_c_try_link "$LINENO"; then :
26599 gcc_cv_math_func___sinhieee128=yes
26600 else
26601 gcc_cv_math_func___sinhieee128=no
26603 rm -f core conftest.err conftest.$ac_objext \
26604 conftest$ac_exeext conftest.$ac_ext
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26607 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26608 if test $gcc_cv_math_func___sinhieee128 = yes; then
26610 cat >>confdefs.h <<_ACEOF
26611 #define HAVE___SINHIEEE128 1
26612 _ACEOF
26619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26620 $as_echo_n "checking for __sinieee128... " >&6; }
26621 if ${gcc_cv_math_func___sinieee128+:} false; then :
26622 $as_echo_n "(cached) " >&6
26623 else
26624 if test x$gcc_no_link = xyes; then
26625 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26628 /* end confdefs.h. */
26630 _Float128 __sinieee128 (_Float128);
26631 _Float128 (*ptr)(_Float128) = __sinieee128;
26634 main ()
26636 return 0;
26639 _ACEOF
26640 if ac_fn_c_try_link "$LINENO"; then :
26641 gcc_cv_math_func___sinieee128=yes
26642 else
26643 gcc_cv_math_func___sinieee128=no
26645 rm -f core conftest.err conftest.$ac_objext \
26646 conftest$ac_exeext conftest.$ac_ext
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26649 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26650 if test $gcc_cv_math_func___sinieee128 = yes; then
26652 cat >>confdefs.h <<_ACEOF
26653 #define HAVE___SINIEEE128 1
26654 _ACEOF
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26662 $as_echo_n "checking for __sqrtieee128... " >&6; }
26663 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26664 $as_echo_n "(cached) " >&6
26665 else
26666 if test x$gcc_no_link = xyes; then
26667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26670 /* end confdefs.h. */
26672 _Float128 __sqrtieee128 (_Float128);
26673 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26676 main ()
26678 return 0;
26681 _ACEOF
26682 if ac_fn_c_try_link "$LINENO"; then :
26683 gcc_cv_math_func___sqrtieee128=yes
26684 else
26685 gcc_cv_math_func___sqrtieee128=no
26687 rm -f core conftest.err conftest.$ac_objext \
26688 conftest$ac_exeext conftest.$ac_ext
26690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26691 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26692 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26694 cat >>confdefs.h <<_ACEOF
26695 #define HAVE___SQRTIEEE128 1
26696 _ACEOF
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26704 $as_echo_n "checking for __tanhieee128... " >&6; }
26705 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26706 $as_echo_n "(cached) " >&6
26707 else
26708 if test x$gcc_no_link = xyes; then
26709 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26712 /* end confdefs.h. */
26714 _Float128 __tanhieee128 (_Float128);
26715 _Float128 (*ptr)(_Float128) = __tanhieee128;
26718 main ()
26720 return 0;
26723 _ACEOF
26724 if ac_fn_c_try_link "$LINENO"; then :
26725 gcc_cv_math_func___tanhieee128=yes
26726 else
26727 gcc_cv_math_func___tanhieee128=no
26729 rm -f core conftest.err conftest.$ac_objext \
26730 conftest$ac_exeext conftest.$ac_ext
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26733 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26734 if test $gcc_cv_math_func___tanhieee128 = yes; then
26736 cat >>confdefs.h <<_ACEOF
26737 #define HAVE___TANHIEEE128 1
26738 _ACEOF
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26746 $as_echo_n "checking for __tanieee128... " >&6; }
26747 if ${gcc_cv_math_func___tanieee128+:} false; then :
26748 $as_echo_n "(cached) " >&6
26749 else
26750 if test x$gcc_no_link = xyes; then
26751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26754 /* end confdefs.h. */
26756 _Float128 __tanieee128 (_Float128);
26757 _Float128 (*ptr)(_Float128) = __tanieee128;
26760 main ()
26762 return 0;
26765 _ACEOF
26766 if ac_fn_c_try_link "$LINENO"; then :
26767 gcc_cv_math_func___tanieee128=yes
26768 else
26769 gcc_cv_math_func___tanieee128=no
26771 rm -f core conftest.err conftest.$ac_objext \
26772 conftest$ac_exeext conftest.$ac_ext
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26775 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26776 if test $gcc_cv_math_func___tanieee128 = yes; then
26778 cat >>confdefs.h <<_ACEOF
26779 #define HAVE___TANIEEE128 1
26780 _ACEOF
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26788 $as_echo_n "checking for __ynieee128... " >&6; }
26789 if ${gcc_cv_math_func___ynieee128+:} false; then :
26790 $as_echo_n "(cached) " >&6
26791 else
26792 if test x$gcc_no_link = xyes; then
26793 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26796 /* end confdefs.h. */
26798 _Float128 __ynieee128 (_Float128);
26799 _Float128 (*ptr)(_Float128) = __ynieee128;
26802 main ()
26804 return 0;
26807 _ACEOF
26808 if ac_fn_c_try_link "$LINENO"; then :
26809 gcc_cv_math_func___ynieee128=yes
26810 else
26811 gcc_cv_math_func___ynieee128=no
26813 rm -f core conftest.err conftest.$ac_objext \
26814 conftest$ac_exeext conftest.$ac_ext
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26817 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26818 if test $gcc_cv_math_func___ynieee128 = yes; then
26820 cat >>confdefs.h <<_ACEOF
26821 #define HAVE___YNIEEE128 1
26822 _ACEOF
26828 # On AIX, clog is present in libm as __clog
26829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26830 $as_echo_n "checking for __clog in -lm... " >&6; }
26831 if ${ac_cv_lib_m___clog+:} false; then :
26832 $as_echo_n "(cached) " >&6
26833 else
26834 ac_check_lib_save_LIBS=$LIBS
26835 LIBS="-lm $LIBS"
26836 if test x$gcc_no_link = xyes; then
26837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26840 /* end confdefs.h. */
26842 /* Override any GCC internal prototype to avoid an error.
26843 Use char because int might match the return type of a GCC
26844 builtin and then its argument prototype would still apply. */
26845 #ifdef __cplusplus
26846 extern "C"
26847 #endif
26848 char __clog ();
26850 main ()
26852 return __clog ();
26854 return 0;
26856 _ACEOF
26857 if ac_fn_c_try_link "$LINENO"; then :
26858 ac_cv_lib_m___clog=yes
26859 else
26860 ac_cv_lib_m___clog=no
26862 rm -f core conftest.err conftest.$ac_objext \
26863 conftest$ac_exeext conftest.$ac_ext
26864 LIBS=$ac_check_lib_save_LIBS
26866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26867 $as_echo "$ac_cv_lib_m___clog" >&6; }
26868 if test "x$ac_cv_lib_m___clog" = xyes; then :
26870 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26877 if test $gcc_cv_math_func_copysign = no; then
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26879 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26880 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26881 $as_echo_n "(cached) " >&6
26882 else
26883 if test x$gcc_no_link = xyes; then
26884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26887 /* end confdefs.h. */
26889 double
26890 copysign_fallback (double x, double y)
26892 return __builtin_copysign (x, y);
26896 main ()
26898 return 0;
26901 _ACEOF
26902 if ac_fn_c_try_link "$LINENO"; then :
26903 gcc_cv_math_inline_builtin_copysign=yes
26904 else
26905 gcc_cv_math_inline_builtin_copysign=no
26907 rm -f core conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26911 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26912 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26914 cat >>confdefs.h <<_ACEOF
26915 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26916 _ACEOF
26922 if test $gcc_cv_math_func_copysignl = no; then
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26924 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26925 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
26926 $as_echo_n "(cached) " >&6
26927 else
26928 if test x$gcc_no_link = xyes; then
26929 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26932 /* end confdefs.h. */
26934 long double
26935 copysignl_fallback (long double x, long double y)
26937 return __builtin_copysignl (x, y);
26941 main ()
26943 return 0;
26946 _ACEOF
26947 if ac_fn_c_try_link "$LINENO"; then :
26948 gcc_cv_math_inline_builtin_copysignl=yes
26949 else
26950 gcc_cv_math_inline_builtin_copysignl=no
26952 rm -f core conftest.err conftest.$ac_objext \
26953 conftest$ac_exeext conftest.$ac_ext
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26956 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26957 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26959 cat >>confdefs.h <<_ACEOF
26960 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26961 _ACEOF
26967 if test $gcc_cv_math_func_fabs = no; then
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26969 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26970 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
26971 $as_echo_n "(cached) " >&6
26972 else
26973 if test x$gcc_no_link = xyes; then
26974 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26977 /* end confdefs.h. */
26979 double
26980 fabs_fallback (double x)
26982 return __builtin_fabs (x);
26986 main ()
26988 return 0;
26991 _ACEOF
26992 if ac_fn_c_try_link "$LINENO"; then :
26993 gcc_cv_math_inline_builtin_fabs=yes
26994 else
26995 gcc_cv_math_inline_builtin_fabs=no
26997 rm -f core conftest.err conftest.$ac_objext \
26998 conftest$ac_exeext conftest.$ac_ext
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27001 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27002 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27004 cat >>confdefs.h <<_ACEOF
27005 #define HAVE_INLINE_BUILTIN_FABS 1
27006 _ACEOF
27012 if test $gcc_cv_math_func_fabsl = no; then
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27014 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27015 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
27016 $as_echo_n "(cached) " >&6
27017 else
27018 if test x$gcc_no_link = xyes; then
27019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27022 /* end confdefs.h. */
27024 long double
27025 fabsl_fallback (long double x)
27027 return __builtin_fabsl (x);
27031 main ()
27033 return 0;
27036 _ACEOF
27037 if ac_fn_c_try_link "$LINENO"; then :
27038 gcc_cv_math_inline_builtin_fabsl=yes
27039 else
27040 gcc_cv_math_inline_builtin_fabsl=no
27042 rm -f core conftest.err conftest.$ac_objext \
27043 conftest$ac_exeext conftest.$ac_ext
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27046 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27047 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27049 cat >>confdefs.h <<_ACEOF
27050 #define HAVE_INLINE_BUILTIN_FABSL 1
27051 _ACEOF
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27060 $as_echo_n "checking for acosf128... " >&6; }
27061 if ${gcc_cv_math_func_acosf128+:} false; then :
27062 $as_echo_n "(cached) " >&6
27063 else
27064 if test x$gcc_no_link = xyes; then
27065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27068 /* end confdefs.h. */
27070 #ifdef HAVE_COMPLEX_H
27071 #include <complex.h>
27072 #endif
27073 #ifdef HAVE_MATH_H
27074 #include <math.h>
27075 #endif
27077 int (*ptr)() = (int (*)())acosf128;
27080 main ()
27082 return 0;
27085 _ACEOF
27086 if ac_fn_c_try_link "$LINENO"; then :
27087 gcc_cv_math_func_acosf128=yes
27088 else
27089 gcc_cv_math_func_acosf128=no
27091 rm -f core conftest.err conftest.$ac_objext \
27092 conftest$ac_exeext conftest.$ac_ext
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27095 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27096 if test $gcc_cv_math_func_acosf128 = yes; then
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE_ACOSF128 1
27100 _ACEOF
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27108 $as_echo_n "checking for acoshf128... " >&6; }
27109 if ${gcc_cv_math_func_acoshf128+:} false; then :
27110 $as_echo_n "(cached) " >&6
27111 else
27112 if test x$gcc_no_link = xyes; then
27113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27116 /* end confdefs.h. */
27118 #ifdef HAVE_COMPLEX_H
27119 #include <complex.h>
27120 #endif
27121 #ifdef HAVE_MATH_H
27122 #include <math.h>
27123 #endif
27125 int (*ptr)() = (int (*)())acoshf128;
27128 main ()
27130 return 0;
27133 _ACEOF
27134 if ac_fn_c_try_link "$LINENO"; then :
27135 gcc_cv_math_func_acoshf128=yes
27136 else
27137 gcc_cv_math_func_acoshf128=no
27139 rm -f core conftest.err conftest.$ac_objext \
27140 conftest$ac_exeext conftest.$ac_ext
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27143 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27144 if test $gcc_cv_math_func_acoshf128 = yes; then
27146 cat >>confdefs.h <<_ACEOF
27147 #define HAVE_ACOSHF128 1
27148 _ACEOF
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27156 $as_echo_n "checking for asinf128... " >&6; }
27157 if ${gcc_cv_math_func_asinf128+:} false; then :
27158 $as_echo_n "(cached) " >&6
27159 else
27160 if test x$gcc_no_link = xyes; then
27161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27164 /* end confdefs.h. */
27166 #ifdef HAVE_COMPLEX_H
27167 #include <complex.h>
27168 #endif
27169 #ifdef HAVE_MATH_H
27170 #include <math.h>
27171 #endif
27173 int (*ptr)() = (int (*)())asinf128;
27176 main ()
27178 return 0;
27181 _ACEOF
27182 if ac_fn_c_try_link "$LINENO"; then :
27183 gcc_cv_math_func_asinf128=yes
27184 else
27185 gcc_cv_math_func_asinf128=no
27187 rm -f core conftest.err conftest.$ac_objext \
27188 conftest$ac_exeext conftest.$ac_ext
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27191 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27192 if test $gcc_cv_math_func_asinf128 = yes; then
27194 cat >>confdefs.h <<_ACEOF
27195 #define HAVE_ASINF128 1
27196 _ACEOF
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27204 $as_echo_n "checking for asinhf128... " >&6; }
27205 if ${gcc_cv_math_func_asinhf128+:} false; then :
27206 $as_echo_n "(cached) " >&6
27207 else
27208 if test x$gcc_no_link = xyes; then
27209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27212 /* end confdefs.h. */
27214 #ifdef HAVE_COMPLEX_H
27215 #include <complex.h>
27216 #endif
27217 #ifdef HAVE_MATH_H
27218 #include <math.h>
27219 #endif
27221 int (*ptr)() = (int (*)())asinhf128;
27224 main ()
27226 return 0;
27229 _ACEOF
27230 if ac_fn_c_try_link "$LINENO"; then :
27231 gcc_cv_math_func_asinhf128=yes
27232 else
27233 gcc_cv_math_func_asinhf128=no
27235 rm -f core conftest.err conftest.$ac_objext \
27236 conftest$ac_exeext conftest.$ac_ext
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27239 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27240 if test $gcc_cv_math_func_asinhf128 = yes; then
27242 cat >>confdefs.h <<_ACEOF
27243 #define HAVE_ASINHF128 1
27244 _ACEOF
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27252 $as_echo_n "checking for atan2f128... " >&6; }
27253 if ${gcc_cv_math_func_atan2f128+:} false; then :
27254 $as_echo_n "(cached) " >&6
27255 else
27256 if test x$gcc_no_link = xyes; then
27257 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27260 /* end confdefs.h. */
27262 #ifdef HAVE_COMPLEX_H
27263 #include <complex.h>
27264 #endif
27265 #ifdef HAVE_MATH_H
27266 #include <math.h>
27267 #endif
27269 int (*ptr)() = (int (*)())atan2f128;
27272 main ()
27274 return 0;
27277 _ACEOF
27278 if ac_fn_c_try_link "$LINENO"; then :
27279 gcc_cv_math_func_atan2f128=yes
27280 else
27281 gcc_cv_math_func_atan2f128=no
27283 rm -f core conftest.err conftest.$ac_objext \
27284 conftest$ac_exeext conftest.$ac_ext
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27287 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27288 if test $gcc_cv_math_func_atan2f128 = yes; then
27290 cat >>confdefs.h <<_ACEOF
27291 #define HAVE_ATAN2F128 1
27292 _ACEOF
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27300 $as_echo_n "checking for atanf128... " >&6; }
27301 if ${gcc_cv_math_func_atanf128+:} false; then :
27302 $as_echo_n "(cached) " >&6
27303 else
27304 if test x$gcc_no_link = xyes; then
27305 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27308 /* end confdefs.h. */
27310 #ifdef HAVE_COMPLEX_H
27311 #include <complex.h>
27312 #endif
27313 #ifdef HAVE_MATH_H
27314 #include <math.h>
27315 #endif
27317 int (*ptr)() = (int (*)())atanf128;
27320 main ()
27322 return 0;
27325 _ACEOF
27326 if ac_fn_c_try_link "$LINENO"; then :
27327 gcc_cv_math_func_atanf128=yes
27328 else
27329 gcc_cv_math_func_atanf128=no
27331 rm -f core conftest.err conftest.$ac_objext \
27332 conftest$ac_exeext conftest.$ac_ext
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27335 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27336 if test $gcc_cv_math_func_atanf128 = yes; then
27338 cat >>confdefs.h <<_ACEOF
27339 #define HAVE_ATANF128 1
27340 _ACEOF
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27348 $as_echo_n "checking for atanhf128... " >&6; }
27349 if ${gcc_cv_math_func_atanhf128+:} false; then :
27350 $as_echo_n "(cached) " >&6
27351 else
27352 if test x$gcc_no_link = xyes; then
27353 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27356 /* end confdefs.h. */
27358 #ifdef HAVE_COMPLEX_H
27359 #include <complex.h>
27360 #endif
27361 #ifdef HAVE_MATH_H
27362 #include <math.h>
27363 #endif
27365 int (*ptr)() = (int (*)())atanhf128;
27368 main ()
27370 return 0;
27373 _ACEOF
27374 if ac_fn_c_try_link "$LINENO"; then :
27375 gcc_cv_math_func_atanhf128=yes
27376 else
27377 gcc_cv_math_func_atanhf128=no
27379 rm -f core conftest.err conftest.$ac_objext \
27380 conftest$ac_exeext conftest.$ac_ext
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27383 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27384 if test $gcc_cv_math_func_atanhf128 = yes; then
27386 cat >>confdefs.h <<_ACEOF
27387 #define HAVE_ATANHF128 1
27388 _ACEOF
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27396 $as_echo_n "checking for cargf128... " >&6; }
27397 if ${gcc_cv_math_func_cargf128+:} false; then :
27398 $as_echo_n "(cached) " >&6
27399 else
27400 if test x$gcc_no_link = xyes; then
27401 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27404 /* end confdefs.h. */
27406 #ifdef HAVE_COMPLEX_H
27407 #include <complex.h>
27408 #endif
27409 #ifdef HAVE_MATH_H
27410 #include <math.h>
27411 #endif
27413 int (*ptr)() = (int (*)())cargf128;
27416 main ()
27418 return 0;
27421 _ACEOF
27422 if ac_fn_c_try_link "$LINENO"; then :
27423 gcc_cv_math_func_cargf128=yes
27424 else
27425 gcc_cv_math_func_cargf128=no
27427 rm -f core conftest.err conftest.$ac_objext \
27428 conftest$ac_exeext conftest.$ac_ext
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27431 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27432 if test $gcc_cv_math_func_cargf128 = yes; then
27434 cat >>confdefs.h <<_ACEOF
27435 #define HAVE_CARGF128 1
27436 _ACEOF
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27444 $as_echo_n "checking for ceilf128... " >&6; }
27445 if ${gcc_cv_math_func_ceilf128+:} false; then :
27446 $as_echo_n "(cached) " >&6
27447 else
27448 if test x$gcc_no_link = xyes; then
27449 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27452 /* end confdefs.h. */
27454 #ifdef HAVE_COMPLEX_H
27455 #include <complex.h>
27456 #endif
27457 #ifdef HAVE_MATH_H
27458 #include <math.h>
27459 #endif
27461 int (*ptr)() = (int (*)())ceilf128;
27464 main ()
27466 return 0;
27469 _ACEOF
27470 if ac_fn_c_try_link "$LINENO"; then :
27471 gcc_cv_math_func_ceilf128=yes
27472 else
27473 gcc_cv_math_func_ceilf128=no
27475 rm -f core conftest.err conftest.$ac_objext \
27476 conftest$ac_exeext conftest.$ac_ext
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27479 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27480 if test $gcc_cv_math_func_ceilf128 = yes; then
27482 cat >>confdefs.h <<_ACEOF
27483 #define HAVE_CEILF128 1
27484 _ACEOF
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27492 $as_echo_n "checking for copysignf128... " >&6; }
27493 if ${gcc_cv_math_func_copysignf128+:} false; then :
27494 $as_echo_n "(cached) " >&6
27495 else
27496 if test x$gcc_no_link = xyes; then
27497 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27500 /* end confdefs.h. */
27502 #ifdef HAVE_COMPLEX_H
27503 #include <complex.h>
27504 #endif
27505 #ifdef HAVE_MATH_H
27506 #include <math.h>
27507 #endif
27509 int (*ptr)() = (int (*)())copysignf128;
27512 main ()
27514 return 0;
27517 _ACEOF
27518 if ac_fn_c_try_link "$LINENO"; then :
27519 gcc_cv_math_func_copysignf128=yes
27520 else
27521 gcc_cv_math_func_copysignf128=no
27523 rm -f core conftest.err conftest.$ac_objext \
27524 conftest$ac_exeext conftest.$ac_ext
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27527 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27528 if test $gcc_cv_math_func_copysignf128 = yes; then
27530 cat >>confdefs.h <<_ACEOF
27531 #define HAVE_COPYSIGNF128 1
27532 _ACEOF
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27540 $as_echo_n "checking for cosf128... " >&6; }
27541 if ${gcc_cv_math_func_cosf128+:} false; then :
27542 $as_echo_n "(cached) " >&6
27543 else
27544 if test x$gcc_no_link = xyes; then
27545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27548 /* end confdefs.h. */
27550 #ifdef HAVE_COMPLEX_H
27551 #include <complex.h>
27552 #endif
27553 #ifdef HAVE_MATH_H
27554 #include <math.h>
27555 #endif
27557 int (*ptr)() = (int (*)())cosf128;
27560 main ()
27562 return 0;
27565 _ACEOF
27566 if ac_fn_c_try_link "$LINENO"; then :
27567 gcc_cv_math_func_cosf128=yes
27568 else
27569 gcc_cv_math_func_cosf128=no
27571 rm -f core conftest.err conftest.$ac_objext \
27572 conftest$ac_exeext conftest.$ac_ext
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27575 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27576 if test $gcc_cv_math_func_cosf128 = yes; then
27578 cat >>confdefs.h <<_ACEOF
27579 #define HAVE_COSF128 1
27580 _ACEOF
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27588 $as_echo_n "checking for ccosf128... " >&6; }
27589 if ${gcc_cv_math_func_ccosf128+:} false; then :
27590 $as_echo_n "(cached) " >&6
27591 else
27592 if test x$gcc_no_link = xyes; then
27593 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27596 /* end confdefs.h. */
27598 #ifdef HAVE_COMPLEX_H
27599 #include <complex.h>
27600 #endif
27601 #ifdef HAVE_MATH_H
27602 #include <math.h>
27603 #endif
27605 int (*ptr)() = (int (*)())ccosf128;
27608 main ()
27610 return 0;
27613 _ACEOF
27614 if ac_fn_c_try_link "$LINENO"; then :
27615 gcc_cv_math_func_ccosf128=yes
27616 else
27617 gcc_cv_math_func_ccosf128=no
27619 rm -f core conftest.err conftest.$ac_objext \
27620 conftest$ac_exeext conftest.$ac_ext
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27623 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27624 if test $gcc_cv_math_func_ccosf128 = yes; then
27626 cat >>confdefs.h <<_ACEOF
27627 #define HAVE_CCOSF128 1
27628 _ACEOF
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27636 $as_echo_n "checking for coshf128... " >&6; }
27637 if ${gcc_cv_math_func_coshf128+:} false; then :
27638 $as_echo_n "(cached) " >&6
27639 else
27640 if test x$gcc_no_link = xyes; then
27641 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27644 /* end confdefs.h. */
27646 #ifdef HAVE_COMPLEX_H
27647 #include <complex.h>
27648 #endif
27649 #ifdef HAVE_MATH_H
27650 #include <math.h>
27651 #endif
27653 int (*ptr)() = (int (*)())coshf128;
27656 main ()
27658 return 0;
27661 _ACEOF
27662 if ac_fn_c_try_link "$LINENO"; then :
27663 gcc_cv_math_func_coshf128=yes
27664 else
27665 gcc_cv_math_func_coshf128=no
27667 rm -f core conftest.err conftest.$ac_objext \
27668 conftest$ac_exeext conftest.$ac_ext
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27671 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27672 if test $gcc_cv_math_func_coshf128 = yes; then
27674 cat >>confdefs.h <<_ACEOF
27675 #define HAVE_COSHF128 1
27676 _ACEOF
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27684 $as_echo_n "checking for ccoshf128... " >&6; }
27685 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27686 $as_echo_n "(cached) " >&6
27687 else
27688 if test x$gcc_no_link = xyes; then
27689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27692 /* end confdefs.h. */
27694 #ifdef HAVE_COMPLEX_H
27695 #include <complex.h>
27696 #endif
27697 #ifdef HAVE_MATH_H
27698 #include <math.h>
27699 #endif
27701 int (*ptr)() = (int (*)())ccoshf128;
27704 main ()
27706 return 0;
27709 _ACEOF
27710 if ac_fn_c_try_link "$LINENO"; then :
27711 gcc_cv_math_func_ccoshf128=yes
27712 else
27713 gcc_cv_math_func_ccoshf128=no
27715 rm -f core conftest.err conftest.$ac_objext \
27716 conftest$ac_exeext conftest.$ac_ext
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27719 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27720 if test $gcc_cv_math_func_ccoshf128 = yes; then
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE_CCOSHF128 1
27724 _ACEOF
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27732 $as_echo_n "checking for expf128... " >&6; }
27733 if ${gcc_cv_math_func_expf128+:} false; then :
27734 $as_echo_n "(cached) " >&6
27735 else
27736 if test x$gcc_no_link = xyes; then
27737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27740 /* end confdefs.h. */
27742 #ifdef HAVE_COMPLEX_H
27743 #include <complex.h>
27744 #endif
27745 #ifdef HAVE_MATH_H
27746 #include <math.h>
27747 #endif
27749 int (*ptr)() = (int (*)())expf128;
27752 main ()
27754 return 0;
27757 _ACEOF
27758 if ac_fn_c_try_link "$LINENO"; then :
27759 gcc_cv_math_func_expf128=yes
27760 else
27761 gcc_cv_math_func_expf128=no
27763 rm -f core conftest.err conftest.$ac_objext \
27764 conftest$ac_exeext conftest.$ac_ext
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27767 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27768 if test $gcc_cv_math_func_expf128 = yes; then
27770 cat >>confdefs.h <<_ACEOF
27771 #define HAVE_EXPF128 1
27772 _ACEOF
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27780 $as_echo_n "checking for cexpf128... " >&6; }
27781 if ${gcc_cv_math_func_cexpf128+:} false; then :
27782 $as_echo_n "(cached) " >&6
27783 else
27784 if test x$gcc_no_link = xyes; then
27785 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27788 /* end confdefs.h. */
27790 #ifdef HAVE_COMPLEX_H
27791 #include <complex.h>
27792 #endif
27793 #ifdef HAVE_MATH_H
27794 #include <math.h>
27795 #endif
27797 int (*ptr)() = (int (*)())cexpf128;
27800 main ()
27802 return 0;
27805 _ACEOF
27806 if ac_fn_c_try_link "$LINENO"; then :
27807 gcc_cv_math_func_cexpf128=yes
27808 else
27809 gcc_cv_math_func_cexpf128=no
27811 rm -f core conftest.err conftest.$ac_objext \
27812 conftest$ac_exeext conftest.$ac_ext
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27815 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27816 if test $gcc_cv_math_func_cexpf128 = yes; then
27818 cat >>confdefs.h <<_ACEOF
27819 #define HAVE_CEXPF128 1
27820 _ACEOF
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27828 $as_echo_n "checking for fabsf128... " >&6; }
27829 if ${gcc_cv_math_func_fabsf128+:} false; then :
27830 $as_echo_n "(cached) " >&6
27831 else
27832 if test x$gcc_no_link = xyes; then
27833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h. */
27838 #ifdef HAVE_COMPLEX_H
27839 #include <complex.h>
27840 #endif
27841 #ifdef HAVE_MATH_H
27842 #include <math.h>
27843 #endif
27845 int (*ptr)() = (int (*)())fabsf128;
27848 main ()
27850 return 0;
27853 _ACEOF
27854 if ac_fn_c_try_link "$LINENO"; then :
27855 gcc_cv_math_func_fabsf128=yes
27856 else
27857 gcc_cv_math_func_fabsf128=no
27859 rm -f core conftest.err conftest.$ac_objext \
27860 conftest$ac_exeext conftest.$ac_ext
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27863 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27864 if test $gcc_cv_math_func_fabsf128 = yes; then
27866 cat >>confdefs.h <<_ACEOF
27867 #define HAVE_FABSF128 1
27868 _ACEOF
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27876 $as_echo_n "checking for cabsf128... " >&6; }
27877 if ${gcc_cv_math_func_cabsf128+:} false; then :
27878 $as_echo_n "(cached) " >&6
27879 else
27880 if test x$gcc_no_link = xyes; then
27881 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27884 /* end confdefs.h. */
27886 #ifdef HAVE_COMPLEX_H
27887 #include <complex.h>
27888 #endif
27889 #ifdef HAVE_MATH_H
27890 #include <math.h>
27891 #endif
27893 int (*ptr)() = (int (*)())cabsf128;
27896 main ()
27898 return 0;
27901 _ACEOF
27902 if ac_fn_c_try_link "$LINENO"; then :
27903 gcc_cv_math_func_cabsf128=yes
27904 else
27905 gcc_cv_math_func_cabsf128=no
27907 rm -f core conftest.err conftest.$ac_objext \
27908 conftest$ac_exeext conftest.$ac_ext
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27911 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27912 if test $gcc_cv_math_func_cabsf128 = yes; then
27914 cat >>confdefs.h <<_ACEOF
27915 #define HAVE_CABSF128 1
27916 _ACEOF
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27924 $as_echo_n "checking for floorf128... " >&6; }
27925 if ${gcc_cv_math_func_floorf128+:} false; then :
27926 $as_echo_n "(cached) " >&6
27927 else
27928 if test x$gcc_no_link = xyes; then
27929 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27932 /* end confdefs.h. */
27934 #ifdef HAVE_COMPLEX_H
27935 #include <complex.h>
27936 #endif
27937 #ifdef HAVE_MATH_H
27938 #include <math.h>
27939 #endif
27941 int (*ptr)() = (int (*)())floorf128;
27944 main ()
27946 return 0;
27949 _ACEOF
27950 if ac_fn_c_try_link "$LINENO"; then :
27951 gcc_cv_math_func_floorf128=yes
27952 else
27953 gcc_cv_math_func_floorf128=no
27955 rm -f core conftest.err conftest.$ac_objext \
27956 conftest$ac_exeext conftest.$ac_ext
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27959 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27960 if test $gcc_cv_math_func_floorf128 = yes; then
27962 cat >>confdefs.h <<_ACEOF
27963 #define HAVE_FLOORF128 1
27964 _ACEOF
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27972 $as_echo_n "checking for fmaf128... " >&6; }
27973 if ${gcc_cv_math_func_fmaf128+:} false; then :
27974 $as_echo_n "(cached) " >&6
27975 else
27976 if test x$gcc_no_link = xyes; then
27977 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27980 /* end confdefs.h. */
27982 #ifdef HAVE_COMPLEX_H
27983 #include <complex.h>
27984 #endif
27985 #ifdef HAVE_MATH_H
27986 #include <math.h>
27987 #endif
27989 int (*ptr)() = (int (*)())fmaf128;
27992 main ()
27994 return 0;
27997 _ACEOF
27998 if ac_fn_c_try_link "$LINENO"; then :
27999 gcc_cv_math_func_fmaf128=yes
28000 else
28001 gcc_cv_math_func_fmaf128=no
28003 rm -f core conftest.err conftest.$ac_objext \
28004 conftest$ac_exeext conftest.$ac_ext
28006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28007 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28008 if test $gcc_cv_math_func_fmaf128 = yes; then
28010 cat >>confdefs.h <<_ACEOF
28011 #define HAVE_FMAF128 1
28012 _ACEOF
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28020 $as_echo_n "checking for fmodf128... " >&6; }
28021 if ${gcc_cv_math_func_fmodf128+:} false; then :
28022 $as_echo_n "(cached) " >&6
28023 else
28024 if test x$gcc_no_link = xyes; then
28025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28028 /* end confdefs.h. */
28030 #ifdef HAVE_COMPLEX_H
28031 #include <complex.h>
28032 #endif
28033 #ifdef HAVE_MATH_H
28034 #include <math.h>
28035 #endif
28037 int (*ptr)() = (int (*)())fmodf128;
28040 main ()
28042 return 0;
28045 _ACEOF
28046 if ac_fn_c_try_link "$LINENO"; then :
28047 gcc_cv_math_func_fmodf128=yes
28048 else
28049 gcc_cv_math_func_fmodf128=no
28051 rm -f core conftest.err conftest.$ac_objext \
28052 conftest$ac_exeext conftest.$ac_ext
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28055 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28056 if test $gcc_cv_math_func_fmodf128 = yes; then
28058 cat >>confdefs.h <<_ACEOF
28059 #define HAVE_FMODF128 1
28060 _ACEOF
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28068 $as_echo_n "checking for frexpf128... " >&6; }
28069 if ${gcc_cv_math_func_frexpf128+:} false; then :
28070 $as_echo_n "(cached) " >&6
28071 else
28072 if test x$gcc_no_link = xyes; then
28073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28076 /* end confdefs.h. */
28078 #ifdef HAVE_COMPLEX_H
28079 #include <complex.h>
28080 #endif
28081 #ifdef HAVE_MATH_H
28082 #include <math.h>
28083 #endif
28085 int (*ptr)() = (int (*)())frexpf128;
28088 main ()
28090 return 0;
28093 _ACEOF
28094 if ac_fn_c_try_link "$LINENO"; then :
28095 gcc_cv_math_func_frexpf128=yes
28096 else
28097 gcc_cv_math_func_frexpf128=no
28099 rm -f core conftest.err conftest.$ac_objext \
28100 conftest$ac_exeext conftest.$ac_ext
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28103 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28104 if test $gcc_cv_math_func_frexpf128 = yes; then
28106 cat >>confdefs.h <<_ACEOF
28107 #define HAVE_FREXPF128 1
28108 _ACEOF
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28116 $as_echo_n "checking for hypotf128... " >&6; }
28117 if ${gcc_cv_math_func_hypotf128+:} false; then :
28118 $as_echo_n "(cached) " >&6
28119 else
28120 if test x$gcc_no_link = xyes; then
28121 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28124 /* end confdefs.h. */
28126 #ifdef HAVE_COMPLEX_H
28127 #include <complex.h>
28128 #endif
28129 #ifdef HAVE_MATH_H
28130 #include <math.h>
28131 #endif
28133 int (*ptr)() = (int (*)())hypotf128;
28136 main ()
28138 return 0;
28141 _ACEOF
28142 if ac_fn_c_try_link "$LINENO"; then :
28143 gcc_cv_math_func_hypotf128=yes
28144 else
28145 gcc_cv_math_func_hypotf128=no
28147 rm -f core conftest.err conftest.$ac_objext \
28148 conftest$ac_exeext conftest.$ac_ext
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28151 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28152 if test $gcc_cv_math_func_hypotf128 = yes; then
28154 cat >>confdefs.h <<_ACEOF
28155 #define HAVE_HYPOTF128 1
28156 _ACEOF
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28164 $as_echo_n "checking for ldexpf128... " >&6; }
28165 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28166 $as_echo_n "(cached) " >&6
28167 else
28168 if test x$gcc_no_link = xyes; then
28169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28174 #ifdef HAVE_COMPLEX_H
28175 #include <complex.h>
28176 #endif
28177 #ifdef HAVE_MATH_H
28178 #include <math.h>
28179 #endif
28181 int (*ptr)() = (int (*)())ldexpf128;
28184 main ()
28186 return 0;
28189 _ACEOF
28190 if ac_fn_c_try_link "$LINENO"; then :
28191 gcc_cv_math_func_ldexpf128=yes
28192 else
28193 gcc_cv_math_func_ldexpf128=no
28195 rm -f core conftest.err conftest.$ac_objext \
28196 conftest$ac_exeext conftest.$ac_ext
28198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28199 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28200 if test $gcc_cv_math_func_ldexpf128 = yes; then
28202 cat >>confdefs.h <<_ACEOF
28203 #define HAVE_LDEXPF128 1
28204 _ACEOF
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28212 $as_echo_n "checking for logf128... " >&6; }
28213 if ${gcc_cv_math_func_logf128+:} false; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28216 if test x$gcc_no_link = xyes; then
28217 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28220 /* end confdefs.h. */
28222 #ifdef HAVE_COMPLEX_H
28223 #include <complex.h>
28224 #endif
28225 #ifdef HAVE_MATH_H
28226 #include <math.h>
28227 #endif
28229 int (*ptr)() = (int (*)())logf128;
28232 main ()
28234 return 0;
28237 _ACEOF
28238 if ac_fn_c_try_link "$LINENO"; then :
28239 gcc_cv_math_func_logf128=yes
28240 else
28241 gcc_cv_math_func_logf128=no
28243 rm -f core conftest.err conftest.$ac_objext \
28244 conftest$ac_exeext conftest.$ac_ext
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28247 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28248 if test $gcc_cv_math_func_logf128 = yes; then
28250 cat >>confdefs.h <<_ACEOF
28251 #define HAVE_LOGF128 1
28252 _ACEOF
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28260 $as_echo_n "checking for clogf128... " >&6; }
28261 if ${gcc_cv_math_func_clogf128+:} false; then :
28262 $as_echo_n "(cached) " >&6
28263 else
28264 if test x$gcc_no_link = xyes; then
28265 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28270 #ifdef HAVE_COMPLEX_H
28271 #include <complex.h>
28272 #endif
28273 #ifdef HAVE_MATH_H
28274 #include <math.h>
28275 #endif
28277 int (*ptr)() = (int (*)())clogf128;
28280 main ()
28282 return 0;
28285 _ACEOF
28286 if ac_fn_c_try_link "$LINENO"; then :
28287 gcc_cv_math_func_clogf128=yes
28288 else
28289 gcc_cv_math_func_clogf128=no
28291 rm -f core conftest.err conftest.$ac_objext \
28292 conftest$ac_exeext conftest.$ac_ext
28294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28295 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28296 if test $gcc_cv_math_func_clogf128 = yes; then
28298 cat >>confdefs.h <<_ACEOF
28299 #define HAVE_CLOGF128 1
28300 _ACEOF
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28308 $as_echo_n "checking for log10f128... " >&6; }
28309 if ${gcc_cv_math_func_log10f128+:} false; then :
28310 $as_echo_n "(cached) " >&6
28311 else
28312 if test x$gcc_no_link = xyes; then
28313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28316 /* end confdefs.h. */
28318 #ifdef HAVE_COMPLEX_H
28319 #include <complex.h>
28320 #endif
28321 #ifdef HAVE_MATH_H
28322 #include <math.h>
28323 #endif
28325 int (*ptr)() = (int (*)())log10f128;
28328 main ()
28330 return 0;
28333 _ACEOF
28334 if ac_fn_c_try_link "$LINENO"; then :
28335 gcc_cv_math_func_log10f128=yes
28336 else
28337 gcc_cv_math_func_log10f128=no
28339 rm -f core conftest.err conftest.$ac_objext \
28340 conftest$ac_exeext conftest.$ac_ext
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28343 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28344 if test $gcc_cv_math_func_log10f128 = yes; then
28346 cat >>confdefs.h <<_ACEOF
28347 #define HAVE_LOG10F128 1
28348 _ACEOF
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28356 $as_echo_n "checking for clog10f128... " >&6; }
28357 if ${gcc_cv_math_func_clog10f128+:} false; then :
28358 $as_echo_n "(cached) " >&6
28359 else
28360 if test x$gcc_no_link = xyes; then
28361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28364 /* end confdefs.h. */
28366 #ifdef HAVE_COMPLEX_H
28367 #include <complex.h>
28368 #endif
28369 #ifdef HAVE_MATH_H
28370 #include <math.h>
28371 #endif
28373 int (*ptr)() = (int (*)())clog10f128;
28376 main ()
28378 return 0;
28381 _ACEOF
28382 if ac_fn_c_try_link "$LINENO"; then :
28383 gcc_cv_math_func_clog10f128=yes
28384 else
28385 gcc_cv_math_func_clog10f128=no
28387 rm -f core conftest.err conftest.$ac_objext \
28388 conftest$ac_exeext conftest.$ac_ext
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28391 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28392 if test $gcc_cv_math_func_clog10f128 = yes; then
28394 cat >>confdefs.h <<_ACEOF
28395 #define HAVE_CLOG10F128 1
28396 _ACEOF
28403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28404 $as_echo_n "checking for nextafterf128... " >&6; }
28405 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28406 $as_echo_n "(cached) " >&6
28407 else
28408 if test x$gcc_no_link = xyes; then
28409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28412 /* end confdefs.h. */
28414 #ifdef HAVE_COMPLEX_H
28415 #include <complex.h>
28416 #endif
28417 #ifdef HAVE_MATH_H
28418 #include <math.h>
28419 #endif
28421 int (*ptr)() = (int (*)())nextafterf128;
28424 main ()
28426 return 0;
28429 _ACEOF
28430 if ac_fn_c_try_link "$LINENO"; then :
28431 gcc_cv_math_func_nextafterf128=yes
28432 else
28433 gcc_cv_math_func_nextafterf128=no
28435 rm -f core conftest.err conftest.$ac_objext \
28436 conftest$ac_exeext conftest.$ac_ext
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28439 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28440 if test $gcc_cv_math_func_nextafterf128 = yes; then
28442 cat >>confdefs.h <<_ACEOF
28443 #define HAVE_NEXTAFTERF128 1
28444 _ACEOF
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28452 $as_echo_n "checking for powf128... " >&6; }
28453 if ${gcc_cv_math_func_powf128+:} false; then :
28454 $as_echo_n "(cached) " >&6
28455 else
28456 if test x$gcc_no_link = xyes; then
28457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28460 /* end confdefs.h. */
28462 #ifdef HAVE_COMPLEX_H
28463 #include <complex.h>
28464 #endif
28465 #ifdef HAVE_MATH_H
28466 #include <math.h>
28467 #endif
28469 int (*ptr)() = (int (*)())powf128;
28472 main ()
28474 return 0;
28477 _ACEOF
28478 if ac_fn_c_try_link "$LINENO"; then :
28479 gcc_cv_math_func_powf128=yes
28480 else
28481 gcc_cv_math_func_powf128=no
28483 rm -f core conftest.err conftest.$ac_objext \
28484 conftest$ac_exeext conftest.$ac_ext
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28487 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28488 if test $gcc_cv_math_func_powf128 = yes; then
28490 cat >>confdefs.h <<_ACEOF
28491 #define HAVE_POWF128 1
28492 _ACEOF
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28500 $as_echo_n "checking for cpowf128... " >&6; }
28501 if ${gcc_cv_math_func_cpowf128+:} false; then :
28502 $as_echo_n "(cached) " >&6
28503 else
28504 if test x$gcc_no_link = xyes; then
28505 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28508 /* end confdefs.h. */
28510 #ifdef HAVE_COMPLEX_H
28511 #include <complex.h>
28512 #endif
28513 #ifdef HAVE_MATH_H
28514 #include <math.h>
28515 #endif
28517 int (*ptr)() = (int (*)())cpowf128;
28520 main ()
28522 return 0;
28525 _ACEOF
28526 if ac_fn_c_try_link "$LINENO"; then :
28527 gcc_cv_math_func_cpowf128=yes
28528 else
28529 gcc_cv_math_func_cpowf128=no
28531 rm -f core conftest.err conftest.$ac_objext \
28532 conftest$ac_exeext conftest.$ac_ext
28534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28535 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28536 if test $gcc_cv_math_func_cpowf128 = yes; then
28538 cat >>confdefs.h <<_ACEOF
28539 #define HAVE_CPOWF128 1
28540 _ACEOF
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28548 $as_echo_n "checking for roundf128... " >&6; }
28549 if ${gcc_cv_math_func_roundf128+:} false; then :
28550 $as_echo_n "(cached) " >&6
28551 else
28552 if test x$gcc_no_link = xyes; then
28553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28556 /* end confdefs.h. */
28558 #ifdef HAVE_COMPLEX_H
28559 #include <complex.h>
28560 #endif
28561 #ifdef HAVE_MATH_H
28562 #include <math.h>
28563 #endif
28565 int (*ptr)() = (int (*)())roundf128;
28568 main ()
28570 return 0;
28573 _ACEOF
28574 if ac_fn_c_try_link "$LINENO"; then :
28575 gcc_cv_math_func_roundf128=yes
28576 else
28577 gcc_cv_math_func_roundf128=no
28579 rm -f core conftest.err conftest.$ac_objext \
28580 conftest$ac_exeext conftest.$ac_ext
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28583 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28584 if test $gcc_cv_math_func_roundf128 = yes; then
28586 cat >>confdefs.h <<_ACEOF
28587 #define HAVE_ROUNDF128 1
28588 _ACEOF
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28596 $as_echo_n "checking for lroundf128... " >&6; }
28597 if ${gcc_cv_math_func_lroundf128+:} false; then :
28598 $as_echo_n "(cached) " >&6
28599 else
28600 if test x$gcc_no_link = xyes; then
28601 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28604 /* end confdefs.h. */
28606 #ifdef HAVE_COMPLEX_H
28607 #include <complex.h>
28608 #endif
28609 #ifdef HAVE_MATH_H
28610 #include <math.h>
28611 #endif
28613 int (*ptr)() = (int (*)())lroundf128;
28616 main ()
28618 return 0;
28621 _ACEOF
28622 if ac_fn_c_try_link "$LINENO"; then :
28623 gcc_cv_math_func_lroundf128=yes
28624 else
28625 gcc_cv_math_func_lroundf128=no
28627 rm -f core conftest.err conftest.$ac_objext \
28628 conftest$ac_exeext conftest.$ac_ext
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28631 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28632 if test $gcc_cv_math_func_lroundf128 = yes; then
28634 cat >>confdefs.h <<_ACEOF
28635 #define HAVE_LROUNDF128 1
28636 _ACEOF
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28644 $as_echo_n "checking for llroundf128... " >&6; }
28645 if ${gcc_cv_math_func_llroundf128+:} false; then :
28646 $as_echo_n "(cached) " >&6
28647 else
28648 if test x$gcc_no_link = xyes; then
28649 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28652 /* end confdefs.h. */
28654 #ifdef HAVE_COMPLEX_H
28655 #include <complex.h>
28656 #endif
28657 #ifdef HAVE_MATH_H
28658 #include <math.h>
28659 #endif
28661 int (*ptr)() = (int (*)())llroundf128;
28664 main ()
28666 return 0;
28669 _ACEOF
28670 if ac_fn_c_try_link "$LINENO"; then :
28671 gcc_cv_math_func_llroundf128=yes
28672 else
28673 gcc_cv_math_func_llroundf128=no
28675 rm -f core conftest.err conftest.$ac_objext \
28676 conftest$ac_exeext conftest.$ac_ext
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28679 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28680 if test $gcc_cv_math_func_llroundf128 = yes; then
28682 cat >>confdefs.h <<_ACEOF
28683 #define HAVE_LLROUNDF128 1
28684 _ACEOF
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28692 $as_echo_n "checking for scalbnf128... " >&6; }
28693 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28694 $as_echo_n "(cached) " >&6
28695 else
28696 if test x$gcc_no_link = xyes; then
28697 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h. */
28702 #ifdef HAVE_COMPLEX_H
28703 #include <complex.h>
28704 #endif
28705 #ifdef HAVE_MATH_H
28706 #include <math.h>
28707 #endif
28709 int (*ptr)() = (int (*)())scalbnf128;
28712 main ()
28714 return 0;
28717 _ACEOF
28718 if ac_fn_c_try_link "$LINENO"; then :
28719 gcc_cv_math_func_scalbnf128=yes
28720 else
28721 gcc_cv_math_func_scalbnf128=no
28723 rm -f core conftest.err conftest.$ac_objext \
28724 conftest$ac_exeext conftest.$ac_ext
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28727 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28728 if test $gcc_cv_math_func_scalbnf128 = yes; then
28730 cat >>confdefs.h <<_ACEOF
28731 #define HAVE_SCALBNF128 1
28732 _ACEOF
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28740 $as_echo_n "checking for sinf128... " >&6; }
28741 if ${gcc_cv_math_func_sinf128+:} false; then :
28742 $as_echo_n "(cached) " >&6
28743 else
28744 if test x$gcc_no_link = xyes; then
28745 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28748 /* end confdefs.h. */
28750 #ifdef HAVE_COMPLEX_H
28751 #include <complex.h>
28752 #endif
28753 #ifdef HAVE_MATH_H
28754 #include <math.h>
28755 #endif
28757 int (*ptr)() = (int (*)())sinf128;
28760 main ()
28762 return 0;
28765 _ACEOF
28766 if ac_fn_c_try_link "$LINENO"; then :
28767 gcc_cv_math_func_sinf128=yes
28768 else
28769 gcc_cv_math_func_sinf128=no
28771 rm -f core conftest.err conftest.$ac_objext \
28772 conftest$ac_exeext conftest.$ac_ext
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28775 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28776 if test $gcc_cv_math_func_sinf128 = yes; then
28778 cat >>confdefs.h <<_ACEOF
28779 #define HAVE_SINF128 1
28780 _ACEOF
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28788 $as_echo_n "checking for csinf128... " >&6; }
28789 if ${gcc_cv_math_func_csinf128+:} false; then :
28790 $as_echo_n "(cached) " >&6
28791 else
28792 if test x$gcc_no_link = xyes; then
28793 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28796 /* end confdefs.h. */
28798 #ifdef HAVE_COMPLEX_H
28799 #include <complex.h>
28800 #endif
28801 #ifdef HAVE_MATH_H
28802 #include <math.h>
28803 #endif
28805 int (*ptr)() = (int (*)())csinf128;
28808 main ()
28810 return 0;
28813 _ACEOF
28814 if ac_fn_c_try_link "$LINENO"; then :
28815 gcc_cv_math_func_csinf128=yes
28816 else
28817 gcc_cv_math_func_csinf128=no
28819 rm -f core conftest.err conftest.$ac_objext \
28820 conftest$ac_exeext conftest.$ac_ext
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28823 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28824 if test $gcc_cv_math_func_csinf128 = yes; then
28826 cat >>confdefs.h <<_ACEOF
28827 #define HAVE_CSINF128 1
28828 _ACEOF
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28836 $as_echo_n "checking for sinhf128... " >&6; }
28837 if ${gcc_cv_math_func_sinhf128+:} false; then :
28838 $as_echo_n "(cached) " >&6
28839 else
28840 if test x$gcc_no_link = xyes; then
28841 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28844 /* end confdefs.h. */
28846 #ifdef HAVE_COMPLEX_H
28847 #include <complex.h>
28848 #endif
28849 #ifdef HAVE_MATH_H
28850 #include <math.h>
28851 #endif
28853 int (*ptr)() = (int (*)())sinhf128;
28856 main ()
28858 return 0;
28861 _ACEOF
28862 if ac_fn_c_try_link "$LINENO"; then :
28863 gcc_cv_math_func_sinhf128=yes
28864 else
28865 gcc_cv_math_func_sinhf128=no
28867 rm -f core conftest.err conftest.$ac_objext \
28868 conftest$ac_exeext conftest.$ac_ext
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28871 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28872 if test $gcc_cv_math_func_sinhf128 = yes; then
28874 cat >>confdefs.h <<_ACEOF
28875 #define HAVE_SINHF128 1
28876 _ACEOF
28883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28884 $as_echo_n "checking for csinhf128... " >&6; }
28885 if ${gcc_cv_math_func_csinhf128+:} false; then :
28886 $as_echo_n "(cached) " >&6
28887 else
28888 if test x$gcc_no_link = xyes; then
28889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28892 /* end confdefs.h. */
28894 #ifdef HAVE_COMPLEX_H
28895 #include <complex.h>
28896 #endif
28897 #ifdef HAVE_MATH_H
28898 #include <math.h>
28899 #endif
28901 int (*ptr)() = (int (*)())csinhf128;
28904 main ()
28906 return 0;
28909 _ACEOF
28910 if ac_fn_c_try_link "$LINENO"; then :
28911 gcc_cv_math_func_csinhf128=yes
28912 else
28913 gcc_cv_math_func_csinhf128=no
28915 rm -f core conftest.err conftest.$ac_objext \
28916 conftest$ac_exeext conftest.$ac_ext
28918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28919 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28920 if test $gcc_cv_math_func_csinhf128 = yes; then
28922 cat >>confdefs.h <<_ACEOF
28923 #define HAVE_CSINHF128 1
28924 _ACEOF
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28932 $as_echo_n "checking for sqrtf128... " >&6; }
28933 if ${gcc_cv_math_func_sqrtf128+:} false; then :
28934 $as_echo_n "(cached) " >&6
28935 else
28936 if test x$gcc_no_link = xyes; then
28937 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28940 /* end confdefs.h. */
28942 #ifdef HAVE_COMPLEX_H
28943 #include <complex.h>
28944 #endif
28945 #ifdef HAVE_MATH_H
28946 #include <math.h>
28947 #endif
28949 int (*ptr)() = (int (*)())sqrtf128;
28952 main ()
28954 return 0;
28957 _ACEOF
28958 if ac_fn_c_try_link "$LINENO"; then :
28959 gcc_cv_math_func_sqrtf128=yes
28960 else
28961 gcc_cv_math_func_sqrtf128=no
28963 rm -f core conftest.err conftest.$ac_objext \
28964 conftest$ac_exeext conftest.$ac_ext
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28967 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28968 if test $gcc_cv_math_func_sqrtf128 = yes; then
28970 cat >>confdefs.h <<_ACEOF
28971 #define HAVE_SQRTF128 1
28972 _ACEOF
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28980 $as_echo_n "checking for csqrtf128... " >&6; }
28981 if ${gcc_cv_math_func_csqrtf128+:} false; then :
28982 $as_echo_n "(cached) " >&6
28983 else
28984 if test x$gcc_no_link = xyes; then
28985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28988 /* end confdefs.h. */
28990 #ifdef HAVE_COMPLEX_H
28991 #include <complex.h>
28992 #endif
28993 #ifdef HAVE_MATH_H
28994 #include <math.h>
28995 #endif
28997 int (*ptr)() = (int (*)())csqrtf128;
29000 main ()
29002 return 0;
29005 _ACEOF
29006 if ac_fn_c_try_link "$LINENO"; then :
29007 gcc_cv_math_func_csqrtf128=yes
29008 else
29009 gcc_cv_math_func_csqrtf128=no
29011 rm -f core conftest.err conftest.$ac_objext \
29012 conftest$ac_exeext conftest.$ac_ext
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29015 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29016 if test $gcc_cv_math_func_csqrtf128 = yes; then
29018 cat >>confdefs.h <<_ACEOF
29019 #define HAVE_CSQRTF128 1
29020 _ACEOF
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29028 $as_echo_n "checking for tanf128... " >&6; }
29029 if ${gcc_cv_math_func_tanf128+:} false; then :
29030 $as_echo_n "(cached) " >&6
29031 else
29032 if test x$gcc_no_link = xyes; then
29033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h. */
29038 #ifdef HAVE_COMPLEX_H
29039 #include <complex.h>
29040 #endif
29041 #ifdef HAVE_MATH_H
29042 #include <math.h>
29043 #endif
29045 int (*ptr)() = (int (*)())tanf128;
29048 main ()
29050 return 0;
29053 _ACEOF
29054 if ac_fn_c_try_link "$LINENO"; then :
29055 gcc_cv_math_func_tanf128=yes
29056 else
29057 gcc_cv_math_func_tanf128=no
29059 rm -f core conftest.err conftest.$ac_objext \
29060 conftest$ac_exeext conftest.$ac_ext
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29063 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29064 if test $gcc_cv_math_func_tanf128 = yes; then
29066 cat >>confdefs.h <<_ACEOF
29067 #define HAVE_TANF128 1
29068 _ACEOF
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29076 $as_echo_n "checking for ctanf128... " >&6; }
29077 if ${gcc_cv_math_func_ctanf128+:} false; then :
29078 $as_echo_n "(cached) " >&6
29079 else
29080 if test x$gcc_no_link = xyes; then
29081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29084 /* end confdefs.h. */
29086 #ifdef HAVE_COMPLEX_H
29087 #include <complex.h>
29088 #endif
29089 #ifdef HAVE_MATH_H
29090 #include <math.h>
29091 #endif
29093 int (*ptr)() = (int (*)())ctanf128;
29096 main ()
29098 return 0;
29101 _ACEOF
29102 if ac_fn_c_try_link "$LINENO"; then :
29103 gcc_cv_math_func_ctanf128=yes
29104 else
29105 gcc_cv_math_func_ctanf128=no
29107 rm -f core conftest.err conftest.$ac_objext \
29108 conftest$ac_exeext conftest.$ac_ext
29110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29111 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29112 if test $gcc_cv_math_func_ctanf128 = yes; then
29114 cat >>confdefs.h <<_ACEOF
29115 #define HAVE_CTANF128 1
29116 _ACEOF
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29124 $as_echo_n "checking for tanhf128... " >&6; }
29125 if ${gcc_cv_math_func_tanhf128+:} false; then :
29126 $as_echo_n "(cached) " >&6
29127 else
29128 if test x$gcc_no_link = xyes; then
29129 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h. */
29134 #ifdef HAVE_COMPLEX_H
29135 #include <complex.h>
29136 #endif
29137 #ifdef HAVE_MATH_H
29138 #include <math.h>
29139 #endif
29141 int (*ptr)() = (int (*)())tanhf128;
29144 main ()
29146 return 0;
29149 _ACEOF
29150 if ac_fn_c_try_link "$LINENO"; then :
29151 gcc_cv_math_func_tanhf128=yes
29152 else
29153 gcc_cv_math_func_tanhf128=no
29155 rm -f core conftest.err conftest.$ac_objext \
29156 conftest$ac_exeext conftest.$ac_ext
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29159 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29160 if test $gcc_cv_math_func_tanhf128 = yes; then
29162 cat >>confdefs.h <<_ACEOF
29163 #define HAVE_TANHF128 1
29164 _ACEOF
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29172 $as_echo_n "checking for ctanhf128... " >&6; }
29173 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29174 $as_echo_n "(cached) " >&6
29175 else
29176 if test x$gcc_no_link = xyes; then
29177 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29182 #ifdef HAVE_COMPLEX_H
29183 #include <complex.h>
29184 #endif
29185 #ifdef HAVE_MATH_H
29186 #include <math.h>
29187 #endif
29189 int (*ptr)() = (int (*)())ctanhf128;
29192 main ()
29194 return 0;
29197 _ACEOF
29198 if ac_fn_c_try_link "$LINENO"; then :
29199 gcc_cv_math_func_ctanhf128=yes
29200 else
29201 gcc_cv_math_func_ctanhf128=no
29203 rm -f core conftest.err conftest.$ac_objext \
29204 conftest$ac_exeext conftest.$ac_ext
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29207 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29208 if test $gcc_cv_math_func_ctanhf128 = yes; then
29210 cat >>confdefs.h <<_ACEOF
29211 #define HAVE_CTANHF128 1
29212 _ACEOF
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29220 $as_echo_n "checking for truncf128... " >&6; }
29221 if ${gcc_cv_math_func_truncf128+:} false; then :
29222 $as_echo_n "(cached) " >&6
29223 else
29224 if test x$gcc_no_link = xyes; then
29225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29228 /* end confdefs.h. */
29230 #ifdef HAVE_COMPLEX_H
29231 #include <complex.h>
29232 #endif
29233 #ifdef HAVE_MATH_H
29234 #include <math.h>
29235 #endif
29237 int (*ptr)() = (int (*)())truncf128;
29240 main ()
29242 return 0;
29245 _ACEOF
29246 if ac_fn_c_try_link "$LINENO"; then :
29247 gcc_cv_math_func_truncf128=yes
29248 else
29249 gcc_cv_math_func_truncf128=no
29251 rm -f core conftest.err conftest.$ac_objext \
29252 conftest$ac_exeext conftest.$ac_ext
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29255 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29256 if test $gcc_cv_math_func_truncf128 = yes; then
29258 cat >>confdefs.h <<_ACEOF
29259 #define HAVE_TRUNCF128 1
29260 _ACEOF
29267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29268 $as_echo_n "checking for erff128... " >&6; }
29269 if ${gcc_cv_math_func_erff128+:} false; then :
29270 $as_echo_n "(cached) " >&6
29271 else
29272 if test x$gcc_no_link = xyes; then
29273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29276 /* end confdefs.h. */
29278 #ifdef HAVE_COMPLEX_H
29279 #include <complex.h>
29280 #endif
29281 #ifdef HAVE_MATH_H
29282 #include <math.h>
29283 #endif
29285 int (*ptr)() = (int (*)())erff128;
29288 main ()
29290 return 0;
29293 _ACEOF
29294 if ac_fn_c_try_link "$LINENO"; then :
29295 gcc_cv_math_func_erff128=yes
29296 else
29297 gcc_cv_math_func_erff128=no
29299 rm -f core conftest.err conftest.$ac_objext \
29300 conftest$ac_exeext conftest.$ac_ext
29302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29303 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29304 if test $gcc_cv_math_func_erff128 = yes; then
29306 cat >>confdefs.h <<_ACEOF
29307 #define HAVE_ERFF128 1
29308 _ACEOF
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29316 $as_echo_n "checking for erfcf128... " >&6; }
29317 if ${gcc_cv_math_func_erfcf128+:} false; then :
29318 $as_echo_n "(cached) " >&6
29319 else
29320 if test x$gcc_no_link = xyes; then
29321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29324 /* end confdefs.h. */
29326 #ifdef HAVE_COMPLEX_H
29327 #include <complex.h>
29328 #endif
29329 #ifdef HAVE_MATH_H
29330 #include <math.h>
29331 #endif
29333 int (*ptr)() = (int (*)())erfcf128;
29336 main ()
29338 return 0;
29341 _ACEOF
29342 if ac_fn_c_try_link "$LINENO"; then :
29343 gcc_cv_math_func_erfcf128=yes
29344 else
29345 gcc_cv_math_func_erfcf128=no
29347 rm -f core conftest.err conftest.$ac_objext \
29348 conftest$ac_exeext conftest.$ac_ext
29350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29351 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29352 if test $gcc_cv_math_func_erfcf128 = yes; then
29354 cat >>confdefs.h <<_ACEOF
29355 #define HAVE_ERFCF128 1
29356 _ACEOF
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29364 $as_echo_n "checking for j0f128... " >&6; }
29365 if ${gcc_cv_math_func_j0f128+:} false; then :
29366 $as_echo_n "(cached) " >&6
29367 else
29368 if test x$gcc_no_link = xyes; then
29369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29372 /* end confdefs.h. */
29374 #ifdef HAVE_COMPLEX_H
29375 #include <complex.h>
29376 #endif
29377 #ifdef HAVE_MATH_H
29378 #include <math.h>
29379 #endif
29381 int (*ptr)() = (int (*)())j0f128;
29384 main ()
29386 return 0;
29389 _ACEOF
29390 if ac_fn_c_try_link "$LINENO"; then :
29391 gcc_cv_math_func_j0f128=yes
29392 else
29393 gcc_cv_math_func_j0f128=no
29395 rm -f core conftest.err conftest.$ac_objext \
29396 conftest$ac_exeext conftest.$ac_ext
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29399 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29400 if test $gcc_cv_math_func_j0f128 = yes; then
29402 cat >>confdefs.h <<_ACEOF
29403 #define HAVE_J0F128 1
29404 _ACEOF
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29412 $as_echo_n "checking for j1f128... " >&6; }
29413 if ${gcc_cv_math_func_j1f128+:} false; then :
29414 $as_echo_n "(cached) " >&6
29415 else
29416 if test x$gcc_no_link = xyes; then
29417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29420 /* end confdefs.h. */
29422 #ifdef HAVE_COMPLEX_H
29423 #include <complex.h>
29424 #endif
29425 #ifdef HAVE_MATH_H
29426 #include <math.h>
29427 #endif
29429 int (*ptr)() = (int (*)())j1f128;
29432 main ()
29434 return 0;
29437 _ACEOF
29438 if ac_fn_c_try_link "$LINENO"; then :
29439 gcc_cv_math_func_j1f128=yes
29440 else
29441 gcc_cv_math_func_j1f128=no
29443 rm -f core conftest.err conftest.$ac_objext \
29444 conftest$ac_exeext conftest.$ac_ext
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29447 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29448 if test $gcc_cv_math_func_j1f128 = yes; then
29450 cat >>confdefs.h <<_ACEOF
29451 #define HAVE_J1F128 1
29452 _ACEOF
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29460 $as_echo_n "checking for jnf128... " >&6; }
29461 if ${gcc_cv_math_func_jnf128+:} false; then :
29462 $as_echo_n "(cached) " >&6
29463 else
29464 if test x$gcc_no_link = xyes; then
29465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29468 /* end confdefs.h. */
29470 #ifdef HAVE_COMPLEX_H
29471 #include <complex.h>
29472 #endif
29473 #ifdef HAVE_MATH_H
29474 #include <math.h>
29475 #endif
29477 int (*ptr)() = (int (*)())jnf128;
29480 main ()
29482 return 0;
29485 _ACEOF
29486 if ac_fn_c_try_link "$LINENO"; then :
29487 gcc_cv_math_func_jnf128=yes
29488 else
29489 gcc_cv_math_func_jnf128=no
29491 rm -f core conftest.err conftest.$ac_objext \
29492 conftest$ac_exeext conftest.$ac_ext
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29495 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29496 if test $gcc_cv_math_func_jnf128 = yes; then
29498 cat >>confdefs.h <<_ACEOF
29499 #define HAVE_JNF128 1
29500 _ACEOF
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29508 $as_echo_n "checking for y0f128... " >&6; }
29509 if ${gcc_cv_math_func_y0f128+:} false; then :
29510 $as_echo_n "(cached) " >&6
29511 else
29512 if test x$gcc_no_link = xyes; then
29513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29516 /* end confdefs.h. */
29518 #ifdef HAVE_COMPLEX_H
29519 #include <complex.h>
29520 #endif
29521 #ifdef HAVE_MATH_H
29522 #include <math.h>
29523 #endif
29525 int (*ptr)() = (int (*)())y0f128;
29528 main ()
29530 return 0;
29533 _ACEOF
29534 if ac_fn_c_try_link "$LINENO"; then :
29535 gcc_cv_math_func_y0f128=yes
29536 else
29537 gcc_cv_math_func_y0f128=no
29539 rm -f core conftest.err conftest.$ac_objext \
29540 conftest$ac_exeext conftest.$ac_ext
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29543 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29544 if test $gcc_cv_math_func_y0f128 = yes; then
29546 cat >>confdefs.h <<_ACEOF
29547 #define HAVE_Y0F128 1
29548 _ACEOF
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29556 $as_echo_n "checking for y1f128... " >&6; }
29557 if ${gcc_cv_math_func_y1f128+:} false; then :
29558 $as_echo_n "(cached) " >&6
29559 else
29560 if test x$gcc_no_link = xyes; then
29561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29564 /* end confdefs.h. */
29566 #ifdef HAVE_COMPLEX_H
29567 #include <complex.h>
29568 #endif
29569 #ifdef HAVE_MATH_H
29570 #include <math.h>
29571 #endif
29573 int (*ptr)() = (int (*)())y1f128;
29576 main ()
29578 return 0;
29581 _ACEOF
29582 if ac_fn_c_try_link "$LINENO"; then :
29583 gcc_cv_math_func_y1f128=yes
29584 else
29585 gcc_cv_math_func_y1f128=no
29587 rm -f core conftest.err conftest.$ac_objext \
29588 conftest$ac_exeext conftest.$ac_ext
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29591 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29592 if test $gcc_cv_math_func_y1f128 = yes; then
29594 cat >>confdefs.h <<_ACEOF
29595 #define HAVE_Y1F128 1
29596 _ACEOF
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29604 $as_echo_n "checking for ynf128... " >&6; }
29605 if ${gcc_cv_math_func_ynf128+:} false; then :
29606 $as_echo_n "(cached) " >&6
29607 else
29608 if test x$gcc_no_link = xyes; then
29609 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29612 /* end confdefs.h. */
29614 #ifdef HAVE_COMPLEX_H
29615 #include <complex.h>
29616 #endif
29617 #ifdef HAVE_MATH_H
29618 #include <math.h>
29619 #endif
29621 int (*ptr)() = (int (*)())ynf128;
29624 main ()
29626 return 0;
29629 _ACEOF
29630 if ac_fn_c_try_link "$LINENO"; then :
29631 gcc_cv_math_func_ynf128=yes
29632 else
29633 gcc_cv_math_func_ynf128=no
29635 rm -f core conftest.err conftest.$ac_objext \
29636 conftest$ac_exeext conftest.$ac_ext
29638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29639 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29640 if test $gcc_cv_math_func_ynf128 = yes; then
29642 cat >>confdefs.h <<_ACEOF
29643 #define HAVE_YNF128 1
29644 _ACEOF
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29652 $as_echo_n "checking for tgammaf128... " >&6; }
29653 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29654 $as_echo_n "(cached) " >&6
29655 else
29656 if test x$gcc_no_link = xyes; then
29657 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29660 /* end confdefs.h. */
29662 #ifdef HAVE_COMPLEX_H
29663 #include <complex.h>
29664 #endif
29665 #ifdef HAVE_MATH_H
29666 #include <math.h>
29667 #endif
29669 int (*ptr)() = (int (*)())tgammaf128;
29672 main ()
29674 return 0;
29677 _ACEOF
29678 if ac_fn_c_try_link "$LINENO"; then :
29679 gcc_cv_math_func_tgammaf128=yes
29680 else
29681 gcc_cv_math_func_tgammaf128=no
29683 rm -f core conftest.err conftest.$ac_objext \
29684 conftest$ac_exeext conftest.$ac_ext
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29687 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29688 if test $gcc_cv_math_func_tgammaf128 = yes; then
29690 cat >>confdefs.h <<_ACEOF
29691 #define HAVE_TGAMMAF128 1
29692 _ACEOF
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29700 $as_echo_n "checking for lgammaf128... " >&6; }
29701 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29702 $as_echo_n "(cached) " >&6
29703 else
29704 if test x$gcc_no_link = xyes; then
29705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h. */
29710 #ifdef HAVE_COMPLEX_H
29711 #include <complex.h>
29712 #endif
29713 #ifdef HAVE_MATH_H
29714 #include <math.h>
29715 #endif
29717 int (*ptr)() = (int (*)())lgammaf128;
29720 main ()
29722 return 0;
29725 _ACEOF
29726 if ac_fn_c_try_link "$LINENO"; then :
29727 gcc_cv_math_func_lgammaf128=yes
29728 else
29729 gcc_cv_math_func_lgammaf128=no
29731 rm -f core conftest.err conftest.$ac_objext \
29732 conftest$ac_exeext conftest.$ac_ext
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29735 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29736 if test $gcc_cv_math_func_lgammaf128 = yes; then
29738 cat >>confdefs.h <<_ACEOF
29739 #define HAVE_LGAMMAF128 1
29740 _ACEOF
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29749 $as_echo_n "checking for cacosf128... " >&6; }
29750 if ${gcc_cv_math_func_cacosf128+:} false; then :
29751 $as_echo_n "(cached) " >&6
29752 else
29753 if test x$gcc_no_link = xyes; then
29754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29759 #ifdef HAVE_COMPLEX_H
29760 #include <complex.h>
29761 #endif
29762 #ifdef HAVE_MATH_H
29763 #include <math.h>
29764 #endif
29766 int (*ptr)() = (int (*)())cacosf128;
29769 main ()
29771 return 0;
29774 _ACEOF
29775 if ac_fn_c_try_link "$LINENO"; then :
29776 gcc_cv_math_func_cacosf128=yes
29777 else
29778 gcc_cv_math_func_cacosf128=no
29780 rm -f core conftest.err conftest.$ac_objext \
29781 conftest$ac_exeext conftest.$ac_ext
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29784 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29785 if test $gcc_cv_math_func_cacosf128 = yes; then
29787 cat >>confdefs.h <<_ACEOF
29788 #define HAVE_CACOSF128 1
29789 _ACEOF
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29797 $as_echo_n "checking for cacoshf128... " >&6; }
29798 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29799 $as_echo_n "(cached) " >&6
29800 else
29801 if test x$gcc_no_link = xyes; then
29802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h. */
29807 #ifdef HAVE_COMPLEX_H
29808 #include <complex.h>
29809 #endif
29810 #ifdef HAVE_MATH_H
29811 #include <math.h>
29812 #endif
29814 int (*ptr)() = (int (*)())cacoshf128;
29817 main ()
29819 return 0;
29822 _ACEOF
29823 if ac_fn_c_try_link "$LINENO"; then :
29824 gcc_cv_math_func_cacoshf128=yes
29825 else
29826 gcc_cv_math_func_cacoshf128=no
29828 rm -f core conftest.err conftest.$ac_objext \
29829 conftest$ac_exeext conftest.$ac_ext
29831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29832 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29833 if test $gcc_cv_math_func_cacoshf128 = yes; then
29835 cat >>confdefs.h <<_ACEOF
29836 #define HAVE_CACOSHF128 1
29837 _ACEOF
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29845 $as_echo_n "checking for casinf128... " >&6; }
29846 if ${gcc_cv_math_func_casinf128+:} false; then :
29847 $as_echo_n "(cached) " >&6
29848 else
29849 if test x$gcc_no_link = xyes; then
29850 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29853 /* end confdefs.h. */
29855 #ifdef HAVE_COMPLEX_H
29856 #include <complex.h>
29857 #endif
29858 #ifdef HAVE_MATH_H
29859 #include <math.h>
29860 #endif
29862 int (*ptr)() = (int (*)())casinf128;
29865 main ()
29867 return 0;
29870 _ACEOF
29871 if ac_fn_c_try_link "$LINENO"; then :
29872 gcc_cv_math_func_casinf128=yes
29873 else
29874 gcc_cv_math_func_casinf128=no
29876 rm -f core conftest.err conftest.$ac_objext \
29877 conftest$ac_exeext conftest.$ac_ext
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29880 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29881 if test $gcc_cv_math_func_casinf128 = yes; then
29883 cat >>confdefs.h <<_ACEOF
29884 #define HAVE_CASINF128 1
29885 _ACEOF
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29893 $as_echo_n "checking for casinhf128... " >&6; }
29894 if ${gcc_cv_math_func_casinhf128+:} false; then :
29895 $as_echo_n "(cached) " >&6
29896 else
29897 if test x$gcc_no_link = xyes; then
29898 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29901 /* end confdefs.h. */
29903 #ifdef HAVE_COMPLEX_H
29904 #include <complex.h>
29905 #endif
29906 #ifdef HAVE_MATH_H
29907 #include <math.h>
29908 #endif
29910 int (*ptr)() = (int (*)())casinhf128;
29913 main ()
29915 return 0;
29918 _ACEOF
29919 if ac_fn_c_try_link "$LINENO"; then :
29920 gcc_cv_math_func_casinhf128=yes
29921 else
29922 gcc_cv_math_func_casinhf128=no
29924 rm -f core conftest.err conftest.$ac_objext \
29925 conftest$ac_exeext conftest.$ac_ext
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29928 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29929 if test $gcc_cv_math_func_casinhf128 = yes; then
29931 cat >>confdefs.h <<_ACEOF
29932 #define HAVE_CASINHF128 1
29933 _ACEOF
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29941 $as_echo_n "checking for catanf128... " >&6; }
29942 if ${gcc_cv_math_func_catanf128+:} false; then :
29943 $as_echo_n "(cached) " >&6
29944 else
29945 if test x$gcc_no_link = xyes; then
29946 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29949 /* end confdefs.h. */
29951 #ifdef HAVE_COMPLEX_H
29952 #include <complex.h>
29953 #endif
29954 #ifdef HAVE_MATH_H
29955 #include <math.h>
29956 #endif
29958 int (*ptr)() = (int (*)())catanf128;
29961 main ()
29963 return 0;
29966 _ACEOF
29967 if ac_fn_c_try_link "$LINENO"; then :
29968 gcc_cv_math_func_catanf128=yes
29969 else
29970 gcc_cv_math_func_catanf128=no
29972 rm -f core conftest.err conftest.$ac_objext \
29973 conftest$ac_exeext conftest.$ac_ext
29975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29976 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29977 if test $gcc_cv_math_func_catanf128 = yes; then
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE_CATANF128 1
29981 _ACEOF
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29989 $as_echo_n "checking for catanhf128... " >&6; }
29990 if ${gcc_cv_math_func_catanhf128+:} false; then :
29991 $as_echo_n "(cached) " >&6
29992 else
29993 if test x$gcc_no_link = xyes; then
29994 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
29999 #ifdef HAVE_COMPLEX_H
30000 #include <complex.h>
30001 #endif
30002 #ifdef HAVE_MATH_H
30003 #include <math.h>
30004 #endif
30006 int (*ptr)() = (int (*)())catanhf128;
30009 main ()
30011 return 0;
30014 _ACEOF
30015 if ac_fn_c_try_link "$LINENO"; then :
30016 gcc_cv_math_func_catanhf128=yes
30017 else
30018 gcc_cv_math_func_catanhf128=no
30020 rm -f core conftest.err conftest.$ac_objext \
30021 conftest$ac_exeext conftest.$ac_ext
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30024 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30025 if test $gcc_cv_math_func_catanhf128 = yes; then
30027 cat >>confdefs.h <<_ACEOF
30028 #define HAVE_CATANHF128 1
30029 _ACEOF
30034 # Check whether the system has a working stat()
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30037 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30038 if ${libgfor_cv_have_working_stat+:} false; then :
30039 $as_echo_n "(cached) " >&6
30040 else
30042 if test "$cross_compiling" = yes; then :
30044 case "${target}" in
30045 *mingw*) libgfor_cv_have_working_stat=no ;;
30046 *) libgfor_cv_have_working_stat=yes;;
30047 esac
30048 else
30049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30050 /* end confdefs.h. */
30052 #include <stdio.h>
30053 #include <sys/types.h>
30054 #include <sys/stat.h>
30055 #include <unistd.h>
30057 int main ()
30059 FILE *f, *g;
30060 struct stat st1, st2;
30062 f = fopen ("foo", "w");
30063 g = fopen ("bar", "w");
30064 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30065 return 1;
30066 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30067 return 1;
30068 fclose(f);
30069 fclose(g);
30070 return 0;
30072 _ACEOF
30073 if ac_fn_c_try_run "$LINENO"; then :
30074 libgfor_cv_have_working_stat=yes
30075 else
30076 libgfor_cv_have_working_stat=no
30078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30079 conftest.$ac_objext conftest.beam conftest.$ac_ext
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30084 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30085 if test x"$libgfor_cv_have_working_stat" = xyes; then
30087 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30091 # Check whether __mingw_snprintf() is present
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30094 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30095 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30096 $as_echo_n "(cached) " >&6
30097 else
30099 if test x$gcc_no_link = xyes; then
30100 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30103 /* end confdefs.h. */
30105 #include <stdio.h>
30106 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30109 main ()
30112 __mingw_snprintf (NULL, 0, "%d\n", 1);
30115 return 0;
30117 _ACEOF
30118 if ac_fn_c_try_link "$LINENO"; then :
30119 eval "libgfor_cv_have_mingw_snprintf=yes"
30120 else
30121 eval "libgfor_cv_have_mingw_snprintf=no"
30123 rm -f core conftest.err conftest.$ac_objext \
30124 conftest$ac_exeext conftest.$ac_ext
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30128 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30129 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30131 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30136 have_iec_60559_libc_support=no
30137 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30138 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30139 have_iec_60559_libc_support=yes
30142 # Check whether libquadmath should be used
30143 # Check whether --enable-libquadmath-support was given.
30144 if test "${enable_libquadmath_support+set}" = set; then :
30145 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30146 else
30147 if test "x$have_iec_60559_libc_support" = xyes; then
30148 ENABLE_LIBQUADMATH_SUPPORT=default
30149 else
30150 ENABLE_LIBQUADMATH_SUPPORT=yes
30154 enable_libquadmath_support=
30155 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30156 enable_libquadmath_support=no
30157 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30158 enable_libquadmath_support=default
30161 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30162 # and have_iec_60559_libc_support.
30164 LIBQUADSPEC=
30165 LIBQUADLIB=
30166 LIBQUADLIB_DEP=
30167 LIBQUADINCLUDE=
30168 USE_IEC_60559=no
30170 if test "x$enable_libquadmath_support" != xno; then
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30173 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30174 if ${libgfor_cv_have_float128+:} false; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30178 if test x$gcc_no_link = xyes; then
30179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h. */
30182 _Float128 foo (_Float128 x)
30184 _Complex _Float128 z1, z2;
30186 z1 = x;
30187 z2 = x / 7.F128;
30188 z2 /= z1;
30190 return (_Float128) z2;
30193 _Float128 bar (_Float128 x)
30195 return x * __builtin_huge_valf128 ();
30198 __float128 baz (__float128 x)
30200 return x * __builtin_huge_valf128 ();
30204 main ()
30207 foo (1.2F128);
30208 bar (1.2F128);
30209 baz (1.2F128);
30210 foo (1.2Q);
30211 bar (1.2Q);
30212 baz (1.2Q);
30215 return 0;
30217 _ACEOF
30218 if ac_fn_c_try_compile "$LINENO"; then :
30220 libgfor_cv_have_float128=yes
30222 else
30224 libgfor_cv_have_float128=no
30227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30228 else
30229 if test x$gcc_no_link = xyes; then
30230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30235 _Float128 foo (_Float128 x)
30237 _Complex _Float128 z1, z2;
30239 z1 = x;
30240 z2 = x / 7.F128;
30241 z2 /= z1;
30243 return (_Float128) z2;
30246 _Float128 bar (_Float128 x)
30248 return x * __builtin_huge_valf128 ();
30251 __float128 baz (__float128 x)
30253 return x * __builtin_huge_valf128 ();
30257 main ()
30260 foo (1.2F128);
30261 bar (1.2F128);
30262 baz (1.2F128);
30263 foo (1.2Q);
30264 bar (1.2Q);
30265 baz (1.2Q);
30268 return 0;
30270 _ACEOF
30271 if ac_fn_c_try_link "$LINENO"; then :
30273 libgfor_cv_have_float128=yes
30275 else
30277 libgfor_cv_have_float128=no
30280 rm -f core conftest.err conftest.$ac_objext \
30281 conftest$ac_exeext conftest.$ac_ext
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30285 $as_echo "$libgfor_cv_have_float128" >&6; }
30287 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30288 USE_IEC_60559=yes
30292 if test "x$libgfor_cv_have_float128" = xyes; then
30293 if test "x$USE_IEC_60559" = xyes; then
30295 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30299 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30302 ac_xsave_c_werror_flag=$ac_c_werror_flag
30303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30304 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30305 if ${libgfor_cv_have_as_needed+:} false; then :
30306 $as_echo_n "(cached) " >&6
30307 else
30309 # Test for native Solaris options first.
30310 # No whitespace after -z to pass it through -Wl.
30311 libgfor_cv_as_needed_option="-zignore"
30312 libgfor_cv_no_as_needed_option="-zrecord"
30313 save_LDFLAGS="$LDFLAGS"
30314 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30315 libgfor_cv_have_as_needed=no
30317 ac_c_werror_flag=yes
30318 if test x$gcc_no_link = xyes; then
30319 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30322 /* end confdefs.h. */
30325 main ()
30329 return 0;
30331 _ACEOF
30332 if ac_fn_c_try_link "$LINENO"; then :
30333 libgfor_cv_have_as_needed=yes
30334 else
30335 libgfor_cv_have_as_needed=no
30337 rm -f core conftest.err conftest.$ac_objext \
30338 conftest$ac_exeext conftest.$ac_ext
30339 LDFLAGS="$save_LDFLAGS"
30340 if test "x$libgfor_cv_have_as_needed" = xno; then
30341 libgfor_cv_as_needed_option="--as-needed"
30342 libgfor_cv_no_as_needed_option="--no-as-needed"
30343 save_LDFLAGS="$LDFLAGS"
30344 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30345 libgfor_cv_have_as_needed=no
30347 ac_c_werror_flag=yes
30348 if test x$gcc_no_link = xyes; then
30349 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30352 /* end confdefs.h. */
30355 main ()
30359 return 0;
30361 _ACEOF
30362 if ac_fn_c_try_link "$LINENO"; then :
30363 libgfor_cv_have_as_needed=yes
30364 else
30365 libgfor_cv_have_as_needed=no
30367 rm -f core conftest.err conftest.$ac_objext \
30368 conftest$ac_exeext conftest.$ac_ext
30369 LDFLAGS="$save_LDFLAGS"
30371 ac_c_werror_flag=$ac_xsave_c_werror_flag
30374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30375 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30377 touch conftest1.$ac_objext conftest2.$ac_objext
30378 LQUADMATH=-lquadmath
30379 $FC -static-libgfortran -### -o conftest \
30380 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30381 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30382 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30383 conftest.cmd >/dev/null 2>&1; then
30384 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30385 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30386 conftest.cmd >/dev/null 2>&1; then
30387 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30388 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30389 conftest.cmd >/dev/null 2>&1; then
30390 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30391 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30392 conftest.cmd >/dev/null 2>&1; then
30393 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30395 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30397 if test "x$libgfor_cv_have_as_needed" = xyes; then
30398 if test "x$USE_IEC_60559" = xyes; then
30399 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30400 else
30401 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30403 else
30404 LIBQUADSPEC="$LQUADMATH"
30406 if test "x$USE_IEC_60559" != xyes; then
30407 if test -f ../libquadmath/libquadmath.la; then
30408 LIBQUADLIB=../libquadmath/libquadmath.la
30409 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30410 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30411 else
30412 LIBQUADLIB="-lquadmath"
30415 else
30416 USE_IEC_60559=no
30427 # Check for GNU libc feenableexcept
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30429 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30430 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30431 $as_echo_n "(cached) " >&6
30432 else
30433 ac_check_lib_save_LIBS=$LIBS
30434 LIBS="-lm $LIBS"
30435 if test x$gcc_no_link = xyes; then
30436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30439 /* end confdefs.h. */
30441 /* Override any GCC internal prototype to avoid an error.
30442 Use char because int might match the return type of a GCC
30443 builtin and then its argument prototype would still apply. */
30444 #ifdef __cplusplus
30445 extern "C"
30446 #endif
30447 char feenableexcept ();
30449 main ()
30451 return feenableexcept ();
30453 return 0;
30455 _ACEOF
30456 if ac_fn_c_try_link "$LINENO"; then :
30457 ac_cv_lib_m_feenableexcept=yes
30458 else
30459 ac_cv_lib_m_feenableexcept=no
30461 rm -f core conftest.err conftest.$ac_objext \
30462 conftest$ac_exeext conftest.$ac_ext
30463 LIBS=$ac_check_lib_save_LIBS
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30466 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30467 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30468 have_feenableexcept=yes
30469 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30474 # At least for glibc, clock_gettime is in librt. But don't
30475 # pull that in if it still doesn't give us the function we want. This
30476 # test is copied from libgomp, and modified to not link in -lrt as
30477 # libgfortran calls clock_gettime via a weak reference if it's found
30478 # in librt.
30479 if test "$ac_cv_func_clock_gettime" = no; then
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30481 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30482 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30483 $as_echo_n "(cached) " >&6
30484 else
30485 ac_check_lib_save_LIBS=$LIBS
30486 LIBS="-lrt $LIBS"
30487 if test x$gcc_no_link = xyes; then
30488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30491 /* end confdefs.h. */
30493 /* Override any GCC internal prototype to avoid an error.
30494 Use char because int might match the return type of a GCC
30495 builtin and then its argument prototype would still apply. */
30496 #ifdef __cplusplus
30497 extern "C"
30498 #endif
30499 char clock_gettime ();
30501 main ()
30503 return clock_gettime ();
30505 return 0;
30507 _ACEOF
30508 if ac_fn_c_try_link "$LINENO"; then :
30509 ac_cv_lib_rt_clock_gettime=yes
30510 else
30511 ac_cv_lib_rt_clock_gettime=no
30513 rm -f core conftest.err conftest.$ac_objext \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30518 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30519 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30521 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30527 # Check for SysV fpsetmask
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30530 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30531 if ${libgfor_cv_have_fpsetmask+:} false; then :
30532 $as_echo_n "(cached) " >&6
30533 else
30535 if test x$gcc_no_link = xyes; then
30536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30539 /* end confdefs.h. */
30541 #if HAVE_FLOATINGPOINT_H
30542 # include <floatingpoint.h>
30543 #endif /* HAVE_FLOATINGPOINT_H */
30544 #if HAVE_IEEEFP_H
30545 # include <ieeefp.h>
30546 #endif /* HAVE_IEEEFP_H */
30548 main ()
30550 fpsetmask(0);
30552 return 0;
30554 _ACEOF
30555 if ac_fn_c_try_link "$LINENO"; then :
30556 eval "libgfor_cv_have_fpsetmask=yes"
30557 else
30558 eval "libgfor_cv_have_fpsetmask=no"
30560 rm -f core conftest.err conftest.$ac_objext \
30561 conftest$ac_exeext conftest.$ac_ext
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30565 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30566 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30567 have_fpsetmask=yes
30569 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30573 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30574 #ifdef HAVE_IEEEFP_H
30575 #include <ieeefp.h>
30576 #endif
30577 #include <math.h>
30580 if test "x$ac_cv_type_fp_except" = xyes; then :
30582 cat >>confdefs.h <<_ACEOF
30583 #define HAVE_FP_EXCEPT 1
30584 _ACEOF
30588 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30589 #ifdef HAVE_IEEEFP_H
30590 #include <ieeefp.h>
30591 #endif
30592 #include <math.h>
30595 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30597 cat >>confdefs.h <<_ACEOF
30598 #define HAVE_FP_EXCEPT_T 1
30599 _ACEOF
30604 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30605 #ifdef HAVE_IEEEFP_H
30606 #include <ieeefp.h>
30607 #endif
30608 #include <math.h>
30611 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30613 cat >>confdefs.h <<_ACEOF
30614 #define HAVE_FP_RND 1
30615 _ACEOF
30619 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30620 #ifdef HAVE_IEEEFP_H
30621 #include <ieeefp.h>
30622 #endif
30623 #include <math.h>
30626 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30628 cat >>confdefs.h <<_ACEOF
30629 #define HAVE_FP_RND_T 1
30630 _ACEOF
30636 # Check whether we have fpsetsticky or fpresetsticky
30637 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30638 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30639 have_fpsetsticky=yes
30640 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30644 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30645 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30646 have_fpresetsticky=yes
30647 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30652 # Check for AIX fp_trap and fp_enable
30653 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30654 if test "x$ac_cv_func_fp_trap" = xyes; then :
30655 have_fp_trap=yes
30656 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30660 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30661 if test "x$ac_cv_func_fp_enable" = xyes; then :
30662 have_fp_enable=yes
30663 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30668 # Check if _SOFT_FLOAT is defined
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30671 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30672 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30673 $as_echo_n "(cached) " >&6
30674 else
30675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30676 /* end confdefs.h. */
30679 main ()
30682 #ifdef _SOFT_FLOAT
30683 int ok;
30684 #else
30685 choke me
30686 #endif
30689 return 0;
30691 _ACEOF
30692 if ac_fn_c_try_compile "$LINENO"; then :
30693 ac_cv_defined__SOFT_FLOAT=yes
30694 else
30695 ac_cv_defined__SOFT_FLOAT=no
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30700 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30701 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30702 have_soft_float=yes
30705 # Runs configure.host to set up necessary host-dependent shell variables.
30706 # We then display a message about it, and propagate them through the
30707 # build chain.
30708 . ${srcdir}/configure.host
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30710 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30711 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30712 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30713 FPU_HOST_HEADER=config/${fpu_host}.h
30716 # Whether we will build the IEEE modules
30717 if test x${ieee_support} = xyes; then
30718 IEEE_SUPPORT_TRUE=
30719 IEEE_SUPPORT_FALSE='#'
30720 else
30721 IEEE_SUPPORT_TRUE='#'
30722 IEEE_SUPPORT_FALSE=
30727 # Some targets require additional compiler options for IEEE compatibility.
30728 IEEE_FLAGS="${ieee_flags}"
30731 # Conditionalize the makefile for this target machine.
30732 tmake_file_=
30733 for f in ${tmake_file}
30735 if test -f ${srcdir}/config/$f
30736 then
30737 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30739 done
30740 tmake_file="${tmake_file_}"
30744 # Check for POSIX getpwuid_r
30746 # There are two versions of getpwuid_r, the POSIX one with 5
30747 # arguments, and another one with 4 arguments used by at least HP-UX
30748 # 10.2.
30749 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30751 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30752 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30753 $as_echo_n "(cached) " >&6
30754 else
30756 if test x$gcc_no_link = xyes; then
30757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30760 /* end confdefs.h. */
30762 #include <stdio.h>
30763 #include <sys/types.h>
30764 #include <pwd.h>
30766 main ()
30769 getpwuid_r(0, NULL, NULL, 0, NULL);
30772 return 0;
30774 _ACEOF
30775 if ac_fn_c_try_link "$LINENO"; then :
30776 libgfor_cv_posix_getpwuid_r="yes"
30777 else
30778 libgfor_cv_posix_getpwuid_r="no"
30780 rm -f core conftest.err conftest.$ac_objext \
30781 conftest$ac_exeext conftest.$ac_ext
30783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30784 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30786 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30788 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30793 # Check out attribute support.
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30796 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30797 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30798 $as_echo_n "(cached) " >&6
30799 else
30801 save_CFLAGS="$CFLAGS"
30802 CFLAGS="$CFLAGS -Werror"
30803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30804 /* end confdefs.h. */
30805 void __attribute__((visibility("hidden"))) foo(void) { }
30807 main ()
30811 return 0;
30813 _ACEOF
30814 if ac_fn_c_try_compile "$LINENO"; then :
30815 libgfor_cv_have_attribute_visibility=yes
30816 else
30817 libgfor_cv_have_attribute_visibility=no
30819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30820 CFLAGS="$save_CFLAGS"
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30823 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30824 if test $libgfor_cv_have_attribute_visibility = yes; then
30826 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30831 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30832 if ${libgfor_cv_have_attribute_alias+:} false; then :
30833 $as_echo_n "(cached) " >&6
30834 else
30836 if test x$gcc_no_link = xyes; then
30837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30840 /* end confdefs.h. */
30842 void foo(void) { }
30843 extern void bar(void) __attribute__((alias("foo")));
30845 main ()
30847 bar();
30849 return 0;
30851 _ACEOF
30852 if ac_fn_c_try_link "$LINENO"; then :
30853 libgfor_cv_have_attribute_alias=yes
30854 else
30855 libgfor_cv_have_attribute_alias=no
30857 rm -f core conftest.err conftest.$ac_objext \
30858 conftest$ac_exeext conftest.$ac_ext
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30861 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30862 if test $libgfor_cv_have_attribute_alias = yes; then
30864 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30868 # Check out atomic builtins support.
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30871 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30872 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30873 $as_echo_n "(cached) " >&6
30874 else
30876 if test x$gcc_no_link = xyes; then
30877 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h. */
30881 int foovar = 0;
30883 main ()
30886 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30887 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30889 return 0;
30891 _ACEOF
30892 if ac_fn_c_try_link "$LINENO"; then :
30893 libgfor_cv_have_atomic_fetch_add=yes
30894 else
30895 libgfor_cv_have_atomic_fetch_add=no
30897 rm -f core conftest.err conftest.$ac_objext \
30898 conftest$ac_exeext conftest.$ac_ext
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30901 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30902 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30904 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30908 # Check out #pragma weak.
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30911 $as_echo_n "checking whether pragma weak works... " >&6; }
30912 if ${libgfor_cv_have_pragma_weak+:} false; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30916 gfor_save_CFLAGS="$CFLAGS"
30917 CFLAGS="$CFLAGS -Wunknown-pragmas"
30918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30919 /* end confdefs.h. */
30921 void foo (void);
30922 #pragma weak foo
30925 main ()
30927 if (foo) foo ();
30929 return 0;
30931 _ACEOF
30932 if ac_fn_c_try_compile "$LINENO"; then :
30933 libgfor_cv_have_pragma_weak=yes
30934 else
30935 libgfor_cv_have_pragma_weak=no
30937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30940 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30941 if test $libgfor_cv_have_pragma_weak = yes; then
30943 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30946 case "$host" in
30947 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
30949 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30952 esac
30954 # Check out weakref support.
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30957 $as_echo_n "checking whether the target supports weakref... " >&6; }
30958 if ${libgfor_cv_have_weakref+:} false; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30962 save_CFLAGS="$CFLAGS"
30963 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
30964 if test x$gcc_no_link = xyes; then
30965 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30968 /* end confdefs.h. */
30970 static int mytoto (int) __attribute__((__weakref__("toto")));
30973 main ()
30975 return (mytoto != 0);
30977 return 0;
30979 _ACEOF
30980 if ac_fn_c_try_link "$LINENO"; then :
30981 libgfor_cv_have_weakref=yes
30982 else
30983 libgfor_cv_have_weakref=no
30985 rm -f core conftest.err conftest.$ac_objext \
30986 conftest$ac_exeext conftest.$ac_ext
30987 CFLAGS="$save_CFLAGS"
30989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30990 $as_echo "$libgfor_cv_have_weakref" >&6; }
30991 if test $libgfor_cv_have_weakref = yes; then
30993 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30997 # Various other checks on target
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31000 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31001 if ${libgfor_cv_have_unlink_open_file+:} false; then :
31002 $as_echo_n "(cached) " >&6
31003 else
31005 if test "$cross_compiling" = yes; then :
31007 case "${target}" in
31008 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
31009 *) libgfor_cv_have_unlink_open_file=yes;;
31010 esac
31011 else
31012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h. */
31015 #include <errno.h>
31016 #include <fcntl.h>
31017 #include <unistd.h>
31018 #include <sys/stat.h>
31020 int main ()
31022 int fd;
31024 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31025 if (fd <= 0)
31026 return 0;
31027 if (unlink ("testfile") == -1)
31028 return 1;
31029 write (fd, "This is a test\n", 15);
31030 close (fd);
31032 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31033 return 0;
31034 else
31035 return 1;
31037 _ACEOF
31038 if ac_fn_c_try_run "$LINENO"; then :
31039 libgfor_cv_have_unlink_open_file=yes
31040 else
31041 libgfor_cv_have_unlink_open_file=no
31043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31044 conftest.$ac_objext conftest.beam conftest.$ac_ext
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31049 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31050 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31052 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31056 # Check whether line terminator is LF or CRLF
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31059 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31060 if ${libgfor_cv_have_crlf+:} false; then :
31061 $as_echo_n "(cached) " >&6
31062 else
31064 if test "$cross_compiling" = yes; then :
31066 case "${target}" in
31067 *mingw*) libgfor_cv_have_crlf=yes ;;
31068 *) libgfor_cv_have_crlf=no;;
31069 esac
31070 else
31071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h. */
31074 /* This test program should exit with status 0 if system uses a CRLF as
31075 line terminator, and status 1 otherwise.
31076 Since it is used to check for mingw systems, and should return 0 in any
31077 other case, in case of a failure we will not use CRLF. */
31078 #include <sys/stat.h>
31079 #include <stdlib.h>
31080 #include <fcntl.h>
31081 #include <stdio.h>
31083 int main ()
31085 #ifndef O_BINARY
31086 exit(1);
31087 #else
31088 int fd, bytes;
31089 char buff[5];
31091 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31092 if (fd < 0)
31093 exit(1);
31094 if (write (fd, "\n", 1) < 0)
31095 perror ("write");
31097 close (fd);
31099 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31100 exit(1);
31101 bytes = read (fd, buff, 5);
31102 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31103 exit(0);
31104 else
31105 exit(1);
31106 #endif
31108 _ACEOF
31109 if ac_fn_c_try_run "$LINENO"; then :
31110 libgfor_cv_have_crlf=yes
31111 else
31112 libgfor_cv_have_crlf=no
31114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31115 conftest.$ac_objext conftest.beam conftest.$ac_ext
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31120 $as_echo "$libgfor_cv_have_crlf" >&6; }
31121 if test x"$libgfor_cv_have_crlf" = xyes; then
31123 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31127 # Check whether we support AVX extensions
31129 ac_save_CFLAGS="$CFLAGS"
31130 CFLAGS="-O2 -mavx"
31131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31132 /* end confdefs.h. */
31134 void _mm256_zeroall (void)
31136 __builtin_ia32_vzeroall ();
31139 main ()
31143 return 0;
31145 _ACEOF
31146 if ac_fn_c_try_compile "$LINENO"; then :
31148 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31152 CFLAGS="$ac_save_CFLAGS"
31155 # Check whether we support AVX2 extensions
31157 ac_save_CFLAGS="$CFLAGS"
31158 CFLAGS="-O2 -mavx2"
31159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31160 /* end confdefs.h. */
31162 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31163 __v4di
31164 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31166 return __builtin_ia32_andnotsi256 (__X, __Y);
31169 main ()
31173 return 0;
31175 _ACEOF
31176 if ac_fn_c_try_compile "$LINENO"; then :
31178 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31182 CFLAGS="$ac_save_CFLAGS"
31185 # Check whether we support AVX512f extensions
31187 ac_save_CFLAGS="$CFLAGS"
31188 CFLAGS="-O2 -mavx512f"
31189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31190 /* end confdefs.h. */
31192 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31193 __m512d _mm512_add (__m512d a)
31195 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31196 /* For -m64/-mx32 also verify that code will work even if
31197 the target uses call saved zmm16+ and needs to emit
31198 unwind info for them (e.g. on mingw). See PR79127. */
31199 #ifdef __x86_64__
31200 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31201 #endif
31202 return b;
31205 main ()
31209 return 0;
31211 _ACEOF
31212 if ac_fn_c_try_compile "$LINENO"; then :
31214 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31218 CFLAGS="$ac_save_CFLAGS"
31221 # Check for FMA3 extensions
31223 ac_save_CFLAGS="$CFLAGS"
31224 CFLAGS="-O2 -mfma -mno-fma4"
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31228 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31229 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31230 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31232 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31233 (__v4sf)__B,
31234 (__v4sf)__C);
31237 main ()
31241 return 0;
31243 _ACEOF
31244 if ac_fn_c_try_compile "$LINENO"; then :
31246 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31250 CFLAGS="$ac_save_CFLAGS"
31253 # Check for FMA4 extensions
31255 ac_save_CFLAGS="$CFLAGS"
31256 CFLAGS="-O2 -mfma4 -mno-fma"
31257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31258 /* end confdefs.h. */
31260 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31261 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31262 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31264 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31265 (__v4sf)__B,
31266 (__v4sf)__C);
31269 main ()
31273 return 0;
31275 _ACEOF
31276 if ac_fn_c_try_compile "$LINENO"; then :
31278 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31282 CFLAGS="$ac_save_CFLAGS"
31285 # Check if AVX128 works
31287 ac_save_CFLAGS="$CFLAGS"
31288 CFLAGS="-O2 -mavx -mprefer-avx128"
31289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31290 /* end confdefs.h. */
31292 void foo()
31296 main ()
31300 return 0;
31302 _ACEOF
31303 if ac_fn_c_try_compile "$LINENO"; then :
31305 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31307 if true; then
31308 HAVE_AVX128_TRUE=
31309 HAVE_AVX128_FALSE='#'
31310 else
31311 HAVE_AVX128_TRUE='#'
31312 HAVE_AVX128_FALSE=
31315 else
31316 if false; then
31317 HAVE_AVX128_TRUE=
31318 HAVE_AVX128_FALSE='#'
31319 else
31320 HAVE_AVX128_TRUE='#'
31321 HAVE_AVX128_FALSE=
31325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31326 CFLAGS="$ac_save_CFLAGS"
31329 # Determine what GCC version number to use in filesystem paths.
31331 get_gcc_base_ver="cat"
31333 # Check whether --with-gcc-major-version-only was given.
31334 if test "${with_gcc_major_version_only+set}" = set; then :
31335 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31336 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31344 cat >confcache <<\_ACEOF
31345 # This file is a shell script that caches the results of configure
31346 # tests run on this system so they can be shared between configure
31347 # scripts and configure runs, see configure's option --config-cache.
31348 # It is not useful on other systems. If it contains results you don't
31349 # want to keep, you may remove or edit it.
31351 # config.status only pays attention to the cache file if you give it
31352 # the --recheck option to rerun configure.
31354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31356 # following values.
31358 _ACEOF
31360 # The following way of writing the cache mishandles newlines in values,
31361 # but we know of no workaround that is simple, portable, and efficient.
31362 # So, we kill variables containing newlines.
31363 # Ultrix sh set writes to stderr and can't be redirected directly,
31364 # and sets the high bit in the cache file unless we assign to the vars.
31366 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31367 eval ac_val=\$$ac_var
31368 case $ac_val in #(
31369 *${as_nl}*)
31370 case $ac_var in #(
31371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31373 esac
31374 case $ac_var in #(
31375 _ | IFS | as_nl) ;; #(
31376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31377 *) { eval $ac_var=; unset $ac_var;} ;;
31378 esac ;;
31379 esac
31380 done
31382 (set) 2>&1 |
31383 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31384 *${as_nl}ac_space=\ *)
31385 # `set' does not quote correctly, so add quotes: double-quote
31386 # substitution turns \\\\ into \\, and sed turns \\ into \.
31387 sed -n \
31388 "s/'/'\\\\''/g;
31389 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31390 ;; #(
31392 # `set' quotes correctly as required by POSIX, so do not add quotes.
31393 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31395 esac |
31396 sort
31398 sed '
31399 /^ac_cv_env_/b end
31400 t clear
31401 :clear
31402 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31403 t end
31404 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31405 :end' >>confcache
31406 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31407 if test -w "$cache_file"; then
31408 if test "x$cache_file" != "x/dev/null"; then
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31410 $as_echo "$as_me: updating cache $cache_file" >&6;}
31411 if test ! -f "$cache_file" || test -h "$cache_file"; then
31412 cat confcache >"$cache_file"
31413 else
31414 case $cache_file in #(
31415 */* | ?:*)
31416 mv -f confcache "$cache_file"$$ &&
31417 mv -f "$cache_file"$$ "$cache_file" ;; #(
31419 mv -f confcache "$cache_file" ;;
31420 esac
31423 else
31424 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31425 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31428 rm -f confcache
31430 if test ${multilib} = yes; then
31431 multilib_arg="--enable-multilib"
31432 else
31433 multilib_arg=
31436 # Write our Makefile and spec file.
31437 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31439 cat >confcache <<\_ACEOF
31440 # This file is a shell script that caches the results of configure
31441 # tests run on this system so they can be shared between configure
31442 # scripts and configure runs, see configure's option --config-cache.
31443 # It is not useful on other systems. If it contains results you don't
31444 # want to keep, you may remove or edit it.
31446 # config.status only pays attention to the cache file if you give it
31447 # the --recheck option to rerun configure.
31449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31451 # following values.
31453 _ACEOF
31455 # The following way of writing the cache mishandles newlines in values,
31456 # but we know of no workaround that is simple, portable, and efficient.
31457 # So, we kill variables containing newlines.
31458 # Ultrix sh set writes to stderr and can't be redirected directly,
31459 # and sets the high bit in the cache file unless we assign to the vars.
31461 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31462 eval ac_val=\$$ac_var
31463 case $ac_val in #(
31464 *${as_nl}*)
31465 case $ac_var in #(
31466 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31468 esac
31469 case $ac_var in #(
31470 _ | IFS | as_nl) ;; #(
31471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31472 *) { eval $ac_var=; unset $ac_var;} ;;
31473 esac ;;
31474 esac
31475 done
31477 (set) 2>&1 |
31478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31479 *${as_nl}ac_space=\ *)
31480 # `set' does not quote correctly, so add quotes: double-quote
31481 # substitution turns \\\\ into \\, and sed turns \\ into \.
31482 sed -n \
31483 "s/'/'\\\\''/g;
31484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31485 ;; #(
31487 # `set' quotes correctly as required by POSIX, so do not add quotes.
31488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31490 esac |
31491 sort
31493 sed '
31494 /^ac_cv_env_/b end
31495 t clear
31496 :clear
31497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31498 t end
31499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31500 :end' >>confcache
31501 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31502 if test -w "$cache_file"; then
31503 if test "x$cache_file" != "x/dev/null"; then
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31505 $as_echo "$as_me: updating cache $cache_file" >&6;}
31506 if test ! -f "$cache_file" || test -h "$cache_file"; then
31507 cat confcache >"$cache_file"
31508 else
31509 case $cache_file in #(
31510 */* | ?:*)
31511 mv -f confcache "$cache_file"$$ &&
31512 mv -f "$cache_file"$$ "$cache_file" ;; #(
31514 mv -f confcache "$cache_file" ;;
31515 esac
31518 else
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31523 rm -f confcache
31525 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31526 # Let make expand exec_prefix.
31527 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31529 DEFS=-DHAVE_CONFIG_H
31531 ac_libobjs=
31532 ac_ltlibobjs=
31534 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31535 # 1. Remove the extension, and $U if already installed.
31536 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31537 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31538 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31539 # will be set to the directory where LIBOBJS objects are built.
31540 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31541 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31542 done
31543 LIBOBJS=$ac_libobjs
31545 LTLIBOBJS=$ac_ltlibobjs
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31549 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31550 if test -n "$am_sleep_pid"; then
31551 # Hide warnings about reused PIDs.
31552 wait $am_sleep_pid 2>/dev/null
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31555 $as_echo "done" >&6; }
31556 if test -n "$EXEEXT"; then
31557 am__EXEEXT_TRUE=
31558 am__EXEEXT_FALSE='#'
31559 else
31560 am__EXEEXT_TRUE='#'
31561 am__EXEEXT_FALSE=
31564 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31565 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31568 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31569 as_fn_error $? "conditional \"AMDEP\" was never defined.
31570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31573 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31577 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31580 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31581 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31584 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31585 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31588 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31589 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31592 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31593 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31596 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31597 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31600 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31601 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31604 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31605 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31608 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31609 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31612 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31613 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31617 : "${CONFIG_STATUS=./config.status}"
31618 ac_write_fail=0
31619 ac_clean_files_save=$ac_clean_files
31620 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31622 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31623 as_write_fail=0
31624 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31625 #! $SHELL
31626 # Generated by $as_me.
31627 # Run this file to recreate the current configuration.
31628 # Compiler output produced by configure, useful for debugging
31629 # configure, is in config.log if it exists.
31631 debug=false
31632 ac_cs_recheck=false
31633 ac_cs_silent=false
31635 SHELL=\${CONFIG_SHELL-$SHELL}
31636 export SHELL
31637 _ASEOF
31638 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31639 ## -------------------- ##
31640 ## M4sh Initialization. ##
31641 ## -------------------- ##
31643 # Be more Bourne compatible
31644 DUALCASE=1; export DUALCASE # for MKS sh
31645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31646 emulate sh
31647 NULLCMD=:
31648 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31649 # is contrary to our usage. Disable this feature.
31650 alias -g '${1+"$@"}'='"$@"'
31651 setopt NO_GLOB_SUBST
31652 else
31653 case `(set -o) 2>/dev/null` in #(
31654 *posix*) :
31655 set -o posix ;; #(
31656 *) :
31658 esac
31662 as_nl='
31664 export as_nl
31665 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31666 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31668 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31669 # Prefer a ksh shell builtin over an external printf program on Solaris,
31670 # but without wasting forks for bash or zsh.
31671 if test -z "$BASH_VERSION$ZSH_VERSION" \
31672 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31673 as_echo='print -r --'
31674 as_echo_n='print -rn --'
31675 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31676 as_echo='printf %s\n'
31677 as_echo_n='printf %s'
31678 else
31679 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31680 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31681 as_echo_n='/usr/ucb/echo -n'
31682 else
31683 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31684 as_echo_n_body='eval
31685 arg=$1;
31686 case $arg in #(
31687 *"$as_nl"*)
31688 expr "X$arg" : "X\\(.*\\)$as_nl";
31689 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31690 esac;
31691 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31693 export as_echo_n_body
31694 as_echo_n='sh -c $as_echo_n_body as_echo'
31696 export as_echo_body
31697 as_echo='sh -c $as_echo_body as_echo'
31700 # The user is always right.
31701 if test "${PATH_SEPARATOR+set}" != set; then
31702 PATH_SEPARATOR=:
31703 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31704 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31705 PATH_SEPARATOR=';'
31710 # IFS
31711 # We need space, tab and new line, in precisely that order. Quoting is
31712 # there to prevent editors from complaining about space-tab.
31713 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31714 # splitting by setting IFS to empty value.)
31715 IFS=" "" $as_nl"
31717 # Find who we are. Look in the path if we contain no directory separator.
31718 as_myself=
31719 case $0 in #((
31720 *[\\/]* ) as_myself=$0 ;;
31721 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31722 for as_dir in $PATH
31724 IFS=$as_save_IFS
31725 test -z "$as_dir" && as_dir=.
31726 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31727 done
31728 IFS=$as_save_IFS
31731 esac
31732 # We did not find ourselves, most probably we were run as `sh COMMAND'
31733 # in which case we are not to be found in the path.
31734 if test "x$as_myself" = x; then
31735 as_myself=$0
31737 if test ! -f "$as_myself"; then
31738 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31739 exit 1
31742 # Unset variables that we do not need and which cause bugs (e.g. in
31743 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31744 # suppresses any "Segmentation fault" message there. '((' could
31745 # trigger a bug in pdksh 5.2.14.
31746 for as_var in BASH_ENV ENV MAIL MAILPATH
31747 do eval test x\${$as_var+set} = xset \
31748 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31749 done
31750 PS1='$ '
31751 PS2='> '
31752 PS4='+ '
31754 # NLS nuisances.
31755 LC_ALL=C
31756 export LC_ALL
31757 LANGUAGE=C
31758 export LANGUAGE
31760 # CDPATH.
31761 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31764 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31765 # ----------------------------------------
31766 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31767 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31768 # script with STATUS, using 1 if that was 0.
31769 as_fn_error ()
31771 as_status=$1; test $as_status -eq 0 && as_status=1
31772 if test "$4"; then
31773 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31774 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31776 $as_echo "$as_me: error: $2" >&2
31777 as_fn_exit $as_status
31778 } # as_fn_error
31781 # as_fn_set_status STATUS
31782 # -----------------------
31783 # Set $? to STATUS, without forking.
31784 as_fn_set_status ()
31786 return $1
31787 } # as_fn_set_status
31789 # as_fn_exit STATUS
31790 # -----------------
31791 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31792 as_fn_exit ()
31794 set +e
31795 as_fn_set_status $1
31796 exit $1
31797 } # as_fn_exit
31799 # as_fn_unset VAR
31800 # ---------------
31801 # Portably unset VAR.
31802 as_fn_unset ()
31804 { eval $1=; unset $1;}
31806 as_unset=as_fn_unset
31807 # as_fn_append VAR VALUE
31808 # ----------------------
31809 # Append the text in VALUE to the end of the definition contained in VAR. Take
31810 # advantage of any shell optimizations that allow amortized linear growth over
31811 # repeated appends, instead of the typical quadratic growth present in naive
31812 # implementations.
31813 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31814 eval 'as_fn_append ()
31816 eval $1+=\$2
31818 else
31819 as_fn_append ()
31821 eval $1=\$$1\$2
31823 fi # as_fn_append
31825 # as_fn_arith ARG...
31826 # ------------------
31827 # Perform arithmetic evaluation on the ARGs, and store the result in the
31828 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31829 # must be portable across $(()) and expr.
31830 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31831 eval 'as_fn_arith ()
31833 as_val=$(( $* ))
31835 else
31836 as_fn_arith ()
31838 as_val=`expr "$@" || test $? -eq 1`
31840 fi # as_fn_arith
31843 if expr a : '\(a\)' >/dev/null 2>&1 &&
31844 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31845 as_expr=expr
31846 else
31847 as_expr=false
31850 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31851 as_basename=basename
31852 else
31853 as_basename=false
31856 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31857 as_dirname=dirname
31858 else
31859 as_dirname=false
31862 as_me=`$as_basename -- "$0" ||
31863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31864 X"$0" : 'X\(//\)$' \| \
31865 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31866 $as_echo X/"$0" |
31867 sed '/^.*\/\([^/][^/]*\)\/*$/{
31868 s//\1/
31871 /^X\/\(\/\/\)$/{
31872 s//\1/
31875 /^X\/\(\/\).*/{
31876 s//\1/
31879 s/.*/./; q'`
31881 # Avoid depending upon Character Ranges.
31882 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31883 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31884 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31885 as_cr_digits='0123456789'
31886 as_cr_alnum=$as_cr_Letters$as_cr_digits
31888 ECHO_C= ECHO_N= ECHO_T=
31889 case `echo -n x` in #(((((
31890 -n*)
31891 case `echo 'xy\c'` in
31892 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31893 xy) ECHO_C='\c';;
31894 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31895 ECHO_T=' ';;
31896 esac;;
31898 ECHO_N='-n';;
31899 esac
31901 rm -f conf$$ conf$$.exe conf$$.file
31902 if test -d conf$$.dir; then
31903 rm -f conf$$.dir/conf$$.file
31904 else
31905 rm -f conf$$.dir
31906 mkdir conf$$.dir 2>/dev/null
31908 if (echo >conf$$.file) 2>/dev/null; then
31909 if ln -s conf$$.file conf$$ 2>/dev/null; then
31910 as_ln_s='ln -s'
31911 # ... but there are two gotchas:
31912 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31913 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31914 # In both cases, we have to default to `cp -pR'.
31915 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31916 as_ln_s='cp -pR'
31917 elif ln conf$$.file conf$$ 2>/dev/null; then
31918 as_ln_s=ln
31919 else
31920 as_ln_s='cp -pR'
31922 else
31923 as_ln_s='cp -pR'
31925 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31926 rmdir conf$$.dir 2>/dev/null
31929 # as_fn_mkdir_p
31930 # -------------
31931 # Create "$as_dir" as a directory, including parents if necessary.
31932 as_fn_mkdir_p ()
31935 case $as_dir in #(
31936 -*) as_dir=./$as_dir;;
31937 esac
31938 test -d "$as_dir" || eval $as_mkdir_p || {
31939 as_dirs=
31940 while :; do
31941 case $as_dir in #(
31942 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31943 *) as_qdir=$as_dir;;
31944 esac
31945 as_dirs="'$as_qdir' $as_dirs"
31946 as_dir=`$as_dirname -- "$as_dir" ||
31947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31948 X"$as_dir" : 'X\(//\)[^/]' \| \
31949 X"$as_dir" : 'X\(//\)$' \| \
31950 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31951 $as_echo X"$as_dir" |
31952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31953 s//\1/
31956 /^X\(\/\/\)[^/].*/{
31957 s//\1/
31960 /^X\(\/\/\)$/{
31961 s//\1/
31964 /^X\(\/\).*/{
31965 s//\1/
31968 s/.*/./; q'`
31969 test -d "$as_dir" && break
31970 done
31971 test -z "$as_dirs" || eval "mkdir $as_dirs"
31972 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31975 } # as_fn_mkdir_p
31976 if mkdir -p . 2>/dev/null; then
31977 as_mkdir_p='mkdir -p "$as_dir"'
31978 else
31979 test -d ./-p && rmdir ./-p
31980 as_mkdir_p=false
31984 # as_fn_executable_p FILE
31985 # -----------------------
31986 # Test if FILE is an executable regular file.
31987 as_fn_executable_p ()
31989 test -f "$1" && test -x "$1"
31990 } # as_fn_executable_p
31991 as_test_x='test -x'
31992 as_executable_p=as_fn_executable_p
31994 # Sed expression to map a string onto a valid CPP name.
31995 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31997 # Sed expression to map a string onto a valid variable name.
31998 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32001 exec 6>&1
32002 ## ----------------------------------- ##
32003 ## Main body of $CONFIG_STATUS script. ##
32004 ## ----------------------------------- ##
32005 _ASEOF
32006 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32009 # Save the log message, to keep $0 and so on meaningful, and to
32010 # report actual input values of CONFIG_FILES etc. instead of their
32011 # values after options handling.
32012 ac_log="
32013 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32014 generated by GNU Autoconf 2.69. Invocation command line was
32016 CONFIG_FILES = $CONFIG_FILES
32017 CONFIG_HEADERS = $CONFIG_HEADERS
32018 CONFIG_LINKS = $CONFIG_LINKS
32019 CONFIG_COMMANDS = $CONFIG_COMMANDS
32020 $ $0 $@
32022 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32025 _ACEOF
32027 case $ac_config_files in *"
32028 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32029 esac
32031 case $ac_config_headers in *"
32032 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32033 esac
32036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32037 # Files that config.status was made for.
32038 config_files="$ac_config_files"
32039 config_headers="$ac_config_headers"
32040 config_commands="$ac_config_commands"
32042 _ACEOF
32044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32045 ac_cs_usage="\
32046 \`$as_me' instantiates files and other configuration actions
32047 from templates according to the current configuration. Unless the files
32048 and actions are specified as TAGs, all are instantiated by default.
32050 Usage: $0 [OPTION]... [TAG]...
32052 -h, --help print this help, then exit
32053 -V, --version print version number and configuration settings, then exit
32054 --config print configuration, then exit
32055 -q, --quiet, --silent
32056 do not print progress messages
32057 -d, --debug don't remove temporary files
32058 --recheck update $as_me by reconfiguring in the same conditions
32059 --file=FILE[:TEMPLATE]
32060 instantiate the configuration file FILE
32061 --header=FILE[:TEMPLATE]
32062 instantiate the configuration header FILE
32064 Configuration files:
32065 $config_files
32067 Configuration headers:
32068 $config_headers
32070 Configuration commands:
32071 $config_commands
32073 Report bugs to the package provider.
32074 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32075 General help using GNU software: <http://www.gnu.org/gethelp/>."
32077 _ACEOF
32078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32079 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32080 ac_cs_version="\\
32081 GNU Fortran Runtime Library config.status 0.3
32082 configured by $0, generated by GNU Autoconf 2.69,
32083 with options \\"\$ac_cs_config\\"
32085 Copyright (C) 2012 Free Software Foundation, Inc.
32086 This config.status script is free software; the Free Software Foundation
32087 gives unlimited permission to copy, distribute and modify it."
32089 ac_pwd='$ac_pwd'
32090 srcdir='$srcdir'
32091 INSTALL='$INSTALL'
32092 MKDIR_P='$MKDIR_P'
32093 AWK='$AWK'
32094 test -n "\$AWK" || AWK=awk
32095 _ACEOF
32097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32098 # The default lists apply if the user does not specify any file.
32099 ac_need_defaults=:
32100 while test $# != 0
32102 case $1 in
32103 --*=?*)
32104 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32105 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32106 ac_shift=:
32108 --*=)
32109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32110 ac_optarg=
32111 ac_shift=:
32114 ac_option=$1
32115 ac_optarg=$2
32116 ac_shift=shift
32118 esac
32120 case $ac_option in
32121 # Handling of the options.
32122 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32123 ac_cs_recheck=: ;;
32124 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32125 $as_echo "$ac_cs_version"; exit ;;
32126 --config | --confi | --conf | --con | --co | --c )
32127 $as_echo "$ac_cs_config"; exit ;;
32128 --debug | --debu | --deb | --de | --d | -d )
32129 debug=: ;;
32130 --file | --fil | --fi | --f )
32131 $ac_shift
32132 case $ac_optarg in
32133 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32134 '') as_fn_error $? "missing file argument" ;;
32135 esac
32136 as_fn_append CONFIG_FILES " '$ac_optarg'"
32137 ac_need_defaults=false;;
32138 --header | --heade | --head | --hea )
32139 $ac_shift
32140 case $ac_optarg in
32141 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32142 esac
32143 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32144 ac_need_defaults=false;;
32145 --he | --h)
32146 # Conflict between --help and --header
32147 as_fn_error $? "ambiguous option: \`$1'
32148 Try \`$0 --help' for more information.";;
32149 --help | --hel | -h )
32150 $as_echo "$ac_cs_usage"; exit ;;
32151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32152 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32153 ac_cs_silent=: ;;
32155 # This is an error.
32156 -*) as_fn_error $? "unrecognized option: \`$1'
32157 Try \`$0 --help' for more information." ;;
32159 *) as_fn_append ac_config_targets " $1"
32160 ac_need_defaults=false ;;
32162 esac
32163 shift
32164 done
32166 ac_configure_extra_args=
32168 if $ac_cs_silent; then
32169 exec 6>/dev/null
32170 ac_configure_extra_args="$ac_configure_extra_args --silent"
32173 _ACEOF
32174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32175 if \$ac_cs_recheck; then
32176 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32177 shift
32178 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32179 CONFIG_SHELL='$SHELL'
32180 export CONFIG_SHELL
32181 exec "\$@"
32184 _ACEOF
32185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32186 exec 5>>config.log
32188 echo
32189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32190 ## Running $as_me. ##
32191 _ASBOX
32192 $as_echo "$ac_log"
32193 } >&5
32195 _ACEOF
32196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32198 # INIT-COMMANDS
32201 srcdir="$srcdir"
32202 host="$host"
32203 target="$target"
32204 with_multisubdir="$with_multisubdir"
32205 with_multisrctop="$with_multisrctop"
32206 with_target_subdir="$with_target_subdir"
32207 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32208 multi_basedir="$multi_basedir"
32209 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32210 CC="$CC"
32211 CXX="$CXX"
32212 GFORTRAN="$GFORTRAN"
32213 GDC="$GDC"
32214 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32217 # The HP-UX ksh and POSIX shell print the target directory to stdout
32218 # if CDPATH is set.
32219 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32221 sed_quote_subst='$sed_quote_subst'
32222 double_quote_subst='$double_quote_subst'
32223 delay_variable_subst='$delay_variable_subst'
32224 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32225 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32226 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32227 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32228 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32229 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32230 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32231 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32232 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32233 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32235 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32236 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32237 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32238 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32239 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32240 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32241 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32242 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32243 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32244 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32245 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32246 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32247 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32248 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32249 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32250 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32251 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32252 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32253 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32254 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32255 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32256 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32257 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32258 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32259 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32260 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32261 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32262 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32263 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32264 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32265 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32266 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32267 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32268 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32269 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32270 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32271 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32272 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"`'
32273 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32274 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32275 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32276 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32277 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32278 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32279 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32280 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32281 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32282 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32283 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32284 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32285 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32286 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32287 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32288 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32289 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32290 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32291 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32292 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32293 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32294 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32295 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32296 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32297 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32298 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32299 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32300 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32301 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32302 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32303 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32304 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32305 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32306 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32307 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32308 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32309 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32310 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32311 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32312 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32313 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32314 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32315 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32316 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32317 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32318 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32319 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32320 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32321 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32322 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32323 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32324 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32325 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32326 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32327 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32328 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32329 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32330 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32331 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32332 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32333 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32334 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32335 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32336 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32337 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32338 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32339 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32340 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32341 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32342 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32343 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32344 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32345 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32346 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32347 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32348 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32349 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32350 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32351 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32352 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32353 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32354 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32355 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32356 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32357 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32358 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32359 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32360 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32361 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32362 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32363 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32364 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32365 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32366 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32367 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32368 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32369 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32370 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32371 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32372 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32373 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32374 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32375 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32376 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32377 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32378 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32379 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32380 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32381 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32382 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32383 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32384 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32385 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32386 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32387 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32388 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32389 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32390 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32391 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32392 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32393 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32394 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32395 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32396 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32397 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32398 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32400 LTCC='$LTCC'
32401 LTCFLAGS='$LTCFLAGS'
32402 compiler='$compiler_DEFAULT'
32404 # A function that is used when there is no print builtin or printf.
32405 func_fallback_echo ()
32407 eval 'cat <<_LTECHO_EOF
32409 _LTECHO_EOF'
32412 # Quote evaled strings.
32413 for var in SED \
32414 GREP \
32415 EGREP \
32416 FGREP \
32417 SHELL \
32418 ECHO \
32419 LD \
32420 NM \
32421 LN_S \
32422 lt_SP2NL \
32423 lt_NL2SP \
32424 reload_flag \
32425 OBJDUMP \
32426 deplibs_check_method \
32427 file_magic_cmd \
32428 AR \
32429 AR_FLAGS \
32430 STRIP \
32431 RANLIB \
32432 CC \
32433 CFLAGS \
32434 compiler \
32435 lt_cv_sys_global_symbol_pipe \
32436 lt_cv_sys_global_symbol_to_cdecl \
32437 lt_cv_sys_global_symbol_to_c_name_address \
32438 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32439 lt_prog_compiler_no_builtin_flag \
32440 lt_prog_compiler_wl \
32441 lt_prog_compiler_pic \
32442 lt_prog_compiler_static \
32443 lt_cv_prog_compiler_c_o \
32444 need_locks \
32445 DSYMUTIL \
32446 NMEDIT \
32447 LIPO \
32448 OTOOL \
32449 OTOOL64 \
32450 shrext_cmds \
32451 export_dynamic_flag_spec \
32452 whole_archive_flag_spec \
32453 compiler_needs_object \
32454 with_gnu_ld \
32455 allow_undefined_flag \
32456 no_undefined_flag \
32457 hardcode_libdir_flag_spec \
32458 hardcode_libdir_flag_spec_ld \
32459 hardcode_libdir_separator \
32460 fix_srcfile_path \
32461 exclude_expsyms \
32462 include_expsyms \
32463 file_list_spec \
32464 variables_saved_for_relink \
32465 libname_spec \
32466 library_names_spec \
32467 soname_spec \
32468 install_override_mode \
32469 finish_eval \
32470 old_striplib \
32471 striplib \
32472 compiler_lib_search_dirs \
32473 predep_objects \
32474 postdep_objects \
32475 predeps \
32476 postdeps \
32477 compiler_lib_search_path \
32478 LD_FC \
32479 reload_flag_FC \
32480 compiler_FC \
32481 lt_prog_compiler_no_builtin_flag_FC \
32482 lt_prog_compiler_wl_FC \
32483 lt_prog_compiler_pic_FC \
32484 lt_prog_compiler_static_FC \
32485 lt_cv_prog_compiler_c_o_FC \
32486 export_dynamic_flag_spec_FC \
32487 whole_archive_flag_spec_FC \
32488 compiler_needs_object_FC \
32489 with_gnu_ld_FC \
32490 allow_undefined_flag_FC \
32491 no_undefined_flag_FC \
32492 hardcode_libdir_flag_spec_FC \
32493 hardcode_libdir_flag_spec_ld_FC \
32494 hardcode_libdir_separator_FC \
32495 fix_srcfile_path_FC \
32496 exclude_expsyms_FC \
32497 include_expsyms_FC \
32498 file_list_spec_FC \
32499 compiler_lib_search_dirs_FC \
32500 predep_objects_FC \
32501 postdep_objects_FC \
32502 predeps_FC \
32503 postdeps_FC \
32504 compiler_lib_search_path_FC; do
32505 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32506 *[\\\\\\\`\\"\\\$]*)
32507 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32510 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32512 esac
32513 done
32515 # Double-quote double-evaled strings.
32516 for var in reload_cmds \
32517 old_postinstall_cmds \
32518 old_postuninstall_cmds \
32519 old_archive_cmds \
32520 extract_expsyms_cmds \
32521 old_archive_from_new_cmds \
32522 old_archive_from_expsyms_cmds \
32523 archive_cmds \
32524 archive_expsym_cmds \
32525 module_cmds \
32526 module_expsym_cmds \
32527 export_symbols_cmds \
32528 prelink_cmds \
32529 postinstall_cmds \
32530 postuninstall_cmds \
32531 finish_cmds \
32532 sys_lib_search_path_spec \
32533 sys_lib_dlsearch_path_spec \
32534 reload_cmds_FC \
32535 old_archive_cmds_FC \
32536 old_archive_from_new_cmds_FC \
32537 old_archive_from_expsyms_cmds_FC \
32538 archive_cmds_FC \
32539 archive_expsym_cmds_FC \
32540 module_cmds_FC \
32541 module_expsym_cmds_FC \
32542 export_symbols_cmds_FC \
32543 prelink_cmds_FC; do
32544 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32545 *[\\\\\\\`\\"\\\$]*)
32546 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32549 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32551 esac
32552 done
32554 ac_aux_dir='$ac_aux_dir'
32555 xsi_shell='$xsi_shell'
32556 lt_shell_append='$lt_shell_append'
32558 # See if we are running on zsh, and set the options which allow our
32559 # commands through without removal of \ escapes INIT.
32560 if test -n "\${ZSH_VERSION+set}" ; then
32561 setopt NO_GLOB_SUBST
32565 PACKAGE='$PACKAGE'
32566 VERSION='$VERSION'
32567 TIMESTAMP='$TIMESTAMP'
32568 RM='$RM'
32569 ofile='$ofile'
32576 GCC="$GCC"
32577 CC="$CC"
32578 acx_cv_header_stdint="$acx_cv_header_stdint"
32579 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32580 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32581 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32582 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32583 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32584 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32585 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32586 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32587 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32588 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32589 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32590 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32591 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32594 _ACEOF
32596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32598 # Handling of arguments.
32599 for ac_config_target in $ac_config_targets
32601 case $ac_config_target in
32602 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32603 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32604 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32605 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32606 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32607 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32608 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32610 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32611 esac
32612 done
32615 # If the user did not use the arguments to specify the items to instantiate,
32616 # then the envvar interface is used. Set only those that are not.
32617 # We use the long form for the default assignment because of an extremely
32618 # bizarre bug on SunOS 4.1.3.
32619 if $ac_need_defaults; then
32620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32625 # Have a temporary directory for convenience. Make it in the build tree
32626 # simply because there is no reason against having it here, and in addition,
32627 # creating and moving files from /tmp can sometimes cause problems.
32628 # Hook for its removal unless debugging.
32629 # Note that there is a small window in which the directory will not be cleaned:
32630 # after its creation but before its name has been assigned to `$tmp'.
32631 $debug ||
32633 tmp= ac_tmp=
32634 trap 'exit_status=$?
32635 : "${ac_tmp:=$tmp}"
32636 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32638 trap 'as_fn_exit 1' 1 2 13 15
32640 # Create a (secure) tmp directory for tmp files.
32643 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32644 test -d "$tmp"
32645 } ||
32647 tmp=./conf$$-$RANDOM
32648 (umask 077 && mkdir "$tmp")
32649 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32650 ac_tmp=$tmp
32652 # Set up the scripts for CONFIG_FILES section.
32653 # No need to generate them if there are no CONFIG_FILES.
32654 # This happens for instance with `./config.status config.h'.
32655 if test -n "$CONFIG_FILES"; then
32658 ac_cr=`echo X | tr X '\015'`
32659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32660 # But we know of no other shell where ac_cr would be empty at this
32661 # point, so we can use a bashism as a fallback.
32662 if test "x$ac_cr" = x; then
32663 eval ac_cr=\$\'\\r\'
32665 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32667 ac_cs_awk_cr='\\r'
32668 else
32669 ac_cs_awk_cr=$ac_cr
32672 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32673 _ACEOF
32677 echo "cat >conf$$subs.awk <<_ACEOF" &&
32678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32679 echo "_ACEOF"
32680 } >conf$$subs.sh ||
32681 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32682 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32683 ac_delim='%!_!# '
32684 for ac_last_try in false false false false false :; do
32685 . ./conf$$subs.sh ||
32686 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32688 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32689 if test $ac_delim_n = $ac_delim_num; then
32690 break
32691 elif $ac_last_try; then
32692 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32693 else
32694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32696 done
32697 rm -f conf$$subs.sh
32699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32700 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32701 _ACEOF
32702 sed -n '
32704 s/^/S["/; s/!.*/"]=/
32707 s/^[^!]*!//
32708 :repl
32709 t repl
32710 s/'"$ac_delim"'$//
32711 t delim
32714 s/\(.\{148\}\)..*/\1/
32715 t more1
32716 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32719 b repl
32720 :more1
32721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32724 s/.\{148\}//
32725 t nl
32726 :delim
32728 s/\(.\{148\}\)..*/\1/
32729 t more2
32730 s/["\\]/\\&/g; s/^/"/; s/$/"/
32733 :more2
32734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32737 s/.\{148\}//
32738 t delim
32739 ' <conf$$subs.awk | sed '
32740 /^[^""]/{
32742 s/\n//
32744 ' >>$CONFIG_STATUS || ac_write_fail=1
32745 rm -f conf$$subs.awk
32746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32747 _ACAWK
32748 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32749 for (key in S) S_is_set[key] = 1
32750 FS = "\a"
32754 line = $ 0
32755 nfields = split(line, field, "@")
32756 substed = 0
32757 len = length(field[1])
32758 for (i = 2; i < nfields; i++) {
32759 key = field[i]
32760 keylen = length(key)
32761 if (S_is_set[key]) {
32762 value = S[key]
32763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32764 len += length(value) + length(field[++i])
32765 substed = 1
32766 } else
32767 len += 1 + keylen
32770 print line
32773 _ACAWK
32774 _ACEOF
32775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32776 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32777 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32778 else
32780 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32781 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32782 _ACEOF
32784 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32785 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32786 # trailing colons and then remove the whole line if VPATH becomes empty
32787 # (actually we leave an empty line to preserve line numbers).
32788 if test "x$srcdir" = x.; then
32789 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32791 s///
32792 s/^/:/
32793 s/[ ]*$/:/
32794 s/:\$(srcdir):/:/g
32795 s/:\${srcdir}:/:/g
32796 s/:@srcdir@:/:/g
32797 s/^:*//
32798 s/:*$//
32800 s/\(=[ ]*\).*/\1/
32802 s/\n//
32803 s/^[^=]*=[ ]*$//
32807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32808 fi # test -n "$CONFIG_FILES"
32810 # Set up the scripts for CONFIG_HEADERS section.
32811 # No need to generate them if there are no CONFIG_HEADERS.
32812 # This happens for instance with `./config.status Makefile'.
32813 if test -n "$CONFIG_HEADERS"; then
32814 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32815 BEGIN {
32816 _ACEOF
32818 # Transform confdefs.h into an awk script `defines.awk', embedded as
32819 # here-document in config.status, that substitutes the proper values into
32820 # config.h.in to produce config.h.
32822 # Create a delimiter string that does not exist in confdefs.h, to ease
32823 # handling of long lines.
32824 ac_delim='%!_!# '
32825 for ac_last_try in false false :; do
32826 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32827 if test -z "$ac_tt"; then
32828 break
32829 elif $ac_last_try; then
32830 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32831 else
32832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32834 done
32836 # For the awk script, D is an array of macro values keyed by name,
32837 # likewise P contains macro parameters if any. Preserve backslash
32838 # newline sequences.
32840 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32841 sed -n '
32842 s/.\{148\}/&'"$ac_delim"'/g
32843 t rset
32844 :rset
32845 s/^[ ]*#[ ]*define[ ][ ]*/ /
32846 t def
32848 :def
32849 s/\\$//
32850 t bsnl
32851 s/["\\]/\\&/g
32852 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32853 D["\1"]=" \3"/p
32854 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32856 :bsnl
32857 s/["\\]/\\&/g
32858 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32859 D["\1"]=" \3\\\\\\n"\\/p
32860 t cont
32861 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32862 t cont
32864 :cont
32866 s/.\{148\}/&'"$ac_delim"'/g
32867 t clear
32868 :clear
32869 s/\\$//
32870 t bsnlc
32871 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32873 :bsnlc
32874 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32875 b cont
32876 ' <confdefs.h | sed '
32877 s/'"$ac_delim"'/"\\\
32878 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32881 for (key in D) D_is_set[key] = 1
32882 FS = "\a"
32884 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32885 line = \$ 0
32886 split(line, arg, " ")
32887 if (arg[1] == "#") {
32888 defundef = arg[2]
32889 mac1 = arg[3]
32890 } else {
32891 defundef = substr(arg[1], 2)
32892 mac1 = arg[2]
32894 split(mac1, mac2, "(") #)
32895 macro = mac2[1]
32896 prefix = substr(line, 1, index(line, defundef) - 1)
32897 if (D_is_set[macro]) {
32898 # Preserve the white space surrounding the "#".
32899 print prefix "define", macro P[macro] D[macro]
32900 next
32901 } else {
32902 # Replace #undef with comments. This is necessary, for example,
32903 # in the case of _POSIX_SOURCE, which is predefined and required
32904 # on some systems where configure will not decide to define it.
32905 if (defundef == "undef") {
32906 print "/*", prefix defundef, macro, "*/"
32907 next
32911 { print }
32912 _ACAWK
32913 _ACEOF
32914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32915 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32916 fi # test -n "$CONFIG_HEADERS"
32919 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32920 shift
32921 for ac_tag
32923 case $ac_tag in
32924 :[FHLC]) ac_mode=$ac_tag; continue;;
32925 esac
32926 case $ac_mode$ac_tag in
32927 :[FHL]*:*);;
32928 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
32929 :[FH]-) ac_tag=-:-;;
32930 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32931 esac
32932 ac_save_IFS=$IFS
32933 IFS=:
32934 set x $ac_tag
32935 IFS=$ac_save_IFS
32936 shift
32937 ac_file=$1
32938 shift
32940 case $ac_mode in
32941 :L) ac_source=$1;;
32942 :[FH])
32943 ac_file_inputs=
32944 for ac_f
32946 case $ac_f in
32947 -) ac_f="$ac_tmp/stdin";;
32948 *) # Look for the file first in the build tree, then in the source tree
32949 # (if the path is not absolute). The absolute path cannot be DOS-style,
32950 # because $ac_f cannot contain `:'.
32951 test -f "$ac_f" ||
32952 case $ac_f in
32953 [\\/$]*) false;;
32954 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32955 esac ||
32956 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32957 esac
32958 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32959 as_fn_append ac_file_inputs " '$ac_f'"
32960 done
32962 # Let's still pretend it is `configure' which instantiates (i.e., don't
32963 # use $as_me), people would be surprised to read:
32964 # /* config.h. Generated by config.status. */
32965 configure_input='Generated from '`
32966 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32967 `' by configure.'
32968 if test x"$ac_file" != x-; then
32969 configure_input="$ac_file. $configure_input"
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32971 $as_echo "$as_me: creating $ac_file" >&6;}
32973 # Neutralize special characters interpreted by sed in replacement strings.
32974 case $configure_input in #(
32975 *\&* | *\|* | *\\* )
32976 ac_sed_conf_input=`$as_echo "$configure_input" |
32977 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32978 *) ac_sed_conf_input=$configure_input;;
32979 esac
32981 case $ac_tag in
32982 *:-:* | *:-) cat >"$ac_tmp/stdin" \
32983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32984 esac
32986 esac
32988 ac_dir=`$as_dirname -- "$ac_file" ||
32989 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32990 X"$ac_file" : 'X\(//\)[^/]' \| \
32991 X"$ac_file" : 'X\(//\)$' \| \
32992 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32993 $as_echo X"$ac_file" |
32994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32995 s//\1/
32998 /^X\(\/\/\)[^/].*/{
32999 s//\1/
33002 /^X\(\/\/\)$/{
33003 s//\1/
33006 /^X\(\/\).*/{
33007 s//\1/
33010 s/.*/./; q'`
33011 as_dir="$ac_dir"; as_fn_mkdir_p
33012 ac_builddir=.
33014 case "$ac_dir" in
33015 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33017 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33018 # A ".." for each directory in $ac_dir_suffix.
33019 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33020 case $ac_top_builddir_sub in
33021 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33022 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33023 esac ;;
33024 esac
33025 ac_abs_top_builddir=$ac_pwd
33026 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33027 # for backward compatibility:
33028 ac_top_builddir=$ac_top_build_prefix
33030 case $srcdir in
33031 .) # We are building in place.
33032 ac_srcdir=.
33033 ac_top_srcdir=$ac_top_builddir_sub
33034 ac_abs_top_srcdir=$ac_pwd ;;
33035 [\\/]* | ?:[\\/]* ) # Absolute name.
33036 ac_srcdir=$srcdir$ac_dir_suffix;
33037 ac_top_srcdir=$srcdir
33038 ac_abs_top_srcdir=$srcdir ;;
33039 *) # Relative name.
33040 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33041 ac_top_srcdir=$ac_top_build_prefix$srcdir
33042 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33043 esac
33044 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33047 case $ac_mode in
33050 # CONFIG_FILE
33053 case $INSTALL in
33054 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33055 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33056 esac
33057 ac_MKDIR_P=$MKDIR_P
33058 case $MKDIR_P in
33059 [\\/$]* | ?:[\\/]* ) ;;
33060 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33061 esac
33062 _ACEOF
33064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33065 # If the template does not know about datarootdir, expand it.
33066 # FIXME: This hack should be removed a few years after 2.60.
33067 ac_datarootdir_hack=; ac_datarootdir_seen=
33068 ac_sed_dataroot='
33069 /datarootdir/ {
33073 /@datadir@/p
33074 /@docdir@/p
33075 /@infodir@/p
33076 /@localedir@/p
33077 /@mandir@/p'
33078 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33079 *datarootdir*) ac_datarootdir_seen=yes;;
33080 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33082 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33083 _ACEOF
33084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33085 ac_datarootdir_hack='
33086 s&@datadir@&$datadir&g
33087 s&@docdir@&$docdir&g
33088 s&@infodir@&$infodir&g
33089 s&@localedir@&$localedir&g
33090 s&@mandir@&$mandir&g
33091 s&\\\${datarootdir}&$datarootdir&g' ;;
33092 esac
33093 _ACEOF
33095 # Neutralize VPATH when `$srcdir' = `.'.
33096 # Shell code in configure.ac might set extrasub.
33097 # FIXME: do we really want to maintain this feature?
33098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33099 ac_sed_extra="$ac_vpsub
33100 $extrasub
33101 _ACEOF
33102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33104 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33105 s|@configure_input@|$ac_sed_conf_input|;t t
33106 s&@top_builddir@&$ac_top_builddir_sub&;t t
33107 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33108 s&@srcdir@&$ac_srcdir&;t t
33109 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33110 s&@top_srcdir@&$ac_top_srcdir&;t t
33111 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33112 s&@builddir@&$ac_builddir&;t t
33113 s&@abs_builddir@&$ac_abs_builddir&;t t
33114 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33115 s&@INSTALL@&$ac_INSTALL&;t t
33116 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33117 $ac_datarootdir_hack
33119 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33120 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33122 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33123 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33124 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33125 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33127 which seems to be undefined. Please make sure it is defined" >&5
33128 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33129 which seems to be undefined. Please make sure it is defined" >&2;}
33131 rm -f "$ac_tmp/stdin"
33132 case $ac_file in
33133 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33134 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33135 esac \
33136 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33140 # CONFIG_HEADER
33142 if test x"$ac_file" != x-; then
33144 $as_echo "/* $configure_input */" \
33145 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33146 } >"$ac_tmp/config.h" \
33147 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33148 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33149 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33150 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33151 else
33152 rm -f "$ac_file"
33153 mv "$ac_tmp/config.h" "$ac_file" \
33154 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33156 else
33157 $as_echo "/* $configure_input */" \
33158 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33159 || as_fn_error $? "could not create -" "$LINENO" 5
33161 # Compute "$ac_file"'s index in $config_headers.
33162 _am_arg="$ac_file"
33163 _am_stamp_count=1
33164 for _am_header in $config_headers :; do
33165 case $_am_header in
33166 $_am_arg | $_am_arg:* )
33167 break ;;
33169 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33170 esac
33171 done
33172 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33173 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33174 X"$_am_arg" : 'X\(//\)[^/]' \| \
33175 X"$_am_arg" : 'X\(//\)$' \| \
33176 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33177 $as_echo X"$_am_arg" |
33178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33179 s//\1/
33182 /^X\(\/\/\)[^/].*/{
33183 s//\1/
33186 /^X\(\/\/\)$/{
33187 s//\1/
33190 /^X\(\/\).*/{
33191 s//\1/
33194 s/.*/./; q'`/stamp-h$_am_stamp_count
33197 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33198 $as_echo "$as_me: executing $ac_file commands" >&6;}
33200 esac
33203 case $ac_file$ac_mode in
33204 "default-1":C)
33205 # Only add multilib support code if we just rebuilt the top-level
33206 # Makefile.
33207 case " $CONFIG_FILES " in
33208 *" Makefile "*)
33209 ac_file=Makefile . ${multi_basedir}/config-ml.in
33211 esac ;;
33212 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33213 # Older Autoconf quotes --file arguments for eval, but not when files
33214 # are listed without --file. Let's play safe and only enable the eval
33215 # if we detect the quoting.
33216 case $CONFIG_FILES in
33217 *\'*) eval set x "$CONFIG_FILES" ;;
33218 *) set x $CONFIG_FILES ;;
33219 esac
33220 shift
33221 for mf
33223 # Strip MF so we end up with the name of the file.
33224 mf=`echo "$mf" | sed -e 's/:.*$//'`
33225 # Check whether this is an Automake generated Makefile or not.
33226 # We used to match only the files named 'Makefile.in', but
33227 # some people rename them; so instead we look at the file content.
33228 # Grep'ing the first line is not enough: some people post-process
33229 # each Makefile.in and add a new line on top of each file to say so.
33230 # Grep'ing the whole file is not good either: AIX grep has a line
33231 # limit of 2048, but all sed's we know have understand at least 4000.
33232 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33233 dirpart=`$as_dirname -- "$mf" ||
33234 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33235 X"$mf" : 'X\(//\)[^/]' \| \
33236 X"$mf" : 'X\(//\)$' \| \
33237 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33238 $as_echo X"$mf" |
33239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33240 s//\1/
33243 /^X\(\/\/\)[^/].*/{
33244 s//\1/
33247 /^X\(\/\/\)$/{
33248 s//\1/
33251 /^X\(\/\).*/{
33252 s//\1/
33255 s/.*/./; q'`
33256 else
33257 continue
33259 # Extract the definition of DEPDIR, am__include, and am__quote
33260 # from the Makefile without running 'make'.
33261 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33262 test -z "$DEPDIR" && continue
33263 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33264 test -z "$am__include" && continue
33265 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33266 # Find all dependency output files, they are included files with
33267 # $(DEPDIR) in their names. We invoke sed twice because it is the
33268 # simplest approach to changing $(DEPDIR) to its actual value in the
33269 # expansion.
33270 for file in `sed -n "
33271 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33272 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33273 # Make sure the directory exists.
33274 test -f "$dirpart/$file" && continue
33275 fdir=`$as_dirname -- "$file" ||
33276 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33277 X"$file" : 'X\(//\)[^/]' \| \
33278 X"$file" : 'X\(//\)$' \| \
33279 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33280 $as_echo X"$file" |
33281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33282 s//\1/
33285 /^X\(\/\/\)[^/].*/{
33286 s//\1/
33289 /^X\(\/\/\)$/{
33290 s//\1/
33293 /^X\(\/\).*/{
33294 s//\1/
33297 s/.*/./; q'`
33298 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33299 # echo "creating $dirpart/$file"
33300 echo '# dummy' > "$dirpart/$file"
33301 done
33302 done
33305 "libtool":C)
33307 # See if we are running on zsh, and set the options which allow our
33308 # commands through without removal of \ escapes.
33309 if test -n "${ZSH_VERSION+set}" ; then
33310 setopt NO_GLOB_SUBST
33313 cfgfile="${ofile}T"
33314 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33315 $RM "$cfgfile"
33317 cat <<_LT_EOF >> "$cfgfile"
33318 #! $SHELL
33320 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33321 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33322 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33323 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33325 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33326 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33327 # Written by Gordon Matzigkeit, 1996
33329 # This file is part of GNU Libtool.
33331 # GNU Libtool is free software; you can redistribute it and/or
33332 # modify it under the terms of the GNU General Public License as
33333 # published by the Free Software Foundation; either version 2 of
33334 # the License, or (at your option) any later version.
33336 # As a special exception to the GNU General Public License,
33337 # if you distribute this file as part of a program or library that
33338 # is built using GNU Libtool, you may include this file under the
33339 # same distribution terms that you use for the rest of that program.
33341 # GNU Libtool is distributed in the hope that it will be useful,
33342 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33343 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33344 # GNU General Public License for more details.
33346 # You should have received a copy of the GNU General Public License
33347 # along with GNU Libtool; see the file COPYING. If not, a copy
33348 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33349 # obtained by writing to the Free Software Foundation, Inc.,
33350 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33353 # The names of the tagged configurations supported by this script.
33354 available_tags="FC "
33356 # ### BEGIN LIBTOOL CONFIG
33358 # A sed program that does not truncate output.
33359 SED=$lt_SED
33361 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33362 Xsed="\$SED -e 1s/^X//"
33364 # A grep program that handles long lines.
33365 GREP=$lt_GREP
33367 # An ERE matcher.
33368 EGREP=$lt_EGREP
33370 # A literal string matcher.
33371 FGREP=$lt_FGREP
33373 # Shell to use when invoking shell scripts.
33374 SHELL=$lt_SHELL
33376 # An echo program that protects backslashes.
33377 ECHO=$lt_ECHO
33379 # Which release of libtool.m4 was used?
33380 macro_version=$macro_version
33381 macro_revision=$macro_revision
33383 # Whether or not to build shared libraries.
33384 build_libtool_libs=$enable_shared
33386 # Whether or not to build static libraries.
33387 build_old_libs=$enable_static
33389 # What type of objects to build.
33390 pic_mode=$pic_mode
33392 # Whether or not to optimize for fast installation.
33393 fast_install=$enable_fast_install
33395 # The host system.
33396 host_alias=$host_alias
33397 host=$host
33398 host_os=$host_os
33400 # The build system.
33401 build_alias=$build_alias
33402 build=$build
33403 build_os=$build_os
33405 # A BSD- or MS-compatible name lister.
33406 NM=$lt_NM
33408 # Whether we need soft or hard links.
33409 LN_S=$lt_LN_S
33411 # What is the maximum length of a command?
33412 max_cmd_len=$max_cmd_len
33414 # Object file suffix (normally "o").
33415 objext=$ac_objext
33417 # Executable file suffix (normally "").
33418 exeext=$exeext
33420 # whether the shell understands "unset".
33421 lt_unset=$lt_unset
33423 # turn spaces into newlines.
33424 SP2NL=$lt_lt_SP2NL
33426 # turn newlines into spaces.
33427 NL2SP=$lt_lt_NL2SP
33429 # An object symbol dumper.
33430 OBJDUMP=$lt_OBJDUMP
33432 # Method to check whether dependent libraries are shared objects.
33433 deplibs_check_method=$lt_deplibs_check_method
33435 # Command to use when deplibs_check_method == "file_magic".
33436 file_magic_cmd=$lt_file_magic_cmd
33438 # The archiver.
33439 AR=$lt_AR
33440 AR_FLAGS=$lt_AR_FLAGS
33442 # A symbol stripping program.
33443 STRIP=$lt_STRIP
33445 # Commands used to install an old-style archive.
33446 RANLIB=$lt_RANLIB
33447 old_postinstall_cmds=$lt_old_postinstall_cmds
33448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33450 # Whether to use a lock for old archive extraction.
33451 lock_old_archive_extraction=$lock_old_archive_extraction
33453 # A C compiler.
33454 LTCC=$lt_CC
33456 # LTCC compiler flags.
33457 LTCFLAGS=$lt_CFLAGS
33459 # Take the output of nm and produce a listing of raw symbols and C names.
33460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33462 # Transform the output of nm in a proper C declaration.
33463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33465 # Transform the output of nm in a C name address pair.
33466 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33468 # Transform the output of nm in a C name address pair when lib prefix is needed.
33469 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33471 # The name of the directory that contains temporary libtool files.
33472 objdir=$objdir
33474 # Used to examine libraries when file_magic_cmd begins with "file".
33475 MAGIC_CMD=$MAGIC_CMD
33477 # Must we lock files when doing compilation?
33478 need_locks=$lt_need_locks
33480 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33481 DSYMUTIL=$lt_DSYMUTIL
33483 # Tool to change global to local symbols on Mac OS X.
33484 NMEDIT=$lt_NMEDIT
33486 # Tool to manipulate fat objects and archives on Mac OS X.
33487 LIPO=$lt_LIPO
33489 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33490 OTOOL=$lt_OTOOL
33492 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33493 OTOOL64=$lt_OTOOL64
33495 # Old archive suffix (normally "a").
33496 libext=$libext
33498 # Shared library suffix (normally ".so").
33499 shrext_cmds=$lt_shrext_cmds
33501 # The commands to extract the exported symbol list from a shared archive.
33502 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33504 # Variables whose values should be saved in libtool wrapper scripts and
33505 # restored at link time.
33506 variables_saved_for_relink=$lt_variables_saved_for_relink
33508 # Do we need the "lib" prefix for modules?
33509 need_lib_prefix=$need_lib_prefix
33511 # Do we need a version for libraries?
33512 need_version=$need_version
33514 # Library versioning type.
33515 version_type=$version_type
33517 # Shared library runtime path variable.
33518 runpath_var=$runpath_var
33520 # Shared library path variable.
33521 shlibpath_var=$shlibpath_var
33523 # Is shlibpath searched before the hard-coded library search path?
33524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33526 # Format of library name prefix.
33527 libname_spec=$lt_libname_spec
33529 # List of archive names. First name is the real one, the rest are links.
33530 # The last name is the one that the linker finds with -lNAME
33531 library_names_spec=$lt_library_names_spec
33533 # The coded name of the library, if different from the real name.
33534 soname_spec=$lt_soname_spec
33536 # Permission mode override for installation of shared libraries.
33537 install_override_mode=$lt_install_override_mode
33539 # Command to use after installation of a shared archive.
33540 postinstall_cmds=$lt_postinstall_cmds
33542 # Command to use after uninstallation of a shared archive.
33543 postuninstall_cmds=$lt_postuninstall_cmds
33545 # Commands used to finish a libtool library installation in a directory.
33546 finish_cmds=$lt_finish_cmds
33548 # As "finish_cmds", except a single script fragment to be evaled but
33549 # not shown.
33550 finish_eval=$lt_finish_eval
33552 # Whether we should hardcode library paths into libraries.
33553 hardcode_into_libs=$hardcode_into_libs
33555 # Compile-time system search path for libraries.
33556 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33558 # Run-time system search path for libraries.
33559 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33561 # Whether dlopen is supported.
33562 dlopen_support=$enable_dlopen
33564 # Whether dlopen of programs is supported.
33565 dlopen_self=$enable_dlopen_self
33567 # Whether dlopen of statically linked programs is supported.
33568 dlopen_self_static=$enable_dlopen_self_static
33570 # Commands to strip libraries.
33571 old_striplib=$lt_old_striplib
33572 striplib=$lt_striplib
33575 # The linker used to build libraries.
33576 LD=$lt_LD
33578 # How to create reloadable object files.
33579 reload_flag=$lt_reload_flag
33580 reload_cmds=$lt_reload_cmds
33582 # Commands used to build an old-style archive.
33583 old_archive_cmds=$lt_old_archive_cmds
33585 # A language specific compiler.
33586 CC=$lt_compiler
33588 # Is the compiler the GNU compiler?
33589 with_gcc=$GCC
33591 # Compiler flag to turn off builtin functions.
33592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33594 # How to pass a linker flag through the compiler.
33595 wl=$lt_lt_prog_compiler_wl
33597 # Additional compiler flags for building library objects.
33598 pic_flag=$lt_lt_prog_compiler_pic
33600 # Compiler flag to prevent dynamic linking.
33601 link_static_flag=$lt_lt_prog_compiler_static
33603 # Does compiler simultaneously support -c and -o options?
33604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33606 # Whether or not to add -lc for building shared libraries.
33607 build_libtool_need_lc=$archive_cmds_need_lc
33609 # Whether or not to disallow shared libs when runtime libs are static.
33610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33612 # Compiler flag to allow reflexive dlopens.
33613 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33615 # Compiler flag to generate shared objects directly from archives.
33616 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33618 # Whether the compiler copes with passing no objects directly.
33619 compiler_needs_object=$lt_compiler_needs_object
33621 # Create an old-style archive from a shared archive.
33622 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33624 # Create a temporary old-style archive to link instead of a shared archive.
33625 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33627 # Commands used to build a shared archive.
33628 archive_cmds=$lt_archive_cmds
33629 archive_expsym_cmds=$lt_archive_expsym_cmds
33631 # Commands used to build a loadable module if different from building
33632 # a shared archive.
33633 module_cmds=$lt_module_cmds
33634 module_expsym_cmds=$lt_module_expsym_cmds
33636 # Whether we are building with GNU ld or not.
33637 with_gnu_ld=$lt_with_gnu_ld
33639 # Flag that allows shared libraries with undefined symbols to be built.
33640 allow_undefined_flag=$lt_allow_undefined_flag
33642 # Flag that enforces no undefined symbols.
33643 no_undefined_flag=$lt_no_undefined_flag
33645 # Flag to hardcode \$libdir into a binary during linking.
33646 # This must work even if \$libdir does not exist
33647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33649 # If ld is used when linking, flag to hardcode \$libdir into a binary
33650 # during linking. This must work even if \$libdir does not exist.
33651 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33653 # Whether we need a single "-rpath" flag with a separated argument.
33654 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33657 # DIR into the resulting binary.
33658 hardcode_direct=$hardcode_direct
33660 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33661 # DIR into the resulting binary and the resulting library dependency is
33662 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33663 # library is relocated.
33664 hardcode_direct_absolute=$hardcode_direct_absolute
33666 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33667 # into the resulting binary.
33668 hardcode_minus_L=$hardcode_minus_L
33670 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33671 # into the resulting binary.
33672 hardcode_shlibpath_var=$hardcode_shlibpath_var
33674 # Set to "yes" if building a shared library automatically hardcodes DIR
33675 # into the library and all subsequent libraries and executables linked
33676 # against it.
33677 hardcode_automatic=$hardcode_automatic
33679 # Set to yes if linker adds runtime paths of dependent libraries
33680 # to runtime path list.
33681 inherit_rpath=$inherit_rpath
33683 # Whether libtool must link a program against all its dependency libraries.
33684 link_all_deplibs=$link_all_deplibs
33686 # Fix the shell variable \$srcfile for the compiler.
33687 fix_srcfile_path=$lt_fix_srcfile_path
33689 # Set to "yes" if exported symbols are required.
33690 always_export_symbols=$always_export_symbols
33692 # The commands to list exported symbols.
33693 export_symbols_cmds=$lt_export_symbols_cmds
33695 # Symbols that should not be listed in the preloaded symbols.
33696 exclude_expsyms=$lt_exclude_expsyms
33698 # Symbols that must always be exported.
33699 include_expsyms=$lt_include_expsyms
33701 # Commands necessary for linking programs (against libraries) with templates.
33702 prelink_cmds=$lt_prelink_cmds
33704 # Specify filename containing input files.
33705 file_list_spec=$lt_file_list_spec
33707 # How to hardcode a shared library path into an executable.
33708 hardcode_action=$hardcode_action
33710 # The directories searched by this compiler when creating a shared library.
33711 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33713 # Dependencies to place before and after the objects being linked to
33714 # create a shared library.
33715 predep_objects=$lt_predep_objects
33716 postdep_objects=$lt_postdep_objects
33717 predeps=$lt_predeps
33718 postdeps=$lt_postdeps
33720 # The library search path used internally by the compiler when linking
33721 # a shared library.
33722 compiler_lib_search_path=$lt_compiler_lib_search_path
33724 # ### END LIBTOOL CONFIG
33726 _LT_EOF
33728 case $host_os in
33729 aix3*)
33730 cat <<\_LT_EOF >> "$cfgfile"
33731 # AIX sometimes has problems with the GCC collect2 program. For some
33732 # reason, if we set the COLLECT_NAMES environment variable, the problems
33733 # vanish in a puff of smoke.
33734 if test "X${COLLECT_NAMES+set}" != Xset; then
33735 COLLECT_NAMES=
33736 export COLLECT_NAMES
33738 _LT_EOF
33740 esac
33743 ltmain="$ac_aux_dir/ltmain.sh"
33746 # We use sed instead of cat because bash on DJGPP gets confused if
33747 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33748 # text mode, it properly converts lines to CR/LF. This bash problem
33749 # is reportedly fixed, but why not run on old versions too?
33750 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33751 || (rm -f "$cfgfile"; exit 1)
33753 case $xsi_shell in
33754 yes)
33755 cat << \_LT_EOF >> "$cfgfile"
33757 # func_dirname file append nondir_replacement
33758 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33759 # otherwise set result to NONDIR_REPLACEMENT.
33760 func_dirname ()
33762 case ${1} in
33763 */*) func_dirname_result="${1%/*}${2}" ;;
33764 * ) func_dirname_result="${3}" ;;
33765 esac
33768 # func_basename file
33769 func_basename ()
33771 func_basename_result="${1##*/}"
33774 # func_dirname_and_basename file append nondir_replacement
33775 # perform func_basename and func_dirname in a single function
33776 # call:
33777 # dirname: Compute the dirname of FILE. If nonempty,
33778 # add APPEND to the result, otherwise set result
33779 # to NONDIR_REPLACEMENT.
33780 # value returned in "$func_dirname_result"
33781 # basename: Compute filename of FILE.
33782 # value retuned in "$func_basename_result"
33783 # Implementation must be kept synchronized with func_dirname
33784 # and func_basename. For efficiency, we do not delegate to
33785 # those functions but instead duplicate the functionality here.
33786 func_dirname_and_basename ()
33788 case ${1} in
33789 */*) func_dirname_result="${1%/*}${2}" ;;
33790 * ) func_dirname_result="${3}" ;;
33791 esac
33792 func_basename_result="${1##*/}"
33795 # func_stripname prefix suffix name
33796 # strip PREFIX and SUFFIX off of NAME.
33797 # PREFIX and SUFFIX must not contain globbing or regex special
33798 # characters, hashes, percent signs, but SUFFIX may contain a leading
33799 # dot (in which case that matches only a dot).
33800 func_stripname ()
33802 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33803 # positional parameters, so assign one to ordinary parameter first.
33804 func_stripname_result=${3}
33805 func_stripname_result=${func_stripname_result#"${1}"}
33806 func_stripname_result=${func_stripname_result%"${2}"}
33809 # func_opt_split
33810 func_opt_split ()
33812 func_opt_split_opt=${1%%=*}
33813 func_opt_split_arg=${1#*=}
33816 # func_lo2o object
33817 func_lo2o ()
33819 case ${1} in
33820 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33821 *) func_lo2o_result=${1} ;;
33822 esac
33825 # func_xform libobj-or-source
33826 func_xform ()
33828 func_xform_result=${1%.*}.lo
33831 # func_arith arithmetic-term...
33832 func_arith ()
33834 func_arith_result=$(( $* ))
33837 # func_len string
33838 # STRING may not start with a hyphen.
33839 func_len ()
33841 func_len_result=${#1}
33844 _LT_EOF
33846 *) # Bourne compatible functions.
33847 cat << \_LT_EOF >> "$cfgfile"
33849 # func_dirname file append nondir_replacement
33850 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33851 # otherwise set result to NONDIR_REPLACEMENT.
33852 func_dirname ()
33854 # Extract subdirectory from the argument.
33855 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33856 if test "X$func_dirname_result" = "X${1}"; then
33857 func_dirname_result="${3}"
33858 else
33859 func_dirname_result="$func_dirname_result${2}"
33863 # func_basename file
33864 func_basename ()
33866 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33870 # func_stripname prefix suffix name
33871 # strip PREFIX and SUFFIX off of NAME.
33872 # PREFIX and SUFFIX must not contain globbing or regex special
33873 # characters, hashes, percent signs, but SUFFIX may contain a leading
33874 # dot (in which case that matches only a dot).
33875 # func_strip_suffix prefix name
33876 func_stripname ()
33878 case ${2} in
33879 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33880 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33881 esac
33884 # sed scripts:
33885 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33886 my_sed_long_arg='1s/^-[^=]*=//'
33888 # func_opt_split
33889 func_opt_split ()
33891 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33892 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33895 # func_lo2o object
33896 func_lo2o ()
33898 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
33901 # func_xform libobj-or-source
33902 func_xform ()
33904 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33907 # func_arith arithmetic-term...
33908 func_arith ()
33910 func_arith_result=`expr "$@"`
33913 # func_len string
33914 # STRING may not start with a hyphen.
33915 func_len ()
33917 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33920 _LT_EOF
33921 esac
33923 case $lt_shell_append in
33924 yes)
33925 cat << \_LT_EOF >> "$cfgfile"
33927 # func_append var value
33928 # Append VALUE to the end of shell variable VAR.
33929 func_append ()
33931 eval "$1+=\$2"
33933 _LT_EOF
33936 cat << \_LT_EOF >> "$cfgfile"
33938 # func_append var value
33939 # Append VALUE to the end of shell variable VAR.
33940 func_append ()
33942 eval "$1=\$$1\$2"
33945 _LT_EOF
33947 esac
33950 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33951 || (rm -f "$cfgfile"; exit 1)
33953 mv -f "$cfgfile" "$ofile" ||
33954 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33955 chmod +x "$ofile"
33958 cat <<_LT_EOF >> "$ofile"
33960 # ### BEGIN LIBTOOL TAG CONFIG: FC
33962 # The linker used to build libraries.
33963 LD=$lt_LD_FC
33965 # How to create reloadable object files.
33966 reload_flag=$lt_reload_flag_FC
33967 reload_cmds=$lt_reload_cmds_FC
33969 # Commands used to build an old-style archive.
33970 old_archive_cmds=$lt_old_archive_cmds_FC
33972 # A language specific compiler.
33973 CC=$lt_compiler_FC
33975 # Is the compiler the GNU compiler?
33976 with_gcc=$GCC_FC
33978 # Compiler flag to turn off builtin functions.
33979 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33981 # How to pass a linker flag through the compiler.
33982 wl=$lt_lt_prog_compiler_wl_FC
33984 # Additional compiler flags for building library objects.
33985 pic_flag=$lt_lt_prog_compiler_pic_FC
33987 # Compiler flag to prevent dynamic linking.
33988 link_static_flag=$lt_lt_prog_compiler_static_FC
33990 # Does compiler simultaneously support -c and -o options?
33991 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33993 # Whether or not to add -lc for building shared libraries.
33994 build_libtool_need_lc=$archive_cmds_need_lc_FC
33996 # Whether or not to disallow shared libs when runtime libs are static.
33997 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33999 # Compiler flag to allow reflexive dlopens.
34000 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34002 # Compiler flag to generate shared objects directly from archives.
34003 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34005 # Whether the compiler copes with passing no objects directly.
34006 compiler_needs_object=$lt_compiler_needs_object_FC
34008 # Create an old-style archive from a shared archive.
34009 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34011 # Create a temporary old-style archive to link instead of a shared archive.
34012 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34014 # Commands used to build a shared archive.
34015 archive_cmds=$lt_archive_cmds_FC
34016 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34018 # Commands used to build a loadable module if different from building
34019 # a shared archive.
34020 module_cmds=$lt_module_cmds_FC
34021 module_expsym_cmds=$lt_module_expsym_cmds_FC
34023 # Whether we are building with GNU ld or not.
34024 with_gnu_ld=$lt_with_gnu_ld_FC
34026 # Flag that allows shared libraries with undefined symbols to be built.
34027 allow_undefined_flag=$lt_allow_undefined_flag_FC
34029 # Flag that enforces no undefined symbols.
34030 no_undefined_flag=$lt_no_undefined_flag_FC
34032 # Flag to hardcode \$libdir into a binary during linking.
34033 # This must work even if \$libdir does not exist
34034 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34036 # If ld is used when linking, flag to hardcode \$libdir into a binary
34037 # during linking. This must work even if \$libdir does not exist.
34038 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34040 # Whether we need a single "-rpath" flag with a separated argument.
34041 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34044 # DIR into the resulting binary.
34045 hardcode_direct=$hardcode_direct_FC
34047 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34048 # DIR into the resulting binary and the resulting library dependency is
34049 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34050 # library is relocated.
34051 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34053 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34054 # into the resulting binary.
34055 hardcode_minus_L=$hardcode_minus_L_FC
34057 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34058 # into the resulting binary.
34059 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34061 # Set to "yes" if building a shared library automatically hardcodes DIR
34062 # into the library and all subsequent libraries and executables linked
34063 # against it.
34064 hardcode_automatic=$hardcode_automatic_FC
34066 # Set to yes if linker adds runtime paths of dependent libraries
34067 # to runtime path list.
34068 inherit_rpath=$inherit_rpath_FC
34070 # Whether libtool must link a program against all its dependency libraries.
34071 link_all_deplibs=$link_all_deplibs_FC
34073 # Fix the shell variable \$srcfile for the compiler.
34074 fix_srcfile_path=$lt_fix_srcfile_path_FC
34076 # Set to "yes" if exported symbols are required.
34077 always_export_symbols=$always_export_symbols_FC
34079 # The commands to list exported symbols.
34080 export_symbols_cmds=$lt_export_symbols_cmds_FC
34082 # Symbols that should not be listed in the preloaded symbols.
34083 exclude_expsyms=$lt_exclude_expsyms_FC
34085 # Symbols that must always be exported.
34086 include_expsyms=$lt_include_expsyms_FC
34088 # Commands necessary for linking programs (against libraries) with templates.
34089 prelink_cmds=$lt_prelink_cmds_FC
34091 # Specify filename containing input files.
34092 file_list_spec=$lt_file_list_spec_FC
34094 # How to hardcode a shared library path into an executable.
34095 hardcode_action=$hardcode_action_FC
34097 # The directories searched by this compiler when creating a shared library.
34098 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34100 # Dependencies to place before and after the objects being linked to
34101 # create a shared library.
34102 predep_objects=$lt_predep_objects_FC
34103 postdep_objects=$lt_postdep_objects_FC
34104 predeps=$lt_predeps_FC
34105 postdeps=$lt_postdeps_FC
34107 # The library search path used internally by the compiler when linking
34108 # a shared library.
34109 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34111 # ### END LIBTOOL TAG CONFIG: FC
34112 _LT_EOF
34115 "gstdint.h":C)
34116 if test "$GCC" = yes; then
34117 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34118 else
34119 echo "/* generated for $CC */" > tmp-stdint.h
34122 sed 's/^ *//' >> tmp-stdint.h <<EOF
34124 #ifndef GCC_GENERATED_STDINT_H
34125 #define GCC_GENERATED_STDINT_H 1
34127 #include <sys/types.h>
34130 if test "$acx_cv_header_stdint" != stdint.h; then
34131 echo "#include <stddef.h>" >> tmp-stdint.h
34133 if test "$acx_cv_header_stdint" != stddef.h; then
34134 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34137 sed 's/^ *//' >> tmp-stdint.h <<EOF
34138 /* glibc uses these symbols as guards to prevent redefinitions. */
34139 #ifdef __int8_t_defined
34140 #define _INT8_T
34141 #define _INT16_T
34142 #define _INT32_T
34143 #endif
34144 #ifdef __uint32_t_defined
34145 #define _UINT32_T
34146 #endif
34150 # ----------------- done header, emit basic int types -------------
34151 if test "$acx_cv_header_stdint" = stddef.h; then
34152 sed 's/^ *//' >> tmp-stdint.h <<EOF
34154 #ifndef _UINT8_T
34155 #define _UINT8_T
34156 #ifndef __uint8_t_defined
34157 #define __uint8_t_defined
34158 #ifndef uint8_t
34159 typedef unsigned $acx_cv_type_int8_t uint8_t;
34160 #endif
34161 #endif
34162 #endif
34164 #ifndef _UINT16_T
34165 #define _UINT16_T
34166 #ifndef __uint16_t_defined
34167 #define __uint16_t_defined
34168 #ifndef uint16_t
34169 typedef unsigned $acx_cv_type_int16_t uint16_t;
34170 #endif
34171 #endif
34172 #endif
34174 #ifndef _UINT32_T
34175 #define _UINT32_T
34176 #ifndef __uint32_t_defined
34177 #define __uint32_t_defined
34178 #ifndef uint32_t
34179 typedef unsigned $acx_cv_type_int32_t uint32_t;
34180 #endif
34181 #endif
34182 #endif
34184 #ifndef _INT8_T
34185 #define _INT8_T
34186 #ifndef __int8_t_defined
34187 #define __int8_t_defined
34188 #ifndef int8_t
34189 typedef $acx_cv_type_int8_t int8_t;
34190 #endif
34191 #endif
34192 #endif
34194 #ifndef _INT16_T
34195 #define _INT16_T
34196 #ifndef __int16_t_defined
34197 #define __int16_t_defined
34198 #ifndef int16_t
34199 typedef $acx_cv_type_int16_t int16_t;
34200 #endif
34201 #endif
34202 #endif
34204 #ifndef _INT32_T
34205 #define _INT32_T
34206 #ifndef __int32_t_defined
34207 #define __int32_t_defined
34208 #ifndef int32_t
34209 typedef $acx_cv_type_int32_t int32_t;
34210 #endif
34211 #endif
34212 #endif
34214 elif test "$ac_cv_type_u_int32_t" = yes; then
34215 sed 's/^ *//' >> tmp-stdint.h <<EOF
34217 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34218 #ifndef _INT8_T
34219 #define _INT8_T
34220 #endif
34221 #ifndef _INT16_T
34222 #define _INT16_T
34223 #endif
34224 #ifndef _INT32_T
34225 #define _INT32_T
34226 #endif
34228 #ifndef _UINT8_T
34229 #define _UINT8_T
34230 #ifndef __uint8_t_defined
34231 #define __uint8_t_defined
34232 #ifndef uint8_t
34233 typedef u_int8_t uint8_t;
34234 #endif
34235 #endif
34236 #endif
34238 #ifndef _UINT16_T
34239 #define _UINT16_T
34240 #ifndef __uint16_t_defined
34241 #define __uint16_t_defined
34242 #ifndef uint16_t
34243 typedef u_int16_t uint16_t;
34244 #endif
34245 #endif
34246 #endif
34248 #ifndef _UINT32_T
34249 #define _UINT32_T
34250 #ifndef __uint32_t_defined
34251 #define __uint32_t_defined
34252 #ifndef uint32_t
34253 typedef u_int32_t uint32_t;
34254 #endif
34255 #endif
34256 #endif
34258 else
34259 sed 's/^ *//' >> tmp-stdint.h <<EOF
34261 /* Some systems have guard macros to prevent redefinitions, define them. */
34262 #ifndef _INT8_T
34263 #define _INT8_T
34264 #endif
34265 #ifndef _INT16_T
34266 #define _INT16_T
34267 #endif
34268 #ifndef _INT32_T
34269 #define _INT32_T
34270 #endif
34271 #ifndef _UINT8_T
34272 #define _UINT8_T
34273 #endif
34274 #ifndef _UINT16_T
34275 #define _UINT16_T
34276 #endif
34277 #ifndef _UINT32_T
34278 #define _UINT32_T
34279 #endif
34283 # ------------- done basic int types, emit int64_t types ------------
34284 if test "$ac_cv_type_uint64_t" = yes; then
34285 sed 's/^ *//' >> tmp-stdint.h <<EOF
34287 /* system headers have good uint64_t and int64_t */
34288 #ifndef _INT64_T
34289 #define _INT64_T
34290 #endif
34291 #ifndef _UINT64_T
34292 #define _UINT64_T
34293 #endif
34295 elif test "$ac_cv_type_u_int64_t" = yes; then
34296 sed 's/^ *//' >> tmp-stdint.h <<EOF
34298 /* system headers have an u_int64_t (and int64_t) */
34299 #ifndef _INT64_T
34300 #define _INT64_T
34301 #endif
34302 #ifndef _UINT64_T
34303 #define _UINT64_T
34304 #ifndef __uint64_t_defined
34305 #define __uint64_t_defined
34306 #ifndef uint64_t
34307 typedef u_int64_t uint64_t;
34308 #endif
34309 #endif
34310 #endif
34312 elif test -n "$acx_cv_type_int64_t"; then
34313 sed 's/^ *//' >> tmp-stdint.h <<EOF
34315 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34316 #ifndef _INT64_T
34317 #define _INT64_T
34318 #ifndef int64_t
34319 typedef $acx_cv_type_int64_t int64_t;
34320 #endif
34321 #endif
34322 #ifndef _UINT64_T
34323 #define _UINT64_T
34324 #ifndef __uint64_t_defined
34325 #define __uint64_t_defined
34326 #ifndef uint64_t
34327 typedef unsigned $acx_cv_type_int64_t uint64_t;
34328 #endif
34329 #endif
34330 #endif
34332 else
34333 sed 's/^ *//' >> tmp-stdint.h <<EOF
34335 /* some common heuristics for int64_t, using compiler-specific tests */
34336 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34337 #ifndef _INT64_T
34338 #define _INT64_T
34339 #ifndef __int64_t_defined
34340 #ifndef int64_t
34341 typedef long long int64_t;
34342 #endif
34343 #endif
34344 #endif
34345 #ifndef _UINT64_T
34346 #define _UINT64_T
34347 #ifndef uint64_t
34348 typedef unsigned long long uint64_t;
34349 #endif
34350 #endif
34352 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34353 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34354 does not implement __extension__. But that compiler doesn't define
34355 __GNUC_MINOR__. */
34356 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34357 # define __extension__
34358 # endif
34360 # ifndef _INT64_T
34361 # define _INT64_T
34362 # ifndef int64_t
34363 __extension__ typedef long long int64_t;
34364 # endif
34365 # endif
34366 # ifndef _UINT64_T
34367 # define _UINT64_T
34368 # ifndef uint64_t
34369 __extension__ typedef unsigned long long uint64_t;
34370 # endif
34371 # endif
34373 #elif !defined __STRICT_ANSI__
34374 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34376 # ifndef _INT64_T
34377 # define _INT64_T
34378 # ifndef int64_t
34379 typedef __int64 int64_t;
34380 # endif
34381 # endif
34382 # ifndef _UINT64_T
34383 # define _UINT64_T
34384 # ifndef uint64_t
34385 typedef unsigned __int64 uint64_t;
34386 # endif
34387 # endif
34388 # endif /* compiler */
34390 #endif /* ANSI version */
34394 # ------------- done int64_t types, emit intptr types ------------
34395 if test "$ac_cv_type_uintptr_t" != yes; then
34396 sed 's/^ *//' >> tmp-stdint.h <<EOF
34398 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34399 #ifndef __uintptr_t_defined
34400 #ifndef uintptr_t
34401 typedef u$acx_cv_type_intptr_t uintptr_t;
34402 #endif
34403 #endif
34404 #ifndef __intptr_t_defined
34405 #ifndef intptr_t
34406 typedef $acx_cv_type_intptr_t intptr_t;
34407 #endif
34408 #endif
34412 # ------------- done intptr types, emit int_least types ------------
34413 if test "$ac_cv_type_int_least32_t" != yes; then
34414 sed 's/^ *//' >> tmp-stdint.h <<EOF
34416 /* Define int_least types */
34417 typedef int8_t int_least8_t;
34418 typedef int16_t int_least16_t;
34419 typedef int32_t int_least32_t;
34420 #ifdef _INT64_T
34421 typedef int64_t int_least64_t;
34422 #endif
34424 typedef uint8_t uint_least8_t;
34425 typedef uint16_t uint_least16_t;
34426 typedef uint32_t uint_least32_t;
34427 #ifdef _UINT64_T
34428 typedef uint64_t uint_least64_t;
34429 #endif
34433 # ------------- done intptr types, emit int_fast types ------------
34434 if test "$ac_cv_type_int_fast32_t" != yes; then
34435 sed 's/^ *//' >> tmp-stdint.h <<EOF
34437 /* Define int_fast types. short is often slow */
34438 typedef int8_t int_fast8_t;
34439 typedef int int_fast16_t;
34440 typedef int32_t int_fast32_t;
34441 #ifdef _INT64_T
34442 typedef int64_t int_fast64_t;
34443 #endif
34445 typedef uint8_t uint_fast8_t;
34446 typedef unsigned int uint_fast16_t;
34447 typedef uint32_t uint_fast32_t;
34448 #ifdef _UINT64_T
34449 typedef uint64_t uint_fast64_t;
34450 #endif
34454 if test "$ac_cv_type_uintmax_t" != yes; then
34455 sed 's/^ *//' >> tmp-stdint.h <<EOF
34457 /* Define intmax based on what we found */
34458 #ifndef intmax_t
34459 #ifdef _INT64_T
34460 typedef int64_t intmax_t;
34461 #else
34462 typedef long intmax_t;
34463 #endif
34464 #endif
34465 #ifndef uintmax_t
34466 #ifdef _UINT64_T
34467 typedef uint64_t uintmax_t;
34468 #else
34469 typedef unsigned long uintmax_t;
34470 #endif
34471 #endif
34475 sed 's/^ *//' >> tmp-stdint.h <<EOF
34477 #endif /* GCC_GENERATED_STDINT_H */
34480 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34481 rm -f tmp-stdint.h
34482 else
34483 mv -f tmp-stdint.h gstdint.h
34488 esac
34489 done # for ac_tag
34492 as_fn_exit 0
34493 _ACEOF
34494 ac_clean_files=$ac_clean_files_save
34496 test $ac_write_fail = 0 ||
34497 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34500 # configure is writing to config.log, and then calls config.status.
34501 # config.status does its own redirection, appending to config.log.
34502 # Unfortunately, on DOS this fails, as config.log is still kept open
34503 # by configure, so config.status won't be able to write to it; its
34504 # output is simply discarded. So we exec the FD to /dev/null,
34505 # effectively closing config.log, so it can be properly (re)opened and
34506 # appended to by config.status. When coming back to configure, we
34507 # need to make the FD available again.
34508 if test "$no_create" != yes; then
34509 ac_cs_success=:
34510 ac_config_status_args=
34511 test "$silent" = yes &&
34512 ac_config_status_args="$ac_config_status_args --quiet"
34513 exec 5>/dev/null
34514 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34515 exec 5>>config.log
34516 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34517 # would make configure fail if this is the last instruction.
34518 $ac_cs_success || as_fn_exit 1
34520 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34522 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}